/* ─────────────────────────────── RESET & VARS ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --purple:     #4f46e5;
    --purple-light: #6366f1;
    --violet:     #8b5cf6;
    --cyan:       #0ea5e9;
    --orange:     #ea580c;
    --green:      #10b981;
    --dark:       #090d16;
    --dark2:      #111723;
    --dark3:      #1a1a1a;
    --white:      #ffffff;
    --gray:       #64748b;
    --gray-light: #94a3b8;
    --border:     #1e293b;
    --glass:      rgba(255,255,255,0.04);
    --glass-hover:rgba(255,255,255,0.07);
    --radius:     16px;
    --radius-lg:  24px;
}
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark);
    color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ─────────────────────────────── UTILITIES ─────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.gradient-text {
    background: linear-gradient(135deg, #a78bfa, #6c63ff, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─────────────────────────────── NAVIGATION ─────────────────────────────── */

/* Hamburger button — hidden on desktop */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px; height: 40px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    z-index: 102;
}
.hamburger span {
    display: block;
    width: 20px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 199;
    background: var(--dark);
    padding: 90px 32px 40px;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
    font-size: 22px; font-weight: 700;
    color: var(--white);
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--purple); }
.mobile-menu .mm-cta {
    margin-top: 24px;
    background: var(--purple);
    color: white !important;
    border: none !important;
    border-radius: 100px !important;
    text-align: center;
    padding: 16px !important;
    font-size: 16px !important;
}
[data-theme="light"] .mobile-menu { background: #ffffff; }
[data-theme="light"] .hamburger span { background: #0f172a; }

nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    padding: 18px 0;
    transition: padding 0.3s;
}
nav.scrolled { padding: 12px 0; }
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 10px 20px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
nav.scrolled .nav-inner {
    background: rgba(10, 10, 10, 0.5);
    border-color: rgba(255,255,255,0.1);
    box-shadow: 0 8px 32px rgba(0,0,0,0.24);
}
.nav-logo {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, #a78bfa, #6c63ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}
.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-light);
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
    display: flex;
    gap: 12px;
    align-items: center;
}
.nav-right {
    display: flex;
    gap: 12px;
    align-items: center;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    white-space: nowrap;
}
.btn-ghost {
    background: transparent;
    color: var(--gray-light);
    border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--glass); color: var(--white); }
.btn-primary {
    background: linear-gradient(135deg, var(--purple), var(--violet));
    color: #fff;
    box-shadow: 0 0 24px rgba(108,99,255,0.35);
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 36px rgba(108,99,255,0.5);
}
.btn-large {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 12px;
}

/* ─────────────────────────────── HERO ─────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

/* Aurora background */
.hero-aurora {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.aurora-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.04;
    animation: aurora-drift 18s ease-in-out infinite alternate;
}
.aurora-blob:nth-child(1) {
    width: 700px; height: 700px;
    background: var(--purple);
    top: -200px; left: -200px;
    animation-duration: 20s;
}
.aurora-blob:nth-child(2) {
    width: 500px; height: 500px;
    background: var(--purple);
    top: 30%; right: -150px;
    animation-duration: 16s;
    animation-delay: -6s;
}
.aurora-blob:nth-child(3) {
    display: none;
}
@keyframes aurora-drift {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, 40px) scale(1.15); }
}

/* Grid overlay — removed (AI slop look) */
.hero-grid { display: none; }

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    padding: 60px 0 80px;
    width: 100%;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(108,99,255,0.15);
    border: 1px solid rgba(108,99,255,0.3);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: #a78bfa;
    margin-bottom: 24px;
    width: fit-content;
}
.hero-badge-dot {
    width: 6px; height: 6px;
    background: #a78bfa;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.8); }
}
.hero h1 {
    font-size: clamp(42px, 5.5vw, 72px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2.5px;
    margin-bottom: 24px;
}
.hero-sub {
    font-size: 18px;
    color: var(--gray-light);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note {
    font-size: 12px;
    color: var(--gray);
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.hero-note::before {
    content: '';
    display: inline-block;
    width: 14px; height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2364748b'%3E%3Cpath d='M10 1a9 9 0 100 18A9 9 0 0010 1zm0 16a7 7 0 110-14 7 7 0 010 14zm1-11H9v5l4.25 2.53.75-1.23-3.5-2.05V6z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Three.js canvas container */
.hero-canvas-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
}
/* Inner sphere wrapper — position:relative stays here so icon/badges are scoped to canvas */
.hero-sphere-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
#hero-canvas {
    width: 100%;
    max-width: 560px;
    height: 560px;
    display: block;
}
.hero-canvas-glow {
    position: absolute;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(108,99,255,0.10) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Accessibility icon overlay */
.hero-a11y-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 145px;
    z-index: 2;
    pointer-events: none;
    filter:
        drop-shadow(0 0 24px rgba(139,92,246,0.85))
        drop-shadow(0 0 56px rgba(108,99,255,0.45));
    animation: a11y-pulse 3.4s ease-in-out infinite;
}
.hero-a11y-icon svg { width: 100%; height: 100%; display: block; }
@keyframes a11y-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1);    opacity: 0.88; }
    50%       { transform: translate(-50%, -50%) scale(1.07); opacity: 1;    }
}

/* Mobile badge row below sphere */
.hero-tags-mobile {
    display: none;
    position: relative; /* not absolute — flows in the column */
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 8px;
    padding: 4px 0 8px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}
.hero-tags-mobile::-webkit-scrollbar { display: none; }
.hero-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
    white-space: nowrap;
    flex-shrink: 0;
}
.htp-dot {
    width: 6px; height: 6px;
    background: #22c55e;
    border-radius: 50%;
}

/* Floating badges on canvas */
.floating-badge {
    position: absolute;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: float 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 3;
}
/* Floating badge positions — all within or just at the edge of the sphere */
.floating-badge:nth-child(4) { top: 6%;     left: 4%;    animation-delay: -1s; }
.floating-badge:nth-child(5) { top: 6%;     right: 0%;   animation-delay: -2.5s; animation-duration: 5s; }
.floating-badge:nth-child(6) { bottom: 18%; left: 6%;    animation-delay: -0.5s; animation-duration: 4.5s; }
.floating-badge:nth-child(7) { bottom: 8%;  right: 0%;   animation-delay: -3s; }
.floating-badge:nth-child(8) { top: 44%;    left: 2%;    animation-delay: -1.5s; animation-duration: 6s; }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}
.fb-icon { font-size: 16px; }
.fb-check {
    width: 8px; height: 8px;
    background: #22c55e;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ─────────────────────────────── STATS BAR ─────────────────────────────── */
.stats-bar {
    position: relative;
    z-index: 2;
    padding: 48px 0 80px;
}
.stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--dark2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}
.stat-item {
    background: rgba(255,255,255,0.03);
    padding: 32px 24px;
    text-align: center;
    transition: background 0.2s;
}
.stat-item:hover { background: var(--glass-hover); }
.stat-number {
    font-size: 40px;
    font-weight: 900;
    letter-spacing: -1.5px;
    color: var(--white);
    display: block;
    margin-bottom: 6px;
}
.stat-label { font-size: 13px; color: var(--gray); font-weight: 500; }

/* ─────────────────────────────── SECTION BASE ─────────────────────────────── */
.section { padding: 100px 0; }
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--purple);
    margin-bottom: 16px;
}
.section-label-line {
    width: 24px; height: 2px;
    background: var(--purple);
    border-radius: 2px;
}
.section-title {
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 16px;
}
.section-sub {
    font-size: 17px;
    color: var(--gray-light);
    line-height: 1.7;
    max-width: 560px;
}
.section-header { margin-bottom: 60px; }
.section-header.center { text-align: center; }
.section-header.center .section-label { justify-content: center; }
.section-header.center .section-sub { margin: 0 auto; }

/* ─────────────────────────────── CHECKER SECTION ─────────────────────────────── */
.checker-section {
    padding: 80px 0;
}
.checker-wrap { max-width: 860px; margin: 0 auto; }

/* Two-column layout: text left | form right */
.checker-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 28px;
    padding: 48px 52px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.checker-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: rgba(108,99,255,0.4);
}
.checker-left {}
.checker-eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--purple);
    margin-bottom: 12px;
}
.checker-headline {
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
    margin-bottom: 10px;
}
.checker-sub {
    font-size: 14px;
    color: var(--gray-light);
    line-height: 1.65;
    margin: 0;
}

