/* ═══════════════════════════════════════
   Mirage Landing Page
   Nunito (rounded) · System dark mode
   Glassmorphism · Spring animations
   ═══════════════════════════════════════ */

:root {
    --bg: #faf9f7;
    --bg-rgb: 250, 249, 247;
    --bg-card: rgba(255, 255, 255, 0.65);
    --bg-glass: rgba(255, 255, 255, 0.45);
    --bg-glass-strong: rgba(255, 255, 255, 0.7);
    --text: #161615;
    --text-2: #5c5c58;
    --text-3: #a0a09c;
    --border: rgba(0, 0, 0, 0.08);
    --border-glass: rgba(255, 255, 255, 0.6);
    --border-hover: rgba(0, 0, 0, 0.15);
    --accent: #7c3aed;
    --accent-hover: #6d28d9;
    --accent-bg: rgba(124, 58, 237, 0.08);
    --shadow-card: 0 4px 16px rgba(0,0,0,0.06), 0 12px 40px rgba(0,0,0,0.06);
    --shadow-card-hover: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-glass: 0 6px 24px rgba(0,0,0,0.08), 0 16px 48px rgba(0,0,0,0.05);
    --shadow-btn: 0 6px 20px rgba(124, 58, 237, 0.35);
    --shadow-btn-hover: 0 3px 12px rgba(124, 58, 237, 0.25);
    --shadow-btn-active: 0 1px 4px rgba(124, 58, 237, 0.15);
    --nav-bg: rgba(250, 249, 247, 0.7);
    --glow-a: hsla(272, 90%, 75%, 0.45);
    --glow-b: hsla(199, 95%, 70%, 0.4);
    --glow-c: hsla(340, 90%, 75%, 0.35);
    --cta-from: #7c3aed;
    --cta-to: #4f46e5;
    --table-win: rgba(124, 58, 237, 0.08);
    --table-head-bg: rgba(0, 0, 0, 0.03);
    --check: #10b981;
    --partial: #f59e0b;
    --cross: #ef4444;
    --font: 'Inter', system-ui, -apple-system, sans-serif;

    /* true spring: overshoots to ~1.2, bounces back, settles */
    --spring: linear(
        0, 0.009, 0.035, 0.078, 0.141, 0.223, 0.326, 0.451, 0.601, 0.775,
        0.951, 1.091, 1.171, 1.199, 1.185, 1.137, 1.067, 0.991, 0.924,
        0.876, 0.860, 0.871, 0.908, 0.957, 1.003, 1.037, 1.053, 1.048,
        1.029, 1.004, 0.982, 0.970, 0.968, 0.976, 0.990, 1.003, 1.011,
        1.012, 1.006, 1.000, 0.997, 0.998, 1
    );
    /* snappier spring for small elements */
    --spring-snappy: linear(
        0, 0.063, 0.223, 0.451, 0.775,
        1.091, 1.199, 1.137, 0.991,
        0.876, 0.908, 1.003, 1.053,
        1.029, 0.982, 0.976, 1.003,
        1.006, 1
    );

    color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0a0a0c;
        --bg-rgb: 10, 10, 12;
        --bg-card: rgba(255, 255, 255, 0.04);
        --bg-glass: rgba(255, 255, 255, 0.06);
        --bg-glass-strong: rgba(255, 255, 255, 0.08);
        --text: #f4f4f2;
        --text-2: #9e9e9a;
        --text-3: #55554f;
        --border: rgba(255, 255, 255, 0.08);
        --border-glass: rgba(255, 255, 255, 0.12);
        --border-hover: rgba(255, 255, 255, 0.2);
        --accent: #9333ea;
        --accent-hover: #7e22ce;
        --accent-bg: rgba(147, 51, 234, 0.15);
        --shadow-card: 0 4px 16px rgba(0,0,0,0.3), 0 12px 40px rgba(0,0,0,0.2);
        --shadow-card-hover: 0 2px 8px rgba(0,0,0,0.4);
        --shadow-glass: 0 6px 24px rgba(0,0,0,0.35), 0 16px 48px rgba(0,0,0,0.15);
        --shadow-btn: 0 6px 24px rgba(147, 51, 234, 0.3);
        --shadow-btn-hover: 0 3px 12px rgba(147, 51, 234, 0.25);
        --shadow-btn-active: 0 1px 4px rgba(147, 51, 234, 0.15);
        --nav-bg: rgba(10, 10, 12, 0.7);
        --glow-a: hsla(272, 80%, 60%, 0.3);
        --glow-b: hsla(199, 90%, 60%, 0.25);
        --glow-c: hsla(340, 80%, 60%, 0.2);
        --cta-from: #9333ea;
        --cta-to: #6366f1;
        --table-win: rgba(147, 51, 234, 0.15);
        --table-head-bg: rgba(255, 255, 255, 0.03);
        --check: #34d399;
        --partial: #fbbf24;
        --cross: #f87171;
    }
}

/* ═══ Reset ═══ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

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

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }

/* ═══ Navigation ═══ */

