/* AI Visible — Premium Design System */
/* Fonts: Instrument Sans (display) + Newsreader (editorial accent) */

/* ===== CSS VARIABLES ===== */
:root {
    /* Light Theme Colors */
    --bg-primary: #FAFAF9;
    --bg-secondary: #FFFFFF;
    --bg-tertiary: #F5F5F4;
    --bg-elevated: #FFFFFF;

    --text-primary: #18181B;
    --text-secondary: #3F3F46;
    --text-tertiary: #71717A;
    --text-muted: #A1A1AA;

    --accent: #E85A3C;
    --accent-hover: #D14D31;
    --accent-subtle: rgba(232, 90, 60, 0.1);
    --accent-glow: rgba(232, 90, 60, 0.4);

    --border: rgba(0, 0, 0, 0.08);
    --border-strong: rgba(0, 0, 0, 0.12);

    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);

    --glow-color: rgba(232, 90, 60, 0.15);

    --success: #16A34A;
    --warning: #EA580C;
    --error: #DC2626;

    --gradient-text: linear-gradient(135deg, #E85A3C 0%, #7C3AED 100%);
    --accent-gradient: linear-gradient(135deg, #E85A3C 0%, #7C3AED 100%);
    --gradient-orb-1: radial-gradient(circle, rgba(232, 90, 60, 0.25) 0%, transparent 70%);
    --gradient-orb-2: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.1);
    --shadow-xl: 0 24px 64px rgba(0,0,0,0.14);

    /* Typography */
    --font-display: 'Instrument Sans', -apple-system, sans-serif;
    --font-body: 'Instrument Sans', -apple-system, sans-serif;
    --font-editorial: 'Newsreader', Georgia, serif;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-2xl: 28px;
    --radius-full: 9999px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --duration-fast: 150ms;
    --duration-base: 300ms;
    --duration-slow: 500ms;
}

/* ===== DARK THEME ===== */
[data-theme="dark"] {
    --bg-primary: #09090B;
    --bg-secondary: #18181B;
    --bg-tertiary: #27272A;
    --bg-elevated: #1F1F23;

    --text-primary: #FAFAFA;
    --text-secondary: #D4D4D8;
    --text-tertiary: #A1A1AA;
    --text-muted: #71717A;

    --accent: #F97316;
    --accent-hover: #FB923C;
    --accent-subtle: rgba(249, 115, 22, 0.15);
    --accent-glow: rgba(249, 115, 22, 0.5);

    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.12);

    --glass-bg: rgba(24, 24, 27, 0.8);
    --glass-border: rgba(255, 255, 255, 0.1);

    --glow-color: rgba(249, 115, 22, 0.2);

    --gradient-text: linear-gradient(135deg, #F97316 0%, #A855F7 100%);
    --accent-gradient: linear-gradient(135deg, #F97316 0%, #A855F7 100%);
    --gradient-orb-1: radial-gradient(circle, rgba(249, 115, 22, 0.2) 0%, transparent 70%);
    --gradient-orb-2: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);

    --shadow-xs: 0 1px 2px rgba(0,0,0,0.2);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.4);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.5);
    --shadow-xl: 0 24px 64px rgba(0,0,0,0.6);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: background var(--duration-slow) var(--ease-out),
                color var(--duration-slow) var(--ease-out);
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Prevent horizontal scroll on all elements */
* {
    max-width: 100%;
}

img, video, canvas, svg {
    max-width: 100%;
    height: auto;
}

/* Remove all link underlines globally */
a {
    text-decoration: none;
}

::selection {
    background: var(--accent);
    color: white;
}

/* ===== NOISE OVERLAY ===== */
.noise-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

[data-theme="dark"] .noise-overlay {
    opacity: 0.04;
}

/* ===== CUSTOM CURSOR (disabled - using default system cursor) ===== */
.cursor-dot, .cursor-outline {
    display: none !important;
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-5);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-4);
    }
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.75rem, 6vw, 4.25rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

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

em {
    font-family: var(--font-editorial);
    font-style: italic;
    color: var(--accent);
}

strong {
    font-weight: 600;
    color: var(--text-primary);
}

/* ===== BUTTONS ===== */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    overflow: hidden;
    transition: all var(--duration-base) var(--ease-out);
    will-change: transform;
}

.btn-text {
    position: relative;
    z-index: 1;
}

.btn-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,0.2) 50%, transparent 80%);
    transform: translateX(-100%);
    transition: transform 0.6s var(--ease-out);
}

.btn:hover .btn-shine {
    transform: translateX(100%);
}

.btn-arrow {
    width: 18px;
    height: 18px;
    transition: transform var(--duration-base) var(--ease-out);
}

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

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 2px 12px var(--accent-glow);
}

.btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1.5px solid var(--border-strong);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

.btn-ghost:hover {
    color: var(--accent);
}

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

.btn-block {
    width: 100%;
}

/* ===== GLASS CARD ===== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-4) 0;
    transition: all var(--duration-base) var(--ease-out);
}

.nav.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: var(--space-3) 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    text-decoration: none;
    color: var(--text-primary);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.logo .logo-ai {
    color: var(--accent) !important;
    font-weight: 700;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    margin-left: var(--space-1);
    transition: transform var(--duration-base) var(--ease-out);
}

.logo:hover .logo-dot {
    transform: scale(1.3);
}

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

.nav-link {
    position: relative;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-tertiary);
    text-decoration: none;
    transition: color var(--duration-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--duration-base) var(--ease-out);
}

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

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

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

/* Hide mobile-only elements on desktop */
.mobile-only {
    display: none;
}

/* Theme Toggle */
.theme-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--duration-base);
}

.theme-toggle:hover {
    background: var(--accent-subtle);
    border-color: var(--accent);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
    transition: transform var(--duration-base) var(--ease-out);
}

.icon-moon { display: none; }

[data-theme="dark"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: block; }

.theme-toggle:hover svg {
    transform: rotate(15deg);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 12px;
    background: var(--bg-tertiary);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--duration-base) var(--ease-out);
    position: relative;
    z-index: 1001;
}

.mobile-menu-btn:hover {
    background: var(--accent-subtle);
    border-color: var(--accent);
}

.mobile-menu-btn span {
    width: 100%;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: var(--radius-full);
    transition: all var(--duration-base) var(--ease-out);
}

.mobile-menu-btn:hover span {
    background: var(--accent);
}

.mobile-menu-btn.active {
    background: var(--accent);
    border-color: var(--accent);
}

.mobile-menu-btn.active span {
    background: white;
}

