/* ============================================
   NAVION AI - COMBINED STYLES
   Dark futuristic theme with purple and orange
   Includes: Base, Navigation, Landing, Pages, Pricing, Footer, Responsive
   ============================================ */

/* ============================================
   NAVION AI - MAIN CSS
   Dark futuristic theme with purple and orange
   ============================================ */

/* CSS Variables - Dark Theme */
:root {
    /* Primary Colors - Purple & Orange Futuristic */
    --primary-color: #7c3aed;
    --primary-dark: #5b21b6;
    --primary-light: #a78bfa;
    --secondary-color: #f97316;
    --secondary-dark: #ea580c;
    --secondary-light: #fb923c;
    --accent-color: #06b6d4;
    
    /* Dark Theme Neutrals */
    --gray-950: #030712;
    --gray-900: #0f172a;
    --gray-800: #1e293b;
    --gray-700: #334155;
    --gray-600: #475569;
    --gray-500: #64748b;
    --gray-400: #94a3b8;
    --gray-300: #cbd5e1;
    --gray-200: #e2e8f0;
    --gray-100: #f1f5f9;
    --gray-50: #f8fafc;
    --white: #ffffff;
    
    /* Semantic Colors */
    --text-primary: var(--gray-100);
    --text-secondary: var(--gray-400);
    --text-muted: var(--gray-500);
    --bg-primary: var(--gray-950);
    --bg-secondary: var(--gray-900);
    --bg-tertiary: var(--gray-800);
    --border-color: var(--gray-700);
    
    /* Glow Effects */
    --glow-primary: 0 0 20px rgba(124, 58, 237, 0.5);
    --glow-secondary: 0 0 20px rgba(249, 115, 22, 0.5);
    --glow-accent: 0 0 20px rgba(6, 182, 212, 0.5);
    
    /* 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-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
    
    /* Layout */
    --container-max: 1400px;
    --container-padding: 1.5rem;
    --border-radius-sm: 0.375rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
    --border-radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
}

/* Reset & Base */
*, *::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: var(--line-height-normal);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(249, 115, 22, 0.1) 0%, transparent 50%);
    background-attachment: fixed;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

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

ul, ol {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1400px; /* Increased from 1200px */
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    color: var(--text-primary);
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); }

p {
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: var(--glow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.6);
    border-color: var(--primary-light);
}

.btn-secondary {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--gray-700);
    border-color: var(--gray-600);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-light);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: var(--glow-primary);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.btn-white:hover {
    background-color: var(--gray-100);
    border-color: var(--gray-100);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* ── Log In button — neon orange to stand out from Try Demo ── */
.btn-login {
    background: transparent;
    color: #fb923c;
    border: 2px solid #f97316;
    box-shadow: 0 0 12px rgba(249, 115, 22, 0.3);
}
.btn-login:hover {
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    color: var(--white);
    border-color: #f97316;
    box-shadow: 0 0 28px rgba(249, 115, 22, 0.65);
    transform: translateY(-2px);
}

.btn-large {
    padding: var(--space-lg) var(--space-2xl);
    font-size: var(--font-size-lg);
}

.btn-full {
    width: 100%;
}

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

.section-title {
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

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

/* Utility Classes */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }

.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }

.hidden { display: none; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Form Elements */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
    font-size: var(--font-size-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    font-size: var(--font-size-base);
    transition: all var(--transition-fast);
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2), var(--glow-primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

/* Page Header */
.page-header {
    padding: calc(80px + var(--space-4xl)) 0 var(--space-3xl);
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(124, 58, 237, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(249, 115, 22, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: var(--space-md);
    font-size: var(--font-size-5xl);
    position: relative;
    z-index: 1;
}

.page-header p {
    color: var(--gray-400);
    font-size: var(--font-size-xl);
    position: relative;
    z-index: 1;
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes wave {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.5); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(124, 58, 237, 0.5); }
    50% { box-shadow: 0 0 40px rgba(124, 58, 237, 0.8); }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.glow-effect {
    animation: glow 2s ease-in-out infinite;
}

/* Selection */
::selection {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

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

/* ============================================
   NAVIGATION STYLES - Dark Theme
   Header, nav menu, mobile toggle, logo
   WIDENED SPACING VERSION
   ============================================ */

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: box-shadow var(--transition-base), transform 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
    border-bottom-color: rgba(124, 58, 237, 0.3);
}

/* Navigation Container - WIDENED */
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    max-width: 1400px; /* Increased from default */
    margin: 0 auto;
    padding: 0 var(--space-xl); /* More horizontal padding */
}

/* Logo - MORE SPACE AFTER */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-xl);
    color: var(--text-primary);
    transition: transform var(--transition-fast);
    margin-right: var(--space-3xl); /* ADDED: Space after logo */
    flex-shrink: 0; /* Prevent logo from shrinking */
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: filter var(--transition-base);
}

.logo:hover .logo-icon {
    filter: drop-shadow(0 0 10px rgba(124, 58, 237, 0.8));
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: var(--font-weight-bold);
    white-space: nowrap;
}

/* Navigation Menu - WIDENED SPACING */
.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-2xl); /* INCREASED from var(--space-xl) */
    flex: 1; /* Take available space */
    justify-content: center; /* Center the nav items */
}

[data-href] {
    cursor: pointer;
}