.nav {
    position: fixed;
    top: 0.7rem;
    left: 50%;
    transform: translateX(-50%);
    width: min(1120px, calc(100% - 1.5rem));
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.35rem;
    border-radius: 18px;
    background: var(--nav-bg);
    backdrop-filter: blur(6px) saturate(1.2);
    -webkit-backdrop-filter: blur(6px) saturate(1.2);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-glass);
    transition: background 0.35s, backdrop-filter 0.35s, box-shadow 0.35s, border-color 0.35s;
}

.nav.scrolled {
    border-color: var(--border-hover);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.nav-logo {
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    transition: transform 0.3s ease-out, color 0.2s;
}

.nav-logo:hover {
    transform: scale(1.08);
    color: var(--accent);
}

.nav-links { display: flex; align-items: center; gap: 2rem; }

.nav-links a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-2);
    transition: color 0.2s, transform 0.2s ease-out;
    display: inline-block;
    vertical-align: middle;
}

.nav-links a:hover {
    color: var(--text);
    transform: perspective(1000px) rotateX(var(--rot-x, 0deg)) rotateY(var(--rot-y, 0deg));
    transition: transform 0s, color 0.2s;
}

.nav-links .nav-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: var(--accent);
    color: #fff !important;
    padding: 0.45rem 1.1rem;
    border-radius: 20px;
    font-weight: 700;
    transition: background 0.2s, transform 0.3s ease-out;
    margin-left: 0.5rem;
    vertical-align: middle;
    box-shadow: var(--shadow-btn);
    overflow: hidden;
    z-index: 1;
}

.nav-links .nav-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.4s ease;
    background: radial-gradient(
        400px circle at var(--mouse-x, -9999px) var(--mouse-y, -9999px),
        rgba(255, 255, 255, 0.25),
        transparent 40%
    );
    z-index: 10;
    pointer-events: none;
}

.nav-links .nav-cta.is-hovered {
    background: var(--accent-hover);
    transform: perspective(1000px) rotateX(var(--rot-x, 0deg)) rotateY(var(--rot-y, 0deg));
    transition: transform 0s, background 0.2s;
}

.nav-links .nav-cta.is-hovered::after {
    opacity: 1;
}

.nav-links .nav-cta:active {
    transform: perspective(1000px) translateY(4px) scale(0.96) rotateX(var(--rot-x, 0deg)) rotateY(var(--rot-y, 0deg));
    transition-duration: 0.12s;
}

/* mobile menu toggle */
.nav-toggle {
    display: none;
    appearance: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
    padding: 4px;
}

.nav-toggle svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
}

/* ═══ Hero ═══ */

.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 7rem 1.5rem 5rem;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(var(--bg-rgb), 0) 56%,
        rgba(var(--bg-rgb), 0.72) 84%,
        rgba(var(--bg-rgb), 1) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.hero-glow {
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(circle at 10% 10%, var(--glow-a), transparent 50%),
        radial-gradient(circle at 90% 20%, var(--glow-b), transparent 60%),
        radial-gradient(circle at 50% 90%, var(--glow-c), transparent 50%);
    filter: blur(100px);
    opacity: 0.8;
    animation: glow-move 25s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes glow-move {
    0%   { transform: translate(var(--tx, 0px), var(--ty, 0px)) rotate(0deg) scale(1); }
    33%  { transform: translate(30px, -20px) scale(1.05) rotate(1deg); }
    66%  { transform: translate(-20px, 15px) scale(0.97) rotate(-1deg); }
    100% { transform: translate(15px, -10px) scale(1.03) rotate(0.5deg); }
}

.hero-shapes { position: absolute; inset: 0; pointer-events: none; }

.shape {
    position: absolute;
    border: 1px solid var(--border-glass);
    background: var(--bg-glass-strong);
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.4),
        0 8px 32px rgba(0, 0, 0, 0.08);
    transform: translate(var(--tx, 0px), var(--ty, 0px));
}

.shape-circle  { border-radius: 50%; }
.shape-rounded { border-radius: 30%; }

.s1 { width: 120px; height: 120px; top: 10%; left: 8%;  animation: drift-a 25s cubic-bezier(0.4, 0, 0.2, 1) infinite; filter: blur(3px); }
.s2 { width: 65px;  height: 65px;  top: 15%; right: 12%; animation: drift-b 28s cubic-bezier(0.4, 0, 0.2, 1) infinite; filter: blur(1px); }
.s3 { width: 45px;  height: 45px;  bottom: 25%; left: 15%; animation: drift-c 20s cubic-bezier(0.4, 0, 0.2, 1) infinite; filter: blur(2px); }
.s4 { width: 85px;  height: 85px;  bottom: 15%; right: 8%; animation: drift-a 30s cubic-bezier(0.4, 0, 0.2, 1) infinite reverse; }
.s5 { width: 35px;  height: 35px;  top: 45%; left: 25%;  animation: drift-b 22s cubic-bezier(0.4, 0, 0.2, 1) infinite reverse; filter: blur(4px); }
.s6 { width: 55px;  height: 55px;  top: 60%; right: 20%; animation: drift-c 26s cubic-bezier(0.4, 0, 0.2, 1) infinite; filter: blur(1px); }

