/* ============================================
   PHANTOM - Monochrome Dark + Chrome Theme
   ============================================ */

:root,
[data-theme="dark"] {
    /* Background - Pure Black Chrome */
    --bg:           #000000;
    --bg-surface:   #050505;
    --bg-card:      rgba(255, 255, 255, 0.04);
    --bg-card-hover:rgba(255, 255, 255, 0.08);
    --border:       rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.12);

    /* Blue Chrome Palette */
    --accent:       #7eb8ff;
    --accent-light: #a8d4ff;
    --accent-dim:   #4a7ab8;
    --accent-rgb:   126, 184, 255;
    --accent-glow:  rgba(126, 184, 255, 0.35);
    --accent-glow-strong: rgba(126, 184, 255, 0.45);

    /* Text */
    --text:         #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted:   #666666;

    /* Gradients */
    --gradient-accent: linear-gradient(135deg, #7eb8ff 0%, #a8d4ff 50%, #7eb8ff 100%);
    --gradient-card:   linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
    --gradient-glow:   radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);

    /* Typography - SF Pro Only */
    --font-heading: 'SF Pro Display', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --font-body:    'SF Pro Display', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

    /* Spacing */
    --section-pad: 120px;
    --container-width: 1200px;

    /* Theme-specific */
    --nav-scrolled-bg: rgba(0, 0, 0, 0.92);
    --mobile-menu-bg:  rgba(0, 0, 0, 0.97);
    --ghost-filter:    brightness(0.6) saturate(0.3);
    --ghost-hover-filter: brightness(0.8) saturate(0.5);
    --logo-filter:     none;
    --selection-color:  var(--bg);
}

[data-theme="light"] {
    /* Background */
    --bg:           #f4f6fb;
    --bg-surface:   #eaeff7;
    --bg-card:      #ffffff;
    --bg-card-hover:#f0f4ff;
    --border:       #d4dae8;
    --border-light: #bcc5d8;

    /* Blue Chrome Palette - deeper for contrast on light */
    --accent:       #3b7fcc;
    --accent-light: #2a6cb8;
    --accent-dim:   #5a9ae0;
    --accent-rgb:   59, 127, 204;
    --accent-glow:  rgba(59, 127, 204, 0.15);
    --accent-glow-strong: rgba(59, 127, 204, 0.25);

    /* Text */
    --text:         #0f1729;
    --text-secondary: #3d4f6e;
    --text-muted:   #7b8da8;

    /* Gradients */
    --gradient-accent: linear-gradient(135deg, #3b7fcc 0%, #8aafd4 50%, #3b7fcc 100%);
    --gradient-card:   linear-gradient(135deg, rgba(59,127,204,0.06) 0%, rgba(59,127,204,0.02) 100%);
    --gradient-glow:   radial-gradient(circle, rgba(59,127,204,0.1) 0%, transparent 70%);

    /* Theme-specific */
    --nav-scrolled-bg: rgba(244, 246, 251, 0.92);
    --mobile-menu-bg:  rgba(244, 246, 251, 0.97);
    --ghost-filter:    brightness(0.4) saturate(0.2);
    --ghost-hover-filter: brightness(0.5) saturate(0.3);
    --logo-filter:     brightness(0) saturate(0) invert(0.08);
    --selection-color:  #ffffff;
}

/* ============================================
   GLASSMORPHISM SYSTEM
   ============================================ */
:root {
    --glass-bg: rgba(255,255,255,0.035);
    --glass-bg-strong: rgba(255,255,255,0.06);
    --glass-border: rgba(255,255,255,0.08);
    --glass-border-hover: rgba(255,255,255,0.2);
    --glass-blur: 20px;
    --glass-blur-heavy: 36px;
    --ghost-glow: rgba(255,255,255,0.06);
    --ghost-trail: rgba(255,255,255,0.03);
    /* Vibrant accent for pops of color - tracks rainbow via var(--accent) */
    --accent-vibrant: var(--accent);
    --accent-vibrant-rgb: var(--accent-rgb);
}

[data-theme="light"] {
    --glass-bg: rgba(255,255,255,0.45);
    --glass-bg-strong: rgba(255,255,255,0.65);
    --glass-border: rgba(59,127,204,0.12);
    --glass-border-hover: rgba(59,127,204,0.3);
    --ghost-glow: rgba(59,127,204,0.12);
    --ghost-trail: rgba(59,127,204,0.06);
}

/* Glass utility classes */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12), 0 0 0 1px rgba(255,255,255,0.04);
}

.glass-strong {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(var(--glass-blur-heavy));
    -webkit-backdrop-filter: blur(var(--glass-blur-heavy));
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15), 0 0 0 1px rgba(255,255,255,0.04), inset 0 1px 0 rgba(255,255,255,0.05);
}

.glass-hover {
    transition: border-color 0.6s ease, box-shadow 0.6s ease, transform 0.6s ease;
}

.glass-hover:hover {
    border-color: var(--accent-vibrant);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2), 0 0 0 1px rgba(var(--accent-rgb),0.15);
    transform: translateY(-3px);
}

.ghost-glow {
    box-shadow: 0 0 15px var(--ghost-glow), 0 0 30px var(--ghost-trail);
    animation: ghostPulse 4s ease-in-out infinite;
}

.ghost-float {
    animation: ghostFloat 4s ease-in-out infinite;
}

.spectral-shimmer {
    position: relative;
    overflow: hidden;
}

.spectral-shimmer::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, transparent 25%, rgba(var(--accent-rgb),0.15) 50%, transparent 75%);
    background-size: 200% 200%;
    animation: spectralShimmer 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    -webkit-mask-composite: xor;
    padding: 2px;
}

/* Ghost keyframe animations */
@keyframes ghostFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes ghostPulse {
    0%, 100% { box-shadow: 0 0 15px var(--ghost-glow), 0 0 30px var(--ghost-trail); }
    50% { box-shadow: 0 0 20px var(--ghost-glow), 0 0 40px rgba(255,255,255,0.05); }
}

@keyframes spectralShimmer {
    0% { background-position: -200% -200%; }
    100% { background-position: 200% 200%; }
}

@keyframes ghostTrail {
    0% { opacity: 0.6; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-20px); }
}

@keyframes ectoFlow {
    0% { stroke-dashoffset: 1000; }
    100% { stroke-dashoffset: 0; }
}

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

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

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

@keyframes orbitalSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.15); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes convergeDot {
    0% { opacity: 0; transform: translate(var(--cx), var(--cy)) scale(0.5); }
    60% { opacity: 1; }
    100% { opacity: 0; transform: translate(0, 0) scale(0); }
}

/* Glass orb decorative elements */
.glass-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.04);
    pointer-events: none;
    z-index: 1;
}

/* 3D floating ring — decorative element */
.floating-ring {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(255,255,255,0.06);
    border-radius: 50%;
    pointer-events: none;
    animation: ringFloat 8s ease-in-out infinite, ringSpin 20s linear infinite;
    transform-style: preserve-3d;
}

@keyframes ringFloat {
    0%, 100% { transform: translateY(0) rotateX(60deg); }
    50% { transform: translateY(-20px) rotateX(60deg); }
}

@keyframes ringSpin {
    0% { transform: rotateX(60deg) rotateZ(0deg); }
    100% { transform: rotateX(60deg) rotateZ(360deg); }
}

/* Gradient line accent — horizontal glow bar */
.glow-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    margin: 40px auto;
    max-width: 300px;
    position: relative;
}

.glow-line::after {
    content: '';
    position: absolute;
    inset: -3px 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
    filter: blur(6px);
}

/* Section header subtle line animation */
@keyframes lineExpand {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* 3D card depth layer effect — glass cards get inner light */
.glass-strong::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 5%, rgba(255,255,255,0.08) 30%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.08) 70%, transparent 95%);
    border-radius: inherit;
    z-index: 1;
}

/* Animated gradient orb (behind sections) */
.section-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
    z-index: 0;
    animation: orbPulse 6s ease-in-out infinite;
}

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

/* Animated dots pattern background */
.dots-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

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

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

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text-secondary);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* Clip absolutely-positioned ghosts so they don't extend page height */
html {
    overflow-x: hidden;
}

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

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

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3 {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -0.03em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); text-align: center; }
h3 { font-size: 1.25rem; }

.text-accent {
    color: var(--accent-light);
}

.section-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
    text-align: center;
}

.section-sub {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 16px auto 0;
    text-align: center;
}

/* ── Rotating Words Animation ── */
.rotate-words {
    display: inline-block;
    position: relative;
    vertical-align: bottom;
    overflow: hidden;
    height: 1.15em;
    min-width: 3ch;
}

.rotate-word {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
    color: var(--accent);
    font-weight: 700;
}

.rotate-word.active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
}

.rotate-word.exit-up {
    opacity: 0;
    transform: translateY(-100%);
}


section {
    padding: var(--section-pad) 0;
    position: relative;
    overflow: hidden;
}

/* Section divider - gradient accent line between major sections */
section + section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(400px, 60%);
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(var(--accent-rgb), 0.25) 30%, rgba(var(--accent-rgb), 0.4) 50%, rgba(var(--accent-rgb), 0.25) 70%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* Skip divider on hero (first section) and sections with special backgrounds */
#hero + section::before,
#problem::before {
    display: none;
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Directional reveal variants */
.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
    opacity: 1;
    transform: translateX(0) scale(1);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 32px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.5s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    min-height: 44px;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--bg);
    box-shadow: 0 0 20px rgba(var(--accent-rgb),0.15);
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(var(--accent-rgb),0.25);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-light);
}

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

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent-dim);
}

.btn-outline:hover {
    background: var(--accent-glow);
    border-color: var(--accent);
}

.btn-sm {
    padding: 14px 24px;
    font-size: 0.9rem;
    min-height: 44px;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

.btn-nav {
    background: var(--gradient-accent);
    color: var(--bg);
    padding: 10px 22px;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(var(--accent-rgb),0.12);
    display: inline-flex;
    align-items: center;
    gap: 2px;
    letter-spacing: 0.3px;
}

.btn-nav:hover {
    box-shadow: 0 0 20px rgba(var(--accent-rgb),0.2);
    transform: translateY(-2px);
}

.btn-nav svg {
    transition: transform 0.3s ease;
}

.btn-nav:hover svg {
    transform: translateX(3px);
}

.btn-nav-login {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text);
    border: 1px solid var(--glass-border);
    padding: 10px 22px;
    font-size: 0.82rem;
    border-radius: 10px;
    font-weight: 500;
    text-decoration: none;
    font-family: var(--font-heading);
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-nav-login:hover {
    background: var(--glass-bg-strong);
    border-color: var(--glass-border-hover);
    color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.btn-nav-demo {
    background: transparent;
    color: var(--text-muted);
    padding: 10px 18px;
    font-size: 0.82rem;
    border-radius: 10px;
    font-weight: 500;
    text-decoration: none;
    font-family: var(--font-heading);
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.btn-nav-demo:hover {
    color: var(--accent-light);
}

.btn-nav-demo::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 1px;
    background: var(--accent);
    transition: transform 0.3s ease;
    transform-origin: center;
}

.btn-nav-demo:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Pulse animation for primary CTA */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(var(--accent-rgb),0.12); }
    50% { box-shadow: 0 0 30px rgba(var(--accent-rgb),0.2); }
}

.btn-primary {
    animation: pulse-glow 3s ease-in-out infinite;
}

.btn-primary:hover {
    animation: none;
    box-shadow: 0 0 25px rgba(var(--accent-rgb),0.2);
}

/* ============================================
   NAV
   ============================================ */
#nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    background: transparent;
    animation: navSlideDown 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

#nav.scrolled {
    padding: 12px 0;
    background: rgba(10,10,10,0.75);
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 2px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

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

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: var(--mobile-menu-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 80px 24px;
    overflow-y: auto;
}

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

.mobile-menu a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    transition: color 0.3s ease;
}

.mobile-menu a:not(.btn) {
    padding: 10px 0;
    min-height: 44px;
}

.mobile-menu a:hover {
    color: var(--accent-light);
}

/* ============================================
   NAV DROPDOWN / MEGA-MENU
   ============================================ */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-trigger {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.nav-dropdown-trigger::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.nav-dropdown-trigger:hover {
    color: var(--accent-light);
}

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

.nav-dropdown-chevron {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.nav-dropdown.active .nav-dropdown-chevron {
    transform: rotate(180deg);
}

.nav-dropdown-panel {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    min-width: 680px;
    background: rgba(14, 16, 26, 0.95);
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.03) inset;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 1001;
}

.nav-dropdown.active .nav-dropdown-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 16px;
}