.nav-link {
    position: relative;
    font-weight: var(--font-weight-medium);
    color: var(--text-secondary);
    padding: var(--space-sm) 0;
    transition: color var(--transition-fast);
    white-space: nowrap;
    font-size: var(--font-size-base);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width var(--transition-base);
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Navigation Actions - MORE SPACE BEFORE */
.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-left: var(--space-3xl); /* ADDED: Space before Get Started button */
    flex-shrink: 0; /* Prevent shrinking */
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: all var(--transition-base);
    transform-origin: center;
    box-shadow: 0 0 5px rgba(124, 58, 237, 0.5);
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu Overlay */
@media (max-width: 1024px) { /* INCREASED breakpoint for better tablet support */
    .nav {
        padding: 0 var(--space-lg);
    }
    
    .logo {
        margin-right: 0; /* Remove margin on mobile */
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--bg-secondary);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: var(--space-3xl) var(--space-xl);
        gap: var(--space-xl);
        transform: translateX(100%);
        transition: transform var(--transition-base);
        box-shadow: var(--shadow-xl);
        border-top: 1px solid var(--border-color);
        margin: 0; /* Reset margins */
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-link {
        font-size: var(--font-size-xl);
        padding: var(--space-md) 0;
        color: var(--text-primary);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-link:hover,
    .nav-link.active {
        color: var(--primary-light);
    }
    
    .nav-actions {
        margin-left: auto; /* Push to right on mobile */
        gap: var(--space-md);
    }
    
    .nav-actions .btn-primary {
        display: none; /* Hide on mobile, show in menu */
    }
    
    .nav-menu .btn-primary {
        display: flex;
        margin-top: var(--space-xl);
        width: 100%;
        max-width: 300px;
    }
}

/* Active State for Current Page */
.nav-link.active {
    color: var(--white);
    font-weight: var(--font-weight-semibold);
}

/* Smooth scroll offset for fixed header */
html {
    scroll-padding-top: 0;
    scroll-behavior: smooth;
}

/* All anchor target sections clear the 80px fixed header */
#features,
#how-it-works,
#demo,
#testimonials,
#pricing,
#about,
#contact,
#support,
.page-header,
.pricing-section,
.about-section,
.contact-section,
.support-section,
.documentation-section,
.faq-section {
    scroll-margin-top: 80px;
}

/* Header hide/show animation */
.header[style*="translateY"] {
    will-change: transform;
}

/* Extra wide screens - even more spacing */
@media (min-width: 1400px) {
    .nav {
        padding: 0 var(--space-3xl);
    }
    
    .nav-menu {
        gap: var(--space-3xl); /* Even more space on large screens */
    }
}

/* Ensure Get Started button doesn't wrap */
.nav-actions .btn-primary {
    white-space: nowrap;
    flex-shrink: 0;
}

/* ============================================
   LANDING PAGE STYLES
   Hero, features, how it works, demo, testimonials, CTA
   ============================================ */

/* ============================================
   LANDING PAGE STYLES - Dark Theme
   Hero, features, how it works (6 steps), demo, testimonials, CTA
   ============================================ */

/* Hero Section */
.hero {
    padding: calc(80px + var(--space-4xl)) 0 var(--space-4xl);
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(124, 58, 237, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(249, 115, 22, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.06) 0%, transparent 40%);
    animation: heroDrift 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroDrift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(2%, 2%) rotate(1deg); }
    66% { transform: translate(-1%, 3%) rotate(-1deg); }
}

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

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    box-shadow: var(--shadow-sm);
}

.hero-badge svg {
    color: var(--secondary-color);
}

.hero-title {
    font-size: var(--font-size-5xl);
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

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

.hero-cta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: var(--space-3xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-color);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-top: var(--space-xs);
}

/* Hero Visual - Phone Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: linear-gradient(145deg, var(--gray-800) 0%, var(--gray-900) 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 
        var(--shadow-xl), 
        0 0 40px rgba(124, 58, 237, 0.3),
        0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    border: 1px solid var(--border-color);
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background-color: var(--gray-900);
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.call-interface {
    text-align: center;
    color: var(--white);
}

.caller-info {
    margin-bottom: var(--space-2xl);
}

.caller-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    margin: 0 auto var(--space-md);
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.5);
}

.caller-name {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-xs);
}

.call-status {
    font-size: var(--font-size-base);
    opacity: 0.9;
}

.wave-animation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 40px;
}

.wave-animation span {
    width: 4px;
    background: linear-gradient(to top, var(--secondary-color), var(--primary-light));
    border-radius: 2px;
    animation: wave 1.2s ease-in-out infinite;
}

.wave-animation span:nth-child(1) { height: 20px; animation-delay: 0s; }
.wave-animation span:nth-child(2) { height: 35px; animation-delay: 0.1s; }
.wave-animation span:nth-child(3) { height: 25px; animation-delay: 0.2s; }
.wave-animation span:nth-child(4) { height: 40px; animation-delay: 0.3s; }

/* Features Section */
.features {
    padding: var(--space-2xl) 0;
    background-color: var(--bg-primary);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

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

.feature-card {
    padding: var(--space-2xl);
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.2);
    border-color: rgba(124, 58, 237, 0.5);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: var(--space-lg);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
}

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

.feature-description {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
}

/* How It Works Section - 5 Steps Layout */
.how-it-works {
    padding: var(--space-4xl) 0;
    background-color: var(--bg-secondary);
    position: relative;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 50%, rgba(124, 58, 237, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 50%, rgba(249, 115, 22, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-lg);
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.step {
    flex: 1;
    text-align: center;
    max-width: 220px;
    min-width: 160px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    margin: 0 auto var(--space-lg);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.5);
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
}

.step-content h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: var(--line-height-relaxed);
}

.step-connector {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin-top: 30px;
    position: relative;
    flex-shrink: 0;
}

.step-connector::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid var(--secondary-color);
}

/* Responsive - Stack on mobile */
@media (max-width: 1024px) {
    .steps {
        flex-direction: column;
        align-items: center;
        gap: var(--space-2xl);
    }
    
    .step {
        max-width: 400px;
    }
    
    .step-connector {
        width: 2px;
        height: 40px;
        margin: 0;
    }
    
    .step-connector::after {
        content: '';
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 8px solid var(--secondary-color);
        border-bottom: none;
        right: 50%;
        top: auto;
        bottom: -5px;
        transform: translateX(50%);
    }
}

/* ============================================
   DEMO SECTION - Split Screen Live Demo
   ============================================ */


/* Header offset spacer for anchor links */
.header-spacer {
    height: 80px;
    margin-top: -80px;
    visibility: hidden;
    pointer-events: none;
}
.demo-section {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.demo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(249, 115, 22, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.demo-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Left Side - Phone & Audio */
.demo-phone-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.demo-phone {
    width: 300px;
    height: 600px;
    background: linear-gradient(145deg, var(--gray-800) 0%, var(--gray-900) 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 
        0 0 60px rgba(124, 58, 237, 0.3),
        0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    position: relative;
}

.demo-phone::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background-color: var(--gray-900);
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.demo-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: var(--space-xl);
    position: relative;
}

/* Live Status Badge */
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: #ef4444;
    margin-bottom: var(--space-lg);
    align-self: center;
}



@keyframes pulse-live {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* Waveform Visualization */
.waveform-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    gap: 4px;
    margin: var(--space-xl) 0;
}

.waveform-bar {
    width: 4px;
    background: linear-gradient(to top, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    transition: height 0.1s ease;
}

.waveform-bar:nth-child(1) { height: 20%; animation: wave-1 1s ease-in-out infinite; }
.waveform-bar:nth-child(2) { height: 40%; animation: wave-2 1s ease-in-out infinite 0.1s; }
.waveform-bar:nth-child(3) { height: 60%; animation: wave-3 1s ease-in-out infinite 0.2s; }
.waveform-bar:nth-child(4) { height: 80%; animation: wave-4 1s ease-in-out infinite 0.3s; }
.waveform-bar:nth-child(5) { height: 100%; animation: wave-5 1s ease-in-out infinite 0.4s; }
.waveform-bar:nth-child(6) { height: 80%; animation: wave-4 1s ease-in-out infinite 0.5s; }
.waveform-bar:nth-child(7) { height: 60%; animation: wave-3 1s ease-in-out infinite 0.6s; }
.waveform-bar:nth-child(8) { height: 40%; animation: wave-2 1s ease-in-out infinite 0.7s; }
.waveform-bar:nth-child(9) { height: 20%; animation: wave-1 1s ease-in-out infinite 0.8s; }

@keyframes wave-1 { 0%, 100% { height: 20%; } 50% { height: 40%; } }
@keyframes wave-2 { 0%, 100% { height: 40%; } 50% { height: 70%; } }
@keyframes wave-3 { 0%, 100% { height: 60%; } 50% { height: 90%; } }
@keyframes wave-4 { 0%, 100% { height: 80%; } 50% { height: 100%; } }
@keyframes wave-5 { 0%, 100% { height: 100%; } 50% { height: 60%; } }

.waveform-container.paused .waveform-bar {
    animation-play-state: paused;
    height: 20%;
    opacity: 0.5;
}

/* Transcript Area */
.transcript-container {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--border-radius-lg);
    padding: var(--space-md);
    overflow-y: auto;
    margin-bottom: var(--space-lg);
    max-height: 200px;
}

.transcript-line {
    margin-bottom: var(--space-md);
    font-size: var(--font-size-sm);
    line-height: var(--line-height-relaxed);
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.3s ease forwards;
}

.transcript-line.speaker-ai { color: var(--primary-light); }
.transcript-line.speaker-caller { color: var(--secondary-light); }

.transcript-line .timestamp {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    margin-right: var(--space-sm);
}

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

/* Playback Controls */
.demo-controls {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
}

.demo-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: var(--border-radius-full);
    font-weight: var(--font-weight-semibold);
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    min-width: 140px;
}