.mobile-menu-btn.active span:first-child {
    transform: translateY(7.5px) rotate(45deg);
}

.mobile-menu-btn.active span:last-child {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    padding: 160px 0 80px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    will-change: transform;
}

.gradient-orb-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
    background: var(--gradient-orb-1);
}

.gradient-orb-2 {
    width: 500px;
    height: 500px;
    bottom: -100px;
    left: -200px;
    background: var(--gradient-orb-2);
}

.grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
}

.hero > .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) var(--space-4);
    background: var(--accent-subtle);
    border: 1px solid var(--accent);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: var(--space-6);
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-title {
    margin-bottom: var(--space-6);
}

.hero-title-highlight {
    display: block;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: var(--space-8);
    max-width: 540px;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.hero-cta-note {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 10;
    animation: fadeInUp 0.8s ease-out 1s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: var(--border);
    position: relative;
    overflow: hidden;
}

.scroll-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    position: absolute;
    left: -2.5px;
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0%, 100% { top: 0; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

@media (max-width: 768px) {
    .hero-scroll-indicator {
        display: none;
    }
}

/* Hero Visual */
.hero-visual {
    position: relative;
    z-index: 2;
}

.chat-demo {
    position: relative;
}

.chat-window {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.chat-header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-5);
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border);
}

.chat-dots {
    display: flex;
    gap: 6px;
}

.chat-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: dotPop 0.5s var(--ease-out) calc(var(--i) * 0.1s) both;
}

.chat-dots span:nth-child(1) { background: #EF4444; }
.chat-dots span:nth-child(2) { background: #EAB308; }
.chat-dots span:nth-child(3) { background: #22C55E; }

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

.chat-title {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
}

.chat-body {
    padding: var(--space-5);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    background: var(--bg-secondary);
}

.chat-msg {
    max-width: 85%;
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-lg);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.chat-msg.user {
    align-self: flex-end;
    background: var(--accent);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-msg.ai {
    align-self: flex-start;
    background: var(--bg-tertiary);
    border-bottom-left-radius: 4px;
}

.chat-msg.ai p {
    color: var(--text-secondary);
}

.typing-dots {
    display: flex;
    gap: 4px;
    padding: var(--space-1) 0;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-6px); opacity: 1; }
}

.ai-response {
    display: none;
    animation: fadeIn var(--duration-slow) var(--ease-out);
}

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

.chat-reflection {
    position: absolute;
    bottom: -60%;
    left: 5%;
    right: 5%;
    height: 60%;
    background: linear-gradient(to bottom, var(--glass-bg), transparent);
    transform: scaleY(-1);
    opacity: 0.3;
    filter: blur(8px);
    border-radius: var(--radius-2xl);
    pointer-events: none;
}

/* Hero Stats */
.hero-stats {
    margin-top: var(--space-16);
    position: relative;
    z-index: 2;
}

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

.stat-card {
    padding: var(--space-6);
    text-align: center;
    border-radius: var(--radius-xl);
    transition: transform var(--duration-base) var(--ease-out),
                box-shadow var(--duration-base) var(--ease-out);
}

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

.stat-value {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent);
}

.stat-label {
    display: block;
    margin-top: var(--space-2);
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

/* ===== SECTIONS ===== */
.section {
    padding: var(--space-24) 0;
    position: relative;
}

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

.section-tag {
    display: inline-block;
    padding: var(--space-1) var(--space-4);
    background: var(--accent-subtle);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
}

.section-title {
    margin-bottom: var(--space-4);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-tertiary);
}

/* ===== PROBLEM SECTION ===== */
.section-problem {
    background: var(--bg-secondary);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-12);
}

.problem-card {
    position: relative;
    padding: var(--space-8);
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    transition: all var(--duration-base) var(--ease-out);
    will-change: transform;
}

.card-glow {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity var(--duration-base);
    pointer-events: none;
}

.card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-5);
    color: var(--accent);
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.problem-card h3 {
    margin-bottom: var(--space-3);
}

.problem-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Callout Box */
.callout-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
    padding: var(--space-8);
    background: var(--accent-subtle);
    border: 1px solid var(--accent);
    border-radius: var(--radius-xl);
}

.callout-content h3 {
    color: var(--accent);
    margin-bottom: var(--space-2);
}

.callout-content p {
    max-width: 540px;
}

/* ===== SOLUTION SECTION ===== */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-16);
}

.process-step {
    display: grid;
    grid-template-columns: 80px 1fr 320px;
    gap: var(--space-8);
    align-items: start;
}

.process-step:nth-child(even) {
    direction: rtl;
}

.process-step:nth-child(even) > * {
    direction: ltr;
}

.step-number-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
}

.step-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    line-height: 1;
}

.step-line {
    width: 2px;
    height: 120px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    opacity: 0.3;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-3);
}

.step-content > p {
    margin-bottom: var(--space-6);
}

.step-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.step-features li {
    position: relative;
    padding-left: var(--space-6);
    font-size: 0.9375rem;
    color: var(--text-tertiary);
}

.step-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.step-visual {
    position: relative;
}

.visual-card {
    padding: var(--space-6);
    border-radius: var(--radius-xl);
}

/* Audit List */
.audit-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.audit-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.audit-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
}

.audit-item.done .audit-icon {
    background: var(--success);
    position: relative;
}

.audit-item.done .audit-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 5px;
    border: 2px solid white;
    border-top: none;
    border-right: none;
    transform: translate(-50%, -60%) rotate(-45deg);
}

.audit-item.loading .audit-icon {
    border: 2px solid var(--border-strong);
    border-top-color: var(--accent);
    animation: spin 1s linear infinite;
}

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

/* Meter Widget */
.meter-widget {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.meter-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.meter-track {
    height: 10px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.meter-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--accent), var(--success));
    border-radius: var(--radius-full);
    transition: width 1.5s var(--ease-out);
}

.meter-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--success);
    line-height: 1;
}

.meter-value small {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Platform Grid */
.platform-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.platform-chip {
    padding: var(--space-2) var(--space-4);
    background: var(--accent-subtle);
    border: 1px solid var(--accent);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--accent);
    animation: chipPop 0.5s var(--ease-out) calc(var(--delay) * 0.15s) both;
}

@keyframes chipPop {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

/* ===== PRICING SECTION ===== */
.section-pricing {
    background: var(--bg-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-12);
}

.pricing-card {
    position: relative;
    padding: var(--space-8);
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    transition: all var(--duration-base) var(--ease-out);
    will-change: transform;
}

.pricing-card-featured {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: var(--space-1) var(--space-4);
    background: var(--accent);
    color: white;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-full);
}