.nav-dropdown-col:not(:last-child) {
    border-right: 1px solid rgba(255,255,255,0.06);
}

.nav-dropdown-heading {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 8px;
    padding: 0 8px;
}

.nav-dropdown-col a {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--text-secondary);
    padding: 6px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-dropdown-col a:hover {
    color: var(--text);
    background: rgba(255,255,255,0.05);
}

.nav-dropdown-cta {
    background: rgba(255,255,255,0.02);
    border-radius: 12px;
    padding: 16px !important;
    border-right: none !important;
    gap: 8px !important;
}

.nav-dropdown-cta p {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0 0 8px;
}

.nav-dropdown-cta .btn {
    font-size: 0.8rem;
    padding: 8px 16px;
    width: 100%;
    text-align: center;
    justify-content: center;
}

.nav-dropdown-cta .btn-primary {
    color: #fff !important;
    font-weight: 600;
}

.nav-dropdown-viewall {
    font-size: 0.78rem !important;
    color: var(--accent) !important;
    text-align: center;
    margin-top: 4px;
    font-weight: 500 !important;
}

.nav-dropdown-viewall:hover {
    color: var(--accent-light) !important;
    background: transparent !important;
}

/* Mobile Submenu (accordion in mobile menu) */
.mobile-submenu {
    width: 100%;
    text-align: center;
}

.mobile-submenu-trigger {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    background: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    min-height: 44px;
    transition: color 0.3s ease;
}

.mobile-submenu-trigger:hover {
    color: var(--accent-light);
}

.mobile-submenu-trigger .nav-dropdown-chevron {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.mobile-submenu.active .mobile-submenu-trigger .nav-dropdown-chevron {
    transform: rotate(180deg);
}

.mobile-submenu-panel {
    display: none;
    flex-direction: column;
    gap: 2px;
    padding: 8px 0 16px;
}

.mobile-submenu.active .mobile-submenu-panel {
    display: flex;
}

.mobile-submenu-heading {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin: 12px 0 4px;
}

.mobile-submenu-panel a {
    font-size: 1rem !important;
    font-weight: 400 !important;
    color: var(--text-secondary) !important;
    padding: 6px 0 !important;
    min-height: auto !important;
}

.mobile-submenu-panel a:hover {
    color: var(--accent-light) !important;
}

.mobile-submenu-viewall {
    color: var(--accent) !important;
    font-weight: 500 !important;
    margin-top: 8px;
    font-size: 0.9rem !important;
}

@media (max-width: 768px) {
    .nav-dropdown-panel {
        display: none !important;
    }
}

/* ============================================
   HERO
   ============================================ */
#hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 24px 100px;
    position: relative;
    overflow: hidden;
}

/* Animated 3-color gradient mesh behind hero */
#hero::before {
    content: '';
    position: absolute;
    inset: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(167, 139, 250, 0.10) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(94, 220, 200, 0.08) 0%, transparent 50%);
    animation: gradientMeshDrift 10s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

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

[data-theme="light"] #hero::before {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(59, 127, 204, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(108, 92, 231, 0.07) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(59, 180, 160, 0.06) 0%, transparent 50%);
}

#neonTubesCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.55;
    touch-action: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: heroFadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) both;
}

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

.hero-pre-headline {
    font-size: 0.82rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--accent);
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-title {
    font-family: var(--font-body);
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 24px;
}

.hero-slogan {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto 40px;
}
.hero-slogan strong {
    color: var(--text);
    font-weight: 600;
}

.hero-risk-reversal {
    margin-top: 16px;
    font-size: 0.82rem;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

/* ── Glass Button (21st.dev style) ── */
.glass-btn-wrap {
    display: inline-block;
    position: relative;
    border-radius: 50px;
    cursor: pointer;
}

.glass-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.glass-btn:hover svg {
    transform: translateX(3px);
}

.glass-btn-shadow {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(var(--accent-rgb), 0.25);
    filter: blur(24px);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.glass-btn-wrap:hover .glass-btn-shadow {
    opacity: 1;
}

/* ── Glowing Card Effect (rainbow border glow) ── */
.glow-card {
    position: relative;
    border-radius: 20px;
    --glow-spread: 20;
    --glow-start: 0;
    --glow-active: 0;
}

.glow-card > .glow-border {
    pointer-events: none;
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    border: 2px solid transparent;
    background: var(--glow-gradient, conic-gradient(
        from calc((var(--glow-start) - var(--glow-spread)) * 1deg),
        transparent 0deg,
        rgba(var(--accent-rgb), 0.8),
        transparent calc(var(--glow-spread) * 2deg)
    ));
    background-attachment: fixed;
    opacity: var(--glow-active);
    transition: opacity 0.3s ease;
    -webkit-mask-clip: padding-box, border-box;
    mask-clip: padding-box, border-box;
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
    -webkit-mask-image: linear-gradient(#0000, #0000), conic-gradient(
        from calc((var(--glow-start) - var(--glow-spread)) * 1deg),
        transparent 0deg,
        #fff,
        transparent calc(var(--glow-spread) * 2deg)
    );
    mask-image: linear-gradient(#0000, #0000), conic-gradient(
        from calc((var(--glow-start) - var(--glow-spread)) * 1deg),
        transparent 0deg,
        #fff,
        transparent calc(var(--glow-spread) * 2deg)
    );
}

.glow-card > .glow-blur {
    pointer-events: none;
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: conic-gradient(
        from calc((var(--glow-start) - var(--glow-spread)) * 1deg),
        transparent 0deg,
        rgba(var(--accent-rgb), 0.3),
        transparent calc(var(--glow-spread) * 2deg)
    );
    filter: blur(8px);
    opacity: var(--glow-active);
    transition: opacity 0.3s ease;
    z-index: -1;
}

/* Glow card adapts to container border-radius */
.pricing-card.glow-card { border-radius: 16px; }
.step-visual-text.glow-card { border-radius: 20px; }
.comparison-card.glow-card { border-radius: 20px; }
.newsletter-card.glow-card { border-radius: 20px; }
.cta-glass-card.glow-card { border-radius: 24px; }
.ask-phantom-chat.glow-card { border-radius: 24px; }

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 64px;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-stat-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
    text-shadow: 0 0 10px rgba(var(--accent-rgb), 0.4), 0 0 30px rgba(var(--accent-rgb), 0.15);
}

.hero-stat-suffix {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    text-shadow: 0 0 10px rgba(var(--accent-rgb), 0.4), 0 0 30px rgba(var(--accent-rgb), 0.15);
}

.hero-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

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

.hero-stats-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 32px;
    padding: 20px 32px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
}

.hero-stats-bar .hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.hero-stats-bar .hero-stat-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    text-shadow: 0 0 10px rgba(var(--accent-rgb), 0.5), 0 0 25px rgba(var(--accent-rgb), 0.2);
}

.hero-stats-bar .hero-stat-plus {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
    text-shadow: 0 0 10px rgba(var(--accent-rgb), 0.5), 0 0 25px rgba(var(--accent-rgb), 0.2);
}

.hero-stats-bar .hero-stat-prefix {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
    text-shadow: 0 0 10px rgba(var(--accent-rgb), 0.5), 0 0 25px rgba(var(--accent-rgb), 0.2);
}

.hero-stats-bar .hero-stat-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.hero-stats-bar .hero-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.1);
}

/* Email capture popup */
.email-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.email-popup {
    position: relative;
    max-width: 440px;
    width: 100%;
    padding: 40px 32px;
    border-radius: 20px;
    animation: slideUp 0.3s ease;
}

.email-popup-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    transition: color 0.2s;
}

.email-popup-close:hover {
    color: var(--text);
}

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

/* Competitive grid responsive */
@media (max-width: 768px) {
    .competitive-grid {
        grid-template-columns: 1fr !important;
    }
    .hero-stats-bar .hero-stat-num {
        font-size: 1.5rem;
    }
    .email-popup {
        padding: 32px 24px;
    }
}

/* ============================================
   PROBLEM
   ============================================ */
#problem {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 56px;
    text-align: left;
}

.problem-card {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color 0.4s ease, transform 0.4s ease;
    --card-x: 50%;
    --card-y: 50%;
}

.problem-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Radial glow that follows cursor */
.problem-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(300px circle at var(--card-x) var(--card-y), rgba(255, 255, 255, 0.06), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

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

.problem-card-inner {
    padding: 36px 32px;
    position: relative;
    z-index: 1;
}

.problem-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: border-color 0.3s ease;
}

.problem-card:hover .problem-icon {
    border-color: rgba(var(--accent-rgb), 0.3);
}

.problem-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--accent);
}

.problem-card h3 {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 10px;
}

.problem-card p {
    font-size: 0.9rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.45);
}

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

/* ============================================
   HOW IT WORKS
   ============================================ */
#how-it-works {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 64px;
    text-align: left;
}

.steps-grid {
    position: relative;
}

/* Ectoplasm flow connector */
.ecto-connector {
    position: absolute;
    top: 80px;
    left: 10%;
    right: 10%;
    width: 80%;
    height: 4px;
    z-index: 0;
    display: block;
}

.ecto-line {
    stroke-dasharray: 8 8;
    animation: ectoFlow 4s linear infinite;
}

.step-card {
    padding: 40px 32px;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
    z-index: 1;
}

/* Large ghostly step numbers behind card content */
.step-ghost-num {
    position: absolute;
    top: -10px;
    right: 10px;
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.04;
    line-height: 1;
    pointer-events: none;
    z-index: 0;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.15);
    margin-bottom: 8px;
}

.step-line {
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.step-card h3 {
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 0.9rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.45);
}

/* Steps Visual Layout (side-by-side text + screenshot) */
.steps-visual {
    display: flex;
    flex-direction: column;
    gap: 64px;
    margin-top: 64px;
    text-align: left;
}

.step-visual-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.step-visual-item.step-visual-reverse {
    direction: rtl;
}

.step-visual-item.step-visual-reverse > * {
    direction: ltr;
}

.step-visual-text {
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color 0.4s ease, transform 0.4s ease;
}

.step-visual-text:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.step-visual-text h3 {
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 12px;
}

.step-visual-text p {
    font-size: 0.9rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.45);
}

.step-visual-screenshot {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    padding: 3px;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.3), rgba(var(--accent-rgb), 0.08), rgba(var(--accent-rgb), 0.3));
    box-shadow: 0 0 30px rgba(var(--accent-rgb), 0.1), 0 0 60px rgba(var(--accent-rgb), 0.05);
}

.step-visual-screenshot img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 13px;
    aspect-ratio: 2602 / 1542;
}

/* Shared rainbow-synced screenshot frame */
.hp-screenshot-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    padding: 3px;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.3), rgba(var(--accent-rgb), 0.08), rgba(var(--accent-rgb), 0.3));
    box-shadow: 0 0 30px rgba(var(--accent-rgb), 0.1), 0 0 60px rgba(var(--accent-rgb), 0.05);
}

.hp-screenshot-frame img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 13px;
}

/* ============================================
   FEATURES
   ============================================ */
#features {
    text-align: center;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 64px;
}

.feature-card {
    padding: 36px 32px;
    text-align: left;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color 0.4s ease, transform 0.4s ease;
    --card-x: 50%;
    --card-y: 50%;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(300px circle at var(--card-x) var(--card-y), rgba(255, 255, 255, 0.06), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

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

.feature-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Orbital icon spin on hover */
.feature-card:hover .feature-icon svg {
    animation: orbitalSpin 0.8s ease-in-out;
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 24px;
    transition: border-color 0.3s ease;
    color: var(--accent-light);
}

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

.feature-card h3 {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.45);
}

.feature-screenshot {
    position: relative;
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
    max-height: 160px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.feature-screenshot img {
    width: 100%;
    display: block;
    border-radius: 12px;
}

.feature-screenshot::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(10, 10, 10, 0.95));
    pointer-events: none;
}

/* ============================================
   IN ACTION - Pipeline Funnel, Outreach, Use Cases
   ============================================ */
#in-action, #outreach {
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Ghost message bubbles floating up */
.ghost-messages {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.ghost-msg {
    position: absolute;
    width: 60px;
    height: 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    animation: ghostMsgFloat 6s ease-in-out infinite;
}

.ghost-msg-1 { bottom: 10%; left: 8%; animation-delay: 0s; }
.ghost-msg-2 { bottom: 15%; right: 12%; animation-delay: 2s; width: 48px; }
.ghost-msg-3 { bottom: 5%; left: 25%; animation-delay: 4s; width: 72px; }

@keyframes ghostMsgFloat {
    0% { opacity: 0; transform: translateY(0); }
    20% { opacity: 0.4; }
    80% { opacity: 0.1; }
    100% { opacity: 0; transform: translateY(-200px); }
}

/* Pipeline funnel */
.pipeline-funnel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.funnel-step {
    padding: 24px 20px;
    text-align: center;
    min-width: 140px;
    flex: 1;
}

.funnel-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
}