.demo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.5);
}

.demo-btn.secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.demo-btn.secondary:hover {
    background: var(--gray-700);
    box-shadow: none;
}

/* Restart Button */
#restartDemo {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    border-color: var(--secondary-color);
}

#restartDemo:hover {
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.5);
    transform: scale(1.05);
}


/* Right Side - AI Analytics Dashboard */
.demo-analytics {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-xl);
    padding: var(--space-2xl);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
}

.analytics-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border-color);
}

.analytics-header h3 {
    font-size: var(--font-size-xl);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.ai-status {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Metric Cards */
.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.metric-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    transition: all var(--transition-base);
}

.metric-card:hover {
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateY(-2px);
}

.metric-label {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-xs);
}

.metric-value {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.metric-value.positive { color: #10b981; }

.metric-value.highlight {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Intent Detection */
.intent-panel {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.intent-panel h4 {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.intent-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border-color);
}

.intent-item:last-child { border-bottom: none; }

.intent-name {
    font-size: var(--font-size-base);
    color: var(--text-primary);
}

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

.confidence-bar {
    width: 60px;
    height: 6px;
    background: var(--bg-secondary);
    border-radius: 3px;
    overflow: hidden;
}

.confidence-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
    transition: width 0.5s ease;
}

.confidence-value {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    min-width: 35px;
    text-align: right;
}

/* Action Log */
.action-log {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
}

.action-log h4 {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.action-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) 0;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    opacity: 0;
    transform: translateX(-10px);
    animation: slideIn 0.3s ease forwards;
}

@keyframes slideIn {
    to { opacity: 1; transform: translateX(0); }
}

.action-icon {
    width: 24px;
    height: 24px;
    background: rgba(124, 58, 237, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 12px;
}

.action-item.completed .action-icon {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

/* Audio Upload Info */
.audio-upload-info {
    margin-top: var(--space-xl);
    padding: var(--space-lg);
    background: rgba(124, 58, 237, 0.1);
    border: 1px dashed rgba(124, 58, 237, 0.3);
    border-radius: var(--border-radius-lg);
    text-align: center;
}

.audio-upload-info p {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin: 0;
}

.audio-upload-info code {
    color: var(--primary-light);
    background: rgba(124, 58, 237, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 1024px) {
    .demo-container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .demo-phone {
        width: 260px;
        height: 520px;
    }
    
    .demo-analytics { order: -1; }
}

@media (max-width: 640px) {
    .demo-phone {
        width: 220px;
        height: 440px;
    }
    
    .metrics-grid { grid-template-columns: 1fr; }
    
    .demo-controls { flex-direction: column; }
    
    .demo-btn { width: 100%; }
}

/* Testimonials Section */
.testimonials {
    padding: var(--space-4xl) 0;
    background-color: var(--bg-secondary);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
    position: relative;
    z-index: 1;
}

.testimonial-card {
    padding: var(--space-2xl);
    background-color: var(--bg-tertiary);
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.15);
    border-color: rgba(124, 58, 237, 0.3);
}

.testimonial-card.featured {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, rgba(249, 115, 22, 0.1) 100%);
    border-color: rgba(124, 58, 237, 0.5);
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.2);
}

.testimonial-card.featured:hover {
    transform: scale(1.05) translateY(-4px);
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.3);
}

.testimonial-rating {
    color: var(--secondary-color);
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-md);
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-sm);
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.3);
}

.author-info h4 {
    font-size: var(--font-size-base);
    color: var(--text-primary);
    margin-bottom: 2px;
}

.author-info p {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    padding: var(--space-4xl) 0;
    background-color: var(--bg-primary);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(124, 58, 237, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(249, 115, 22, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.cta-box {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.3) 0%, rgba(91, 33, 182, 0.3) 100%);
    border: 1px solid rgba(124, 58, 237, 0.5);
    border-radius: var(--border-radius-xl);
    padding: var(--space-4xl);
    text-align: center;
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.2);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
}

.cta-box h2 {
    color: var(--white);
    font-size: var(--font-size-4xl);
    margin-bottom: var(--space-md);
}