@keyframes drift-a {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.4; }
    25%      { transform: translate(30px, -25px) rotate(45deg) scale(1.1); opacity: 0.6; }
    50%      { transform: translate(calc(-15px + var(--tx, 0px)), calc(-40px + var(--ty, 0px))) rotate(90deg) scale(0.95); opacity: 0.3; }
    75%      { transform: translate(calc(25px + var(--tx, 0px)), calc(15px + var(--ty, 0px))) rotate(135deg) scale(1.05); opacity: 0.5; }
}

@keyframes drift-b {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.5; }
    33%      { transform: translate(calc(-35px + var(--tx, 0px)), calc(25px + var(--ty, 0px))) rotate(-45deg) scale(0.9); opacity: 0.3; }
    66%      { transform: translate(calc(20px + var(--tx, 0px)), calc(-25px + var(--ty, 0px))) rotate(-90deg) scale(1.15); opacity: 0.6; }
}

@keyframes drift-c {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.3; }
    50%      { transform: translate(calc(25px + var(--tx, 0px)), calc(-30px + var(--ty, 0px))) rotate(180deg) scale(1.2); opacity: 0.7; }
}

.hero-content { position: relative; z-index: 2; max-width: 660px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent);
    background: var(--accent-bg);
    border: 1px solid rgba(124, 58, 237, 0.2);
    padding: 0.3rem 0.9rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    animation: badge-pulse 3s ease-in-out infinite;
    transition: transform 0.3s ease-out;
}

.hero-badge.is-hovered {
    transform: perspective(1000px) rotateX(var(--rot-x, 0deg)) rotateY(var(--rot-y, 0deg));
    transition: transform 0s;
}

@keyframes badge-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.15); }
    50%      { box-shadow: 0 0 0 10px rgba(124, 58, 237, 0); }
}

.hero h1 {
    font-weight: 800;
    font-size: clamp(3.2rem, 8vw, 5.2rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-2);
    max-width: 520px;
    margin: 0 auto 2.5rem;
    line-height: 1.65;
}

.hero-actions { margin-bottom: 2rem; }

.btn-download {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: var(--accent);
    color: #fff;
    padding: 0.85rem 1.7rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: background 0.2s, transform 0.3s ease-out, box-shadow 0.3s ease-out;
    box-shadow: var(--shadow-btn);
    overflow: hidden;
    z-index: 1;
}

.btn-download::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.4s ease;
    background: radial-gradient(
        400px circle at var(--mouse-x, -9999px) var(--mouse-y, -9999px),
        rgba(255, 255, 255, 0.3),
        transparent 40%
    );
    z-index: 10;
    pointer-events: none;
}

.btn-download.is-hovered {
    background: var(--accent-hover);
    transform: perspective(1000px) rotateX(var(--rot-x, 0deg)) rotateY(var(--rot-y, 0deg));
    
    transition: transform 0s, background 0.2s;
}

.btn-download.is-hovered::after {
    opacity: 1;
}

.btn-download:active {
    transform: perspective(1000px) translateY(4px) scale(0.96) rotateX(var(--rot-x, 0deg)) rotateY(var(--rot-y, 0deg));
    box-shadow: var(--shadow-btn-active);
    transition-duration: 0.12s;
}

.btn-download svg { width: 17px; height: 17px; fill: currentColor; flex-shrink: 0; }

.host-download-link {
    display: block;
    width: max-content;
    margin: 1.25rem auto 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-2);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: color 0.2s, transform 0.2s ease-out;
}

.host-download-link:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

.platforms { display: flex; justify-content: center; align-items: center; gap: 0.5rem; flex-wrap: wrap; }

.platforms-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-2);
    margin-right: 0.25rem;
}

.platform-pill {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-2);
    padding: 0.3rem 0.75rem;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: var(--bg-glass-strong);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    user-select: none;
    -webkit-user-select: none;
    cursor: default;
    transition: border-color 0.2s, color 0.2s, transform 0.3s ease-out;
}

.platform-pill:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-5px) scale(1.08);
}

/* ═══ Shared section ═══ */

.section-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

.section-heading {
    font-weight: 800;
    font-size: clamp(2rem, 4.5vw, 3rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-2);
    max-width: 480px;
    line-height: 1.65;
}

/* ═══ Value Propositions (horizontal scroller) ═══ */

.value-strip {
    padding: 4rem 0;
    overflow: hidden;
}

.value-track {
    display: flex;
    gap: 1.25rem;
    width: max-content;
    will-change: transform;
}

.value-chip {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    position: relative;
    padding: 0.7rem 1.25rem;
    border-radius: 100px;
    background: var(--bg-glass-strong);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-glass);
    white-space: nowrap;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    flex-shrink: 0;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
    cursor: default;
}

