/* 
   Aladdin Airport (alading.cyou) - Stylesheet
   Theme: Magic Lantern Tech (Deep Navy, Emerald Mint, & Radiant Gold)
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;900&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-dark: #070913;
    --bg-deep: #0c0f1d;
    --bg-card: rgba(15, 23, 42, 0.65);
    --bg-card-hover: rgba(20, 30, 54, 0.85);
    
    --primary: #10b981; /* Emerald */
    --primary-glow: rgba(16, 185, 129, 0.15);
    --primary-light: #34d399; /* Mint */
    
    --accent: #fbbf24; /* Radiant Gold */
    --accent-glow: rgba(251, 191, 36, 0.2);
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #64748b;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(16, 185, 129, 0.3);
    
    --font-outfit: 'Outfit', 'Noto Sans SC', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 16px;
    --max-width: 1200px;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-outfit);
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    line-height: 1.6;
    background: radial-gradient(circle at 50% 0%, #111b33 0%, var(--bg-dark) 70%);
    background-attachment: fixed;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--text-main) 30%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-accent-gradient {
    background: linear-gradient(135deg, var(--accent) 30%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    gap: 8px;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #070913;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent) 0%, #d97706 100%);
    color: #070913;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(251, 191, 36, 0.4);
}

/* Glassmorphism Card */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
}

.glass-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px var(--primary-glow);
}

/* Header & Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(7, 9, 19, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    gap: 8px;
}

.logo svg {
    color: var(--primary);
    filter: drop-shadow(0 0 8px var(--primary));
}

.logo span {
    background: linear-gradient(135deg, var(--text-main) 60%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
    padding: 6px 0;
}

.nav-links a:hover {
    color: var(--primary-light);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(7, 9, 19, 0.35) 0%, rgba(7, 9, 19, 0.98) 100%), url('../images/aladdin_emerald_bg.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: scroll;
}

.hero-glow {
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(52, 211, 153, 0.05) 50%, transparent 100%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 24px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-desc {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 60px;
}

.h-feat-card {
    padding: 24px;
    text-align: left;
}

.h-feat-card svg {
    color: var(--primary);
    margin-bottom: 16px;
}

.h-feat-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.h-feat-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Features Grid Section */
.features {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feat-item {
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
}

.feat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary);
}

.feat-icon svg {
    width: 28px;
    height: 28px;
}

.feat-item h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.feat-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Pricing Search Widget Section */
.pricing {
    padding: 80px 0;
    background: radial-gradient(circle at 10% 50%, rgba(16, 185, 129, 0.03) 0%, transparent 40%);
}

.pricing-search-container {
    max-width: 900px;
    margin: 0 auto 50px;
    padding: 30px;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.pricing-search-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    color: var(--text-main);
}

.search-controls {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    align-items: center;
}

.slider-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.slider-labels span strong {
    color: var(--primary-light);
}

input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 0 10px var(--primary);
    transition: var(--transition);
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group select {
    padding: 10px 16px;
    border-radius: 8px;
    background: rgba(7, 9, 19, 0.8);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 0.95rem;
    outline: none;
    cursor: pointer;
    transition: var(--transition);
}

