/* ============================================================
   THEME VARIABLES
   ============================================================ */
:root {
    --blue-light: #A7C7E7;
    --blue-mid: #6FA8D4;
    --blue-deep: #25537d;
    --blue-glow: #7BB8E8;
    --font-display: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --transition-theme: background 0.5s ease, color 0.5s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* DARK THEME */
[data-theme="dark"] {
    --bg-primary: #0A1628;
    --bg-secondary: #080F1F;
    --bg-card: #111D35;
    --bg-nav: rgba(10, 22, 40, 0.92);
    --bg-footer: #060D1A;
    --text-primary: #F0F6FF;
    --text-dim: rgba(240, 246, 255, 0.888);
    --text-dimmer: rgba(240, 246, 255, 0.705);
    --glass: rgba(167, 199, 231, 0.06);
    --glass-hover: rgba(167, 199, 231, 0.11);
    --glass-border: rgba(167, 199, 231, 0.15);
    --glass-border-hover: rgba(167, 199, 231, 0.38);
    --accent-glow: rgba(107, 168, 212, 0.25);
    --accent-glow-strong: rgba(107, 168, 212, 0.55);
    --card-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
    --orbit-color: rgba(167, 199, 231, 0.12);
}

/* LIGHT THEME */
[data-theme="light"] {
    --bg-primary: #EEF4FB;
    --bg-secondary: #E3EDF8;
    --bg-card: #FFFFFF;
    --bg-nav: rgba(238, 244, 251, 0.92);
    --bg-footer: #D8E8F5;
    --text-primary: #0D1E38;
    --text-dim: rgba(6, 15, 28, 0.888);
    --text-dimmer: rgba(13, 30, 56, 0.42);
    --glass: rgba(107, 168, 212, 0.10);
    --glass-hover: rgba(107, 168, 212, 0.18);
    --glass-border: rgba(43, 95, 143, 0.18);
    --glass-border-hover: rgba(43, 95, 143, 0.45);
    --accent-glow: rgba(43, 95, 143, 0.12);
    --accent-glow-strong: rgba(43, 95, 143, 0.35);
    --card-shadow: 0 8px 40px rgba(43, 95, 143, 0.10);
    --orbit-color: rgba(43, 95, 143, 0.10);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    transition: var(--transition-theme);
}

/* Global overflow containment */
section {
    max-width: 100vw;
}

/* ============================================================
   LOADER
   ============================================================ */
#loader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#loader-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.loader-text {
    position: relative;
    z-index: 2;
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    font-weight: 800;
    letter-spacing: 0.05em;
    opacity: 0;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--blue-light) 50%, var(--blue-mid) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loader-sub {
    position: relative;
    z-index: 2;
    font-size: 0.85rem;
    color: var(--blue-light);
    opacity: 0;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    margin-top: 0.6rem;
}

.loader-bar {
    position: relative;
    z-index: 2;
    width: 220px;
    height: 2px;
    background: var(--glass-border);
    margin-top: 2.5rem;
    border-radius: 2px;
    overflow: hidden;
}

.loader-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--blue-deep), var(--blue-light));
    width: 0%;
    border-radius: 2px;
    box-shadow: 0 0 14px var(--blue-glow);
}

/* ============================================================
   THEME TOGGLE
   ============================================================ */
.theme-toggle {
    position: relative;
    width: 52px;
    height: 28px;
    cursor: pointer;
    flex-shrink: 0;
}

.theme-toggle input {
    display: none;
}

.theme-track {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 100px;
    background: var(--glass);
    border: 1.5px solid var(--glass-border);
    position: relative;
    transition: background 0.3s, border-color 0.3s;
    overflow: hidden;
}

.theme-track::before {
    content: '☀️';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    line-height: 1;
    transition: opacity 0.3s;
    opacity: 0;
}

.theme-track::after {
    content: '🌙';
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    line-height: 1;
    transition: opacity 0.3s;
    opacity: 1;
}

[data-theme="light"] .theme-track::before {
    opacity: 1;
}

[data-theme="light"] .theme-track::after {
    opacity: 0;
}

.theme-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-mid), var(--blue-deep));
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-theme="light"] .theme-thumb {
    transform: translateX(24px);
}

/* ============================================================
   NAVBAR
   ============================================================ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.2rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}

/* Intermediate laptop breakpoint — reduce nav spacing before hamburger kicks in */
@media (max-width: 1400px) {
    nav {
        padding: 1rem 2rem;
    }
}

@media (max-width: 1200px) {
    nav {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        gap: 0.35rem;
    }

    .nav-links a {
        padding: 0.4rem 0.65rem;
        font-size: 0.83rem;
    }
}

nav.scrolled {
    background: var(--bg-nav);
    backdrop-filter: blur(22px);
    box-shadow: 0 1px 0 var(--glass-border);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.nav-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Dual-brand flip logo ── */
.nav-logo-flip-container {
    width: 160px;
    height: 56px;
    position: relative;
    perspective: 800px;
    flex-shrink: 0;
}

.nav-logo-flipper {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-logo-flipper.flipped {
    transform: rotateY(180deg);
}

.nav-logo-face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.nav-logo-face--back {
    transform: rotateY(180deg);
}

.nav-logo-img {
    height: 56px;
    width: auto;
    max-width: 160px;
    display: block;
    object-fit: contain;
    filter: none;
}

[data-theme="light"] .nav-logo-img {
    filter: brightness(0.85) contrast(1.1);
}

[data-theme="dark"] .nav-logo-img {
    filter: brightness(1.1) drop-shadow(0 0 10px rgba(107, 168, 212, 0.35));
}

/* Dark theme: swap GenQue logo to white variant */
.nav-logo-img--dark-only {
    display: none;
}

.nav-logo-img--light-only {
    display: block;
}

[data-theme="dark"] .nav-logo-img--dark-only {
    display: block;
}

[data-theme="dark"] .nav-logo-img--light-only {
    display: none;
}

.nav-logo-text {
    display: none;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    position: relative;
    transition: color 0.3s, background 0.3s, box-shadow 0.3s, transform 0.25s, border-color 0.3s;
    padding: 0.5rem 0.85rem;
    border-radius: 100px;
    border: 1px solid transparent;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--blue-light);
    background: var(--glass);
    border-color: var(--glass-border-hover);
    box-shadow: 0 0 20px var(--accent-glow), 0 0 8px rgba(107, 168, 212, 0.15), inset 0 1px 0 rgba(167, 199, 231, 0.15);
    transform: translateY(-2px);
}

.nav-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 100px;
    background: linear-gradient(135deg, rgba(107, 168, 212, 0.0), rgba(107, 168, 212, 0.0));
    opacity: 0;
    transition: opacity 0.3s;
}

.nav-links a:hover::before {
    opacity: 1;
}

.nav-links a.nav-active {
    color: var(--blue-light);
    background: var(--glass);
    border-color: var(--glass-border-hover);
    box-shadow: 0 0 20px var(--accent-glow), 0 0 8px rgba(107, 168, 212, 0.15), inset 0 1px 0 rgba(167, 199, 231, 0.15);
}

[data-theme="light"] .nav-links a.nav-active {
    color: var(--blue-deep);
    background: rgba(107, 168, 212, 0.1);
    border-color: rgba(43, 95, 143, 0.25);
    box-shadow: 0 0 18px rgba(43, 95, 143, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.btn-demo {
    padding: 0.62rem 1.5rem;
    background: linear-gradient(135deg, var(--blue-mid), var(--blue-deep));
    color: #F0F6FF;
    border: 1px solid var(--blue-glow);
    border-radius: 100px;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.03em;
    box-shadow: 0 0 20px var(--accent-glow);
    transition: box-shadow 0.3s, transform 0.2s;
    font-family: var(--font-body);
    white-space: nowrap;
}

.btn-demo:hover {
    box-shadow: 0 0 35px var(--accent-glow-strong);
    transform: translateY(-1px);
}

/* ============================================================
   SECTIONS COMMON
   ============================================================ */
section {
    position: relative;
    transition: var(--transition-theme);
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 0 4rem;
    padding-top: 6rem;
    overflow: hidden;
    position: relative;
    /* ensure spotlight children position relative to hero */
}

/* Laptop: reduce hero padding and hero-right height to prevent overflow */
@media (max-width: 1400px) {
    #hero {
        padding: 0 3rem;
        padding-top: 5.5rem;
    }
}

@media (max-width: 1200px) {
    #hero {
        padding: 0 2rem;
        padding-top: 5rem;
        gap: 1.5rem;
    }

}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 75% 65% at 68% 48%, rgba(107, 168, 212, 0.18) 0%, transparent 65%),
        radial-gradient(ellipse 45% 55% at 18% 75%, rgba(37, 83, 125, 0.14) 0%, transparent 60%),
        radial-gradient(ellipse 35% 40% at 85% 15%, rgba(123, 184, 232, 0.10) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 35% 20%, rgba(107, 168, 212, 0.07) 0%, transparent 50%);
    transition: var(--transition-theme);
}

/* Hero background grid pattern */
.hero-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(rgba(107, 168, 212, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(107, 168, 212, 0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 90% 90% at 60% 50%, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 90% 90% at 60% 50%, black 20%, transparent 80%);
}

[data-theme="light"] .hero-grid {
    background-image:
        linear-gradient(rgba(43, 95, 143, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(43, 95, 143, 0.045) 1px, transparent 1px);
}

/* Floating gradient glow orbs in hero */
.hero-glow-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
    z-index: 0;
}

.hero-glow-orb-1 {
    width: 480px;
    height: 480px;
    background: radial-gradient(ellipse, rgba(107, 168, 212, 0.12) 0%, transparent 70%);
    top: -80px;
    right: 5%;
    animation: hero-orb-drift-1 12s ease-in-out infinite;
}

.hero-glow-orb-2 {
    width: 320px;
    height: 320px;
    background: radial-gradient(ellipse, rgba(37, 83, 125, 0.16) 0%, transparent 70%);
    bottom: 10%;
    right: 30%;
    animation: hero-orb-drift-2 15s ease-in-out infinite 2s;
}

.hero-glow-orb-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(123, 184, 232, 0.10) 0%, transparent 70%);
    top: 30%;
    left: 42%;
    animation: hero-orb-drift-3 10s ease-in-out infinite 4s;
}

[data-theme="light"] .hero-glow-orb-1 {
    background: radial-gradient(ellipse, rgba(43, 95, 143, 0.10) 0%, transparent 70%);
}

[data-theme="light"] .hero-glow-orb-2 {
    background: radial-gradient(ellipse, rgba(43, 95, 143, 0.12) 0%, transparent 70%);
}

@keyframes hero-orb-drift-1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-30px, 20px) scale(1.08);
    }

    66% {
        transform: translate(20px, -25px) scale(0.95);
    }
}

@keyframes hero-orb-drift-2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    40% {
        transform: translate(25px, -30px) scale(1.1);
    }

    70% {
        transform: translate(-20px, 15px) scale(0.92);
    }
}

@keyframes hero-orb-drift-3 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-15px, -20px);
    }
}

/* Data flow lines canvas */
#hero-dataflow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* ── AI Scanning Effect — Image blur-to-clear reveal ── */

/* Scan overlay — the animated reveal mask */
.cmd-scan-overlay {
    position: absolute;
    inset: 0;
    border-radius: 8px;
    z-index: 4;
    pointer-events: none;
    overflow: hidden;
}

/* The glowing scan line */
.cmd-scan-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(107, 168, 212, 0.3) 10%,
            rgba(123, 184, 232, 0.9) 40%,
            rgba(167, 199, 231, 1) 50%,
            rgba(123, 184, 232, 0.9) 60%,
            rgba(107, 168, 212, 0.3) 90%,
            transparent 100%);
    box-shadow:
        0 0 8px rgba(123, 184, 232, 0.8),
        0 0 20px rgba(107, 168, 212, 0.5),
        0 0 40px rgba(107, 168, 212, 0.25);
    opacity: 0;
    top: 0;
    z-index: 6;
    pointer-events: none;
}

/* Scanned (clear) region above the scan line */
.cmd-scan-clear {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 0%;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    z-index: 5;
    pointer-events: none;
}

.cmd-scan-clear img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: 0;
    filter: brightness(1.02) saturate(1.06) !important;
}

/* Scan glow artifact behind the line */
.cmd-scan-glow {
    position: absolute;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(180deg,
            rgba(107, 168, 212, 0.18) 0%,
            rgba(107, 168, 212, 0.06) 60%,
            transparent 100%);
    opacity: 0;
    top: 0;
    z-index: 5;
    pointer-events: none;
}

/* Hero dataflow canvas */
#hero-dataflow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero-left {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.42rem 1rem;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    border-radius: 100px;
    font-size: 0.78rem;
    color: var(--blue-light);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(20px);
}

[data-theme="light"] .hero-badge {
    color: var(--blue-deep);
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--blue-mid);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--blue-glow);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.3;
        transform: scale(0.7);
    }
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    color: var(--text-primary);
}

.hero-headline span {
    /* font-size: 0.65em; */

line-height: 50px;
    background: linear-gradient(135deg, var(--blue-light), var(--blue-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .hero-headline span {
    background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ROTATING WORD ANIMATION — replaces typewriter */
.hero-rotating-phrase {
    font-size: 0.65em;
    background: linear-gradient(135deg, var(--blue-light), var(--blue-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* display: inline-block; */
}

.hero-rotating-word {
    display: inline-block;
    position: relative;
    vertical-align: bottom;
    /* reserve height of one line so layout doesn't jump */
    min-height: 1.2em;
}

.hero-rword-item {
    display: block;
    background: linear-gradient(135deg, var(--blue-light), var(--blue-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    /* Hidden by default — JS manages visibility */
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(100%);
    transition: none;
}

/* First item is statically in-flow so parent has correct width */
.hero-rword-item:first-child {
    position: relative;
    top: auto;
    left: auto;
}

[data-theme="light"] .hero-rword-item {
    background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));
    -webkit-background-clip: text;
    background-clip: text;
}

/* Active = visible, entering from below */
.hero-rword-item.hero-rword-active {
    opacity: 1;
    transform: translateY(0);
}

/* Exiting = slide out upward */
.hero-rword-item.hero-rword-exit {
    opacity: 0;
    transform: translateY(-100%);
}

.hero-sub {
    font-size: clamp(1.2rem, 1.2vw, 1.1rem);
    color: var(--text-dim);
    line-height: 1.7;
    max-width: 100%;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
}

.btn-primary {
    padding: 0.9rem 2rem;
    background: linear-gradient(135deg, var(--blue-mid), var(--blue-deep));
    color: #F0F6FF;
    border: none;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-body);
    letter-spacing: 0.02em;
    box-shadow: 0 0 30px var(--accent-glow), 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s, transform 0.2s;
    animation: btn-glow 3s ease-in-out infinite;
    text-decoration: none;
    display: inline-block;
}

@keyframes btn-glow {

    0%,
    100% {
        box-shadow: 0 0 30px var(--accent-glow), 0 4px 20px rgba(0, 0, 0, 0.2);
    }

    50% {
        box-shadow: 0 0 55px var(--accent-glow-strong), 0 4px 20px rgba(0, 0, 0, 0.2);
    }
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-secondary {
    padding: 0.9rem 2rem;
    background: transparent;
    color: var(--text-dim);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 400;
    cursor: pointer;
    font-family: var(--font-body);
    letter-spacing: 0.02em;
    transition: color 0.3s, border-color 0.3s, transform 0.2s, background 0.3s;
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-secondary:hover {
    color: var(--text-primary);
    border-color: var(--blue-light);
    background: var(--glass);
    transform: translateY(-2px);
}

.hero-right {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 640px;
}

/* ============================================================
       AI COMMAND CENTER — Premium Futuristic Image Showcase
    ============================================================ */
#gen-scene {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: visible;
}

#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Command center wrapper */
#ai-command-center {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 12px;
    padding: 16px;
    perspective: 1200px;
    perspective-origin: 50% 45%;
}

/* Futuristic grid overlay */
#ai-command-center::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(107, 168, 212, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(107, 168, 212, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 0;
    border-radius: 20px;
}

/* Ambient glow blobs */
.cmd-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(60px);
}

.cmd-blob-1 {
    width: 300px;
    height: 300px;
    background: rgba(107, 168, 212, 0.08);
    top: -40px;
    right: -40px;
    animation: blob-drift-1 8s ease-in-out infinite;
}

.cmd-blob-2 {
    width: 200px;
    height: 200px;
    background: rgba(37, 83, 125, 0.10);
    bottom: 20px;
    left: 10px;
    animation: blob-drift-2 10s ease-in-out infinite;
}

@keyframes blob-drift-1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-20px, 15px) scale(1.1);
    }
}