.funnel-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    margin-top: 4px;
}

.funnel-detail {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.funnel-revenue {
    color: #7ecf9a !important;
    font-weight: 700;
}

.funnel-step-highlight {
    background: var(--gradient-card);
    border: 1px solid var(--accent-dim);
    border-radius: 16px;
    box-shadow: 0 0 40px var(--accent-glow);
}

.funnel-step-highlight .funnel-number {
    color: var(--accent-light);
    text-shadow: 0 0 20px rgba(var(--accent-rgb), 0.4);
}

.funnel-arrow {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    padding: 0 4px;
}

.funnel-arrow svg {
    width: 20px;
    height: 20px;
}

/* Outreach comparison */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.comparison-card {
    border-radius: 24px;
    padding: 28px;
    text-align: left;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color 0.4s ease, transform 0.4s ease;
}

.comparison-bad {
    border-color: rgba(255, 80, 80, 0.15);
}

.comparison-good {
    border-color: rgba(126, 207, 154, 0.2);
}

.comparison-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    padding: 6px 14px;
    border-radius: 50px;
    display: inline-block;
}

.comparison-label-bad {
    color: #cf7e7e;
    background: rgba(207, 126, 126, 0.1);
}

.comparison-label-good {
    color: #7ecf9a;
    background: rgba(126, 207, 154, 0.1);
}

.comparison-email {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 16px;
}

.email-subject {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.email-body {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.comparison-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.comparison-stats-good {
    color: #7ecf9a;
    font-weight: 600;
}

/* Instagram DM Theme */
.ig-dm-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ig-dm-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}
.ig-dm-username {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text);
}
.ig-dm-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-left: auto;
}
.ig-dm-chat {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}
.ig-dm-bubble {
    max-width: 85%;
    padding: 10px 14px;
    font-size: 0.82rem;
    line-height: 1.55;
    color: var(--text-secondary);
}
.ig-dm-bubble.sent {
    align-self: flex-end;
    background: linear-gradient(135deg, rgba(var(--accent-rgb),0.2), rgba(var(--accent-rgb),0.1));
    border: 1px solid rgba(var(--accent-rgb),0.15);
    border-radius: 18px 18px 4px 18px;
    color: var(--text);
}
.ig-dm-bubble.received {
    align-self: flex-start;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 18px 18px 18px 4px;
}
.ig-dm-bubble.generic {
    align-self: flex-end;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 18px 18px 4px 18px;
}
.ig-dm-seen {
    text-align: right;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 4px;
}
.ig-dm-time {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: 2px;
}
.ig-dm-reply-indicator {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.04);
}

/* Light theme IG DM overrides */
[data-theme="light"] .ig-dm-header {
    border-bottom-color: var(--border);
}
[data-theme="light"] .ig-dm-bubble.received,
[data-theme="light"] .ig-dm-bubble.generic {
    background: rgba(0,0,0,0.04);
    border-color: var(--border);
}
[data-theme="light"] .ig-dm-bubble.sent {
    background: linear-gradient(135deg, rgba(var(--accent-rgb),0.12), rgba(var(--accent-rgb),0.06));
    border-color: rgba(var(--accent-rgb),0.2);
}
[data-theme="light"] .ig-dm-reply-indicator {
    border-top-color: var(--border);
}

/* Use case cards */
.usecase-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.usecase-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: left;
    transition: all 0.3s ease;
}

.usecase-card:hover {
    border-color: var(--accent-dim);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.usecase-emoji {
    font-size: 2rem;
    margin-bottom: 12px;
}

.usecase-card h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.usecase-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.usecase-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.usecase-stat strong {
    color: #7ecf9a;
    font-family: var(--font-heading);
    font-size: 1rem;
}

/* Timeline */
.timeline-track {
    display: flex;
    justify-content: center;
    gap: 0;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-track::before {
    content: '';
    position: absolute;
    top: 52px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border);
}

.timeline-item {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 12px;
}

.timeline-week {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 12px;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--accent-dim);
    margin: 0 auto 16px;
    position: relative;
    z-index: 2;
}

.timeline-dot-glow {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 16px var(--accent-glow-strong);
}

.timeline-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.timeline-content strong {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text);
}

.timeline-content span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.timeline-item-highlight .timeline-content strong {
    color: var(--accent-light);
}

/* Light mode cards get shadows */
[data-theme="light"] .usecase-card,
[data-theme="light"] .comparison-card {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* Responsive */
@media (max-width: 1024px) {
    .usecase-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .pipeline-funnel { flex-direction: column; gap: 8px; }
    .funnel-arrow { transform: rotate(90deg); }
    .funnel-number { font-size: 2rem; }
    .comparison-grid { grid-template-columns: 1fr; }
    .usecase-cards { grid-template-columns: 1fr; }
    .timeline-track {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
        padding-left: 40px;
    }
    .timeline-track::before {
        top: 0;
        bottom: 0;
        left: 27px;
        right: auto;
        width: 2px;
        height: auto;
    }
    .timeline-item {
        text-align: left;
        display: flex;
        align-items: flex-start;
        gap: 16px;
        padding: 0;
    }
    .timeline-dot {
        margin: 4px 0 0;
        position: absolute;
        left: -40px;
    }
    .timeline-week {
        margin-bottom: 4px;
    }
}

/* ============================================
   SOCIAL PROOF
   ============================================ */
#proof {
    padding: 80px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    text-align: center;
    background: rgba(255,255,255,0.01);
}

/* Glass pedestal cards for stats */
.proof-pedestal {
    padding: 32px 20px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.proof-pedestal:hover {
    border-color: var(--accent-vibrant);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15), 0 0 0 1px rgba(var(--accent-rgb),0.12);
}

/* 3D text-shadow on numbers */
.proof-num-3d {
    text-shadow:
        0 1px 0 rgba(255,255,255,0.12),
        0 2px 4px rgba(255,255,255,0.06),
        0 4px 8px rgba(0,0,0,0.3);
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: center;
}

.proof-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    white-space: nowrap;
}

.proof-num {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    display: inline;
}

.proof-num-static {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
}

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

.proof-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 8px;
    white-space: nowrap;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
#testimonials {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Testimonial card glass styling */
.testimonial-card {
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    border-color: var(--accent-vibrant);
    box-shadow: 0 8px 28px rgba(0,0,0,0.15), 0 0 0 1px rgba(var(--accent-rgb),0.12);
}

/* Ghost quotation mark watermark */
.testimonial-quote-mark {
    position: absolute;
    top: -10px;
    right: 16px;
    font-family: Georgia, serif;
    font-size: 8rem;
    color: var(--accent);
    opacity: 0.04;
    line-height: 1;
    pointer-events: none;
    z-index: 0;
}

/* Star ghost glow */
.testimonial-stars span {
    text-shadow: 0 0 8px var(--ghost-glow);
}

@media (max-width: 768px) {
    #testimonials .testimonials-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================
   PRICING
   ============================================ */
#pricing {
    text-align: center;
    scroll-margin-top: 60px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 64px;
    align-items: start;
}

.pricing-card {
    padding: 48px 36px;
    text-align: left;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color 0.4s ease, transform 0.4s ease;
}

.pricing-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.pricing-card-featured {
    border-color: var(--accent-vibrant);
    box-shadow: 0 0 25px rgba(var(--accent-rgb),0.12), 0 0 0 1px rgba(var(--accent-rgb),0.15);
    transform: scale(1.03);
    z-index: 2;
    overflow: visible;
}

.pricing-card-featured:hover {
    box-shadow: 0 0 40px rgba(var(--accent-rgb),0.22), 0 0 0 1px rgba(var(--accent-rgb),0.3);
    transform: scale(1.06);
}

/* Shimmer sweep effect on featured pricing card */
.pricing-card-featured::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    overflow: hidden;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(var(--accent-rgb), 0.06) 35%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(var(--accent-rgb), 0.06) 65%,
        transparent 100%
    );
    background-size: 60% 100%;
    background-repeat: no-repeat;
    background-position: -100% 0;
    animation: pricingShimmer 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

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

/* 3D shadow on pricing amounts */
.pricing-amount {
    text-shadow:
        0 1px 0 rgba(255,255,255,0.1),
        0 3px 6px rgba(0,0,0,0.3);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-accent);
    color: var(--bg);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 20px;
    border-radius: 50px;
    white-space: nowrap;
}

.pricing-tier {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
}

.pricing-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    margin: 24px 0;
}

.pricing-currency {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-right: 2px;
}

.pricing-amount {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
}

.pricing-period {
    font-size: 1rem;
    color: var(--text-muted);
    margin-left: 4px;
}

.pricing-features {
    margin: 24px 0 32px;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-features li::before {
    display: none;
}

.pricing-features li svg {
    flex-shrink: 0;
}

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

.pricing-trial-badge {
    display: none;
}

.pricing-enterprise {
    margin-top: 48px;
}

.pricing-enterprise-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 48px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    gap: 32px;
}

.pricing-enterprise h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.pricing-enterprise p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 500px;
}

/* Guarantee section removed */

/* ============================================
   PERSONA GRID (Built For) - Monochrome Glass
   ============================================ */
.persona-grid > div,
.persona-grid > a {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color 0.4s ease, transform 0.4s ease;
}

.persona-grid > div:hover,
.persona-grid > a:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.persona-grid h3 {
    font-family: var(--font-body);
    color: #fff;
    letter-spacing: -0.02em;
}

.persona-grid p {
    color: rgba(255, 255, 255, 0.45) !important;
}

/* ============================================
   COMPETITIVE GRID (Why Phantom) - Monochrome Glass
   ============================================ */
.competitive-grid > div {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color 0.4s ease, transform 0.4s ease;
}

.competitive-grid > div:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.competitive-grid p {
    color: rgba(255, 255, 255, 0.45) !important;
}

/* ============================================
   GUARANTEE - Monochrome Glass
   ============================================ */
#guarantee .reveal[style*="display:flex"] {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* ============================================
   QUALIFICATION
   ============================================ */
#for-you {
    text-align: center;
    background: var(--bg-surface);
}

.qualify-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
    text-align: left;
}

.qualify-card {
    padding: 40px 36px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: var(--bg-card);
}

.qualify-card h3 {
    font-size: 1.15rem;
    margin-bottom: 24px;
}

.qualify-card li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    font-size: 0.95rem;
}

.qualify-yes h3 {
    color: #7ecf9a;
}

.qualify-yes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #7ecf9a;
    font-weight: 700;
}

.qualify-no h3 {
    color: #cf7e7e;
}

.qualify-no li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #cf7e7e;
    font-weight: 700;
}

/* ============================================
   FAQ
   ============================================ */
#faq {
    text-align: center;
}

.faq-list {
    max-width: 740px;
    margin: 48px auto 0;
    text-align: left;
    padding: 8px 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Ghost peek on FAQ expand — opacity merged into existing .faq-answer below */

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text);
    text-align: left;
    transition: color 0.3s ease;
}

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

.faq-toggle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease 0.1s;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    opacity: 1;
}

.faq-answer p {
    padding-bottom: 24px;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* ============================================
   FINAL CTA
   ============================================ */
/* Convergence dots */
.cta-converge-dots {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    z-index: 1;
    pointer-events: none;
}

.converge-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0;
}

.cta-converge-active .converge-dot {
    animation: convergeDot 2.5s ease-in-out forwards;
}

.cta-converge-active .converge-dot:nth-child(2) { animation-delay: 0.2s; }
.cta-converge-active .converge-dot:nth-child(3) { animation-delay: 0.4s; }
.cta-converge-active .converge-dot:nth-child(4) { animation-delay: 0.6s; }
.cta-converge-active .converge-dot:nth-child(5) { animation-delay: 0.8s; }
.cta-converge-active .converge-dot:nth-child(6) { animation-delay: 1.0s; }

#cta {
    text-align: center;
    padding: 160px 0;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 40%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(60px);
    pointer-events: none;
}

#cta h2 {
    position: relative;
    z-index: 2;
}

#cta .section-sub {
    position: relative;
    z-index: 2;
    margin-bottom: 40px;
}

#cta .btn {
    position: relative;
    z-index: 2;
}

.cta-glass-card {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

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

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    height: 32px;
    width: auto;
}