.value-chip.is-hovered {
    transform: translateY(2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.value-chip.is-hovered svg {
    transform: scale(1.25) rotate(-12deg);
}

.vc-blue    { color: #3b82f6; }
.vc-cyan    { color: #06b6d4; }
.vc-emerald { color: #10b981; }
.vc-amber   { color: #d97706; }
.vc-violet  { color: #8b5cf6; }
.vc-rose    { color: #f43f5e; }
.vc-sky     { color: #0ea5e9; }
.vc-lime    { color: #84cc16; }


/* ═══ Features ═══ */

.features-section { padding: 5rem 0 6rem; }
.features-header { text-align: center; margin-bottom: 3.5rem; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    position: relative;
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-glass);
    transition: transform 0.3s ease-out,
                box-shadow 0.3s ease-out,
                border-color 0.3s ease-out;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--bg-glass-strong);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    z-index: -1;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin-bottom: 1.25rem;
    transition: transform 0.3s ease-out;
}

.feature-card.is-hovered .feature-icon {
    transform: scale(1.25) rotate(-12deg);
}

.feature-icon svg {
    width: 24px; height: 24px;
    stroke: currentColor; fill: none;
    stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.fi-blue    { background: rgba(59, 130, 246, 0.12);  color: #3b82f6; }
.fi-cyan    { background: rgba(6, 182, 212, 0.12);   color: #06b6d4; }
.fi-emerald { background: rgba(16, 185, 129, 0.12);  color: #10b981; }
.fi-amber   { background: rgba(245, 158, 11, 0.12);  color: #d97706; }
.fi-violet  { background: rgba(139, 92, 246, 0.12);  color: #8b5cf6; }
.fi-rose    { background: rgba(244, 63, 94, 0.12);   color: #f43f5e; }
.fi-sky     { background: rgba(14, 165, 233, 0.12);  color: #0ea5e9; }
.fi-lime    { background: rgba(132, 204, 22, 0.12);  color: #65a30d; }
.fi-indigo  { background: rgba(99, 102, 241, 0.12);  color: #6366f1; }

.feature-card h3 {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.4rem;
    transition: color 0.2s;
}

.feature-card.is-hovered h3 { color: var(--accent); }

.feature-card p { font-size: 0.88rem; color: var(--text-2); line-height: 1.55; }

/* ═══ Comparison Table ═══ */

.compare-section { padding: 5rem 0 6rem; }
.compare-header { text-align: center; margin-bottom: 3rem; }
.compare-header .section-desc { margin: 0 auto; }
.compare-footnote {
    margin-top: 0.85rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-3);
    line-height: 1.55;
}

.compare-wrapper {
    position: relative;
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    box-shadow: var(--shadow-glass);
    overflow: hidden;
    transition: transform 0.3s ease-out,
                box-shadow 0.3s ease-out,
                border-color 0.3s ease-out;
}

.compare-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--bg-glass-strong);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    z-index: -1;
}



.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    table-layout: fixed;
}

.compare-table thead th {
    padding: 1rem 1.25rem;
    font-weight: 700;
    font-size: 0.82rem;
    text-align: center;
    background: var(--table-head-bg);
    border-bottom: 1px solid var(--border);
    color: var(--text-2);
    letter-spacing: 0.01em;
}

.compare-table thead th:first-child {
    text-align: left;
    color: var(--text);
    font-size: 0.88rem;
    width: 32%;
}

.compare-table thead th:not(:first-child),
.compare-table tbody td:not(:first-child) {
    width: 17%;
}

.compare-table .col-mirage {
    color: var(--accent) !important;
    background: var(--table-win);
}

.compare-table tbody td {
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--border);
    text-align: center;
    color: var(--text-2);
    vertical-align: middle;
}

.compare-table tbody td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--text);
}

.compare-table tbody tr:last-child td { border-bottom: none; }

.compare-table tbody td.col-mirage {
    background: var(--table-win);
    font-weight: 700;
    color: var(--text);
}

.compare-table tbody tr {
    transition: background 0.2s;
}

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

.icon-check, .icon-partial, .icon-cross {
    display: inline-block;
    font-weight: 700;
    transition: transform 0.2s ease-out;
}

.compare-table tbody tr:hover .icon-check {
    transform: scale(1.35);
}

.compare-table tbody tr:hover .icon-cross {
    transform: scale(1.2) rotate(90deg);
}

.compare-table tbody tr:hover .icon-partial {
    transform: scale(1.3);
}

.icon-check   { color: var(--check); }
.icon-partial { color: var(--partial); }
.icon-cross   { color: var(--cross); }

/* ═══ How It Works ═══ */

.how-section { padding: 5rem 0 6rem; }
.how-header { text-align: center; margin-bottom: 3.5rem; }
.how-header .section-desc { margin: 0 auto; }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.step-card {
    position: relative;
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-glass);
    transition: transform 0.3s ease-out,
                box-shadow 0.3s ease-out,
                border-color 0.3s ease-out;
}

.step-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--bg-glass-strong);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: -1;
}





.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: 13px;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    transition: transform 0.3s ease-out;
}

.step-card.is-hovered .step-num {
    transform: scale(1.2) rotate(-14deg);
}

.step-icon {
    width: 52px; height: 52px;
    margin: 0 auto 1rem;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--accent-bg);
    color: var(--accent);
    transition: transform 0.3s ease-out;
}

.step-card.is-hovered .step-icon {
    transform: scale(1.2) rotate(10deg);
}

.step-icon svg {
    width: 24px; height: 24px;
    stroke: currentColor; fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.step-card h3 {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
    transition: color 0.2s;
}

.step-card.is-hovered h3 { color: var(--accent); }

.step-card p { font-size: 0.88rem; color: var(--text-2); line-height: 1.55; }

/* ═══ Pricing ═══ */

.pricing-section { padding: 5rem 0 6rem; }
.pricing-header { text-align: center; margin-bottom: 3.5rem; }
.pricing-header .section-desc { margin: 0 auto; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-glass);
    transition: transform 0.3s ease-out,
                box-shadow 0.3s ease-out,
                border-color 0.3s ease-out;
}

.pricing-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--bg-glass-strong);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    z-index: -1;
}





.pricing-card-pro {
    border-color: var(--accent);
    border-width: 2px;
    box-shadow: var(--shadow-glass), 0 0 0 1px var(--accent), 0 8px 30px rgba(124, 58, 237, 0.12);
}



.pricing-badge-pro {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 0.3rem 1rem;
    border-radius: 100px;
    white-space: nowrap;
}

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

.pricing-card-header h3 {
    font-weight: 800;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-weight: 800;
    font-size: 2.5rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.pricing-card-pro .pricing-price { color: var(--accent); }

.pricing-unit {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.6;
}

.pricing-term {
    font-size: 0.78rem;
    color: var(--text-2);
    margin-top: 0.35rem;
}

.pricing-yearly-option {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-1);
    margin-top: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.save-badge {
    background: var(--accent);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.5rem;
    border-radius: 100px;
    text-transform: uppercase;
}

.pricing-features {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.pricing-features li {
    font-size: 0.85rem;
    color: var(--text-2);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.45;
}

.pricing-features .icon-check {
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.pricing-compare-note {
    font-size: 0.78rem !important;
    color: var(--text-3) !important;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    line-height: 1.5 !important;
    display: block !important;
}

.pricing-lifetime-wrapper {
    margin-top: 1.25rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card-lifetime {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2.5rem;
}

.pricing-lifetime-info h3 {
    font-weight: 800;
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.pricing-lifetime-info p {
    color: var(--text-2);
    font-size: 0.9rem;
    line-height: 1.5;
}

.pricing-lifetime-price {
    text-align: right;
    flex-shrink: 0;
}

/* ═══ CTA ═══ */

.cta-section { padding: 2rem 0 6rem; }

.cta-card {
    background: linear-gradient(135deg, var(--cta-from), var(--cta-to));
    border-radius: 24px;
    border: 1px solid var(--border-glass);
    padding: 5rem 2rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease-out,
                box-shadow 0.3s ease-out;
}

.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.14), transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(255,255,255,0.08), transparent 50%);
    pointer-events: none;
    animation: cta-shimmer 8s ease-in-out infinite alternate;
}

@keyframes cta-shimmer {
    0%   { opacity: 0.6; transform: translateX(-10px); }
    100% { opacity: 1; transform: translateX(10px); }
}

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

.cta-card h2 {
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 0.75rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.cta-card p {
    font-size: 1.05rem;
    opacity: 0.85;
    margin-bottom: 2rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    color: var(--cta-from);
    padding: 0.85rem 1.7rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: transform 0.3s ease-out, box-shadow 0.3s;
    overflow: hidden;
}

.btn-cta.is-hovered {
    transform: perspective(1000px) rotateX(var(--rot-x, 0deg)) rotateY(var(--rot-y, 0deg));
    transition: transform 0s;
}

.btn-cta:active {
    transform: perspective(1000px) translateY(4px) scale(0.96) rotateX(var(--rot-x, 0deg)) rotateY(var(--rot-y, 0deg));
    transition-duration: 0.12s;
}

.btn-cta svg {
    width: 16px; height: 16px;
    stroke: currentColor; fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
    transition: transform 0.3s ease-out;
}

.btn-cta.is-hovered svg {
    transform: translateX(4px);
}

.cta-card .host-download-link {
    color: rgba(255, 255, 255, 0.75);
}

.cta-card .host-download-link:hover {
    color: #fff;
}

/* ═══ Footer ═══ */

footer {
    padding: 2rem 0;
    border-top: 1px solid var(--border);
}

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

.footer-copy { font-size: 0.8rem; color: var(--text-3); }
.footer-links { display: flex; gap: 1.5rem; }

.footer-links a {
    font-size: 0.8rem;
    color: var(--text-2);
    transition: color 0.2s, transform 0.2s ease-out;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--text);
    transform: translateY(-2px);
}

/* ═══ Scroll reveals ═══ */

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

.rd1 { transition-delay: 0.05s; }
.rd2 { transition-delay: 0.10s; }
.rd3 { transition-delay: 0.15s; }
.rd4 { transition-delay: 0.20s; }
.rd5 { transition-delay: 0.25s; }
.rd6 { transition-delay: 0.30s; }

/* ═══ Legal pages ═══ */

.legal-page { padding: 7rem 0 5rem; }

.legal-page h1 {
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 2.6rem);
    letter-spacing: -0.02em;
    margin-bottom: 0.4rem;
}

.legal-updated { font-size: 0.82rem; color: var(--text-3); margin-bottom: 2.5rem; }
.legal-page h2 { font-weight: 700; font-size: 1.15rem; margin-top: 2.25rem; margin-bottom: 0.6rem; }
.legal-page p, .legal-page li { font-size: 0.9rem; color: var(--text-2); line-height: 1.75; margin-bottom: 0.65rem; }
.legal-page ul { padding-left: 1.25rem; margin-bottom: 0.75rem; }
.legal-page li { margin-bottom: 0.35rem; }
.legal-page a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal-page a:hover { color: var(--accent-hover); }

/* FAQ */
.faq-item {
    position: relative;
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    box-shadow: var(--shadow-glass);
    margin-bottom: 0.75rem;
    transition: transform 0.3s ease-out,
                box-shadow 0.3s ease-out,
                border-color 0.3s ease-out;
}

.faq-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--bg-glass-strong);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: -1;
}



.faq-item summary {
    padding: 1rem 1.25rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent);
    flex-shrink: 0;
    transition: transform 0.2s ease-out;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 0 1.25rem 1rem;
    font-size: 0.88rem;
    color: var(--text-2);
    line-height: 1.65;
    margin: 0;
}

/* Unified press animation for all glass containers */
.feature-card,
.step-card,
.compare-wrapper,
.faq-item,
.pricing-card,
.cta-card,
.value-chip,
.btn-download,
.btn-cta {
    touch-action: manipulation;
}

.feature-card,
.step-card,
.compare-wrapper,
.faq-item,
.pricing-card,
.cta-card {
    transform-style: preserve-3d;
}

.feature-card > *:not(::before):not(::after),
.step-card > *:not(::before):not(::after),
.compare-wrapper > *:not(::before):not(::after),
.faq-item > *:not(::before):not(::after),
.pricing-card > *:not(::before):not(::after),
.cta-card > *:not(::before):not(::after) {
    transform: translateZ(24px);
    transition: transform 0.3s ease-out;
}

.feature-card,
.step-card,
.compare-wrapper,
.faq-item,
.cta-card {
    will-change: transform, box-shadow, border-color;
    transform-origin: center;
    transition: transform 0.3s ease-out,
                box-shadow 0.3s ease-out,
                border-color 0.3s ease-out !important;
}

.pricing-card {
    will-change: transform;
    transform-origin: center;
    transition: transform 0.3s ease-out !important;
}
.pricing-card::before {
    will-change: box-shadow, border-color;
    transition: box-shadow 0.3s ease-out,
                border-color 0.3s ease-out !important;
}

.feature-card.is-hovered,
.step-card.is-hovered,
.compare-wrapper.is-hovered,
.faq-item.is-hovered,
.cta-card.is-hovered {
    transform: perspective(1000px) rotateX(var(--rot-x, 0deg)) rotateY(var(--rot-y, 0deg)) !important;
    border-color: var(--border-hover) !important;
    transition: transform 0s, border-color 0.2s ease-out !important;
}

.pricing-card.is-hovered {
    transform: perspective(1000px) rotateX(var(--rot-x, 0deg)) rotateY(var(--rot-y, 0deg)) !important;
    transition: transform 0s !important;
}
.pricing-card.is-hovered::before {
    border-color: var(--border-hover) !important;
    transition: transform 0s, border-color 0.2s ease-out !important;
}

.pricing-card-pro.is-hovered::before {
    border-color: var(--accent) !important;
}

.feature-card:active,
.step-card:active,
.compare-wrapper:active,
.faq-item:active,
.cta-card:active {
    transform: perspective(1000px) rotateX(var(--rot-x, 0deg)) rotateY(var(--rot-y, 0deg)) !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12) !important;
    transition-duration: 0.12s !important;
}


.pricing-card:active::before {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12) !important;
    transition-duration: 0.12s !important;
}


