/* MicHelper Landing - Unified Design System v5.2.63 */
/* Matches /app design tokens for consistent branding */

:root {
    /* === BACKGROUNDS === */
    --bg-0: #000;
    --bg-1: #050508;
    --bg-2: #0a0a0f;
    --surface: rgba(16, 16, 22, 0.95);
    --surface-2: rgba(24, 24, 32, 0.95);
    --panel: var(--surface);
    --panel-2: var(--surface-2);
    
    /* === TEXT === */
    --ink: #f8f8fc;
    --muted: rgba(248, 248, 252, 0.65);
    --muted-2: rgba(248, 248, 252, 0.45);
    
    /* === BORDERS === */
    --stroke: rgba(255, 255, 255, 0.08);
    --stroke-2: rgba(255, 255, 255, 0.15);
    --stroke-glow: rgba(59, 125, 255, 0.25);
    
    /* === ACCENT (PRIMARY = BLUE) — Brand color === */
    --accent: #3b7dff;
    --accent-2: #5a94ff;
    --accent-glow: rgba(59, 125, 255, 0.35);
    --accent-muted: rgba(59, 125, 255, 0.15);
    
    /* === STATUS COLORS (green = success only, NOT brand) === */
    --success: #22c55e;
    --warning: #fbbf24;
    --danger: #ef4444;
    --good: var(--success);
    --mid: var(--warning);
    --bad: var(--danger);
    
    /* === LEGACY COMPAT (maps to new tokens) === */
    --color-bg: var(--bg-2);
    --color-bg-alt: var(--bg-1);
    --color-bg-elevated: var(--panel);
    --color-text: var(--ink);
    --color-text-secondary: var(--muted);
    --color-text-muted: var(--muted-2);
    --color-border: var(--stroke-2);
    --color-border-light: var(--stroke);
    --color-primary: var(--accent);
    --color-primary-hover: var(--accent-2);
    --color-primary-muted: var(--accent-muted);
    --color-card-bg: var(--panel);
    --color-card-shadow: rgba(0, 0, 0, 0.4);
    --color-input-bg: rgba(20, 20, 30, 0.8);
    --color-highlight: var(--accent-muted);
    --color-success: var(--good);
    --color-warning: var(--mid);
    --color-error: var(--bad);
    
    /* === RADII (unified with app) === */
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-card: 20px;
    --radius-pill: 9999px;
    --radius-control: 12px;
    
    /* === SPACING SCALE (unified with app) === */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-7: 32px;
    --space-8: 40px;
    /* Legacy aliases */
    --space-xs: var(--space-1);
    --space-sm: var(--space-2);
    --space-md: var(--space-4);
    --space-lg: var(--space-6);
    --space-xl: var(--space-7);
    --space-2xl: 48px;
    --space-3xl: 64px;
    
    /* === SHADOWS (unified with app) === */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
    --shadow-card: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.03);
    --shadow-float: var(--shadow-xl);
    --shadow-glow: 0 0 24px var(--accent-glow);
    
    /* === TYPOGRAPHY === */
    --font-family: system-ui, -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: 2rem;
    
    /* === ANIMATION === */
    --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --t-fast: 150ms;
    --t: 200ms;
    --t-slow: 300ms;
    
    /* === CONTROL SIZES (unified with app) === */
    --control-h: 44px;
    --control-h-sm: 36px;
    --control-h-lg: 52px;
    
    /* === LAYOUT === */
    --container-max: 1200px;
    --navbar-height: 56px;
}

/* === LIGHT THEME (unified with app) === */
body.theme-light {
    --bg-0: #ffffff;
    --bg-1: #f8f9fa;
    --bg-2: #f0f2f5;
    --surface: rgba(255, 255, 255, 0.95);
    --surface-2: rgba(248, 248, 252, 0.95);
    --panel: var(--surface);
    --panel-2: var(--surface-2);
    
    --ink: #1a1a2e;
    --muted: rgba(26, 26, 46, 0.65);
    --muted-2: rgba(26, 26, 46, 0.45);
    
    --stroke: rgba(0, 0, 0, 0.08);
    --stroke-2: rgba(0, 0, 0, 0.12);
    --stroke-glow: rgba(59, 125, 255, 0.2);
    
    --accent-glow: rgba(59, 125, 255, 0.2);
    --accent-muted: rgba(59, 125, 255, 0.1);
    
    --color-input-bg: rgba(0, 0, 0, 0.04);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12);
    --shadow-card: var(--shadow-lg), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

/* v5.2.62: Light theme section transitions are subtler */
body.theme-light .section::before,
body.theme-light .section::after {
    opacity: 0.3;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; min-width: 0; }
html { 
    scroll-behavior: smooth; 
    scroll-padding-top: var(--navbar-height);
    overflow-x: clip;
    max-width: 100%;
}
body { 
    font-family: var(--font-family); 
    font-size: var(--font-size-base); 
    line-height: 1.6; 
    color: var(--ink); 
    background: var(--color-bg); 
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    max-width: 100%;
}
section { scroll-margin-top: 80px; overflow-x: clip; }
main, .container, .section, .pricing, .pricing-simple, .pricing-main-card {
    overflow-x: clip;
    max-width: 100%;
}
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-hover); }
img { max-width: 100%; height: auto; }
/* v5.2.92: Container has z-index to be above section gradients */
.container { 
    max-width: var(--container-max); 
    margin: 0 auto; 
    padding: 0 var(--space-lg); 
    position: relative;
    z-index: 1;
}

/* Navbar - Floating Pill Top-Bar (unified with app) */
.navbar { 
    position: sticky; 
    top: 12px; 
    left: 0;
    right: 0;
    width: calc(100% - 24px);
    max-width: var(--container-max);
    height: var(--navbar-height);
    margin: 12px auto 0;
    padding: 0 var(--space-lg);
    /* v5.2.63: More solid background to prevent content showing through */
    background: rgba(8, 8, 12, 0.96); 
    backdrop-filter: blur(20px); 
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--stroke-2); 
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-float);
    z-index: 1000;
    transition: background var(--t), box-shadow var(--t);
    overflow: visible; /* v5.2.62: Ensure content doesn't clip */
}
.navbar.scrolled {
    background: rgba(8, 8, 12, 0.99);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}
body.theme-light .navbar { 
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}
body.theme-light .navbar.scrolled {
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}
.nav-container { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    height: 100%; 
    width: 100%;
    padding: 0;
    gap: var(--space-md); 
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    flex-shrink: 0;
}
.nav-logo:hover { color: var(--ink); }
.nav-logo img { height: 28px; }
.nav-logo .logo-light { display: none; }
body.theme-light .nav-logo .logo-dark { display: none; }
body.theme-light .nav-logo .logo-light { display: block; }

/* v5.2.62: Mobile horizontal scroll pills (no hamburger) */
.nav-pills-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 0;
    margin: 0 8px;
    flex: 1;
    min-width: 0;
}
.nav-pills-scroll::-webkit-scrollbar { display: none; }
.nav-pill {
    flex-shrink: 0;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    background: var(--stroke);
    border-radius: 20px;
    white-space: nowrap;
    transition: all 0.2s ease;
    text-decoration: none;
}
.nav-pill:hover, .nav-pill.active {
    color: var(--ink);
    background: rgba(59, 130, 246, 0.15);
}
.nav-pill-primary {
    background: var(--accent);
    color: #fff !important;
}
.nav-pill-primary:hover {
    background: var(--accent-hover);
}
body.theme-light .nav-pill {
    background: rgba(0, 0, 0, 0.05);
}
body.theme-light .nav-pill:hover, body.theme-light .nav-pill.active {
    background: rgba(59, 130, 246, 0.12);
}

/* Desktop: hide pills, show full menu */
.nav-menu-desktop { display: none; }

/* Mobile Menu - hidden on mobile (pills visible instead) */
.nav-menu { 
    display: none; 
}
.nav-link { 
    display: flex; 
    align-items: center; 
    padding: var(--space-sm) var(--space-md); 
    color: var(--muted); 
    font-size: var(--font-size-sm); 
    font-weight: 500; 
    min-height: 44px; 
    white-space: nowrap; 
    transition: color var(--t), background var(--t);
    border-radius: var(--radius-sm);
}
.nav-link:hover { 
    color: var(--ink);
    background: var(--stroke);
}
.nav-cta-mobile { margin-top: var(--space-md); width: 100%; justify-content: center; }

/* Nav Actions */
.nav-actions { display: flex; align-items: center; gap: var(--space-sm); flex-shrink: 0; }

/* Toggles (lang + theme): use shared /shared/topbar.css only — no overrides here */

/* Legacy lang-toggle (hidden, use lang-switch) */
.lang-toggle { display: none; }

/* Buttons - App Design System */
.btn { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    min-height: var(--control-h);
    padding: 12px 24px; 
    font-family: inherit; 
    font-size: var(--font-size-sm); 
    font-weight: 600; 
    border: 1px solid transparent; 
    border-radius: var(--radius-pill); 
    cursor: pointer; 
    transition: all var(--t) var(--ease); 
    text-decoration: none; 
    gap: var(--space-sm);
    -webkit-tap-highlight-color: transparent;
}
.btn-sm { padding: 8px 16px; font-size: var(--font-size-xs); min-height: 36px; }
.btn-lg { padding: 14px 32px; font-size: var(--font-size-base); min-height: 52px; }
.btn-full { width: 100%; }

