/* CSS Variables & Reset */
:root {
    /* Color Palette */
    --bg-primary: #0B132B;
    /* Deep Navy */
    --bg-secondary: #0f1833;
    /* Slightly lighter Navy for section contrast */
    --bg-overlay: rgba(11, 19, 43, 0.85);

    --text-color: #FFFFFF;
    --text-color-muted: #B0B0B0;

    --metallic-silver: #C0C0C0;
    --metallic-shine: #ffffff;

    --glass-bg: rgba(255, 255, 255, 0.05);
    /* Lighter glass */
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-heading-alt: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-padding: 2rem;
    --section-spacing: 6rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Typography Helpers */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--text-color);
    line-height: 1.2;
}

.text-metallic {
    background: linear-gradient(to right, var(--metallic-silver), var(--metallic-shine), var(--metallic-silver));
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.text-center {
    text-align: center;
}

.mb-5 {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-family: var(--font-heading-alt);
    color: var(--text-color-muted);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 2px;
    font-family: var(--font-heading-alt);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #dcdcdc, #f0f0f0);
    color: var(--bg-primary);
    border: 1px solid var(--metallic-silver);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.15);
}

.btn-outline {
    background: transparent;
    color: var(--metallic-silver);
    border: 1px solid var(--metallic-silver);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #fff;
    color: #fff;
}

.full-width {
    width: 100%;
    text-align: center;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    /* Starts transparent */
    transition: all 0.4s ease;
}

.header.scrolled {
    background-color: rgba(11, 19, 43, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 2rem;
}

.logo-text {
    font-family: var(--font-heading-alt);
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
}

.logo-sub {
    font-weight: 300;
    color: var(--metallic-silver);
    font-size: 1.2rem;
}

.nav-list {
    display: flex;
    gap: 40px;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.nav-link {
    font-family: var(--font-heading-alt);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-color-muted);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--metallic-silver);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax feel */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(11, 19, 43, 0.6), rgba(11, 19, 43, 0.4), var(--bg-primary));
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 60px;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #e0e0e0;
    margin-bottom: 3rem;
    max-width: 650px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Features Grid */
.features-section {
    padding: var(--section-spacing) 0;
    background-color: var(--bg-primary);
    position: relative;
    z-index: 10;
    margin-top: -50px;
    /* Overlap hero slightly */
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 40px 30px;
    border-radius: 2px;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, background 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.glass-card h3 {
    font-family: var(--font-heading-alt);
    margin-bottom: 15px;
    color: #fff;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
}

.glass-card p {
    color: var(--text-color-muted);
    font-size: 0.95rem;
}

/* Z-Section (Alternating Layout) */
.z-section {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.bg-secondary {
    background-color: var(--bg-secondary);
}

.z-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.z-reversed .z-content {
    order: 2;
}

.z-reversed .z-image-wrapper {
    order: 1;
}

.separator {
    width: 60px;
    height: 2px;
    background-color: var(--metallic-silver);
    margin: 1.5rem 0;
}

.z-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #ccc;
}

.feature-list {
    margin-bottom: 2.5rem;
}

.feature-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    color: var(--text-color-muted);
}

.feature-list li::before {
    content: '✈';
    /* Plane icon bullet */
    position: absolute;
    left: 0;
    color: var(--metallic-silver);
    font-size: 0.8rem;
    top: 4px;
}

.z-image-wrapper {
    position: relative;
    border-radius: 4px;
    /* Slight rounding */
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.z-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s ease;
}

.z-image-wrapper:hover .z-image {
    transform: scale(1.05);
    /* Zoom effect */
}

/* Pricing Grid */
.pricing-section {
    padding: var(--section-spacing) 0;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.pricing-card {
    text-align: center;
    position: relative;
}

.pricing-card.popular {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--metallic-silver);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--metallic-silver);
    color: var(--bg-primary);
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 20px;
}

.pricing-card h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading-alt);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading-alt);
}

.period {
    font-size: 1rem;
    color: var(--text-color-muted);
    font-weight: 400;
}

.savings {
    color: var(--metallic-silver);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.price-features {
    margin-bottom: 2rem;
    text-align: left;
    padding: 0 10px;
}

.price-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: #ccc;
}

.price-features li:last-child {
    border-bottom: none;
}

/* Contact / CTA */
.cta-section {
    position: relative;
    padding: 8rem 0;
    text-align: center;
    background-image: linear-gradient(to right, #0f1833, #152040);
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-color-muted);
    margin-bottom: 3rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Footer */
.footer {
    background-color: #070d1f;
    /* Darker than primary */
    padding: 4rem 0 2rem;
    font-size: 0.9rem;
    border-top: 1px solid #1a2542;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 3rem;
}

.footer-col h4 {
    font-family: var(--font-heading-alt);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p {
    color: #8892b0;
    line-height: 2;
}

.logo-text.small {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 1rem;
}

.social-links a {
    color: #8892b0;
    margin-right: 15px;
    font-size: 0.9rem;
}

.social-links a:hover {
    color: #fff;
}

.copyright {
    color: #556080;
    font-size: 0.8rem;
    padding-top: 2rem;
    border-top: 1px solid #111a33;
}

/* Utilities */
.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 900px) {
    .z-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .z-reversed .z-content {
        order: 1;
    }

    .z-reversed .z-image-wrapper {
        order: 2;
    }

    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-primary);
        border-top: 1px solid var(--glass-border);
        padding: 20px 0;
        display: none;
        /* Hidden by default */
        flex-direction: column;
        align-items: center;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .nav.active {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }

    .nav-list {
        flex-direction: column;
        gap: 25px;
        width: 100%;
        text-align: center;
    }

    .mobile-menu-toggle {
        display: block;
    }

    /* Hamburger Animation */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
}