/* Pill search bar */
.checker-right {}
.checker-pill {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 100px;
    padding: 6px 6px 6px 20px;
    gap: 8px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.checker-pill:focus-within {
    border-color: rgba(108,99,255,0.5);
    box-shadow: 0 0 0 3px rgba(108,99,255,0.08);
}
.checker-input {
    flex: 1;
    height: 38px;
    background: transparent;
    border: none;
    padding: 0;
    font-size: 14px;
    color: var(--white);
    font-family: inherit;
    outline: none;
    min-width: 0;
}
.checker-input::placeholder { color: rgba(255,255,255,0.28); }
.checker-btn {
    height: 44px;
    padding: 0 22px;
    background: linear-gradient(135deg, var(--purple), var(--violet));
    color: #fff;
    border: none;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: opacity 0.2s, transform 0.15s;
    box-shadow: 0 4px 16px rgba(108,99,255,0.35);
}
.checker-btn:hover   { opacity: 0.92; transform: scale(1.02); }
.checker-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.checker-note {
    font-size: 11px;
    color: var(--gray);
    margin-top: 12px;
    text-align: center;
    letter-spacing: 0.3px;
}
.checker-note span { margin: 0 6px; opacity: 0.4; }

/* Results + error stay full-width under the grid */
.checker-below {
    grid-column: span 2;
    margin-top: 0;
}

@media (max-width: 680px) {
    .checker-card {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 28px 20px;
    }
    .checker-below { grid-column: span 1; }

    /* Strip pill container — input + button become independent elements */
    .checker-pill {
        flex-direction: column;
        background: transparent;
        border: none;
        border-radius: 0;
        padding: 0;
        gap: 10px;
        box-shadow: none;
        align-items: stretch;
        width: 100%;
    }
    .checker-pill:focus-within { box-shadow: none; }

    /* Input gets its own full-width style */
    .checker-input {
        height: 52px;
        width: 100%;
        padding: 0 16px;
        border-radius: 14px;
        background: rgba(255,255,255,0.07);
        border: 1px solid rgba(255,255,255,0.15);
        font-size: 15px;
        flex: none;
    }
    .checker-input:focus { border-color: rgba(108,99,255,0.5); }

    /* Button full width */
    .checker-btn {
        width: 100%;
        border-radius: 14px;
        height: 52px;
        font-size: 15px;
        flex-shrink: 0;
    }
}

/* Checker results (dark theme) */
.checker-error {
    display: none;
    background: rgba(220,38,38,0.1);
    border: 1px solid rgba(220,38,38,0.3);
    border-radius: 10px;
    padding: 12px 16px;
    color: #fca5a5;
    font-size: 14px;
    margin-top: 14px;
}
.checker-error.visible { display: block; }
.checker-loading {
    display: none;
    text-align: center;
    padding: 32px 0 8px;
}
.checker-loading.visible { display: block; }
.checker-spinner {
    width: 40px; height: 40px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: var(--purple);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 12px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.checker-loading-text { font-size: 14px; color: var(--gray-light); }

/* Result display */
.checker-results { display: none; margin-top: 28px; }
.checker-results.visible { display: block; }
.result-header-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}
.score-ring { position: relative; width: 80px; height: 80px; flex-shrink: 0; }
.score-ring svg { transform: rotate(-90deg); }
.score-ring-track { fill: none; stroke: rgba(255,255,255,0.08); stroke-width: 7; }
.score-ring-fill { fill: none; stroke-width: 7; stroke-linecap: round; transition: stroke-dashoffset 1s ease; }
.score-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.score-num { font-size: 22px; font-weight: 800; line-height: 1; }
.score-lbl { font-size: 9px; color: var(--gray); text-transform: uppercase; letter-spacing: 0.5px; }
.result-meta { flex: 1; min-width: 0; }
.result-url { font-size: 12px; color: var(--purple); font-weight: 500; margin: 0 0 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.result-grade { font-size: 22px; font-weight: 800; margin: 0 0 2px; }
.result-grade-a { color: #4ade80; }
.result-grade-b { color: #86efac; }
.result-grade-c { color: #fbbf24; }
.result-grade-d { color: #fb923c; }
.result-grade-f { color: #f87171; }
.result-summary { font-size: 13px; color: var(--gray-light); margin: 0; }
.issues-list-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--gray); margin: 0 0 10px; }
.issue-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 6px;
    border: 1px solid transparent;
}
.issue-critical { background: rgba(220,38,38,0.08); border-color: rgba(220,38,38,0.2); }
.issue-high     { background: rgba(245,158,11,0.08); border-color: rgba(245,158,11,0.2); }
.issue-medium   { background: rgba(249,115,22,0.08); border-color: rgba(249,115,22,0.2); }
.issue-low      { background: rgba(34,197,94,0.08);  border-color: rgba(34,197,94,0.2); }
.issue-title-text { font-size: 13px; font-weight: 600; color: var(--white); margin: 0 0 2px; }
.issue-detail-text { font-size: 12px; color: var(--gray-light); margin: 0 0 3px; line-height: 1.5; }
.issue-wcag-text { font-size: 11px; color: var(--gray); margin: 0; }
.issue-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    margin-top: 2px;
}
.ib-critical { background: rgba(220,38,38,0.2); color: #fca5a5; }
.ib-high     { background: rgba(245,158,11,0.2); color: #fcd34d; }
.ib-medium   { background: rgba(249,115,22,0.2); color: #fdba74; }
.ib-low      { background: rgba(34,197,94,0.2);  color: #86efac; }
.result-cta {
    background: rgba(108,99,255,0.12);
    border: 1px solid rgba(108,99,255,0.25);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-top: 16px;
}
.result-cta h4 { font-size: 16px; font-weight: 700; margin: 0 0 6px; }
.result-cta p { font-size: 13px; color: var(--gray-light); margin: 0 0 14px; }
.result-cta .btn { margin: 0 auto; display: inline-flex; }

/* ─────────────────────────────── FEATURES ─────────────────────────────── */
.features-section { background: var(--dark); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.feature-card {
    position: relative;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    overflow: hidden;
    transition: border-color 0.3s, background 0.3s, transform 0.2s;
    transform-style: preserve-3d;
    cursor: default;
}
.feature-card:hover {
    border-color: rgba(108,99,255,0.4);
    background: rgba(108,99,255,0.05);
}
.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(108,99,255,0.06), transparent 40%);
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}
.feature-card:hover::after { opacity: 1; }
.feature-icon-wrap {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 26px;
    position: relative;
}
.feature-icon-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0.15;
}
.fi-purple { background: rgba(108,99,255,0.15); }
.fi-purple::before { background: var(--purple); }
.fi-cyan   { background: rgba(6,182,212,0.12); }
.fi-cyan::before { background: var(--cyan); }
.fi-green  { background: rgba(34,197,94,0.12); }
.fi-green::before { background: #22c55e; }
.fi-orange { background: rgba(249,115,22,0.12); }
.fi-orange::before { background: #f97316; }
.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    background: rgba(108,99,255,0.12);
    border: 1px solid rgba(108,99,255,0.2);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    color: #a78bfa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}
.feature-title { font-size: 22px; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 10px; }
.feature-desc { font-size: 15px; color: var(--gray-light); line-height: 1.7; margin-bottom: 24px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--gray-light);
}
.feature-list li::before {
    content: '';
    width: 16px; height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7' fill='rgba(108,99,255,0.15)'/%3E%3Cpath d='M5 8l2 2 4-4' stroke='%236c63ff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") center/contain no-repeat;
    flex-shrink: 0;
}
/* Large feature card spanning 2 columns */
.feature-card-wide {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.feature-visual {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.8;
    color: var(--gray-light);
    overflow: hidden;
}
.fv-line { display: flex; gap: 8px; }
.fv-fixed { color: #4ade80; }
.fv-issue { color: #fca5a5; text-decoration: line-through; }
.fv-arrow { color: var(--purple); }
.fv-comment { color: var(--gray); }

/* ─────────────────────────────── MARQUEE ─────────────────────────────── */
.marquee-section {
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,0.02);
    overflow: hidden;
    position: relative;
}
.marquee-section::before,
.marquee-section::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}
.marquee-section::before { left: 0;  background: linear-gradient(to right, var(--dark), transparent); }
.marquee-section::after  { right: 0; background: linear-gradient(to left,  var(--dark), transparent); }
.marquee-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gray);
    white-space: nowrap;
    padding: 0 32px;
    border-right: 1px solid var(--border);
    margin-right: 32px;
    flex-shrink: 0;
}
.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 28s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.marquee-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 40px;
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-light);
    white-space: nowrap;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.marquee-item:hover { opacity: 1; color: var(--white); }
.marquee-dot {
    width: 4px; height: 4px;
    background: var(--purple);
    border-radius: 50%;
    flex-shrink: 0;
}
.marquee-row {
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* ─────────────────────────────── SHOWCASE SECTIONS ─────────────────────────────── */
.showcase-section { padding: 100px 0; }
.showcase-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}
.showcase-inner.reverse { direction: rtl; }
.showcase-inner.reverse > * { direction: ltr; }
.showcase-label {
    display: none; /* removed — looked AI-generated */
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.sl-purple { background: rgba(108,99,255,0.12); border: 1px solid rgba(108,99,255,0.25); color: #a78bfa; }
.sl-cyan   { background: rgba(6,182,212,0.10);  border: 1px solid rgba(6,182,212,0.25);  color: #67e8f9; }
.sl-orange { background: rgba(249,115,22,0.10); border: 1px solid rgba(249,115,22,0.25); color: #fdba74; }
.sl-green  { background: rgba(34,197,94,0.10);  border: 1px solid rgba(34,197,94,0.25);  color: #86efac; }
.showcase-title { font-size: clamp(30px, 4vw, 52px); font-weight: 900; letter-spacing: -2px; line-height: 1.08; margin-bottom: 16px; color: var(--white); }
.showcase-desc  { font-size: 16px; color: var(--gray-light); line-height: 1.75; margin-bottom: 28px; }
.showcase-checks { display: flex; flex-direction: column; gap: 12px; }
.sc-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--gray-light);
    line-height: 1.5;
}
.sc-icon {
    width: 22px; height: 22px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 1px;
}
.sci-purple { background: rgba(108,99,255,0.15); color: #a78bfa; }
.sci-cyan   { background: rgba(6,182,212,0.15);  color: #67e8f9; }
.sci-orange { background: rgba(249,115,22,0.15); color: #fdba74; }

/* Phone mockup container */
.phones-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
}
.phone-mock {
    border-radius: 36px;
    overflow: hidden;
    border: 6px solid rgba(255,255,255,0.1);
    box-shadow: 0 32px 64px rgba(0,0,0,0.4);
    background: var(--dark3);
    max-width: 220px;
    width: 100%;
    transition: transform 0.4s ease;
}
.phone-mock:nth-child(1) { transform: translateY(28px); }
.phone-mock:nth-child(2) { transform: translateY(-28px); }
.phone-mock:hover { transform: translateY(0) scale(1.03); }
.phone-mock img { width: 100%; display: block; }

/* Browser frame dark */
.browser-dark {
    background: var(--dark3);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}
.browser-dark-bar {
    background: rgba(255,255,255,0.04);
    border-bottom: 1px solid var(--border);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.bdb-dot { width: 10px; height: 10px; border-radius: 50%; }
.bdb-dot:nth-child(1) { background: #ff5f57; }
.bdb-dot:nth-child(2) { background: #febc2e; }
.bdb-dot:nth-child(3) { background: #28c840; }
.bdb-url {
    flex: 1;
    background: rgba(255,255,255,0.06);
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 12px;
    color: var(--gray);
    margin-left: 10px;
}
.browser-dark-body { padding: 0; position: relative; overflow: hidden; }
.scanner-dark {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--purple), transparent);
    animation: scan-dark 3s ease-in-out infinite;
    z-index: 2;
}
@keyframes scan-dark {
    0%   { top: 0;    opacity: 1; }
    90%  { top: 100%; opacity: 0.3; }
    100% { top: 0;    opacity: 0; }
}
.browser-dark-body img { width: 100%; display: block; }

/* Typewriter box */
.typewriter-card {
    margin-top: 24px;
    background: rgba(139,92,246,0.08);
    border: 1px solid rgba(139,92,246,0.2);
    border-radius: 12px;
    padding: 16px 20px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: #c4b5fd;
    min-height: 56px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.tw-label { color: var(--gray); font-size: 11px; flex-shrink: 0; }
.tw-cursor::after { content: '|'; animation: tw-blink 1s step-start infinite; color: #a78bfa; }
@keyframes tw-blink { 50% { opacity: 0; } }

/* Profile tags */
.profiles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 24px;
}
.profile-tag {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-light);
    transition: border-color 0.2s, background 0.2s;
}
.profile-tag:hover { border-color: rgba(108,99,255,0.35); background: rgba(108,99,255,0.06); color: var(--white); }
.pt-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

/* Statement dark card */
.statement-section {
    padding: 100px 0;
    background: var(--dark2);
    position: relative;
    overflow: hidden;
}
.statement-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}
.shortcode-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(108,99,255,0.1);
    border: 1px solid rgba(108,99,255,0.25);
    border-radius: 10px;
    padding: 14px 20px;
    font-family: 'Courier New', monospace;
    font-size: 18px;
    font-weight: 700;
    color: #a78bfa;
    margin-top: 20px;
    letter-spacing: 0.5px;
}
.shortcode-copy-icon { font-size: 14px; opacity: 0.6; }

/* ─────────────────────────────── MOCKUP UI ─────────────────────────────── */

/* Phone widget mockup */
.pm-ui {
    background: var(--dark);
    padding: 14px;
    height: 100%;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: 'Inter', sans-serif;
}
.pm-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.pm-logo {
    font-size: 13px;
    font-weight: 800;
    background: linear-gradient(135deg, #a78bfa, #6c63ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.pm-close {
    width: 20px; height: 20px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; color: #64748b;
}
.pm-tabs {
    display: flex;
    gap: 3px;
    background: rgba(255,255,255,0.04);
    border-radius: 8px;
    padding: 3px;
}
.pm-tab {
    flex: 1; text-align: center;
    padding: 5px 4px;
    border-radius: 6px;
    font-size: 10px; font-weight: 600;
    color: #64748b;
}
.pm-tab.on { background: rgba(108,99,255,0.25); color: #c4b5fd; }
.pm-profile-list { display: flex; flex-direction: column; gap: 5px; flex: 1; }
.pm-prow {
    display: flex; align-items: center; gap: 8px;
    padding: 7px 10px;
    border-radius: 8px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    font-size: 10px; color: #94a3b8;
}
.pm-prow.on {
    background: rgba(108,99,255,0.14);
    border-color: rgba(108,99,255,0.35);
    color: #c4b5fd;
}
.pm-pdot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.pm-tool-list { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.pm-trow {
    display: flex; align-items: center; justify-content: space-between;
    padding: 7px 4px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 10px; color: #94a3b8;
}
.pm-sw {
    width: 26px; height: 14px; border-radius: 7px;
    background: rgba(255,255,255,0.08);
    position: relative; flex-shrink: 0;
}
.pm-sw::after {
    content: '';
    position: absolute;
    width: 10px; height: 10px;
    border-radius: 50%; background: #475569;
    top: 2px; left: 2px; transition: all 0.2s;
}
.pm-sw.on { background: #6c63ff; }
.pm-sw.on::after { transform: translateX(12px); background: white; }
.pm-sz { display: flex; gap: 3px; }
.pm-sz span {
    width: 20px; height: 20px;
    border-radius: 4px;
    background: rgba(255,255,255,0.06);
    display: flex; align-items: center; justify-content: center;
    font-size: 9px; color: #94a3b8;
}

/* Dashboard browser mockup */
.dash-ui {
    display: flex;
    min-height: 300px;
    font-size: 11px;
    color: #e2e8f0;
}
.dash-side {
    width: 110px;
    background: rgba(0,0,0,0.35);
    border-right: 1px solid rgba(255,255,255,0.05);
    padding: 12px 0;
    flex-shrink: 0;
}
.dash-logo {
    padding: 0 10px 10px;
    font-size: 12px; font-weight: 800;
    background: linear-gradient(135deg, #a78bfa, #6c63ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 6px;
}
.dash-nav {
    padding: 5px 10px;
    font-size: 9.5px; color: #475569;
    display: flex; align-items: center; gap: 5px;
    border-right: 2px solid transparent;
}
.dash-nav.on {
    color: #c4b5fd;
    background: rgba(108,99,255,0.12);
    border-right-color: #6c63ff;
}
.dash-body { flex: 1; padding: 14px; overflow: hidden; }
.dash-title {
    font-size: 12px; font-weight: 700; color: #f1f5f9;
    margin-bottom: 12px;
}
/* Media grid for AI scanner */
.dash-media {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}
.dash-img-cell { border-radius: 6px; overflow: hidden; }
.dash-img-thumb {
    aspect-ratio: 1;
    border-radius: 6px 6px 0 0;
    background: rgba(255,255,255,0.06);
    position: relative;
}
.dash-img-thumb::after {
    content: '⬛';
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; opacity: 0.15;
}
.dash-img-tag {
    padding: 2px 5px;
    font-size: 8.5px; font-weight: 600;
    border-radius: 0 0 6px 6px;
    text-align: center;
}
.dit-ok    { background: rgba(34,197,94,0.15);  color: #4ade80; }
.dit-miss  { background: rgba(239,68,68,0.15);  color: #f87171; }
.dit-scan  { background: rgba(234,179,8,0.15);  color: #fbbf24; }
.dit-gen   { background: rgba(108,99,255,0.2);  color: #a78bfa; }
/* Profile presets panel */
.dash-profiles { display: flex; flex-direction: column; gap: 6px; }
.dash-prow {
    display: flex; align-items: center; justify-content: space-between;
    padding: 7px 10px;
    border-radius: 8px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
}
.dp-left { display: flex; align-items: center; gap: 8px; }
.dp-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dp-name { font-size: 10px; color: #94a3b8; }
.dp-sw { width: 26px; height: 14px; border-radius: 7px; background: rgba(255,255,255,0.08); position: relative; }
.dp-sw::after { content: ''; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #475569; top: 2px; left: 2px; }
.dp-sw.on { background: #6c63ff; }
.dp-sw.on::after { transform: translateX(12px); background: white; }
/* Widget configurator */
.dash-cfg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cfg-group { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.cfg-label { font-size: 9px; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.cfg-colors { display: flex; gap: 4px; }
.cfg-swatch { width: 18px; height: 18px; border-radius: 4px; cursor: pointer; }
.cfg-swatch.sel { outline: 2px solid white; outline-offset: 1px; }
.cfg-pos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.cfg-pos-cell {
    aspect-ratio: 1; border-radius: 4px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    display: flex; align-items: center; justify-content: center;
    font-size: 7px; color: #475569;
}
.cfg-pos-cell.sel { background: rgba(108,99,255,0.25); border-color: #6c63ff; color: #a78bfa; }
.cfg-input {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 5px; padding: 4px 7px;
    font-size: 9px; color: #94a3b8;
    overflow-wrap: anywhere;
}
.cfg-preview {
    grid-column: span 2;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px; padding: 8px;
    display: flex; align-items: center; justify-content: space-between;
}
.cfg-btn-preview {
    padding: 5px 10px; border-radius: 100px;
    background: #6c63ff; font-size: 9px; font-weight: 700; color: white;
}
/* Statement generator */
.dash-stmt { display: flex; flex-direction: column; gap: 8px; }
.stmt-field { display: flex; flex-direction: column; gap: 3px; }
.stmt-flabel { font-size: 9px; font-weight: 600; color: #64748b; }
.stmt-finput {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 5px; padding: 5px 8px;
    font-size: 9.5px; color: #94a3b8;
}
.stmt-finput.filled { color: #c4b5fd; border-color: rgba(108,99,255,0.3); }
.stmt-badges { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 2px; }
.stmt-badge {
    padding: 2px 7px; border-radius: 100px;
    font-size: 8px; font-weight: 600;
    background: rgba(34,197,94,0.15); color: #4ade80;
}
.stmt-gen-btn {
    padding: 7px 14px; border-radius: 7px;
    background: linear-gradient(135deg, #6c63ff, #8b5cf6);
    font-size: 10px; font-weight: 700; color: white;
    text-align: center; margin-top: 4px;
    cursor: pointer;
}

/* Bento mobile scroll hint */
.bento-scroll-hint {
    display: none;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
}
.bento-scroll-hint span {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
}
.bento-scroll-hint span:first-child {
    background: var(--purple);
    width: 18px;
    border-radius: 3px;
}
/* bento 900px merged below — removed duplicate */

/* ─────────────────────────────── BENTO CARD VISUALS v2 ─────────────────────────────── */

/* Widget panel preview */
.wpp-ui {
    margin-top: 24px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    overflow: hidden;
    font-size: 12px;
}
.wpp-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 14px;
    background: rgba(108,99,255,0.15);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.wpp-name { font-weight: 700; color: #c4b5fd; font-size: 12px; }
.wpp-tabs-row { display: flex; gap: 3px; }
.wpp-tab {
    padding: 3px 10px; border-radius: 6px;
    font-size: 10px; font-weight: 600; color: #64748b;
}
.wpp-tab.on { background: rgba(108,99,255,0.3); color: #c4b5fd; }
.wpp-list { padding: 8px; display: flex; flex-direction: column; gap: 4px; }
.wpp-row {
    display: flex; align-items: center; gap: 8px;
    padding: 6px 8px; border-radius: 8px;
    background: rgba(255,255,255,0.02);
}
.wpp-row.on { background: rgba(108,99,255,0.1); }
.wpp-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.wpp-label { font-size: 11px; color: #94a3b8; flex: 1; }
.wpp-row.on .wpp-label { color: #c4b5fd; }
.wpp-check { font-size: 10px; color: #6c63ff; }

/* Auto-fixer diff */
.af-diff {
    margin-top: 20px;
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 14px 16px;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    line-height: 1.7;
    display: flex; flex-direction: column; gap: 2px;
}
.afd-before { color: #f87171; display: flex; gap: 6px; }
.afd-after  { color: #4ade80; display: flex; gap: 6px; margin-bottom: 8px; }
.afd-before:last-of-type { margin-bottom: 0; }
.afd-sign { opacity: 0.7; user-select: none; }
.afd-count {
    margin-top: 8px; padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-family: 'Inter', sans-serif;
    font-size: 10px; color: #c4b5fd; font-weight: 600;
}

/* Audit issue list */
.audit-list {
    margin-top: 20px;
    display: flex; flex-direction: column; gap: 7px;
}
.ail-row {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
}
.ail-sev {
    padding: 2px 8px; border-radius: 100px;
    font-size: 9px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.4px;
    flex-shrink: 0;
}
.sev-crit { background: rgba(239,68,68,0.10);  color: #f87171; }
.sev-high { background: rgba(249,115,22,0.10); color: #fb923c; }
.sev-med  { background: rgba(234,179,8,0.08);  color: #fbbf24; }
.sev-low  { background: rgba(34,197,94,0.07);  color: #4ade80; }
.ail-text { font-size: 11px; color: #b4bfd1; }

/* BFE document preview */
.bfe-doc {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    overflow: hidden;
}
.bfe-doc-bar {
    padding: 8px 14px;
    background: rgba(122,15,230,0.12);
    border-bottom: 1px solid rgba(122,15,230,0.18);
    font-size: 10px; font-weight: 700; color: #c4b5fd;
    display: flex; align-items: center; gap: 6px;
}
.bfe-doc-body {
    padding: 14px;
    font-size: 11px; color: #b4bfd1; line-height: 1.65;
}
.bfe-doc-body strong { color: #c4b5fd; }
.bfe-doc-tags {
    display: flex; gap: 6px; flex-wrap: wrap;
    margin-top: 10px; padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.bfe-doc-tag {
    padding: 2px 8px; border-radius: 100px;
    font-size: 9px; font-weight: 700;
    background: rgba(122,15,230,0.14); color: #c4b5fd;
}

/* White-label widget preview */
.wl-preview {
    background: rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px; overflow: hidden;
    max-width: 260px;
}
.wl-preview-header {
    padding: 10px 14px;
    display: flex; align-items: center; justify-content: space-between;
}
.wl-preview-logo { font-weight: 800; font-size: 13px; color: white; }
.wl-preview-close {
    width: 18px; height: 18px; border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; color: rgba(255,255,255,0.5);
}
.wl-preview-body { padding: 8px 12px; display: flex; flex-direction: column; gap: 5px; }
.wl-prow {
    display: flex; align-items: center; justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 11px; color: #94a3b8;
}
.wl-psw { width: 24px; height: 13px; border-radius: 7px; position: relative; }
.wl-psw::after { content:''; position:absolute; width:9px; height:9px; border-radius:50%; background:rgba(255,255,255,0.3); top:2px; left:2px; }
.wl-psw.on::after { left:13px; background:white; }
.wl-preview-footer {
    padding: 7px 12px;
    font-size: 9px; color: rgba(255,255,255,0.2);
    border-top: 1px solid rgba(255,255,255,0.04);
    text-align: center;
}
.wl-variants { display: flex; flex-direction: column; gap: 8px; }
.wl-variant-row { display: flex; align-items: center; gap: 10px; }
.wl-variant-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.wl-variant-name { font-size: 12px; color: #94a3b8; flex: 1; }
.wl-variant-badge {
    padding: 2px 8px; border-radius: 100px;
    font-size: 9px; font-weight: 600;
    background: rgba(255,255,255,0.06); color: #64748b;
}

[data-theme="light"] .wpp-ui { background: #f8fafc; border-color: #e2e8f0; }
[data-theme="light"] .af-diff { background: #0f172a; }
[data-theme="light"] .bfe-doc { background: #f8fafc; border-color: #e2e8f0; }
[data-theme="light"] .bfe-doc-body { color: #475569; }
[data-theme="light"] .ail-row { background: #f8fafc; border-color: #e2e8f0; }
[data-theme="light"] .ail-text { color: #475569; }
[data-theme="light"] .wl-preview { background: #f8fafc; border-color: #e2e8f0; }
[data-theme="light"] .wl-prow { color: #475569; }

/* Pastell-Akzentfarben im Light Mode kontrastreicher machen (sonst kaum lesbar) */
[data-theme="light"] .sev-crit { background: rgba(239,68,68,0.10);  color: #dc2626; }
[data-theme="light"] .sev-high { background: rgba(249,115,22,0.10); color: #c2410c; }
[data-theme="light"] .sev-med  { background: rgba(234,179,8,0.12);  color: #b45309; }
[data-theme="light"] .sev-low  { background: rgba(34,197,94,0.10);  color: #16a34a; }
[data-theme="light"] .bfe-doc-bar {
    background: rgba(122,15,230,0.08);
    border-bottom-color: rgba(122,15,230,0.15);
    color: #7c3aed;
}
[data-theme="light"] .bfe-doc-tag { background: rgba(122,15,230,0.10); color: #7c3aed; }
[data-theme="light"] .sci-purple { background: rgba(122,15,230,0.10); color: #7c3aed; }
[data-theme="light"] .sci-cyan   { background: rgba(2,132,199,0.10);  color: #0284c7; }
[data-theme="light"] .sci-orange { background: rgba(194,65,12,0.10);  color: #c2410c; }
[data-theme="light"] .sl-purple { background: rgba(122,15,230,0.10); border-color: rgba(122,15,230,0.25); color: #7c3aed; }
[data-theme="light"] .sl-cyan   { background: rgba(2,132,199,0.08);  border-color: rgba(2,132,199,0.25);  color: #0284c7; }
[data-theme="light"] .sl-orange { background: rgba(194,65,12,0.08);  border-color: rgba(194,65,12,0.25);  color: #c2410c; }
[data-theme="light"] .sl-green  { background: rgba(22,163,74,0.08);  border-color: rgba(22,163,74,0.25);  color: #16a34a; }
[data-theme="light"] .compliance-deadline {
    background: rgba(245,158,11,0.10);
    border-color: rgba(245,158,11,0.3);
    color: #b45309;
}
[data-theme="light"] .deadline-icon svg { stroke: #b45309; }
[data-theme="light"] .typewriter-card { background: rgba(139,92,246,0.06); border-color: rgba(139,92,246,0.2); color: #7c3aed; }
[data-theme="light"] .tw-cursor::after { color: #7c3aed; }

/* ─────────────────────────────── SCROLL TO TOP ─────────────────────────────── */
#scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(139,92,246,0.7), rgba(108,99,255,0.7));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.3s, transform 0.3s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(108,99,255,0.4);
}
#scroll-top.visible {
    opacity: 0.85;
    transform: translateY(0);
}
#scroll-top:hover {
    box-shadow: 0 8px 32px rgba(108,99,255,0.6);
    transform: translateY(-2px);
}
#scroll-top svg { display: block; }

/* ─────────────────────────────── BENTO FEATURES ─────────────────────────────── */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 48px;
}
.bento-card {
    background: var(--dark3);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.bento-card:hover { transform: translateY(-4px); border-color: rgba(108,99,255,0.3); }
.bc-widget    { grid-column: span 3; background: #141414; border-color: rgba(255,255,255,0.1); }
.bc-audit     { grid-column: span 1; }
.bc-bfe       { grid-column: span 2; }
.bc-whitelabel{ grid-column: span 3; }

/* Accent top bar — removed */
.bento-accent { display: none; }

.bento-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.btag-purple { background: rgba(108,99,255,0.15); color: #a78bfa; }
.btag-cyan   { background: rgba(6,182,212,0.12);  color: #22d3ee; }
.btag-orange { background: rgba(249,115,22,0.12); color: #fb923c; }
.btag-green  { background: rgba(34,197,94,0.12);  color: #4ade80; }
.btag-gray   { background: rgba(255,255,255,0.06); color: var(--gray-light); }

.bento-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
    letter-spacing: -0.3px;
    line-height: 1.25;
}
.bento-desc {
    font-size: 14px;
    color: var(--gray-light);
    line-height: 1.65;
}

/* ── Widget card ── */
.bc-widget-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.bento-widget-chips {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.bwc-row { display: flex; gap: 8px; flex-wrap: wrap; }
.bwc-chip {
    padding: 7px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.04);
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}
.bwc-chip.on {
    background: rgba(108,99,255,0.18);
    border-color: rgba(108,99,255,0.45);
    color: #c4b5fd;
}
.bento-big-num {
    font-size: 72px;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #a78bfa 0%, #6c63ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.bento-big-num-label {
    font-size: 14px;
    color: var(--gray-light);
    margin-top: 6px;
    line-height: 1.5;
}

/* ── Auto-Fixer card ── */
.bento-fix-items {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.bfi-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--gray-light);
}
.bfi-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22d3ee;
    flex-shrink: 0;
}
.bento-speed {
    margin-top: 24px;
    font-size: 52px;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #22d3ee, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.bento-speed-label { font-size: 13px; color: var(--gray-light); margin-top: 4px; }

/* ── Audit card ── */
.bento-score-wrap {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.bsr-ring { width: 88px; height: 88px; flex-shrink: 0; position: relative; }
.bsr-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.bsr-track { fill: none; stroke: rgba(255,255,255,0.06); stroke-width: 7; }
.bsr-fill {
    fill: none; stroke-width: 7; stroke-linecap: round;
    stroke-dasharray: 220;
    stroke-dashoffset: 33;
    stroke: url(#auditGrad);
}
.bsr-num {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: 800; color: var(--white);
}
.bento-audit-rows { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bar-row { display: flex; align-items: center; gap: 8px; }
.bar-label { font-size: 11px; color: var(--gray); min-width: 64px; }
.bar-track { flex: 1; height: 4px; background: rgba(255,255,255,0.06); border-radius: 2px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 2px; }

/* ── BFE card ── */
.bc-bfe-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
    margin-top: 4px;
}
.bento-code {
    background: rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 18px 20px;
    font-family: 'Courier New', monospace;
    font-size: 11.5px;
    line-height: 1.85;
}
.bcc { color: #4b5563; }
.bci { color: #f87171; }
.bcf { color: #4ade80; }
.bca { color: var(--gray); }
.bcs { color: #4ade80; font-weight: 600; display: block; margin-top: 4px; }

/* ── White-label card ── */
.bc-wl-inner {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: center;
}
.bento-brands {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}
.bb-chip {
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid var(--border);
    background: var(--glass);
    color: var(--white);
}
.bento-swatches {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.bws {
    aspect-ratio: 1;
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 6px;
}
.bws span {
    font-size: 9px;
    font-weight: 700;
    color: rgba(255,255,255,0.8);
    line-height: 1;
}

@media (max-width: 900px) {
    /* Section: no overflow:hidden — that kills horizontal scroll */
    .features-section .container { padding: 0; }
    .features-section .section-header { padding: 0 24px; margin-bottom: 32px; }

    /* Bento grid: horizontal swipe */
    .bento-grid {
        display: flex;
        flex-direction: row;
        align-items: stretch; /* equal card height, no empty space below shorter cards */
        overflow-x: auto;
        overflow-y: hidden; /* overflow-x:auto + overflow-y:visible computes to overflow-y:auto (CSS spec), making this a vertical scroll trap on touch */
        scroll-snap-type: x proximity;
        overscroll-behavior-x: contain;
        gap: 12px;
        padding: 4px 24px 16px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .bento-grid::-webkit-scrollbar { display: none; }

    /* Each card: fixed swipe width, no vertical scroll */
    .bento-card {
        flex: 0 0 82vw;
        max-width: 380px;
        min-width: 0;
        scroll-snap-align: start;
        grid-column: unset !important;
        overflow: hidden;
    }

    /* Inner grids stack vertically */
    .bc-widget-inner,
    .bc-bfe-inner,
    .bc-wl-inner { grid-template-columns: 1fr; gap: 20px; }

    /* Hide Auto-Fixer from widget card (has own card) */
    .bc-widget-inner > div:nth-child(2) { display: none; }

    .wl-preview { max-width: 100%; }

    /* Scroll hint dots */
    .bento-scroll-hint { display: flex; padding: 0 24px; justify-content: flex-start; }
}

/* ─────────────────────────────── LIVE DEMO TOGGLES ─────────────────────────────── */
.demo-section {
    padding: 100px 0;
    background: var(--dark2);
}
.demo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    margin-top: 48px;
}
.demo-toggles { display: flex; flex-direction: column; gap: 12px; }
.demo-toggle-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    user-select: none;
}
.demo-toggle-card:hover {
    border-color: rgba(108,99,255,0.4);
    background: rgba(108,99,255,0.06);
}
.demo-toggle-card.active {
    border-color: rgba(108,99,255,0.5);
    background: rgba(108,99,255,0.08);
}
.demo-toggle-icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: rgba(108,99,255,0.12);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}
.demo-toggle-info { flex: 1; }
.demo-toggle-name {
    font-size: 14px; font-weight: 600;
    color: var(--white); margin-bottom: 2px;
}
.demo-toggle-desc {
    font-size: 12px;
    color: var(--gray);
}
.demo-switch {
    width: 44px; height: 24px;
    border-radius: 12px;
    background: rgba(255,255,255,0.1);
    border: 1px solid var(--border);
    position: relative;
    transition: background 0.25s;
    flex-shrink: 0;
}
.demo-switch::after {
    content: '';
    position: absolute;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--gray);
    top: 2px; left: 2px;
    transition: transform 0.25s, background 0.25s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.demo-toggle-card.active .demo-switch {
    background: var(--purple);
    border-color: var(--purple);
}
.demo-toggle-card.active .demo-switch::after {
    transform: translateX(20px);
    background: white;
}
.demo-preview {
    background: var(--glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: sticky;
    top: 100px;
    transition: background 0.3s, border-color 0.3s;
    min-height: 280px;
}
.demo-preview.high-contrast {
    background: #000;
    border-color: #fff;
}
.demo-preview-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 20px;
}
.demo-preview h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--white);
    transition: font-size 0.3s, color 0.3s, letter-spacing 0.3s;
}
.demo-preview p {
    font-size: 14px;
    color: var(--gray-light);
    line-height: 1.7;
    transition: font-size 0.3s, line-height 0.3s, letter-spacing 0.3s, color 0.3s;
}
.demo-preview-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 22px;
    border-radius: 100px;
    background: var(--purple);
    color: white;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-family: inherit;
    outline: none;
    transition: outline 0.15s, outline-offset 0.15s;
}
.demo-preview-btn.focus-visible-demo {
    outline: 3px solid #f59e0b;
    outline-offset: 4px;
}
.demo-score-row {
    display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap;
}
.demo-score-chip {
    flex: 1; min-width: 80px;
    padding: 12px 10px;
    border-radius: 12px;
    text-align: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
}
.demo-score-chip .dsc-num {
    display: block;
    font-size: 22px; font-weight: 800;
    font-family: inherit;
}
.demo-score-chip .dsc-label {
    font-size: 11px;
    color: var(--gray);
    margin-top: 2px;
}
.dsc-red  .dsc-num { color: #f87171; }
.dsc-amber .dsc-num { color: #fbbf24; }
.dsc-green .dsc-num { color: #34d399; }

@media (max-width: 768px) {
    .demo-grid { grid-template-columns: 1fr; gap: 28px; }
    .demo-preview { position: static; }
}

/* ─────────────────────────────── TESTIMONIALS ─────────────────────────────── */
.testimonials-section { padding: 100px 0; background: var(--dark2); }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}
.testimonial-card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color 0.2s, transform 0.2s;
}
.testimonial-card:hover { border-color: rgba(108,99,255,0.3); transform: translateY(-3px); }
.testimonial-stars { color: #f59e0b; font-size: 14px; letter-spacing: 2px; }
.testimonial-text {
    font-size: 15px;
    color: var(--gray-light);
    line-height: 1.7;
    flex: 1;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.testimonial-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 700; color: white;
    flex-shrink: 0;
}
.testimonial-name { font-size: 14px; font-weight: 700; color: var(--white); }
.testimonial-role { font-size: 12px; color: var(--gray); }
.testimonials-platforms {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}
.tp-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.tp-stars { color: #f59e0b; font-size: 16px; letter-spacing: 2px; }
.tp-name { font-size: 12px; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: 0.5px; }
.tp-score { font-size: 22px; font-weight: 800; color: var(--white); }

/* Mid-page CTA */
.midpage-cta {
    background: rgba(108,99,255,0.08);
    border: 1px solid rgba(108,99,255,0.2);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    text-align: center;
    margin: 0 auto;
    max-width: 760px;
}
.midpage-cta h3 {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 12px;
}
.midpage-cta p { font-size: 16px; color: var(--gray-light); margin-bottom: 28px; }
.midpage-cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 768px) {
    .testimonials-grid { grid-template-columns: 1fr; }
    .midpage-cta { padding: 32px 20px; }
    [data-theme="light"] .testimonial-card { background: #ffffff; border-color: #e8edf4; }
}
[data-theme="light"] .testimonial-card { background: #ffffff; border-color: #e8edf4; box-shadow: 0 2px 16px rgba(15,23,42,0.06); }
[data-theme="light"] .midpage-cta { background: rgba(108,99,255,0.05); }

/* ─────────────────────────────── FAQ ─────────────────────────────── */
.faq-section { padding: 100px 0; background: var(--dark); }
.faq-list { display: flex; flex-direction: column; gap: 8px; max-width: 760px; margin: 0 auto; }
.faq-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.faq-item.open { border-color: rgba(108,99,255,0.35); }
.faq-btn {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
}
.faq-btn:hover { background: rgba(255,255,255,0.03); }
.faq-icon {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: rgba(108,99,255,0.15);
    border: 1px solid rgba(108,99,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--purple);
    font-size: 16px;
    font-weight: 400;
    transition: transform 0.3s, background 0.2s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: rgba(108,99,255,0.25); }
.faq-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}
.faq-item.open .faq-panel { grid-template-rows: 1fr; }
.faq-panel-inner {
    overflow: hidden;
    padding: 0 24px;
}
.faq-panel-inner p {
    padding-bottom: 20px;
    font-size: 14px;
    color: var(--gray-light);
    line-height: 1.75;
}

/* ─────────────────────────────── HOW IT WORKS ─────────────────────────────── */
.how-section {
    background: var(--dark2);
    overflow: hidden;
}
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.steps-grid::before {
    content: '';
    position: absolute;
    top: 36px; left: calc(16.67% + 24px); right: calc(16.67% + 24px);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--purple), transparent);
}
.step-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: transform 0.3s, border-color 0.3s;
}
.step-card:hover { transform: translateY(-4px); border-color: rgba(108,99,255,0.3); }
.step-number {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(108,99,255,0.2), rgba(139,92,246,0.1));
    border: 1px solid rgba(108,99,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 26px;
    position: relative;
    z-index: 1;
}
.step-number-inner {
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, #a78bfa, #6c63ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.step-title { font-size: 19px; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 10px; }
.step-desc { font-size: 14px; color: var(--gray-light); line-height: 1.7; }

/* ─────────────────────────────── COMPLIANCE SECTION ─────────────────────────────── */
.compliance-section { background: var(--dark); }
.compliance-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.compliance-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 40px;
}
.compliance-law {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--purple);
    margin-bottom: 12px;
}
.compliance-title { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 12px; }
.compliance-desc { font-size: 15px; color: var(--gray-light); line-height: 1.7; margin-bottom: 24px; }
.compliance-items { display: flex; flex-direction: column; gap: 12px; }
.compliance-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--gray-light);
}
.compliance-check {
    width: 20px; height: 20px;
    background: rgba(108,99,255,0.15);
    border: 1px solid rgba(108,99,255,0.3);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
    font-size: 11px;
    color: var(--purple);
}
.compliance-deadline {
    background: rgba(245,158,11,0.1);
    border: 1px solid rgba(245,158,11,0.25);
    border-radius: 10px;
    padding: 16px 20px;
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #fcd34d;
}
.deadline-icon { font-size: 20px; flex-shrink: 0; }

/* ─────────────────────────────── PRICING ─────────────────────────────── */
.pricing-section { background: var(--dark2); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.pricing-card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card-pro {
    background: rgba(108,99,255,0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-color: rgba(108,99,255,0.4);
    box-shadow: 0 0 48px rgba(108,99,255,0.12);
    position: relative;
    transform: scale(1.02);
}
.pricing-card-pro:hover { transform: scale(1.02) translateY(-4px); }
.pricing-popular {
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--purple), var(--violet));
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 100px;
    white-space: nowrap;
    letter-spacing: 0.5px;
}
.pricing-plan { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--purple); margin-bottom: 12px; }
.pricing-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.pricing-price-num { font-size: 48px; font-weight: 900; letter-spacing: -2px; }
.pricing-price-period { font-size: 14px; color: var(--gray); }
.pricing-price-free { font-size: 48px; font-weight: 900; letter-spacing: -2px; }
.pricing-tagline { font-size: 14px; color: var(--gray-light); margin-bottom: 28px; }
.pricing-divider { height: 1px; background: var(--border); margin-bottom: 24px; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-light);
}
.pf-yes { color: #4ade80; font-size: 16px; }
.pf-no  { color: var(--gray); font-size: 16px; opacity: 0.4; }
.btn-full { width: 100%; justify-content: center; }
.btn-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--white);
}
.btn-outline:hover { background: var(--glass); border-color: rgba(255,255,255,0.3); }

/* ─────────────────────────────── FINAL CTA ─────────────────────────────── */
.cta-section {
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before { display: none; }
.cta-eyebrow {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--purple);
    margin-bottom: 20px;
}
.cta-title { font-size: clamp(32px, 5vw, 56px); font-weight: 900; letter-spacing: -2px; margin-bottom: 20px; }
.cta-sub { font-size: 18px; color: var(--gray-light); max-width: 500px; margin: 0 auto 40px; line-height: 1.7; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─────────────────────────────── FOOTER ─────────────────────────────── */
footer {
    background: var(--dark2);
    border-top: 1px solid var(--border);
    padding: 60px 0 36px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}
.footer-brand p { font-size: 14px; color: var(--gray); line-height: 1.7; margin-top: 32px; max-width: 260px; }
.footer-logo { font-size: 20px; font-weight: 800; background: linear-gradient(135deg, #a78bfa, #6c63ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--gray); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: var(--gray-light); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--gray);
}
.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(108,99,255,0.1);
    border: 1px solid rgba(108,99,255,0.2);
    border-radius: 100px;
    font-size: 12px;
    color: #a78bfa;
}

/* ─────────────────────────────── RESPONSIVE ─────────────────────────────── */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: 1fr; }
    .feature-card-wide { grid-column: span 1; grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .showcase-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .showcase-inner.reverse { direction: ltr; }
    .compliance-inner { grid-template-columns: 1fr; gap: 40px; }
    .how-section .steps-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    /* ── Nav ── */
    .nav-links { display: none; }
    .nav-cta   { display: none; }
    .hamburger { display: flex; }

    /* ── Hero ── */
    .hero { overflow: hidden; padding-top: 100px; padding-bottom: 40px; }
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }
    .hero h1 {
        font-size: clamp(36px, 10vw, 52px);
        letter-spacing: -1.5px;
        word-break: break-word;
    }
    .hero-sub { max-width: 100%; font-size: 15px; }
    .hero-actions { flex-wrap: wrap; gap: 10px; justify-content: center; }
    .hero-actions .btn { flex: 1; min-width: 140px; justify-content: center; text-align: center; }
    .hero-note { white-space: normal; font-size: 11px; justify-content: center; }
    .hero-social-proof { justify-content: center; flex-wrap: wrap; gap: 10px; }

    /* ── Hero canvas — square, centred ── */
    .hero-canvas-wrap {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        flex-direction: column;
        align-items: center;
        margin-top: 0;
        gap: 16px;
    }
    #hero-canvas {
        width: min(92vw, 420px) !important;
        height: min(92vw, 420px) !important;
        display: block;
        margin: 0 auto;
    }
    .hero-canvas-glow { width: 200px; height: 200px; }
    .hero-a11y-icon { width: 68px; height: 98px; }
    .floating-badge { display: none; }
    .hero-tags-mobile { display: flex; }

    /* ── Sections ── */
    .section { padding: 56px 0; }
    .showcase-section { padding: 56px 0; }
    .section-title { font-size: clamp(28px, 7.5vw, 42px); letter-spacing: -1.5px; }
    .section-sub { font-size: 15px; }
    .showcase-title { font-size: clamp(26px, 7vw, 38px); letter-spacing: -1.5px; }

    /* ── Stats bar ── */
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .stat-number { font-size: 30px; }

    /* ── Checker ── */
    .checker-card { padding: 28px 20px; }
    .checker-form-row { flex-direction: column; }
    .checker-btn { width: 100%; height: 48px; }
    .checker-input { height: 48px; }

    /* ── Showcase phone mocks ── */
    .phones-wrap { gap: 10px; }
    .phone-mock { max-width: 155px; }
    .phone-mock:nth-child(1) { transform: translateY(12px); }
    .phone-mock:nth-child(2) { transform: translateY(-12px); }

    /* ── Browser mocks ── */
    .browser-dark { font-size: 10px; }
    .dash-side { width: 80px; }
    .dash-nav { font-size: 8.5px; padding: 4px 8px; }

    /* ── Profiles ── */
    .profiles-grid { grid-template-columns: 1fr 1fr; }

    /* ── Marquee ── */
    .marquee-label { display: none; }

    /* ── How it works — horizontal scroll only ── */
    .how-section { overflow: hidden; }
    .step-card:hover { transform: none; } /* prevent top-clip on mobile hover */
    .steps-grid {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x proximity;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
        gap: 12px;
        padding: 0 24px 12px;
        margin: 0 -24px;
    }
    .steps-grid::-webkit-scrollbar { display: none; }
    .step-card {
        flex: 0 0 78vw;
        max-width: 320px;
        scroll-snap-align: start;
        padding: 28px 20px;
    }
    .steps-grid::before { display: none; }

    /* ── Compliance ── */
    .compliance-inner { grid-template-columns: 1fr; gap: 32px; }
    .compliance-card { padding: 28px 24px; }

    /* ── Demo toggles ── */
    .demo-grid { grid-template-columns: 1fr; gap: 24px; }
    .demo-preview { position: static; }

    /* ── Pricing ── */
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card-pro { transform: none; }

    /* ── FAQ ── */
    .faq-btn { font-size: 15px; }

    /* ── Scroll-to-top — shift right slightly on mobile ── */
    #scroll-top { right: 20px; bottom: 24px; }

    /* ── Phone mocks — horizontal swipe ── */
    .phones-wrap {
        flex-direction: row;
        align-items: center;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x proximity;
        overscroll-behavior-x: contain;
        gap: 16px;
        padding: 4px 0 16px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .phones-wrap::-webkit-scrollbar { display: none; }
    .phone-mock { flex: 0 0 75vw; max-width: 280px; width: auto; scroll-snap-align: start; }
    .phone-mock:nth-child(1) { transform: none; }
    .phone-mock:nth-child(2) { transform: none; }

    /* ── Trust bar — stacked, horizontal dividers ── */
    .testimonials-platforms { flex-direction: column; gap: 20px; }
    .testimonials-platforms > div:not(.tp-item) { width: 40px !important; height: 1px !important; }

    /* ── How it works — prevent page horizontal overflow ── */
    .how-section { overflow: hidden; }

    /* ── Checker — handled by 680px block below ── */
    .checker-section { padding: 48px 0; }

    /* ── Bento: handled by 900px block ── */

    /* ── White-label section ── */
    .bc-wl-inner { grid-template-columns: 1fr; gap: 24px; }
    .wl-preview { max-width: 100%; }
    .bc-whitelabel { grid-column: span 1; }

    /* ── Footer — centred on mobile ── */
    .footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .footer-brand { margin-bottom: 0; text-align: center; }
    .footer-brand p { margin: 32px auto 0; }
    .footer-col ul { align-items: center; }
    .footer-col ul li { text-align: center; }
    .footer-logo { justify-content: center; display: flex; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: clamp(32px, 9vw, 42px); }
    .section-title { font-size: clamp(26px, 7vw, 34px); }
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .stat-number { font-size: 26px; }
    .stat-label { font-size: 11px; }
    .pricing-card { padding: 28px 20px; }
    .btn-large { padding: 14px 22px; font-size: 15px; }
    .profiles-grid { grid-template-columns: 1fr; }
}

/* ── Social Proof ───────────────────────────────────────────────────────────── */
.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
}
.sp-avatars {
    display: flex;
    flex-direction: row-reverse;
}
.sp-avatar {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 2px solid var(--dark);
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -10px;
    flex-shrink: 0;
}
.sp-avatar:last-child { margin-left: 0; }
.sp-divider {
    width: 1px; height: 28px;
    background: var(--border);
}
.sp-text { display: flex; flex-direction: column; gap: 2px; }
.sp-stars { color: #fbbf24; font-size: 13px; letter-spacing: 1px; line-height: 1; }
.sp-label { font-size: 12px; color: var(--gray-light); }
.sp-label strong { color: var(--white); }

/* ── Features horizontal scroll on mobile ─────────────────────────────────── */
.features-scroll-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 8px;
}
.features-scroll-wrap::-webkit-scrollbar { display: none; }
@media (max-width: 768px) {
    .features-scroll-wrap { padding: 0 20px 0 20px; }
    .features-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 12px;
        width: max-content;
    }
    .feature-card {
        min-width: calc(100vw - 64px);
        max-width: calc(100vw - 64px);
        scroll-snap-align: start;
        padding: 24px;
    }
    /* Hide list on mobile — keep card compact */
    .feature-card .feature-list { display: none; }
    .feature-card .feature-desc { margin-bottom: 0; font-size: 14px; }
    .feature-card-wide {
        min-width: calc(100vw - 64px);
        max-width: calc(100vw - 64px);
        grid-template-columns: 1fr !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 16px;
    }
    /* Hide the code preview on mobile */
    .feature-card-wide .feature-visual { display: none; }
    .features-scroll-dots {
        display: flex !important;
        justify-content: center;
        gap: 6px;
        margin-top: 16px;
    }
}
.features-scroll-dots { display: none; }
.fsd { width: 6px; height: 6px; border-radius: 50%; background: var(--border); transition: background 0.2s; }
.fsd.active { background: var(--purple); }

/* ── Theme toggle ─────────────────────────────────────────────────────────── */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 100px;
    background: var(--glass);
    border: 1px solid var(--border);
    cursor: pointer;
    color: var(--gray-light);
    font-family: inherit;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    flex-shrink: 0;
}
.theme-toggle:hover { background: var(--glass-hover); color: var(--white); border-color: rgba(108,99,255,0.3); }
.theme-toggle svg { width: 16px; height: 16px; flex-shrink: 0; }
.icon-sun  { display: none; color: #f59e0b; }
.icon-moon { display: block; }
.toggle-label-dark,
.toggle-label-light { display: none; }

/* ── Light Mode ──────────────────────────────────────────────────────────── */
[data-theme="light"] {
    --dark:        #ffffff;
    --dark2:       #f1f5f9;
    --dark3:       #e8edf4;
    --white:       #0f172a;
    --gray:        #64748b;
    --gray-light:  #475569;
    --border:      rgba(15,23,42,0.09);
    --glass:       rgba(15,23,42,0.03);
    --glass-hover: rgba(15,23,42,0.06);
}
[data-theme="light"] body { background: #ffffff; color: #0f172a; }
[data-theme="light"] .hero { background: none; }
[data-theme="light"] .hero-aurora .aurora-blob { opacity: 0.06; }
[data-theme="light"] .hero-grid {
    background-image:
        linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
}
[data-theme="light"] .floating-badge {
    background: rgba(255,255,255,0.9);
    border-color: rgba(108,99,255,0.2);
    color: #0f172a;
}
[data-theme="light"] .stats-inner { background: rgba(15,23,42,0.03); }
[data-theme="light"] .checker-card {
    background: rgba(255,255,255,0.95);
    border-color: rgba(108,99,255,0.15);
    box-shadow: 0 8px 40px rgba(108,99,255,0.08);
}
[data-theme="light"] .checker-input {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 100px;
    padding: 0 14px;
    color: #0f172a;
}
[data-theme="light"] .checker-input::placeholder { color: #94a3b8; }
[data-theme="light"] .feature-card {
    background: #ffffff;
    border-color: #e8edf4;
    box-shadow: 0 2px 16px rgba(15,23,42,0.06);
}
[data-theme="light"] .feature-card:hover { border-color: rgba(108,99,255,0.3); }
[data-theme="light"] .feature-visual { background: #f8fafc; border-color: #e2e8f0; }
[data-theme="light"] .step-card { background: #ffffff; border-color: #e8edf4; }
[data-theme="light"] .compliance-card {
    background: rgba(108,99,255,0.05);
    border-color: rgba(108,99,255,0.15);
}
[data-theme="light"] .pricing-card { background: #ffffff; border-color: #e2e8f0; }
[data-theme="light"] .pricing-card-pro {
    background: rgba(108,99,255,0.05);
    border-color: rgba(108,99,255,0.4);
}
[data-theme="light"] .faq-item { background: #ffffff; border-color: #e8edf4; }
[data-theme="light"] .faq-btn { color: #0f172a; }
[data-theme="light"] .faq-item.open { border-color: rgba(108,99,255,0.3); }
[data-theme="light"] .browser-dark {
    background: #f8fafc;
    border-color: #e2e8f0;
}
[data-theme="light"] .browser-dark-bar { background: #f1f5f9; border-color: #e2e8f0; }
[data-theme="light"] .bdb-url { background: #e8edf4; }
[data-theme="light"] .profile-tag { background: #f8fafc; border-color: #e2e8f0; }
[data-theme="light"] .profile-tag:hover { background: rgba(108,99,255,0.06); }
[data-theme="light"] .phone-mock { border-color: rgba(15,23,42,0.12); }
[data-theme="light"] .marquee-section { background: #f8fafc; }
[data-theme="light"] .statement-section { background: #f1f5f9; }
[data-theme="light"] .statement-section::before { background: linear-gradient(90deg, transparent, rgba(108,99,255,0.2), transparent); }
[data-theme="light"] .icon-sun  { display: block; color: #f59e0b; }
[data-theme="light"] .icon-moon { display: none; }
[data-theme="light"] .theme-toggle { color: #475569; }

/* ── Light mode shadows ──────────────────────────────────────────────────── */
[data-theme="light"] .feature-card     { box-shadow: 0 2px 24px rgba(15,23,42,0.07), 0 1px 4px rgba(15,23,42,0.04); }
[data-theme="light"] .feature-card:hover { box-shadow: 0 8px 40px rgba(108,99,255,0.12), 0 2px 8px rgba(15,23,42,0.06); }
[data-theme="light"] .step-card        { box-shadow: 0 2px 20px rgba(15,23,42,0.07); }
[data-theme="light"] .pricing-card     { box-shadow: 0 2px 20px rgba(15,23,42,0.07); }
[data-theme="light"] .pricing-card-pro { box-shadow: 0 8px 48px rgba(108,99,255,0.18), 0 2px 8px rgba(108,99,255,0.08); }
[data-theme="light"] .checker-card     { box-shadow: 0 4px 40px rgba(108,99,255,0.08), 0 1px 4px rgba(15,23,42,0.04); }
[data-theme="light"] .faq-item         { box-shadow: 0 1px 8px rgba(15,23,42,0.05); }
[data-theme="light"] .faq-item.open    { box-shadow: 0 4px 20px rgba(108,99,255,0.10); }
[data-theme="light"] .compliance-card  { box-shadow: 0 4px 32px rgba(108,99,255,0.10); }
[data-theme="light"] .browser-dark     { box-shadow: 0 8px 40px rgba(15,23,42,0.12); }
[data-theme="light"] .phone-mock       { box-shadow: 0 24px 56px rgba(15,23,42,0.16); }
[data-theme="light"] .stat-item        { box-shadow: none; }
[data-theme="light"] .stats-inner      { box-shadow: 0 2px 16px rgba(15,23,42,0.06); }
[data-theme="light"] .section-title  { color: #0f172a; }
[data-theme="light"] .showcase-title { color: #0f172a; }
[data-theme="light"] .cta-title      { color: #0f172a; }
[data-theme="light"] .hero h1        { color: #0f172a; }
[data-theme="light"] .bento-title    { color: #0f172a; }
[data-theme="light"] .nav-inner { background: rgba(255,255,255,0.5); border-color: rgba(15,23,42,0.08); }
[data-theme="light"] .nav-logo svg text { fill: #0f172a; }
[data-theme="light"] nav.scrolled .nav-inner { background: rgba(255,255,255,0.7); border-color: rgba(15,23,42,0.1); box-shadow: 0 8px 32px rgba(15,23,42,0.1); }
[data-theme="light"] .sp-avatar { border-color: #ffffff; }
[data-theme="light"] .hero-social-proof .sp-divider { background: rgba(15,23,42,0.12); }
[data-theme="light"] .fv-comment { color: #94a3b8; }
[data-theme="light"] .shortcode-pill { background: rgba(108,99,255,0.08); }
[data-theme="light"] .result-header-bar { background: #f8fafc; border-color: #e2e8f0; }
[data-theme="light"] .issue-critical { background: #fff5f5; }
[data-theme="light"] .issue-high     { background: #fffbeb; }
[data-theme="light"] .issue-medium   { background: #fff8f0; }
[data-theme="light"] .issue-low      { background: #f0fdf4; }
[data-theme="light"] .result-cta { background: rgba(108,99,255,0.06); }

/* ── Light mode: Bento Grid ─────────────────────────────────────────────── */
[data-theme="light"] .bento-card {
    background: #ffffff;
    border-color: #e8edf4;
    box-shadow: 0 2px 24px rgba(15,23,42,0.07);
}
[data-theme="light"] .bento-card:hover {
    border-color: rgba(108,99,255,0.25);
    box-shadow: 0 8px 40px rgba(108,99,255,0.10);
}
[data-theme="light"] .bc-widget {
    background: #f5f3ff;
    border-color: rgba(108,99,255,0.2);
}
[data-theme="light"] .bento-title       { color: #0f172a; }
[data-theme="light"] .bento-desc        { color: #475569; }
[data-theme="light"] .bento-big-num-label { color: #475569; }
[data-theme="light"] .bento-speed-label   { color: #475569; }
[data-theme="light"] .bsr-num             { color: #0f172a; }
[data-theme="light"] .bsr-track           { stroke: rgba(15,23,42,0.08); }
[data-theme="light"] .bar-track           { background: rgba(15,23,42,0.07); }
[data-theme="light"] .bar-label           { color: #64748b; }
[data-theme="light"] .bfi-row             { color: #475569; }
[data-theme="light"] .bfi-dot             { background: #0891b2; }

[data-theme="light"] .bwc-chip {
    background: rgba(15,23,42,0.04);
    border-color: rgba(15,23,42,0.09);
    color: #475569;
}
[data-theme="light"] .bwc-chip.on {
    background: rgba(108,99,255,0.10);
    border-color: rgba(108,99,255,0.35);
    color: #6c63ff;
}
[data-theme="light"] .bento-code {
    background: #0f172a;
    border-color: rgba(255,255,255,0.06);
}
[data-theme="light"] .bb-chip {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #0f172a;
}
[data-theme="light"] .bws span { color: rgba(255,255,255,0.85); }

/* ── Light mode: Demo Toggles ───────────────────────────────────────────── */
[data-theme="light"] .demo-section         { background: #f8fafc; }
[data-theme="light"] .demo-toggle-card {
    background: #ffffff;
    border-color: #e8edf4;
    box-shadow: 0 1px 8px rgba(15,23,42,0.05);
}
[data-theme="light"] .demo-toggle-card:hover {
    background: rgba(108,99,255,0.03);
    border-color: rgba(108,99,255,0.3);
}
[data-theme="light"] .demo-toggle-card.active {
    background: rgba(108,99,255,0.05);
    border-color: rgba(108,99,255,0.4);
}
[data-theme="light"] .demo-toggle-icon     { background: rgba(108,99,255,0.08); }
[data-theme="light"] .demo-toggle-name     { color: #0f172a; }
[data-theme="light"] .demo-toggle-desc     { color: #64748b; }
[data-theme="light"] .demo-switch {
    background: #e2e8f0;
    border-color: #cbd5e1;
}
[data-theme="light"] .demo-switch::after   { background: #94a3b8; }
[data-theme="light"] .demo-toggle-card.active .demo-switch { background: var(--purple); border-color: var(--purple); }
[data-theme="light"] .demo-toggle-card.active .demo-switch::after { background: #ffffff; }
[data-theme="light"] .demo-preview {
    background: #ffffff;
    border-color: #e8edf4;
    box-shadow: 0 2px 20px rgba(15,23,42,0.07);
}
[data-theme="light"] .demo-preview.high-contrast { background: #000000; border-color: #000000; }
[data-theme="light"] .demo-preview-label   { color: #94a3b8; }
[data-theme="light"] #xDemoTitle           { color: #0f172a; }
[data-theme="light"] #xDemoText            { color: #475569; }
[data-theme="light"] .demo-score-chip {
    background: #f8fafc;
    border-color: #e8edf4;
}
[data-theme="light"] .demo-score-chip .dsc-label { color: #64748b; }

/* ─────────────────────────────── PALETTE OVERRIDE (Business-Look) ─────────────────────────────── */
/* Text-Verläufe entfernen für maximale Lesbarkeit */
h1, h2, h3, .bento-title, .section-title {
    background: none !important;
    -webkit-text-fill-color: initial !important;
    color: var(--white) !important;
    letter-spacing: -0.02em !important;
}

/* Bento-Karten dezent und flach halten */
.bento-card {
    background: var(--dark2) !important;
    border: 1px solid var(--border) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
    border-radius: 12px !important;
}

/* Subtiler Fokus beim Hover statt neonfarbenem Leuchten */
.bento-card:hover {
    border-color: var(--purple-light) !important;
    transform: translateY(-2px);
}

/* UI-Simulationen in den Boxen vereinheitlichen (nur Dark Mode — Light Mode hat eigene helle Varianten) */
/* Farbwerte aus dem echten Xessify-Widget/Dashboard übernommen (Corporate Identity) */
html:not([data-theme="light"]) .wpp-ui,
html:not([data-theme="light"]) .af-diff,
html:not([data-theme="light"]) .audit-list,
html:not([data-theme="light"]) .bfe-doc,
html:not([data-theme="light"]) .wl-preview,
html:not([data-theme="light"]) .browser-dark,
html:not([data-theme="light"]) .typewriter-card,
html:not([data-theme="light"]) .shortcode-pill {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    box-shadow: none !important;
}

html:not([data-theme="light"]) .wpp-head,
html:not([data-theme="light"]) .browser-dark-bar,
html:not([data-theme="light"]) .bfe-doc-bar {
    background: #162032 !important;
    border-bottom: 1px solid #334155 !important;
}