/* Primary Button - BLUE accent */
.btn-primary { 
    background: linear-gradient(135deg, var(--accent) 0%, #2962ff 100%);
    color: #fff; 
    border-color: transparent;
    box-shadow: 0 4px 15px var(--accent-glow);
}
.btn-primary:hover { 
    background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

/* Secondary Button - Panel style */
.btn-secondary { 
    background: var(--panel); 
    color: var(--ink); 
    border-color: var(--stroke-2);
}
.btn-secondary:hover { 
    background: var(--stroke);
    border-color: var(--stroke-2);
}

/* Outline Button */
.btn-outline { 
    background: transparent; 
    color: var(--accent); 
    border: 2px solid var(--accent);
}
.btn-outline:hover { 
    background: var(--accent-muted);
}

/* Light theme button adjustments */
body.theme-light .btn-secondary {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
}
body.theme-light .btn-secondary:hover {
    background: rgba(0, 0, 0, 0.08);
}

/* Sections - v5.2.62: Smooth transitions */
.section { 
    padding: var(--space-3xl) 0; 
    position: relative;
}
.section-alt { 
    background: var(--bg-1); 
}
/* v5.2.92: Smooth gradient transitions - z-index fixed to stay BEHIND content */
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, var(--bg-2) 0%, transparent 100%);
    pointer-events: none;
    opacity: 0.3;
    z-index: 0;
}
.section-alt::before {
    background: linear-gradient(to bottom, var(--bg-2) 0%, var(--bg-1) 100%);
}
.section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, var(--bg-2) 0%, transparent 100%);
    pointer-events: none;
    opacity: 0.3;
    z-index: 0;
}
.section-alt::after {
    background: linear-gradient(to top, var(--bg-2) 0%, var(--bg-1) 100%);
}
.section-title { 
    font-size: var(--font-size-3xl); 
    font-weight: 700; 
    text-align: center; 
    margin-bottom: var(--space-md); 
    letter-spacing: -0.02em;
    color: var(--ink);
    position: relative;
    z-index: 1;
}
.section-subtitle { 
    font-size: var(--font-size-lg); 
    color: var(--muted); 
    text-align: center; 
    max-width: 600px; 
    margin: 0 auto var(--space-2xl); 
    position: relative;
    z-index: 1;
}
.section-cta { display: flex; gap: var(--space-md); justify-content: center; margin-top: var(--space-2xl); flex-wrap: wrap; position: relative; z-index: 1; }

/* Hero - App Style */
.hero { 
    padding-top: var(--space-3xl); 
    padding-bottom: var(--space-3xl); 
    min-height: calc(100vh - var(--navbar-height) - 24px); 
    display: flex; 
    align-items: center; 
    background: var(--bg-2);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.3;
    pointer-events: none;
}
.hero::after {
    display: none; /* Hero doesn't need bottom gradient */
}
.hero-content { 
    text-align: center; 
    max-width: 900px; 
    margin: 0 auto var(--space-2xl);
    position: relative;
    z-index: 1;
}

/* v5.2.62: AI Badge - Changed to BLUE accent (not green) */
.hero-tagline { 
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg); 
    background: var(--accent-muted); 
    color: var(--accent); 
    font-size: var(--font-size-sm); 
    font-weight: 600; 
    border-radius: var(--radius-pill); 
    margin-bottom: var(--space-lg);
    border: 1px solid rgba(59, 125, 255, 0.25);
}
.hero-title { 
    font-size: clamp(2rem, 5vw, 3.5rem); 
    font-weight: 700; 
    line-height: 1.15; 
    margin-bottom: var(--space-lg); 
    letter-spacing: -0.02em;
    color: var(--ink);
}
.hero-subtitle { 
    font-size: var(--font-size-lg); 
    color: var(--muted); 
    margin-bottom: var(--space-xl); 
    max-width: 700px; 
    margin-left: auto; 
    margin-right: auto; 
}
.hero-bullets { 
    display: flex; 
    flex-wrap: wrap; 
    gap: var(--space-md); 
    justify-content: center; 
    margin-bottom: var(--space-xl); 
}
.hero-bullet { 
    display: flex; 
    align-items: center; 
    gap: var(--space-sm); 
    padding: var(--space-sm) var(--space-md); 
    background: var(--panel); 
    border: 1px solid var(--stroke); 
    border-radius: var(--radius-md); 
    font-size: var(--font-size-sm);
    color: var(--muted);
    box-shadow: var(--shadow-card);
}
.bullet-icon { font-size: var(--font-size-lg); }
.hero-cta { display: flex; gap: var(--space-md); justify-content: center; flex-wrap: wrap; margin-bottom: var(--space-md); }
.hero-note { font-size: var(--font-size-sm); color: var(--muted-2); }
.hero-badges { display: flex; flex-wrap: wrap; gap: var(--space-sm); justify-content: center; margin-top: var(--space-xl); }
.badge { 
    padding: var(--space-xs) var(--space-md); 
    background: var(--panel); 
    border: 1px solid var(--stroke); 
    border-radius: var(--radius-sm); 
    font-size: var(--font-size-xs); 
    font-weight: 500; 
    color: var(--muted); 
}

/* Problem/Solution Cards */
/* v5.2.92: Problem/Solution cards - improved contrast and z-index */
.problem-solution-grid { 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: var(--space-lg); 
    max-width: 900px; 
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.problem-card, .solution-card { 
    padding: var(--space-xl); 
    border-radius: var(--radius-card); 
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow-card);
    position: relative;
    z-index: 1;
}
.problem-card { 
    background: rgba(239, 68, 68, 0.08); 
    border-color: rgba(239, 68, 68, 0.25); 
}
/* v5.2.92: Solution card - brighter for better contrast */
.solution-card { 
    background-color: #0f1419;
    background-image: linear-gradient(135deg, rgba(59, 125, 255, 0.18) 0%, rgba(59, 125, 255, 0.10) 100%);
    border-color: rgba(59, 125, 255, 0.35);
}
.card-header { display: flex; align-items: center; gap: var(--space-md); margin-bottom: var(--space-lg); }
.card-icon { font-size: var(--font-size-2xl); }
.card-header h3 { font-size: var(--font-size-xl); font-weight: 600; color: var(--ink); }
/* v5.2.92: Improved list item opacity for readability */
.problem-list, .solution-list { list-style: none; display: flex; flex-direction: column; gap: var(--space-sm); }
.problem-list li, .solution-list li { font-size: var(--font-size-sm); padding: var(--space-sm) 0; color: var(--ink); opacity: 1; }

/* v5.2.62: Light theme for problem/solution cards */
body.theme-light .problem-card { 
    background: rgba(239, 68, 68, 0.08); 
    border-color: rgba(239, 68, 68, 0.25); 
}
body.theme-light .solution-card { 
    background: rgba(59, 125, 255, 0.08); 
    border-color: rgba(59, 125, 255, 0.25);
}
body.theme-light .problem-list li, 
body.theme-light .solution-list li { 
    color: #1a1a2e; 
    opacity: 1;
}

/* Platform Cards */
.platform-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--space-lg); }
.platform-card { 
    padding: var(--space-lg); 
    background: var(--panel); 
    border: 1px solid var(--stroke); 
    border-radius: var(--radius-lg); 
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: transform var(--t), border-color var(--t);
}
.platform-card:hover {
    transform: translateY(-4px);
    border-color: var(--stroke-2);
}
.platform-icon { font-size: var(--font-size-2xl); margin-bottom: var(--space-sm); display: block; }
.platform-card h4 { font-size: var(--font-size-base); font-weight: 600; margin-bottom: var(--space-xs); color: var(--ink); }
.platform-card p { font-size: var(--font-size-sm); color: var(--muted); }

/* Roles */
.roles-section { max-width: 900px; margin: 0 auto; }
.roles-tabs { 
    display: flex; 
    flex-wrap: wrap; 
    gap: var(--space-sm); 
    justify-content: center; 
    margin-bottom: var(--space-xl); 
    padding: var(--space-xs); 
    background: var(--panel); 
    border-radius: var(--radius-pill);
    border: 1px solid var(--stroke);
}
.role-tab { 
    padding: var(--space-sm) var(--space-lg); 
    background: transparent; 
    border: none; 
    border-radius: var(--radius-pill); 
    cursor: pointer; 
    font-family: inherit; 
    font-size: var(--font-size-sm); 
    font-weight: 500; 
    color: var(--muted); 
    transition: all var(--t); 
}
.role-tab:hover { color: var(--ink); }
.role-tab.active { 
    background: linear-gradient(135deg, var(--accent) 0%, #2962ff 100%);
    color: #fff;
    box-shadow: 0 4px 12px var(--accent-glow);
}
.role-content { 
    display: none; 
    padding: var(--space-xl); 
    background: var(--panel); 
    border: 1px solid var(--stroke); 
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
}
.role-content.active { display: block; }
.role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
.role-column h4 { font-size: var(--font-size-base); font-weight: 600; margin-bottom: var(--space-md); }
.role-column ul { list-style: none; display: flex; flex-direction: column; gap: var(--space-sm); }
.role-column li { font-size: var(--font-size-sm); color: var(--muted); padding-left: var(--space-lg); position: relative; }
.role-column li::before { content: "•"; position: absolute; left: 0; color: var(--color-primary); }

/* Modules */
.modules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-lg); }
.module-card { padding: var(--space-xl); background: var(--panel); border: 1px solid var(--stroke); border-radius: var(--radius-lg); transition: transform var(--transition-fast); }
.module-card:hover { transform: translateY(-4px); }
.module-icon { font-size: var(--font-size-2xl); margin-bottom: var(--space-md); }
.module-card h4 { font-size: var(--font-size-lg); font-weight: 600; margin-bottom: var(--space-xs); }
.module-card > p { font-size: var(--font-size-sm); color: var(--muted); margin-bottom: var(--space-md); }
.module-features { list-style: none; display: flex; flex-direction: column; gap: var(--space-xs); }
.module-features li { font-size: var(--font-size-xs); color: var(--muted-2); padding-left: var(--space-md); position: relative; }
.module-features li::before { content: "→"; position: absolute; left: 0; color: var(--color-primary); }

/* Stepper */
.stepper { display: grid; grid-template-columns: 1fr; gap: var(--space-xl); max-width: 700px; margin: 0 auto; }
.step { display: flex; gap: var(--space-lg); align-items: flex-start; }
.step-number { flex-shrink: 0; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--color-primary); color: #000; font-size: var(--font-size-lg); font-weight: 700; border-radius: 50%; }
.step-content { flex: 1; padding-top: var(--space-xs); }
.step-content h4 { font-size: var(--font-size-lg); font-weight: 600; margin-bottom: var(--space-xs); }
.step-content p { font-size: var(--font-size-sm); color: var(--muted); }