.pricing-header {
    text-align: center;
    padding-bottom: var(--space-6);
    margin-bottom: var(--space-6);
    border-bottom: 1px solid var(--border);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-2);
}

.pricing-header p {
    font-size: 0.875rem;
    margin-bottom: var(--space-5);
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--space-1);
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-tertiary);
}

.price-value {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.price-period {
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.pricing-features li {
    position: relative;
    padding-left: var(--space-6);
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.pricing-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 14px;
    height: 10px;
    border: 2px solid var(--success);
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
}

/* Pricing Alt */
.pricing-alt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-8);
    border-radius: var(--radius-xl);
}

.pricing-alt h3 {
    margin-bottom: var(--space-2);
}

.pricing-alt p {
    font-size: 0.9375rem;
}

.pricing-alt-action {
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

.alt-price {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent);
}

/* ===== RESULTS SECTION ===== */
.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-12);
}

.result-card {
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--duration-base) var(--ease-out);
    will-change: transform;
}

.result-metric {
    padding: var(--space-8);
    background: var(--accent-subtle);
    text-align: center;
}

.metric-prefix, .metric-suffix {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent);
}

.metric-value {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.metric-label {
    display: block;
    margin-top: var(--space-2);
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.result-content {
    padding: var(--space-6);
}

.result-tag {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: var(--accent);
    color: white;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-4);
}

.result-content p {
    font-size: 0.875rem;
    margin-bottom: var(--space-2);
    color: var(--text-secondary);
}

/* Trust Row */
.trust-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    padding: var(--space-8);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.trust-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-subtle);
    border-radius: var(--radius-md);
    color: var(--accent);
    flex-shrink: 0;
}

.trust-icon svg {
    width: 24px;
    height: 24px;
}

.trust-text {
    display: flex;
    flex-direction: column;
}

.trust-text strong {
    font-size: 0.9375rem;
    color: var(--text-primary);
}

.trust-text span {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
}

/* ===== AUDIT SECTION ===== */
.section-audit {
    background: var(--bg-secondary);
}

.audit-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.audit-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: var(--space-4);
}

.audit-content > p {
    margin-bottom: var(--space-8);
}

.audit-form {
    display: flex;
    gap: var(--space-3);
}

/* Input Styles */
.input-wrap {
    position: relative;
    flex: 1;
}

.input-field {
    width: 100%;
    padding: var(--space-4) var(--space-5);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--text-primary);
    background: var(--bg-primary);
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius-lg);
    transition: all var(--duration-fast);
}

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

.input-field:hover {
    border-color: var(--accent);
}

.input-field:focus {
    outline: none;
    border-color: var(--accent);
}

.input-focus-ring {
    display: none;
}

/* Audit Results */
.audit-results {
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    animation: slideUp var(--duration-slow) var(--ease-out);
}

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

.results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-8);
}

.results-header h3 {
    font-size: 1.25rem;
}

.score-ring {
    position: relative;
    width: 100px;
    height: 100px;
}

.score-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.score-ring-bg {
    fill: none;
    stroke: var(--border);
    stroke-width: 8;
}

.score-ring-fill {
    fill: none;
    stroke: url(#scoreGradient);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 327;
    stroke-dashoffset: 327;
    transition: stroke-dashoffset 1.5s var(--ease-out);
}

.score-ring::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent), #7C3AED);
    border-radius: 50%;
    opacity: 0;
}

.score-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.results-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-bottom: var(--space-8);
}

.result-row {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--bg-primary);
    border-radius: var(--radius-md);
}

.result-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.result-critical .result-dot { background: var(--error); }
.result-warning .result-dot { background: var(--warning); }
.result-success .result-dot { background: var(--success); }

.result-label {
    flex: 1;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-primary);
}

.result-status {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.results-footer {
    text-align: center;
}

.results-footer p {
    margin-bottom: var(--space-5);
}

/* ===== INSIGHTS SECTION ===== */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-12);
}

.insight-card {
    position: relative;
    padding: var(--space-8);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    transition: all var(--duration-base) var(--ease-out);
    will-change: transform;
}

.insight-tag {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: var(--accent-subtle);
    border-radius: var(--radius-sm);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin-bottom: var(--space-5);
}

.insight-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-3);
    line-height: 1.3;
}

.insight-card p {
    font-size: 0.9375rem;
    margin-bottom: var(--space-6);
}

.insight-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: 600;
    color: var(--accent);
    transition: gap var(--duration-fast);
}

.insight-link svg {
    width: 18px;
    height: 18px;
}

.insight-link:hover {
    gap: var(--space-3);
}

/* Newsletter */
.newsletter-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-8);
    border-radius: var(--radius-xl);
}

.newsletter-content h3 {
    margin-bottom: var(--space-2);
}

.newsletter-form {
    display: flex;
    gap: var(--space-3);
}

.newsletter-form .input-wrap {
    width: 280px;
}

/* ===== URGENCY SECTION ===== */
.section-urgency {
    background: var(--bg-tertiary);
    position: relative;
    overflow: hidden;
}

.urgency-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.gradient-orb-3 {
    width: 500px;
    height: 500px;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-orb-1);
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.gradient-orb-4 {
    width: 400px;
    height: 400px;
    bottom: -150px;
    right: -100px;
    background: var(--gradient-orb-2);
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.urgency-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.urgency-content h2 {
    margin-bottom: var(--space-4);
}

.urgency-content > p {
    font-size: 1.125rem;
    margin-bottom: var(--space-12);
}

/* FIXED TIMELINE */
.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: var(--space-12);
    padding: 0 var(--space-8);
}

.timeline-track {
    position: absolute;
    top: 8px;
    left: 80px;
    right: 80px;
    height: 2px;
    background: var(--border-strong);
}

.timeline-item {
    position: relative;
    flex: 1;
    text-align: center;
    max-width: 220px;
}

.timeline-marker {
    width: 18px;
    height: 18px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-strong);
    border-radius: 50%;
    margin: 0 auto var(--space-6);
    position: relative;
    z-index: 2;
    transition: all var(--duration-base);
}