.cta-box > p {
    color: var(--gray-300);
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-2xl);
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.cta-note {
    color: var(--gray-400);
    font-size: var(--font-size-sm);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        order: 2;
    }
    
    .hero-visual {
        order: 1;
    }
    
    .phone-mockup {
        width: 260px;
        height: 520px;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .testimonial-card.featured {
        transform: scale(1);
        order: -1;
    }
    
    .steps {
        flex-direction: column;
        align-items: center;
        gap: var(--space-2xl);
    }
    
    .step-connector {
        width: 2px;
        height: 40px;
        margin: 0;
    }
    
    .step-connector::after {
        content: '';
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 8px solid var(--secondary-color);
        border-bottom: none;
        right: 50%;
        top: auto;
        bottom: -5px;
        transform: translateX(50%);
    }
    
    .demo-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .demo-info {
        order: -1;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: var(--font-size-4xl);
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
        align-items: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-box {
        padding: var(--space-2xl);
    }
    
    .cta-box h2 {
        font-size: var(--font-size-3xl);
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .demo-screen {
        width: 240px;
        height: 430px;
    }
}

/* ============================================
   TESTIMONIALS - CENTERED VERSION
   ============================================ */

.testimonials .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.testimonials-grid {
    width: 100%;
    display: flex;
    justify-content: center; /* Center the carousel */
    align-items: center;
}

/* The carousel container */
.testimonials-grid > div {
    width: 100%;
    max-width: 700px;
    margin: 0 auto; /* Center horizontally */
}

/* Ensure cards display properly */
.testimonial-card {
    text-align: left;
    width: 100%;
}

.testimonial-rating {
    color: var(--secondary-color);
    font-size: 20px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
}

.author-info h4 {
    color: var(--text-primary);
    font-size: 16px;
    margin-bottom: 4px;
}

.author-info p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
    .testimonials-grid > div {
        max-width: 90%;
    }
}

@media (max-width: 600px) {
    .testimonials-grid > div {
        max-width: 95%;
    }
    
    .testimonial-card {
        padding: 30px 20px !important;
    }
    
    .testimonial-text {
        font-size: 16px;
    }
}


/* ============================================
   PAGES STYLES
   About, Support, Get Started, Contact
   ============================================ */

/* ============================================
   PAGES STYLES - Dark Theme
   About, Support, Get Started specific styles
   ============================================ */

/* ============================================
   ABOUT PAGE
   ============================================ */

/* Mission Section */
.about-section {
    padding: var(--space-4xl) 0;
    background-color: var(--bg-primary);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-content h2 {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

.about-content p {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: var(--line-height-relaxed);
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    max-width: 500px;
    height: 400px;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    border-radius: var(--border-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-semibold);
    border: 2px dashed var(--border-color);
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(249, 115, 22, 0.1) 0%, transparent 50%);
}

/* Values Section */
.values-section {
    padding: var(--space-4xl) 0;
    background-color: var(--bg-secondary);
    position: relative;
}

.values-section .section-title {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

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

.value-card {
    text-align: center;
    padding: var(--space-2xl);
    background-color: var(--bg-tertiary);
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.15);
    border-color: rgba(124, 58, 237, 0.3);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, rgba(249, 115, 22, 0.2) 100%);
    border-radius: 50%;
    font-size: var(--font-size-3xl);
}

.value-card h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.value-card p {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
}

/* Team Section */
.team-section {
    padding: var(--space-4xl) 0;
    background-color: var(--bg-primary);
    position: relative;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(249, 115, 22, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.team-section .section-title {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

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

.team-member {
    text-align: center;
    padding: var(--space-2xl);
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.team-member:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.15);
    border-color: rgba(124, 58, 237, 0.3);
}

.member-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    margin: 0 auto var(--space-lg);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
}

.team-member h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.member-role {
    color: var(--primary-light);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-base);
    margin-bottom: var(--space-sm);
}

.member-bio {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

/* Stats Section */
.stats-section {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.3) 0%, rgba(91, 33, 182, 0.3) 100%);
    border-top: 1px solid rgba(124, 58, 237, 0.3);
    border-bottom: 1px solid rgba(124, 58, 237, 0.3);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(124, 58, 237, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(249, 115, 22, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item {
    color: var(--white);
}

.stat-item .stat-number {
    display: block;
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-xs);
}

.stat-item .stat-label {
    font-size: var(--font-size-base);
    color: var(--gray-300);
}

/* ============================================
   SUPPORT PAGE - Enhanced
   ============================================ */

/* Page Header - PROPERLY CENTERED VERSION */
.page-header {
    padding: 120px 0 80px; /* INCREASED top padding, balanced bottom */
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Centers content vertically */
    min-height: 400px; /* ADDED: Ensures enough gradient space */
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(124, 58, 237, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(249, 115, 22, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

/* Support Page Specific - CENTERED CONTAINER */
.page-header .container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: var(--space-md);
    font-size: var(--font-size-5xl);
    position: relative;
    z-index: 1;
    max-width: 900px;
    width: 100%;
    text-align: center;
    margin: 0 auto var(--space-md) auto; /* Centered margins */
    line-height: 1.2;
}

.page-header p {
    color: var(--gray-400);
    font-size: var(--font-size-xl);
    position: relative;
    z-index: 1;
    max-width: 700px;
    width: 100%;
    text-align: center;
    margin: 0 auto; /* Centered, no bottom margin */
    line-height: var(--line-height-relaxed);
}

/* Support Search Section - WIDER */
.support-search {
    padding: var(--space-2xl) 0;
    background-color: var(--bg-secondary);
    margin-top: -60px;
    position: relative;
    z-index: 10;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
}

.support-search .container {
    max-width: 900px; /* Wider search container */
    padding: 0 var(--space-xl);
}

.search-box {
    width: 100%;
    max-width: 800px; /* Wider search box */
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background-color: var(--bg-tertiary);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--border-radius-xl);
    border: 2px solid var(--border-color);
    transition: all var(--transition-base);
    position: relative;
}

.search-box:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.2);
}

.search-icon {
    color: var(--text-muted);
    margin-left: var(--space-sm);
    flex-shrink: 0;
}

.search-box input {
    flex: 1;
    border: none;
    padding: var(--space-md);
    font-size: var(--font-size-lg);
    outline: none;
    background: transparent;
    color: var(--text-primary);
    min-width: 0; /* Allow shrinking */
}

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

.search-btn {
    padding: var(--space-md) var(--space-xl);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: var(--border-radius-lg);
    font-weight: var(--font-weight-semibold);
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    white-space: nowrap;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
}

.search-suggestions {
    width: 100%;
    max-width: 800px;
    margin: var(--space-md) auto 0;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    display: none;
    overflow: hidden;
}

.search-suggestions.active {
    display: block;
}

.suggestion-item {
    padding: var(--space-md) var(--space-lg);
    cursor: pointer;
    transition: background-color var(--transition-fast);
    border-bottom: 1px solid var(--border-color);
}

.suggestion-item:hover {
    background-color: var(--bg-secondary);
}

.suggestion-item:last-child {
    border-bottom: none;
}

/* Quick Links */
.quick-links {
    padding: var(--space-4xl) 0;
    background-color: var(--bg-primary);
}

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

.quick-link-card {
    display: block;
    padding: var(--space-2xl);
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.quick-link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.quick-link-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.15);
    border-color: rgba(124, 58, 237, 0.3);
    text-decoration: none;
}

.quick-link-card:hover::before {
    transform: scaleX(1);
}

.quick-link-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, rgba(249, 115, 22, 0.2) 100%);
    border-radius: 50%;
    color: var(--primary-light);
}

.quick-link-card h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.quick-link-card p {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
}

/* Documentation Section */
.documentation-section {
    padding: var(--space-4xl) 0;
    background-color: var(--bg-secondary);
}

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