/* Demo */
.demo-tabs { display: flex; gap: var(--space-sm); justify-content: center; margin-bottom: var(--space-xl); flex-wrap: wrap; }
.demo-tab { padding: var(--space-sm) var(--space-lg); background: var(--color-input-bg); border: 1px solid var(--stroke); border-radius: var(--radius-md); cursor: pointer; font-family: inherit; font-size: var(--font-size-sm); font-weight: 500; color: var(--muted); }
.demo-tab:hover { color: var(--ink); }
.demo-tab.active { background: var(--color-primary); border-color: var(--color-primary); color: #000; }
.demo-content { max-width: 800px; margin: 0 auto; }
.demo-panel { display: none; }
.demo-panel.active { display: block; }
.demo-window { background: var(--panel); border: 1px solid var(--stroke); border-radius: var(--radius-lg); overflow: hidden; }
.demo-window-header { display: flex; align-items: center; gap: var(--space-md); padding: var(--space-md) var(--space-lg); background: var(--color-bg-elevated); border-bottom: 1px solid var(--stroke); }
.demo-dots { display: flex; gap: 6px; }
.demo-dots span { width: 12px; height: 12px; border-radius: 50%; }
.demo-dots span:nth-child(1) { background: #ff5f57; }
.demo-dots span:nth-child(2) { background: #febc2e; }
.demo-dots span:nth-child(3) { background: #28c840; }
.demo-window-title { font-size: var(--font-size-sm); color: var(--muted); }
.demo-window-body { padding: var(--space-lg); }
.transcript-line { display: grid; grid-template-columns: 50px 90px 1fr auto; gap: var(--space-md); padding: var(--space-sm) 0; border-bottom: 1px solid var(--stroke); font-size: var(--font-size-sm); align-items: center; }
.transcript-line:last-child { border-bottom: none; }
.transcript-time { color: var(--muted-2); font-family: monospace; }
.transcript-speaker { font-weight: 600; }
.transcript-speaker.seller { color: var(--color-primary); }
.transcript-speaker.client { color: var(--color-warning); }
.transcript-text { color: var(--muted); }
.transcript-check { font-size: var(--font-size-base); }
.score-summary { text-align: center; margin-bottom: var(--space-xl); }
.score-circle { width: 100px; height: 100px; margin: 0 auto var(--space-md); border-radius: 50%; background: var(--color-primary-muted); border: 4px solid var(--color-primary); display: flex; align-items: center; justify-content: center; }
.score-value { font-size: var(--font-size-2xl); font-weight: 700; color: var(--color-primary); }
.score-label { font-size: var(--font-size-sm); color: var(--muted); }
.score-checklist { display: flex; flex-direction: column; gap: var(--space-sm); }
.score-item { display: flex; align-items: center; gap: var(--space-md); padding: var(--space-sm) var(--space-md); background: var(--color-bg-elevated); border-radius: var(--radius-sm); font-size: var(--font-size-sm); }
.score-icon { font-size: var(--font-size-base); }
.score-item span:nth-child(2) { flex: 1; color: var(--muted); }
.score-badge { padding: var(--space-xs) var(--space-sm); background: var(--color-success); color: #000; border-radius: var(--radius-sm); font-size: var(--font-size-xs); font-weight: 600; }
.score-badge.warn { background: var(--color-warning); }
.score-badge.err { background: var(--color-error); color: #fff; }
.report-table { margin-bottom: var(--space-md); }
.report-row { display: grid; grid-template-columns: 40px 1fr 1fr 60px 60px; gap: var(--space-md); padding: var(--space-md); border-bottom: 1px solid var(--stroke); font-size: var(--font-size-sm); align-items: center; }
.report-row.header { background: var(--color-bg-elevated); font-weight: 600; color: var(--muted-2); font-size: var(--font-size-xs); text-transform: uppercase; }
.report-row.gold { background: rgba(255,215,0,0.1); }
.report-row.silver { background: rgba(192,192,192,0.1); }
.report-row.bronze { background: rgba(205,127,50,0.1); }
.report-score { color: var(--color-success); font-weight: 600; }
.report-actions { display: flex; gap: var(--space-sm); justify-content: flex-end; }
.feedback-message { background: var(--color-bg-elevated); border-radius: var(--radius-md); padding: var(--space-lg); }
.feedback-header { display: flex; justify-content: space-between; margin-bottom: var(--space-md); font-size: var(--font-size-sm); color: var(--muted-2); }
.feedback-body p { font-size: var(--font-size-sm); color: var(--muted); margin-bottom: var(--space-sm); }
.feedback-body p:last-child { margin-bottom: 0; }
.points-rules { display: flex; flex-direction: column; gap: var(--space-sm); }
.points-rule { display: flex; align-items: center; gap: var(--space-md); padding: var(--space-md); background: var(--color-bg-elevated); border-radius: var(--radius-sm); }
.rule-icon { font-size: var(--font-size-lg); }
.rule-name { flex: 1; font-size: var(--font-size-sm); color: var(--muted); }
.rule-value { font-size: var(--font-size-sm); font-weight: 600; }
.points-rule.success .rule-value { color: var(--color-success); }
.points-rule.error .rule-value { color: var(--color-error); }
.points-rule.warning .rule-value { color: var(--color-warning); }

/* KPI */
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--space-lg); }
.kpi-card { padding: var(--space-lg); background: var(--panel); border: 1px solid var(--stroke); border-radius: var(--radius-md); text-align: center; }
.kpi-icon { font-size: var(--font-size-2xl); margin-bottom: var(--space-sm); display: block; }
.kpi-card h4 { font-size: var(--font-size-base); font-weight: 600; margin-bottom: var(--space-xs); }
.kpi-card p { font-size: var(--font-size-sm); color: var(--muted); }

/* Use Cases */
.usecases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-lg); }
.usecase-card { padding: var(--space-xl); background: var(--panel); border: 1px solid var(--stroke); border-radius: var(--radius-lg); }
.usecase-icon { font-size: var(--font-size-2xl); margin-bottom: var(--space-md); display: block; }
.usecase-card h4 { font-size: var(--font-size-lg); font-weight: 600; margin-bottom: var(--space-md); }
.usecase-card ul { list-style: none; }
.usecase-card li { font-size: var(--font-size-sm); color: var(--muted); padding: var(--space-xs) 0; padding-left: var(--space-md); position: relative; }
.usecase-card li::before { content: "→"; position: absolute; left: 0; color: var(--color-primary); }

/* Requirements */
.req-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-lg); }
.req-card { padding: var(--space-xl); background: var(--panel); border: 1px solid var(--stroke); border-radius: var(--radius-lg); }
.req-icon { font-size: var(--font-size-2xl); margin-bottom: var(--space-md); display: block; }
.req-card h4 { font-size: var(--font-size-lg); font-weight: 600; margin-bottom: var(--space-sm); }
.req-card p { font-size: var(--font-size-sm); color: var(--muted); }

/* Onboarding */
.onboarding-timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-lg); }
.onboarding-step { padding: var(--space-xl); background: var(--panel); border: 1px solid var(--stroke); border-radius: var(--radius-lg); position: relative; }
.onboarding-day { position: absolute; top: calc(-1 * var(--space-sm)); left: var(--space-lg); padding: var(--space-xs) var(--space-md); background: var(--color-primary); color: #000; font-size: var(--font-size-xs); font-weight: 700; border-radius: var(--radius-sm); }
.onboarding-step h4 { font-size: var(--font-size-base); font-weight: 600; margin-bottom: var(--space-md); margin-top: var(--space-sm); }
.onboarding-step ul { list-style: none; }
.onboarding-step li { font-size: var(--font-size-sm); color: var(--muted); padding: var(--space-xs) 0; padding-left: var(--space-md); position: relative; }
.onboarding-step li::before { content: "→"; position: absolute; left: 0; color: var(--color-primary); }

/* Calculator */
.calculator { 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: var(--space-xl); 
    background: var(--panel); 
    border: 1px solid var(--stroke); 
    border-radius: var(--radius-lg); 
    padding: var(--space-xl);
    overflow: hidden;
    position: relative;
    isolation: isolate;
}
.calc-inputs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-md); }
.calc-group { display: flex; flex-direction: column; gap: var(--space-xs); }
.calc-group label { font-size: var(--font-size-sm); font-weight: 500; color: var(--muted); }
.calc-group input { padding: var(--space-sm) var(--space-md); font-family: inherit; font-size: var(--font-size-base); background: var(--color-input-bg); border: 2px solid transparent; border-radius: var(--radius-sm); color: var(--ink); }
.calc-group input:focus { outline: none; border-color: var(--color-primary); }
.calc-results { padding-top: var(--space-lg); border-top: 1px solid var(--stroke); }
.calc-results-title { font-size: var(--font-size-lg); font-weight: 600; margin-bottom: var(--space-lg); text-align: center; }
.result-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: var(--space-md); margin-bottom: var(--space-lg); }
.result-card { display: flex; flex-direction: column; align-items: center; padding: var(--space-lg); background: var(--color-input-bg); border-radius: var(--radius-md); text-align: center; }
.result-card.highlight { background: var(--color-highlight); border: 2px solid var(--color-primary); }
.result-value { font-size: var(--font-size-2xl); font-weight: 700; margin-bottom: var(--space-xs); }
.result-card.highlight .result-value { color: var(--color-primary); }
.result-label { font-size: var(--font-size-xs); color: var(--muted); }
.result-extras { display: flex; flex-wrap: wrap; gap: var(--space-lg); justify-content: center; padding: var(--space-md) 0; border-top: 1px solid var(--stroke); margin-bottom: var(--space-md); }
.result-extra { display: flex; gap: var(--space-sm); font-size: var(--font-size-sm); }
.extra-label { color: var(--muted); }
.extra-value { font-weight: 600; }
.calc-actions { display: flex; justify-content: center; }

/* Security */
.security-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--space-lg); }
.security-card { padding: var(--space-xl); background: var(--panel); border: 1px solid var(--stroke); border-radius: var(--radius-md); text-align: center; }
.security-icon { font-size: var(--font-size-2xl); margin-bottom: var(--space-md); display: block; }
.security-card h4 { font-size: var(--font-size-base); font-weight: 600; margin-bottom: var(--space-sm); }
.security-card p { font-size: var(--font-size-sm); color: var(--muted); }