.timeline-item.active .timeline-marker {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

.timeline-content {
    padding-top: var(--space-2);
}

.timeline-period {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: var(--space-2);
}

.timeline-content h4 {
    font-size: 1rem;
    margin-bottom: var(--space-1);
    color: var(--text-primary);
}

.timeline-content p {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

/* ===== CONTACT SECTION ===== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: start;
}

.contact-info h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: var(--space-4);
}

.contact-info > p {
    margin-bottom: var(--space-8);
}

.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.benefits-list svg {
    width: 20px;
    height: 20px;
    color: var(--success);
    flex-shrink: 0;
}

.benefits-list span {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.guarantee-box {
    padding: var(--space-6);
    background: var(--accent-subtle);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-lg);
}

.guarantee-box h4 {
    color: var(--accent);
    margin-bottom: var(--space-2);
}

.guarantee-box p {
    font-size: 0.9375rem;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
}

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

/* Custom Select Styling */
select.input-field {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23E85A3C' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
    padding-right: var(--space-12);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--text-primary);
}

select.input-field option {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: var(--space-4) var(--space-5);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.8;
}

[data-theme="dark"] select.input-field {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23F97316' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

select.input-field:hover {
    border-color: var(--accent);
    background-color: var(--bg-secondary);
}

select.input-field:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23E85A3C' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m18 15-6-6-6 6'/%3E%3C/svg%3E");
}

[data-theme="dark"] select.input-field:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23F97316' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m18 15-6-6-6 6'/%3E%3C/svg%3E");
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== FOOTER ===== */
.footer {
    padding: var(--space-16) 0 var(--space-8);
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

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

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

.footer-brand > p {
    font-size: 0.9375rem;
    color: var(--text-tertiary);
}

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

.footer-col h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-5);
    color: var(--text-primary);
}

.footer-col a {
    display: block;
    font-size: 0.875rem;
    color: var(--text-tertiary);
    text-decoration: none;
    margin-bottom: var(--space-3);
    transition: color var(--duration-fast);
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding-top: var(--space-8);
    border-top: 1px solid var(--border);
    text-align: center;
}

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

/* ===== REVEAL ANIMATIONS ===== */
/* Content is visible by default - animations are subtle enhancements */
.reveal-fade,
.reveal-slide-left,
.reveal-slide-right {
    opacity: 1;
    transition: all var(--duration-slow) var(--ease-out);
}

.reveal-fade {
    transform: translateY(15px);
}

.reveal-slide-left {
    transform: translateX(-20px);
}

.reveal-slide-right {
    transform: translateX(20px);
}

.reveal-fade.revealed,
.reveal-slide-left.revealed,
.reveal-slide-right.revealed {
    opacity: 1;
    transform: translate(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    /* Prevent horizontal overflow */
    html, body {
        max-width: 100vw;
        overflow-x: hidden;
    }

    .hero > .container {
        grid-template-columns: 1fr;
        gap: var(--space-12);
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        align-items: center;
    }

    .stats-row,
    .problem-grid,
    .pricing-grid,
    .results-grid,
    .insights-grid {
        grid-template-columns: 1fr;
        gap: var(--space-5);
    }

    /* Ensure cards don't cause overflow */
    .problem-card,
    .pricing-card,
    .result-card,
    .insight-card {
        width: 100%;
        box-sizing: border-box;
    }

    /* Fix process steps for mobile - reduce gaps and hide decorative lines */
    .process-steps {
        gap: var(--space-8);
    }

    .process-step {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .step-number-wrap {
        flex-direction: row;
        justify-content: flex-start;
        gap: var(--space-4);
    }

    .step-number {
        font-size: 2rem;
    }

    /* Hide the vertical line on mobile */
    .step-line {
        display: none;
    }

    .step-visual {
        grid-column: 1 / -1;
        margin-top: var(--space-4);
    }

    .process-step:nth-child(even) {
        direction: ltr;
    }

    .audit-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .trust-row {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .pricing-alt,
    .newsletter-box {
        flex-direction: column;
        text-align: center;
        gap: var(--space-6);
    }

    .callout-box {
        flex-direction: column;
        text-align: center;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .timeline {
        flex-direction: column;
        align-items: center;
        gap: var(--space-8);
        padding: 0;
    }

    .timeline-track {
        display: none;
    }

    .timeline-item {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    /* Hide desktop nav elements on mobile */
    .nav-links {
        display: none;
    }

    /* Hide only the CTA button in nav-actions, keep theme toggle */
    .nav-actions .btn {
        display: none;
    }

    /* Position theme toggle next to hamburger menu */
    .nav-actions {
        position: absolute;
        right: 70px;
        top: 50%;
        transform: translateY(-50%);
    }

    /* Hide mobile-only elements on desktop */
    .mobile-only {
        display: none;
    }

    /* Show mobile menu button */
    .mobile-menu-btn {
        display: flex;
    }

    /* Create mobile controls container */
    .nav-container {
        position: relative;
    }

    /* Mobile navigation menu container */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        padding: var(--space-8) var(--space-6);
        background: var(--glass-bg);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--glass-border);
        box-shadow: var(--shadow-lg);
        gap: var(--space-3);
        z-index: 999;
        animation: slideDown var(--duration-base) var(--ease-out);
        max-width: 100vw;
        overflow-x: hidden;
    }

    /* Show mobile CTA when menu is active */
    .nav-links.active .mobile-only {
        display: flex;
    }

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

    /* Mobile nav links styling - premium containers */
    .nav-link {
        display: flex;
        align-items: center;
        padding: var(--space-4) var(--space-5);
        background: var(--bg-tertiary);
        border: 1px solid transparent;
        border-radius: var(--radius-md);
        font-size: 1.0625rem;
        font-weight: 500;
        color: var(--text-primary);
        transition: all var(--duration-fast);
        text-align: left;
        width: 100%;
        position: relative;
    }

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

    /* Remove desktop underline effect */
    .nav-link::after {
        display: none;
    }

    /* Hover and active states */
    .nav-link:hover,
    .nav-link:active {
        background: var(--accent-subtle);
        color: var(--accent);
        border-color: var(--accent);
        transform: translateX(4px);
    }

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

    /* Active page indicator */
    .nav-link.active-page {
        background: var(--accent-subtle);
        border-left: 3px solid var(--accent);
        padding-left: calc(var(--space-5) - 2px);
    }

    .nav-link.active-page span {
        color: var(--accent);
        font-weight: 600;
    }

    /* Primary CTA button - stands out */
    .nav-link-cta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--space-3);
        padding: var(--space-4) var(--space-5);
        background: var(--accent);
        border: none;
        border-radius: var(--radius-md);
        font-size: 1rem;
        font-weight: 600;
        color: white;
        text-align: left;
        width: 100%;
        margin-top: var(--space-4);
        box-shadow: 0 4px 16px var(--accent-glow);
        transition: all var(--duration-fast);
        cursor: pointer;
    }

    .nav-link-cta span {
        color: white;
    }

    .nav-link-cta svg {
        width: 20px;
        height: 20px;
        color: white;
        flex-shrink: 0;
        transition: transform var(--duration-fast);
    }

    .nav-link-cta:hover,
    .nav-link-cta:active {
        background: var(--accent-hover);
        box-shadow: 0 6px 20px var(--accent-glow);
        transform: translateY(-2px);
    }

    .nav-link-cta:hover svg {
        transform: translateX(4px);
    }

    /* Keep theme toggle visible on mobile */
    .theme-toggle {
        width: 40px;
        height: 40px;
    }

    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .section {
        padding: var(--space-12) 0;
    }

    /* Reduce section header margin on mobile */
    .section-header {
        margin-bottom: var(--space-8);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-form .input-wrap {
        width: 100%;
    }

    .footer-nav {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    /* Additional mobile optimizations for smallest screens */
    .hero-title {
        font-size: 2.25rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .btn {
        font-size: 0.875rem;
        padding: var(--space-3) var(--space-5);
    }

    .btn-lg {
        font-size: 0.9375rem;
        padding: var(--space-4) var(--space-6);
    }

    .footer-nav {
        grid-template-columns: 1fr;
    }

    /* Optimize mobile menu for small screens */
    .nav-links.active {
        padding: var(--space-6) var(--space-4);
        gap: var(--space-2);
    }

    .nav-link {
        font-size: 1rem;
        padding: var(--space-3) var(--space-4);
    }

    .nav-link-cta {
        font-size: 0.9375rem;
        padding: var(--space-3) var(--space-4);
    }

    .nav-link-cta svg {
        width: 18px;
        height: 18px;
    }
}

/* ===== AI VISIBILITY ANALYZER STYLES ===== */

/* Scan Progress */
.scan-progress {
    margin-top: var(--space-6);
}

.progress-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.progress-step {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    opacity: 0.5;
    transition: all var(--duration-normal) var(--ease-out);
}

.progress-step.active {
    opacity: 1;
    background: var(--accent-subtle);
}

.progress-step.done {
    opacity: 0.7;
}

.progress-step.done .step-icon::before {
    content: '✓';
    color: var(--success);
    font-weight: 600;
}

.step-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.step-icon .spinner {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

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

.step-label {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.progress-step.active .step-label {
    color: var(--text-primary);
    font-weight: 500;
}

/* Scan Error */
.scan-error {
    margin-top: var(--space-6);
    padding: var(--space-6);
    text-align: center;
}

.error-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
}

.error-icon {
    width: 48px;
    height: 48px;
    color: var(--error);
}

.scan-error p {
    color: var(--text-secondary);
    max-width: 300px;
}

/* Email Capture */
.email-capture {
    padding: var(--space-8);
    animation: slideUp var(--duration-slow) var(--ease-out);
}

.email-capture h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-2);
}

.email-capture > p {
    color: var(--text-tertiary);
    margin-bottom: var(--space-6);
}

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

.privacy-note {
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: var(--space-4);
}

/* Insights Preview List */
.insights-preview-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
    padding: var(--space-4);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
}

.insights-preview-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.insights-preview-item svg {
    width: 18px;
    height: 18px;
    color: var(--success);
    flex-shrink: 0;
}

/* AI Teaser Section */
.ai-teaser {
    padding: var(--space-8);
    animation: slideUp var(--duration-slow) var(--ease-out);
}

.teaser-header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.teaser-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: pulse-glow 2s ease-in-out infinite;
}

.teaser-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.teaser-header h3 {
    font-size: 1.25rem;
    margin: 0;
}

.teaser-queries {
    margin-bottom: var(--space-6);
}

.teaser-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: var(--space-3);
}