@keyframes blob-drift-2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(15px, -20px) scale(1.08);
    }
}

/* ── Panel base ── */
.cmd-panel {
    position: relative;
    border-radius: 14px;
    border: 1px solid rgba(167, 199, 231, 0.14);
    overflow: hidden;
    cursor: default;
    will-change: transform;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    z-index: 2;
    /* Hide all panels immediately — JS will animate them in after loader */
    opacity: 0;
}

[data-theme="dark"] .cmd-panel {
    background: linear-gradient(150deg, rgba(12, 22, 44, 0.92) 0%, rgba(6, 12, 26, 0.85) 100%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(167, 199, 231, 0.12);
}

[data-theme="light"] .cmd-panel {
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.88) 0%, rgba(238, 244, 251, 0.82) 100%);
    box-shadow: 0 8px 32px rgba(43, 95, 143, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(43, 95, 143, 0.13);
}

/* Top shimmer line */
.cmd-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(167, 199, 231, 0.55), transparent);
    z-index: 10;
}

[data-theme="light"] .cmd-panel::before {
    background: linear-gradient(90deg, transparent, rgba(43, 95, 143, 0.35), transparent);
}

/* cmd-panel::after — reserved for future use, no animation */
.cmd-panel::after {
    content: none;
}

/* Hover state — minimal, no scale/zoom */
.cmd-panel:hover {
    border-color: rgba(167, 199, 231, 0.38) !important;
}

[data-theme="dark"] .cmd-panel:hover {
    box-shadow: 0 16px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(107, 168, 212, 0.18), inset 0 1px 0 rgba(167, 199, 231, 0.2);
}

[data-theme="light"] .cmd-panel:hover {
    box-shadow: 0 16px 60px rgba(43, 95, 143, 0.18), 0 0 30px rgba(107, 168, 212, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.95);
    border-color: rgba(43, 95, 143, 0.38) !important;
}

/* Active breathing glow */
.cmd-panel.cmd-active {
    border-color: rgba(107, 168, 212, 0.45);
    animation: cmd-breathe 3s ease-in-out infinite;
}

@keyframes cmd-breathe {

    0%,
    100% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 0 20px rgba(107, 168, 212, 0.12), inset 0 1px 0 rgba(167, 199, 231, 0.12);
    }

    50% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 0 45px rgba(107, 168, 212, 0.28), inset 0 1px 0 rgba(167, 199, 231, 0.25);
    }
}

/* Panel header bar */
.cmd-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px 6px;
    flex-shrink: 0;
    position: relative;
    z-index: 5;
}

.cmd-led {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.cmd-led.blue {
    background: #6FA8D4;
    box-shadow: 0 0 6px #7BB8E8;
    animation: led-pulse 2.2s ease-in-out infinite;
}

.cmd-led.green {
    background: #4ade80;
    box-shadow: 0 0 6px rgba(74, 222, 128, 0.7);
    animation: led-pulse 2.8s ease-in-out infinite 0.6s;
}

.cmd-led.amber {
    background: #fbbf24;
    box-shadow: 0 0 6px rgba(251, 191, 36, 0.6);
    animation: led-pulse 3.2s ease-in-out infinite 1.2s;
}

.cmd-led.purple {
    background: #a78bfa;
    box-shadow: 0 0 6px rgba(167, 139, 250, 0.6);
    animation: led-pulse 2.6s ease-in-out infinite 0.4s;
}

.cmd-led.teal {
    background: #22d3ee;
    box-shadow: 0 0 6px rgba(34, 211, 238, 0.6);
    animation: led-pulse 3s ease-in-out infinite 0.9s;
}

@keyframes led-pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.35;
        transform: scale(0.65);
    }
}

.cmd-label {
    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--blue-light);
    opacity: 0.72;
}

[data-theme="light"] .cmd-label {
    color: var(--blue-deep);
}

.cmd-chrome {
    display: flex;
    gap: 3px;
    margin-left: auto;
}

.cmd-chrome span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    opacity: 0.4;
}

.cmd-chrome span:nth-child(1) {
    background: #ff5f57;
}

.cmd-chrome span:nth-child(2) {
    background: #febc2e;
}

.cmd-chrome span:nth-child(3) {
    background: #28c840;
}

/* Image area */
.cmd-img-wrap {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    position: relative;
    background: #fff;
    margin: 0 8px 8px;
    border-radius: 8px;
}

[data-theme="dark"] .cmd-img-wrap {
    background: #ffffff;
}

[data-theme="light"] .cmd-img-wrap {
    background: #f8fafc;
}

.cmd-img-wrap>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: 8px;
    transition: none;
    filter: blur(2.5px) brightness(0.85);
    /* Hidden until scan animation initializes — prevents flash on load */
    opacity: 0;
}

/* Reveal the blurred base image once scan is ready */
.cmd-img-wrap.scan-ready>img {
    opacity: 1;
}

.cmd-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px rgba(107, 168, 212, 0.15);
    pointer-events: none;
    z-index: 3;
    transition: box-shadow 0.4s;
}

.cmd-panel:hover .cmd-img-wrap::after {
    box-shadow: inset 0 0 0 1.5px rgba(107, 168, 212, 0.35);
}

/* Caption */
.cmd-caption {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 10px 8px;
    flex-shrink: 0;
}

.cmd-cap-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--blue-mid);
    opacity: 0.55;
}

.cmd-cap-text {
    font-size: 0.5rem;
    color: var(--text-dimmer);
    letter-spacing: 0.07em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Grid Layout — Asymmetric AI Command Center ── */
/* 3-col × 3-row grid
       Col 1: narrow left sidebar panels
       Col 2: wide center (featured)
       Col 3: narrow right sidebar panels
    */

/* Center main featured — spans 2 rows, center col */
#cmd-main {
    grid-column: 2;
    grid-row: 1 / 3;
    z-index: 5;
    animation: cmd-float-main 6s ease-in-out infinite;
}

@keyframes cmd-float-main {

    0%,
    100% {
        transform: translateY(0px) translateZ(0);
    }

    50% {
        transform: translateY(-10px) translateZ(0);
    }
}

#cmd-main:hover {
    /* no scale override — scanning effect takes priority */
}

/* Top-left */
#cmd-tl {
    grid-column: 1;
    grid-row: 1;
    animation: cmd-float-tl 7.5s ease-in-out infinite 0.8s;
}

@keyframes cmd-float-tl {

    0%,
    100% {
        transform: translateY(0px) translateX(0px);
    }

    40% {
        transform: translateY(-8px) translateX(3px);
    }

    70% {
        transform: translateY(-5px) translateX(-2px);
    }
}

/* Bottom-left — spans to bottom */
#cmd-bl {
    grid-column: 1;
    /* grid-row: 2 / 4; */
    animation: cmd-float-bl 9s ease-in-out infinite 1.6s;
}

@keyframes cmd-float-bl {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-7px);
    }
}

/* Top-right */
#cmd-tr {
    grid-column: 3;
    /* grid-row: 1 / 3; */
    animation: cmd-float-tr 8s ease-in-out infinite 0.4s;
}

@keyframes cmd-float-tr {

    0%,
    100% {
        transform: translateY(0px) translateX(0px);
    }

    35% {
        transform: translateY(-9px) translateX(-3px);
    }

    65% {
        transform: translateY(-5px) translateX(2px);
    }
}

/* Middle-right — col3, row2 (fills the empty grid slot) */
#cmd-mr {
    grid-column: 3;
    grid-row: 2;
    animation: cmd-float-tr 8.5s ease-in-out infinite 1.2s;
}

/* Bottom-center */
#cmd-bc {
    grid-column: 2 / 4;
    grid-row: 3;
    animation: cmd-float-bc 7s ease-in-out infinite 2s;
}

@keyframes cmd-float-bc {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* Orbital particles canvas */
#cmd-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Corner accent brackets on main panel */
#cmd-main .cmd-corner {
    position: absolute;
    width: 14px;
    height: 14px;
    border-color: rgba(107, 168, 212, 0.5);
    border-style: solid;
    z-index: 10;
    pointer-events: none;
}

#cmd-main .cmd-corner.tl {
    top: 6px;
    left: 6px;
    border-width: 1.5px 0 0 1.5px;
}

#cmd-main .cmd-corner.tr {
    top: 6px;
    right: 6px;
    border-width: 1.5px 1.5px 0 0;
}

#cmd-main .cmd-corner.bl {
    bottom: 6px;
    left: 6px;
    border-width: 0 0 1.5px 1.5px;
}

#cmd-main .cmd-corner.br {
    bottom: 6px;
    right: 6px;
    border-width: 0 1.5px 1.5px 0;
}

/* Responsive */
@media (max-width: 1024px) {
    #ai-command-center {
        grid-template-columns: 1fr 2fr 1fr;
        gap: 10px;
        padding: 12px;
    }
}

@media (max-width: 768px) {

    #cmd-tl,
    #cmd-bl,
    #cmd-mr {
        display: none;
    }

    #ai-command-center {
        grid-template-columns: 1fr 1fr;
    }

    #cmd-main {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
    }

    #cmd-tr {
        grid-column: 1;
        /* grid-row: 3; */
    }

    #cmd-bc {
        grid-column: 2;
        grid-row: 3;
    }
}

/* ============================================================
       SPOTLIGHT REMOVED — AI Scanning animation replaces it
    ============================================================ */

/* Dim non-hovered panels slight on scan-active (subtle) */
#ai-command-center.spotlight-mode .cmd-panel {
    /* removed fullscreen dim — scanning mode is now the interaction */
}

/* MASCOT — Section-contextual placement (NOT fixed globally) */
.mascot-wrapper {
    position: fixed;
    bottom: -20px;
    right: 50px;
    z-index: 10;
    filter: drop-shadow(0 20px 40px rgba(107, 168, 212, 0.4));
    /* Default: visible only when not in footer zone */
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Hide mascot when page is scrolled near footer */
.mascot-wrapper.mascot-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(60px) scale(0.8);
}

[data-theme="light"] .mascot-wrapper {
    filter: drop-shadow(0 20px 40px rgba(43, 95, 143, 0.25));
}

.mascot-wrapper img {
    width: 180px;
    height: auto;
    display: block;
}

@keyframes mascot-float {

    0%,
    100% {
        transform: translateY(0) rotate(-2deg);
    }

    25% {
        transform: translateY(-14px) rotate(1deg);
    }

    50% {
        transform: translateY(-8px) rotate(-1deg);
    }

    75% {
        transform: translateY(-18px) rotate(2deg);
    }
}

/* Section-based mascot reaction animations */
@keyframes mascot-wave {

    0%,
    100% {
        transform: translateY(0) rotate(-2deg);
    }

    30% {
        transform: translateY(-18px) rotate(8deg);
    }

    60% {
        transform: translateY(-10px) rotate(-5deg);
    }
}

@keyframes mascot-bounce {

    0%,
    100% {
        transform: translateY(0) scale(1) rotate(-2deg);
    }

    40% {
        transform: translateY(-22px) scale(1.05) rotate(2deg);
    }

    70% {
        transform: translateY(-8px) scale(0.98) rotate(-1deg);
    }
}

@keyframes mascot-nod {

    0%,
    100% {
        transform: translateY(0) rotateX(0deg) rotate(-2deg);
    }

    30% {
        transform: translateY(-6px) rotate(-6deg);
    }

    60% {
        transform: translateY(-12px) rotate(4deg);
    }
}

.mascot-wrapper.mascot-section-wave {
    animation: mascot-wave 1.2s ease-in-out 1;
}

.mascot-wrapper.mascot-section-bounce {
    animation: mascot-bounce 0.9s cubic-bezier(0.36, 0.07, 0.19, 0.97) 1;
}

.mascot-wrapper.mascot-section-nod {
    animation: mascot-nod 1s ease-in-out 1;
}

.mascot-wrapper.mascot-section-idle {
    animation: none;
}

.mascot-bubble {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 0.6rem 1rem;
    font-size: 0.78rem;
    color: var(--blue-light);
    white-space: nowrap;
    font-family: var(--font-display);
    font-weight: 600;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px var(--accent-glow);
    animation: bubble-pop 3s ease-in-out infinite;
}

[data-theme="light"] .mascot-bubble {
    color: var(--blue-deep);
}

.mascot-bubble::after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid var(--glass-border);
}

@keyframes bubble-pop {

    0%,
    80%,
    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }

    40% {
        transform: translateX(-50%) scale(1.04);
    }
}


/* ============================================================
   PROBLEM SECTION
   ============================================================ */
#problem {
    padding: 7rem 4rem 5rem;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    transition: var(--transition-theme);
}

.section-label {
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--blue-mid);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
}

[data-theme="light"] .section-label {
    color: var(--blue-deep);
}

.section-label::before {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--blue-mid);
}



.section-headline {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;

    max-width: none;


    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(25px);
    color: var(--text-primary);
}
.hero-headline em, .cta-headline em{

    font-style: normal;

    background: linear-gradient(135deg, var(--blue-light), var(--blue-glow));

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

    background-clip: text;

}


.section-headline em {

    font-style: normal;

    background: linear-gradient(135deg, var(--blue-light), var(--blue-glow));

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

    background-clip: text;

}



[data-theme="light"] .section-headline em,[data-theme="light"] .hero-headline em, [data-theme="light"] .cta-headline em {

    background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));

    -webkit-background-clip: text;

    background-clip: text;

}





.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.problem-content p {

    font-size: clamp(1.2rem, 1.2vw, 1.1rem);
    line-height: 1.7;
    color: var(--text-dim);
    margin-bottom: 5rem;


}

.problem-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.problem-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    background: var(--glass);
    backdrop-filter: blur(10px);
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s, background 0.4s;
    opacity: 0;
    transform: translateX(20px);
}

.problem-item:hover {
    border-color: var(--glass-border-hover);
    transform: translateX(8px);
    box-shadow: 0 8px 30px var(--accent-glow);
    background: var(--glass-hover);
}


.problem-item h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
}

.problem-item p {
    font-size: 0.88rem;
    color: var(--text-dim);
    line-height: 1.6;
}

.callout-box {
    width: 100%;
    margin-top: -40px;
    border: 1px solid var(--blue-mid);
    border-radius: 20px;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(43, 95, 143, 0.12), rgba(107, 168, 212, 0.05));
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: callout-pulse 4s ease-in-out infinite;
    transition: background 0.5s;
}

[data-theme="light"] .callout-box {
    background: linear-gradient(135deg, rgba(107, 168, 212, 0.14), rgba(43, 95, 143, 0.06));
}

@keyframes callout-pulse {

    0%,
    100% {
        box-shadow: 0 0 20px var(--accent-glow);
    }

    50% {
        box-shadow: 0 0 50px var(--accent-glow-strong);
    }
}

.callout-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(107, 168, 212, 0.06) 0%, transparent 70%);
    animation: rotate-bg 8s linear infinite;
}

@keyframes rotate-bg {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.callout-box blockquote {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.5;
    position: relative;
    z-index: 1;
    color: var(--text-primary);
}

.callout-box blockquote span {
    color: var(--blue-light);
}

[data-theme="light"] .callout-box blockquote span {
    color: var(--blue-deep);
}

.callout-author {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-dim);
    position: relative;
    z-index: 1;
}

/* right side */

.problem-visual {

    display: flex;
    justify-content: flex-start;
    align-items: center;

}

/* ============================================================
       PROBLEM SECTION — EMBEDDED VIDEO PLAYER (Premium Glass)
    ============================================================ */
.problem-video-container {
    width: 100%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: rgba(6, 12, 26, 0.85);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(167, 199, 231, 0.12);
    transition: box-shadow 0.4s;
}

[data-theme="light"] .problem-video-container {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 20px 60px rgba(43, 95, 143, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.problem-video-container:hover {
    box-shadow: 0 28px 80px rgba(107, 168, 212, 0.25), inset 0 1px 0 rgba(167, 199, 231, 0.2);
}

.pvid-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}

.pvid-wrap iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.78%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    border: none;
    pointer-events: none;
}

.pvid-wrap.pvid-iframe-active iframe {
    pointer-events: auto;
}

/* Dark overlay on video */
.pvid-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(6, 13, 26, 0.25) 0%,
            rgba(6, 13, 26, 0.05) 40%,
            rgba(6, 13, 26, 0.05) 70%,
            rgba(6, 13, 26, 0.5) 100%);
    pointer-events: none;
    z-index: 2;
}

/* Center play button overlay */
.pvid-play-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: opacity 0.4s;
}

.pvid-play-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(10, 22, 40, 0.6);
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(167, 199, 231, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(107, 168, 212, 0.35);
    transition: transform 0.3s, box-shadow 0.3s;
}

.pvid-play-circle svg {
    width: 24px;
    height: 24px;
    fill: rgba(240, 246, 255, 0.95);
    margin-left: 3px;
}

