/* ================================
   Design System & CSS Variables
   ================================ */
:root {
    /* Primary Brand Colors - Lime Green (Original Theme) */
    --color-primary: #C5F82A;
    --color-primary-light: #D4FF4D;
    --color-primary-dark: #A8E024;
    --color-primary-darker: #8BC91F;

    /* Neutral Palette */
    --color-bg: #FFFFFF;
    --color-bg-secondary: #F8F9FA;
    --color-bg-tertiary: #F3F4F6;
    --color-bg-elevated: #FFFFFF;

    /* Text Colors */
    --color-text-primary: #1A1A1A;
    --color-text-secondary: #6B7280;
    --color-text-tertiary: #6B7280;  /* Fixed WCAG contrast issue */

    /* Borders */
    --color-border: #E5E7EB;
    --color-border-light: #F3F4F6;

    /* Semantic Colors */
    --color-success: #10B981;
    --color-success-light: #34D399;
    --color-success-dark: #059669;
    --color-error: #EF4444;
    --color-error-light: #F87171;
    --color-error-dark: #DC2626;
    --color-warning: #F59E0B;
    --color-info: #3B82F6;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #C5F82A 0%, #A8E024 100%);
    --gradient-subtle: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);

    /* Typography - Enhanced with Fluid Scaling */
    --font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

    /* Fixed sizes for reference */
    --font-size-xs: 0.75rem;      /* 12px */
    --font-size-sm: 0.875rem;     /* 14px */
    --font-size-base: 1rem;       /* 16px */
    --font-size-lg: 1.125rem;     /* 18px */
    --font-size-xl: 1.25rem;      /* 20px */
    --font-size-2xl: 1.5rem;      /* 24px */
    --font-size-3xl: 2rem;        /* 32px */
    --font-size-4xl: 2.5rem;      /* 40px */
    --font-size-5xl: 3rem;        /* 48px */
    --font-size-6xl: 3.5rem;      /* 56px */

    /* Fluid Typography (responsive) */
    --font-fluid-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --font-fluid-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    --font-fluid-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --font-fluid-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
    --font-fluid-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --font-fluid-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
    --font-fluid-3xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
    --font-fluid-4xl: clamp(2.5rem, 1.75rem + 3.75vw, 4rem);
    --font-fluid-5xl: clamp(3rem, 2rem + 5vw, 5rem);
    --font-fluid-6xl: clamp(3.5rem, 2.5rem + 5vw, 5.5rem);

    /* Font Weights */
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;

    /* Letter Spacing */
    --tracking-tighter: -0.03em;
    --tracking-tight: -0.02em;
    --tracking-normal: -0.01em;
    --tracking-base: -0.005em;
    --tracking-wide: 0.02em;
    --tracking-wider: 0.05em;

    /* Spacing */
    --space-1: 0.25rem;   /* 4px */
    --space-2: 0.5rem;    /* 8px */
    --space-3: 0.75rem;   /* 12px */
    --space-4: 1rem;      /* 16px */
    --space-5: 1.25rem;   /* 20px */
    --space-6: 1.5rem;    /* 24px */
    --space-8: 2rem;      /* 32px */
    --space-10: 2.5rem;   /* 40px */
    --space-12: 3rem;     /* 48px */
    --space-16: 4rem;     /* 64px */
    --space-20: 5rem;     /* 80px */
    --space-24: 6rem;     /* 96px */

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Border Radius */
    --radius-sm: 0.375rem;  /* 6px */
    --radius-md: 0.5rem;    /* 8px */
    --radius-lg: 0.75rem;   /* 12px */
    --radius-xl: 1rem;      /* 16px */
    --radius-2xl: 1.5rem;   /* 24px */
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Layout */
    --container-max: 1280px;
    --header-height: 80px;
}