.teaser-query-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.teaser-query-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    font-size: 0.9375rem;
    font-style: italic;
    color: var(--text-secondary);
}

.query-icon {
    font-size: 1.25rem;
}

.teaser-preview {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
    padding: var(--space-4);
    background: linear-gradient(135deg, rgba(232, 90, 60, 0.1) 0%, rgba(232, 90, 60, 0.05) 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(232, 90, 60, 0.2);
}

.teaser-preview-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 0.9375rem;
}

.preview-icon {
    font-size: 1.125rem;
}

/* AI Processing Animation */
.ai-processing {
    padding: var(--space-8);
    text-align: center;
    animation: slideUp var(--duration-slow) var(--ease-out);
}

.processing-animation {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto var(--space-6);
}

.processing-rings {
    position: absolute;
    inset: 0;
}

.processing-rings .ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--accent);
}

.ring-1 {
    animation: spin 1.5s linear infinite;
}

.ring-2 {
    inset: 10px;
    border-top-color: rgba(232, 90, 60, 0.6);
    animation: spin 2s linear infinite reverse;
}

.ring-3 {
    inset: 20px;
    border-top-color: rgba(232, 90, 60, 0.3);
    animation: spin 2.5s linear infinite;
}

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

.processing-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    color: var(--accent);
    animation: pulse-glow 1.5s ease-in-out infinite;
}

.processing-icon svg {
    width: 100%;
    height: 100%;
}

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

.ai-processing h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-6);
}

.processing-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    max-width: 280px;
    margin: 0 auto var(--space-6);
    text-align: left;
}

.processing-step {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 0.9375rem;
    color: var(--text-muted);
    opacity: 0.5;
    transition: all var(--duration-normal) var(--ease-out);
}

.processing-step.active {
    opacity: 1;
    color: var(--text-primary);
}

.processing-step.done {
    opacity: 1;
    color: var(--success);
}

.step-indicator {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.processing-step.active .step-indicator {
    border-color: var(--accent);
}

.processing-step.active .step-indicator::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 1s ease-in-out infinite;
}

.processing-step.done .step-indicator {
    background: var(--success);
    border-color: var(--success);
}

.processing-step.done .step-indicator::before {
    content: '✓';
    font-size: 12px;
    color: white;
    animation: none;
}

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

.processing-note {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Success Details */
.success-details {
    margin-top: var(--space-6);
    padding: var(--space-4);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    text-align: left;
}

.success-highlight {
    font-weight: 500;
    margin-bottom: var(--space-3);
}

/* Report Success */
.report-success {
    padding: var(--space-8);
    text-align: center;
    animation: slideUp var(--duration-slow) var(--ease-out);
}

.report-success .success-icon {
    width: 64px;
    height: 64px;
    color: var(--success);
    margin-bottom: var(--space-4);
}

.report-success h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-2);
}