.doc-category {
    background-color: var(--bg-tertiary);
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--border-color);
    padding: var(--space-xl);
}

.doc-category h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-color);
}

.doc-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.doc-link {
    display: flex;
    flex-direction: column;
    padding: var(--space-md);
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-fast);
}

.doc-link:hover {
    background-color: var(--bg-secondary);
    text-decoration: none;
}

.doc-title {
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
    margin-bottom: 2px;
}

.doc-desc {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

/* FAQ Section */
.faq-section {
    padding: var(--space-4xl) 0;
    background-color: var(--bg-primary);
}

.faq-categories {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.faq-category-btn {
    padding: var(--space-sm) var(--space-lg);
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-full);
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
    transition: all var(--transition-base);
    cursor: pointer;
}

.faq-category-btn:hover,
.faq-category-btn.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.3);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.faq-item {
    background-color: var(--bg-tertiary);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: rgba(124, 58, 237, 0.3);
}

.faq-item.hidden {
    display: none;
}

.faq-question {
    width: 100%;
    padding: var(--space-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
    background: none;
    border: none;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.faq-question:hover {
    background-color: var(--bg-secondary);
}

.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    border-radius: 50%;
    font-size: var(--font-size-base);
    transition: transform var(--transition-base);
}

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

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

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 var(--space-xl) var(--space-xl);
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
}

.faq-answer a {
    color: var(--primary-light);
    text-decoration: underline;
}

/* Tutorials Section */
.tutorials-section {
    padding: var(--space-4xl) 0;
    background-color: var(--bg-secondary);
}

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

.tutorial-card {
    background-color: var(--bg-tertiary);
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all var(--transition-base);
    cursor: pointer;
}

.tutorial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.15);
    border-color: rgba(124, 58, 237, 0.3);
}

.tutorial-thumbnail {
    height: 160px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.3) 0%, rgba(249, 115, 22, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.tutorial-thumbnail svg {
    color: var(--white);
    filter: drop-shadow(0 0 10px rgba(124, 58, 237, 0.5));
}

.tutorial-duration {
    position: absolute;
    bottom: var(--space-md);
    right: var(--space-md);
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--border-radius-sm);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
}

.tutorial-card h4 {
    padding: var(--space-lg);
    font-size: var(--font-size-lg);
    color: var(--text-primary);
    margin-bottom: 0;
}

.tutorial-card p {
    padding: 0 var(--space-lg) var(--space-lg);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin: 0;
}

/* Contact Section */
.contact-section {
    padding: var(--space-4xl) 0;
    background-color: var(--bg-primary);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 50%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-info h2 {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.contact-info > p {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.contact-method {
    display: flex;
    gap: var(--space-md);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, rgba(249, 115, 22, 0.2) 100%);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    flex-shrink: 0;
}

.contact-method strong {
    display: block;
    color: var(--text-primary);
    font-size: var(--font-size-base);
    margin-bottom: var(--space-xs);
}

.contact-method p {
    color: var(--text-secondary);
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-xs);
}

.response-time {
    font-size: var(--font-size-sm);
    color: var(--primary-light);
    font-weight: var(--font-weight-medium);
}

.contact-form-wrapper {
    background-color: var(--bg-secondary);
    padding: var(--space-2xl);
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--border-color);
}

.contact-form h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-xl);
    color: var(--text-primary);
}

.form-security {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

.form-security svg {
    color: var(--primary-color);
}

.file-hint {
    display: block;
    margin-top: var(--space-xs);
    color: var(--text-muted);
    font-size: var(--font-size-xs);
}

/* ============================================
   GET STARTED PAGE
   ============================================ */

.signup-section {
    padding: calc(80px + var(--space-4xl)) 0 var(--space-4xl);
    background-color: var(--bg-primary);
    min-height: calc(100vh - 200px);
    position: relative;
}

.signup-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(249, 115, 22, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.signup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.signup-info h1 {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.signup-subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.benefit-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: var(--font-weight-bold);
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.4);
}

.benefit-item h4 {
    font-size: var(--font-size-base);
    color: var(--text-primary);
    margin-bottom: 2px;
}

.benefit-item p {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin: 0;
}

.trust-badges {
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-color);
}

.trust-badges p {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
}

.badge-icons {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    color: var(--secondary-color);
    font-weight: var(--font-weight-semibold);
}

/* Signup Form */
.signup-form-wrapper {
    background-color: var(--bg-secondary);
    padding: var(--space-2xl);
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.1);
}

.signup-form {
    position: relative;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

.form-step h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.step-desc {
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    font-size: var(--font-size-base);
}

.form-note {
    text-align: center;
    margin-top: var(--space-lg);
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.form-note a {
    color: var(--primary-light);
    font-weight: var(--font-weight-medium);
}

.form-note a:hover {
    text-decoration: underline;
}

/* Plan Options */
.plan-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.plan-option {
    cursor: pointer;
}

.plan-option input {
    display: none;
}

.plan-card {
    padding: var(--space-lg);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-base);
    position: relative;
    background-color: var(--bg-tertiary);
}

.plan-option input:checked + .plan-card {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(91, 33, 182, 0.1) 100%);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.2);
}

.plan-card:hover {
    border-color: rgba(124, 58, 237, 0.5);
}

.plan-card.recommended {
    border-color: var(--secondary-color);
}

.plan-badge {
    position: absolute;
    top: -10px;
    right: var(--space-md);
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: var(--white);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.4);
}

.plan-name {
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.plan-price {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-xs);
}