/* ================================
   Reset & Base Styles
   ================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-text-primary);
    background: #ffffff;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 900px 700px at 15% 20%, rgba(197, 248, 42, 0.08) 0%, transparent 60%),
        radial-gradient(circle 800px at 85% 15%, rgba(168, 224, 36, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 1000px 800px at 50% 50%, rgba(212, 255, 77, 0.05) 0%, transparent 65%),
        radial-gradient(circle 700px at 20% 80%, rgba(139, 201, 31, 0.07) 0%, transparent 60%),
        radial-gradient(ellipse 850px 650px at 80% 85%, rgba(197, 248, 42, 0.06) 0%, transparent 60%),
        radial-gradient(circle 600px at 40% 40%, rgba(255, 200, 100, 0.04) 0%, transparent 55%),
        radial-gradient(ellipse 750px 550px at 70% 60%, rgba(150, 180, 255, 0.03) 0%, transparent 55%),
        linear-gradient(135deg, #fafaf8 0%, #f8f6f2 25%, #f5f3ef 50%, #f8f6f2 75%, #fafaf8 100%);
    animation: meshMove 35s ease infinite;
    z-index: 0;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(180, 170, 150, 0.04) 1px, transparent 0);
    background-size: 40px 40px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.3;
}

@keyframes meshMove {
    0%, 100% {
        background-position: 0% 0%, 100% 0%, 50% 50%, 0% 100%, 100% 100%, 0% 50%;
    }
    33% {
        background-position: 100% 0%, 0% 50%, 0% 0%, 50% 50%, 50% 100%, 100% 100%;
    }
    66% {
        background-position: 50% 100%, 100% 100%, 100% 0%, 100% 0%, 0% 50%, 0% 0%;
    }
}

/* Ensure content is above background */
.header,
.hero,
.features,
.cta-section,
.footer {
    position: relative;
    z-index: 1;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

button {
    font-family: inherit;
    cursor: pointer;
}

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

/* ================================
   Utility Classes
   ================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-8);
}

.hidden {
    display: none !important;
}

/* ================================
   Header
   ================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-left: none;
    border-right: none;
    box-shadow:
        0 8px 32px rgba(31, 38, 135, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.95),
        inset 0 -1px 0 0 rgba(255, 255, 255, 0.4);
    z-index: 1000;
    transition: all var(--transition-base);
}

/* Glass texture overlay */
.header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0px, transparent 1px, transparent 2px, rgba(255,255,255,0.03) 3px),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0px, transparent 1px, transparent 2px, rgba(255,255,255,0.03) 3px);
    opacity: 0.4;
    pointer-events: none;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.28);
    box-shadow:
        0 12px 40px rgba(31, 38, 135, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 0 rgba(255, 255, 255, 1),
        inset 0 -1px 0 0 rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.9);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-extrabold);
    color: var(--color-text-primary);
    transition: opacity var(--transition-fast);
}

.logo:hover {
    opacity: 0.8;
}

.logo-text {
    font-weight: var(--font-weight-extrabold);
    letter-spacing: -0.03em;
    font-size: var(--font-size-2xl);
}

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

.nav-link {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-text-primary);
}