/* Integrations */
.integrations-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--space-md); max-width: 800px; margin: 0 auto; }
.integration-card { display: flex; flex-direction: column; align-items: center; padding: var(--space-lg); background: var(--panel); border: 1px solid var(--stroke); border-radius: var(--radius-md); text-align: center; gap: var(--space-sm); }
.integration-card.available { border-color: var(--color-primary); }
.integration-card.soon { opacity: 0.7; }
.integration-icon { font-size: var(--font-size-2xl); }
.integration-name { font-size: var(--font-size-sm); font-weight: 600; }
.integration-status { font-size: var(--font-size-xs); color: var(--muted-2); }
.integration-card.available .integration-status { color: var(--color-success); }

/* Pricing */
.pricing-hero { max-width: 400px; margin: 0 auto var(--space-2xl); }
.pricing-main-card { 
    position: relative; 
    padding: var(--space-2xl); 
    background: var(--panel); 
    border: 2px solid var(--accent); 
    border-radius: var(--radius-xl); 
    text-align: center;
    overflow: hidden;
    contain: paint;
    isolation: isolate;
    width: min(520px, 100%);
    max-width: 100%;
    margin-inline: auto;
}
.trial-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: var(--space-xs) var(--space-lg); background: var(--color-primary); color: #000; font-size: var(--font-size-sm); font-weight: 700; border-radius: var(--radius-xl); white-space: nowrap; }
.pricing-amount { display: flex; align-items: baseline; justify-content: center; gap: var(--space-xs); margin-bottom: var(--space-md); }
.pricing-amount .currency { font-size: var(--font-size-2xl); font-weight: 600; color: var(--color-primary); }
.pricing-amount .price { font-size: 4rem; font-weight: 700; line-height: 1; }
.pricing-amount .period { font-size: var(--font-size-base); color: var(--muted); }
.pricing-note { font-size: var(--font-size-sm); color: var(--muted); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-lg); margin-bottom: var(--space-2xl); }
.pricing-card { position: relative; padding: var(--space-xl); background: var(--panel); border: 1px solid var(--stroke); border-radius: var(--radius-lg); }
.pricing-card.featured { border: 2px solid var(--color-primary); }
.featured-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: var(--space-xs) var(--space-md); background: var(--color-primary); color: #000; font-size: var(--font-size-xs); font-weight: 600; border-radius: var(--radius-xl); }
.pricing-header { text-align: center; padding-bottom: var(--space-lg); margin-bottom: var(--space-lg); border-bottom: 1px solid var(--stroke); }
.pricing-header h3 { font-size: var(--font-size-xl); font-weight: 700; margin-bottom: var(--space-xs); }
.pricing-desc { font-size: var(--font-size-sm); color: var(--muted); }
.pricing-features { list-style: none; margin-bottom: var(--space-lg); }
.pricing-features li { position: relative; padding: var(--space-sm) 0 var(--space-sm) var(--space-lg); font-size: var(--font-size-sm); color: var(--muted); }
.pricing-features li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 600; }
.pricing-after { font-size: var(--font-size-xs); color: var(--muted-2); text-align: center; margin-top: var(--space-md); }
.pricing-table-wrapper { margin-bottom: var(--space-2xl); overflow-x: auto; }
.pricing-table-title { font-size: var(--font-size-lg); font-weight: 600; text-align: center; margin-bottom: var(--space-lg); }
.pricing-table { min-width: 600px; background: var(--panel); border: 1px solid var(--stroke); border-radius: var(--radius-md); overflow: hidden; }
.pt-row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; font-size: var(--font-size-sm); }
.pt-row.pt-header { background: var(--color-bg-elevated); font-weight: 600; }
.pt-row span { padding: var(--space-md); border-bottom: 1px solid var(--stroke); }
.pt-row:last-child span { border-bottom: none; }
.pt-row span:first-child { color: var(--muted); }
.pt-row span:not(:first-child) { text-align: center; }
.trial-info { max-width: 700px; margin: 0 auto; padding: var(--space-xl); background: var(--color-bg-elevated); border: 1px solid var(--stroke); border-radius: var(--radius-md); text-align: center; }
.trial-info h4 { font-size: var(--font-size-base); margin-bottom: var(--space-sm); }
.trial-info p { font-size: var(--font-size-sm); color: var(--muted); }

/* v5.2.99: Trial includes list */
.trial-includes {
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 12px;
    padding: 16px 20px;
    margin: 8px 0;
}
.trial-includes h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--ink);
}
.trial-includes ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 16px;
}
.trial-includes li {
    font-size: 0.8rem;
    color: var(--muted);
}

/* v5.2.63: Pricing Cards Grid */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 900px) {
    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

.pricing-card {
    position: relative;
    padding: var(--space-xl);
    background: var(--panel);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-card);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    transition: transform var(--t), border-color var(--t), box-shadow var(--t);
    overflow: hidden;
}
.pricing-card:hover {
    transform: translateY(-4px);
    border-color: var(--stroke-2);
    box-shadow: var(--shadow-lg);
}
.pricing-card-featured {
    border: 2px solid var(--accent);
    background: linear-gradient(135deg, rgba(59, 125, 255, 0.08), transparent);
}
.pricing-card-featured:hover {
    border-color: var(--accent-2);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(59, 125, 255, 0.15);
}

.pricing-card-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    padding: var(--space-1) var(--space-3);
    background: var(--panel-2);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.pricing-card-badge-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.pricing-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink);
    margin: var(--space-lg) 0 0;
}

.pricing-card-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
}
.pricing-card-price .price-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ink);
}
.pricing-card-price .price-period {
    font-size: 0.85rem;
    color: var(--muted);
}

.pricing-card-features {
    list-style: none;
    padding: 0;
    margin: var(--space-md) 0;
    text-align: left;
    flex: 1;
}
.pricing-card-features li {
    padding: var(--space-2) 0;
    font-size: 0.9rem;
    color: var(--muted);
}

.pricing-card .btn-full {
    width: 100%;
    margin-top: auto;
}

/* Support */
.support-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-lg); }
.support-card { padding: var(--space-xl); background: var(--panel); border: 1px solid var(--stroke); border-radius: var(--radius-md); text-align: center; }
.support-icon { font-size: var(--font-size-2xl); margin-bottom: var(--space-md); display: block; }
.support-card h4 { font-size: var(--font-size-base); font-weight: 600; margin-bottom: var(--space-sm); }
.support-card p { font-size: var(--font-size-sm); color: var(--muted); }

/* v5.2.63: Buy Section */
/* Volume Pricing Tiers Hint */
.volume-pricing-hint {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    padding: var(--space-md);
    background: var(--panel);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.volume-tier {
    padding: var(--space-1) var(--space-3);
    background: var(--surface);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap;
}
.volume-tier:first-child {
    color: var(--accent);
    background: rgba(59, 125, 255, 0.1);
}
@media (max-width: 480px) {
    .volume-pricing-hint {
        gap: var(--space-1);
        padding: var(--space-sm);
    }
    .volume-tier {
        font-size: 0.75rem;
        padding: var(--space-1) var(--space-2);
    }
}

.buy-calculator {
    max-width: 480px;
    margin: 0 auto var(--space-2xl);
}
.buy-calc-card {
    background: var(--panel);
    border: 2px solid var(--accent);
    border-radius: var(--radius-card);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow-lg), 0 0 40px rgba(59, 125, 255, 0.1);
    overflow: hidden;
}
.buy-calc-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: var(--space-lg);
}
.buy-calc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}
.buy-calc-row label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
}
.buy-mic-input {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--surface);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-md);
    padding: var(--space-1);
}
.buy-counter-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--panel-2);
    color: var(--ink);
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background var(--t), color var(--t);
}
.buy-counter-btn:hover {
    background: var(--accent);
    color: #fff;
}
.buy-mic-input input {
    width: 70px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    background: transparent;
    color: var(--ink);
    -moz-appearance: textfield;
}
.buy-mic-input input::-webkit-outer-spin-button,
.buy-mic-input input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.buy-calc-result {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
}
.buy-result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-2) 0;
    font-size: 1rem;
}
.buy-result-unit {
    font-size: 0.9rem;
    color: var(--muted);
    border-bottom: 1px solid var(--stroke);
    padding-bottom: var(--space-2);
    margin-bottom: var(--space-2);
}
.buy-result-row:nth-child(2) {
    font-size: 1.1rem;
}
.buy-result-row:nth-child(2) strong {
    font-size: 1.5rem;
    color: var(--accent);
}
.buy-result-muted {
    color: var(--muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--stroke);
    margin-top: var(--space-2);
    padding-top: var(--space-2);
}
.buy-calc-note {
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: var(--space-md);
}

/* Buy Payment Methods */
.buy-methods {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}
.buy-method {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--panel);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-md);
    min-width: 200px;
}
.buy-method-icon {
    font-size: 1.5rem;
}
.buy-method strong {
    display: block;
    font-size: 0.95rem;
    color: var(--ink);
    margin-bottom: var(--space-1);
}
.buy-method p {
    font-size: 0.8rem;
    color: var(--muted);
    margin: 0;
}

/* Desktop nav CTA link */
.nav-link-cta {
    color: var(--accent) !important;
    font-weight: 600;
}

@media (max-width: 600px) {
    .buy-calc-row {
        flex-direction: column;
        gap: var(--space-sm);
    }
    .buy-methods {
        flex-direction: column;
        align-items: stretch;
    }
    .buy-method {
        min-width: 100%;
    }
}

/* FAQ - Card Style (no separator lines) */
.faq-list { 
    max-width: 800px; 
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}
.faq-item { 
    background: var(--panel);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--t), box-shadow var(--t);
}
.faq-item:hover {
    border-color: var(--stroke-2);
}
.faq-item.active {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--stroke-glow);
}
.faq-question { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    width: 100%; 
    padding: var(--space-lg); 
    background: none; 
    border: none; 
    cursor: pointer; 
    font-family: inherit; 
    font-size: var(--font-size-base); 
    font-weight: 500; 
    color: var(--ink); 
    text-align: left;
    transition: color var(--t);
}
.faq-question:hover { color: var(--accent); }
.faq-icon { font-size: var(--font-size-xl); transition: transform var(--transition-fast); color: var(--muted); }
.faq-item.active .faq-icon { transform: rotate(45deg); color: var(--accent); }
.faq-answer { display: none; padding: 0 var(--space-lg) var(--space-lg); }
.faq-item.active .faq-answer { display: block; }
.faq-answer p { font-size: var(--font-size-sm); color: var(--muted); line-height: 1.7; }