.plan-desc {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

/* Card Input */
.card-input-wrapper {
    position: relative;
}

.card-icons {
    position: absolute;
    right: var(--space-md);
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.secure-note {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    margin-bottom: var(--space-xl);
}

.secure-note span {
    font-size: var(--font-size-lg);
    color: var(--primary-color);
}

.secure-note p {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin: 0;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: var(--space-md);
}

.form-actions .btn {
    flex: 1;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    color: var(--white);
    font-size: var(--font-size-4xl);
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.4);
}

.success-message h3 {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.success-message p {
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

/* Responsive */
@media (max-width: 1024px) {
    .about-grid,
    .contact-grid,
    .signup-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .docs-grid {
        grid-template-columns: 1fr;
    }
    
    .tutorials-grid {
        grid-template-columns: 1fr;
    }
    
    .signup-info {
        text-align: center;
    }
    
    .benefits-list {
        max-width: 400px;
        margin: 0 auto var(--space-3xl);
    }
    
    .benefit-item {
        text-align: left;
    }
    
    .trust-badges {
        text-align: center;
    }
    
    .badge-icons {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .values-grid,
    .stats-grid,
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .search-box input {
        width: 100%;
    }
    
    .faq-categories {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: var(--space-sm);
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin: 0 auto;
    }
}

/* ============================================
   PRICING PAGE STYLES
   ============================================ */

/* ============================================
   PRICING PAGE STYLES - Navion AI
   Complete styles for pricing cards, billing toggle, comparison table
   ============================================ */

/* ============================================
   PAGE HEADER WITH BILLING TOGGLE
   ============================================ */

.pricing-header {
    padding: calc(80px + var(--space-4xl)) 0 var(--space-3xl);
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(124, 58, 237, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(249, 115, 22, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.pricing-header h1 {
    color: var(--white);
    margin-bottom: var(--space-md);
    font-size: var(--font-size-5xl);
    position: relative;
    z-index: 1;
}

.pricing-header > p {
    color: var(--gray-400);
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-2xl);
    position: relative;
    z-index: 1;
}

/* Billing Toggle Container */
.billing-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    background-color: var(--bg-tertiary);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--border-radius-full);
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
    margin-top: var(--space-lg);
}

.toggle-label {
    font-size: var(--font-size-base);
    color: var(--text-muted);
    font-weight: var(--font-weight-medium);
    transition: color var(--transition-fast);
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
}

.toggle-label.active {
    color: var(--white);
}

.save-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: var(--white);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    margin-left: var(--space-sm);
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.3);
    white-space: nowrap;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    width: 56px;
    height: 28px;
    cursor: pointer;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--gray-700);
    border-radius: var(--border-radius-full);
    transition: background-color var(--transition-base);
    border: 1px solid var(--border-color);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    transition: transform var(--transition-base);
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
}

.toggle-switch input:checked + .toggle-slider {
    background-color: rgba(124, 58, 237, 0.3);
    border-color: var(--primary-color);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(28px);
}

/* ============================================
   PRICING SECTION & CARDS GRID
   ============================================ */

.pricing-section {
    padding: var(--space-4xl) 0;
    background-color: var(--bg-primary);
    position: relative;
}

/* THIS IS THE CRITICAL FIX - 3 Column Grid Layout */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

/* Pricing Card Base Styles */
.pricing-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-xl);
    padding: var(--space-2xl);
    position: relative;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(124, 58, 237, 0.3);
}

/* Popular Card - Highlighted */
.pricing-card.popular {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(249, 115, 22, 0.05) 100%);
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.2);
    z-index: 2;
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 20px 50px rgba(124, 58, 237, 0.3);
}

/* Most Popular Badge */
.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: var(--white);
    padding: var(--space-xs) var(--space-lg);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
    z-index: 10;
    white-space: nowrap;
    border: 2px solid var(--bg-primary);
}

/* Pricing Card Header */
.pricing-header-card {
    text-align: center;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--border-color);
}

.pricing-header-card h3 {
    font-size: var(--font-size-2xl);
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.pricing-desc {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    margin-bottom: var(--space-lg);
}

/* Pricing Amount */
.pricing-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.pricing-price .currency {
    font-size: var(--font-size-2xl);
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
    align-self: flex-start;
    margin-top: 8px;
}

.pricing-price .amount {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-bold);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.pricing-price .period {
    font-size: var(--font-size-base);
    color: var(--text-muted);
    align-self: flex-end;
    margin-bottom: 8px;
    margin-left: 4px;
}

/* Pricing Features List */
.pricing-features {
    flex: 1;
    margin-bottom: var(--space-xl);
}

.pricing-features ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-size-base);
    color: var(--text-primary);
}

.pricing-features li.disabled {
    color: var(--text-muted);
}

.pricing-features .check {
    color: var(--primary-color);
    font-weight: var(--font-weight-bold);
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.pricing-features .x {
    color: var(--gray-600);
    font-weight: var(--font-weight-bold);
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

/* Pricing Card Button */
.pricing-card .btn {
    width: 100%;
    margin-top: auto;
}

/* ============================================
   COMPARISON TABLE SECTION
   ============================================ */

.compare-section {
    padding: var(--space-4xl) 0;
    background-color: var(--bg-secondary);
}

.compare-section .section-title {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.compare-table-wrapper {
    overflow-x: auto;
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--border-color);
    background-color: var(--bg-tertiary);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.compare-table th,
.compare-table td {
    padding: var(--space-md) var(--space-lg);
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.compare-table th {
    background-color: var(--bg-secondary);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    font-size: var(--font-size-base);
}

.compare-table th:first-child {
    width: 40%;
}

.compare-table td {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
}

.compare-table td:not(:first-child) {
    text-align: center;
}

.compare-table tbody tr:hover {
    background-color: rgba(124, 58, 237, 0.05);
}

.compare-table .check {
    color: var(--primary-color);
    font-size: var(--font-size-lg);
    font-weight: bold;
}

.compare-table .x {
    color: var(--gray-600);
    font-size: var(--font-size-lg);
}

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

.pricing-faq {
    padding: var(--space-4xl) 0;
    background-color: var(--bg-primary);
}

.pricing-faq .section-title {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

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

.faq-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    cursor: pointer;
    transition: all var(--transition-base);
}

.faq-card:hover {
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.1);
}

.faq-card h3 {
    font-size: var(--font-size-lg);
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.faq-card p {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all var(--transition-base);
    margin: 0;
}

.faq-card.active p,
.faq-card:hover p {
    max-height: 200px;
    opacity: 1;
    margin-top: var(--space-sm);
}

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

.pricing-cta {
    padding: var(--space-4xl) 0;
    background-color: var(--bg-secondary);
}

.pricing-cta .cta-box {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.3) 0%, rgba(91, 33, 182, 0.3) 100%);
    border: 1px solid rgba(124, 58, 237, 0.5);
    border-radius: var(--border-radius-xl);
    padding: var(--space-4xl);
    text-align: center;
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.2);
    backdrop-filter: blur(10px);
}

.pricing-cta .cta-box h2 {
    color: var(--white);
    font-size: var(--font-size-3xl);
    margin-bottom: var(--space-md);
}

.pricing-cta .cta-box > p {
    color: var(--gray-300);
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-xl);
}

/* ============================================
   RESPONSIVE BREAKPOINTS FOR PRICING
   ============================================ */

/* Tablet: 2 columns for cards, popular card full width on top */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        gap: var(--space-3xl);
    }
    
    .pricing-card.popular {
        transform: scale(1);
        order: -1;
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-8px);
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .compare-table th:first-child {
        width: 30%;
    }
}