.language-selector {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.language-selector:hover {
    color: var(--color-text-primary);
}

.chevron-icon {
    transition: transform var(--transition-fast);
}

.language-selector:hover .chevron-icon {
    transform: translateY(2px);
}

/* ================================
   Buttons
   ================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-size: var(--font-size-base);
    font-weight: 600;
    border: none;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg,
        #D4FF4D 0%,
        #C5F82A 25%,
        #A8E024 50%,
        #C5F82A 75%,
        #D4FF4D 100%);
    background-size: 200% 200%;
    color: var(--color-text-primary);
    box-shadow:
        0 4px 14px 0 rgba(197, 248, 42, 0.35),
        0 2px 6px 0 rgba(197, 248, 42, 0.2),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
    animation: gradientSlide 8s ease infinite;
}

@keyframes gradientSlide {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 12px 35px rgba(197, 248, 42, 0.45),
        0 4px 15px rgba(212, 255, 77, 0.3),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.7);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-waitlist-header {
    padding: var(--space-3) var(--space-5);
    font-size: var(--font-size-sm);
}

.btn-submit {
    padding: var(--space-4) var(--space-8);
    font-size: var(--font-size-lg);
}

.btn-arrow {
    transition: transform var(--transition-base);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* ================================
   Hero Section
   ================================ */
.hero {
    padding-top: calc(var(--header-height) + var(--space-24));
    padding-bottom: var(--space-24);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -5%;
    width: 900px;
    height: 900px;
    background: radial-gradient(circle,
        rgba(197, 248, 42, 0.12) 0%,
        rgba(212, 255, 77, 0.08) 30%,
        transparent 70%);
    border-radius: 50%;
    animation: float 22s ease-in-out infinite, colorPulse 8s ease-in-out infinite;
    pointer-events: none;
    filter: blur(50px);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -8%;
    width: 750px;
    height: 750px;
    background: radial-gradient(circle,
        rgba(168, 224, 36, 0.1) 0%,
        rgba(139, 201, 31, 0.07) 40%,
        transparent 70%);
    border-radius: 50%;
    animation: float 18s ease-in-out infinite reverse, colorPulse 10s ease-in-out infinite reverse;
    pointer-events: none;
    filter: blur(50px);
}

@keyframes colorPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-20);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-left {
    max-width: 540px;
    padding-right: var(--space-6);
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.875rem;
    background: rgba(197, 248, 42, 0.1);
    border: 1px solid rgba(197, 248, 42, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    margin-bottom: var(--space-8);
    letter-spacing: 0.01em;
    animation: fadeInUp 0.6s ease-out;
}

.hero-title {
    font-size: clamp(2.75rem, 2rem + 3.5vw, 4.25rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: var(--space-8);
    background: linear-gradient(135deg, #1a1a1a 0%, #2d3748 50%, #1a1a1a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: fadeInUp 0.6s ease-out 0.1s backwards, shimmer 8s linear infinite;
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

.highlight-text {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #C5F82A 0%, #A8E024 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-text::after {
    content: '';
    position: absolute;
    left: -4px;
    right: -4px;
    bottom: 8px;
    height: 14px;
    background: linear-gradient(135deg, rgba(197, 248, 42, 0.4) 0%, rgba(168, 224, 36, 0.4) 100%);
    z-index: -1;
    border-radius: 4px;
    animation: highlightPulse 3s ease-in-out infinite;
}

@keyframes highlightPulse {
    0%, 100% { opacity: 0.4; transform: scaleX(1); }
    50% { opacity: 0.6; transform: scaleX(1.02); }
}

.hero-subtitle {
    font-size: clamp(1.0625rem, 0.95rem + 0.5625vw, 1.3125rem);
    line-height: 1.65;
    color: var(--color-text-secondary);
    letter-spacing: -0.01em;
    margin-bottom: var(--space-6);
    max-width: 520px;
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    margin-top: var(--space-10);
    padding: var(--space-6) 0 0;
    border-top: 1px solid var(--color-border-light);
    animation: fadeInUp 0.6s ease-out 0.4s backwards;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    line-height: 1.1;
    margin-bottom: var(--space-2);
}

.stat-label {
    font-size: var(--font-size-xs);
    color: var(--color-text-secondary);
    font-weight: var(--font-weight-medium);
    line-height: 1.4;
}

.stat-divider {
    width: 1px;
    height: 32px;
    background: var(--color-border);
}

/* ================================
   Waitlist Form
   ================================ */
.waitlist-form-container {
    margin-top: 0;
    animation: fadeInUp 0.6s ease-out 0.3s backwards;
    padding: var(--space-6);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--radius-xl);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.04),
        0 2px 8px rgba(197, 248, 42, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.8),
        inset 0 2px 0 0 rgba(255, 255, 255, 1);
    border: 1px solid rgba(197, 248, 42, 0.1);
    position: relative;
    overflow: hidden;
}

.waitlist-form-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    padding: 1px;
    background: linear-gradient(135deg,
        rgba(212, 255, 77, 0.3) 0%,
        rgba(197, 248, 42, 0.2) 50%,
        rgba(168, 224, 36, 0.3) 100%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.6;
    pointer-events: none;
}

.waitlist-form {
    animation: fadeIn 0.6s ease-out;
    position: relative;
    z-index: 1;
}

.form-group {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.form-input {
    flex: 1;
    padding: var(--space-4) var(--space-6);
    font-size: var(--font-size-lg);
    border: 2px solid rgba(197, 248, 42, 0.2);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: var(--color-text-primary);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03),
                inset 0 1px 0 0 rgba(255, 255, 255, 0.8);
}

.form-input:hover {
    border-color: rgba(197, 248, 42, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05),
                inset 0 1px 0 0 rgba(255, 255, 255, 0.9);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(197, 248, 42, 0.15),
                0 0 0 3px rgba(197, 248, 42, 0.1),
                inset 0 1px 0 0 rgba(255, 255, 255, 1);
}

.form-input::placeholder {
    color: var(--color-text-tertiary);
}

.form-note {
    font-size: var(--font-size-xs);
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-3);
}

.form-note::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: var(--color-primary);
    color: var(--color-text-primary);
    border-radius: 50%;
    font-size: 11px;
    font-weight: var(--font-weight-bold);
}