.report-success > p {
    color: var(--text-tertiary);
    margin-bottom: var(--space-6);
}

.report-success .success-details {
    text-align: left;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    margin-bottom: var(--space-6);
}

.report-success .success-highlight {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    font-size: 0.9375rem;
}

.report-success .success-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.report-success .success-list li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.report-success .success-list li::before {
    content: '';
    width: 20px;
    height: 20px;
    background: var(--success);
    border-radius: 50%;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
}

/* Slide up animation */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Result row improvements */
.result-row {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-2);
}

.result-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.result-critical .result-dot {
    background: var(--error);
}

.result-warning .result-dot {
    background: var(--warning);
}

.result-success .result-dot {
    background: var(--success);
}

.result-error .result-dot {
    background: var(--text-muted);
}

.result-label {
    font-weight: 500;
    color: var(--text-primary);
    flex-shrink: 0;
}

.result-status {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin-left: auto;
    text-align: right;
}

/* Mobile adjustments for analyzer */
@media (max-width: 768px) {
    .email-capture,
    .report-success,
    .scan-error,
    .ai-teaser,
    .ai-processing {
        padding: var(--space-6);
    }

    .teaser-header {
        flex-direction: column;
        text-align: center;
    }

    .teaser-header h3 {
        text-align: center;
    }

    .processing-animation {
        width: 100px;
        height: 100px;
    }

    .processing-icon {
        width: 32px;
        height: 32px;
    }

    .result-row {
        flex-wrap: wrap;
    }

    .result-status {
        width: 100%;
        margin-left: calc(10px + var(--space-3));
        margin-top: var(--space-1);
        text-align: left;
    }

    /* Prevent iOS auto-zoom on input focus (requires 16px minimum) */
    .input-field,
    select.input-field,
    textarea.input-field {
        font-size: 16px;
    }
}

/* ===== AI VISIBILITY CHECKER - REDESIGNED ===== */

.section-checker {
    position: relative;
    padding: var(--space-20) 0;
    overflow: hidden;
    background: var(--bg-secondary);
}

.checker-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.gradient-orb-checker-1 {
    position: absolute;
    width: 600px;
    height: 600px;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-orb-1);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
}

.gradient-orb-checker-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    bottom: -100px;
    right: -100px;
    background: var(--gradient-orb-2);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.checker-flow {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin: 0 auto;
}

.checker-state {
    animation: checkerFadeIn 0.5s var(--ease-out);
}

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

/* STATE 1: Start Form */
.checker-start {
    text-align: center;
}

.checker-header {
    margin-bottom: var(--space-10);
}

.checker-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: var(--space-4);
    line-height: 1.2;
}

.checker-subtitle {
    font-size: 1.125rem;
    color: var(--text-tertiary);
    max-width: 540px;
    margin: 0 auto;
}

.checker-form {
    max-width: 560px;
    margin: 0 auto;
}

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

.checker-input-wrap {
    flex: 1;
    position: relative;
}

.checker-input-wrap .input-icon {
    position: absolute;
    left: var(--space-4);
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    pointer-events: none;
}

.checker-input {
    padding-left: calc(var(--space-4) + 28px);
}

.checker-submit {
    flex-shrink: 0;
}

.checker-note {
    font-size: 0.875rem;
    color: var(--text-muted);
}

@media (max-width: 640px) {
    .checker-input-group {
        flex-direction: column;
    }

    .checker-submit {
        width: 100%;
    }
}

/* STATE 2: Scanning */
.checker-scanning {
    text-align: center;
    padding: var(--space-12) 0;
}

.scanning-visual {
    margin-bottom: var(--space-8);
}

.scan-orb {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto;
}

.scan-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--accent);
    opacity: 0.3;
}

.scan-ring-1 {
    animation: scanPulse 2s ease-out infinite;
}

.scan-ring-2 {
    animation: scanPulse 2s ease-out infinite 0.5s;
}

.scan-ring-3 {
    animation: scanPulse 2s ease-out infinite 1s;
}

@keyframes scanPulse {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.scan-center {
    position: absolute;
    inset: 30px;
    background: var(--accent-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    animation: scanRotate 3s linear infinite;
}

.scan-center svg {
    width: 40px;
    height: 40px;
}

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

.scanning-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-6);
}

.scanning-title span {
    color: var(--accent);
}

.scanning-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    max-width: 320px;
    margin: 0 auto;
    text-align: left;
}

.scan-step {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    opacity: 0.4;
    transition: all 0.3s var(--ease-out);
}

.scan-step.active {
    opacity: 1;
    background: var(--accent-subtle);
    border: 1px solid var(--accent);
}

.scan-step.done {
    opacity: 0.7;
}

.scan-step-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--border);
    position: relative;
    flex-shrink: 0;
}

.scan-step.active .scan-step-icon {
    border-color: var(--accent);
}

.scan-step.active .scan-step-icon::after {
    content: '';
    position: absolute;
    inset: 4px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 1s ease-in-out infinite;
}

.scan-step.done .scan-step-icon {
    background: var(--success);
    border-color: var(--success);
}

.scan-step.done .scan-step-icon::after {
    content: '✓';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 10px;
    font-weight: bold;
    animation: none;
}

.scan-step-label {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.scan-step.active .scan-step-label {
    color: var(--text-primary);
    font-weight: 500;
}

/* STATE 3: Technical Results */
.checker-results {
    text-align: center;
}

.results-card {
    padding: var(--space-8);
}

.results-score-section {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    padding-bottom: var(--space-8);
    margin-bottom: var(--space-6);
    border-bottom: 1px solid var(--border);
}

.score-display {
    flex-shrink: 0;
}

.score-ring-large {
    position: relative;
    width: 160px;
    height: 160px;
}

.score-ring-large svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.score-ring-fill-large {
    stroke-dasharray: 440;
    stroke-dashoffset: 440;
    transition: stroke-dashoffset 1.5s var(--ease-out);
}

.score-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.score-value {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.score-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: var(--space-1);
}

.score-verdict {
    text-align: left;
    flex: 1;
}

.score-verdict h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-2);
}

.score-verdict p {
    color: var(--text-tertiary);
}

.results-breakdown {
    margin-bottom: var(--space-8);
    text-align: left;
}

.results-breakdown h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: var(--space-4);
}

.results-grid {
    display: grid;
    gap: var(--space-3);
}