.footer-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

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

.footer-legal {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}
.footer-legal a {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}
.footer-legal a:hover {
    color: var(--accent-light);
}
.footer-legal-sep {
    color: rgba(255, 255, 255, 0.15);
    font-size: 0.8rem;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============================================
   MOBILE STICKY CTA
   ============================================ */
.mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    padding: 12px 16px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    background: var(--nav-scrolled-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.mobile-cta.visible {
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .steps-grid,
    .features-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .proof-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .proof-bar {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 80px;
        --glass-blur: 10px;
        --glass-blur-heavy: 16px;
    }

    /* Hide decorative elements on mobile */
    .glass-orb,
    .ghost-messages,
    .ecto-connector,
    .step-ghost-num,
    .problem-ghost-watermark,
    .testimonial-quote-mark,
    .cta-converge-dots,
    .floating-ring,
    .dots-pattern,
    .section-orb {
        display: none;
    }

    #hero {
        padding: 100px 20px 80px;
    }

    .persona-grid {
        grid-template-columns: 1fr !important;
    }

    .nav-links,
    .nav-actions {
        display: none;
    }

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

    .mobile-cta {
        display: block;
    }

    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.75rem; }

    .hero-stats {
        gap: 24px;
    }

    .hero-stat-divider {
        display: none;
    }

    .hero-stat-num,
    .hero-stat-suffix {
        font-size: 2rem;
    }

    .steps-grid,
    .features-grid,
    .pricing-grid,
    .proof-grid,
    .qualify-grid {
        grid-template-columns: 1fr;
    }

    .intel-grid {
        grid-template-columns: 1fr !important;
    }

    .step-visual-item,
    .step-visual-item.step-visual-reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .steps-visual {
        gap: 40px;
    }

    .pricing-enterprise-inner {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }

    .pricing-enterprise p {
        max-width: 100%;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .transformation-grid {
        grid-template-columns: 1fr !important;
    }

    .transformation-grid > div:first-child {
        border-right: none !important;
        border-bottom: 1px solid var(--glass-border);
    }

    .competitive-grid {
        grid-template-columns: 1fr !important;
    }

    .proof-bar {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

    .hero-pre-headline {
        font-size: 0.72rem !important;
        letter-spacing: 1.5px !important;
    }

    .objection-grid {
        grid-template-columns: 1fr !important;
    }

    .pillar-cards {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }

    .use-case-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }

    #marketplace .reveal[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* Time Savings section */
    .time-compare-grid {
        grid-template-columns: 1fr auto auto !important;
        font-size: 0.82rem !important;
    }

    .time-compare-grid > div[style*="padding:14px 16px"],
    .time-compare-grid > div[style*="padding:16px"] {
        padding: 10px 8px !important;
    }

    .time-compare-grid > div[style*="padding:14px 20px"],
    .time-compare-grid > div[style*="padding:16px 20px"] {
        padding: 10px 10px !important;
    }

    #time-savings .reveal[style*="grid-template-columns: 1fr auto 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .scale-arrow {
        transform: rotate(90deg);
    }

    #time-savings .reveal[style*="grid-template-columns:repeat(3"] {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

@media (max-width: 480px) {
    :root {
        --section-pad: 64px;
    }

    .container {
        padding: 0 16px;
    }

    h1 { font-size: 1.8rem; }

    .hero-slogan {
        font-size: 1rem;
    }

    .faq-list {
        padding: 8px 16px;
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 20px 0;
    }

    .faq-answer p {
        font-size: 0.9rem;
    }

    .comparison-stats {
        flex-direction: column;
        gap: 4px;
    }

    .comparison-card {
        padding: 20px;
    }

    /* Time Savings - small screens */
    .time-compare-grid {
        font-size: 0.78rem !important;
    }

    .time-compare-grid > div[style*="padding:12px 16px"],
    .time-compare-grid > div[style*="padding:12px 20px"] {
        padding: 8px 6px !important;
        font-size: 0.65rem !important;
    }

    .email-body {
        font-size: 0.875rem;
    }

    .pricing-card {
        padding: 28px 20px;
    }

    .pricing-amount {
        font-size: 3rem;
    }

    .step-card,
    .feature-card {
        padding: 28px 20px;
    }

    .use-case-grid {
        grid-template-columns: 1fr !important;
    }

    .pillar-cards .pillar-card {
        padding: 24px 20px !important;
    }

}

/* ============================================
   PHANTOM GHOSTS - Hidden Mascots with Parallax
   ============================================ */

.phantom-ghost {
    position: fixed;
    z-index: 1;
    pointer-events: auto;
    transition: opacity 1.5s ease;
    will-change: transform;
    /* Parallax offset via JS custom property */
    transform: translateY(var(--parallax-y, 0px));
}

.phantom-ghost.ghost-visible img {
    opacity: 1;
}

.phantom-ghost img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: var(--ghost-filter);
    opacity: 0;
    transition: opacity 1.5s ease;
}

.ghost-task {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    font-size: 0.55rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.phantom-ghost:hover .ghost-task {
    opacity: 0.7;
}

/* Ghost 1 - Top left */
.ghost-1 {
    top: 15%;
    left: 4%;
    width: 60px;
    height: 60px;
}
.ghost-1.ghost-visible img { opacity: 0.045; }

/* Ghost 2 - Right upper */
.ghost-2 {
    top: 25%;
    right: 3%;
    left: auto;
    width: 50px;
    height: 50px;
}
.ghost-2.ghost-visible img { opacity: 0.055; }
.ghost-2 img { transform: scaleX(-1); }

/* Ghost 3 - Left middle */
.ghost-3 {
    top: 45%;
    left: 2%;
    width: 72px;
    height: 72px;
}
.ghost-3.ghost-visible img { opacity: 0.04; }

/* Ghost 4 - Right middle */
.ghost-4 {
    top: 55%;
    right: 3%;
    left: auto;
    width: 46px;
    height: 46px;
}
.ghost-4.ghost-visible img { opacity: 0.06; }
.ghost-4 img { transform: scaleX(-1); }

/* Ghost 5 - Left lower */
.ghost-5 {
    top: 72%;
    left: 5%;
    width: 55px;
    height: 55px;
}
.ghost-5.ghost-visible img { opacity: 0.045; }

/* Ghost 6 - Right lower */
.ghost-6 {
    top: 85%;
    right: 4%;
    left: auto;
    width: 48px;
    height: 48px;
}
.ghost-6.ghost-visible img { opacity: 0.055; }
.ghost-6 img { transform: scaleX(-1); }

/* Ghost hover - more visible when discovered */
.phantom-ghost:hover img {
    opacity: 0.18 !important;
    filter: var(--ghost-hover-filter);
    transition: opacity 0.3s ease, filter 0.3s ease;
}

/* Gentle floating via inner img animation - separate from parallax transform */
@keyframes ghost-float-1 { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-14px) rotate(-5deg); } }
@keyframes ghost-float-2 { 0%, 100% { transform: translateY(0) scaleX(-1) rotate(0deg); } 50% { transform: translateY(-10px) scaleX(-1) rotate(3deg); } }
@keyframes ghost-float-3 { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-16px) rotate(0deg); } }
@keyframes ghost-float-4 { 0%, 100% { transform: translateY(0) scaleX(-1) rotate(0deg); } 50% { transform: translateY(-11px) scaleX(-1) rotate(-4deg); } }
@keyframes ghost-float-5 { 0%, 100% { transform: translateY(0) rotate(-10deg); } 50% { transform: translateY(-13px) rotate(-6deg); } }
@keyframes ghost-float-6 { 0%, 100% { transform: translateY(0) scaleX(-1) rotate(0deg); } 50% { transform: translateY(-15px) scaleX(-1) rotate(5deg); } }

.ghost-1 img { animation: ghost-float-1 6s ease-in-out infinite; }
.ghost-2 img { animation: ghost-float-2 7s ease-in-out 1s infinite; }
.ghost-3 img { animation: ghost-float-3 5.5s ease-in-out 0.5s infinite; }
.ghost-4 img { animation: ghost-float-4 8s ease-in-out 2s infinite; }
.ghost-5 img { animation: ghost-float-5 6.5s ease-in-out 1.5s infinite; }
.ghost-6 img { animation: ghost-float-6 7.5s ease-in-out 0.8s infinite; }

/* Hide ghosts on mobile - too small to discover */
@media (max-width: 768px) {
    .phantom-ghost { display: none; }
}

/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    .phantom-ghost img { animation: none; }
    .reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1; transform: none; transition: none; }
    .btn-primary { animation: none; }
    .text-shimmer { animation: none; background: none; -webkit-text-fill-color: var(--accent-light); }
    .ticker-content { animation: none; }
    /* Disable all glassmorphism animations */
    .ghost-float { animation: none; }
    .ghost-glow { animation: none; }
    .spectral-shimmer::after { animation: none; }
    .ghost-msg { animation: none; display: none; }
    .ecto-line { animation: none; }
    .converge-dot { animation: none; display: none; }
    .floating-ring { animation: none; }
    .section-orb { animation: none; }
    [data-parallax-speed] { transform: none !important; }
    [data-tilt] { transform: none !important; }
    #hero::before { animation: none; }
    .pricing-card-featured::after { animation: none; }
}

/* Shimmer gradient text */
.text-shimmer {
    background: linear-gradient(90deg, var(--accent) 0%, #d0d0d0 25%, #f0f0f0 50%, #d0d0d0 75%, var(--accent) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s linear infinite;
}

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

/* Enhanced badge with live dot */
.hero-badge-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #7ecf9a;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 4px rgba(126, 207, 154, 0.6); }
    50% { opacity: 0.4; box-shadow: 0 0 0px transparent; }
}

/* Dashboard preview floating badge */
.hero-preview-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    padding: 8px 20px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    border-radius: 50px;
    background: rgba(var(--accent-rgb), 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.hero-preview-badge:hover {
    border-color: var(--accent);
    background: rgba(var(--accent-rgb), 0.12);
    color: var(--accent-light);
}

.hero-preview-pulse {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: badge-pulse 2s ease-in-out infinite;
}

/* ============================================
   SOCIAL PROOF TICKER
   ============================================ */
.ticker-section {
    overflow: hidden;
    padding: 20px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(255,255,255,0.01);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.ticker-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: spectralShimmer 4s ease-in-out infinite;
}

.ticker-track {
    width: 100%;
    overflow: hidden;
    display: flex;
}

.ticker-content {
    display: flex;
    gap: 48px;
    white-space: nowrap;
    animation: ticker-scroll 25s linear infinite;
    flex-shrink: 0;
    min-width: max-content;
    padding-right: 48px;
}

.ticker-item {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.ticker-icon {
    color: var(--accent-vibrant);
    font-size: 0.7rem;
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ============================================
   FEATURE CARDS - Monochrome Glow
   ============================================ */
.feature-card:hover .feature-icon {
    border-color: rgba(var(--accent-rgb), 0.3);
}

/* ============================================
   DASHBOARD DEMO - Scanning + Glow
   ============================================ */
.demo-window-glow {
    animation: demo-border-pulse 4s ease-in-out infinite;
}

@keyframes demo-border-pulse {
    0%, 100% { border-color: rgba(255, 255, 255, 0.08); box-shadow: 0 16px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.06); }
    50% { border-color: rgba(255, 255, 255, 0.14); box-shadow: 0 16px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.1); }
}

.demo-scanning {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    font-size: 0.65rem;
    color: #7ecf9a;
    letter-spacing: 0.5px;
    animation: scanning-fade 3s ease-in-out infinite;
}

.demo-scanning-dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    background: #7ecf9a;
    border-radius: 50%;
    animation: badge-pulse 1.5s ease-in-out infinite;
}

@keyframes scanning-fade {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ============================================
   RESULTS / TESTIMONIALS
   ============================================ */
#results {
    text-align: center;
    background: var(--bg-surface);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.result-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px 28px;
    text-align: left;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.result-card:hover {
    border-color: var(--accent-dim);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.04);
}

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

.result-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    border: 2px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--accent-light);
    margin-bottom: 12px;
}

.result-info {
    margin-bottom: 16px;
}

.result-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
}