/* Why Price Section */
.why-price-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: var(--space-lg); 
    max-width: 1000px; 
    margin: 0 auto; 
}
.why-price-card { 
    padding: var(--space-xl); 
    background: var(--color-highlight); 
    border: 1px solid var(--stroke); 
    border-radius: var(--radius-lg); 
    text-align: center; 
    transition: all var(--transition-base);
}
.why-price-card:hover { 
    border-color: var(--accent); 
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--accent-glow);
}
.why-price-icon { 
    display: block; 
    font-size: 48px; 
    margin-bottom: var(--space-md); 
}
.why-price-card h3 { 
    font-size: var(--font-size-base); 
    font-weight: 600; 
    margin-bottom: var(--space-sm); 
    color: var(--ink); 
}
.why-price-card p { 
    font-size: var(--font-size-sm); 
    color: var(--muted); 
    line-height: 1.6; 
}

/* Partners Section */
.partners-content { 
    max-width: 700px; 
    margin: 0 auto; 
    text-align: center; 
}
.partners-empty { 
    padding: var(--space-2xl) var(--space-xl); 
    background: var(--color-highlight); 
    border: 2px dashed var(--stroke); 
    border-radius: var(--radius-lg); 
    margin-bottom: var(--space-xl); 
}
.partners-empty-icon { 
    font-size: 64px; 
    margin-bottom: var(--space-md); 
}
.partners-empty h3 { 
    font-size: var(--font-size-xl); 
    font-weight: 700; 
    margin-bottom: var(--space-xs); 
}
.partners-empty p { 
    font-size: var(--font-size-base); 
    color: var(--muted); 
}
.partners-pilot { 
    padding: var(--space-xl); 
    background: linear-gradient(135deg, var(--accent-muted), rgba(59, 125, 255, 0.05)); 
    border: 1px solid var(--accent); 
    border-radius: var(--radius-lg); 
}
.partners-pilot h4 { 
    font-size: var(--font-size-lg); 
    font-weight: 600; 
    margin-bottom: var(--space-sm); 
    color: var(--accent); 
}
.partners-pilot > p { 
    font-size: var(--font-size-base); 
    color: var(--muted); 
    margin-bottom: var(--space-lg); 
}
.partners-benefits { 
    text-align: left; 
    padding: var(--space-lg); 
    background: var(--color-bg); 
    border-radius: var(--radius-md); 
    margin-bottom: var(--space-lg); 
}
.partners-benefits h5 { 
    font-size: var(--font-size-sm); 
    font-weight: 600; 
    color: var(--muted); 
    margin-bottom: var(--space-md); 
    text-transform: uppercase; 
    letter-spacing: 0.05em; 
}
.partners-benefits ul { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
}
.partners-benefits li { 
    padding: var(--space-xs) 0; 
    font-size: var(--font-size-sm); 
    color: var(--ink); 
}
.partners-cta { 
    display: inline-flex; 
    align-items: center; 
    gap: var(--space-sm); 
    padding: var(--space-md) var(--space-xl); 
    font-size: var(--font-size-lg); 
}

/* Why Price Note */
.why-price-note {
    text-align: center;
    margin-top: var(--space-xl);
    font-size: var(--font-size-sm);
    color: var(--muted);
    font-style: italic;
}

/* v5.2.92: Integrations Section - improved z-index and contrast */
.integrations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    max-width: 1000px;
    margin: 0 auto var(--space-xl);
    position: relative;
    z-index: 1;
}
.integration-card {
    padding: var(--space-lg);
    background: var(--panel);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    position: relative;
    z-index: 1;
}
.integration-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
}
.integration-card h3 {
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--ink);
}
/* v5.2.92: Better contrast for integration card descriptions */
.integration-card p {
    font-size: var(--font-size-sm);
    color: var(--ink);
    opacity: 0.85;
    line-height: 1.6;
}
.integrations-footer {
    text-align: center;
    padding-top: var(--space-lg);
}
.integrations-footer p {
    margin-bottom: var(--space-md);
    color: var(--muted);
}

@media (max-width: 768px) {
    .why-price-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
    .why-price-card { padding: var(--space-lg); }
    .why-price-icon { font-size: 36px; }
    .partners-empty-icon { font-size: 48px; }
    .integrations-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
}

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

/* Contacts */
.contacts-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-xl); max-width: 900px; margin: 0 auto; }
.contact-info { display: flex; flex-direction: column; gap: var(--space-lg); }
.contact-card { padding: var(--space-xl); background: var(--color-highlight); border: 1px solid var(--color-primary); border-radius: var(--radius-md); text-align: center; }
.contact-card h4 { font-size: var(--font-size-lg); margin-bottom: var(--space-sm); }
.contact-card p { font-size: var(--font-size-sm); color: var(--muted); }
.contact-item { display: flex; align-items: center; gap: var(--space-md); }
.contact-icon { font-size: var(--font-size-xl); }
.contact-item strong { display: block; font-size: var(--font-size-sm); color: var(--muted); margin-bottom: var(--space-xs); }
.contact-item a { font-size: var(--font-size-base); font-weight: 500; }
.contact-form { display: flex; flex-direction: column; gap: var(--space-lg); }
.form-group { display: flex; flex-direction: column; gap: var(--space-sm); }
.form-group label { font-size: var(--font-size-sm); font-weight: 500; color: var(--muted); }
.form-group input, .form-group textarea { padding: var(--space-md) var(--space-md); font-family: inherit; font-size: var(--font-size-base); background: var(--color-input-bg); border: 2px solid transparent; border-radius: var(--radius-sm); color: var(--ink); resize: vertical; min-height: 48px; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--color-primary); }
.form-success { display: none; padding: var(--space-2xl); background: var(--color-highlight); border: 2px solid var(--color-primary); border-radius: var(--radius-lg); text-align: center; }
.form-success.visible { display: block; }
.form-success-icon { font-size: 3rem; margin-bottom: var(--space-md); }
.form-success h4 { font-size: var(--font-size-lg); margin-bottom: var(--space-sm); }
.form-success p { color: var(--muted); font-size: var(--font-size-sm); }