.result-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.result-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.result-item.success .result-indicator { background: var(--success); }
.result-item.warning .result-indicator { background: var(--warning); }
.result-item.critical .result-indicator { background: var(--error); }
.result-item.error .result-indicator { background: var(--text-muted); }

.result-name {
    font-weight: 500;
    color: var(--text-primary);
}

.result-detail {
    margin-left: auto;
    font-size: 0.875rem;
    color: var(--text-tertiary);
    text-align: right;
}

.results-cta {
    padding-top: var(--space-6);
    border-top: 1px solid var(--border);
}

.cta-teaser {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-5);
    background: linear-gradient(135deg, var(--accent-subtle), rgba(124, 58, 237, 0.1));
    border: 1px solid var(--accent);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-5);
    text-align: left;
}

.teaser-spark {
    width: 48px;
    height: 48px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: sparkPulse 2s ease-in-out infinite;
}

.teaser-spark svg {
    width: 24px;
    height: 24px;
    color: white;
}

@keyframes sparkPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 var(--accent-glow); }
    50% { transform: scale(1.05); box-shadow: 0 0 20px var(--accent-glow); }
}

.teaser-text strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}

.teaser-text span {
    font-size: 0.9375rem;
    color: var(--text-tertiary);
}

@media (max-width: 640px) {
    .results-score-section {
        flex-direction: column;
        text-align: center;
    }

    .score-verdict {
        text-align: center;
    }

    .cta-teaser {
        flex-direction: column;
        text-align: center;
    }
}

/* STATE 4: Email Capture */
.checker-email {
    text-align: center;
}

.email-card {
    padding: var(--space-8);
    max-width: 480px;
    margin: 0 auto;
}

.email-header {
    margin-bottom: var(--space-6);
}

.email-icon-wrap {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent) 0%, #7C3AED 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    animation: sparkPulse 2s ease-in-out infinite;
}

.email-icon-wrap svg {
    width: 32px;
    height: 32px;
    color: white;
}

.email-header h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-2);
}

.email-header p {
    color: var(--text-tertiary);
}

.email-preview {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-6);
    text-align: left;
}

.preview-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.preview-item svg {
    width: 18px;
    height: 18px;
    color: var(--success);
    flex-shrink: 0;
}

.email-form-centered {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

/* STATE 5: AI Processing */
.checker-processing {
    text-align: center;
    padding: var(--space-12) 0;
}

.ai-query-visual {
    margin-bottom: var(--space-8);
}

.query-orb {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto;
}

.query-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--accent-subtle);
    animation: queryPulse 2s ease-out infinite;
}

@keyframes queryPulse {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.4;
    }
    100% {
        transform: scale(0.8);
        opacity: 0.8;
    }
}

.query-center {
    position: absolute;
    inset: 40px;
    background: linear-gradient(135deg, var(--accent) 0%, #7C3AED 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: querySpin 8s linear infinite;
    box-shadow: 0 0 40px var(--accent-glow);
}

.query-center svg {
    width: 40px;
    height: 40px;
    color: white;
}

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

.processing-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-6);
}

.processing-title span {
    color: var(--accent);
}

.query-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    max-width: 360px;
    margin: 0 auto var(--space-6);
    text-align: left;
}

.query-step {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    opacity: 0.4;
    transition: all 0.5s var(--ease-out);
}

.query-step.active {
    opacity: 1;
    background: var(--accent-subtle);
}

.query-step.done {
    opacity: 1;
}

.query-step-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--border);
    flex-shrink: 0;
    position: relative;
}

.query-step.active .query-step-dot {
    border-color: var(--accent);
}

.query-step.active .query-step-dot::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 1s ease-in-out infinite;
}

.query-step.done .query-step-dot {
    background: var(--success);
    border-color: var(--success);
}

.query-step.done .query-step-dot::after {
    content: '✓';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 9px;
    font-weight: bold;
    animation: none;
}

.query-step span {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    font-style: italic;
}

.query-step.active span {
    color: var(--text-primary);
}

.processing-note {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* STATE 6: AI Insights Reveal (WOW MOMENT) */
.checker-insights {
    animation: insightsReveal 0.8s var(--ease-out);
}

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

.insights-reveal {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.insights-header {
    text-align: center;
    margin-bottom: var(--space-4);
}

.insights-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: linear-gradient(135deg, var(--accent) 0%, #7C3AED 100%);
    border-radius: var(--radius-full);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-4);
    animation: badgeGlow 2s ease-in-out infinite;
}

.insights-badge svg {
    width: 16px;
    height: 16px;
}

@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 0 20px var(--accent-glow); }
    50% { box-shadow: 0 0 40px var(--accent-glow), 0 0 60px rgba(124, 58, 237, 0.3); }
}

.insights-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: var(--space-2);
}

.insights-title span {
    color: var(--accent);
}

/* AI Score Card */
.insights-score-card {
    padding: var(--space-8);
    animation: cardSlideUp 0.6s var(--ease-out) 0.2s both;
}

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

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

.ai-score-ring {
    position: relative;
    width: 200px;
    height: 200px;
    flex-shrink: 0;
}

.ai-score-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.ai-score-bg {
    opacity: 0.3;
}

.ai-score-fill {
    stroke-dasharray: 534;
    stroke-dashoffset: 534;
    transition: stroke-dashoffset 2s var(--ease-out);
}

.ai-score-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ai-score-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.ai-score-percent {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent);
}

.ai-score-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: var(--space-1);
}

.ai-score-verdict {
    text-align: left;
    flex: 1;
}

.verdict-status {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-weight: 600;
    margin-bottom: var(--space-3);
}

.verdict-status.high {
    background: rgba(22, 163, 74, 0.15);
    color: var(--success);
}

.verdict-status.medium {
    background: rgba(234, 88, 12, 0.15);
    color: var(--warning);
}

.verdict-status.low {
    background: rgba(220, 38, 38, 0.15);
    color: var(--error);
}

.verdict-status.none {
    background: var(--bg-tertiary);
    color: var(--text-muted);
}

.verdict-icon::before {
    font-size: 1rem;
}

.verdict-status.high .verdict-icon::before { content: '✓'; }
.verdict-status.medium .verdict-icon::before { content: '!'; }
.verdict-status.low .verdict-icon::before { content: '✕'; }
.verdict-status.none .verdict-icon::before { content: '?'; }

#aiVerdictMessage {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 640px) {
    .ai-score-display {
        flex-direction: column;
        text-align: center;
    }

    .ai-score-ring {
        width: 160px;
        height: 160px;
    }

    .ai-score-number {
        font-size: 3rem;
    }

    .ai-score-verdict {
        text-align: center;
    }
}