.result-niche {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.result-quote {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
    position: relative;
    padding-left: 16px;
    border-left: 2px solid var(--accent-dim);
}

.result-metrics {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.result-metric {
    flex: 1;
}

.result-metric-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.result-metric-value {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
}

.result-before {
    color: var(--text-muted);
}

.result-after {
    color: #7ecf9a;
    text-shadow: 0 0 12px rgba(126, 207, 154, 0.3);
}

.result-arrow {
    color: var(--accent);
    display: flex;
    align-items: center;
    margin-top: 16px;
}

.result-revenue {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: #7ecf9a;
    background: rgba(126, 207, 154, 0.08);
    border: 1px solid rgba(126, 207, 154, 0.15);
    padding: 6px 14px;
    border-radius: 50px;
    display: inline-block;
}

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

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

/* ============================================
   PRICING - ROI Line + Featured Glow
   ============================================ */
.pricing-card-featured {
    animation: featured-glow 4s ease-in-out infinite;
}

@keyframes featured-glow {
    0%, 100% { box-shadow: 0 0 25px rgba(var(--accent-rgb),0.12), 0 0 0 1px rgba(var(--accent-rgb),0.15); }
    50% { box-shadow: 0 0 40px rgba(var(--accent-rgb),0.2), 0 0 0 1px rgba(var(--accent-rgb),0.25); }
}

.pricing-card-featured:hover {
    animation: none;
    box-shadow: 0 0 45px rgba(var(--accent-rgb),0.25), 0 0 0 1px rgba(var(--accent-rgb),0.3);
}

/* ============================================
   CTA - Enhanced with Ghosts + Glow
   ============================================ */
.cta-glow-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.1) 0%, transparent 70%);
    top: 30%;
    right: 20%;
    filter: blur(60px);
    pointer-events: none;
    animation: float-glow 10s ease-in-out infinite reverse;
}

.cta-ghost {
    position: absolute;
    pointer-events: none;
    opacity: 0.04;
}

.cta-ghost img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0.6) saturate(0.3);
}

.cta-ghost-left {
    width: 100px;
    height: 100px;
    left: 8%;
    top: 20%;
    animation: hero-ghost-float 5s ease-in-out infinite;
}

.cta-ghost-right {
    width: 80px;
    height: 80px;
    right: 8%;
    bottom: 25%;
    animation: hero-ghost-float 6s ease-in-out 1s infinite;
}

.cta-ghost-right img {
    transform: scaleX(-1);
}

.cta-ghost-center {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    opacity: 0.12;
    animation: hero-ghost-float 4s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.cta-ghost-center img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(var(--accent-rgb), 0.15));
}

.cta-guarantee {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 20px;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .cta-ghost-left, .cta-ghost-right { display: none; }
}

/* ============================================
   DASHBOARD DEMO PREVIEW
   ============================================ */

#dashboard-preview { padding: 6rem 0; position: relative; overflow: hidden; text-align: center; }

/* Radial glow behind dashboard preview */
.dashboard-glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.015) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Floating stat cards */
.demo-float-card {
    position: absolute;
    padding: 16px 20px;
    z-index: 3;
    text-align: center;
}

.demo-float-1 {
    top: 25%;
    left: 3%;
}

.demo-float-2 {
    top: 40%;
    right: 3%;
}

@media (max-width: 1024px) {
    .demo-float-card { display: none; }
}

/* ============================================
   DASHBOARD SCREENSHOT SHOWCASE
   ============================================ */
.dashboard-screenshot-frame {
    overflow: hidden;
    border-color: rgba(255,255,255,0.08);
}

.dashboard-screenshot-frame img,
.dashboard-screenshot-img {
    width: 100%;
    height: auto;
    display: block;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.showcase-card {
    overflow: hidden;
    padding: 0;
    position: relative;
    border-radius: 14px;
}

.showcase-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0 0 13px 13px;
}

.showcase-label {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-vibrant);
    padding: 12px 16px 8px;
}

.showcase-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.showcase-card-sm {
    overflow: hidden;
    padding: 0;
    position: relative;
    border-radius: 12px;
}

.showcase-card-sm img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0 0 11px 11px;
}

.showcase-card-sm .showcase-label {
    font-size: 0.65rem;
    padding: 10px 12px 6px;
}

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

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


.dashboard-demo {
    margin-top: 3rem;
    perspective: 1200px;
    text-align: left;
}