/* ═══ Responsive ═══ */

@media (max-width: 768px) {
    .nav {
        top: 0.5rem;
        left: 0.5rem;
        right: 0.5rem;
        transform: none;
        width: auto;
        padding: 0.6rem 0.75rem;
        border-radius: 20px;
        box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        position: fixed;
        isolation: isolate;
    }

    .nav::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: var(--nav-bg);
        backdrop-filter: blur(6px) saturate(1.2);
        -webkit-backdrop-filter: blur(6px) saturate(1.2);
        border: 1px solid var(--border-glass);
        pointer-events: none;
        z-index: 0;
    }

    .nav > * {
        position: relative;
        z-index: 1;
    }

    .nav.scrolled {
        box-shadow: var(--shadow-glass);
    }

    .nav-toggle { display: block; }

    .nav-links {
        display: flex;
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(255, 255, 255, 0.42);
        backdrop-filter: blur(10px) saturate(1.2);
        -webkit-backdrop-filter: blur(10px) saturate(1.2);
        border: 1px solid var(--border-glass);
        border-radius: 14px;
        box-shadow: 0 16px 42px rgba(0, 0, 0, 0.16);
        padding: 0.4rem;
        overflow: hidden;
        isolation: isolate;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px) scale(0.98);
        transform-origin: top center;
        transition:
            opacity 0.3s ease,
            transform 0.3s ease-out,
            visibility 0s linear 0.3s;
        will-change: opacity, transform;
        -webkit-transform: translateZ(0);
    }

    @media (prefers-color-scheme: dark) {
        .nav-links {
            background: rgba(20, 20, 24, 0.5);
        }
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
        transition:
            opacity 0.25s ease,
            transform 0.3s ease-out,
            visibility 0s linear 0s;
    }

    .nav-links a {
        font-size: 0.92rem;
        padding: 0.65rem 1rem;
        width: 100%;
        border-radius: 10px;
        opacity: 0;
        transform: translateY(-6px);
        transition: background 0.2s, opacity 0.25s ease, transform 0.5s var(--spring-snappy);
    }

    .nav-links.open a {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links a:hover {
        transform: none;
        background: var(--accent-bg);
    }

    .hero { padding: 6.5rem 1rem 3rem; min-height: auto; }
    .hero h1 { font-size: 2.2rem; margin-bottom: 0.75rem; }
    .hero-sub { font-size: 0.95rem; margin-bottom: 1.5rem; }
    .hero-badge { margin-bottom: 1rem; }
    
    /* Reduce vertical spacing for sections */
    .value-strip { padding: 2rem 0; }
    .features-section,
    .compare-section,
    .how-section,
    .pricing-section { padding: 2.5rem 0; }
    .cta-section { padding: 1.5rem 0 3rem; }
    
    /* Reduce spacing below headers */
    .features-header,
    .compare-header,
    .how-header,
    .pricing-header { margin-bottom: 1.5rem; }
    .section-heading { font-size: 1.8rem; margin-bottom: 0.5rem; }
    
    .features-grid { grid-template-columns: 1fr; gap: 0.75rem; }
    .feature-card { padding: 1.25rem; }
    .feature-icon { width: 36px; height: 36px; margin-bottom: 0.75rem; }
    .feature-icon svg { width: 18px; height: 18px; }
    
    .steps-grid { grid-template-columns: 1fr; gap: 0.75rem; }
    .step-card { padding: 1.25rem; }
    .step-icon { width: 36px; height: 36px; margin-bottom: 0.75rem; }
    .step-icon svg { width: 18px; height: 18px; }
    .step-num { width: 32px; height: 32px; margin-bottom: 0.75rem; font-size: 0.85rem; }
    
    /* Make pricing less prominent on mobile */
    .pricing-grid { grid-template-columns: 1fr; gap: 0.75rem; }
    .pricing-card { padding: 1.25rem; }
    .pricing-lifetime-wrapper { margin-top: 0.75rem; }
    .pricing-card-lifetime { flex-direction: column; text-align: center; gap: 1rem; }
    .pricing-lifetime-price { text-align: center; }
    .pricing-card-pro { 
        transform: scale(1) !important; 
        border-width: 1px; 
        box-shadow: var(--shadow-glass), 0 0 0 1px var(--accent) !important; 
        padding: 1.25rem;
    }
    .pricing-card-pro.is-hovered { 
        transform: scale(0.985) !important; 
        box-shadow: var(--shadow-card-hover), 0 0 0 1px var(--accent) !important;
    }
    .pricing-badge-pro { top: -10px; font-size: 0.6rem; padding: 0.2rem 0.6rem; }
    .pricing-card-header { padding-bottom: 0.75rem; margin-bottom: 0.75rem; }
    .pricing-card-header h3 { font-size: 1rem; margin-bottom: 0.25rem; }
    .pricing-price { font-size: 1.6rem; }
    .pricing-term { font-size: 0.7rem; margin-top: 0.1rem; }
    .pricing-features { gap: 0.4rem; }
    .pricing-features li { font-size: 0.8rem; line-height: 1.3; margin-bottom: 0; }
    
    /* Fix comparison table */
    .compare-wrapper { 
        overflow-x: auto; 
        -webkit-overflow-scrolling: touch; 
        border-radius: 20px;
        margin: 0 -0.5rem; /* Allow it to bleed slightly edge-to-edge */
        padding-bottom: 0.5rem; /* Prevent scrollbar overlap */
        box-shadow: none !important; /* remove deep shadow on mobile since it bleeds */
        border: none !important;
        background: transparent !important;
        transform: none !important;
    }
    .compare-wrapper::before { display: none; }
    
    .compare-table { min-width: 500px; border-collapse: separate; border-spacing: 0; }
    .compare-table thead th,
    .compare-table tbody td { 
        padding: 0.75rem 0.5rem; 
        font-size: 0.75rem; 
        background: var(--bg-glass-strong);
        border-bottom: 1px solid var(--border-glass);
    }
    
    .compare-table thead th {
        background: rgba(0,0,0,0.03);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-top: 1px solid var(--border-glass);
    }
    @media (prefers-color-scheme: dark) {
        .compare-table thead th { background: rgba(255,255,255,0.03); }
    }
    
    /* Rounded corners for the table */
    .compare-table thead th:first-child { border-top-left-radius: 20px; }
    .compare-table thead th:last-child { border-top-right-radius: 20px; }
    .compare-table tbody tr:last-child td:first-child { border-bottom-left-radius: 20px; border-bottom: 1px solid var(--border-glass); }
    .compare-table tbody tr:last-child td:last-child { border-bottom-right-radius: 20px; border-bottom: 1px solid var(--border-glass); }
    .compare-table tbody tr:last-child td { border-bottom: 1px solid var(--border-glass); }

    .compare-table thead th:first-child,
    .compare-table tbody td:first-child { 
        width: 38%; 
        font-size: 0.8rem; 
        padding-left: 1rem; 
        position: sticky;
        left: 0;
        z-index: 10;
        box-shadow: 1px 0 0 var(--border-glass);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }
    
    .cta-card { padding: 3rem 1.25rem; border-radius: 20px; }
    .footer-inner { flex-direction: column; gap: 0.75rem; text-align: center; }
    .s1, .s4, .s6 { display: none; }
}