/* Success Message */
.success-message {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-6);
    background: rgba(197, 248, 42, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    border: 2px solid rgba(197, 248, 42, 0.5);
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 40px rgba(197, 248, 42, 0.15),
                inset 0 1px 0 0 rgba(255, 255, 255, 0.8);
    animation: slideUp 0.5s ease-out, glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 10px 40px rgba(197, 248, 42, 0.15),
                    inset 0 1px 0 0 rgba(255, 255, 255, 0.8);
    }
    50% {
        box-shadow: 0 10px 50px rgba(197, 248, 42, 0.25),
                    0 0 30px rgba(197, 248, 42, 0.2),
                    inset 0 1px 0 0 rgba(255, 255, 255, 0.9);
    }
}

.success-icon {
    flex-shrink: 0;
    animation: scaleIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.success-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--space-1);
}

.success-text {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
}

/* ================================
   App Preview
   ================================ */
.hero-right {
    position: relative;
}

.app-preview {
    animation: float 6s ease-in-out infinite;
}

.preview-window {
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(45px) saturate(180%);
    -webkit-backdrop-filter: blur(45px) saturate(180%);
    border-radius: var(--radius-2xl);
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow:
        0 30px 80px rgba(31, 38, 135, 0.2),
        0 15px 35px rgba(0, 0, 0, 0.1),
        inset 0 2px 0 0 rgba(255, 255, 255, 0.95),
        inset 0 -2px 0 0 rgba(255, 255, 255, 0.3);
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

/* Glass texture for preview window */
.preview-window::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0px, transparent 1px, transparent 2px, rgba(255,255,255,0.04) 3px),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0px, transparent 1px, transparent 2px, rgba(255,255,255,0.04) 3px);
    opacity: 0.3;
    pointer-events: none;
    z-index: 5;
    border-radius: var(--radius-2xl);
}

/* Subtle glow accent for preview window */
.preview-window::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-2xl);
    background: radial-gradient(circle at 50% 50%,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 70%);
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
    filter: blur(20px);
}

@keyframes borderFlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.preview-window:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow:
        0 40px 100px rgba(31, 38, 135, 0.25),
        0 20px 45px rgba(0, 0, 0, 0.12),
        inset 0 2px 0 0 rgba(255, 255, 255, 1),
        inset 0 -2px 0 0 rgba(255, 255, 255, 0.4);
}

.preview-window:hover::before {
    opacity: 0.8;
}

.preview-window:hover::after {
    opacity: 0.4;
}

.preview-header {
    padding: var(--space-4);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 2;
}

.preview-dots {
    display: flex;
    gap: var(--space-2);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.preview-content {
    display: flex;
    min-height: 400px;
}

.preview-sidebar {
    width: 200px;
    padding: var(--space-6);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: inset 1px 0 0 0 rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    position: relative;
    z-index: 2;
}

.sidebar-item {
    padding: var(--space-3) var(--space-4);
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    font-weight: 500;
    background: transparent;
}

.sidebar-item.active {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: var(--color-text-primary);
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.8);
}

.sidebar-item:hover:not(.active) {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.preview-main {
    flex: 1;
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    position: relative;
    z-index: 2;
}

.analysis-card {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-5);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    box-shadow:
        0 4px 12px rgba(31, 38, 135, 0.1),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 3;
}

.analysis-card:hover {
    background: rgba(255, 255, 255, 0.32);
    border-color: rgba(255, 255, 255, 0.85);
    box-shadow:
        0 8px 24px rgba(31, 38, 135, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 0 rgba(255, 255, 255, 1);
    transform: translateY(-3px);
}

.card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.7);
}