.pvid-playing .pvid-play-overlay {
    opacity: 0;
}

.pvid-wrap:hover .pvid-play-circle {
    transform: scale(1.1);
    box-shadow: 0 0 50px rgba(107, 168, 212, 0.55);
}

/* Glass control bar at the bottom of the video */
.pvid-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1.2rem;
    background: rgba(6, 12, 26, 0.7);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(167, 199, 231, 0.1);
    min-height: 48px;
}

[data-theme="light"] .pvid-controls {
    background: rgba(255, 255, 255, 0.75);
    border-top: 1px solid rgba(43, 95, 143, 0.12);
}

.pvid-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(240, 246, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    transition: color 0.2s, background 0.2s, transform 0.2s;
}

[data-theme="light"] .pvid-btn {
    color: var(--blue-deep);
}

.pvid-btn:hover {
    color: #fff;
    background: rgba(167, 199, 231, 0.15);
    transform: scale(1.12);
}

.pvid-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.pvid-progress-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pvid-time {
    font-size: 0.68rem;
    color: rgba(240, 246, 255, 0.55);
    font-family: var(--font-body);
    letter-spacing: 0.04em;
    min-width: 34px;
}

[data-theme="light"] .pvid-time {
    color: var(--text-dimmer);
}

.pvid-track {
    flex: 1;
    height: 3px;
    background: rgba(167, 199, 231, 0.18);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: visible;
    transition: height 0.15s;
}

.pvid-track:hover {
    height: 5px;
}

.pvid-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--blue-mid), var(--blue-light));
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 6px rgba(123, 184, 232, 0.45);
    position: relative;
}

.pvid-fill::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(123, 184, 232, 0.7);
    opacity: 0;
    transition: opacity 0.15s;
}

.pvid-track:hover .pvid-fill::after {
    opacity: 1;
}

.pvid-vol-wrap {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.pvid-vol-slider {
    -webkit-appearance: none;
    width: 55px;
    height: 3px;
    background: rgba(167, 199, 231, 0.2);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.pvid-vol-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--blue-light);
    box-shadow: 0 0 6px rgba(167, 199, 231, 0.5);
}

.pvid-sep {
    width: 1px;
    height: 16px;
    background: rgba(167, 199, 231, 0.15);
    flex-shrink: 0;
}

/* ============================================================
       PROBLEM SECTION — PREMIUM KPI GRID (Redesigned, No Icons)
    ============================================================ */
.problem-stats-timeline {
    margin-top: 3.5rem;
    position: relative;
}

/* Premium bordered grid container */
.pst-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.6) 0%, rgba(6, 12, 26, 0.75) 100%);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(167, 199, 231, 0.08);
}

[data-theme="light"] .pst-track {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(238, 244, 251, 0.82) 100%);
    box-shadow: 0 20px 60px rgba(43, 95, 143, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Subtle top accent line */
.pst-track::before {
    content: '';
    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue-mid) 30%, var(--blue-light) 50%, var(--blue-mid) 70%, transparent);
    opacity: 0.5;
    z-index: 3;
}

.pst-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 2.5rem 2rem;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    border-right: 1px solid var(--glass-border);
}

.pst-item:last-child {
    border-right: none;
}

.pst-item.pst-visible {
    opacity: 1;
    transform: translateY(0);
}

.pst-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--glass);
    opacity: 0;
    transition: opacity 0.35s;
    z-index: 0;
}

.pst-item:hover::before {
    opacity: 1;
}

.pst-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blue-mid), var(--blue-light));
    opacity: 0;
    transition: opacity 0.35s;
    z-index: 2;
}

.pst-item:hover::after {
    opacity: 1;
}

/* Hide old icon/ring elements */
.pst-node {
    display: none;
}

.pst-ring {
    display: none;
}

/* Eyebrow label */


/* Large metric number */
.pst-metric {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 3.2vw, 3.8rem);
    font-weight: 800;
    line-height: 0.9;
    margin-bottom: 0;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--blue-light) 65%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: left;
    letter-spacing: -0.03em;
    position: relative;
    z-index: 1;
}

.pst-item:hover .pst-metric {
    background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue-glow) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

[data-theme="light"] .pst-metric {
    background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-mid) 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Short accent divider */
.pst-divider {
    width: 28px;
    height: 1.5px;
    background: linear-gradient(90deg, var(--blue-mid), transparent);
    margin: 1rem 0;
    border-radius: 2px;
    position: relative;
    z-index: 1;
}

[data-theme="light"] .pst-divider {
    background: linear-gradient(90deg, var(--blue-deep), transparent);
}

.pst-desc {
    font-size: 0.95rem;
    color: var(--text-dimmer);
    line-height: 1.55;
    text-align: left;
    max-width: none;
    position: relative;
    z-index: 1;
    transition: color 0.3s;
}

.pst-item:hover .pst-desc {
    color: var(--text-dim);
}

[data-theme="light"] .pst-desc {
    color: var(--text-dim);
}

.image-frame {

    width: 100%;
    height: 435px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;

    border: 1px solid var(--glass-border);
    background: var(--glass);
    backdrop-filter: blur(12px);

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* subtle hover */
.image-frame:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 30px 80px var(--accent-glow);
}

/* ============================================================
   HOW IT WORKS — IMMERSIVE TIMELINE
   ============================================================ */
#how,
section#solution {
    padding: 5rem 0 5rem;
    background: var(--bg-primary);
    transition: var(--transition-theme);
    overflow: hidden;
    position: relative;
}

.how-steps-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 0 4rem;
}


.how-header {
    padding: 0 4rem;
    margin-bottom: 2rem;
}

.how-header p {


    font-size: 1.2rem;
    color: var(--text-dim);
    line-height: 1.7;
    margin-top: 1rem;

    max-width: none;
    white-space: nowrap;
}

/* Vertical timeline spine */
.how-timeline {
    position: relative;
    padding: 0 4rem;
}

.how-timeline-spine {
    position: absolute;
    left: calc(4rem + 48px);
    top: 50px;
    bottom: 0;
    height: 1px;
    width: 85%;
    background: linear-gradient(180deg, transparent 0%, var(--blue-mid) 20%, var(--blue-mid) 80%, transparent 100%);
    opacity: 0.35;
}

.how-timeline-progress {
    display: none;
    position: absolute;
    left: calc(4rem + 48px);
    top: 0;
    width: 1px;
    height: 0%;
    background: linear-gradient(180deg, var(--blue-glow), var(--blue-light));
    box-shadow: 0 0 12px var(--blue-glow);
    transition: height 0.1s linear;
}

.how-step {
    display: inline-block;
    width: 100%;
    margin: 0;
    grid-template-columns: 96px 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 0rem;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.how-step.how-step-right {
    grid-template-columns: 1fr 96px;
    transform: translateX(30px);
}

.how-step.visible {
    opacity: 1;
    transform: translateX(0);
}



[data-theme="light"] .how-step-node .node-num {
    color: var(--blue-deep);
}

.how-step-content {
    /* min-height: 330px; */
    padding: 2.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    background: var(--glass);
    backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
    transition: border-color 0.4s, box-shadow 0.4s, background 0.4s;
    margin-top: 15px;
}

.how-step:hover .how-step-content {
    border-color: var(--glass-border-hover);
    box-shadow: 0 16px 50px var(--accent-glow);
    background: var(--glass-hover);
}

.how-step-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--blue-mid), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.how-step:hover .how-step-content::before {
    opacity: 1;
}

/* Mascot peek for how section */
.how-step-mascot-peek {
    position: absolute;
    right: -20px;
    bottom: -30px;
    width: 90px;
    opacity: 0;
    transform: translateY(20px) rotate(8deg);
    transition: opacity 0.5s, transform 0.5s;
    filter: drop-shadow(0 8px 20px var(--accent-glow));
    pointer-events: none;
}

.how-step:hover .how-step-mascot-peek {
    opacity: 0.75;
    transform: translateY(0) rotate(4deg);
}

.how-step-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blue-mid);
    margin-bottom: 0.75rem;
    font-family: var(--font-display);
}

[data-theme="light"] .how-step-eyebrow {
    color: var(--blue-deep);
}

.how-step-content h3 {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2vw, 1.5rem);
    font-weight: 800;
    margin-bottom: 0.9rem;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.how-step-content p {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.7;
    max-width: 500px;
}

.how-step-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.how-tag {
    padding: 0.28rem 0.75rem;
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.72rem;
    color: var(--blue-light);
    background: var(--glass);
    letter-spacing: 0.05em;
}

[data-theme="light"] .how-tag {
    color: var(--blue-deep);
}

/* Right-side steps flip layout */
.how-step.how-step-right .how-step-content {
    order: -1;
}

.how-step.how-step-right .how-step-content::before {
    background: linear-gradient(90deg, transparent, var(--blue-mid));
}

/* ============================================================
   WHY GENQUE — CUSTOM ILLUSTRATIONS + MODERN SPLIT LAYOUT
   ============================================================ */



/* Mascot guide strip */
.why-mascot-guide {
    position: absolute;
    right: 3rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 5;
    pointer-events: none;
}

.why-mascot-guide img {
    width: 80px;
    filter: drop-shadow(0 10px 24px var(--accent-glow));
    animation: mascot-float 4s ease-in-out infinite;
}

.why-mascot-guide-line {
    width: 1px;
    height: 80px;
    background: linear-gradient(180deg, var(--blue-mid), transparent);
    opacity: 0.4;
}

/* Feature split rows */
.why-features {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.why-feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: 300px;
    opacity: 0;
    transition: opacity 0.8s ease;
    border-top: 1px solid var(--glass-border);
}

.why-feature-row:last-child {
    border-bottom: 1px solid var(--glass-border);
}

.why-feature-row.visible {
    opacity: 1;
}

.why-feature-row:nth-child(even) .why-feature-visual {
    order: -1;
}

.why-feature-text {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: background 0.4s;
}

.why-feature-row:hover .why-feature-text {
    background: var(--glass);
}

.why-feature-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    background: var(--glass);
    border-left: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    transition: background 0.4s;
}

.why-feature-row:nth-child(even) .why-feature-visual {
    border-left: none;
    border-right: 1px solid var(--glass-border);
}

.why-feature-row:hover .why-feature-visual {
    background: var(--glass-hover);
}

/* Illustration container replacing emoji orb */
.why-visual-orb {
    width: 220px;
    height: 220px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s;
    background: linear-gradient(135deg, rgba(43, 95, 143, 0.15), rgba(107, 168, 212, 0.08));
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px var(--accent-glow);
    animation: why-float 5s ease-in-out infinite;
    overflow: hidden;
}

@keyframes why-float {

    0%,
    100% {
        transform: translateY(0px) rotate(-1deg);
    }

    50% {
        transform: translateY(-12px) rotate(1deg);
    }
}

.why-feature-row:hover .why-visual-orb {
    transform: translateY(-8px) scale(1.06) rotate(0deg);
    box-shadow: 0 20px 60px var(--accent-glow-strong);
    border-color: var(--glass-border-hover);
    animation-play-state: paused;
}

/* Conic ring on hover */
.why-visual-orb::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 28px;
    background: conic-gradient(from 0deg, var(--blue-deep), var(--blue-mid), var(--blue-light), var(--blue-mid), var(--blue-deep));
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
}

.why-feature-row:hover .why-visual-orb::before {
    opacity: 0.3;
}

.why-visual-orb svg {
    position: relative;
    z-index: 1;
    width: 140px;
    height: 140px;
    transition: transform 0.4s ease;
}

.why-feature-row:hover .why-visual-orb svg {
    transform: scale(1.08) translateY(-4px);
}

.why-feature-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--blue-mid);
    margin-bottom: 0.75rem;
    font-family: var(--font-display);
}

[data-theme="light"] .why-feature-eyebrow {
    color: var(--blue-deep);
}

.why-feature-text h3 {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin-bottom: 1.1rem;
    color: var(--text-primary);
}

.why-feature-text p {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.75;
    max-width: 420px;
}

/* Highlight chip */
.why-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.5rem;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    background: linear-gradient(135deg, rgba(43, 95, 143, 0.25), rgba(107, 168, 212, 0.1));
    border: 1px solid var(--glass-border);
    font-size: 0.78rem;
    color: var(--blue-light);
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.04em;
    width: fit-content;
}

[data-theme="light"] .why-chip {
    color: var(--blue-deep);
}

.why-chip-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--blue-mid);
    box-shadow: 0 0 6px var(--blue-glow);
}

/* Inline mascot annotation in why section */
.why-mascot-inline {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 1.6rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    margin-top: 2rem;
    width: fit-content;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.why-mascot-inline:hover {
    border-color: var(--glass-border-hover);
    box-shadow: 0 8px 28px var(--accent-glow);
}

.why-mascot-inline img {
    width: 44px;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 12px var(--accent-glow));
}

.why-mascot-inline-text {
    font-size: 0.82rem;
    color: var(--text-dim);
    line-height: 1.5;
    font-style: italic;
}

.why-mascot-inline-text strong {
    color: var(--blue-light);
    font-style: normal;
}

[data-theme="light"] .why-mascot-inline-text strong {
    color: var(--blue-deep);
}


/* ============================================================
   COMPARISON SECTION — 3-Column Card Grid Redesign
   ============================================================ */
#comparison {
    padding: 6rem 4rem;
    background: var(--bg-secondary);
    transition: var(--transition-theme);
    overflow: hidden;
}

.comparison-section-inner {
    max-width: 100%;
    margin: 0;
}

.comparison-header-block {
    margin-bottom: 3.5rem;
}

.comparison-subhead {
    font-size: 1.1rem;
    color: var(--text-dim);
    line-height: 1.7;
    max-width: none;
    margin-top: 1rem;
    text-align: left;
}

/* Main comparison grid: row-label + 3 cols */
.comp-grid {
    display: grid;
    grid-template-columns: 1.8fr repeat(3, 1fr);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.comp-grid.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Empty top-left corner cell for header row */
.comp-corner-cell {
    background: var(--glass);
    border-bottom: 2px solid var(--glass-border);
}


/* Column header cards */
.comp-col {
    padding: 2rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.6rem;
    border-bottom: 2px solid var(--glass-border);
    position: relative;
    transition: background 0.3s;
}

.comp-col--manual {
    background: var(--glass);
    border-right: 1px solid var(--glass-border);
}

.comp-col--ai {
    background: var(--glass);
    border-right: 1px solid var(--glass-border);
}

.comp-col--genque {
    background: linear-gradient(160deg, rgba(43, 95, 143, 0.22) 0%, rgba(107, 168, 212, 0.1) 100%);
    border-left: 2px solid rgba(107, 168, 212, 0.45);
    border-right: none;
}

[data-theme="light"] .comp-col--genque {
    background: linear-gradient(160deg, rgba(107, 168, 212, 0.15) 0%, rgba(43, 95, 143, 0.06) 100%);
}

/* Empty top-left corner cell */
.comp-grid>.comp-row-label:first-of-type {
    border-top: none;
}

.comp-col-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.comp-col-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
}

.comp-col-icon svg {
    width: 18px;
    height: 18px;
}

.comp-col-icon--genque {
    background: linear-gradient(135deg, var(--blue-mid), var(--blue-deep));
    border-color: var(--blue-glow);
    color: #fff;
    box-shadow: 0 0 20px var(--accent-glow);
}

.comp-col-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.comp-col--genque .comp-col-title {
    background: linear-gradient(135deg, var(--blue-light), var(--blue-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .comp-col--genque .comp-col-title {
    background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));
    -webkit-background-clip: text;
    background-clip: text;
}

.comp-col-sub {
    font-size: 0.75rem;
    color: var(--text-dimmer);
    letter-spacing: 0.04em;
}

.comp-col-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.comp-col-badge--neutral {
    background: rgba(100, 100, 120, 0.15);
    color: var(--text-dimmer);
    border: 1px solid rgba(100, 100, 120, 0.2);
}

.comp-col-badge--warning {
    background: rgba(251, 191, 36, 0.12);
    color: #f59e0b;
    border: 1px solid rgba(251, 191, 36, 0.25);
}

.comp-col-badge--genque {
    background: linear-gradient(135deg, rgba(43, 95, 143, 0.35), rgba(107, 168, 212, 0.2));
    color: var(--blue-light);
    border: 1px solid rgba(107, 168, 212, 0.4);
    box-shadow: 0 0 12px rgba(107, 168, 212, 0.15);
}

[data-theme="light"] .comp-col-badge--genque {
    color: var(--blue-deep);
}

/* Row labels */
.comp-row-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--glass);
    transition: background 0.25s;
}

.comp-row-label:last-of-type {
    border-bottom: none;
}