/* Mobile: Stack everything */
@media (max-width: 640px) {
    .pricing-header h1 {
        font-size: var(--font-size-4xl);
    }
    
    .billing-toggle {
        flex-direction: column;
        gap: var(--space-sm);
        padding: var(--space-md);
    }
    
    .toggle-switch {
        order: -1;
    }
    
    .pricing-grid {
        gap: var(--space-2xl);
    }
    
    .pricing-card {
        padding: var(--space-xl);
    }
    
    .pricing-price .amount {
        font-size: var(--font-size-4xl);
    }
    
    .popular-badge {
        font-size: var(--font-size-xs);
        padding: var(--space-xs) var(--space-md);
    }
    
    .compare-table-wrapper {
        margin: 0 calc(-1 * var(--container-padding));
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .compare-table th,
    .compare-table td {
        padding: var(--space-sm) var(--space-md);
        font-size: var(--font-size-sm);
    }
    
    .faq-grid {
        gap: var(--space-md);
    }
    
    .faq-card {
        padding: var(--space-lg);
    }
}

/* Fix for very small screens */
@media (max-width: 400px) {
    .pricing-price .amount {
        font-size: var(--font-size-3xl);
    }
    
    .pricing-features li {
        font-size: var(--font-size-sm);
    }
}

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

/* ============================================
   FOOTER STYLES - Dark Theme
   Main footer, links, social, bottom bar
   ============================================ */

.footer {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    padding: var(--space-4xl) 0 0;
    border-top: 1px solid var(--border-color);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--secondary-color), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr 1.2fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
    position: relative;
    z-index: 1;
}

/* Footer Brand */
.footer-brand {
    max-width: 340px;
}

.footer-brand .logo {
    margin-bottom: var(--space-lg);
}

.footer-brand .logo-icon {
    filter: drop-shadow(0 0 10px rgba(124, 58, 237, 0.5));
}

.footer-brand .logo-text {
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
    border-left: 2px solid rgba(124, 58, 237, 0.5);
    padding-left: var(--space-md);
}

/* Social Links */
.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--bg-tertiary);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all var(--transition-base);
    border: 1px solid var(--border-color);
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.4);
    border-color: transparent;
}

/* Footer Links */
.footer-links h4 {
    color: var(--white);
    font-size: var(--font-size-base);
    margin-bottom: var(--space-lg);
    font-weight: var(--font-weight-semibold);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: var(--font-size-base);
    transition: all var(--transition-fast);
    display: inline-block;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width var(--transition-base);
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(4px);
}

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

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: var(--space-xl) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: var(--space-xl);
}

.footer-legal a {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    transition: color var(--transition-fast);
    position: relative;
}

.footer-legal a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width var(--transition-base);
}

.footer-legal a:hover {
    color: var(--white);
}

.footer-legal a:hover::after {
    width: 100%;
}

