/* ============================================
   CROSSWORT DESIGN SYSTEM
   Navy palette with Linguistic Seal aesthetic
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Blinker:wght@400;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
    /* Navy Palette - Core Colors */
    --bg-primary: #0f2744;
    --bg-secondary: #1e3a5f;
    --bg-tertiary: #152d4a;
    --bg-card: linear-gradient(145deg, #1e3a5f 0%, #0f2744 100%);
    --bg-card-solid: #1a3351;

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.5);
    --text-subtle: rgba(255, 255, 255, 0.3);

    /* Accent Colors - Teal & Orange */
    --accent-primary: #4fd1c5;
    --accent-primary-faded: rgba(79, 209, 197, 0.6);
    --accent-primary-subtle: rgba(79, 209, 197, 0.25);
    --accent-primary-glow: rgba(79, 209, 197, 0.15);
    --accent-secondary: #f6ad55;
    --accent-secondary-faded: rgba(246, 173, 85, 0.6);

    /* Gradient */
    --gradient-cta: linear-gradient(135deg, #4fd1c5 0%, #f6ad55 100%);
    --gradient-cta-hover: linear-gradient(135deg, #38b2ac 0%, #ed8936 100%);
    --gradient-ring: linear-gradient(135deg, #4fd1c5 0%, #f6ad55 100%);

    /* Ring Colors (for seal design) */
    --ring-color: rgba(79, 209, 197, 0.25);
    --ring-subtle: rgba(79, 209, 197, 0.15);

    /* Language Badge Colors */
    --lang-de: #1e3a5f;
    --lang-es: #f6ad55;
    --lang-fr: #4fd1c5;
    --lang-it: #38b2ac;
    --lang-pl: #63b3ed;
    --lang-br: #48bb78;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Typography */
    --font-primary: 'Blinker', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 0 40px rgba(79, 209, 197, 0.2);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
}

/* ============================================
   RESET & BASE
   ============================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, #0f2744 0%, #1e3a5f 50%, #0a1f38 100%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ============================================
   LAYOUT
   ============================================ */

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* Subtle grid pattern overlay */
.page-wrapper::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(79, 209, 197, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(246, 173, 85, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    position: relative;
    z-index: 1;
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    background: rgba(15, 39, 68, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(79, 209, 197, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-links a {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

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

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-lg);
    background: var(--gradient-cta);
    color: var(--bg-primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
}

.nav-mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--accent-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.nav-mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    padding: var(--space-lg);
    flex-direction: column;
    gap: var(--space-md);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    border-bottom: 1px solid rgba(79, 209, 197, 0.1);
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    font-family: var(--font-mono);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: var(--space-sm) 0;
}

.mobile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-lg);
    background: var(--gradient-cta);
    color: var(--bg-primary) !important;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-top: var(--space-sm);
}

@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none;
    }

    .nav-mobile-toggle {
        display: flex;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    padding: calc(100px + var(--space-4xl)) 0 var(--space-4xl);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.hero-text {
    max-width: 560px;
}

.hero-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: var(--space-md);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    letter-spacing: 0.02em;
}

.hero-title span {
    background: var(--gradient-cta);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.hero-form {
    display: flex;
    gap: var(--space-sm);
    max-width: 420px;
}

.hero-input {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    font-size: 1rem;
    border: 2px solid var(--accent-primary-subtle);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.hero-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px var(--accent-primary-glow);
}

.hero-input::placeholder {
    color: var(--text-muted);
}

.hero-button {
    padding: var(--space-md) var(--space-xl);
    background: var(--gradient-cta);
    color: var(--bg-primary);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    white-space: nowrap;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.hero-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Pixel 9 Mockup */
.iphone-mockup {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes screenGlow {
    0%, 100% {
        box-shadow:
            var(--shadow-xl),
            inset 0 1px 0 rgba(255, 255, 255, 0.1),
            0 0 60px rgba(79, 209, 197, 0.3),
            0 0 120px rgba(79, 209, 197, 0.15),
            0 20px 80px rgba(246, 173, 85, 0.1);
    }
    50% {
        box-shadow:
            var(--shadow-xl),
            inset 0 1px 0 rgba(255, 255, 255, 0.1),
            0 0 80px rgba(79, 209, 197, 0.4),
            0 0 150px rgba(79, 209, 197, 0.2),
            0 20px 100px rgba(246, 173, 85, 0.15);
    }
}

.iphone-frame {
    position: relative;
    width: 372px;
    height: 800px;
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 43px;
    padding: 11px;
    box-shadow:
        var(--shadow-xl),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 60px rgba(79, 209, 197, 0.3),
        0 0 120px rgba(79, 209, 197, 0.15),
        0 20px 80px rgba(246, 173, 85, 0.1);
    animation: screenGlow 4s ease-in-out infinite;
    overflow: hidden;
}

/* Side buttons - Pixel style */
.iphone-frame::after {
    content: '';
    position: absolute;
    right: -2px;
    top: 160px;
    width: 4px;
    height: 106px;
    background: #3a3a3a;
    border-radius: 2px 0 0 2px;
}

.iphone-frame::before {
    content: '';
    position: absolute;
    top: 11px;
    left: 11px;
    right: 11px;
    bottom: 11px;
    background: #000;
    border-radius: 35px;
    z-index: 0;
}

/* Pixel 9 camera pill */
.iphone-notch {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 37px;
    height: 37px;
    background: #0a0a0a;
    border-radius: 50%;
    z-index: 10;
    border: 3px solid #1a1a1a;
}

.iphone-notch::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 13px;
    height: 13px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 50%;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}

.screenshot-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 35px;
    overflow: hidden;
    z-index: 1;
}

.screenshot-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.screenshot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.screenshot.active {
    opacity: 1;
}

.carousel-dots {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-primary-subtle);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.dot:hover {
    background: var(--accent-primary-faded);
}

.dot.active {
    background: var(--accent-primary);
    width: 24px;
    border-radius: 4px;
}

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-form {
        max-width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-input {
        min-width: 250px;
    }

    .hero-visual {
        order: -1;
    }

    .iphone-frame {
        width: 320px;
        height: 685px;
        border-radius: 37px;
        padding: 8px;
    }

    .iphone-frame::before {
        top: 8px;
        left: 8px;
        right: 8px;
        bottom: 8px;
        border-radius: 32px;
    }

    .screenshot-carousel {
        border-radius: 32px;
    }

    .iphone-notch {
        top: 12px;
        width: 32px;
        height: 32px;
    }
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features {
    padding: var(--space-4xl) 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-3xl);
}

.section-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    letter-spacing: 0.02em;
}

.section-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.feature-card {
    background: rgba(30, 58, 95, 0.5);
    border: 1px solid rgba(79, 209, 197, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(79, 209, 197, 0.3);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    font-size: 1.5rem;
}

.feature-icon.pink {
    background: rgba(79, 209, 197, 0.15);
}

.feature-icon.orange {
    background: rgba(246, 173, 85, 0.15);
}

.feature-icon.teal {
    background: rgba(79, 209, 197, 0.15);
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.feature-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   LANGUAGES SECTION
   ============================================ */

.languages {
    padding: var(--space-4xl) 0;
    background: rgba(21, 45, 74, 0.5);
    position: relative;
}

.languages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79, 209, 197, 0.2), transparent);
}

.languages-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-lg);
}