.comp-grid:hover .comp-row-label {
    /* no global hover change — individual row hover below */
}

.comp-row-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--blue-mid);
}

.comp-row-icon svg {
    width: 14px;
    height: 14px;
}

[data-theme="light"] .comp-row-icon {
    color: var(--blue-deep);
}

/* Data cells */
.comp-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1rem;
    border-bottom: 1px solid var(--glass-border);
    text-align: center;
    transition: background 0.25s;
}

.comp-cell--manual {
    border-right: 1px solid var(--glass-border);
    background: transparent;
}

.comp-cell--ai {
    border-right: 1px solid var(--glass-border);
    background: transparent;
}

.comp-cell--genque {
    background: linear-gradient(160deg, rgba(43, 95, 143, 0.1) 0%, rgba(107, 168, 212, 0.05) 100%);
    border-left: 2px solid rgba(107, 168, 212, 0.2);
}

[data-theme="light"] .comp-cell--genque {
    background: linear-gradient(160deg, rgba(107, 168, 212, 0.08) 0%, rgba(43, 95, 143, 0.03) 100%);
}

/* Row hover highlight */
.comp-grid>.comp-row-label:hover,
.comp-grid>.comp-row-label:hover+.comp-cell--manual,
.comp-grid>.comp-row-label:hover+.comp-cell--manual+.comp-cell--ai,
.comp-grid>.comp-row-label:hover+.comp-cell--manual+.comp-cell--ai+.comp-cell--genque {
    background: var(--glass-hover);
}

/* Pills for cell content */
.comp-pill {
    display: inline-block;
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.4;
}

.comp-pill--bad {
    background: rgba(248, 113, 113, 0.1);
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.2);
}

.comp-pill--mid {
    background: rgba(251, 191, 36, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.comp-pill--good {
    background: rgba(74, 222, 128, 0.1);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.2);
}

.comp-cell--genque .check-svg {
    width: 20px;
    height: 20px;
    stroke: #4ade80;
    stroke-width: 2.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 4px rgba(74, 222, 128, 0.4));
    flex-shrink: 0;
}

/* Stagger animation for rows */
.comp-cell,
.comp-row-label {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease, background 0.25s;
}

.comp-grid.visible .comp-cell,
.comp-grid.visible .comp-row-label {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.comp-grid.visible .comp-row-label:nth-of-type(1) {
    transition-delay: 0.05s;
}

.comp-grid.visible .comp-row-label:nth-of-type(2) {
    transition-delay: 0.1s;
}

.comp-grid.visible .comp-row-label:nth-of-type(3) {
    transition-delay: 0.15s;
}

.comp-grid.visible .comp-row-label:nth-of-type(4) {
    transition-delay: 0.2s;
}

.comp-grid.visible .comp-row-label:nth-of-type(5) {
    transition-delay: 0.25s;
}

.comp-grid.visible .comp-row-label:nth-of-type(6) {
    transition-delay: 0.3s;
}

.comp-grid.visible .comp-row-label:nth-of-type(7) {
    transition-delay: 0.35s;
}

.comp-grid.visible .comp-row-label:nth-of-type(8) {
    transition-delay: 0.4s;
}

/* Responsive comparison */
@media (max-width: 900px) {
    #comparison {
        padding: 4rem 1.5rem;
    }

    .comp-grid {
        grid-template-columns: 1fr;
        border-radius: 16px;
    }

    .comp-col,
    .comp-corner-cell {
        display: none;
        /* hide column headers on mobile — shown per-cell */
    }

    .comp-row-label {
        background: var(--bg-card);
        border-bottom: none;
        border-top: 2px solid var(--blue-mid);
        margin-top: 1rem;
        border-radius: 8px 8px 0 0;
        font-size: 0.85rem;
    }

    .comp-cell {
        border-right: none !important;
        border-left: none !important;
        border-bottom: 1px solid var(--glass-border);
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0.85rem 1.25rem;
        text-align: left;
    }

    .comp-cell::before {
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--text-dimmer);
        white-space: nowrap;
        flex-shrink: 0;
        margin-right: 0.75rem;
    }

    .comp-cell--manual::before {
        content: 'Manual';
    }

    .comp-cell--ai::before {
        content: 'General AI';
    }

    .comp-cell--genque::before {
        content: '✦ GenQue';
        color: var(--blue-light);
    }

    [data-theme="light"] .comp-cell--genque::before {
        color: var(--blue-deep);
    }

    .comp-cell--genque {
        border-radius: 0 0 8px 8px;
        margin-bottom: 0;
    }
}

/* ============================================================
   REAL IMPACT — REDESIGN: BOLD EDITORIAL + STAT PANEL
   ============================================================ */
#impact {
    padding: 0;
    background: var(--bg-secondary);
    transition: var(--transition-theme);
    overflow: hidden;
    position: relative;
}

/* ── TOP BANNER: headline left / big stat right ── */
.impact-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 56vh;
    border-bottom: 1px solid var(--glass-border);
}

.impact-top-left {
    padding: 7rem 5rem 6rem 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

/* Faint watermark number behind left content */
.impact-watermark {
    position: absolute;
    bottom: -1.5rem;
    right: -1rem;
    font-family: var(--font-display);
    font-size: clamp(7rem, 14vw, 13rem);
    font-weight: 800;
    letter-spacing: -0.06em;
    color: var(--blue-mid);
    opacity: 0.04;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.impact-top-left .section-label {
    margin-bottom: 2rem;
}

.impact-statement {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 2.8vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 1.75rem;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.impact-statement.visible {
    opacity: 1;
    transform: translateY(0);
}

.impact-statement em {
    font-style: normal;
    background: linear-gradient(135deg, var(--blue-light), var(--blue-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .impact-statement em {
    background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));
    -webkit-background-clip: text;
    background-clip: text;
}

.impact-descriptor {
    font-size: 1.2rem;
    color: var(--text-dim);
    line-height: 1.8;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.9s ease 0.18s, transform 0.9s ease 0.18s;
}

.impact-descriptor.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── RIGHT PANEL: stacked big numbers ── */
.impact-top-right {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* subtle radial glow behind numbers */
.impact-top-right::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 85% 70% at 55% 45%, var(--accent-glow) 0%, transparent 65%);
    pointer-events: none;
}

/* Two big-number cells stacked vertically */
.impact-stat-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
}

.impact-big-stat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3.5rem 3rem;
    border-bottom: 1px solid var(--glass-border);
    border-right: 1px solid var(--glass-border);
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease, background 0.3s;
    cursor: default;
}

.impact-big-stat:nth-child(2) {
    border-right: none;
}

.impact-big-stat:nth-child(3) {
    border-bottom: none;
}

.impact-big-stat:nth-child(4) {
    border-right: none;
    border-bottom: none;
}

.impact-big-stat.visible {
    opacity: 1;
    transform: translateY(0);
}

.impact-big-stat:hover {
    background: var(--glass);
}

/* top accent line on hover */
.impact-big-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blue-mid), var(--blue-light), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s ease;
}

.impact-big-stat:hover::before {
    transform: scaleX(1);
}

.impact-big-num {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 4.5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

[data-theme="light"] .impact-big-num {
    background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));
    -webkit-background-clip: text;
    background-clip: text;
}

.impact-big-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dim);
    line-height: 1.5;
    letter-spacing: 0.01em;
}

/* ── BOTTOM BAND: 5-column outcome list ── */
.impact-outcomes {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.impact-outcome {
    padding: 2.5rem 2rem 2.5rem 2rem;
    border-right: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    cursor: default;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease, background 0.3s;
}

.impact-outcome:last-child {
    border-right: none;
}

.impact-outcome.visible {
    opacity: 1;
    transform: translateY(0);
}

.impact-outcome:hover {
    background: var(--glass);
}

/* accent top line */
.impact-outcome::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blue-mid), var(--blue-light));
    transition: width 0.5s ease;
}

.impact-outcome.visible::before {
    width: 48px;
}

/* dash icon */
.impact-outcome-dash {
    display: block;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--blue-mid), var(--blue-light));
    border-radius: 2px;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.impact-outcome-label {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.impact-outcome-desc {
    font-size: 0.8rem;
    color: var(--text-dim);
    line-height: 1.6;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
    .impact-top {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .impact-top-left {
        padding: 5rem 4rem 4rem;
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
    }

    .impact-top-right {
        border-top: none;
    }

    .impact-stat-pair {
        grid-template-columns: repeat(4, 1fr);
        height: auto;
    }

    .impact-big-stat {
        padding: 2.5rem 2rem;
    }

    .impact-big-stat:nth-child(3),
    .impact-big-stat:nth-child(4) {
        border-bottom: none;
    }

    .impact-outcomes {
        grid-template-columns: repeat(3, 1fr);
    }

    .impact-outcome:nth-child(3) {
        border-right: none;
    }

    .impact-outcome:nth-child(4) {
        border-top: 1px solid var(--glass-border);
    }

    .impact-outcome:nth-child(5) {
        border-top: 1px solid var(--glass-border);
    }
}

@media (max-width: 768px) {
    .impact-top-left {
        padding: 4rem 2rem 3rem;
    }

    .impact-stat-pair {
        grid-template-columns: repeat(2, 1fr);
    }

    .impact-big-stat:nth-child(1),
    .impact-big-stat:nth-child(2) {
        border-bottom: 1px solid var(--glass-border);
    }

    .impact-big-stat:nth-child(3),
    .impact-big-stat:nth-child(4) {
        border-bottom: none;
    }

    .impact-outcomes {
        grid-template-columns: 1fr 1fr;
    }

    .impact-outcome:nth-child(odd) {
        border-right: 1px solid var(--glass-border);
    }

    .impact-outcome:nth-child(even) {
        border-right: none;
    }

    .impact-outcome:not(:nth-child(1)):not(:nth-child(2)) {
        border-top: 1px solid var(--glass-border);
    }
}

@media (max-width: 480px) {
    .impact-stat-pair {
        grid-template-columns: 1fr 1fr;
    }

    .impact-outcomes {
        grid-template-columns: 1fr;
    }

    .impact-outcome {
        border-right: none;
        border-top: 1px solid var(--glass-border);
    }

    .impact-outcome:first-child {
        border-top: none;
    }
}

/* ============================================================
   FINAL CTA
   ============================================================ */
#cta {
    padding: 5rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary);
    transition: var(--transition-theme);
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 80% at 50% 50%, var(--accent-glow) 0%, transparent 70%);
    transition: var(--transition-theme);
}

#cta-waves {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.45;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-headline {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 auto 1.5rem;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(25px);
    color: var(--text-primary);

}

.cta-sub {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-dim);
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
}

.cta-btn-wrap {
    opacity: 0;
    transform: translateY(20px);
}

/* CTA Mascot */
.cta-mascot {
    position: absolute;
    right: 8%;
    bottom: 0;
    z-index: 3;
    animation: mascot-float 5s ease-in-out infinite;
    filter: drop-shadow(0 15px 30px var(--accent-glow));
    opacity: 0.9;
}

.cta-mascot img {
    width: 140px;
    height: auto;
}

/* ============================================================
   FOOTER — REDESIGNED: 4-col grid, dual-logo, accessible
   ============================================================ */
footer {
    position: relative;
    border-top: 1px solid var(--glass-border);
    background: var(--bg-footer);
    overflow: hidden;
    transition: var(--transition-theme);
}

#footer-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.footer-content {
    position: relative;
    z-index: 2;
    padding: 3.5rem 4rem 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-brand .nav-logo-text {
    font-size: 1.5rem;
}

.footer-brand p {
    font-size: 0.88rem;
    color: var(--text-dim);
    margin-top: 1rem;
    line-height: 1.6;
    max-width: 260px;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue-light);
    margin-bottom: 1.25rem;
}

[data-theme="light"] .footer-col h4 {
    color: var(--blue-deep);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-col ul a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
}

.footer-col ul a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--text-dim);
}

.social-links {
    display: flex;
    gap: 0.875rem;
    align-items: center;
}

.social-link {
    width: 46px;
    height: 46px;
    border: 1.5px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 1rem;
    transition: border-color 0.35s, color 0.35s, box-shadow 0.35s, transform 0.3s, background 0.35s;
    background: var(--glass);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, rgba(107, 168, 212, 0.25) 0%, transparent 65%);
    opacity: 0;
    transition: opacity 0.35s;
}

.social-link:hover {
    border-color: var(--blue-light);
    color: var(--blue-light);
    box-shadow: 0 0 24px var(--accent-glow-strong), 0 0 8px rgba(107, 168, 212, 0.2), inset 0 1px 0 rgba(167, 199, 231, 0.2);
    transform: translateY(-4px) scale(1.08);
    background: var(--glass-hover);
}

.social-link:hover::before {
    opacity: 1;
}

[data-theme="light"] .social-link {
    border-color: rgba(43, 95, 143, 0.18);
    background: rgba(107, 168, 212, 0.08);
}

[data-theme="light"] .social-link:hover {
    border-color: var(--blue-deep);
    color: var(--blue-deep);
    box-shadow: 0 0 20px rgba(43, 95, 143, 0.2), 0 4px 16px rgba(43, 95, 143, 0.12);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    position: relative;
    z-index: 1;
}


/* ============================================================
   CREDIBILITY FOOTER — BRAND · CERTS · PARTNERSHIPS · MEMBERSHIPS
   ============================================================ */

/* ---- Credibility Strip wrapper ---- */
.credibility-strip {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--glass-border);
    padding: 2.5rem 4rem 2rem;
    background: var(--bg-footer);
    transition: var(--transition-theme);
}

.credibility-inner {
    max-width: 1800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 500px auto 1fr;
    gap: 0;
    align-items: start;
}

/* ---- Brand column ---- */
.cred-brand {
    flex: 0 0 500px;
    /* padding-right: 2rem; */
}

.cred-logo-lockup {
    margin-bottom: 0;
}

/* Logo wrapper: in dark mode, give a subtle frosted white pill so dark-on-transparent logos show */
.cred-logo-wrap {
    display: inline-block;
    border-radius: 10px;
    padding: 6px 12px;
    transition: background 0.4s ease;
}

[data-theme="dark"] .cred-logo-wrap {
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .cred-logo-wrap {
    background: transparent;
    border: none;
}

.cred-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: filter 0.4s ease, opacity 0.4s ease;
}

/* Dark mode: gentle brightness/contrast boost — preserves original colors */
[data-theme="dark"] .cred-logo-img {

    opacity: 1;
}

/* Light mode: original colors, no filter */
[data-theme="light"] .cred-logo-img {
    filter: brightness(0.9) contrast(1.1);
    opacity: 1;
}

.cred-tagline {
    font-size: 1rem;
    font-weight: 800;
    color: var(--blue-mid);
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

[data-theme="light"] .cred-tagline {
    color: var(--blue-deep);
}

.cred-desc {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.65;
    margin-bottom: 0;
}

/* Social buttons */
.cred-social {
    display: inline-block;
    float: right;
    margin-top: 20px;
}

.cred-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    border: 1.5px solid var(--glass-border);
    background: var(--glass);
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: border-color 0.3s, color 0.3s, background 0.3s, box-shadow 0.3s, transform 0.25s;
    position: relative;
    overflow: hidden;
}

.cred-social-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.cred-social-btn:hover {
    border-color: var(--blue-light);
    color: var(--blue-light);
    background: var(--glass-hover);
    box-shadow: 0 0 20px var(--accent-glow), 0 4px 12px rgba(107, 168, 212, 0.12);
    transform: translateY(-3px);
}

.cred-social-btn:hover svg {
    transform: scale(1.15);
}

[data-theme="light"] .cred-social-btn:hover {
    color: var(--blue-deep);
    border-color: var(--blue-deep);
    box-shadow: 0 0 16px rgba(43, 95, 143, 0.14);
}

/* LinkedIn official blue */
.cred-social-btn--linkedin {
    color: white;
    border-color: rgba(10, 102, 194, 0.35);
    background: #0A66C2;

}

[data-theme="light"] .cred-social-btn--linkedin {
    color: white;
    border-color: rgba(10, 102, 194, 0.3);
    background: #0A66C2;
}

.cred-social-btn--linkedin:hover {
    color: #ffffff !important;
    border-color: #0A66C2 !important;
    background: #0A66C2 !important;
    box-shadow: 0 0 20px rgba(10, 102, 194, 0.4), 0 4px 12px rgba(10, 102, 194, 0.25) !important;
}

[data-theme="light"] .cred-social-btn--linkedin:hover {
    color: #ffffff !important;
    border-color: #0A66C2 !important;
    background: #0A66C2 !important;
    box-shadow: 0 0 20px rgba(10, 102, 194, 0.35), 0 4px 12px rgba(10, 102, 194, 0.2) !important;
}