.timeline-icon { color: #6366F1; }
.risk-icon { color: #EF4444; }
.analysis-icon { color: #10B981; }

.card-label {
    flex: 1;
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--color-text-primary);
}

.active-badge {
    padding: var(--space-1) var(--space-3);
    font-size: var(--font-size-xs);
    font-weight: 600;
    background: #C5F82A;
    color: var(--color-text-primary);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    box-shadow: 0 2px 8px rgba(197, 248, 42, 0.3);
}

.card-btn {
    padding: var(--space-2) var(--space-4);
    font-size: var(--font-size-sm);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: var(--color-text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.7);
}

.card-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--color-text-primary);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* ================================
   Features Section
   ================================ */
.features {
    padding: var(--space-24) 0;
    background: linear-gradient(180deg, rgba(250, 248, 245, 0.6) 0%, rgba(255, 253, 250, 0.9) 100%);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 20%;
    width: 1000px;
    height: 1000px;
    background:
        radial-gradient(ellipse at 50% 50%,
            rgba(197, 248, 42, 0.1) 0%,
            rgba(212, 255, 77, 0.06) 30%,
            transparent 70%);
    pointer-events: none;
    animation: float 28s ease-in-out infinite, colorPulse 12s ease-in-out infinite;
    filter: blur(70px);
}

.features::after {
    content: '';
    position: absolute;
    bottom: 15%;
    right: 15%;
    width: 850px;
    height: 850px;
    background:
        radial-gradient(circle,
            rgba(168, 224, 36, 0.08) 0%,
            rgba(139, 201, 31, 0.05) 40%,
            transparent 70%);
    pointer-events: none;
    animation: float 24s ease-in-out infinite reverse, colorPulse 15s ease-in-out infinite reverse;
    filter: blur(70px);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-16);
    position: relative;
}

.section-header::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    border-radius: var(--radius-full);
    opacity: 0.6;
}

.section-title {
    font-size: var(--font-fluid-5xl);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    letter-spacing: var(--tracking-tight);
    margin-bottom: var(--space-5);
    background: linear-gradient(135deg, #1a1a1a 0%, #2d3748 50%, #1a1a1a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: shimmer 8s linear infinite;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(197, 248, 42, 0.5), transparent);
    border-radius: var(--radius-full);
}

.section-subtitle {
    font-size: var(--font-size-xl);
    color: var(--color-text-secondary);
    position: relative;
    z-index: 1;
}

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

.feature-card {
    padding: var(--space-8);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid transparent;
    border-radius: var(--radius-xl);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.06),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 0 0 1px rgba(255, 255, 255, 0.9),
        inset 0 2px 0 0 rgba(255, 255, 255, 1);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
}

/* Gradient border effect */
.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    padding: 1px;
    background: linear-gradient(135deg,
        rgba(197, 248, 42, 0.3) 0%,
        rgba(212, 255, 77, 0.2) 25%,
        rgba(168, 224, 36, 0.25) 50%,
        rgba(139, 201, 31, 0.2) 75%,
        rgba(197, 248, 42, 0.3) 100%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: var(--mouse-y, 50%);
    left: var(--mouse-x, 50%);
    width: 350px;
    height: 350px;
    background: radial-gradient(circle,
        rgba(212, 255, 77, 0.15) 0%,
        rgba(197, 248, 42, 0.1) 30%,
        transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
    z-index: 0;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon,
.feature-title,
.feature-description {
    position: relative;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    background: rgba(255, 255, 255, 0.95);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.12),
        0 10px 20px rgba(197, 248, 42, 0.15),
        0 0 0 1px rgba(197, 248, 42, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 1),
        inset 0 2px 0 0 rgba(255, 255, 255, 1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(197, 248, 42, 0.15) 0%, rgba(197, 248, 42, 0.05) 100%);
    border: 1px solid rgba(197, 248, 42, 0.2);
    border-radius: var(--radius-xl);
    color: var(--color-text-primary);
    margin-bottom: var(--space-6);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
    background: linear-gradient(135deg, rgba(197, 248, 42, 0.25) 0%, rgba(197, 248, 42, 0.15) 100%);
    border-color: rgba(197, 248, 42, 0.4);
    box-shadow: 0 8px 20px rgba(197, 248, 42, 0.2);
}

.feature-title {
    font-size: var(--font-fluid-2xl);
    font-weight: var(--font-weight-bold);
    line-height: 1.3;
    letter-spacing: var(--tracking-normal);
    margin-bottom: var(--space-3);
    color: var(--color-text-primary);
}

.feature-description {
    font-size: var(--font-size-base);
    line-height: 1.6;
    letter-spacing: var(--tracking-base);
    color: var(--color-text-secondary);
}

/* ================================
   Accessibility - Focus Styles
   ================================ */
*:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: 2px;
}