/* Footer */
.footer { padding: var(--space-3xl) 0 var(--space-xl); background: var(--color-bg-alt); border-top: 1px solid var(--stroke); }
.footer-content { display: grid; grid-template-columns: 1fr; gap: var(--space-xl); margin-bottom: var(--space-xl); }
.footer-logo { display: flex; align-items: center; gap: var(--space-sm); font-size: var(--font-size-lg); font-weight: 700; color: var(--ink); margin-bottom: var(--space-md); }
.footer-logo img { height: 28px; }
.footer-logo .logo-light { display: none; }
body.theme-light .footer-logo .logo-dark { display: none; }
body.theme-light .footer-logo .logo-light { display: block; }
.footer-desc { font-size: var(--font-size-sm); color: var(--muted); max-width: 300px; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.footer-col h5 { font-size: var(--font-size-sm); font-weight: 600; margin-bottom: var(--space-md); }
.footer-col a { display: block; font-size: var(--font-size-sm); color: var(--muted); padding: var(--space-xs) 0; }
.footer-col a:hover { color: var(--color-primary); }
.footer-bottom { padding-top: var(--space-lg); border-top: 1px solid var(--stroke); text-align: center; }
.footer-bottom p { font-size: var(--font-size-sm); color: var(--muted); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
/* v5.2.62: Fixed navbar - pills on mobile, full menu on desktop */

/* Desktop: Full nav visible (1200px+) */
@media (min-width: 1200px) {
    .nav-pills-scroll { display: none; }
    .nav-menu-desktop { 
        display: flex; 
        flex-wrap: wrap;
        position: static; 
        flex-direction: row; 
        background: transparent; 
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 0; 
        gap: 4px 12px; 
        max-height: none; 
        overflow: visible;
        flex: 1;
        justify-content: center;
    }
    .nav-link { 
        padding: 4px 6px; 
        min-height: auto; 
        border-radius: var(--radius-sm);
        font-size: 0.75rem;
    }
    .nav-link:hover { 
        background: var(--stroke); 
        color: var(--ink);
    }
    .nav-cta-mobile { display: none; }
}

/* Large tablets: Compact nav (900-1199px) */
@media (min-width: 900px) and (max-width: 1199px) {
    .nav-pills-scroll { display: none; }
    .nav-menu-desktop { 
        display: flex; 
        position: static; 
        flex-direction: row; 
        flex-wrap: wrap;
        background: transparent; 
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 0; 
        gap: var(--space-sm); 
        max-height: none; 
        overflow: visible;
        flex: 1;
        justify-content: center;
    }
    .nav-link { 
        padding: var(--space-xs) var(--space-sm); 
        min-height: auto; 
        font-size: 0.75rem;
        border-radius: var(--radius-sm);
    }
    .nav-link:hover { 
        background: var(--stroke); 
        color: var(--ink);
    }
    .nav-cta-mobile { display: none; }
    .nav-actions .nav-cta-desktop { display: none; }
    .nav-actions .nav-login { font-size: 0.75rem; padding: var(--space-xs) var(--space-sm); }
}

/* Small tablets and below: Hamburger menu (<900px) */
@media (max-width: 899px) {
    .nav-cta-desktop { display: none; }
}

/* Tablet layout (768-899px) */
@media (min-width: 768px) and (max-width: 899px) {
    .hero-title { font-size: 2.5rem; }
    .problem-solution-grid { grid-template-columns: 1fr 1fr; }
    .calculator { grid-template-columns: 1fr 1fr; gap: var(--space-2xl); }
    .calc-results { padding-top: 0; border-top: none; border-left: 1px solid var(--stroke); padding-left: var(--space-2xl); }
    .contacts-grid { grid-template-columns: 1fr 2fr; }
    .footer-content { grid-template-columns: 1fr 2fr; }
}

/* General tablet+ styles (768px+) */
@media (min-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .problem-solution-grid { grid-template-columns: 1fr 1fr; }
    .calculator { grid-template-columns: 1fr 1fr; gap: var(--space-2xl); }
    .calc-results { padding-top: 0; border-top: none; border-left: 1px solid var(--stroke); padding-left: var(--space-2xl); }
    .contacts-grid { grid-template-columns: 1fr 2fr; }
    .footer-content { grid-template-columns: 1fr 2fr; }
}

@media (min-width: 1024px) {
    .stepper { grid-template-columns: repeat(4, 1fr); gap: var(--space-md); max-width: none; }
    .step { flex-direction: column; align-items: center; text-align: center; }
    .step-content { padding-top: var(--space-md); }
}

@media (max-width: 767px) {
    :root { --space-3xl: 2.5rem; --navbar-height: 56px; }
    .navbar {
        width: calc(100% - 16px);
        margin: 8px auto 0;
        padding: 0 var(--space-md);
    }
    .container { padding: 0 var(--space-md); }
    .section { padding: var(--space-2xl) 0; }
    .section-title { font-size: var(--font-size-2xl); }
    .section-subtitle { font-size: var(--font-size-base); margin-bottom: var(--space-lg); }
    .hero { padding-top: var(--space-xl); min-height: auto; }
    .hero-title { font-size: var(--font-size-2xl); }
    .hero-bullets { flex-direction: column; align-items: stretch; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; }
    .role-grid { grid-template-columns: 1fr; }
    .demo-tabs { overflow-x: auto; justify-content: flex-start; }
    .demo-tab { white-space: nowrap; }
    .transcript-line { grid-template-columns: 40px 70px 1fr; font-size: var(--font-size-xs); }
    .transcript-check { display: none; }
    .report-row { grid-template-columns: 30px 1fr 60px; font-size: var(--font-size-xs); }
    .report-row span:nth-child(3) { display: none; }
    .calc-inputs { grid-template-columns: 1fr; }
    .result-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-amount .price { font-size: 3rem; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pt-row { font-size: var(--font-size-xs); }
    .faq-question { font-size: var(--font-size-sm); padding: var(--space-md); }
    .faq-answer { padding: 0 var(--space-md) var(--space-md); }
    .section-cta { flex-direction: column; }
    .section-cta .btn { width: 100%; }
    .footer-nav { grid-template-columns: 1fr; gap: var(--space-lg); }
}

@media (max-width: 374px) {
    .hero-title { font-size: 1.5rem; }
    .result-grid { grid-template-columns: 1fr; }
    .pricing-amount .price { font-size: 2.5rem; }
}

@media (hover: none) { .module-card:hover { transform: none; } .btn { min-height: 48px; } }

/* ==================== ADDITIONAL STYLES v2.0 ==================== */

/* Skip to content link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: #000;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-md);
    z-index: 9999;
    transition: top 0.3s;
}
.skip-link:focus {
    top: var(--space-md);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
    flex-wrap: wrap;
}
.hero-stat {
    text-align: center;
    padding: var(--space-lg) var(--space-xl);
    background: var(--panel);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-lg);
    min-width: 140px;
}
.hero-stat-value {
    display: block;
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
}
.hero-stat-label {
    font-size: var(--font-size-sm);
    color: var(--muted);
}

/* Sticky CTA */
/* v5.2.92: Sticky CTA - moved to bottom-right, compact pill design */
.sticky-cta {
    position: fixed;
    bottom: -80px;
    right: var(--space-lg);
    left: auto;
    transform: none;
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--color-primary);
    border: none;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(59, 125, 255, 0.4);
    z-index: 900;
    transition: bottom 0.3s ease, opacity 0.3s ease;
}
.sticky-cta.visible {
    bottom: calc(var(--space-lg) + env(safe-area-inset-bottom, 0px));
}
.sticky-cta .btn {
    background: transparent;
    color: white;
    border: none;
    padding: var(--space-sm) var(--space-md);
    font-weight: 600;
    font-size: var(--font-size-sm);
}
.sticky-cta .btn:hover {
    background: rgba(255,255,255,0.15);
}
/* v5.2.92: Hide sticky CTA near footer/integrations to not overlap */
body.hide-sticky-cta .sticky-cta {
    opacity: 0;
    pointer-events: none;
}

/* Checkbox consent */
.form-consent {
    margin-top: var(--space-md);
}
.checkbox-label {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    cursor: pointer;
    font-size: var(--font-size-sm);
    color: var(--muted);
}
.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--color-primary);
    cursor: pointer;
}

/* ROI Warning */
.roi-warning {
    color: var(--color-error);
    font-size: var(--font-size-sm);
}

/* Calculator actions */
.calc-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Nav CTA desktop only */
@media (max-width: 767px) {
    .nav-cta-desktop {
        display: none;
    }
    .nav-actions {
        gap: 6px;
    }
    .hero-stats {
        gap: var(--space-md);
    }
    .hero-stat {
        min-width: 100px;
        padding: var(--space-md);
    }
    .hero-stat-value {
        font-size: var(--font-size-xl);
    }
    /* v5.2.92: Mobile sticky CTA - centered but compact */
    .sticky-cta {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        justify-content: center;
        padding: var(--space-xs) var(--space-md);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .sticky-cta {
        transition: none;
    }
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ==================== ARCHITECTURE DIAGRAM ==================== */
.architecture {
    margin-top: var(--space-2xl);
}

.arch-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
    padding: var(--space-xl);
    background: var(--panel);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-xl);
}

.arch-step {
    text-align: center;
    padding: var(--space-md);
    min-width: 100px;
}

.arch-icon {
    font-size: 2rem;
    margin-bottom: var(--space-xs);
}

.arch-label {
    font-weight: 600;
    font-size: var(--font-size-sm);
    color: var(--color-text-primary);
    margin-bottom: 2px;
}

.arch-desc {
    font-size: var(--font-size-xs);
    color: var(--muted);
}

.arch-arrow {
    font-size: 1.5rem;
    color: var(--color-primary);
    font-weight: bold;
}

.arch-modes {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
    flex-wrap: wrap;
}

.arch-mode {
    padding: var(--space-xs) var(--space-md);
    background: var(--color-bg-elevated);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    color: var(--muted);
}

@media (max-width: 767px) {
    .arch-flow {
        flex-direction: column;
        gap: var(--space-xs);
    }
    .arch-arrow {
        transform: rotate(90deg);
    }
    .arch-step {
        min-width: auto;
        width: 100%;
    }
}

/* ==================== PILOT SECTION ==================== */
.pilot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    margin-top: var(--space-xl);
}

.pilot-section-title {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-lg);
    color: var(--color-text-primary);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: var(--space-xl);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--stroke);
}

.timeline-item {
    position: relative;
    padding-bottom: var(--space-lg);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: calc(-1 * var(--space-xl) + 4px);
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--stroke);
    border: 2px solid var(--color-bg);
}

.timeline-marker.active {
    background: var(--color-primary);
}

.timeline-marker.success {
    background: var(--color-success);
}

.timeline-content strong {
    display: block;
    color: var(--color-text-primary);
    margin-bottom: 4px;
}

.timeline-content p {
    font-size: var(--font-size-sm);
    color: var(--muted);
    margin: 0;
}

/* Checklist */
.checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-xl) 0;
}

.checklist li {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--stroke);
    color: var(--muted);
    font-size: var(--font-size-base);
}

.checklist li:last-child {
    border-bottom: none;
}

.pilot-deliverables {
    background: var(--panel);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

@media (max-width: 767px) {
    .pilot-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

/* ==================== SMALL STORES ==================== */
.small-stores-card {
    background: linear-gradient(135deg, var(--accent-muted) 0%, rgba(59, 125, 255, 0.02) 100%);
    border: 1px solid var(--accent);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-2xl);
    align-items: center;
}

.small-stores-title {
    font-size: var(--font-2xl);
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--ink);
}

.small-stores-subtitle {
    color: var(--muted-2);
    font-size: var(--font-lg);
    margin-bottom: var(--space-lg);
}

.small-stores-list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-xl);
}

.small-stores-list li {
    color: var(--ink);
    padding: var(--space-sm) 0;
    font-size: var(--font-base);
}

.small-stores-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.store-icon {
    font-size: 4rem;
    margin-bottom: var(--space-sm);
}

.store-badge {
    background: var(--color-accent);
    color: #000;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: var(--font-sm);
    font-weight: 600;
}

@media (max-width: 767px) {
    .small-stores-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: var(--space-xl);
    }
    .small-stores-visual {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .store-icon {
        width: 100%;
    }
}

/* ==================== SIMPLE PRICING CALCULATOR ==================== */
.pricing-simple {
    width: min(520px, 100%);
    max-width: 100%;
    margin: 0 auto var(--space-2xl);
    overflow-x: clip;
}

.pricing-calculator {
    margin: var(--space-xl) 0;
    text-align: center;
}

.pricing-calculator label {
    display: block;
    font-size: var(--font-size-base);
    color: var(--muted);
    margin-bottom: var(--space-md);
}

.mic-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.counter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    background: transparent;
    color: var(--color-primary);
    font-size: 24px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.counter-btn:hover {
    background: var(--color-primary);
    color: var(--color-bg);
    transform: scale(1.1);
}

.counter-btn:active {
    transform: scale(0.95);
}

.mic-counter input {
    width: 80px;
    height: 56px;
    text-align: center;
    font-size: var(--font-size-2xl);
    font-weight: 700;
    border: 2px solid var(--stroke);
    border-radius: var(--radius-md);
    background: var(--color-input-bg);
    color: var(--ink);
}

.mic-counter input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.pricing-result {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
    padding: var(--space-lg);
    background: rgba(59, 125, 255, 0.12);
    border: 1px solid rgba(59, 125, 255, 0.22);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
    overflow: hidden;
    contain: paint;
    max-width: 100%;
    box-sizing: border-box;
}

.pricing-formula {
    font-size: var(--font-size-lg);
    color: var(--muted);
}