/* X (Twitter) official black */
.cred-social-btn--twitter {
    color: var(--text-dim);
    border-color: var(--glass-border);
    background: rgba(231, 233, 234, 0.12);

}

[data-theme="dark"] .cred-social-btn--twitter {
    color: #E7E9EA;
    border-color: rgba(231, 233, 234, 0.2);
    background: black;
}

[data-theme="light"] .cred-social-btn--twitter {
    color: white;
    border-color: rgba(15, 20, 25, 0.22);
    background: black;
}

[data-theme="dark"] .cred-social-btn--twitter:hover {
    color: #ffffff !important;
    border-color: rgba(231, 233, 234, 0.5) !important;
    background: black !important;
    box-shadow: 0 0 16px rgba(231, 233, 234, 0.12), 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="light"] .cred-social-btn--twitter:hover {
    color: white !important;
    border-color: rgba(15, 20, 25, 0.5) !important;
    background: black !important;
    box-shadow: 0 0 14px rgba(15, 20, 25, 0.1), 0 4px 10px rgba(15, 20, 25, 0.08) !important;
}

/* ---- Vertical divider ---- */
.cred-vdivider {
    flex: 0 0 1px;
    width: 1px;
    align-self: stretch;
    background: var(--glass-border);
    margin: 0 2.5rem;
    min-height: 120px;
}

/* ---- Credibility columns layout ---- */
.cred-columns {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 0 2.5rem;
    align-items: start;
}

/* ---- Single credibility group ---- */
.cred-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.cred-group-header {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.25rem;
}

.cred-group-icon {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-mid);
    flex-shrink: 0;
    transition: var(--transition-theme);
}

[data-theme="light"] .cred-group-icon {
    color: var(--blue-deep);
}

.cred-group-label {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue-light);
    transition: var(--transition-theme);
}

[data-theme="light"] .cred-group-label {
    color: var(--blue-deep);
}

/* ---- Badge grid ---- */
.cred-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.cred-badges--memberships {
    gap: 0.5rem;
}

/* ---- Individual badge ---- */
.cred-badge-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--bg-card);
    transition: border-color 0.28s, box-shadow 0.28s, transform 0.22s, background 0.3s;
    cursor: pointer;
    width: 80px;
    height: 80px;
}

/* In dark mode, give cards a slightly lighter surface so logos on transparent backgrounds are visible */
[data-theme="dark"] .cred-badge-item {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(167, 199, 231, 0.22);
}

.cred-badges--memberships .cred-badge-item {
    width: 80px;
    height: 80px;
}

.cred-badge-item:hover {
    border-color: var(--glass-border-hover);
    box-shadow: 0 6px 28px var(--accent-glow);
    transform: translateY(-3px) scale(1.03);
    z-index: 2;
}

/* image wrapper — fills card, centres image */
.cred-badge-img-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 9px;
    transition: background 0.3s;
}

/* In dark mode, a white fill behind the image helps dark/transparent logos show up */
[data-theme="dark"] .cred-badge-img-wrap {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 8px;
}

[data-theme="light"] .cred-badge-img-wrap {
    background: rgba(255, 255, 255, 0.75);
    border-radius: 8px;
}

.cred-badge-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: filter 0.3s, opacity 0.3s;
}

/* Dark mode: bright white card background — no filter needed, logos render at full fidelity */
[data-theme="dark"] .cred-badge-img {
    filter: none;
    opacity: 1;
}

/* On hover: vivid + soft blue glow */
[data-theme="dark"] .cred-badge-item:hover .cred-badge-img {
    filter: drop-shadow(0 0 5px rgba(107, 168, 212, 0.4));
    opacity: 1;
}

/* Light mode: original colors */
[data-theme="light"] .cred-badge-img {
    filter: none;
    opacity: 1;
}

[data-theme="light"] .cred-badge-item:hover .cred-badge-img {
    filter: drop-shadow(0 0 4px rgba(43, 95, 143, 0.3));
}

/* Special class for logos that are dark-on-transparent (no background card).
       Apply .logo-needs-invert to those specific img elements via JS or manually. */
[data-theme="dark"] .cred-badge-img.logo-needs-invert {
    filter: brightness(0) invert(1) opacity(0.85);
}

[data-theme="dark"] .cred-badge-item:hover .cred-badge-img.logo-needs-invert {
    filter: brightness(0) invert(1) opacity(1) drop-shadow(0 0 5px rgba(107, 168, 212, 0.5));
}

/* img-error fallback — show placeholder text */
.cred-badge-item.img-error .cred-badge-img {
    display: none;
}

.cred-badge-item.img-error .cred-badge-img-wrap::after {
    content: attr(data-fallback);
    font-size: 0.65rem;
    color: var(--text-dimmer);
    text-align: center;
}

/* ---- Footer bottom bar (enhanced) ---- */
.footer-bottom--enhanced {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1.25rem 4rem;
    border-top: 1px solid var(--glass-border);
    background: var(--bg-footer);
    position: relative;
    z-index: 2;
}

.footer-bottom-left {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.footer-bottom-left p {
    font-size: 0.82rem;
    color: var(--text-dim);
}

.footer-hq {
    font-size: 0.75rem !important;
    color: var(--text-dimmer) !important;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: var(--blue-light);
}

[data-theme="light"] .footer-bottom-links a:hover {
    color: var(--blue-deep);
}

.footer-sep {
    font-size: 0.75rem;
    color: var(--text-dimmer);
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
    .credibility-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cred-vdivider {
        display: none;
    }

    .cred-columns {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .cred-group--memberships {
        grid-column: 1 / -1;
    }
}

@media (max-width: 820px) {
    .credibility-strip {
        padding: 2.5rem 1.5rem 2rem;
    }

    .cred-brand {
        flex: none;
        width: 100%;
        padding-right: 0;
    }

    .cred-columns {
        width: 100%;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 520px) {
    .cred-columns {
        grid-template-columns: 1fr;
    }

    .cred-group--memberships {
        grid-column: auto;
    }

    .footer-bottom--enhanced {
        flex-direction: column;
        align-items: center;
        padding: 1.25rem 1.5rem;
        text-align: center;
    }

    .footer-bottom-links--center,
    .footer-bottom-links--right {
        justify-content: center;
    }
}

/* ============================================================
       PREMIUM ANIMATED GRADIENT SECTION HEADINGS
       Based on: background-position sweep technique
    ============================================================ */
.section-heading-animated {
    position: relative;
    /* Base color — shown before/after animation */
    color: var(--text-primary);
}

/* The gradient sweep layer — absolutely positioned text clone */
.section-heading-animated .heading-shimmer-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    /* Start invisible */
    opacity: 0;
    /* Exact same font properties as the parent heading */
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    white-space: inherit;
    word-break: inherit;
    /* Gradient text */
    background: linear-gradient(to right,
            var(--blue-deep) 5%,
            var(--blue-mid) 25%,
            var(--blue-light) 45%,
            #C8E4F8 55%,
            var(--blue-glow) 65%,
            var(--blue-mid) 80%,
            var(--blue-deep) 100%);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .section-heading-animated .heading-shimmer-layer {
    background: linear-gradient(to right,
            var(--blue-deep) 5%,
            var(--blue-mid) 30%,
            #4A90C4 50%,
            var(--blue-mid) 70%,
            var(--blue-deep) 100%);
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
}

/* When .shimmer-run is added to the heading container */
.section-heading-animated.shimmer-run .heading-shimmer-layer {
    animation: heading-gradient-sweep 2.6s cubic-bezier(0.4, 0, 0.2, 1) 1 forwards;
}

/* Held state after sweep completes — gradient stays visible */
.section-heading-animated.shimmer-done .heading-shimmer-layer {
    opacity: 1;
    background-position: 100% 50%;
}

@keyframes heading-gradient-sweep {
    0% {
        background-position: 0% 50%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    100% {
        background-position: 100% 50%;
        opacity: 1;
    }
}

/* ============================================================
       FOOTER SOCIAL ICONS — Premium Size & Hover
    ============================================================ */
.orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(60px);
    animation: orb-drift 12s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(43, 95, 143, 0.25) 0%, transparent 70%);
    top: -100px;
    right: -80px;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(107, 168, 212, 0.15) 0%, transparent 70%);
    bottom: 50px;
    left: -60px;
    animation-delay: -4s;
}

@keyframes orb-drift {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -25px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.97);
    }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

   @media (max-width: 1500px){
    .credibility-inner{grid-template-columns: 350px auto 1fr;}
   }
@media (max-width: 900px) {
    nav {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        display: none;
    }

    #hero {
        grid-template-columns: 1fr;
        padding: 8rem 1.5rem 3rem;
    }

   

    .mascot-wrapper {
        right: 10px;
    }

    .mascot-wrapper img {
        width: 120px;
    }

    .stats-inner {
        grid-template-columns: 1fr 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .problem-grid {
        grid-template-columns: 1fr;
    }

    #problem,
    #comparison,
    #cta {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    #problem {
        padding-top: 5rem !important;
        padding-bottom: 6rem !important;
    }

    #comparison {
        padding-top: 6rem !important;
        padding-bottom: 6rem !important;
    }

    #how,
    section#solution {
        padding-top: 5rem !important;
        padding-bottom: 5rem !important;
    }

    #why {
        padding-top: 5rem !important;
        padding-bottom: 6rem !important;
    }

    #stats {
        padding: 3rem 1.5rem 3.5rem;
    }

    .cta-mascot {
        display: none;
    }

    /* How It Works responsive */
    .how-header,
    .how-timeline {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .how-timeline-spine,
    .how-timeline-progress {
        display: none;
    }

    .how-step,
    .how-step.how-step-right {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .how-step.how-step-right .how-step-content {
        order: 0;
    }

    .how-step-node {
        width: 72px;
        height: 72px;
    }

    .how-step-content {
        padding: 1.75rem;
    }

    /* Why GenQue responsive */
    .why-header {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .why-feature-row {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .why-feature-visual {
        border-left: none;
        border-top: 1px solid var(--glass-border);
        padding: 2rem;
        min-height: 140px;
    }

    .why-feature-row:nth-child(even) .why-feature-visual {
        border-right: none;
        border-top: 1px solid var(--glass-border);
        order: 1;
    }

    .why-feature-text {
        padding: 2rem 1.5rem;
    }

    .why-visual-orb {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }

    /* Impact responsive */
    .impact-top {
        grid-template-columns: 1fr;
    }

    .impact-top-left {
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
        padding: 4rem 1.5rem 3rem;
    }

    .impact-top-right {
        padding: 3rem 1.5rem;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
    }

    .impact-outcomes {
        grid-template-columns: 1fr;
    }

    .impact-outcome {
        border-right: none;
    }

    .impact-outcome:nth-child(3) {
        border-bottom: 1px solid var(--glass-border);
    }

    .impact-outcome:nth-child(4) {
        border-bottom: none;
    }
}

@media (max-width: 600px) {

    .stats-inner {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        overflow-x: auto;
    }

    .mascot-wrapper img {
        width: 90px;
    }

    .how-step-content h3 {
        font-size: 1.2rem;
    }

    .why-feature-text h3 {
        font-size: 1.4rem;
    }
}

/* ============================================================
       MASCOT ENTRY OVERLAY — Vimeo video mascot, cloud bubble above
    ============================================================ */

/* Full-screen backdrop — above page (9500), below loader (10000) */
#mascot-entry-overlay {
    position: fixed;
    inset: 0;
    z-index: 9500;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 22, 40, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem 1rem;
    /* prevent edge-clipping on small screens */
}

[data-theme="light"] #mascot-entry-overlay {
    background: rgba(238, 244, 251, 0.65);
}

/* ── Stage: vertical stack — bubble → tail → video ──────────── */
#mascot-entry-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    position: relative;
    z-index: 9501;
    /* explicit: above the frosted backdrop */
    /* GSAP starts here and animates to opacity:1 scale:1 y:0 */
    opacity: 0;
    transform: translateY(24px) scale(0.93);
    will-change: transform, opacity;
    /* Ensure the whole stack fits in viewport */
    max-height: calc(100vh - 3rem);
    justify-content: center bottom;
}

/* ── Cloud speech bubble ─────────────────────────────────────── */
#mascot-entry-bubble {

    position: relative;
    width: clamp(400px, 44vw, 450px);
    padding: 2rem 1.7rem 2rem;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(28px) saturate(1.8);
    -webkit-backdrop-filter: blur(28px) saturate(1.8);
    border: 1px solid rgba(167, 199, 231, 0.45);
    border-radius: 50px;
    box-shadow:
        0 10px 44px rgba(107, 168, 212, 0.35),
        0 0 0 1px rgba(167, 199, 231, 0.20) inset;
    /* GSAP starts here and animates to opacity:1 scale:1 y:0 */
    opacity: 0;
    transform: translateY(10px) scale(0.90);
    will-change: transform, opacity;
    animation: meb-float 3.6s ease-in-out infinite;
    animation-play-state: paused;
    z-index: 9503;
}

[data-theme="light"] #mascot-entry-bubble {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(43, 95, 143, 0.30);
    box-shadow: 0 10px 44px rgba(43, 95, 143, 0.20),
        0 0 0 1px rgba(255, 255, 255, 0.95) inset;
}

#mascot-entry-bubble-text {
    font-family: var(--font-body, 'DM Sans', sans-serif);
    font-size: clamp(1.2rem, 1.8vw, 1.1rem);
    font-weight: 600;
    color: #F0F6FF;
    line-height: 1.65;
    text-align: center;
    margin: 0;
    position: relative;
    z-index: 1;
}

[data-theme="light"] #mascot-entry-bubble-text {
    color: #0D1E38;
}

/* ── Cloud bumps — wavy bottom edge of bubble ────────────────── */
.meb-cloud-bumps {
    position: absolute;
    bottom: -13px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    z-index: 4;
}

.meb-cloud-bumps span {
    display: block;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(167, 199, 231, 0.30);
    box-shadow: 0 4px 16px rgba(107, 168, 212, 0.15);
}

[data-theme="light"] .meb-cloud-bumps span {
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(43, 95, 143, 0.22);
}

/* ── Tail row — sits in normal document flow between bubble & video */
.meb-tail-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-top: 10px;
    /* gap from bump row bottom */
    margin-bottom: 6px;
    z-index: 2;
}

.meb-tail-dot {
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(167, 199, 231, 0.26);
    box-shadow: 0 3px 10px rgba(107, 168, 212, 0.12);
}

[data-theme="light"] .meb-tail-dot {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(43, 95, 143, 0.20);
}

.meb-tail-1 {
    width: 14px;
    height: 14px;
}

.meb-tail-2 {
    width: 9px;
    height: 9px;
}

/* ── Mascot figure wrapper ───────────────────────────────────── */
#mascot-entry-figure {
    position: relative;
    z-index: 9502;
    display: block;
    animation: meb-mascot-float 3.6s ease-in-out infinite;
    animation-play-state: paused;
}

/* ── Video shell — isolation: isolate scopes mix-blend-mode to ONLY the GIF ─── */
#mascot-video-shell {
    position: relative;
    display: block;
    width: clamp(550px, 32vw, 480px);
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 0;
    background: transparent;
    isolation: isolate;
    filter: drop-shadow(0 28px 56px rgba(107, 168, 212, 0.40));
}

#mascot-entry-gif {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    pointer-events: none;
    mix-blend-mode: screen;
}

/* ── Float keyframes ─────────────────────────────────────────── */
@keyframes meb-float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    48% {
        transform: translateY(-9px) scale(1.006);
    }
}

@keyframes meb-mascot-float {

    0%,
    100% {
        transform: translateY(0);
    }

    48% {
        transform: translateY(-9px);
    }
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
    #mascot-video-shell {
        width: clamp(260px, 52vmin, 380px);
    }

    #mascot-entry-bubble {
        width: clamp(240px, 70vw, 360px);
    }
}

@media (max-width: 520px) {
    #mascot-video-shell {
        width: clamp(220px, 68vw, 300px);
    }

    #mascot-entry-bubble {
        width: clamp(200px, 82vw, 300px);
        padding: 1rem 1.2rem 1.8rem;
    }

    #mascot-entry-bubble-text {
        font-size: 0.88rem;
    }
}

/* ── Reduced motion ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {

    #mascot-entry-bubble,
    #mascot-entry-figure {
        animation: none !important;
    }
}

/* ============================================================
       MASCOT SECTION ANIMATIONS (bottom-right mascot)
    ============================================================ */
#mascot-main {
    will-change: transform;
}

@keyframes mascot-wave {

    0%,
    100% {
        transform: translateY(0) rotate(-2deg);
    }

    20% {
        transform: translateY(-10px) rotate(8deg);
    }

    40% {
        transform: translateY(-6px) rotate(-4deg);
    }

    60% {
        transform: translateY(-14px) rotate(6deg);
    }

    80% {
        transform: translateY(-4px) rotate(-2deg);
    }
}