.language-card {
    background: rgba(30, 58, 95, 0.5);
    border: 1px solid rgba(79, 209, 197, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.language-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(79, 209, 197, 0.3);
}

.language-badge {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    border: 2px solid currentColor;
}

.language-badge.de { border-color: var(--accent-primary); color: var(--accent-primary); }
.language-badge.es { border-color: var(--accent-secondary); color: var(--accent-secondary); }
.language-badge.fr { border-color: var(--accent-primary); color: var(--accent-primary); }
.language-badge.it { border-color: #38b2ac; color: #38b2ac; }
.language-badge.pl { border-color: #63b3ed; color: #63b3ed; }
.language-badge.br { border-color: #48bb78; color: #48bb78; }

.language-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.language-native {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

@media (max-width: 968px) {
    .languages-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 540px) {
    .languages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   PRICING SECTION
   ============================================ */

.pricing {
    padding: var(--space-4xl) 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(30, 58, 95, 0.5);
    border: 1px solid rgba(79, 209, 197, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    position: relative;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.pricing-card.featured {
    background: var(--bg-card);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

.pricing-card.featured::before {
    content: 'SAVE 40%';
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    padding: var(--space-xs) var(--space-sm);
    background: var(--accent-secondary);
    color: var(--bg-primary);
    font-family: var(--font-mono);
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    border-radius: var(--radius-sm);
}

.pricing-label {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
}

.pricing-card.featured .pricing-label {
    color: var(--accent-primary);
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-period {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--space-xl);
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.pricing-features li::before {
    content: '';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-primary-subtle);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%234fd1c5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.pricing-button {
    display: block;
    width: 100%;
    padding: var(--space-md);
    background: transparent;
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--radius-md);
    border: 2px solid rgba(79, 209, 197, 0.3);
    transition: all var(--transition-fast);
}

.pricing-button:hover {
    border-color: var(--accent-primary);
    background: var(--accent-primary-glow);
}

.pricing-card.featured .pricing-button {
    background: var(--gradient-cta);
    color: var(--bg-primary);
    border: none;
}

.pricing-card.featured .pricing-button:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-glow);
}

@media (max-width: 640px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq {
    padding: var(--space-4xl) 0;
    background: rgba(21, 45, 74, 0.5);
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(79, 209, 197, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--accent-primary);
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--accent-primary);
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding-bottom: var(--space-lg);
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   WAITLIST SECTION
   ============================================ */

.waitlist {
    padding: var(--space-4xl) 0;
}

.waitlist-card {
    background: var(--bg-card);
    border: 1px solid rgba(79, 209, 197, 0.2);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    box-shadow: var(--shadow-glow);
}

.waitlist-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.waitlist-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
}

.waitlist-form {
    display: flex;
    gap: var(--space-sm);
    max-width: 420px;
    margin: 0 auto;
}

.waitlist-input {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    font-size: 1rem;
    border: 2px solid rgba(79, 209, 197, 0.2);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

.waitlist-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.1);
}

.waitlist-input::placeholder {
    color: var(--text-muted);
}

.waitlist-button {
    padding: var(--space-md) var(--space-xl);
    background: var(--gradient-cta);
    color: var(--bg-primary);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    white-space: nowrap;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.waitlist-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

@media (max-width: 540px) {
    .waitlist-form {
        flex-direction: column;
    }

    .waitlist-button {
        width: 100%;
    }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--bg-primary);
    padding: var(--space-3xl) 0 var(--space-xl);
    margin-top: auto;
    border-top: 1px solid rgba(79, 209, 197, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
}

.footer-tagline {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 280px;
}

.footer-links h4 {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: var(--space-lg);
}

.footer-links a {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: var(--space-xs) 0;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(79, 209, 197, 0.1);
}

.footer-bottom p {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: span 1;
    }
}

/* ============================================
   LEGAL PAGES
   ============================================ */

.legal-page {
    padding: calc(100px + var(--space-3xl)) 0 var(--space-4xl);
}

.legal-content {
    max-width: 720px;
    margin: 0 auto;
    background: rgba(30, 58, 95, 0.5);
    border: 1px solid rgba(79, 209, 197, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl) var(--space-3xl);
}

.legal-content h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.legal-updated {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(79, 209, 197, 0.1);
}

.legal-content h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

.legal-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.legal-content ul {
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
}

.legal-content li {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

.legal-content a {
    color: var(--accent-primary);
    text-decoration: underline;
}

.legal-content a:hover {
    text-decoration: none;
}

@media (max-width: 640px) {
    .legal-content {
        padding: var(--space-xl);
    }
}