.filter-group select:focus {
    border-color: var(--primary);
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.price-card {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.price-card.featured {
    border-color: var(--primary);
    background: rgba(16, 185, 129, 0.03);
    transform: scale(1.02);
}

.badge-featured {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: #070913;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
}

.price-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.price-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.price-value {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    display: flex;
    align-items: baseline;
    color: var(--text-main);
}

.price-value span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-left: 4px;
}

.price-features {
    margin-bottom: 35px;
    flex-grow: 1;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.price-features li svg {
    color: var(--primary);
    flex-shrink: 0;
}

.price-features li.disabled {
    color: var(--text-dark);
}

.price-features li.disabled svg {
    color: var(--text-dark);
}

/* Articles Section */
.articles-section {
    padding: 80px 0;
    background: radial-gradient(circle at 90% 10%, rgba(251, 191, 36, 0.02) 0%, transparent 40%);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.article-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    position: relative;
}

.article-img::before {
    content: 'ALADING';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.8rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    letter-spacing: 5px;
}

.article-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(7, 9, 19, 0.85);
    color: var(--primary-light);
    border: 1px solid var(--border-color);
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
}

.article-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-meta {
    font-size: 0.8rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.article-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.article-title a:hover {
    color: var(--primary);
}

.article-excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.article-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
}

.article-link:hover {
    color: var(--primary-light);
}

.article-link svg {
    transition: var(--transition);
}

.article-link:hover svg {
    transform: translateX(4px);
}

/* Single Article Layout (Shared) */
.article-page {
    padding: 120px 0 80px;
}

.article-header {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.article-header h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.3;
    margin-top: 16px;
    margin-bottom: 20px;
}

.article-container {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px;
    align-items: start;
}

.article-content {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--border-radius);
}

.article-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 36px;
    margin-bottom: 16px;
    color: var(--text-main);
    border-left: 4px solid var(--primary);
    padding-left: 12px;
}

.article-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.article-content strong {
    color: var(--text-main);
}

.article-content ul {
    margin-bottom: 24px;
    padding-left: 20px;
}

.article-content li {
    list-style-type: disc;
    color: var(--text-muted);
    margin-bottom: 10px;
    line-height: 1.7;
}

.article-content blockquote {
    background: rgba(16, 185, 129, 0.05);
    border-left: 4px solid var(--primary);
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
    color: var(--text-muted);
    font-style: italic;
}

.article-content a {
    color: var(--primary-light);
    border-bottom: 1px dashed var(--primary-light);
    padding-bottom: 1px;
}

.article-content a:hover {
    color: var(--primary);
    border-bottom-style: solid;
}

/* Sidebar Widgets */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.widget {
    padding: 24px;
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.widget-cta {
    text-align: center;
    background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 80%);
}

.widget-cta h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.widget-cta p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.widget-links li {
    margin-bottom: 12px;
}

.widget-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: block;
}

.widget-links a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

/* User Reviews Section */
.reviews {
    padding: 80px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.review-card {
    padding: 30px;
}

.rev-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.rev-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rev-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary-light);
    border: 2px solid var(--border-color);
}

.rev-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
}

.rev-info span {
    font-size: 0.8rem;
    color: var(--text-dark);
}

.rev-rating {
    display: flex;
    color: var(--accent);
    gap: 2px;
}

.review-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-card);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--border-hover);
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    color: var(--text-muted);
    font-size: 0.95rem;
}

.faq-item.active .faq-answer {
    padding-bottom: 20px;
    max-height: 200px; /* arbitrary height to slide down */
}

.faq-icon {
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

/* Footer Section */
footer {
    border-top: 1px solid var(--border-color);
    background: #04060c;
    padding: 60px 0 30px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-main);
    gap: 8px;
    margin-bottom: 16px;
}

.footer-logo svg {
    color: var(--primary);
}

.footer-desc {
    font-size: 0.85rem;
    color: var(--text-dark);
    max-width: 300px;
    margin-bottom: 20px;
}

.footer-links-title {
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    font-size: 0.8rem;
    color: var(--text-dark);
}

.footer-seo-geo {
    font-size: 0.8rem;
    color: var(--text-dark);
    display: flex;
    gap: 15px;
}

/* Responsive CSS */
@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    .article-container {
        grid-template-columns: 1fr;
    }
    .sidebar {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* simple hamburger layout logic */
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(7, 9, 19, 0.98);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 30px 24px;
        gap: 20px;
        align-items: flex-start;
        z-index: 999;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-btn {
        display: block;
    }
    
    .nav-actions {
        display: none; /* hidden on small screen or integrated into mobile menu */
    }
    
    .search-controls {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
}