/* ═══ Spotlight Hover Effect ═══ */
.feature-card, .step-card, .pricing-card, .compare-wrapper, .faq-item, .cta-card, .value-chip {
    --spot-rgb: 124, 58, 237; /* Default purple */
}

/* Map specific icon colors to their card's spotlight */
.feature-card:has(.fi-blue) { --spot-rgb: 59, 130, 246; }
.feature-card:has(.fi-cyan) { --spot-rgb: 6, 182, 212; }
.feature-card:has(.fi-emerald) { --spot-rgb: 16, 185, 129; }
.feature-card:has(.fi-amber) { --spot-rgb: 245, 158, 11; }
.feature-card:has(.fi-violet) { --spot-rgb: 139, 92, 246; }
.feature-card:has(.fi-rose) { --spot-rgb: 244, 63, 94; }
.feature-card:has(.fi-sky) { --spot-rgb: 14, 165, 233; }
.feature-card:has(.fi-lime) { --spot-rgb: 132, 204, 22; }
.feature-card:has(.fi-indigo) { --spot-rgb: 99, 102, 241; }
.value-chip:has(.vc-blue) { --spot-rgb: 59, 130, 246; }
.value-chip:has(.vc-cyan) { --spot-rgb: 6, 182, 212; }
.value-chip:has(.vc-emerald) { --spot-rgb: 16, 185, 129; }
.value-chip:has(.vc-amber) { --spot-rgb: 245, 158, 11; }
.value-chip:has(.vc-violet) { --spot-rgb: 139, 92, 246; }
.value-chip:has(.vc-rose) { --spot-rgb: 244, 63, 94; }
.value-chip:has(.vc-sky) { --spot-rgb: 14, 165, 233; }
.value-chip:has(.vc-lime) { --spot-rgb: 132, 204, 22; }