.pricing-total {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.pricing-total.bounce {
    animation: priceBounce 0.4s ease;
}

@keyframes priceBounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.pricing-period {
    font-size: var(--font-size-base);
    color: var(--muted);
}

.pricing-features-simple {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
    text-align: left;
    margin-bottom: var(--space-xl);
}

.feature-item {
    font-size: var(--font-size-sm);
    color: var(--muted);
    padding: var(--space-sm);
}

.feature-item::first-letter {
    color: var(--accent);
}

.pricing-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.pricing-cta .btn {
    min-width: 180px;
}

/* Readonly price input in ROI calculator */
.readonly-price {
    background: var(--color-bg) !important;
    cursor: not-allowed;
    opacity: 0.7;
}

/* ==================== ENHANCED ANIMATIONS ==================== */

/* Button hover glow - BLUE accent only */
.btn {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    box-shadow: 0 0 15px var(--accent-glow);
}

/* Enhanced reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for multiple items */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.3s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.4s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.5s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.6s; }

.reveal-stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* Sticky CTA breathing effect */
.sticky-cta.visible {
    animation: breathe 4s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% { box-shadow: 0 -4px 20px rgba(0,0,0,0.3); }
    50% { box-shadow: 0 -4px 30px var(--accent-glow); }
}

/* Card hover lift */
.hero-stat,
.pricing-main-card,
.contact-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-stat:hover,
.pricing-main-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* Mobile adjustments for pricing */
@media (max-width: 640px) {
    .pricing-features-simple {
        grid-template-columns: 1fr;
    }
    
    .pricing-total {
        font-size: 2rem;
    }
    
    .pricing-cta {
        flex-direction: column;
    }
    
    .pricing-cta .btn {
        width: 100%;
    }
    
    .mic-counter input {
        width: 70px;
        height: 48px;
        font-size: var(--font-size-xl);
    }
    
    .counter-btn {
        width: 44px;
        height: 44px;
    }
}

/* ==================== v5.2.63: PURCHASE ORDER MODAL ==================== */
.purchase-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
}
.purchase-modal.hidden { display: none; }

.purchase-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
}

.purchase-modal-content {
    position: relative;
    width: 100%;
    max-width: 540px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--surface);
    border: 1px solid var(--stroke-2);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-xl);
}

.purchase-modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 36px;
    height: 36px;
    background: var(--panel-2);
    border: 1px solid var(--stroke);
    border-radius: 50%;
    font-size: 20px;
    color: var(--muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.purchase-modal-close:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.purchase-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: var(--space-xs);
}

.purchase-modal-subtitle {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: var(--space-lg);
}

.purchase-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

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

.purchase-form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.purchase-form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--muted);
}

.purchase-form-group input,
.purchase-form-group select,
.purchase-form-group textarea {
    padding: var(--space-sm) var(--space-md);
    background: var(--panel-2);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-control);
    color: var(--ink);
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.purchase-form-group input:focus,
.purchase-form-group select:focus,
.purchase-form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-muted);
}

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

.purchase-form-group select {
    cursor: pointer;
}

.purchase-summary {
    background: var(--panel-2);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-top: var(--space-sm);
}

.purchase-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--muted);
    padding: var(--space-xs) 0;
}

.purchase-summary-total {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--stroke);
    margin-top: var(--space-xs);
}

.purchase-consent {
    margin-top: var(--space-sm);
}

.purchase-consent label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: 0.85rem;
    color: var(--muted);
    cursor: pointer;
}

.purchase-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--accent);
}

.purchase-submit {
    margin-top: var(--space-md);
    width: 100%;
}

/* Purchase Success State */
.purchase-success {
    text-align: center;
    padding: var(--space-xl) 0;
}
.purchase-success.hidden { display: none; }

.purchase-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
}

.purchase-success h3 {
    font-size: 1.4rem;
    color: var(--ink);
    margin-bottom: var(--space-sm);
}

.purchase-success p {
    color: var(--muted);
    margin-bottom: var(--space-lg);
}

/* Light theme */
body.theme-light .purchase-modal-content {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.1);
}

body.theme-light .purchase-modal-close {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

body.theme-light .purchase-form-group input,
body.theme-light .purchase-form-group select,
body.theme-light .purchase-form-group textarea {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
}

body.theme-light .purchase-summary {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
}

/* Mobile responsive */
@media (max-width: 640px) {
    .purchase-modal-content {
        padding: var(--space-lg);
        max-height: 95vh;
    }
    
    .purchase-form-row {
        grid-template-columns: 1fr;
    }
    
    .purchase-modal-title {
        font-size: 1.25rem;
        padding-right: 32px;
    }
}

/* ==================== v5.2.63: ORDER MODAL ==================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--surface);
    border: 1px solid var(--stroke-2);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    transform: translateY(20px) scale(0.98);
    transition: transform 0.3s var(--ease);
}
.modal-overlay.active .modal-container {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 36px;
    height: 36px;
    background: var(--panel-2);
    border: 1px solid var(--stroke);
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    color: var(--muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 1;
}
.modal-close:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.modal-header {
    padding: var(--space-xl) var(--space-xl) var(--space-md);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 var(--space-xs);
    padding-right: 40px;
}

.modal-subtitle {
    color: var(--muted);
    font-size: 0.95rem;
    margin: 0;
}

.order-form {
    padding: 0 var(--space-xl) var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

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

.order-form .form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.order-form .form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--muted);
}

.order-form .form-group input,
.order-form .form-group select,
.order-form .form-group textarea {
    padding: var(--space-sm) var(--space-md);
    background: var(--panel-2);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-control);
    color: var(--ink);
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.order-form .form-group input:focus,
.order-form .form-group select:focus,
.order-form .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-muted);
}

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

.payment-options {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.radio-option {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: var(--panel-2);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-control);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
    color: var(--ink);
}
.radio-option:hover {
    border-color: var(--accent-muted);
}
.radio-option:has(input:checked) {
    background: var(--accent-muted);
    border-color: var(--accent);
}
.radio-option input {
    accent-color: var(--accent);
}

.order-summary {
    background: var(--panel-2);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-md);
    padding: var(--space-md);
}

.order-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--muted);
    padding: var(--space-xs) 0;
}
.order-summary-row strong {
    color: var(--ink);
}
.order-summary-total {
    border-top: 1px solid var(--stroke);
    margin-top: var(--space-xs);
    padding-top: var(--space-sm);
    font-size: 1.05rem;
}
.order-summary-total strong {
    color: var(--accent);
    font-size: 1.15rem;
}

.order-form .form-consent {
    margin: 0;
}

.order-form .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: 0.85rem;
    color: var(--muted);
    cursor: pointer;
}

.order-form .checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--accent);
}

.order-success {
    display: none;
    text-align: center;
    padding: var(--space-xl);
}
.order-success.visible {
    display: block;
}
.order-success.visible ~ .order-form {
    display: none;
}

.order-success-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.order-success h4 {
    font-size: 1.4rem;
    color: var(--ink);
    margin: 0 0 var(--space-sm);
}

.order-success p {
    color: var(--muted);
    margin: 0 0 var(--space-lg);
}

/* Light theme for order modal */
body.theme-light .modal-container {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.1);
}

body.theme-light .modal-close {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: #333;
}

body.theme-light .order-form .form-group input,
body.theme-light .order-form .form-group select,
body.theme-light .order-form .form-group textarea {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
}

body.theme-light .order-summary,
body.theme-light .radio-option {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
}

body.theme-light .radio-option:has(input:checked) {
    background: rgba(59, 125, 255, 0.1);
    border-color: var(--accent);
}

/* ==================== ANDROID APP MODAL ==================== */
.android-app-modal,
body.theme-light .android-app-modal {
    max-width: 420px;
    padding: var(--space-xl);
    text-align: center;
    /* Always dark card regardless of theme */
    background: #1a1a2e !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.android-modal-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.android-app-modal .modal-title,
body.theme-light .android-app-modal .modal-title {
    padding-right: 0;
    text-align: center;
    margin-bottom: var(--space-sm);
    color: #fff !important;
}

.android-modal-text,
body.theme-light .android-app-modal .android-modal-text {
    color: rgba(255, 255, 255, 0.65) !important;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 var(--space-xl);
}

.android-modal-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
}

.android-apk-btn {
    font-size: 1.05rem;
    font-weight: 600;
    padding: var(--space-md) var(--space-xl);
}

.android-browser-btn {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 0.85rem;
    padding: var(--space-xs) var(--space-lg);
    transition: color 0.2s;
}
.android-browser-btn:hover {
    color: rgba(255, 255, 255, 0.85) !important;
}

.android-app-modal .modal-close {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Mobile responsive for order modal */
@media (max-width: 640px) {
    .modal-container {
        max-height: 95vh;
        border-radius: var(--radius-lg);
    }
    
    .modal-header {
        padding: var(--space-lg) var(--space-lg) var(--space-sm);
    }
    
    .order-form {
        padding: 0 var(--space-lg) var(--space-lg);
    }
    
    .order-form-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-title {
        font-size: 1.25rem;
    }
    
    .payment-options {
        flex-direction: column;
    }
    
    .radio-option {
        justify-content: flex-start;
    }
}

/* ========================================
   v5.2.70: DESIGN RULESET ENFORCEMENT (LANDING)
   Pixel-precise UI standards (Section H)
   ======================================== */

/* H2: Landing header - must match app header */
.header {
  height: 56px !important;
  min-height: 56px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 24px !important;
}

.header .nav-link {
  height: 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 12px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

/* H2: Responsive landing header */
@media (max-width: 1024px) {
  .header {
    height: 52px !important;
    min-height: 52px !important;
    padding: 0 16px !important;
  }
}

@media (max-width: 768px) {
  .header {
    height: 50px !important;
    min-height: 50px !important;
    padding: 0 12px !important;
  }
}

/* End of Landing Design Ruleset */

/* ========================================
   v5.2.71: AI SELLER ANALYTICS SECTION
   ======================================== */

#ai-seller {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.03));
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.feature-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #60a5fa;
}

.feature-card p {
  font-size: 14px;
  opacity: 0.7;
  line-height: 1.5;
}

body.theme-light .feature-card {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.06);
}

body.theme-light .feature-card h3 {
  color: #2563eb;
}

/* ========================================
   v5.2.71: SECURITY SECTION
   ======================================== */

.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.security-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.security-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.security-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #22c55e;
}

.security-item p {
  font-size: 13px;
  opacity: 0.7;
  line-height: 1.5;
}

body.theme-light .security-item {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.06);
}

body.theme-light .security-item h4 {
  color: #16a34a;
}