.demo-window {
    background: rgba(14, 14, 14, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 16px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transform: rotateX(2deg);
    transition: transform 0.6s ease;
}

.demo-window:hover { transform: rotateX(0deg) scale(1.01); }

.demo-titlebar {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 20px;
    background: #0e0e0e;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.demo-dots { display: flex; gap: 6px; }
.demo-dots span { width: 10px; height: 10px; border-radius: 50%; }
.demo-dots span:nth-child(1) { background: #ff5f57; }
.demo-dots span:nth-child(2) { background: #ffbd2e; }
.demo-dots span:nth-child(3) { background: #28c840; }

.demo-url {
    flex: 1; text-align: center;
    font-size: 0.72rem; color: #666666;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    background: rgba(255,255,255,0.03);
    padding: 4px 16px;
    border-radius: 6px;
}

.demo-body { padding: 20px; }

.demo-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.demo-stat-card {
    background: rgba(14, 14, 14, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.demo-stat-label { font-size: 0.68rem; color: #666666; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.demo-stat-value { font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, system-ui, sans-serif; font-weight: 700; font-size: 1.3rem; color: #ffffff; }
.demo-stat-value.demo-accent { color: var(--accent); }
.demo-stat-value.demo-glow { color: var(--accent); text-shadow: 0 0 20px rgba(var(--accent-rgb), 0.4); }
.demo-stat-trend { font-size: 0.65rem; color: #7ecf9a; margin-top: 2px; }

.demo-section {
    background: rgba(14, 14, 14, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

.demo-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.demo-section-title { font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, system-ui, sans-serif; font-weight: 600; font-size: 0.85rem; color: #ffffff; }
.demo-badge { font-size: 0.65rem; color: var(--accent); background: rgba(var(--accent-rgb), 0.1); padding: 3px 10px; border-radius: 99px; border: 1px solid rgba(var(--accent-rgb), 0.2); }

.demo-table { width: 100%; border-collapse: collapse; font-size: 0.78rem; }
.demo-table th { text-align: left; font-size: 0.65rem; color: #666666; text-transform: uppercase; letter-spacing: 0.5px; padding: 6px 10px; border-bottom: 1px solid rgba(255,255,255,0.08); font-weight: 500; }
.demo-table td { padding: 10px 10px; border-bottom: 1px solid rgba(255,255,255,0.03); color: #a0a0a0; }
.demo-td-bold { color: #ffffff; font-weight: 500; }
.demo-row-dim { opacity: 0.5; }

.demo-td-icons { display: flex; gap: 6px; font-size: 0.85rem; color: #666666; }
.demo-pill { font-size: 0.65rem; color: var(--accent); background: rgba(var(--accent-rgb), 0.08); padding: 2px 8px; border-radius: 99px; }

.demo-score { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, system-ui, sans-serif; font-weight: 700; font-size: 0.72rem; }
.demo-score-high { color: #7ecf9a; border: 2px solid rgba(126, 207, 154, 0.3); background: rgba(126, 207, 154, 0.08); }
.demo-score-mid { color: #cfb87e; border: 2px solid rgba(207, 184, 126, 0.3); background: rgba(207, 184, 126, 0.08); }

.demo-status { font-size: 0.65rem; padding: 3px 8px; border-radius: 99px; font-weight: 500; }
.demo-status-replied { color: #cfb87e; background: rgba(207, 184, 126, 0.1); }
.demo-status-pending { color: #666666; background: rgba(102, 102, 102, 0.15); }
.demo-status-sent { color: #7eb3cf; background: rgba(126, 179, 207, 0.1); }
.demo-status-approved { color: #7ecf9a; background: rgba(126, 207, 154, 0.1); }

/* Pipeline demo */
.demo-pipeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }

.demo-pipeline-col { min-height: 80px; }
.demo-pipeline-header {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, system-ui, sans-serif; font-size: 0.72rem; font-weight: 600; color: #a0a0a0;
    margin-bottom: 8px; display: flex; align-items: center; gap: 6px;
}
.demo-pipeline-count { font-size: 0.6rem; background: rgba(var(--accent-rgb), 0.1); color: var(--accent); padding: 1px 6px; border-radius: 99px; }

.demo-pipeline-card {
    background: rgba(18, 18, 18, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 6px;
    position: relative;
}

.demo-pipeline-card.demo-card-hot { border-color: rgba(var(--accent-rgb), 0.25); box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.08); }
.demo-pipeline-name { font-size: 0.72rem; color: #ffffff; font-weight: 500; margin-bottom: 2px; }
.demo-pipeline-value { font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, system-ui, sans-serif; font-size: 0.78rem; font-weight: 600; color: #a0a0a0; }
.demo-pipeline-value.demo-accent { color: #7ecf9a; }
.demo-priority { position: absolute; top: 6px; right: 8px; font-size: 0.5rem; color: #cf7e7e; font-weight: 700; letter-spacing: 1px; }
.demo-pipeline-won .demo-pipeline-header { color: #7ecf9a; }

/* Outreach Email Draft in Dashboard Preview */
.demo-email-draft {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 16px;
}
.demo-email-field {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 0.78rem;
    color: #a0a0a0;
}
.demo-email-label {
    font-size: 0.68rem;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 52px;
    font-weight: 500;
}
.demo-email-body-preview {
    padding: 14px 0 16px;
    font-size: 0.78rem;
    color: #a0a0a0;
    line-height: 1.7;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.demo-email-actions {
    display: flex;
    gap: 8px;
    padding-top: 12px;
    flex-wrap: wrap;
}
.demo-email-btn {
    font-size: 0.68rem;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 500;
    cursor: default;
    letter-spacing: 0.3px;
}
.demo-email-btn-approve {
    background: rgba(126, 207, 154, 0.15);
    color: #7ecf9a;
    border: 1px solid rgba(126, 207, 154, 0.25);
}
.demo-email-btn-edit {
    background: rgba(var(--accent-rgb), 0.1);
    color: var(--accent);
    border: 1px solid rgba(var(--accent-rgb), 0.2);
}
.demo-email-btn-skip {
    background: rgba(255,255,255,0.04);
    color: #666666;
    border: 1px solid rgba(255,255,255,0.06);
}

@media (max-width: 768px) {
    .demo-stats { grid-template-columns: repeat(2, 1fr); }
    .demo-pipeline { grid-template-columns: repeat(2, 1fr); }
    .demo-table th:nth-child(4), .demo-table td:nth-child(4) { display: none; }
}

@media (max-width: 480px) {
    .demo-window { border-radius: 10px; }
    .demo-body { padding: 12px; }
    .demo-stat-value { font-size: 1rem; }
    .demo-pipeline { grid-template-columns: 1fr 1fr; }
    .demo-table th:nth-child(3), .demo-table td:nth-child(3) { display: none; }
    .demo-email-draft { padding: 12px; }
    .demo-email-actions { flex-direction: column; }
    .demo-email-btn { text-align: center; }
}

/* ============================================
   AFFILIATE PROGRAM SECTION
   ============================================ */
#affiliates {
    padding: 6rem 0;
    text-align: center;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.affiliate-tiers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.affiliate-tier-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
}

.affiliate-tier-card:hover {
    border-color: var(--accent-dim);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.04);
}

.affiliate-tier-featured {
    border-color: var(--accent-dim);
    box-shadow: 0 0 60px var(--accent-glow);
    animation: featured-glow 4s ease-in-out infinite;
}

.affiliate-tier-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-accent);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 99px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.affiliate-tier-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.affiliate-tier-pct {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 3.5rem;
    color: var(--text);
    line-height: 1;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.affiliate-tier-detail {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.affiliate-tier-earn {
    font-size: 0.85rem;
    color: #7ecf9a;
    background: rgba(126, 207, 154, 0.06);
    border: 1px solid rgba(126, 207, 154, 0.12);
    padding: 10px 16px;
    border-radius: 10px;
    margin-bottom: 12px;
}

.affiliate-tier-earn strong {
    color: #7ecf9a;
}

.affiliate-tier-req {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.affiliate-extras {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    letter-spacing: 0.3px;
}

.affiliate-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent-dim);
    flex-shrink: 0;
}

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

/* ============================================
   WAITLIST SECTION
   ============================================ */
#waitlist {
    padding: 4rem 0 6rem;
}

.waitlist-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.waitlist-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
}

.waitlist-card h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.waitlist-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}

.waitlist-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
}

.waitlist-input {
    flex: 1;
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-surface);
    color: var(--text);
    font-size: 1rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.3s ease;
}

.waitlist-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.1);
}

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

.waitlist-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 16px;
}

@media (max-width: 480px) {
    .waitlist-card { padding: 32px 20px; }
    .waitlist-form { flex-direction: column; }
    .waitlist-form .btn { width: 100%; text-align: center; justify-content: center; }
}

/* ============================================
   GUARANTEES SECTION
   ============================================ */
#guarantees {
    text-align: center;
}

#guarantees .platform-grid {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

#guarantees h2 {
    text-align: center;
}

@media (max-width: 768px) {
    #guarantees .platform-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================
   PLATFORM BENEFITS SECTION
   ============================================ */
#platform {
    text-align: center;
    background: var(--bg-surface);
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.platform-card {
    padding: 36px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-align: left;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.platform-card:hover {
    border-color: var(--accent-dim);
    transform: translateY(-4px);
    background: var(--bg-card-hover);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.04);
}

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

.platform-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.04);
    margin-bottom: 20px;
    color: var(--accent-light);
    transition: all 0.3s ease;
}

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

.platform-card:hover .platform-icon {
    box-shadow: 0 0 30px rgba(var(--accent-rgb), 0.2);
    border-color: rgba(var(--accent-rgb), 0.4);
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.2) 0%, rgba(var(--accent-rgb), 0.1) 100%);
}

.platform-card h3 {
    margin-bottom: 10px;
}

.platform-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.platform-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
    color: var(--accent);
    background: rgba(var(--accent-rgb), 0.08);
    border: 1px solid rgba(var(--accent-rgb), 0.15);
}

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

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

/* ============================================
   CREATIVE ECOSYSTEM SECTION
   ============================================ */
#ecosystem {
    padding: 6rem 0;
    text-align: center;
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.ecosystem-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 28px;
    position: relative;
    text-align: left;
    transition: all 0.3s ease;
}

.ecosystem-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(var(--accent-rgb,126,184,255), 0.04) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ecosystem-card:hover {
    border-color: rgba(var(--accent-rgb,126,184,255), 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

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

.ecosystem-card-featured {
    border-color: rgba(var(--accent-rgb,126,184,255), 0.25);
    background: rgba(var(--accent-rgb,126,184,255), 0.03);
}

.ecosystem-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(var(--accent-rgb,126,184,255), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.ecosystem-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.ecosystem-card:hover .ecosystem-icon {
    background: rgba(var(--accent-rgb,126,184,255), 0.2);
    transform: scale(1.05);
}

.ecosystem-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.ecosystem-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

.ecosystem-card ul li {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-secondary);
    padding: 4px 0 4px 24px;
    position: relative;
}

.ecosystem-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 600;
}

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

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

    .ecosystem-card {
        padding: 28px 20px;
    }
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */
#newsletter {
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.newsletter-card {
    border-radius: 24px;
    padding: 48px;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Frosted glass email input */
.newsletter-card .waitlist-input {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-card .waitlist-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 30px var(--ghost-glow), 0 0 60px rgba(255,255,255,0.05);
    outline: none;
}

.newsletter-card::before {
    display: none;
}

.newsletter-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--accent-light);
}

.newsletter-icon svg {
    width: 32px;
    height: 32px;
}

.newsletter-card h2 {
    font-family: var(--font-body);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.newsletter-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}

@media (max-width: 480px) {
    .newsletter-card { padding: 32px 20px; }
}

/* ============================================
   PRICING - Unlocked / Locked Features
   ============================================ */
.feature-unlocked {
    color: var(--text-secondary);
}

.feature-unlocked::before {
    background: #7ecf9a !important;
    box-shadow: 0 0 6px rgba(126, 207, 154, 0.4);
}

.feature-locked {
    color: var(--text-muted);
    opacity: 0.5;
}

.feature-locked::before {
    background: var(--text-muted) !important;
    opacity: 0.4;
    box-shadow: none;
}

/* ============================================
   THEME TOGGLE BUTTON
   ============================================ */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-right: 12px;
}

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

.theme-toggle svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.3s ease;
}

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

/* Sun icon visible in dark mode, moon visible in light mode */
.theme-toggle .icon-sun { display: block; }
.theme-toggle .icon-moon { display: none; }

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

/* ============================================
   LIGHT THEME OVERRIDES
   ============================================ */
[data-theme="light"] body {
    background: var(--bg);
}

[data-theme="light"] .nav-logo-img {
    filter: var(--logo-filter);
}

[data-theme="light"] .btn-primary,
[data-theme="light"] .btn-nav {
    color: #ffffff;
}

[data-theme="light"] .pricing-badge {
    color: #ffffff;
}

/* Neon tubes - subtler for light bg */
[data-theme="light"] #neonTubesCanvas {
    opacity: 0.3;
}

/* Cards get subtle shadow in light mode (only non-monochrome cards) */
[data-theme="light"] .pricing-card,
[data-theme="light"] .step-card,
[data-theme="light"] .result-card,
[data-theme="light"] .platform-card,
[data-theme="light"] .waitlist-card,
[data-theme="light"] .qualify-card,
[data-theme="light"] .affiliate-tier-card {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .platform-card:hover,
[data-theme="light"] .result-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Featured pricing card */
[data-theme="light"] .pricing-card-featured {
    box-shadow: 0 4px 24px rgba(59, 127, 204, 0.15);
}

@keyframes featured-glow-light {
    0%, 100% { box-shadow: 0 4px 24px rgba(59, 127, 204, 0.12); }
    50% { box-shadow: 0 4px 32px rgba(59, 127, 204, 0.2); }
}

[data-theme="light"] .pricing-card-featured {
    animation: featured-glow-light 4s ease-in-out infinite;
}

/* CTA ghost filter */
[data-theme="light"] .cta-ghost img {
    filter: var(--ghost-filter);
}

/* Demo window stays dark */
[data-theme="light"] .demo-window {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Ticker */
[data-theme="light"] .ticker-section {
    background: rgba(59, 127, 204, 0.03);
}

/* Footer */
[data-theme="light"] .footer-logo {
    filter: var(--logo-filter);
}

/* Mobile menu btn spans */
[data-theme="light"] .mobile-menu-btn span {
    background: var(--text);
}


/* ============================================
   ASK PHANTOM - Embedded Homepage AI Chat
   ============================================ */

#ask-phantom {
    padding: var(--section-pad) 0;
    text-align: center;
    background: var(--bg-surface);
}

.ask-phantom-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
    margin-top: 40px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    overflow: hidden;
    min-height: 420px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 8px 40px rgba(0,0,0,0.25), 0 0 60px rgba(var(--accent-rgb), 0.06);
    text-align: left;
}

/* Prompt sidebar */
.ask-phantom-prompts {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 16px 0;
    border-right: 1px solid var(--border);
    background: var(--bg-surface);
    overflow-y: auto;
}

.ask-phantom-prompt {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    line-height: 1.4;
}

.ask-phantom-prompt:hover {
    background: rgba(var(--accent-rgb), 0.06);
    color: var(--text);
}

.ask-phantom-prompt.active {
    background: rgba(var(--accent-rgb), 0.1);
    color: var(--accent);
    border-right: 2px solid var(--accent);
}

.ask-phantom-prompt-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    opacity: 0.5;
}

.ask-phantom-prompt:hover .ask-phantom-prompt-icon,
.ask-phantom-prompt.active .ask-phantom-prompt-icon {
    opacity: 1;
}

/* Chat area */
.ask-phantom-chat {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.ask-phantom-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.ask-phantom-chat-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ask-phantom-avatar {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: brightness(1.2) drop-shadow(0 0 6px rgba(var(--accent-rgb), 0.3));
}

.ask-phantom-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}

.ask-phantom-online {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    color: #7ecf9a;
    margin-left: 12px;
}

.ask-phantom-online-dot {
    width: 6px;
    height: 6px;
    background: #7ecf9a;
    border-radius: 50%;
    display: inline-block;
}

.ask-phantom-reset {
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.ask-phantom-reset:hover {
    color: var(--text);
    border-color: var(--accent-dim);
}

/* Messages area */
.ask-phantom-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 220px;
    max-height: 320px;
    scroll-behavior: smooth;
}

.ask-phantom-messages::-webkit-scrollbar { width: 4px; }
.ask-phantom-messages::-webkit-scrollbar-track { background: transparent; }
.ask-phantom-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

/* Reuse the same message styles as the floating chat */
.ask-phantom-messages .phantom-chat-msg { max-width: 90%; }

/* Placeholder state */
.ask-phantom-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 40px;
    text-align: center;
    flex: 1;
    min-height: 220px;
}

.ask-phantom-placeholder-ghost {
    width: 56px;
    height: 56px;
    object-fit: contain;
    opacity: 0.25;
    filter: var(--ghost-filter);
}

.ask-phantom-placeholder p {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 260px;
    line-height: 1.5;
}

/* Input row */
.ask-phantom-input-row {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 12px 20px;
    border-top: 1px solid var(--border);
    background: var(--bg-surface);
    flex-shrink: 0;
}

.ask-phantom-input {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 14px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text);
    background: var(--bg-card);
    outline: none;
    resize: none;
    max-height: 80px;
    transition: border-color 0.2s ease;
    line-height: 1.4;
}

.ask-phantom-input:focus {
    border-color: var(--accent-dim);
    box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.08);
}

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

.ask-phantom-send {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: none;
    background: var(--gradient-accent);
    color: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    opacity: 0.5;
}

.ask-phantom-send:not(:disabled) { opacity: 1; }
.ask-phantom-send:not(:disabled):hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.25);
}
.ask-phantom-send:disabled { cursor: not-allowed; }

.ask-phantom-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 20px;
    font-size: 0.65rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}

/* Mobile: stack vertically */
@media (max-width: 768px) {
    .ask-phantom-container {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .ask-phantom-prompts {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        padding: 16px;
        border-right: none;
        border-bottom: 1px solid var(--border);
        overflow-x: auto;
    }

    .ask-phantom-prompt {
        padding: 8px 14px;
        border-radius: 50px;
        border: 1px solid var(--border);
        font-size: 0.78rem;
        white-space: nowrap;
    }

    .ask-phantom-prompt.active {
        border-right: 1px solid var(--accent);
        border-color: var(--accent);
    }

    .ask-phantom-prompt-icon { display: none; }

    .ask-phantom-messages {
        max-height: 260px;
    }
}

/* Light theme */
[data-theme="light"] .ask-phantom-container {
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}
[data-theme="light"] .ask-phantom-avatar {
    filter: brightness(0.3) drop-shadow(0 0 6px rgba(59, 127, 204, 0.3));
}
[data-theme="light"] .ask-phantom-send { color: #ffffff; }
[data-theme="light"] .ask-phantom-placeholder-ghost {
    filter: brightness(0.4) saturate(0.3);
}


/* ============================================
   PHANTOM CHAT WIDGET
   ============================================ */

.phantom-chat-trigger {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 997;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 2px solid #7ecf9a;
    background: var(--bg-card);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(0,0,0,0.3), 0 0 20px rgba(126, 207, 154, 0.25), 0 0 40px rgba(126, 207, 154, 0.1);
    transition: all 0.3s ease;
    padding: 0;
}

.phantom-chat-trigger:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 32px rgba(0,0,0,0.4), 0 0 30px rgba(126, 207, 154, 0.4), 0 0 60px rgba(126, 207, 154, 0.15);
    border-color: #9ee0b5;
}

.phantom-chat-trigger-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phantom-chat-ghost-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.2) drop-shadow(0 0 8px rgba(var(--accent-rgb), 0.4));
}

.phantom-chat-trigger-pulse {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid #7ecf9a;
    opacity: 0;
    animation: chat-pulse 3s ease-in-out infinite;
}

@keyframes chat-pulse {
    0%, 100% { opacity: 0; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.15); }
}

.phantom-chat.open .phantom-chat-trigger {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
}

/* Chat Panel */
.phantom-chat-panel {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 999;
    width: min(500px, calc(100vw - 64px));
    max-height: min(720px, calc(100vh - 80px));
    border-radius: 20px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(var(--accent-rgb), 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.phantom-chat.open .phantom-chat-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

/* Header */
.phantom-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-surface);
    flex-shrink: 0;
}

.phantom-chat-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.phantom-chat-avatar {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: brightness(1.2) drop-shadow(0 0 8px rgba(var(--accent-rgb), 0.3));
}

.phantom-chat-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
}

.phantom-chat-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: #7ecf9a;
}

.phantom-chat-status-dot {
    width: 6px;
    height: 6px;
    background: #7ecf9a;
    border-radius: 50%;
    animation: status-pulse 2s ease-in-out infinite;
}

@keyframes status-pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; box-shadow: 0 0 6px #7ecf9a; }
}