.feature-card::after, .step-card::after, .pricing-card::after, .compare-wrapper::after, .faq-item::after, .cta-card::after, .value-chip::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.4s ease;
    background: radial-gradient(
        800px circle at var(--mouse-x, -9999px) var(--mouse-y, -9999px),
        rgba(var(--spot-rgb), 0.08),
        transparent 40%
    );
    z-index: 10;
    pointer-events: none;
}

@media (prefers-color-scheme: dark) {
    .step-card, .pricing-card, .compare-wrapper, .faq-item, .cta-card, .value-chip {
        --spot-rgb: 255, 255, 255; /* Default white for non-features in dark mode */
    }

    .feature-card::after, .step-card::after, .pricing-card::after, .compare-wrapper::after, .faq-item::after, .cta-card::after, .value-chip::after {
        background: radial-gradient(
            800px circle at var(--mouse-x, -9999px) var(--mouse-y, -9999px),
            rgba(var(--spot-rgb), 0.12),
            transparent 40%
        );
    }
}

.feature-card.is-hovered::after, 
.step-card.is-hovered::after, 
.pricing-card.is-hovered::after, 
.compare-wrapper.is-hovered::after, 
.faq-item.is-hovered::after,
.cta-card.is-hovered::after,
.value-chip.is-hovered::after {
    opacity: 1;
}