@keyframes mascot-bounce {

    0%,
    100% {
        transform: translateY(0) rotate(-2deg);
    }

    30% {
        transform: translateY(-20px) rotate(1deg) scale(1.05);
    }

    60% {
        transform: translateY(-8px) rotate(-1deg) scale(1.02);
    }
}

@keyframes mascot-idle-gentle {

    0%,
    100% {
        transform: translateY(0) rotate(-1deg);
    }

    50% {
        transform: translateY(-10px) rotate(1deg);
    }
}

@keyframes mascot-nod {

    0%,
    100% {
        transform: translateY(0) rotate(-2deg);
    }

    25% {
        transform: translateY(-5px) rotate(-5deg);
    }

    50% {
        transform: translateY(-12px) rotate(3deg);
    }

    75% {
        transform: translateY(-3px) rotate(-1deg);
    }
}

.mascot-section-wave {
    animation: mascot-wave 2.4s ease-in-out 1 forwards, mascot-float 4s ease-in-out infinite 2.5s !important;
}

.mascot-section-bounce {
    animation: mascot-bounce 1.8s ease-in-out 1 forwards, mascot-float 4s ease-in-out infinite 1.9s !important;
}

.mascot-section-nod {
    animation: mascot-nod 2.0s ease-in-out 1 forwards, mascot-float 4s ease-in-out infinite 2.1s !important;
}

.mascot-section-idle {
    animation: mascot-idle-gentle 3.5s ease-in-out infinite !important;
}

.mascot-bubble[data-msg]::before {
    content: none;
}

@media (prefers-reduced-motion: reduce) {

    .mascot-section-wave,
    .mascot-section-bounce,
    .mascot-section-nod,
    .mascot-section-idle {
        animation: none !important;
    }

    #mascot-main {
        animation: mascot-float 6s ease-in-out infinite !important;
    }
}

@keyframes shimmer-move {
    0% {
        transform: translateX(-100%) rotate(30deg);
    }

    100% {
        transform: translateX(300%) rotate(30deg);
    }
}

.feature-card::before,
.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.06) 50%, transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}

.feature-card:hover::before,
.step-card:hover::before {
    opacity: 1;
    animation: shimmer-move 0.8s ease forwards;
}

/* ============================================================
   VIDEO SHOWCASE SECTION
   ============================================================ */
#video-showcase {
    position: relative;
    margin: 0 2rem;
    border-radius: 20px;
    overflow: hidden;
    height: 70vh;
    opacity: 0;
    transform: scale(0.97);
    transition: opacity 1s ease, transform 1s ease;
    will-change: transform, opacity;
    background: #000;
}

#video-showcase.vs-visible {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 768px) {
    #video-showcase {
        height: 45vh;
        margin: 0 1rem;
        border-radius: 14px;
    }
}

.vs-video-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.vs-video-wrap iframe {
    /* Scale up so edges are hidden — creates full-bleed cinematic crop */
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.78vh;
    /* 16:9 based on height */
    height: 56.25vw;
    /* 16:9 based on width */
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%) scale(1.04);
    transition: transform 0.6s ease;
    border: none;
    pointer-events: none;
    /* clicks pass through to our custom controls */
}

/* Allow pointer events on iframe only when we need Vimeo to receive them */
.vs-video-wrap.vs-iframe-active iframe {
    pointer-events: auto;
}

/* Cinematic dark overlay */
.vs-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(6, 13, 26, 0.45) 0%,
            rgba(6, 13, 26, 0.12) 40%,
            rgba(6, 13, 26, 0.12) 60%,
            rgba(6, 13, 26, 0.65) 100%);
    pointer-events: none;
    z-index: 2;
}

/* Side vignette */
.vs-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 120% 100% at 50% 50%, transparent 60%, rgba(6, 13, 26, 0.55) 100%);
}

/* Glassmorphism control bar */
.vs-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(10, 22, 40, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(167, 199, 231, 0.18);
    border-radius: 100px;
    padding: 0.65rem 1.4rem;
    white-space: nowrap;
    min-width: min(520px, 90vw);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(167, 199, 231, 0.06) inset;
    transition: opacity 0.4s, transform 0.4s;
    opacity: 1;
}

/* Controls visible by default and on hover */
#video-showcase .vs-controls {
    opacity: 1 !important;
}

/* Hide controls only when explicitly idling while playing */
#video-showcase.vs-idle .vs-controls {
    opacity: 0 !important;
    pointer-events: none;
}

.vs-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(240, 246, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    transition: color 0.2s, background 0.2s, transform 0.2s;
    flex-shrink: 0;
}

.vs-btn:hover {
    color: #fff;
    background: rgba(167, 199, 231, 0.15);
    transform: scale(1.1);
}

.vs-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.vs-btn.vs-play-btn svg {
    width: 22px;
    height: 22px;
}

/* Progress bar */
.vs-progress-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.vs-time {
    font-size: 0.72rem;
    color: rgba(240, 246, 255, 0.6);
    font-family: var(--font-body);
    letter-spacing: 0.04em;
    min-width: 38px;
}

.vs-progress-track {
    flex: 1;
    height: 3px;
    background: rgba(167, 199, 231, 0.2);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: visible;
}

.vs-progress-track:hover {
    height: 5px;
    transition: height 0.15s;
}

.vs-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--blue-mid), var(--blue-light));
    border-radius: 3px;
    width: 0%;
    position: relative;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px rgba(123, 184, 232, 0.5);
}

.vs-progress-fill::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(123, 184, 232, 0.7);
    opacity: 0;
    transition: opacity 0.15s;
}

.vs-progress-track:hover .vs-progress-fill::after {
    opacity: 1;
}

/* Volume slider */
.vs-volume-wrap {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.vs-volume-slider {
    -webkit-appearance: none;
    width: 60px;
    height: 3px;
    background: rgba(167, 199, 231, 0.2);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.vs-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--blue-light);
    cursor: pointer;
    box-shadow: 0 0 8px rgba(167, 199, 231, 0.5);
}

.vs-divider {
    width: 1px;
    height: 18px;
    background: rgba(167, 199, 231, 0.2);
    flex-shrink: 0;
}

/* Play button overlay (center) */
.vs-play-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: opacity 0.4s;
}

.vs-play-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(10, 22, 40, 0.55);
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(167, 199, 231, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(107, 168, 212, 0.3);
    transition: transform 0.3s, opacity 0.4s;
}

.vs-play-circle svg {
    width: 30px;
    height: 30px;
    fill: rgba(240, 246, 255, 0.95);
    margin-left: 4px;
}

#video-showcase.vs-playing .vs-play-overlay {
    opacity: 0;
}

#video-showcase:hover .vs-play-circle {
    transform: scale(1.08);
}

/* ============================================================
   WHY GENQUE — AI INTELLIGENCE ORBIT
   ============================================================ */
#why {
    padding: 5rem 0 5rem;
    background: var(--bg-secondary);
    transition: var(--transition-theme);
    overflow: visible;
    position: relative;
}

/* Clip wrapper around the orbit to contain particles but allow orbit nodes to show */
.why-orbit-clip {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.why-header {
    padding: 0 4rem;

    margin-bottom: 3rem;
}

.why-header p {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-dim);
    line-height: 1.7;

}

/* Orbit canvas container */
.why-orbit-container {
    position: relative;
    width: 100%;
    height: min(200vh, 640px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

/* Laptop: scale the entire orbit to fit within viewport */
@media (max-width: 1600px) and (min-width: 1101px) {
    .why-orbit-container {
        transform-origin: top center;
        /* Scale proportionally based on viewport width */
        transform: scale(min(1, calc(100vw / 1700px)));
        /* height: min(200vh, calc(640px * min(1, calc(100vw / 1700px)))); */
        margin-bottom: calc((1 - min(1, calc(100vw / 1700px))) * -640px * 0.5);
    }
}

@media (max-width: 1200px) and (min-width: 1101px) {
    .why-orbit-container {
        transform: scale(0.72);
        height: calc(640px * 0.72);
        margin-bottom: calc(640px * -0.14);
    }
}

@media (max-width: 1100px) and (min-width: 901px) {
    .why-orbit-container {
        transform: scale(0.62);
        height: calc(640px * 0.62);
        margin-bottom: calc(640px * -0.19);
    }
}

@media (max-width: 900px) {
    .why-orbit-container {
        height: auto;
        transform: none;
        margin-bottom: 0;
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }
}

/* SVG orbit lines canvas */
#orbit-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: visible;
}

/* Background ambient glow */
.why-ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.why-ambient::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(107, 168, 212, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: ambient-pulse 5s ease-in-out infinite;
}

@keyframes ambient-pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 1;
    }
}

/* Central GenQue core */
.orbit-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 160px;
    height: 160px;
}

.orbit-core-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
}

.orbit-core-ring-1 {
    border: 1px solid rgba(167, 199, 231, 0.25);
    animation: orbit-rotate 12s linear infinite;
}

.orbit-core-ring-1::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: var(--blue-glow);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--blue-glow);
}

.orbit-core-ring-2 {
    inset: -18px;
    border: 1px solid rgba(167, 199, 231, 0.12);
    animation: orbit-rotate 20s linear infinite reverse;
}

.orbit-core-ring-2::before {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 20%;
    width: 6px;
    height: 6px;
    background: var(--blue-mid);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--blue-mid);
}

.orbit-core-ring-3 {
    inset: -36px;
    border: 0.5px solid rgba(167, 199, 231, 0.07);
    animation: orbit-rotate 30s linear infinite;
}

@keyframes orbit-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.orbit-core-inner {
    position: relative;
    z-index: 5;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(107, 168, 212, 0.22) 0%, rgba(10, 22, 40, 0.9) 70%);
    border: 1px solid rgba(167, 199, 231, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-shadow:
        0 0 30px rgba(107, 168, 212, 0.2),
        0 0 80px rgba(107, 168, 212, 0.08),
        inset 0 1px 0 rgba(167, 199, 231, 0.3);
    animation: core-pulse 4s ease-in-out infinite;
}

[data-theme="light"] .orbit-core-inner {
    background: radial-gradient(circle at 35% 35%, rgba(107, 168, 212, 0.18) 0%, rgba(238, 244, 251, 0.92) 70%);
    box-shadow: 0 0 30px rgba(107, 168, 212, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

@keyframes core-pulse {

    0%,
    100% {
        box-shadow: 0 0 30px rgba(107, 168, 212, 0.2), 0 0 80px rgba(107, 168, 212, 0.08), inset 0 1px 0 rgba(167, 199, 231, 0.3);
    }

    50% {
        box-shadow: 0 0 50px rgba(107, 168, 212, 0.4), 0 0 120px rgba(107, 168, 212, 0.15), inset 0 1px 0 rgba(167, 199, 231, 0.5);
    }
}

.orbit-core-logo {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #fff 0%, var(--blue-light) 60%, var(--blue-mid) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 2px;
}

[data-theme="light"] .orbit-core-logo {
    background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-mid) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.orbit-core-sub {
    font-size: 0.52rem;
    color: var(--blue-light);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.7;
}

[data-theme="light"] .orbit-core-sub {
    color: var(--blue-deep);
}

/* Feature nodes */
.orbit-node {
    position: absolute;
    z-index: 8;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.orbit-node:hover {
    transform: scale(1.06) translateZ(0);
    z-index: 20;
}

/* Node positions — 6 nodes evenly spread around center */
.orbit-node-1 {
    top: calc(50% - 160px);
    left: calc(50% - 580px);
    transform: translate(-50%, -50%);
}

.orbit-node-2 {
    top: calc(50% - 160px);
    left: calc(50% + 580px);
    transform: translate(-50%, -50%);
}

.orbit-node-3 {
    top: calc(50% + 100px);
    left: calc(50% - 580px);
    transform: translate(-50%, -50%);
}

.orbit-node-4 {
    top: calc(50% + 100px);
    left: calc(50% + 580px);
    transform: translate(-50%, -50%);
}

.orbit-node-5 {
    top: calc(50% - 240px);
    left: calc(50% - 30px);
    transform: translate(-50%, -50%);
}

.orbit-node-6 {
    top: calc(50% + 240px);
    left: calc(50% - 30px);
    transform: translate(-50%, -50%);
}

/* .orbit-node:hover {
      z-index: 20;
    }

    .orbit-node-1:hover {
      transform: translate(-50%, -50%) scale(1.05);
    }

    .orbit-node-2:hover {
      transform: translate(-50%, -50%) scale(1.05);
    }

    .orbit-node-3:hover {
      transform: translate(-50%, -50%) scale(1.05);
    }

    .orbit-node-4:hover {
      transform: translate(-50%, -50%) scale(1.05);
    }

    .orbit-node-5:hover {
      transform: translate(-50%, -50%) scale(1.05);
    }

    .orbit-node-6:hover {
      transform: translate(-50%, -50%) scale(1.05);
    } */

.orbit-node-inner {
    width: 500px;
    background: rgba(10, 22, 40, 0.75);
    border: 1px solid rgba(167, 199, 231, 0.14);
    border-radius: 20px;
    padding: 1.6rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(167, 199, 231, 0.12);
    transition: border-color 0.4s, box-shadow 0.4s, background 0.4s;
    position: relative;
    overflow: hidden;
}

[data-theme="light"] .orbit-node-inner {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(43, 95, 143, 0.14);
    box-shadow: 0 8px 32px rgba(43, 95, 143, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.orbit-node-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(167, 199, 231, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

/* .orbit-node:hover .orbit-node-inner {
      border-color: rgba(167, 199, 231, 0.32);
      box-shadow: 0 16px 64px rgba(0, 0, 0, 0.5), 0 0 40px rgba(107, 168, 212, 0.15), inset 0 1px 0 rgba(167, 199, 231, 0.25);
      background: rgba(10, 22, 40, 0.88);
    } */

/* [data-theme="light"] .orbit-node:hover .orbit-node-inner {
      border-color: rgba(43, 95, 143, 0.35);
      box-shadow: 0 16px 64px rgba(43, 95, 143, 0.18), 0 0 40px rgba(107, 168, 212, 0.1);
      background: rgba(255, 255, 255, 0.95);
    }

    .orbit-node:hover .orbit-node-inner::before {
      opacity: 1;
    } */

/* Hover: white border highlight on orbit node inner */
.orbit-node:hover .orbit-node-inner {
    border-color: #7AB6E7;
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.5), 0 0 28px rgba(255, 255, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

[data-theme="light"] .orbit-node:hover .orbit-node-inner {
    border-color: #2D5C86;
    box-shadow: 0 16px 64px rgba(43, 95, 143, 0.18), 0 0 24px rgba(255, 255, 255, 0.3);
}

.orbit-node:hover .orbit-node-inner::before {
    opacity: 1;
}



@keyframes node-pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 10px var(--blue-glow);
    }

    50% {
        transform: scale(1.3);
        box-shadow: 0 0 20px var(--blue-glow), 0 0 40px rgba(107, 168, 212, 0.3);
    }
}

.orbit-node-eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blue-mid);
    margin-bottom: 0.45rem;
    font-family: var(--font-display);
}

[data-theme="light"] .orbit-node-eyebrow {
    color: var(--blue-deep);
}

.orbit-node-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.orbit-node-body {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.7;

    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s;

}



/* Connection line animations */
.orbit-line {
    stroke: rgba(107, 168, 212, 0.2);
    stroke-width: 1;
    fill: none;
    transition: stroke 0.4s, stroke-width 0.4s;
    stroke-dasharray: 6 6;
    animation: dash-flow 3s linear infinite;
}

@keyframes dash-flow {
    from {
        stroke-dashoffset: 0;
    }

    to {
        stroke-dashoffset: -24;
    }
}

.orbit-line-active {
    stroke: rgba(123, 184, 232, 0.55);
    stroke-width: 1.5;
    filter: drop-shadow(0 0 6px rgba(123, 184, 232, 0.4));
}

/* Floating particles */
.orbit-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--blue-glow);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    animation: particle-float var(--dur, 6s) ease-in-out var(--delay, 0s) infinite;
    box-shadow: 0 0 6px var(--blue-glow);
}

@keyframes particle-float {
    0% {
        opacity: 0;
        transform: translateY(0) translateX(0) scale(0.5);
    }

    20% {
        opacity: 0.8;
    }

    80% {
        opacity: 0.6;
    }

    100% {
        opacity: 0;
        transform: translateY(calc(var(--ty, -60px))) translateX(calc(var(--tx, 20px))) scale(1);
    }
}

/* Floating orbit animation for nodes */
.orbit-node-1 .orbit-node-inner {
    animation: float-1 6s ease-in-out infinite;
}

.orbit-node-2 .orbit-node-inner {
    animation: float-2 7s ease-in-out infinite;
}

.orbit-node-3 .orbit-node-inner {
    animation: float-3 6.5s ease-in-out infinite;
}

.orbit-node-4 .orbit-node-inner {
    animation: float-4 7.5s ease-in-out infinite;
}

.orbit-node-5 .orbit-node-inner {
    animation: float-5 5.8s ease-in-out infinite;
}

.orbit-node-6 .orbit-node-inner {
    animation: float-6 8s ease-in-out infinite;
}

@keyframes float-1 {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    33% {
        transform: translateY(-8px) translateX(4px);
    }

    66% {
        transform: translateY(-4px) translateX(-3px);
    }
}

@keyframes float-2 {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    33% {
        transform: translateY(-6px) translateX(-5px);
    }

    66% {
        transform: translateY(-10px) translateX(3px);
    }
}

@keyframes float-3 {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    33% {
        transform: translateY(-9px) translateX(3px);
    }

    66% {
        transform: translateY(-5px) translateX(-4px);
    }
}

@keyframes float-4 {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    33% {
        transform: translateY(-7px) translateX(-4px);
    }

    66% {
        transform: translateY(-11px) translateX(5px);
    }
}

@keyframes float-5 {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    33% {
        transform: translateY(-10px) translateX(2px);
    }

    66% {
        transform: translateY(-6px) translateX(-5px);
    }
}

@keyframes float-6 {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    33% {
        transform: translateY(-5px) translateX(-3px);
    }

    66% {
        transform: translateY(-8px) translateX(4px);
    }
}

/* Mobile orbit: stack vertically */
@media (max-width: 900px) {
    .why-orbit-container {
        height: auto;
    }

    .orbit-core,
    .orbit-node {
        position: static;
        transform: none !important;
    }

    .orbit-core {
        width: 120px;
        height: 120px;
        margin: 0 auto 2rem;
    }

    .orbit-core-inner {
        width: 90px;
        height: 90px;
    }

    .orbit-node-inner {
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
        animation: none !important;
    }

    .orbit-node {
        width: 100%;
    }

    .orbit-node-body {
        max-height: none;
        opacity: 1;
    }

    #orbit-svg {
        display: none;
    }

    .why-orbit-container {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 2rem 1.5rem;
    }
}