.cta-block {
  text-align: center;
  margin-top: 32px;
}

/* End v5.2.71 */

/* ============================================================================
   v5.2.94: UNIFIED DESIGN SYSTEM - Landing matches App
   ============================================================================ */

/* === DESIGN TOKENS (same as app) === */
:root {
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  
  --header-height: 56px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  
  --blur-md: 16px;
  
  --accent-primary: #3b82f6;
  --accent-hover: #2563eb;
  --accent-muted: rgba(59, 130, 246, 0.15);
}

/* === NAVBAR UNIFIED WITH APP === */
.navbar {
  position: sticky !important;
  top: calc(var(--safe-top) + var(--sp-2)) !important;
  height: var(--header-height) !important;
  margin: var(--sp-2) auto 0 !important;
  padding: 0 var(--sp-4) !important;
  background: rgba(10, 10, 10, 0.92) !important;
  backdrop-filter: blur(var(--blur-md)) !important;
  -webkit-backdrop-filter: blur(var(--blur-md)) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 9999px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
  z-index: 1000 !important;
}

body.theme-light .navbar {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}

/* === LOGO UNIFIED === */
.nav-logo {
  display: flex !important;
  align-items: center !important;
  gap: var(--sp-2) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}

.nav-logo img {
  height: 24px !important;
  width: 24px !important;
}

/* v5.4.4: unified brand text — 16px, 600 weight */
.nav-logo span {
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: -0.3px !important;
}

/* === NAV ACTIONS UNIFIED === */
.nav-actions {
  display: flex !important;
  align-items: center !important;
  gap: var(--sp-2) !important;
}

/* === NAV LOGIN BUTTON === */
.nav-login {
  padding: var(--sp-2) var(--sp-3) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  border-radius: var(--radius-md) !important;
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  transition: all 0.15s ease !important;
}

body.theme-light .nav-login {
  border-color: rgba(0, 0, 0, 0.1) !important;
  color: rgba(0, 0, 0, 0.8) !important;
}

.nav-login:hover {
  background: rgba(255, 255, 255, 0.08) !important;
}

/* === NAV CTA BUTTON === */
.nav-cta-desktop {
  padding: var(--sp-2) var(--sp-3) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  border-radius: var(--radius-md) !important;
  background: var(--accent-primary) !important;
  color: white !important;
  border: none !important;
}

.nav-cta-desktop:hover {
  background: var(--accent-hover) !important;
}

/* === MOBILE NAVBAR === */
@media (max-width: 768px) {
  .navbar {
    top: var(--safe-top) !important;
    margin: var(--sp-2) !important;
    max-width: calc(100% - var(--sp-4)) !important;
    padding: 0 var(--sp-3) !important;
  }
  
  /* Hide desktop nav */
  .nav-menu-desktop {
    display: none !important;
  }
  
  /* Hide CTA on mobile */
  .nav-cta-desktop {
    display: none !important;
  }
  
  /* Compact controls */
  .nav-actions {
    gap: var(--sp-2) !important;
  }
  
  .nav-login {
    padding: var(--sp-2) var(--sp-2) !important;
    font-size: 11px !important;
  }
  
  /* Pills scroll */
  .nav-pills-scroll {
    display: flex !important;
    gap: var(--sp-2) !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    padding: 0 var(--sp-2) !important;
    flex: 1 !important;
  }
  
  .nav-pills-scroll::-webkit-scrollbar {
    display: none !important;
  }
  
  .nav-pill {
    padding: var(--sp-1) var(--sp-2) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    color: rgba(255, 255, 255, 0.7) !important;
    border-radius: var(--radius-sm) !important;
    background: transparent !important;
    transition: all 0.15s ease !important;
  }
  
  body.theme-light .nav-pill {
    color: rgba(0, 0, 0, 0.6) !important;
  }
  
  .nav-pill:hover,
  .nav-pill.active {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
  }
  
  body.theme-light .nav-pill:hover,
  body.theme-light .nav-pill.active {
    background: rgba(0, 0, 0, 0.06) !important;
    color: rgba(0, 0, 0, 0.9) !important;
  }
}

/* === HERO SECTION IMPROVEMENTS === */
.hero-title {
  color: rgba(255, 255, 255, 0.95) !important;
  font-weight: 700 !important;
}

body.theme-light .hero-title {
  color: rgba(0, 0, 0, 0.9) !important;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
}

body.theme-light .hero-subtitle {
  color: rgba(0, 0, 0, 0.65) !important;
}

.hero-tagline {
  color: var(--accent-primary) !important;
  font-weight: 600 !important;
}

/* === HERO BULLETS === */
.hero-bullets {
  display: flex !important;
  flex-direction: column !important;
  gap: var(--sp-3) !important;
  margin: var(--sp-5) 0 !important;
}

.hero-bullet {
  display: flex !important;
  align-items: center !important;
  gap: var(--sp-3) !important;
  padding: var(--sp-3) var(--sp-4) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: var(--radius-md) !important;
  font-size: 14px !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

body.theme-light .hero-bullet {
  background: rgba(0, 0, 0, 0.03) !important;
  border-color: rgba(0, 0, 0, 0.06) !important;
  color: rgba(0, 0, 0, 0.85) !important;
}

.bullet-icon {
  font-size: 20px !important;
  flex-shrink: 0 !important;
}

/* === HERO CTA === */
.hero-cta {
  display: flex !important;
  gap: var(--sp-3) !important;
  flex-wrap: wrap !important;
  margin-top: var(--sp-5) !important;
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column !important;
  }
  
  .hero-cta .btn {
    width: 100% !important;
  }
}

/* === UNIFIED BUTTONS === */
.btn-primary {
  background: var(--accent-primary) !important;
  color: white !important;
  border: none !important;
  font-weight: 600 !important;
  border-radius: var(--radius-md) !important;
  transition: all 0.15s ease !important;
}

.btn-primary:hover {
  background: var(--accent-hover) !important;
}

.btn-secondary {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 600 !important;
  border-radius: var(--radius-md) !important;
}

body.theme-light .btn-secondary {
  border-color: rgba(0, 0, 0, 0.1) !important;
  color: rgba(0, 0, 0, 0.8) !important;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08) !important;
}

.btn-lg {
  padding: var(--sp-3) var(--sp-6) !important;
  font-size: 15px !important;
  min-height: 48px !important;
}

/* === CONTENT PADDING FOR STICKY HEADER === */
.hero {
  padding-top: calc(var(--header-height) + var(--sp-6)) !important;
}

/* === BOTTOM SAFE AREA === */
.footer {
  padding-bottom: calc(var(--safe-bottom) + var(--sp-4)) !important;
}

/* === CONTRAST IMPROVEMENTS === */
.section-title {
  color: rgba(255, 255, 255, 0.95) !important;
}

body.theme-light .section-title {
  color: rgba(0, 0, 0, 0.9) !important;
}

.section-desc,
.card-text,
p {
  color: rgba(255, 255, 255, 0.75) !important;
}

body.theme-light .section-desc,
body.theme-light .card-text,
body.theme-light p {
  color: rgba(0, 0, 0, 0.65) !important;
}

/* End v5.2.94 Unified Design System */

/* v5.2.97: SVG Logo styles */
.nav-logo-icon {
  width: 32px;
  height: 32px;
}

.footer-logo-icon {
  width: 40px;
  height: 40px;
}

/* Hide old PNG logos */
.logo-dark, .logo-light {
  display: none !important;
}

/* =============================================================================
   v5.2.97: LANDING LIGHT THEME COMPREHENSIVE FIX
   ============================================================================= */

/* Body background */
body.theme-light {
  background: var(--bg-1) !important;
}

/* All sections use light backgrounds */
body.theme-light .section,
body.theme-light section {
  background: var(--bg-1) !important;
}

body.theme-light .section-alt {
  background: var(--bg-0) !important;
}

/* Hero section */
body.theme-light .hero {
  background: var(--bg-0) !important;
}

/* Problem/solution section - remove dark backgrounds */
body.theme-light #problem,
body.theme-light #solution,
body.theme-light .problem-section,
body.theme-light .comparison-section {
  background: var(--bg-1) !important;
}

/* Cards in light theme */
body.theme-light .problem-card {
  background: rgba(239, 68, 68, 0.06) !important;
  border-color: rgba(239, 68, 68, 0.2) !important;
}

body.theme-light .solution-card {
  background: rgba(59, 125, 255, 0.06) !important;
  border-color: rgba(59, 125, 255, 0.2) !important;
}

/* Feature cards */
body.theme-light .feature-card,
body.theme-light .platform-card,
body.theme-light .benefit-card {
  background: var(--bg-0) !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
}

/* Pricing cards */
body.theme-light .pricing-card,
body.theme-light .pricing-main-card {
  background: var(--bg-0) !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
}

/* FAQ items */
body.theme-light .faq-item {
  background: var(--bg-0) !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
}

/* Footer */
body.theme-light footer,
body.theme-light .footer {
  background: var(--bg-2) !important;
  border-top-color: rgba(0, 0, 0, 0.08) !important;
}

/* Text colors */
body.theme-light .section-title,
body.theme-light .card-header h3,
body.theme-light h1, body.theme-light h2, body.theme-light h3 {
  color: var(--ink) !important;
}

body.theme-light .section-subtitle,
body.theme-light p,
body.theme-light li {
  color: var(--muted) !important;
}

/* Remove gradient overlays in light theme */
body.theme-light .section::before,
body.theme-light .section::after {
  display: none !important;
}

/* Calculator */
body.theme-light .calc-container,
body.theme-light .calculator {
  background: var(--bg-0) !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
}

/* Input fields */
body.theme-light input,
body.theme-light select,
body.theme-light textarea {
  background: var(--bg-0) !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
  color: var(--ink) !important;
}

/* Pills/badges */
body.theme-light .feature-pill,
body.theme-light .badge {
  background: rgba(59, 130, 246, 0.08) !important;
  color: var(--accent) !important;
}

/* How it works steps */
body.theme-light .how-step {
  background: var(--bg-0) !important;
}

/* Testimonials */
body.theme-light .testimonial-card {
  background: var(--bg-0) !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
}

/* End v5.2.97 Landing Light Theme Fix */