.btn:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 4px;
    box-shadow: 0 0 0 6px rgba(197, 248, 42, 0.2);
}

.form-input:focus-visible {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(197, 248, 42, 0.1);
}

/* ================================
   CTA Section (Glass Effect)
   ================================ */
.cta-section {
    padding: var(--space-24) 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(197, 248, 42, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-card {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-16);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-2xl);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08),
                0 0 0 1px rgba(197, 248, 42, 0.15),
                inset 0 1px 0 0 rgba(255, 255, 255, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(197, 248, 42, 0.1), transparent 30%);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.cta-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.12),
                0 0 0 1px rgba(197, 248, 42, 0.3),
                inset 0 1px 0 0 rgba(255, 255, 255, 1);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(2rem, 1.5rem + 2.5vw, 3rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: var(--space-4);
    background: linear-gradient(135deg, #1a1a1a 0%, #2d3748 50%, #1a1a1a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-description {
    font-size: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    padding: var(--space-5) var(--space-10);
    font-size: var(--font-size-lg);
}

/* ================================
   Footer
   ================================ */
.footer {
    padding: var(--space-16) 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(197, 248, 42, 0.1);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(197, 248, 42, 0.3) 50%, transparent 100%);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.footer-tagline {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

.footer-copyright {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

/* ================================
   Animations
   ================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

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

@keyframes scrollReveal {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card.reveal {
    animation: scrollReveal 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.feature-card:nth-child(1).reveal {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2).reveal {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3).reveal {
    animation-delay: 0.3s;
}

.feature-card:nth-child(4).reveal {
    animation-delay: 0.1s;
}

.feature-card:nth-child(5).reveal {
    animation-delay: 0.2s;
}

.feature-card:nth-child(6).reveal {
    animation-delay: 0.3s;
}

/* ================================
   Responsive Design
   ================================ */

/* Tablet */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

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

    .hero-title {
        font-size: var(--font-size-5xl);
    }

    .hero-stats {
        gap: var(--space-4);
    }

    .stat-number {
        font-size: var(--font-size-2xl);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .preview-content {
        min-height: 350px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-4);
    }

    .header-nav {
        gap: var(--space-4);
    }

    .nav-link {
        display: none;
    }

    .language-selector {
        display: none;
    }

    .btn-waitlist-header {
        padding: var(--space-2) var(--space-4);
        font-size: var(--font-size-xs);
    }

    .hero {
        padding-top: calc(var(--header-height) + var(--space-12));
        padding-bottom: var(--space-16);
    }

    .hero-eyebrow {
        font-size: var(--font-size-xs);
    }

    .hero-title {
        font-size: var(--font-size-4xl);
    }

    .hero-subtitle {
        font-size: var(--font-size-lg);
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: var(--space-4);
    }

    .stat-item {
        flex: 1;
        min-width: calc(33.333% - var(--space-4));
    }

    .stat-divider {
        display: none;
    }

    .stat-number {
        font-size: var(--font-size-xl);
    }

    .stat-label {
        font-size: var(--font-size-xs);
    }

    .form-group {
        flex-direction: column;
    }

    .btn-submit {
        width: 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: var(--font-size-4xl);
    }

    .section-subtitle {
        font-size: var(--font-size-lg);
    }

    .preview-sidebar {
        width: 120px;
        padding: var(--space-4);
    }

    .sidebar-item {
        font-size: var(--font-size-xs);
        padding: var(--space-2) var(--space-3);
    }

    .preview-main {
        padding: var(--space-4);
    }

    .analysis-card {
        padding: var(--space-3) var(--space-4);
    }

    .card-label {
        font-size: var(--font-size-sm);
    }

    .footer-content {
        flex-direction: column;
        gap: var(--space-6);
        text-align: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: var(--font-size-3xl);
    }

    .logo-text {
        font-size: var(--font-size-xl);
    }

    .preview-content {
        flex-direction: column;
        min-height: auto;
    }

    .preview-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        flex-direction: row;
        overflow-x: auto;
    }

    .preview-main {
        padding: var(--space-3);
    }
}