/* ============================================================
       PROBLEM SECTION — PREMIUM STATS VISUALIZATION
    ============================================================ */
.problem-stats-viz {
    position: relative;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.85) 0%, rgba(6, 12, 26, 0.9) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(167, 199, 231, 0.1);
}

[data-theme="light"] .problem-stats-viz {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(238, 244, 251, 0.85) 100%);
    box-shadow: 0 20px 60px rgba(43, 95, 143, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.psv-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(107, 168, 212, 0.12) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    filter: blur(30px);
}

.psv-grid-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.6;
}

.psv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    position: relative;
    z-index: 2;
}

.psv-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 1.5rem 1rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    text-align: center;
    transition: border-color 0.4s, box-shadow 0.4s, background 0.4s, transform 0.4s;
    position: relative;
    overflow: hidden;
}

.psv-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(167, 199, 231, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.psv-stat:hover {
    border-color: var(--glass-border-hover);
    box-shadow: 0 12px 40px var(--accent-glow);
    background: var(--glass-hover);
    transform: translateY(-4px);
}

.psv-stat:hover::before {
    opacity: 1;
}

.psv-stat-ring {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.psv-ring-svg {
    width: 60px;
    height: 60px;
    transform: rotate(-90deg);
}

.psv-ring-arc {
    transition: stroke-dashoffset 1.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.psv-stat-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--blue-light), var(--blue-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.psv-stat-num svg {
    color: var(--blue-mid);
    stroke: var(--blue-light);
    filter: drop-shadow(0 0 8px rgba(123, 184, 232, 0.5));
    -webkit-text-fill-color: initial;
}

.psv-stat-label {
    font-size: 0.72rem;
    color: var(--text-dimmer);
    line-height: 1.4;
    letter-spacing: 0.03em;
}

[data-theme="light"] .psv-stat-label {
    color: var(--text-dim);
}

/* ============================================================
       FLOATING BROCHURE CTA — Right-side vertical tab
    ============================================================ */
.float-brochure-cta {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%) translateX(0);
    z-index: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.float-brochure-cta:hover {
    transform: translateY(-50%) translateX(-6px);
}

.float-brochure-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 0.65rem 1.4rem;
    background: linear-gradient(180deg, var(--blue-mid), var(--blue-deep));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--blue-glow);
    border-right: none;
    border-radius: 14px 0 0 14px;
    box-shadow: -4px 0 28px var(--accent-glow-strong), -2px 0 12px rgba(107, 168, 212, 0.25), inset 0 1px 0 rgba(167, 199, 231, 0.2);
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.35s, border-color 0.35s, background 0.35s;
}

[data-theme="light"] .float-brochure-inner {
    background: linear-gradient(180deg, var(--blue-mid), var(--blue-deep));
    border-color: var(--blue-glow);
    box-shadow: -4px 0 28px var(--accent-glow-strong), -2px 0 12px rgba(43, 95, 143, 0.25);
}

.float-brochure-cta:hover .float-brochure-inner {
    border-color: var(--blue-light);
    box-shadow: -6px 0 45px var(--accent-glow-strong), -2px 0 16px rgba(107, 168, 212, 0.4), inset 0 1px 0 rgba(167, 199, 231, 0.3);
    background: linear-gradient(180deg, #80b8dc, var(--blue-mid));
}

[data-theme="light"] .float-brochure-cta:hover .float-brochure-inner {
    border-color: var(--blue-light);
    box-shadow: -6px 0 45px var(--accent-glow-strong), -2px 0 16px rgba(43, 95, 143, 0.35);
    background: linear-gradient(180deg, #80b8dc, var(--blue-mid));
}

/* shimmer sweep */
.float-brochure-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(167, 199, 231, 0.14) 0%, transparent 50%);
    pointer-events: none;
}

.float-brochure-icon {
    width: 28px;
    height: 28px;
    color: #F0F6FF;
    flex-shrink: 0;
    transition: transform 0.3s;
    position: relative;
    z-index: 1;
}

[data-theme="light"] .float-brochure-icon {
    color: #F0F6FF;
}

.float-brochure-cta:hover .float-brochure-icon {
    transform: translateY(-3px) scale(1.12);
}

.float-brochure-label {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #F0F6FF;
    line-height: 1;
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

[data-theme="light"] .float-brochure-label {
    color: #F0F6FF;
}

.float-brochure-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(240, 246, 255, 0.8);
    box-shadow: 0 0 8px rgba(240, 246, 255, 0.5);
    animation: pulse-dot 2s infinite;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .float-brochure-cta {
        top: auto;
        bottom: 90px;
        transform: none;
    }

    .float-brochure-cta:hover {
        transform: translateX(-6px);
    }
}

/* ============================================================
       RESPONSIVE — Problem video + stats timeline
    ============================================================ */
@media (max-width: 900px) {
    .problem-stats-timeline {
        margin-top: 2rem;
    }

    .pst-track {
        grid-template-columns: repeat(2, 1fr);
    }

    .pst-item:nth-child(2) {
        border-right: none;
    }

    .pst-item:nth-child(1),
    .pst-item:nth-child(2) {
        border-bottom: 1px solid var(--glass-border);
    }
}

@media (max-width: 520px) {
    .pst-track {
        grid-template-columns: repeat(2, 1fr);
    }

    .pst-item {
        padding: 1.75rem 1.25rem;
    }

    .pst-metric {
        font-size: 2.4rem;
    }

    .pvid-vol-wrap {
        display: none;
    }
}

@media (max-width: 380px) {
    .pst-track {
        grid-template-columns: 1fr;
    }

    .pst-item {
        border-right: none !important;
        border-bottom: 1px solid var(--glass-border);
    }

    .pst-item:last-child {
        border-bottom: none;
    }
}

/* When problem section is in full-screen, allow iframe to receive pointer events */
#pvid-section:fullscreen .pvid-wrap iframe,
#pvid-section:-webkit-full-screen .pvid-wrap iframe {
    pointer-events: auto;
}

/* ============================================================
       FOOTER BOTTOM LINKS — hover accent for new links
    ============================================================ */
.footer-bottom-links a[href*="rewind"],
.footer-bottom-links a[href*="newsletter"] {
    color: var(--blue-light);
    font-weight: 500;
}

[data-theme="light"] .footer-bottom-links a[href*="rewind"],
[data-theme="light"] .footer-bottom-links a[href*="newsletter"] {
    color: var(--blue-deep);
}

.footer-bottom-links a[href*="rewind"]:hover,
.footer-bottom-links a[href*="newsletter"]:hover {
    color: var(--text-primary);
}

/* Center-align the footer bottom bar so Year in Review & Newsletter are visually centered */
.footer-bottom--enhanced {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-bottom-left {
    flex: 1;
    white-space: nowrap;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-bottom-links--center {
    flex: 1;
    justify-content: center;
}

.footer-bottom-links--right {
    flex: 1;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .footer-bottom--enhanced {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.25rem 1.5rem;
        gap: 0.75rem;
    }

    .footer-bottom-left {
        flex: none;
    }

    .footer-bottom-links--center,
    .footer-bottom-links--right {
        flex: none;
        justify-content: center;
    }
}

/* ============================================================
       COMPREHENSIVE RESPONSIVENESS — Production-Ready Fixes
    ============================================================ */

/* Prevent horizontal overflow globally */
html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

/* ── Large Desktop (1400px+) ── */
@media (min-width: 1400px) {
    nav {
        padding: 1.2rem 4rem;
    }

    #hero {
        padding: 0 4rem;
        padding-top: 6rem;
    }

    .how-header,
    .how-steps-wrapper {
        padding-left: 4rem;
        padding-right: 4rem;
    }

    .credibility-strip {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

/* ── Tablet landscape / Small desktop (900px–1200px) ── */
@media (max-width: 1200px) {
    .nav-links {
        gap: 0.8rem;
    }

    .nav-links a {
        padding: 0.45rem 0.85rem;
        font-size: 0.88rem;
    }

    #hero {
        padding: 0 2.5rem;
        padding-top: 6rem;
        display: block;
    }
    .hero-right{ margin-top: 20px;}

    .how-steps-wrapper {
        padding: 0 2.5rem;
    }

    .how-header {
        padding: 0 2.5rem;
    }

    .credibility-strip {
        padding: 2.5rem 2.5rem 2rem;
    }

    .credibility-inner {
        grid-template-columns:100%;
    }
    .cred-desc{margin-bottom: 20px;}
    .cred-vdivider{display: none;}
}

/* ── Tablet portrait (768px–900px) ── */
@media (max-width: 900px) {

    /* Hero section: single column, proper padding */
    #hero {
        grid-template-columns: 1fr;
        padding: 7rem 1.5rem 3rem;
        min-height: auto;
        gap: 2rem;
    }

    .hero-left {
        text-align: center;
    }

    .hero-headline {
        font-size: clamp(1.8rem, 5vw, 2.8rem);
    }

    .hero-sub {
        margin: 0 auto 2.5rem;
        max-width: 100%;
        font-size: 1rem;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-right {
        width: 100%;
    }

    #ai-command-center {
        padding: 10px;
        gap: 8px;
    }

    /* Nav: hide desktop links */
    .nav-links {
        display: none;
    }

    nav {
        padding: 1rem 1.5rem;
    }

    /* How steps: single column */
    .how-steps-wrapper {
        grid-template-columns: 1fr;
        padding: 0 1.5rem;
        gap: 1.5rem;
    }

    .how-header {
        padding: 0 1.5rem;
        margin-bottom: 2.5rem;
        max-width: 100%;
    }

    .how-header p {
        font-size: 1rem;
        white-space: normal;
    }

    .how-step {
        margin-bottom: 0;
    }

    /* KPI grid: 2 columns */
    .pst-track {
        grid-template-columns: repeat(2, 1fr);
    }

    .pst-item:nth-child(2) {
        border-right: none;
    }

    .pst-item:nth-child(1),
    .pst-item:nth-child(2) {
        border-bottom: 1px solid var(--glass-border);
    }

    /* Comparison */
    #comparison {
        padding: 5rem 1.5rem !important;
    }

    /* Sections: ensure side padding */
    section#solution,
    #how,
    #why,
    #impact {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    /* Footer bottom */
    .footer-bottom--enhanced {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.25rem 1.5rem;
    }

    .footer-bottom-left {
        flex: none;
    }

    .footer-bottom-links--center,
    .footer-bottom-links--right {
        justify-content: center;
        flex: none;
    }
}

/* ── Mobile (max 600px) ── */
@media (max-width: 600px) {
    #hero {
        padding: 6rem 1.25rem 2.5rem;
    }

    .hero-badge {
        font-size: 0.7rem;
    }

    .hero-headline {
        font-size: clamp(1.65rem, 7vw, 2.2rem);
        letter-spacing: -0.015em;
    }

    .hero-sub {
        font-size: 0.95rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }



    /* Problem section */
    #problem {
        padding: 4.5rem 1.25rem 3rem !important;
    }

    .problem-stats-timeline {
        margin-top: 2rem;
    }

    .pst-track {
        grid-template-columns: repeat(2, 1fr);
        border-radius: 14px;
    }

    .pst-item {
        padding: 1.5rem 1rem;
    }

    .pst-metric {
        font-size: 2.2rem;
    }

    .pst-eyebrow {
        font-size: 0.58rem;
    }

    .pst-desc {
        font-size: 0.78rem;
    }

    /* Solution */
    section#solution {
        padding: 4rem 1.25rem !important;
    }

    .how-steps-wrapper {
        padding: 0 1.25rem;
    }

    .how-header {
        padding: 0 1.25rem;
        margin-bottom: 2rem;
    }

    .how-step-content {
        min-height: auto;
        padding: 1.5rem;
    }

    /* Why / orbit: stacked layout */
    .why-orbit-container {
        padding: 2rem 1.25rem;
    }

    /* Impact */
    #impact {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }

    .impact-top-left {
        padding: 3rem 1.25rem 2rem !important;
    }

    .impact-top-right {
        padding: 2rem 1.25rem !important;
    }

    .impact-big-num {
        font-size: clamp(2.5rem, 8vw, 3.5rem) !important;
    }

    /* CTA */
    #cta {
        padding: 6rem 1.25rem !important;
    }

    /* Credibility footer */
    .credibility-strip {
        padding: 2rem 1.25rem;
    }

    .cred-badges {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .footer-bottom--enhanced {
        padding: 1rem 1.25rem;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        gap: 0.4rem;
    }

    /* Float brochure: adjust on small mobile */
    .float-brochure-label {
        font-size: 0.58rem;
    }

    .float-brochure-inner {
        padding: 1rem 0.55rem 1.2rem;
        gap: 0.6rem;
    }

    /* Nav logo sizing */
    .nav-logo-flip-container {
        width: 130px;
        height: 46px;
    }

    .nav-logo-img {
        height: 46px;
        max-width: 130px;
    }
}

/* ── Small mobile (max 380px) ── */
@media (max-width: 380px) {
    .pst-track {
        grid-template-columns: 1fr;
    }

    .pst-item {
        border-right: none !important;
        border-bottom: 1px solid var(--glass-border);
    }

    .pst-item:last-child {
        border-bottom: none;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .nav-logo-flip-container {
        width: 110px;
        height: 40px;
    }

    .nav-logo-img {
        height: 40px;
        max-width: 110px;
    }
}

/* ── Ensure problem section grid doesn't overflow ── */
#problem .problem-grid,
#problem .problem-left,
#problem .problem-right {
    max-width: 100%;
    overflow: hidden;
}

/* ── Video showcase responsive ── */
@media (max-width: 768px) {
    #video-showcase {
        height: 45vh;
        margin: 0 1rem;
        border-radius: 14px;
    }
}

@media (max-width: 480px) {
    #video-showcase {
        height: 35vh;
        margin: 0 0.75rem;
        border-radius: 10px;
    }

    .vs-controls {
        bottom: 1rem;
        padding: 0.5rem 1rem;
        min-width: min(300px, 92vw);
    }
}

/* ── Comparison table mobile ── */
@media (max-width: 600px) {
    .comparison-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .comparison-header,
    .comparison-row {
        min-width: 480px;
    }
}

/* ── Why orbit section mobile ── */
@media (max-width: 768px) {
    .why-header {
        padding: 0 1.5rem;
        margin-bottom: 2rem;
    }
}

/* ── Mascot responsive ── */
@media (max-width: 768px) {
    .mascot-wrapper {
        right: 8px;
        bottom: 60px;
    }

    .mascot-wrapper img {
        width: 80px;
    }
}