/* Simple Footer (for get-started page) */
.footer-simple {
    padding-top: var(--space-xl);
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.footer-simple .footer-bottom {
    border-top: none;
    padding: var(--space-lg) 0;
}

.footer-simple .footer-bottom p,
.footer-simple .footer-legal a {
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }
    
    .footer-brand {
        max-width: 100%;
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* ============================================
   RESPONSIVE STYLES - Dark Theme
   Media queries and mobile optimizations
   ============================================ */

/* Large devices (desktops, 1024px and up) */
@media (min-width: 1024px) {
    .container {
        padding: 0 var(--space-2xl);
    }
}

/* Medium devices (tablets, 768px to 1023px) */
@media (max-width: 1023px) {
    
    
    .container {
        padding: 0 var(--space-lg);
    }
    
    /* Navigation adjustments */
    .nav {
        height: 70px;
    }
    
    /* Typography adjustments */
    h1 { font-size: var(--font-size-4xl); }
    h2 { font-size: var(--font-size-3xl); }
    h3 { font-size: var(--font-size-2xl); }
    
    /* Reduce section padding */
    section {
        padding: var(--space-3xl) 0;
    }
    
    /* Stack grids */
    .hero .container,
    .about-grid,
    .contact-grid,
    .signup-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    /* Center align text on mobile */
    .hero-content,
    .section-header,
    .page-header {
        text-align: center;
    }
    
    /* Adjust hero stats */
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* Feature grids */
    .features-grid,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .testimonial-card.featured {
        transform: scale(1);
        order: -1;
    }
    
    /* Steps vertical layout */
    .steps {
        flex-direction: column;
        align-items: center;
        gap: var(--space-2xl);
    }
    
    .step-connector {
        width: 2px;
        height: 40px;
        margin: 0;
    }
    
    .step-connector::after {
        content: '';
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 8px solid var(--secondary-color);
        border-bottom: none;
        right: 50%;
        top: auto;
        bottom: -5px;
        transform: translateX(50%);
    }
    
    /* Pricing */
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .pricing-card.popular {
        transform: scale(1);
        order: -1;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Demo section */
    .demo-container {
        grid-template-columns: 1fr;
    }
    
    .demo-info {
        order: -1;
    }
}

/* Small devices (landscape phones, 640px to 767px) */
@media (max-width: 767px) {
    :root {
        --font-size-5xl: 2rem;
        --font-size-4xl: 1.75rem;
        --font-size-3xl: 1.5rem;
    }
    
    .container {
        padding: 0 var(--space-md);
    }
    
    /* Further reduce section padding */
    section {
        padding: var(--space-2xl) 0;
    }
    
    /* Single column layouts */
    .features-grid,
    .values-grid,
    .team-grid,
    .stats-grid,
    .links-grid,
    .faq-grid,
    .footer-grid,
    .docs-grid,
    .tutorials-grid {
        grid-template-columns: 1fr;
    }
    
    /* Hero adjustments */
    .hero {
        padding-top: calc(70px + var(--space-2xl));
    }
    
    .hero-title {
        font-size: var(--font-size-4xl);
    }
    
    .hero-description {
        font-size: var(--font-size-lg);
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
        align-items: center;
    }
    
    /* Phone mockup smaller */
    .phone-mockup {
        width: 220px;
        height: 440px;
    }
    
    .demo-screen {
        width: 240px;
        height: 430px;
    }
    
    /* Buttons full width on mobile */
    .btn-large {
        padding: var(--space-md) var(--space-xl);
        font-size: var(--font-size-base);
    }
    
    /* CTA section */
    .cta-box {
        padding: var(--space-2xl);
    }
    
    .cta-box h2 {
        font-size: var(--font-size-3xl);
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    /* Forms */
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .signup-form-wrapper,
    .contact-form-wrapper {
        padding: var(--space-xl);
    }
    
    /* Plan options */
    .form-actions {
        flex-direction: column;
    }
    
    /* Search box */
    .search-box {
        flex-direction: column;
    }
    
    .search-box input {
        width: 100%;
    }
    
    /* Tables */
    .compare-table-wrapper {
        margin: 0 calc(-1 * var(--space-md));
        border-radius: 0;
    }
    
    /* FAQ categories */
    .faq-categories {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: var(--space-sm);
        gap: var(--space-sm);
    }
    
    .faq-category-btn {
        flex-shrink: 0;
    }
    
    /* Contact methods */
    .contact-method {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin: 0 auto;
    }
    
    /* Footer */
    .footer {
        padding-top: var(--space-3xl);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
    }
    
    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Extra small devices (portrait phones, less than 640px) */
@media (max-width: 639px) {
    :root {
        --font-size-5xl: 1.75rem;
        --font-size-4xl: 1.5rem;
    }
    
    /* Navigation */
    .nav {
        height: 60px;
    }
    
    .logo-text {
        display: none;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
    }
    
    /* Mobile menu adjustments */
    .nav-menu {
        top: 60px;
    }
    
    /* Page header */
    .page-header {
        padding: calc(60px + var(--space-2xl)) 0 var(--space-2xl);
    }
    
    .page-header h1 {
        font-size: var(--font-size-3xl);
    }
    
    /* Section headers */
    .section-header {
        margin-bottom: var(--space-2xl);
    }
    
    /* Cards padding reduction */
    .feature-card,
    .testimonial-card,
    .pricing-card,
    .value-card,
    .team-member,
    .quick-link-card,
    .tutorial-card,
    .doc-category {
        padding: var(--space-xl);
    }
    
    /* Testimonials */
    .testimonial-text {
        font-size: var(--font-size-base);
    }
    
    /* FAQ */
    .faq-question {
        padding: var(--space-lg);
        font-size: var(--font-size-base);
    }
    
    /* Billing toggle */
    .billing-toggle {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .toggle-switch {
        order: -1;
    }
    
    /* Stats section */
    .stats-grid {
        gap: var(--space-xl);
    }
    
    .stat-item .stat-number {
        font-size: var(--font-size-3xl);
    }
    
    /* Benefits list */
    .benefit-item {
        text-align: left;
    }
    
    /* Trust badges */
    .trust-badges {
        text-align: center;
    }
    
    .badge-icons {
        justify-content: center;
    }
    
    /* Secure note */
    .secure-note {
        flex-direction: column;
        text-align: center;
    }
    
    /* Table cells */
    .compare-table th,
    .compare-table td {
        padding: var(--space-sm) var(--space-md);
        font-size: var(--font-size-sm);
    }
    
    /* Code block */
    .code-block {
        padding: var(--space-md);
    }
    
    .code-block pre {
        font-size: var(--font-size-xs);
    }
}

/* Very small devices (less than 400px) */
@media (max-width: 399px) {
    :root {
        --container-padding: 1rem;
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .phone-mockup {
        width: 180px;
        height: 360px;
    }
    
    .demo-screen {
        width: 200px;
        height: 360px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: var(--font-size-lg);
    }
    
    .pricing-price .amount {
        font-size: var(--font-size-4xl);
    }
}

/* Touch device optimizations */
@media (hover: none) {
    .btn:hover {
        transform: none;
    }
    
    .btn::before {
        display: none;
    }
    
    .feature-card:hover,
    .testimonial-card:hover,
    .pricing-card:hover,
    .value-card:hover,
    .team-member:hover,
    .quick-link-card:hover,
    .tutorial-card:hover {
        transform: none;
    }
    
    .feature-card::before,
    .value-card::before,
    .pricing-card::before {
        display: none;
    }
    
    .nav-link:hover::after {
        width: 0;
    }
    
    .nav-link.active::after {
        width: 100%;
    }
    
    .footer-links a:hover {
        transform: none;
    }
}

/* High DPI/Retina displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-icon,
    .feature-icon,
    .step-number,
    .member-avatar,
    .benefit-icon {
        -webkit-font-smoothing: antialiased;
    }
}

/* Dark mode preference (already dark, but ensure consistency) */
@media (prefers-color-scheme: dark) {
    /* Already dark theme, no changes needed */
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .hero-visual,
    .cta-section,
    .btn,
    .demo-section,
    .social-links {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        background: white;
        color: black;
    }
    
    .container {
        max-width: 100%;
    }
    
    section {
        padding: 20pt 0;
        page-break-inside: avoid;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: black;
    }
    
    p {
        color: #333;
    }
}

/* ── Footer policy links & modal ── */
.footer-policy-links {
    margin-top: 1.25rem;
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    align-items: center;
    gap: 0;
    font-size: 0.68rem;
    overflow: visible;
}
@media (max-width: 1200px) {
    .footer-policy-links {
        font-size: 0.62rem;
    }
    .fp-sep {
        margin: 0 0.25rem !important;
    }
}
@media (max-width: 480px) {
    .footer-policy-links {
        flex-wrap: wrap;
        white-space: normal;
    }
}
.fp-link {
    color: rgba(167,139,250,0.7);
    text-decoration: none;
    transition: color 0.2s;
    cursor: pointer;
}
.fp-link:hover { color: #a78bfa; }
.fp-sep {
    color: rgba(167,139,250,0.35);
    margin: 0 0.4rem;
}
.footer-bottom--centered {
    justify-content: center;
}
.fp-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(5,3,20,0.82);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    backdrop-filter: blur(4px);
}
.fp-modal.open { display: flex; }
.fp-modal-box {
    background: #0f0a28;
    border: 1px solid rgba(167,139,250,0.25);
    border-radius: 16px;
    width: 100%;
    max-width: 640px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 2.5rem 2.5rem 2rem;
    position: relative;
    box-shadow: 0 0 40px rgba(124,58,237,0.25);
}
.fp-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    color: rgba(167,139,250,0.7);
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}
.fp-modal-close:hover { color: #a78bfa; }
.fp-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(167,139,250,0.15);
}
.fp-modal-body {
    font-size: 0.88rem;
    line-height: 1.8;
    color: rgba(203,213,225,0.8);
}
.fp-modal-body h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #a78bfa;
    margin: 1.25rem 0 0.4rem;
}
.fp-modal-body p { margin: 0 0 0.75rem; }
.fp-modal-body ul { padding-left: 1.25rem; margin: 0 0 0.75rem; }
.fp-modal-body ul li { margin-bottom: 0.3rem; }

/* ── Footer Contact column (LinguaFX style) ── */
.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.footer-contact-item svg {
    color: rgba(167, 139, 250, 0.7);
    flex-shrink: 0;
}
.footer-contact-item span {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}
.footer-contact-item a {
    font-size: var(--font-size-sm);
}

/* LinguaFX-style refined link hover: subtle glow + slide */
.footer-links a:hover {
    color: #a78bfa;
    text-shadow: 0 0 8px rgba(167, 139, 250, 0.4);
}

/* Section eyebrow label above footer columns (LinguaFX touch) */
.footer-links h4 {
    position: relative;
    padding-bottom: 0.6rem;
}
.footer-links h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Footer bottom: subtle top glow line like LinguaFX divider */
.footer-bottom {
    position: relative;
}
.footer-bottom::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(167,139,250,0.6), transparent);
}

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