/* Knowledge Card */
.insights-knowledge-card {
    padding: var(--space-6);
    animation: cardSlideUp 0.6s var(--ease-out) 0.4s both;
}

.knowledge-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.knowledge-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-subtle);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.knowledge-icon svg {
    width: 20px;
    height: 20px;
}

.knowledge-header h3 {
    font-size: 1.125rem;
}

.knowledge-status {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--space-4);
}

.knowledge-status.known {
    background: rgba(22, 163, 74, 0.15);
    color: var(--success);
}

.knowledge-status.unknown {
    background: rgba(220, 38, 38, 0.15);
    color: var(--error);
}

.knowledge-status .status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

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

/* Typewriter effect */
.typewriter {
    overflow: hidden;
    border-right: 2px solid var(--accent);
    animation: typewriterBlink 0.7s step-end infinite;
}

@keyframes typewriterBlink {
    from, to { border-color: transparent; }
    50% { border-color: var(--accent); }
}

.knowledge-services {
    margin-top: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid var(--border);
}

.services-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: var(--space-3);
}

.services-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.service-tag {
    padding: var(--space-2) var(--space-3);
    background: var(--accent-subtle);
    border: 1px solid var(--accent);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--accent);
    animation: tagPop 0.4s var(--ease-out) calc(var(--delay) * 0.1s) both;
}

@keyframes tagPop {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Competitors Card */
.insights-competitors-card {
    padding: var(--space-6);
    animation: cardSlideUp 0.6s var(--ease-out) 0.6s both;
}

.competitors-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.competitors-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-subtle);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.competitors-icon svg {
    width: 20px;
    height: 20px;
}

.competitors-header h3 {
    font-size: 1.125rem;
}

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

.competitor-row {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    animation: competitorSlide 0.5s var(--ease-out) calc(var(--delay) * 0.15s) both;
}

@keyframes competitorSlide {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.competitor-rank {
    width: 32px;
    height: 32px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

.competitor-row:first-child .competitor-rank {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: white;
}

.competitor-row:nth-child(2) .competitor-rank {
    background: linear-gradient(135deg, #94A3B8, #64748B);
    color: white;
}

.competitor-row:nth-child(3) .competitor-rank {
    background: linear-gradient(135deg, #CD7F32, #A0522D);
    color: white;
}

.competitor-info {
    flex: 1;
    min-width: 0;
}

.competitor-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}

.competitor-reason {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.competitor-row.is-you {
    border-color: var(--accent);
    background: var(--accent-subtle);
}

.competitor-row.is-you .competitor-name {
    color: var(--accent);
}

.competitor-row.is-you .competitor-name::after {
    content: ' (You!)';
    font-weight: 700;
}

.competitors-empty {
    padding: var(--space-6);
    text-align: center;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
}

.competitors-empty p {
    color: var(--text-muted);
}

/* Recommendation Card */
.insights-recommendation-card {
    padding: var(--space-6);
    animation: cardSlideUp 0.6s var(--ease-out) 0.8s both;
}

.recommendation-content {
    text-align: center;
}

.recommendation-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: var(--space-3);
}

.recommendation-badge.recommended {
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.2), rgba(22, 163, 74, 0.1));
    color: var(--success);
    border: 1px solid var(--success);
}

.recommendation-badge.not-recommended {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2), rgba(220, 38, 38, 0.1));
    color: var(--error);
    border: 1px solid var(--error);
}

.recommendation-badge.partial {
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.2), rgba(234, 88, 12, 0.1));
    color: var(--warning);
    border: 1px solid var(--warning);
}

.recommendation-badge .rec-icon::before {
    font-size: 1.25rem;
}

.recommendation-badge.recommended .rec-icon::before { content: '🏆'; }
.recommendation-badge.not-recommended .rec-icon::before { content: '⚠️'; }
.recommendation-badge.partial .rec-icon::before { content: '📊'; }

.recommendation-detail {
    color: var(--text-secondary);
}

/* CTA Section */
.insights-cta {
    text-align: center;
    padding-top: var(--space-6);
    animation: cardSlideUp 0.6s var(--ease-out) 1s both;
}

.cta-message {
    margin-bottom: var(--space-6);
}

.cta-message h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-2);
}

.cta-message p {
    color: var(--text-tertiary);
}

.insights-cta .btn-primary {
    margin-bottom: var(--space-4);
}

/* Error State */
.checker-error {
    text-align: center;
}

.error-card {
    padding: var(--space-8);
    max-width: 400px;
    margin: 0 auto;
}

.error-icon-wrap {
    width: 64px;
    height: 64px;
    background: rgba(220, 38, 38, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
}

.error-icon-wrap svg {
    width: 32px;
    height: 32px;
    color: var(--error);
}

.error-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-2);
}

.error-card p {
    color: var(--text-tertiary);
    margin-bottom: var(--space-6);
}

/* ===== SERVICE SELECTOR ===== */
.service-selector {
    margin-bottom: var(--space-4);
}

.service-selector-label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: var(--space-3);
}

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

.service-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-3);
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--duration-base) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.service-chip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity var(--duration-base) var(--ease-out);
}

.service-chip:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.service-chip:hover .service-chip-icon {
    color: var(--accent);
    transform: scale(1.1);
}

.service-chip.selected {
    border-color: var(--accent);
    background: var(--accent-subtle);
    box-shadow: 0 0 0 1px var(--accent), var(--shadow-md);
}

.service-chip.selected::before {
    opacity: 0.05;
}

.service-chip.selected .service-chip-icon {
    color: var(--accent);
    background: var(--accent);
}

.service-chip.selected .service-chip-icon svg {
    color: white;
}

.service-chip.selected .service-chip-text {
    color: var(--text-primary);
    font-weight: 600;
}

.service-chip-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    color: var(--text-tertiary);
    transition: all var(--duration-base) var(--ease-out);
    position: relative;
    z-index: 1;
}

.service-chip-icon svg {
    width: 20px;
    height: 20px;
    transition: color var(--duration-base) var(--ease-out);
}

.service-chip-text {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--duration-base) var(--ease-out);
    position: relative;
    z-index: 1;
    text-align: center;
}

/* Mobile: stack chips */
@media (max-width: 480px) {
    .service-chips {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-2);
    }
    
    .service-chip {
        padding: var(--space-3) var(--space-2);
    }
    
    .service-chip-icon {
        width: 36px;
        height: 36px;
    }
    
    .service-chip-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .service-chip-text {
        font-size: 0.75rem;
    }
}