.phantom-chat-close {
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.phantom-chat-close:hover {
    color: var(--text);
    border-color: var(--accent-dim);
}

/* Messages */
.phantom-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 280px;
    max-height: calc(100vh - 320px);
    scroll-behavior: smooth;
}

.phantom-chat-messages::-webkit-scrollbar { width: 4px; }
.phantom-chat-messages::-webkit-scrollbar-track { background: transparent; }
.phantom-chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

/* Message bubbles */
.phantom-chat-msg {
    display: flex;
    gap: 10px;
    max-width: 85%;
    animation: chatMsgIn 0.3s ease;
}

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

.phantom-chat-msg.assistant { align-self: flex-start; }
.phantom-chat-msg.user { align-self: flex-end; flex-direction: row-reverse; }

.phantom-chat-msg-avatar {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.phantom-chat-msg-avatar.phantom img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.1) drop-shadow(0 0 4px rgba(var(--accent-rgb), 0.3));
}

.phantom-chat-msg-avatar.visitor {
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.2), rgba(167, 139, 250, 0.15));
    border: 1px solid rgba(var(--accent-rgb), 0.3);
    font-family: var(--font-heading);
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--accent-light);
}

.phantom-chat-msg-bubble {
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-secondary);
    font-family: var(--font-body);
}

.phantom-chat-msg.assistant .phantom-chat-msg-bubble {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-bottom-left-radius: 4px;
}

.phantom-chat-msg.user .phantom-chat-msg-bubble {
    background: rgba(var(--accent-rgb), 0.12);
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    color: var(--text);
    border-bottom-right-radius: 4px;
}

.phantom-chat-msg-bubble strong { color: var(--text); font-weight: 600; }
.phantom-chat-msg-bubble a { color: var(--accent); text-decoration: underline; }

/* Typing indicator */
.phantom-chat-typing {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    border-bottom-left-radius: 4px;
}

.phantom-chat-typing-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-dim);
    animation: chatTypingBounce 1.4s ease-in-out infinite;
}

.phantom-chat-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.phantom-chat-typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes chatTypingBounce {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-4px); }
}

/* Typewriter cursor */
.typewriter-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: var(--accent, #c4917b);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: cursorBlink 0.7s steps(1) infinite;
}

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

/* Suggestions */
.phantom-chat-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 16px 12px;
    flex-shrink: 0;
}

.phantom-chat-suggestion {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--accent);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.phantom-chat-suggestion:hover {
    background: rgba(var(--accent-rgb), 0.08);
    border-color: var(--accent-dim);
}

/* Input area */
.phantom-chat-input-area {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    background: var(--bg-surface);
    flex-shrink: 0;
}

.phantom-chat-input {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px 14px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text);
    background: var(--bg-card);
    outline: none;
    resize: none;
    max-height: 80px;
    transition: border-color 0.2s ease;
    line-height: 1.4;
}

.phantom-chat-input:focus {
    border-color: var(--accent-dim);
    box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.08);
}

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

.phantom-chat-send {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: none;
    background: var(--gradient-accent);
    color: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    opacity: 0.5;
}

.phantom-chat-send:not(:disabled) { opacity: 1; }
.phantom-chat-send:not(:disabled):hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.25);
}
.phantom-chat-send:disabled { cursor: not-allowed; }

/* Footer */
.phantom-chat-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    font-size: 0.65rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}

/* Rate limit warning */
.phantom-chat-limit-warning {
    padding: 10px 14px;
    margin: 0 16px 8px;
    background: rgba(207, 126, 126, 0.08);
    border: 1px solid rgba(207, 126, 126, 0.2);
    border-radius: 10px;
    font-size: 0.8rem;
    color: #cf7e7e;
    text-align: center;
}

.phantom-chat-limit-warning a {
    color: var(--accent);
    text-decoration: underline;
    font-weight: 600;
}

/* Mobile */
@media (max-width: 768px) {
    .phantom-chat-trigger {
        bottom: 80px;
        right: 16px;
        width: 52px;
        height: 52px;
    }
    .phantom-chat-trigger-icon { width: 30px; height: 30px; }
    .phantom-chat-panel {
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        max-height: 85vh;
        max-height: 85dvh;
        border-radius: 20px 20px 0 0;
    }
    .phantom-chat-messages {
        max-height: calc(85vh - 240px);
        max-height: calc(85dvh - 240px);
    }
}

@media (max-width: 480px) {
    .phantom-chat-trigger {
        bottom: 76px;
        right: 12px;
        width: 48px;
        height: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .phantom-chat-trigger-pulse { animation: none; }
    .phantom-chat-typing-dot { animation: none; opacity: 0.6; }
    .phantom-chat-panel { transition: none; }
    .phantom-chat-msg { animation: none; }
}

/* Light theme */
[data-theme="light"] .phantom-chat-trigger {
    box-shadow: 0 4px 20px rgba(0,0,0,0.12), 0 0 20px rgba(126, 207, 154, 0.2);
}
[data-theme="light"] .phantom-chat-panel {
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
[data-theme="light"] .phantom-chat-ghost-img {
    filter: brightness(0.3) drop-shadow(0 0 8px rgba(59, 127, 204, 0.3));
}
[data-theme="light"] .phantom-chat-avatar {
    filter: brightness(0.3) drop-shadow(0 0 8px rgba(59, 127, 204, 0.3));
}
[data-theme="light"] .phantom-chat-send { color: #ffffff; }
[data-theme="light"] .phantom-chat-msg-avatar.phantom img {
    filter: brightness(0.3) drop-shadow(0 0 4px rgba(59, 127, 204, 0.3));
}

/* ============================================
   COMPETITIVE COMPARISON TABLE
   ============================================ */
#why-phantom {
    padding: var(--section-pad) 0;
}

.phantom-compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}
.phantom-compare-table thead th {
    padding: 16px 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    text-align: center;
    white-space: nowrap;
}
.phantom-compare-table thead th:first-child {
    text-align: left;
    color: var(--text-secondary);
}
.phantom-compare-table thead th.phantom-compare-highlight {
    color: var(--accent);
    background: rgba(var(--accent-rgb), 0.06);
}
.phantom-compare-table tbody td {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(34, 34, 34, 0.5);
    text-align: center;
    color: var(--text-secondary);
    vertical-align: middle;
}
.phantom-compare-table tbody td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--text);
}
.phantom-compare-table tbody td.phantom-compare-highlight {
    background: rgba(var(--accent-rgb), 0.04);
}
.phantom-compare-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}
.phantom-compare-table tbody tr:hover td.phantom-compare-highlight {
    background: rgba(var(--accent-rgb), 0.08);
}
.compare-yes {
    color: #7ecf9a;
    font-weight: 600;
}
.compare-no {
    color: #ef5350;
    opacity: 0.7;
}
.compare-partial {
    color: #FBBC05;
    font-weight: 500;
}
.compare-note {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ============================================
   PRICING COMPARISON TABLE OVERRIDES
   ============================================ */
.pricing-table-scroll {
    overflow-x: auto;
    margin-top: 48px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    -webkit-overflow-scrolling: touch;
}
.pricing-compare thead th {
    padding: 24px 16px 20px;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.85rem;
    vertical-align: top;
    border-bottom: 2px solid var(--border);
    min-width: 130px;
}
.pricing-compare thead th:first-child {
    min-width: 180px;
    position: sticky;
    left: 0;
    background: var(--bg-card);
    z-index: 2;
}
.pricing-compare tbody td:first-child,
.pricing-compare tfoot td:first-child {
    position: sticky;
    left: 0;
    background: var(--bg-card);
    z-index: 1;
}
.pricing-th-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 4px;
}
.pricing-th-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}
.pricing-th-price {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.1;
}
.pricing-th-price span {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
}
.pricing-th-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 4px;
}
.compare-group-header td {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    padding: 20px 20px 8px !important;
    border-bottom: none !important;
    text-align: left !important;
    background: transparent !important;
}
.pricing-compare tfoot td {
    padding: 20px 16px 24px;
    border-top: 2px solid var(--border);
    border-bottom: none;
    text-align: center;
    vertical-align: middle;
}
.pricing-compare tfoot .btn {
    min-width: 100px;
}
.pricing-compare tbody td strong {
    color: var(--text);
    font-weight: 600;
}

@media (max-width: 768px) {
    .pricing-table-scroll {
        margin-top: 32px;
    }
    .pricing-compare thead th {
        min-width: 110px;
        padding: 16px 12px;
    }
    .pricing-compare thead th:first-child {
        min-width: 140px;
    }
    .pricing-th-price {
        font-size: 1.5rem;
    }
    .pricing-compare tbody td,
    .pricing-compare tfoot td {
        padding: 10px 12px;
        font-size: 0.82rem;
    }
}

/* ============================================
   PRICING CARDS (Simplified)
   ============================================ */
@media (max-width: 768px) {
    .pricing-cards[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        max-width: 400px;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Guarantee section - stack icon and text vertically */
    #guarantee .glass-strong[style*="display:flex"] {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 32px 24px !important;
        gap: 16px !important;
    }

    /* Transformation section - reduce padding on mobile */
    #transformation .transformation-grid > div {
        padding: 28px 20px !important;
    }

    /* Persona grid cards - tighter padding on mobile */
    .persona-grid .glass-strong[style*="padding:36px 32px"] {
        padding: 28px 20px !important;
    }

    /* Why Phantom cards - tighter padding */
    .competitive-grid .glass[style*="padding:28px 24px"] {
        padding: 24px 20px !important;
    }

    /* CTA glass card - reduce padding */
    .cta-glass-card[style*="padding:60px 40px"] {
        padding: 40px 20px !important;
    }

    /* Hero stats bar - 2x2 grid on mobile */
    .hero-stats-bar {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 16px !important;
        padding: 16px !important;
    }

    .hero-stats-bar .hero-stat-divider {
        display: none;
    }

    /* Mobile app section - center stack */
    #mobile-app .container > div[style*="display:flex"] {
        justify-content: center !important;
        gap: 40px !important;
    }

    #mobile-app [style*="max-width:380px"] {
        text-align: center !important;
    }

    #mobile-app [style*="margin-top:36px"] {
        justify-content: center !important;
    }
}

/* ============================================
   TOOL STACK CALCULATOR
   ============================================ */
.stack-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}
.stack-tool {
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 500;
}
.stack-what {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-left: 8px;
}
.stack-price {
    font-size: 0.88rem;
    color: var(--text-muted);
}
.stack-price s {
    opacity: 0.6;
}

/* ============================================
   BILLING TOGGLE (Annual/Monthly)
   ============================================ */
.billing-toggle {
    user-select: none;
    position: relative;
    z-index: 10;
}
.billing-switch {
    position: relative;
    width: 48px;
    height: 26px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 13px;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
    padding: 0;
}
.billing-switch.active {
    background: rgba(var(--accent-rgb), 0.2);
    border-color: var(--accent);
}
.billing-switch-knob {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    transition: transform 0.3s;
    pointer-events: none;
}
.billing-switch.active .billing-switch-knob {
    transform: translateX(22px);
}
.billing-save-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: #7ecf9a;
    background: rgba(126, 207, 154, 0.1);
    border: 1px solid rgba(126, 207, 154, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 6px;
    letter-spacing: 0.5px;
}

/* ============================================
   NOT FOR / BUILT FOR SECTION
   ============================================ */
#not-for {
    padding: 80px 0;
}

/* ============================================
   PROOF GRID - 6 items
   ============================================ */
.proof-grid {
    grid-template-columns: repeat(3, 1fr) !important;
}
@media (max-width: 768px) {
    .proof-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 480px) {
    .proof-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ============================================
   MEET PHANTOM - Embedded AI Chat (v0-style)
   ============================================ */
.ask-phantom-chat {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
    position: relative;
}

.ask-phantom-messages {
    min-height: 280px;
    max-height: 400px;
    overflow-y: auto;
    padding: 24px 24px 16px;
    scroll-behavior: smooth;
}

.ask-phantom-messages::-webkit-scrollbar {
    width: 4px;
}

.ask-phantom-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.ask-phantom-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    gap: 16px;
    opacity: 0.4;
}

.ask-phantom-placeholder-ghost {
    width: 48px;
    height: 48px;
    opacity: 0.5;
    filter: grayscale(0.5);
}

.ask-phantom-placeholder p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
}

.ask-phantom-input-wrap {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    margin: 0 16px 16px;
    padding: 12px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    transition: border-color 0.3s ease;
}

.ask-phantom-input-wrap:focus-within {
    border-color: rgba(255, 255, 255, 0.15);
}

.ask-phantom-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.5;
    resize: none;
    min-height: 24px;
    max-height: 80px;
}