/* ============================================================
   NAVBAR UPDATES — Remove demo btn spacing fix + Hamburger
   ============================================================ */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    order: 10;
    flex-shrink: 0;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s, width 0.3s;
    transform-origin: center;
}

.nav-hamburger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.is-open span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.nav-hamburger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile overlay */
.nav-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(6, 12, 26, 0.65);
    backdrop-filter: blur(6px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s;
}

.nav-mobile-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

/* Mobile menu drawer */
.nav-mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 85vw);
    background: var(--bg-card);
    border-left: 1px solid var(--glass-border);
    z-index: 999;
    padding: 5rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.nav-mobile-menu.is-open {
    transform: translateX(0);
}

.nav-mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.nav-mobile-menu ul li {
    border-bottom: 1px solid var(--glass-border);
}

.nav-mobile-link {
    display: block;
    padding: 1rem 0.5rem;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: color 0.2s, padding-left 0.2s;
}

.nav-mobile-link:hover {
    color: var(--blue-light);
    padding-left: 1rem;
}

.nav-mobile-cta {
    display: block;
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.95rem !important;
}

/* ============================================================
   COMPARISON SECTION — 3-Column Card Grid Redesign
   ============================================================ */
#comparison {
    padding: 6rem 4rem;
    background: var(--bg-primary);
    transition: var(--transition-theme);
    overflow: hidden;
}

.comparison-section-inner {
    max-width: 100%;
    margin: 0;
}

.comparison-header-block {
    margin-bottom: 3.5rem;
}

.comparison-subhead {
    font-size: 1.2rem;
    color: var(--text-dim);
    line-height: 1.7;
    max-width: 100%;
    margin-top: 1rem;
    text-align: left;
}

/* Main comparison grid: row-label + 3 cols */
.comp-grid {
    display: grid;
    grid-template-columns: 1.8fr repeat(3, 1fr);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.comp-grid.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Column header cards */
.comp-col {
    padding: 2rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.6rem;
    border-bottom: 2px solid var(--glass-border);
    position: relative;
    transition: background 0.3s;
}

.comp-col--manual {
    background: var(--glass);
    border-right: 1px solid var(--glass-border);
}

.comp-col--ai {
    background: var(--glass);
    border-right: 1px solid var(--glass-border);
}

.comp-col--genque {
    background: linear-gradient(160deg, rgba(43, 95, 143, 0.22) 0%, rgba(107, 168, 212, 0.1) 100%);
    border-left: 2px solid rgba(107, 168, 212, 0.45);
    border-right: none;
}

[data-theme="light"] .comp-col--genque {
    background: linear-gradient(160deg, rgba(107, 168, 212, 0.15) 0%, rgba(43, 95, 143, 0.06) 100%);
}

/* Empty top-left corner cell */
.comp-grid>.comp-row-label:first-of-type {
    border-top: none;
}

.comp-col-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.comp-col-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
}

.comp-col-icon svg {
    width: 18px;
    height: 18px;
}

.comp-col-icon--genque {
    background: linear-gradient(135deg, var(--blue-mid), var(--blue-deep));
    border-color: var(--blue-glow);
    color: #fff;
    box-shadow: 0 0 20px var(--accent-glow);
}

.comp-col-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.comp-col--genque .comp-col-title {
    background: linear-gradient(135deg, var(--blue-light), var(--blue-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .comp-col--genque .comp-col-title {
    background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));
    -webkit-background-clip: text;
    background-clip: text;
}

.comp-col-sub {
    font-size: 0.95rem;
    color: var(--text-dimmer);
    letter-spacing: 0.04em;
}

.comp-col-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.comp-col-badge--neutral {
    background: rgba(100, 100, 120, 0.15);
    color: var(--text-dimmer);
    border: 1px solid rgba(100, 100, 120, 0.2);
}

.comp-col-badge--warning {
    background: rgba(251, 191, 36, 0.12);
    color: #f59e0b;
    border: 1px solid rgba(251, 191, 36, 0.25);
}

.comp-col-badge--genque {
    background: linear-gradient(135deg, rgba(43, 95, 143, 0.35), rgba(107, 168, 212, 0.2));
    color: var(--blue-light);
    border: 1px solid rgba(107, 168, 212, 0.4);
    box-shadow: 0 0 12px rgba(107, 168, 212, 0.15);
}

[data-theme="light"] .comp-col-badge--genque {
    color: var(--blue-deep);
}

/* Row labels */
.comp-row-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--glass);
    transition: background 0.25s;
}

.comp-row-label:last-of-type {
    border-bottom: none;
}

.comp-grid:hover .comp-row-label {
    /* no global hover change — individual row hover below */
}

.comp-row-icon {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--blue-mid);
}

.comp-row-icon svg {
    width: 14px;
    height: 14px;
}

[data-theme="light"] .comp-row-icon {
    color: var(--blue-deep);
}

/* Data cells */
.comp-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1rem;
    border-bottom: 1px solid var(--glass-border);
    text-align: center;
    transition: background 0.25s;
}

.comp-cell--manual {
    border-right: 1px solid var(--glass-border);
    background: transparent;
}

.comp-cell--ai {
    border-right: 1px solid var(--glass-border);
    background: transparent;
}

.comp-cell--genque {
    background: linear-gradient(160deg, rgba(43, 95, 143, 0.1) 0%, rgba(107, 168, 212, 0.05) 100%);
    border-left: 2px solid rgba(107, 168, 212, 0.2);
}

[data-theme="light"] .comp-cell--genque {
    background: linear-gradient(160deg, rgba(107, 168, 212, 0.08) 0%, rgba(43, 95, 143, 0.03) 100%);
}

/* Row hover highlight */
.comp-grid>.comp-row-label:hover,
.comp-grid>.comp-row-label:hover+.comp-cell--manual,
.comp-grid>.comp-row-label:hover+.comp-cell--manual+.comp-cell--ai,
.comp-grid>.comp-row-label:hover+.comp-cell--manual+.comp-cell--ai+.comp-cell--genque {
    background: var(--glass-hover);
}

/* Pills for cell content */
.comp-pill {
    display: inline-block;
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
}

.comp-pill--bad {
    background: rgba(248, 113, 113, 0.1);
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.2);
}

.comp-pill--mid {
    background: rgba(251, 191, 36, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.comp-pill--good {
    background: rgba(74, 222, 128, 0.1);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.2);
}

.comp-cell--genque .check-svg {
    width: 20px;
    height: 20px;
    stroke: #4ade80;
    stroke-width: 2.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 4px rgba(74, 222, 128, 0.4));
    flex-shrink: 0;
}

/* Stagger animation for rows */
.comp-cell,
.comp-row-label {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease, background 0.25s;
}

.comp-grid.visible .comp-cell,
.comp-grid.visible .comp-row-label {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.comp-grid.visible .comp-row-label:nth-of-type(1) {
    transition-delay: 0.05s;
}

.comp-grid.visible .comp-row-label:nth-of-type(2) {
    transition-delay: 0.1s;
}

.comp-grid.visible .comp-row-label:nth-of-type(3) {
    transition-delay: 0.15s;
}

.comp-grid.visible .comp-row-label:nth-of-type(4) {
    transition-delay: 0.2s;
}

.comp-grid.visible .comp-row-label:nth-of-type(5) {
    transition-delay: 0.25s;
}

.comp-grid.visible .comp-row-label:nth-of-type(6) {
    transition-delay: 0.3s;
}

.comp-grid.visible .comp-row-label:nth-of-type(7) {
    transition-delay: 0.35s;
}

.comp-grid.visible .comp-row-label:nth-of-type(8) {
    transition-delay: 0.4s;
}

/* Responsive comparison */
@media (max-width: 900px) {
    #comparison {
        padding: 4rem 1.5rem;
    }

    .comp-grid {
        grid-template-columns: 1fr;
        border-radius: 16px;
    }

    .comp-col {
        display: none;
        /* hide column headers on mobile — shown per-cell */
    }

    .comp-row-label {
        background: var(--bg-card);
        border-bottom: none;
        border-top: 2px solid var(--blue-mid);
        margin-top: 1rem;
        border-radius: 8px 8px 0 0;
        font-size: 0.85rem;
    }

    .comp-cell {
        border-right: none !important;
        border-left: none !important;
        border-bottom: 1px solid var(--glass-border);
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0.85rem 1.25rem;
        text-align: left;
    }

    .comp-cell::before {
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--text-dimmer);
        white-space: nowrap;
        flex-shrink: 0;
        margin-right: 0.75rem;
    }

    .comp-cell--manual::before {
        content: 'Manual';
    }

    .comp-cell--ai::before {
        content: 'General AI';
    }

    .comp-cell--genque::before {
        content: '✦ GenQue';
        color: var(--blue-light);
    }

    [data-theme="light"] .comp-cell--genque::before {
        color: var(--blue-deep);
    }

    .comp-cell--genque {
        border-radius: 0 0 8px 8px;
        margin-bottom: 0;
    }
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
#faq {
    padding: 6rem 4rem;
    background: var(--bg-primary);
    transition: var(--transition-theme);
}

.faq-inner {
    max-width: 100%;
    margin: 0;
}

.faq-header {
    margin-bottom: 3rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid var(--glass-border);
    transition: background 0.3s;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease, background 0.3s;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item.faq-visible {
    opacity: 1;
    transform: translateY(0);
}

.faq-item.faq-open {
    background: var(--glass);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.6rem 2rem;
    text-align: left;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -0.01em;
    transition: color 0.25s;
}

.faq-question:hover {
    color: var(--blue-light);
}

[data-theme="light"] .faq-question:hover {
    color: var(--blue-deep);
}

.faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s, border-color 0.3s, box-shadow 0.3s;
    color: var(--blue-mid);
}

.faq-icon svg {
    width: 14px;
    height: 14px;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faq-item.faq-open .faq-icon {
    background: linear-gradient(135deg, var(--blue-mid), var(--blue-deep));
    border-color: var(--blue-glow);
    color: #fff;
    box-shadow: 0 0 16px var(--accent-glow);
    transform: rotate(45deg);
}

.faq-item.faq-open .faq-question {
    color: var(--blue-light);
}

[data-theme="light"] .faq-item.faq-open .faq-question {
    color: var(--blue-deep);
}

/* Accordion answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.faq-open .faq-answer {
    max-height: 300px;
}

.faq-answer-inner {
    padding: 0 2rem 1.6rem;
}

.faq-answer-inner p {
    font-size: 1rem;
    font-weight: normal;
    color: var(--text-dim);
    line-height: 1.75;
}

/* Stagger delays for FAQ items */
.faq-item:nth-child(1).faq-visible {
    transition-delay: 0s;
}

.faq-item:nth-child(2).faq-visible {
    transition-delay: 0.1s;
}

.faq-item:nth-child(3).faq-visible {
    transition-delay: 0.2s;
}

.faq-item:nth-child(4).faq-visible {
    transition-delay: 0.3s;
}

@media (max-width: 768px) {
    #faq {
        padding: 4rem 1.5rem;
    }

    .faq-question {
        padding: 1.25rem 1.25rem;
        font-size: 0.92rem;
    }

    .faq-answer-inner {
        padding: 0 1.25rem 1.25rem;
    }
}

/* ============================================================
   WHY GENQUE — Fix hover card shrink issue
   ============================================================ */
/* Override the orbit node hover — ensure no shrink */
.orbit-node {
    transition: none;
}

.orbit-node:hover {
    transform: translate(-50%, -50%) scale(1.04) !important;
    z-index: 20;
}

/* How-step cards: ensure stable, no shrink on hover */
.how-step-content {
    transform: none !important;
}

.how-step:hover .how-step-content {
    transform: none !important;
}

/* ============================================================
   COMPREHENSIVE MOBILE RESPONSIVENESS — Additional Fixes
   ============================================================ */

/* Navbar on mobile */
@media (max-width: 1100px) {
    .nav-hamburger {
        display: flex;
    }

    .nav-mobile-overlay,
    .nav-mobile-menu {
        display: block;
    }

    nav {
        padding: 1rem 1.5rem;
        justify-content: space-between;
    }

    /* Move hamburger to right */
    .nav-hamburger {
        margin-left: auto;
        order: 10;
    }

    .nav-links {
        display: none;
    }

    .nav-right {
        /* Only theme toggle on tablet/mobile */
        gap: 0.5rem;
    }

    .btn-demo {
        display: none;
        /* already removed but ensure hidden */
    }
}

/* Solution section responsive */
@media (max-width: 900px) {
    .how-steps-wrapper {
        grid-template-columns: 1fr;
        padding: 0 1.5rem;
    }

    .how-header p {
        white-space: normal;
        font-size: 1rem;
    }
}

/* Why section orbit responsive */
@media (max-width: 900px) {
    .why-header p {
        white-space: normal;
        font-size: 1rem;
    }
}

/* Impact section responsive */
@media (max-width: 768px) {
    .impact-stat-pair {
        grid-template-columns: 1fr 1fr;
    }

    .impact-big-stat {
        padding: 2rem 1.25rem;
    }

    .impact-big-num {
        font-size: clamp(2rem, 7vw, 3rem);
    }

    .impact-top-left {
        padding: 4rem 1.5rem 3rem !important;
    }
}

/* Section padding fix for mobile */
@media (max-width: 768px) {
    #problem {
        padding: 5rem 1.5rem 4rem !important;
    }

    section#solution {
        padding: 4rem 0 4rem !important;
    }

    #why {
        padding: 4rem 0 4rem !important;
    }

    .why-header {
        padding: 0 1.5rem;
    }

    #comparison {
        padding: 4rem 1.5rem !important;
    }

    #faq {
        padding: 4rem 1.5rem !important;
    }

    #cta {
        padding: 5rem 1.5rem !important;
    }

    .credibility-strip {
        padding: 2rem 1.5rem;
    }

    .footer-bottom--enhanced {
        padding: 1.25rem 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 0.6rem;
    }

    .footer-bottom-links--center,
    .footer-bottom-links--right {
        justify-content: center;
    }
}

/* Hero section responsive fixes */
@media (max-width: 768px) {
    #hero {
        grid-template-columns: 1fr;
        padding: 7rem 1.5rem 3rem;
        gap: 2.5rem;
    }

    .hero-left {
        text-align: center;
    }

    .hero-badge {
        font-size: 0.7rem;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-sub {
        margin: 0 auto 2.5rem;
        font-size: 1rem;
    }

   
}

/* Comparison section on very small screens */
@media (max-width: 480px) {
    .comp-cell {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }

    .comp-cell::before {
        margin-right: 0;
    }
}

/* Fix section label animation on mobile */
@media (max-width: 768px) {
    .section-label {
        font-size: 0.72rem;
    }

    .section-headline {
        font-size: clamp(1.5rem, 5vw, 2.4rem);
        width: auto;
        white-space: normal;
    }
}

/* Float brochure mobile */
@media (max-width: 480px) {
    .float-brochure-cta {
        bottom: 70px;
        top: auto;
        transform: none;
    }

    .float-brochure-cta:hover {
        transform: translateX(-5px);
    }
}

/* Orbit section — ensure no overflow on mobile */
@media (max-width: 900px) {
    .why-orbit-container {
        flex-direction: column;
        height: auto;
        padding: 1.5rem;
        gap: 1rem;
    }

    .orbit-node,
    .orbit-core {
        position: static !important;
        transform: none !important;
    }

    .orbit-node-inner {
        width: 100%;
        max-width: 100%;
        animation: none !important;
    }

    .orbit-node-body {
        max-height: none !important;
        opacity: 1 !important;
    }

    #orbit-svg {
        display: none;
    }
}

/* Credibility strip responsive */
@media (max-width: 900px) {
    .credibility-inner {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .cred-vdivider {
        display: none;
    }

    .cred-columns {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .cred-brand {
        flex: none;
        width: 100%;
    }
}



/* Problem video responsive */
@media (max-width: 768px) {
    .cred-columns {
        grid-template-columns: 1fr;
    }
    .problem-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pvid-vol-wrap {
        display: none;
    }
}

/* PST items responsive */
@media (max-width: 600px) {
    .pst-track {
        grid-template-columns: 1fr 1fr;
    }

    .pst-item:nth-child(2) {
        border-right: none;
    }

    .pst-item:nth-child(1),
    .pst-item:nth-child(2) {
        border-bottom: 1px solid var(--glass-border);
    }
}

@media (max-width: 380px) {
    .pst-track {
        grid-template-columns: 1fr;
    }

    .pst-item {
        border-right: none !important;
        border-bottom: 1px solid var(--glass-border) !important;
    }

    .pst-item:last-child {
        border-bottom: none !important;
    }
}