.ask-phantom-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.ask-phantom-input-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.ask-phantom-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease, background 0.3s ease;
}

.ask-phantom-action-btn:hover {
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
}

.ask-phantom-remaining {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.25);
    white-space: nowrap;
}

.ask-phantom-send-btn {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    border: none;
    background: var(--accent);
    color: #000000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, transform 0.2s ease;
}

.ask-phantom-send-btn:disabled {
    opacity: 0.3;
    cursor: default;
}

.ask-phantom-send-btn:not(:disabled):hover {
    transform: scale(1.05);
}

.ask-phantom-prompts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 16px 20px;
    justify-content: center;
}

.ask-phantom-prompt {
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-body);
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.ask-phantom-prompt:hover {
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
}

.ask-phantom-prompt.active {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(var(--accent-rgb), 0.1);
}

/* Chat message styles for embedded chat */
#askPhantomChat .phantom-chat-msg {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    align-items: flex-start;
}

#askPhantomChat .phantom-chat-msg.user {
    flex-direction: row-reverse;
}

#askPhantomChat .phantom-chat-msg-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 600;
}

#askPhantomChat .phantom-chat-msg-avatar.phantom {
    background: rgba(var(--accent-rgb), 0.1);
}

#askPhantomChat .phantom-chat-msg-avatar.phantom img {
    width: 20px;
    height: 20px;
    opacity: 0.7;
}

#askPhantomChat .phantom-chat-msg-avatar.visitor {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.5);
}

#askPhantomChat .phantom-chat-msg-bubble {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.88rem;
    line-height: 1.65;
}

#askPhantomChat .phantom-chat-msg.user .phantom-chat-msg-bubble {
    background: rgba(var(--accent-rgb), 0.12);
    color: var(--text);
    border-bottom-right-radius: 4px;
}

#askPhantomChat .phantom-chat-msg.assistant .phantom-chat-msg-bubble {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.75);
    border-bottom-left-radius: 4px;
}

#askPhantomChat .phantom-chat-typing {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
}

#askPhantomChat .phantom-chat-typing-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    animation: chatTypingDot 1.4s infinite ease-in-out;
}

#askPhantomChat .phantom-chat-limit-warning {
    text-align: center;
    padding: 16px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 8px;
}

#askPhantomChat .phantom-chat-limit-warning a {
    color: var(--accent);
    text-decoration: underline;
}

/* ============================================
   RESPONSIVE - New Sections
   ============================================ */
@media (max-width: 768px) {
    .intel-power-grid {
        grid-template-columns: 1fr !important;
    }
    .ai-assistant-grid {
        grid-template-columns: 1fr !important;
    }
    #not-for .container > div > div {
        grid-template-columns: 1fr !important;
    }
    .ai-pipeline-step {
        gap: 14px !important;
    }
    .ai-pipeline-step > div:first-child {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px;
        font-size: 0.72rem !important;
    }

    .ask-phantom-messages {
        min-height: 200px;
        max-height: 320px;
        padding: 16px;
    }

    .ask-phantom-input-wrap {
        margin: 0 12px 12px;
    }

    .ask-phantom-prompts {
        padding: 0 12px 16px;
    }

    .ask-phantom-prompt {
        font-size: 0.72rem;
        padding: 6px 12px;
    }
}

/* ===== VIDEO EMBED ===== */
.video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 40px auto 0;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 0 60px rgba(79, 142, 247, 0.08);
    background: var(--bg-card);
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ── HOMEPAGE IMPROVEMENTS ─────────────────────────────────── */

/* Pillar card hover (desktop only) */
.pillar-card {
    transition: transform 0.3s ease, border-color 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .pillar-card:hover {
        transform: scale(1.02);
    }
}

/* ROI pill base */
.roi-pill {
    transition: background 0.3s ease;
}

/* ROI Pipeline + new sections mobile */
@media (max-width: 768px) {
    .roi-pipeline {
        flex-direction: column !important;
        gap: 8px !important;
    }
    .roi-pipeline .roi-arrow {
        transform: rotate(90deg);
    }
    .roi-pipeline .roi-pill {
        padding: 6px 12px !important;
    }
    .roi-pipeline .roi-pill span {
        font-size: 0.78rem !important;
    }
    .results-grid {
        grid-template-columns: 1fr !important;
    }
    .demo-preview {
        margin-top: 28px !important;
    }
    .tool-stack-calc {
        padding: 24px 20px !important;
    }
    .hp-screenshot-frame {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Demo video hover */
.demo-preview:hover img {
    opacity: 0.85 !important;
}
.demo-preview:hover .demo-play-btn {
    transform: scale(1.1);
}
.demo-preview:hover {
    filter: drop-shadow(0 0 30px rgba(var(--accent-rgb), 0.15));
}

/* Play button pulse */
.demo-play-btn {
    animation: playPulse 2s ease-in-out infinite;
}
@keyframes playPulse {
    0%, 100% { box-shadow: 0 0 30px rgba(var(--accent-rgb), 0.4); }
    50% { box-shadow: 0 0 50px rgba(var(--accent-rgb), 0.6); }
}

/* Typing cursor */
.phantom-typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: var(--accent);
    margin-left: 1px;
    vertical-align: text-bottom;
    animation: typeCursorBlink 0.7s steps(1) infinite;
}
@keyframes typeCursorBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Results grid + small mobile */
@media (max-width: 480px) {
    .proof-bar {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .proof-bar .proof-number {
        font-size: 1.6rem !important;
    }
    .benchmark-bars {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    .roi-pipeline .roi-pill {
        padding: 5px 10px !important;
    }
    .roi-pipeline .roi-pill span {
        font-size: 0.75rem !important;
    }
    .roi-pipeline .roi-pill svg {
        width: 12px !important;
        height: 12px !important;
    }
    .roi-pipeline .roi-arrow {
        width: 12px !important;
        height: 12px !important;
    }
    .pillar-card h3 {
        font-size: 1.05rem !important;
    }
    .pillar-card p {
        font-size: 0.82rem !important;
    }
    #marketplace .glow-card {
        padding: 24px 20px !important;
    }
    .creative-showcase {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .studio-features-grid {
        grid-template-columns: 1fr !important;
    }
}

/* CRM Tabs */
.crm-tab {
    transition: all 0.3s ease;
}
.crm-tab.active {
    border-color: rgba(167, 139, 250, 0.3) !important;
    background: rgba(167, 139, 250, 0.1) !important;
    color: #a78bfa !important;
}
@media (hover: hover) and (pointer: fine) {
    .crm-tab:hover:not(.active) {
        border-color: rgba(167, 139, 250, 0.2) !important;
        color: #a78bfa !important;
    }
}
.crm-panel {
    animation: crmFadeIn 0.3s ease;
}
@keyframes crmFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 4-pillar + CRM small mobile */
@media (max-width: 480px) {
    .pillar-cards {
        grid-template-columns: 1fr !important;
    }
    .crm-tabs {
        gap: 6px !important;
    }
    .crm-tab {
        padding: 8px 14px !important;
        font-size: 0.75rem !important;
    }
}

/* Creative showcase + calendar + studio responsive */
@media (max-width: 768px) {
    .creative-showcase {
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: 100% !important;
    }
    .tall-samples {
        flex-direction: row !important;
        justify-content: center !important;
        width: 100% !important;
    }
    .tall-samples > div:first-child {
        width: 120px !important;
    }
    .tall-samples > div:last-child {
        width: 180px !important;
    }
    .studio-features-grid {
        grid-template-columns: 1fr 1fr !important;
    }
    .visual-calendar {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* ============================================
   QUIZ SECTION
   ============================================ */
#quiz { padding: var(--section-pad) 0; }
#quiz .quiz-teaser { text-align: center; }
#quiz .quiz-card {
    max-width: 640px;
    margin: 0 auto;
    padding: 40px 32px;
    border-radius: 20px;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.4s ease;
}
#quiz .quiz-card[data-state="collapsed"] {
    max-height: 0;
    padding: 0 32px;
    opacity: 0;
    pointer-events: none;
}
#quiz .quiz-card[data-state="expanded"] {
    max-height: 2000px;
    opacity: 1;
}

/* Progress bar */
#quiz .quiz-progress {
    height: 3px;
    background: var(--border);
    border-radius: 3px;
    margin-bottom: 32px;
    overflow: hidden;
}
#quiz .quiz-progress-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
    transition: width 0.4s ease;
    width: 0%;
}

/* Chat area */
#quiz .quiz-chat {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 60px;
}

/* Phantom message bubble */
#quiz .phantom-msg {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    opacity: 0;
    transform: translateY(10px);
    animation: quizFadeIn 0.4s ease forwards;
}
#quiz .phantom-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(var(--accent-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
#quiz .phantom-avatar img {
    width: 22px;
    height: 22px;
}
#quiz .phantom-bubble {
    background: rgba(var(--accent-rgb), 0.08);
    border: 1px solid rgba(var(--accent-rgb), 0.15);
    border-radius: 16px 16px 16px 4px;
    padding: 12px 16px;
    color: var(--text);
    font-size: 0.92rem;
    line-height: 1.5;
    max-width: 85%;
}

/* Typing indicator */
#quiz .typing-dots {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
}
#quiz .typing-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.4;
    animation: quizDotPulse 1.2s ease-in-out infinite;
}
#quiz .typing-dots span:nth-child(2) { animation-delay: 0.15s; }
#quiz .typing-dots span:nth-child(3) { animation-delay: 0.3s; }

/* Answer options */
#quiz .quiz-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
    opacity: 0;
    transform: translateY(10px);
    animation: quizFadeIn 0.4s ease 0.2s forwards;
}
#quiz .quiz-option {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 18px;
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.4;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}
#quiz .quiz-option:hover {
    border-color: rgba(var(--accent-rgb), 0.4);
    background: rgba(var(--accent-rgb), 0.06);
    color: var(--text);
}
#quiz .quiz-option.selected {
    border-color: var(--accent);
    background: rgba(var(--accent-rgb), 0.1);
    color: var(--text);
}

/* Result screen */
#quiz .quiz-result {
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    animation: quizFadeIn 0.5s ease forwards;
}
#quiz .quiz-result h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 16px 0 24px;
    color: var(--text);
}
#quiz .result-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
    text-align: left;
}
#quiz .result-feature {
    padding: 16px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
}
#quiz .result-feature .rf-name {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--accent);
    margin-bottom: 4px;
}
#quiz .result-feature .rf-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}
#quiz .result-math {
    padding: 16px;
    border-radius: 12px;
    background: rgba(var(--accent-rgb), 0.06);
    border: 1px solid rgba(var(--accent-rgb), 0.12);
    margin-bottom: 24px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}
#quiz .result-plan {
    padding: 20px;
    border-radius: 16px;
    border: 2px solid var(--accent);
    background: rgba(var(--accent-rgb), 0.05);
    margin-bottom: 24px;
}
#quiz .result-plan .rp-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 4px;
}
#quiz .result-plan .rp-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
}
#quiz .result-plan .rp-price {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 2px;
}
#quiz .result-plan .rp-reason {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-top: 8px;
    line-height: 1.4;
}
#quiz .quiz-restart {
    margin-top: 12px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: underline;
}

/* Animations */
@keyframes quizFadeIn {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes quizDotPulse {
    0%, 60%, 100% { opacity: 0.2; transform: scale(0.8); }
    30% { opacity: 1; transform: scale(1); }
}

/* Quiz mobile */
@media (max-width: 768px) {
    #quiz .quiz-card { padding: 28px 20px; }
    #quiz .result-features { grid-template-columns: 1fr; }
    #quiz .phantom-bubble { max-width: 90%; font-size: 0.88rem; }
}

/* Countries section responsive */
@media (max-width: 768px) {
    #countries [style*="grid-template-columns:repeat(5"] {
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: 100% !important;
    }
}
@media (max-width: 480px) {
    #countries [style*="grid-template-columns:repeat(5"] {
        grid-template-columns: 1fr !important;
        max-width: 320px !important;
    }
}

/* Feature rows responsive (homepage restructure) */
@media (max-width: 768px) {
    .feature-row {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        margin-bottom: 48px !important;
    }
    .feature-row .feature-img {
        order: -1;
    }
    #built-by-creators [style*="grid-template-columns:auto"] {
        grid-template-columns: 1fr !important;
        text-align: center;
    }
    #built-by-creators [style*="width:80px"] {
        margin: 0 auto;
    }
    .pricing-grid-hp {
        grid-template-columns: 1fr !important;
        max-width: 400px !important;
        margin: 0 auto !important;
    }
}
