/* ============================================================
   CORTEX — CINEMATIC LIQUID GLASS (Apple / iOS 26 inspired)
   ============================================================ */

:root {
    /* Backgrounds */
    --bg: #060607;
    --bg-elevated: #0c0d0f;
    --bg-surface: #121315;

    /* Primary Accent — Gold */
    --gold: #e8c547;
    --gold-bright: #f5d870;
    --gold-deep: #c49a20;

    /* Secondary Accent — Electric Blue */
    --blue: #4d8dff;
    --blue-bright: #7aaaff;
    --blue-deep: #2563eb;

    /* Tertiary Accent — Violet */
    --violet: #8b5cf6;
    --violet-bright: #a78bfa;

    /* Success — Emerald */
    --green: #10b981;
    --green-bright: #34d399;

    /* Text */
    --ink: #f4f4f5;
    --muted: #a1a1aa;
    --faint: #71717a;

    /* Glass */
    --glass: rgba(255, 255, 255, 0.045);
    --glass-strong: rgba(255, 255, 255, 0.07);
    --glass-border: rgba(255, 255, 255, 0.10);
    --glass-border-hi: rgba(232, 197, 71, 0.34);

    /* Layout */
    --radius: 22px;
    --radius-lg: 30px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    cursor: default;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.25s var(--ease);
}

a:hover {
    color: var(--gold-bright);
}

::selection {
    background: rgba(232, 197, 71, 0.3);
    color: #fff;
}

/* ===== CINEMATIC CURSOR GLOW ===== */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 197, 71, 0.10), transparent 60%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: screen;
    transition: opacity 0.5s ease;
    will-change: left, top;
}

/* ===== AMBIENT AURORA ===== */
.aurora {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.aurora::before {
    content: '';
    position: absolute;
    inset: -10%;
    background:
        radial-gradient(60vw 60vw at 78% -8%, rgba(232, 197, 71, 0.16), transparent 60%),
        radial-gradient(48vw 48vw at 8% 18%, rgba(196, 154, 32, 0.10), transparent 60%),
        radial-gradient(50vw 50vw at 50% 112%, rgba(120, 90, 255, 0.09), transparent 60%);
    animation: meshShift 26s ease-in-out infinite alternate;
}

@keyframes meshShift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-2%, 2%) scale(1.06);
    }
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.55;
    animation: float 24s var(--ease) infinite alternate;
    will-change: transform;
}

.blob.b1 {
    width: 540px;
    height: 540px;
    top: -160px;
    right: -120px;
    background: radial-gradient(circle, rgba(232, 197, 71, 0.32), transparent 70%);
}

.blob.b2 {
    width: 480px;
    height: 480px;
    bottom: -160px;
    left: -120px;
    background: radial-gradient(circle, rgba(120, 90, 255, 0.20), transparent 70%);
    animation-delay: -8s;
}

.blob.b3 {
    width: 400px;
    height: 400px;
    top: 40%;
    left: 46%;
    background: radial-gradient(circle, rgba(232, 197, 71, 0.10), transparent 70%);
    animation-delay: -15s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(46px, -34px) scale(1.14);
    }
}

.grain {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   CINEMATIC LOAD SEQUENCE
   ============================================================ */
@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(34px);
        filter: blur(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.seq {
    opacity: 0;
    animation: riseIn 1.1s var(--ease-soft) both;
}

/* ============================================================
   NAVBAR — floating liquid-glass pill
   ============================================================ */
.nav-shell {
    position: fixed;
    top: 16px;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    padding: 0 16px;
    animation: riseIn 1s var(--ease-soft) both;
}

.navbar {
    width: 100%;
    max-width: 1120px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px 0 20px;
    border-radius: 999px;
    background: rgba(12, 13, 15, 0.5);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 18px 50px rgba(0, 0, 0, 0.45);
    transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.navbar.scrolled {
    background: rgba(10, 11, 13, 0.74);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 22px 60px rgba(0, 0, 0, 0.6);
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    letter-spacing: -0.01em;
}

.brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 900;
    color: #1a1400;
    box-shadow: 0 4px 16px rgba(232, 197, 71, 0.35);
}

.brand-logo {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    object-fit: contain;
    box-shadow: 0 4px 16px rgba(232, 197, 71, 0.25);
    transition: transform 0.25s var(--ease, cubic-bezier(0.22,1,0.36,1));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    color: var(--muted);
    font-size: 13.5px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 999px;
    transition: all 0.25s var(--ease);
}

.nav-links a:hover {
    color: #fff;
    background: var(--glass-strong);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-ghost {
    background: transparent;
    border: none;
    color: var(--muted);
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    padding: 9px 14px;
    border-radius: 999px;
    transition: all 0.25s var(--ease);
}

.btn-ghost:hover {
    color: #fff;
    background: var(--glass-strong);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-bright), var(--gold));
    border: none;
    color: #1a1400;
    font-size: 13.5px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
    display: flex;
    align-items: center;
    gap: 7px;
    box-shadow: 0 6px 20px rgba(232, 197, 71, 0.30);
}

.btn-gold:hover {
    box-shadow: 0 10px 28px rgba(232, 197, 71, 0.42);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--ink);
    font-size: 20px;
    cursor: pointer;
    padding: 6px 10px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0 auto;
    /* Top padding must clear the FIXED navbar (top:16px + ~64px pill) with
       breathing room — the "v2.7 is live" banner used to provide the gap. */
    padding: clamp(140px, 18vh, 200px) 70px clamp(30px, 4vh, 50px);
    text-align: center;
    will-change: transform, opacity;
    overflow: visible;
}

.hero-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-top: 36px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 16px 8px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.strip-item {
    flex: 1;
    text-align: center;
    padding: 0 20px;
}

.strip-val {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.strip-lbl {
    font-size: 11px;
    color: var(--muted);
}

.strip-div {
    width: 1px;
    height: 32px;
    background: var(--glass-border);
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 7px 8px 7px 16px;
    border-radius: 999px;
    font-size: 12.5px;
    color: var(--muted);
    font-weight: 500;
    margin-bottom: 32px;
}

.pill .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 12px var(--gold);
    animation: pulse 2.4s ease-in-out infinite;
}

.pill .tag {
    background: rgba(232, 197, 71, 0.14);
    color: var(--gold-bright);
    font-weight: 600;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 999px;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.35;
    }
}

.hero h1 {
    font-size: clamp(28px, 4.5vw, 58px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 auto 18px;
    max-width: 800px;
    overflow: visible;
}

.hero h1 .grad {
    background: linear-gradient(120deg, var(--gold) 0%, var(--gold-bright) 42%, #fff 70%, var(--gold) 100%);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: riseIn 1.1s var(--ease-soft) both, shimmer 7s linear infinite;
    display: inline-block;
    padding: 8px 8px;
}

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

.hero .sub {
    font-size: clamp(14px, 1.5vw, 16px);
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto 28px;
    font-weight: 400;
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-lg {
    position: relative;
    font-size: 16px;
    padding: 16px 32px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
    will-change: transform;
}

.btn-lg.primary {
    background: linear-gradient(135deg, var(--gold-bright), var(--gold));
    color: #1a1400;
    border: none;
    font-weight: 700;
    box-shadow: 0 10px 34px rgba(232, 197, 71, 0.34);
    overflow: hidden;
}

.btn-lg.primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: skewX(-18deg);
    transition: left 0.7s var(--ease);
}

.btn-lg.primary:hover::after {
    left: 130%;
}

.btn-lg.primary:hover {
    box-shadow: 0 16px 44px rgba(232, 197, 71, 0.5);
}

.btn-lg.glass {
    background: var(--glass-strong);
    border: 1px solid var(--glass-border);
    color: var(--ink);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.btn-lg.glass:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--glass-border-hi);
}

.hero-meta {
    margin-top: 24px;
    font-size: 13px;
    color: var(--faint);
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ============================================================
   APP SHOWCASE — real screenshot/video with glass frame
   ============================================================ */
.showcase {
    width: 100%;
    margin: 20px auto 0;
    padding: 0px 75px;
    perspective: 1602px;
}

.glass-frame {
    position: relative;
    border-radius: var(--radius-lg);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    overflow: hidden;
    transform: perspective(1200px) rotateX(4deg) scale(0.94);
    transform-origin: center top;
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 50px 110px rgba(0, 0, 0, 0.65),
        0 0 80px rgba(232, 197, 71, 0.08);
    will-change: transform;
}

.frame-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.2);
}

.traffic {
    display: flex;
    gap: 7px;
}

.traffic i {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: block;
}

.traffic i:nth-child(1) {
    background: #ff5f57;
}

.traffic i:nth-child(2) {
    background: #febc2e;
}

.traffic i:nth-child(3) {
    background: #28c840;
}

.frame-title {
    margin-left: 8px;
    font-size: 12px;
    color: var(--faint);
    font-family: 'JetBrains Mono', monospace;
}

.frame-body-real {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #000;
}

.showcase-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.showcase-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Screenshot gallery */
.showcase-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 28px;
    padding: 0 4px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-4px);
    border-color: var(--glass-border-hi);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.gallery-item img {
    width: 100%;
    display: block;
    aspect-ratio: 16/10;
    object-fit: cover;
    background: var(--bg-elevated);
}

.gallery-item span {
    display: block;
    padding: 12px 16px;
    font-size: 13px;
    color: var(--muted);
    text-align: center;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.15);
    border-top: 1px solid var(--glass-border);
}

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

/* Legacy frame-body for backward compatibility */
.frame-body {
    height: 452px;
    display: grid;
    grid-template-columns: 176px 1fr 268px;
    background:
        radial-gradient(90% 130% at 50% 0%, rgba(232, 197, 71, 0.05), transparent 60%),
        rgba(0, 0, 0, 0.28);
    text-align: left;
    font-size: 12px;
}

/* ---- file explorer ---- */
.ide-files {
    border-right: 1px solid var(--glass-border);
    padding: 14px 10px;
    background: rgba(255, 255, 255, 0.014);
}

.ide-files .ttl {
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--faint);
    margin: 0 0 10px 8px;
}

.ide-files .f {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 5px 8px;
    border-radius: 7px;
    color: var(--muted);
    white-space: nowrap;
}

.ide-files .f.dir {
    color: #d4d4d8;
}

.ide-files .f.ind {
    padding-left: 22px;
}

.ide-files .f.active {
    background: rgba(232, 197, 71, 0.1);
    color: #fff;
}

.ide-files .f .mod {
    margin-left: auto;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
}

.ext {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 8.5px;
    color: #3178c6;
    flex-shrink: 0;
    letter-spacing: 0.02em;
}

/* ---- editor ---- */
.ide-editor {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ide-tabs {
    display: flex;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.22);
}

.ide-tab {
    padding: 9px 14px;
    color: var(--muted);
    border-right: 1px solid var(--glass-border);
    display: flex;
    gap: 7px;
    align-items: center;
    white-space: nowrap;
}

.ide-tab.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 -2px 0 var(--gold);
}

.ide-code {
    flex: 1;
    padding: 12px 0;
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.75;
    overflow: hidden;
}

.ide-code .ln {
    display: flex;
}

.ide-code .ln .n {
    width: 36px;
    text-align: right;
    padding-right: 14px;
    color: #3f3f46;
    user-select: none;
    flex-shrink: 0;
}

.ide-code .ln .c {
    white-space: pre;
}

.ide-code .ln.add {
    background: rgba(40, 200, 64, 0.09);
}

.ide-code .ln.add .n {
    color: #28c840;
}

.tk-key { color: #c084fc; }
.tk-fn { color: #e8c547; }
.tk-str { color: #86efac; }
.tk-var { color: #93c5fd; }

.caret {
    display: inline-block;
    width: 7px;
    height: 14px;
    background: var(--gold);
    vertical-align: -2px;
    animation: blink 1.05s steps(2) infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* ---- agent chat panel ---- */
.ide-chat {
    border-left: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.014);
}

.ide-chat .head {
    padding: 12px 14px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 600;
}

.ide-chat .head .mdl {
    margin-left: auto;
    font-size: 10px;
    color: var(--gold-bright);
    background: rgba(232, 197, 71, 0.12);
    border: 1px solid rgba(232, 197, 71, 0.2);
    padding: 3px 8px;
    border-radius: 999px;
    font-weight: 500;
}

.ide-chat .body {
    flex: 1;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 11px;
    overflow: hidden;
}

.msg-user {
    align-self: flex-end;
    max-width: 92%;
    background: rgba(232, 197, 71, 0.14);
    border: 1px solid rgba(232, 197, 71, 0.22);
    color: #fff;
    padding: 8px 11px;
    border-radius: 13px 13px 4px 13px;
}

.step {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    color: var(--muted);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.step.show {
    opacity: 1;
    transform: none;
}

.step .ic {
    width: 19px;
    height: 19px;
    border-radius: 6px;
    background: rgba(232, 197, 71, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
    color: var(--gold-bright);
}

.step .ic.done {
    background: rgba(40, 200, 64, 0.16);
    color: #28c840;
}

.step b {
    color: #fff;
    font-weight: 600;
}

.step code {
    font-family: 'JetBrains Mono', monospace;
    color: var(--gold-bright);
    font-size: 11px;
}

.ide-status {
    border-top: 1px solid var(--glass-border);
    padding: 8px 14px;
    display: flex;
    gap: 16px;
    color: var(--faint);
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
}

.ide-status .g {
    color: #28c840;
}

@media (max-width: 820px) {
    .frame-body {
        grid-template-columns: 1fr 244px;
    }

    .ide-files {
        display: none;
    }
}

@media (max-width: 560px) {
    .frame-body {
        grid-template-columns: 1fr;
        height: 360px;
    }

    .ide-chat {
        display: none;
    }
}

/* ============================================================
   PROVIDER MARQUEE
   ============================================================ */
.providers {
    margin: 64px auto 0;
    text-align: center;
}

.providers .eyebrow {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--faint);
    margin-bottom: 26px;
    font-weight: 600;
}

.marquee {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
    display: flex;
    gap: 12px;
    width: max-content;
    animation: scrollX 32s linear infinite;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes scrollX {
    to {
        transform: translateX(-50%);
    }
}

.provider-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 11px 20px;
    border-radius: 999px;
    font-size: 14px;
    color: var(--muted);
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.25s var(--ease);
}

.provider-chip:hover {
    color: #fff;
    border-color: var(--glass-border-hi);
}

.provider-chip .pdot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
    width: 100%;
    margin: 0 auto;
    padding: clamp(36px, 5vw, 56px) 70px;
}

.section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 28px;
}

.section-head .eyebrow {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    font-weight: 600;
}

.section-head h2 {
    font-size: clamp(26px, 3.6vw, 40px);
    font-weight: 800;
    letter-spacing: -0.038em;
    color: #fff;
    line-height: 1.06;
    margin-bottom: 16px;
}

.section-head p {
    font-size: 15px;
    color: var(--muted);
}

/* ===== BENTO ===== */
.bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

.card {
    position: relative;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    border-radius: var(--radius);
    padding: 24px;
    overflow: hidden;
    transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), background 0.45s var(--ease);
}

/* spotlight follows cursor */
.card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(232, 197, 71, 0.14), transparent 45%);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    pointer-events: none;
}

.card:hover::after {
    opacity: 1;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.18), transparent 42%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.7;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--glass-border-hi);
    background: var(--glass-strong);
}

.card .glyph {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(232, 197, 71, 0.18), rgba(232, 197, 71, 0.04));
    border: 1px solid rgba(232, 197, 71, 0.18);
}

.card h3 {
    position: relative;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 9px;
    letter-spacing: -0.01em;
}

.card p {
    position: relative;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
}

.col-2 {
    grid-column: span 2;
}

.col-4 {
    grid-column: span 4;
}

.card.feature-wide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 220px;
    background:
        radial-gradient(120% 120% at 100% 0%, rgba(232, 197, 71, 0.10), transparent 55%),
        var(--glass);
}

.card.feature-wide h3 {
    font-size: 24px;
}

.card.feature-wide p {
    font-size: 15px;
    max-width: 460px;
}

/* ===== BYOK SECURITY ===== */
.security-card {
    position: relative;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(100% 140% at 0% 0%, rgba(232, 197, 71, 0.12), transparent 50%),
        var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    padding: 56px clamp(28px, 5vw, 64px);
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
}

.security-card h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -0.035em;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 18px;
}

.security-card h2 .grad {
    background: linear-gradient(120deg, var(--gold), var(--gold-bright));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.security-card p {
    font-size: 16px;
    color: var(--muted);
    margin-bottom: 26px;
}

.sec-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sec-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--muted);
}

.sec-list strong {
    color: #fff;
    font-weight: 600;
}

.sec-list .ck {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: rgba(232, 197, 71, 0.16);
    border: 1px solid rgba(232, 197, 71, 0.3);
    color: var(--gold-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-top: 1px;
}

.sec-visual {
    position: relative;
    border-radius: var(--radius);
    background: rgba(0, 0, 0, 0.32);
    border: 1px solid var(--glass-border);
    padding: 26px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    line-height: 1.9;
    overflow: hidden;
}

.sec-visual::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(232, 197, 71, 0.07), transparent 30%);
    animation: spin 12s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(1turn);
    }
}

.sec-visual>* {
    position: relative;
}

.sec-visual .lock {
    font-size: 34px;
    margin-bottom: 14px;
}

.sec-visual .row {
    display: flex;
    justify-content: space-between;
    color: var(--faint);
}

.sec-visual .row b {
    color: var(--gold-bright);
    font-weight: 500;
}

.sec-visual .ok {
    color: #28c840;
}

/* ===== STEPS ===== */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.step {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius);
    padding: 24px 22px;
    transition: all 0.45s var(--ease);
}

.step:hover {
    transform: translateY(-5px);
    border-color: var(--glass-border-hi);
}

.step .num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(232, 197, 71, 0.1);
    border: 1px solid rgba(232, 197, 71, 0.2);
}

.step h3 {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.step p {
    font-size: 14px;
    color: var(--muted);
}

/* ===== LANGS ===== */
.langs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    max-width: 760px;
    margin: 0 auto;
}

.lang {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    color: var(--muted);
    transition: all 0.25s var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.lang:hover {
    color: #fff;
    border-color: var(--glass-border-hi);
    transform: translateY(-2px);
}

.lang .d {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* ===== FAQ ===== */
.faq {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.faq-item.open {
    border-color: var(--glass-border-hi);
    background: var(--glass-strong);
}

.faq-q {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-q .chev {
    color: var(--gold);
    flex-shrink: 0;
    transition: transform 0.35s var(--ease);
    font-size: 14px;
}

.faq-item.open .chev {
    transform: rotate(180deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.42s var(--ease);
}

.faq-a p {
    padding: 0 24px 22px;
    margin: 0;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.7;
}

.faq-a p strong {
    color: var(--gold-bright);
    font-weight: 600;
}

/* ===== FINAL CTA ===== */
.final-cta {
    width: 100%;
    margin: 0 auto;
    padding: 0 24px 44px;
}

.cta-glass {
    position: relative;
    border-radius: var(--radius-lg);
    text-align: center;
    padding: clamp(40px, 6vw, 64px) 24px;
    background:
        radial-gradient(90% 140% at 50% 0%, rgba(232, 197, 71, 0.18), transparent 60%),
        var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(24px) saturate(170%);
    -webkit-backdrop-filter: blur(24px) saturate(170%);
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
}

.cta-glass h2 {
    font-size: clamp(28px, 4.2vw, 48px);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #fff;
    line-height: 1.02;
    margin-bottom: 18px;
}

.cta-glass p {
    font-size: 18px;
    color: var(--muted);
    max-width: 520px;
    margin: 0 auto 34px;
}

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid var(--glass-border);
    width: 100%;
    margin: 0 auto;
    padding: 48px 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.footer .brand {
    font-size: 15px;
}

.footer-note {
    font-size: 12.5px;
    color: var(--faint);
    max-width: 360px;
}

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

.footer-links a {
    color: var(--faint);
    font-size: 13px;
}

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

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    filter: blur(8px);
    transition: opacity 0.9s var(--ease-soft), transform 0.9s var(--ease-soft), filter 0.9s var(--ease-soft);
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* stagger children */
.stagger>.reveal {
    transition-delay: calc(var(--i, 0) * 90ms);
}

/* ===== BACK TO TOP ===== */
#toTop {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(12, 13, 15, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    color: var(--gold);
    font-size: 18px;
    cursor: pointer;
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s var(--ease);
}

#toTop:hover {
    border-color: var(--glass-border-hi);
    transform: translateY(-2px);
}

/* ============================================================
   SOCIAL PROOF BAR
   ============================================================ */
.social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.social-proof .proof-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
}

.social-proof .proof-item .stars {
    color: var(--gold);
    letter-spacing: 2px;
}

.social-proof .proof-item b {
    color: #fff;
    font-weight: 700;
}

/* ============================================================
   PRICING — matches HTML classes in pricing.html
   ============================================================ */

/* Grid: 2 equal columns, equal-height cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    max-width: 780px;
    margin: 0 auto;
    padding: 0 24px;
    align-items: stretch;
}

/* Card: flex column so CTA always sticks to bottom */
.pricing-card {
    position: relative;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    border-radius: var(--radius);
    padding: 36px 28px 32px;
    display: flex;
    flex-direction: column;
    transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.pricing-card:hover {
    transform: translateY(-6px);
    border-color: var(--glass-border-hi);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

/* Featured (Starter) card */
.pricing-card.featured {
    border-color: rgba(232, 197, 71, 0.4);
    background:
        radial-gradient(120% 120% at 50% 0%, rgba(232, 197, 71, 0.12), transparent 55%),
        var(--glass-strong);
    box-shadow: 0 20px 60px rgba(232, 197, 71, 0.12);
    z-index: 2;
}

.pricing-card.featured:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 80px rgba(232, 197, 71, 0.18);
}

/* "Most Popular" badge */
.pricing-featured-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gold-bright), var(--gold));
    color: #1a1400;
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 18px;
    border-radius: 999px;
    box-shadow: 0 4px 16px rgba(232, 197, 71, 0.4);
    white-space: nowrap;
    letter-spacing: 0.02em;
}

/* Header block */
.pricing-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
}

.pricing-header h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 10px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.pricing-price .amount {
    font-size: clamp(40px, 5vw, 52px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.04em;
    line-height: 1;
}

.pricing-price .period {
    font-size: 16px;
    color: var(--faint);
    font-weight: 500;
}

.pricing-desc {
    font-size: 13.5px;
    color: var(--faint);
    margin: 0;
}

/* Feature list */
.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    margin: 0 0 24px;
    padding: 0;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
}

/* Check icon — gold on featured, green on normal */
.pricing-features li .check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: rgba(52, 199, 89, 0.14);
    border: 1px solid rgba(52, 199, 89, 0.25);
    color: #34c759;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    margin-top: 1px;
}

.pricing-card.featured .pricing-features li .check {
    background: rgba(232, 197, 71, 0.14);
    border-color: rgba(232, 197, 71, 0.25);
    color: var(--gold-bright);
}

/* No / disabled features */
.pricing-features li .no,
.pricing-features li .cross {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--faint);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    margin-top: 1px;
}

.pricing-features li:has(.no),
.pricing-features li:has(.cross) {
    opacity: 0.5;
}

/* CTA buttons — ALL gold */
.pricing-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 28px;
    margin-top: auto;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold));
    color: #1a1400;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    box-shadow: 0 8px 28px rgba(232, 197, 71, 0.25);
}

.pricing-cta:hover {
    box-shadow: 0 14px 40px rgba(232, 197, 71, 0.4);
    transform: translateY(-2px);
    color: #1a1400;
}

.pricing-cta.primary {
    box-shadow: 0 10px 36px rgba(232, 197, 71, 0.35);
}

.pricing-cta.primary:hover {
    box-shadow: 0 16px 48px rgba(232, 197, 71, 0.5);
}

/* BYOK note */
.pricing-note {
    text-align: center;
    font-size: 14px;
    color: var(--faint);
    max-width: 680px;
    margin: 36px auto 0;
    line-height: 1.6;
}

.pricing-note strong {
    color: var(--gold-bright);
}

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .pricing-card.featured {
        order: -1;
    }

    .pricing-card.featured:hover {
        transform: translateY(-6px);
    }

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

    .pricing-price .amount {
        font-size: 40px;
    }

    .pricing-cta {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.testimonial-card {
    position: relative;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    border-radius: var(--radius);
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.45s var(--ease), border-color 0.45s var(--ease);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.14), transparent 42%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.6;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--glass-border-hi);
}

.testimonial-card .quote {
    font-size: 15px;
    color: var(--ink);
    line-height: 1.7;
    margin-bottom: 20px;
}

.testimonial-card .quote::before {
    content: '\201C';
    color: var(--gold);
    font-size: 28px;
    line-height: 0;
    vertical-align: -6px;
    margin-right: 4px;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--violet));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: #1a1400;
    flex-shrink: 0;
}

.testimonial-card .author-info {
    display: flex;
    flex-direction: column;
}

.testimonial-card .author-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.testimonial-card .author-role {
    font-size: 12px;
    color: var(--faint);
}

/* ============================================================
   CHANGELOG (removed — section deleted from index.html)
   ============================================================ */

/* ============================================================
   ENHANCED CARD HOVER GLOW
   ============================================================ */
.card {
    transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), background 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--glass-border-hi);
    background: var(--glass-strong);
    box-shadow: 0 8px 32px rgba(232, 197, 71, 0.08);
}

/* ============================================================
   WHAT'S NEW BADGE (navbar)
   ============================================================ */
.whats-new-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(232, 197, 71, 0.12);
    border: 1px solid rgba(232, 197, 71, 0.25);
    color: var(--gold);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.25s var(--ease);
}

.whats-new-badge:hover {
    background: rgba(232, 197, 71, 0.2);
    border-color: var(--gold);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

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

    .col-2,
    .col-4 {
        grid-column: span 2;
    }

    .security-card {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .glass-frame {
        transform: none;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: clamp(28px, 5.5vw, 50px);
        letter-spacing: -0.02em;
        padding: 0 8px;
    }
}

@media (max-width: 560px) {
    .hero {
        padding: 130px 24px 30px;
    }

    .hero-strip {
        flex-direction: column;
        gap: 12px;
        padding: 20px;
    }

    .strip-div {
        width: 100%;
        height: 1px;
    }

    .section {
        padding: 56px 20px;
    }

    .bento {
        grid-template-columns: 1fr;
    }

    .col-2,
    .col-4 {
        grid-column: span 1;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-lg {
        width: 100%;
        justify-content: center;
    }

    .nav-right .btn-ghost {
        display: none;
    }

    .hero h1 {
        font-size: clamp(24px, 7vw, 38px);
        letter-spacing: -0.015em;
        padding: 0 6px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .blob,
    .pill .dot,
    .hero h1 .grad,
    .marquee-track,
    .sec-visual::before,
    .aurora::before {
        animation: none !important;
    }

    .seq,
    .reveal {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }

    .cursor-glow {
        display: none;
    }
}

/* ============================================================
   DOWNLOAD PAGE
   ============================================================ */

/* --- Hero --- */
.dl-hero {
    position: relative;
    max-width: 780px;
    margin: 0 auto;
    padding: 180px 24px 0;
    text-align: center;
    overflow: hidden;
}

.dl-hero-glow {
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 197, 71, 0.12), transparent 65%);
    pointer-events: none;
    z-index: 0;
    animation: heroPulse 6s ease-in-out infinite;
}

@keyframes heroPulse {
    0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

.dl-hero h1 {
    font-size: clamp(42px, 7vw, 76px);
    font-weight: 800;
    letter-spacing: -0.045em;
    color: #fff;
    line-height: 1.02;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.dl-hero h1 .grad {
    background: linear-gradient(120deg, var(--gold), var(--gold-bright), #fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dl-sub {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--muted);
    max-width: 560px;
    margin: 0 auto 44px;
    position: relative;
    z-index: 1;
}

/* --- Download Card --- */
.dl-card {
    position: relative;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(90% 140% at 50% 0%, rgba(232, 197, 71, 0.14), transparent 60%),
        var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    padding: 48px 36px 40px;
    box-shadow:
        0 40px 90px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(232, 197, 71, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    overflow: hidden;
    transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.dl-card:hover {
    border-color: var(--glass-border-hi);
    box-shadow:
        0 40px 90px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(232, 197, 71, 0.10);
}

.dl-card-glow {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 197, 71, 0.18), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.dl-os {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.dl-os-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(232, 197, 71, 0.1);
    border: 1px solid rgba(232, 197, 71, 0.2);
}

.dl-os-name {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-align: left;
}

.dl-os-meta {
    font-size: 13px;
    color: var(--faint);
    text-align: left;
    margin-top: 2px;
}

.dl-btn {
    position: relative;
    z-index: 1;
    min-width: 280px;
    padding: 16px 36px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}

.dl-meta-row {
    display: flex;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.dl-meta-chip {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    color: var(--faint);
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    letter-spacing: 0.02em;
}

.dl-hint {
    font-size: 13px;
    color: var(--faint);
    position: relative;
    z-index: 1;
}

.dl-alt {
    font-size: 14px;
    color: var(--muted);
    position: relative;
    z-index: 1;
}

/* --- Sections --- */
.dl-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 24px;
}

.dl-section .section-head {
    text-align: center;
    margin-bottom: 48px;
}

.dl-section .section-head .eyebrow {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
    font-weight: 600;
}

.dl-section .section-head h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: -0.035em;
    color: #fff;
    line-height: 1.1;
}

/* --- Steps (redesigned) --- */
.dl-steps {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.dl-step {
    flex: 1;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    transition: all 0.45s var(--ease);
    position: relative;
}

.dl-step:hover {
    transform: translateY(-6px);
    border-color: var(--glass-border-hi);
    box-shadow: 0 12px 40px rgba(232, 197, 71, 0.08);
}

.dl-step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(232, 197, 71, 0.12), rgba(232, 197, 71, 0.04));
    border: 1px solid rgba(232, 197, 71, 0.18);
    color: var(--gold);
    margin-bottom: 20px;
}

.dl-step-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 12px;
    letter-spacing: 0.08em;
}

.dl-step h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.dl-step p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}

.dl-step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    flex-shrink: 0;
    position: relative;
}

.dl-step-connector::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(232, 197, 71, 0.3), rgba(232, 197, 71, 0.08));
    transform: translateY(-50%);
}

.dl-step-connector::after {
    content: '→';
    position: relative;
    z-index: 1;
    font-size: 16px;
    color: var(--gold);
    background: var(--bg);
    padding: 4px 8px;
    border-radius: 8px;
}

/* --- Features Grid --- */
.dl-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.dl-feature {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius);
    padding: 32px 24px;
    transition: all 0.4s var(--ease);
}

.dl-feature:hover {
    transform: translateY(-4px);
    border-color: var(--glass-border-hi);
    box-shadow: 0 8px 32px rgba(232, 197, 71, 0.06);
}

.dl-feature-icon {
    font-size: 28px;
    margin-bottom: 16px;
}

.dl-feature h4 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.dl-feature p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.65;
}

/* --- System Requirements --- */
.dl-req-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius);
    overflow: hidden;
}

.dl-req-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.3s var(--ease);
}

.dl-req-row:last-child {
    border-bottom: none;
}

.dl-req-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.dl-req-label {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    min-width: 160px;
}

.dl-req-value {
    font-size: 14px;
    color: var(--muted);
    text-align: right;
}

/* --- FAQ --- */
.dl-faq {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dl-faq-item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s var(--ease);
}

.dl-faq-item[open] {
    border-color: rgba(232, 197, 71, 0.22);
}

.dl-faq-item summary {
    padding: 20px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.3s var(--ease);
}

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

.dl-faq-item summary::after {
    content: '+';
    font-size: 20px;
    font-weight: 300;
    color: var(--gold);
    transition: transform 0.3s var(--ease);
}

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

.dl-faq-item summary:hover {
    color: var(--gold-bright);
}

.dl-faq-body {
    padding: 0 24px 20px;
}

.dl-faq-body p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
}

/* --- Privacy Card --- */
.dl-privacy-card {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 32px 36px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(232, 197, 71, 0.06), rgba(232, 197, 71, 0.02));
    border: 1px solid rgba(232, 197, 71, 0.18);
    transition: border-color 0.4s var(--ease);
}

.dl-privacy-card:hover {
    border-color: rgba(232, 197, 71, 0.35);
}

.dl-privacy-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(232, 197, 71, 0.1);
    border: 1px solid rgba(232, 197, 71, 0.2);
    color: var(--gold);
}

.dl-privacy-text {
    flex: 1;
}

.dl-privacy-text h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.dl-privacy-text p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
}

.dl-privacy-link {
    flex-shrink: 0;
    white-space: nowrap;
}

/* ============================================================
   PROVIDERS MARQUEE — seamless infinite scroll
   ============================================================ */
.providers {
    position: relative;
    padding: 32px 0 48px;
    overflow: hidden;
}

.providers .eyebrow {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 28px;
}

.marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%
    );
}

.marquee-track {
    display: flex;
    gap: 28px;
    width: max-content;
    animation: marqueeScroll 30s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.provider-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 999px;
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
}

.provider-chip:hover {
    background: var(--glass-strong);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.pdot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 8px currentColor;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.333%);
    }
}

/* --- Download Page Responsive --- */
@media (max-width: 760px) {
    .dl-hero {
        padding-top: 140px;
    }

    .dl-steps {
        flex-direction: column;
        gap: 16px;
    }

    .dl-step-connector {
        width: auto;
        height: 32px;
    }

    .dl-step-connector::before {
        top: 0;
        bottom: 0;
        left: 50%;
        right: auto;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg, rgba(232, 197, 71, 0.3), rgba(232, 197, 71, 0.08));
        transform: translateX(-50%);
    }

    .dl-step-connector::after {
        content: '↓';
    }

    .dl-features {
        grid-template-columns: 1fr;
    }

    .dl-req-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .dl-req-value {
        text-align: left;
    }

    .dl-privacy-card {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
    }

    .dl-card {
        padding: 36px 20px 32px;
    }

    .dl-meta-row {
        flex-wrap: wrap;
        justify-content: center;
    }

    .provider-chip {
        padding: 10px 18px;
        font-size: 13px;
        gap: 8px;
    }

    .marquee-track {
        gap: 18px;
        animation-duration: 20s;
    }
}

/* (duplicate pricing block removed — canonical block is above) */

/* (third duplicate pricing block removed — canonical block is above) */

/* ==========================================================================
   LEGAL PAGES — Terms of Service, Privacy, EULA
   ========================================================================== */

/* --- Hero --- */
.legal-hero {
    padding: 140px 24px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.legal-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(240, 192, 64, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.legal-hero-inner {
    max-width: 680px;
    margin: 0 auto;
    position: relative;
}

.legal-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(240, 192, 64, 0.1);
    border: 1px solid rgba(240, 192, 64, 0.2);
    border-radius: 999px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 20px;
}

.legal-pill svg {
    opacity: 0.8;
}

.legal-hero h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    color: var(--heading);
    line-height: 1.15;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.legal-hero-sub {
    font-size: 17px;
    color: var(--body);
    line-height: 1.7;
    margin: 0 0 24px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.legal-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.legal-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--faint);
}

.legal-meta-item svg {
    opacity: 0.5;
}

/* --- Body Layout --- */
.legal-body {
    padding: 0 24px 100px;
}

.legal-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

/* --- Sticky Sidebar TOC --- */
.legal-toc {
    display: block;
}

.legal-toc-sticky {
    position: sticky;
    top: 100px;
}

.legal-toc-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--faint);
    margin: 0 0 16px;
    padding-left: 12px;
}

.legal-toc-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-left: 2px solid rgba(255, 255, 255, 0.06);
}

.legal-toc-link {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--faint);
    text-decoration: none;
    padding: 6px 12px;
    border-left: 2px solid transparent;
    margin-left: -2px;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    border-radius: 0 6px 6px 0;
}

.legal-toc-link:hover {
    color: var(--heading);
    background: rgba(255, 255, 255, 0.03);
}

.legal-toc-link.active {
    color: var(--gold);
    border-left-color: var(--gold);
    background: rgba(240, 192, 64, 0.05);
}

/* --- Main Content --- */
.legal-content {
    max-width: 720px;
    min-width: 0;
}

/* --- Sections --- */
.legal-section {
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    scroll-margin-top: 90px;
}

.legal-section:first-child {
    padding-top: 0;
}

.legal-section:last-of-type {
    border-bottom: none;
}

.legal-section h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 20px;
    line-height: 1.3;
}

.legal-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(240, 192, 64, 0.1);
    color: var(--gold);
    font-size: 14px;
    font-weight: 800;
    flex-shrink: 0;
}

.legal-section p {
    font-size: 15px;
    color: var(--body);
    line-height: 1.8;
    margin: 0 0 16px;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s;
}

.legal-section a:hover {
    opacity: 0.8;
}

.legal-section strong {
    color: var(--heading);
    font-weight: 600;
}

/* --- Lists --- */
.legal-section ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.legal-section ul li {
    position: relative;
    font-size: 15px;
    color: var(--body);
    line-height: 1.8;
    padding-left: 22px;
    margin-bottom: 10px;
}

.legal-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 2px;
    background: var(--gold);
    opacity: 0.6;
}

.legal-section ul li:last-child {
    margin-bottom: 0;
}

/* --- Callout Boxes --- */
.legal-callout {
    display: flex;
    gap: 14px;
    background: rgba(240, 192, 64, 0.06);
    border: 1px solid rgba(240, 192, 64, 0.15);
    border-radius: 12px;
    padding: 18px 20px;
    margin: 0 0 20px;
}

.legal-callout-warning {
    background: rgba(255, 100, 80, 0.06);
    border-color: rgba(255, 100, 80, 0.15);
}

.legal-callout-icon {
    font-size: 20px;
    flex-shrink: 0;
    line-height: 1.4;
}

.legal-callout-body {
    font-size: 14px;
    color: var(--body);
    line-height: 1.7;
}

.legal-callout-body strong {
    color: var(--heading);
}

/* --- Contact Card --- */
.legal-contact-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    margin-top: 16px;
}

.legal-contact-method {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--heading);
    font-weight: 500;
}

.legal-contact-method svg {
    color: var(--gold);
    opacity: 0.7;
    flex-shrink: 0;
}

/* --- Disclaimer --- */
.legal-disclaimer {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 16px 18px;
    margin-top: 40px;
}

.legal-disclaimer svg {
    color: var(--faint);
    flex-shrink: 0;
    margin-top: 2px;
}

.legal-disclaimer p {
    font-size: 13px;
    color: var(--faint);
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

/* --- Back & Print --- */
.legal-back-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-back,
.legal-print-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--faint);
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    transition: all 0.2s;
}

.legal-back:hover,
.legal-print-btn:hover {
    color: var(--heading);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
}

.legal-print-btn {
    font-family: inherit;
}

/* --- Print Styles --- */
@media print {
    .legal-hero::before,
    .aurora,
    .grain,
    .cursor-glow,
    .legal-toc,
    .legal-print-btn,
    #toTop,
    .nav-shell,
    .footer,
    footer + div {
        display: none !important;
    }

    .legal-hero {
        padding: 20px 0;
    }

    .legal-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .legal-section {
        page-break-inside: avoid;
    }

    body {
        background: white;
        color: #111;
    }
}

/* --- Mobile --- */
@media (max-width: 768px) {
    .legal-hero {
        padding: 120px 20px 40px;
    }

    .legal-hero h1 {
        font-size: 28px;
    }

    .legal-hero-sub {
        font-size: 15px;
    }

    .legal-meta {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .legal-body {
        padding: 0 20px 60px;
    }

    .legal-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .legal-toc {
    margin-bottom: 20px;
        padding-bottom: 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .legal-toc-sticky {
        position: relative;
        top: 0;
    }

    .legal-toc-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
        border-left: none;
    }

    .legal-toc-link {
        font-size: 12px;
        padding: 5px 10px;
        border-left: none;
        margin-left: 0;
        background: rgba(255, 255, 255, 0.04);
        border-radius: 6px;
    }

    .legal-toc-link.active {
        background: rgba(240, 192, 64, 0.12);
    }

    .legal-section h2 {
        font-size: 18px;
    }

    .legal-num {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .legal-back-wrap {
        flex-direction: column;
    }

    .legal-back,
    .legal-print-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Legal sub-headings (3.1, 3.2, etc.) */
.legal-section h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    margin: 24px 0 12px;
    padding-left: 44px;
}

/* ---- Nav Avatar (Account Panel) ---- */
.nav-avatar-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-left: 8px;
}

.nav-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-deep), var(--gold));
    color: #1a1400;
    font-weight: 800;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(232, 197, 71, 0.25);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
    border: 2px solid transparent;
}

.nav-avatar-link:hover .nav-avatar {
    transform: scale(1.08);
    box-shadow: 0 4px 14px rgba(232, 197, 71, 0.35);
    border-color: rgba(232, 197, 71, 0.4);
}


/* ============================================================
   V3 — INDUSTRY DARK RESKIN (Cursor / Devin / Qoder direction)
   Appended override layer: same class names, flatter surfaces,
   near-black canvas, hairline borders, white primary CTA,
   tighter type. Later rules win at equal specificity.
   ============================================================ */

:root {
    --bg: #050505;
    --bg-elevated: #0a0a0c;
    --bg-surface: #0d0d10;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-strong: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hi: rgba(255, 255, 255, 0.16);
    --hairline: rgba(255, 255, 255, 0.07);
    --hairline-hi: rgba(255, 255, 255, 0.15);
    --radius: 14px;
    --radius-lg: 18px;
}

/* ── Canvas: kill the colorful blobs, keep ONE quiet warm glow + dot grid ── */
.blob { display: none; }

.aurora::before {
    inset: 0;
    background:
        radial-gradient(900px 480px at 50% -12%, rgba(232, 197, 71, 0.07), transparent 65%),
        radial-gradient(1200px 700px at 50% -20%, rgba(255, 255, 255, 0.04), transparent 60%);
    animation: none;
}

.aurora::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px);
    background-size: 26px 26px;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 42%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 42%);
}

.grain { opacity: 0.35; }

/* ── Navbar: slim, flat, hairline ── */
.navbar {
    height: 56px;
    border-radius: 12px;
    background: rgba(8, 8, 9, 0.72);
    border: 1px solid var(--hairline);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.navbar.scrolled {
    background: rgba(8, 8, 9, 0.86);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
}

.btn-gold {
    background: #fff;
    color: #0a0a0a;
    border: 1px solid #fff;
    box-shadow: none;
    border-radius: 9px;
    font-weight: 600;
}

.btn-gold:hover {
    background: #e6e6e6;
    border-color: #e6e6e6;
    box-shadow: 0 6px 22px rgba(255, 255, 255, 0.12);
    color: #0a0a0a;
}

.btn-ghost {
    border-radius: 9px;
    border: 1px solid transparent;
    color: var(--muted);
}

.btn-ghost:hover { color: var(--ink); border-color: var(--hairline); background: var(--glass); }

/* ── Hero type: bigger, tighter, calmer ── */
.hero h1 {
    font-size: clamp(38px, 5.6vw, 74px);
    font-weight: 650;
    letter-spacing: -0.042em;
    line-height: 1.03;
}

.hero h1 .grad {
    background: linear-gradient(115deg, #fff 20%, var(--gold-bright) 55%, var(--gold) 85%);
    background-size: 100% 100%;
    /* The `background:` shorthand above RESETS background-clip to border-box,
       killing the text clip from the original rule — the line then renders as
       a solid gradient bar with invisible text. Re-declare the clip here. */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: riseIn 1.1s var(--ease-soft) both;
}

.hero .sub {
    font-size: clamp(15px, 1.6vw, 18px);
    color: var(--muted);
    max-width: 620px;
    line-height: 1.65;
}

.pill {
    background: var(--glass);
    border: 1px solid var(--hairline);
    box-shadow: none;
    font-size: 13px;
    color: var(--muted);
}

.eyebrow {
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--faint);
    font-weight: 600;
}

/* ── CTAs: white primary (Cursor-style), hairline secondary ── */
.btn-lg { border-radius: 10px; padding: 14px 28px; font-size: 15px; }

.btn-lg.primary {
    background: #fff;
    color: #0a0a0a;
    font-weight: 600;
    box-shadow: 0 4px 24px rgba(255, 255, 255, 0.10);
}

.btn-lg.primary::after { display: none; }

.btn-lg.primary:hover {
    background: #e8e8e8;
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}

.btn-lg.glass {
    background: transparent;
    border: 1px solid var(--hairline-hi);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.btn-lg.glass:hover {
    background: var(--glass);
    border-color: rgba(255, 255, 255, 0.28);
}

/* ── Surfaces: flat, hairline, restrained hover ── */
.card,
.step,
.testimonial-card,
.faq-item,
.security-card,
.sec-visual,
.cta-glass,
.gallery-item {
    background: var(--bg-elevated);
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.card:hover,
.step:hover,
.testimonial-card:hover,
.gallery-item:hover {
    background: var(--bg-surface);
    border-color: var(--hairline-hi);
    transform: translateY(-2px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.card h3, .step h3 { letter-spacing: -0.015em; font-weight: 600; }

.glyph {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: var(--glass);
    border: 1px solid var(--hairline);
    border-radius: 10px;
    margin-bottom: 14px;
    filter: grayscale(0.35);
}

/* ── Showcase frame: hairline + deep shadow + top light line ── */
.glass-frame {
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    background: var(--bg-elevated);
    box-shadow: 0 60px 160px -40px rgba(0, 0, 0, 0.85);
    position: relative;
}

.glass-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(232, 197, 71, 0.5), transparent);
    z-index: 2;
}

/* ── Chips & marquee ── */
.provider-chip,
.lang {
    background: var(--glass);
    border: 1px solid var(--hairline);
    border-radius: 999px;
    color: var(--muted);
    box-shadow: none;
}

.provider-chip:hover { border-color: var(--hairline-hi); color: var(--ink); }

/* ── Section headings ── */
.section-head h2,
.security-card h2,
.cta-glass h2 {
    letter-spacing: -0.03em;
    font-weight: 650;
}

/* ── FAQ ── */
.faq-item { border-radius: 12px; }
.faq-q { font-weight: 550; }

/* ── Final CTA: quiet gold wash on flat panel ── */
.cta-glass {
    background:
        radial-gradient(720px 300px at 50% -30%, rgba(232, 197, 71, 0.09), transparent 70%),
        var(--bg-elevated);
}

/* ── Focus & selection polish ── */
::selection { background: rgba(232, 197, 71, 0.28); color: #fff; }

a:focus-visible,
button:focus-visible,
.btn-lg:focus-visible {
    outline: 2px solid rgba(232, 197, 71, 0.7);
    outline-offset: 2px;
    border-radius: 10px;
}

/* ── V3.1 Hero refinements ── */
.hero h1 { text-wrap: balance; }

.pill { padding: 6px 9px 6px 15px; gap: 10px; }

.pill-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--gold-bright);
    font-weight: 600;
    font-size: 12.5px;
    padding: 2px 4px 2px 11px;
    border-left: 1px solid var(--hairline-hi);
    line-height: 1;
}

.pill-link:hover { color: #fff; }

.pill-link .pill-arr {
    display: inline-block;
    transition: transform 0.3s var(--ease);
}

.pill-link:hover .pill-arr { transform: translateX(3px); }

.btn-lg .arr {
    display: inline-block;
    margin-left: 2px;
    transition: transform 0.3s var(--ease);
}

.btn-lg.primary:hover .arr { transform: translateX(3px); }

.hero-note {
    margin-top: 18px;
    font-size: 13px;
    color: var(--faint);
    letter-spacing: 0.01em;
}

/* Stat strip: borderless, quiet (Devin-style) */
.hero-strip {
    margin-top: 52px;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    max-width: 780px;
}

.strip-item { padding: 0 30px; }

.strip-val {
    font-weight: 600;
    font-size: 16px;
    letter-spacing: -0.01em;
}

.strip-val .strip-dim { color: var(--faint); font-size: 13px; font-weight: 500; }

.strip-lbl { color: var(--faint); font-size: 11.5px; }

.strip-div { height: 26px; background: var(--hairline); }

@media (max-width: 640px) {
    .hero-strip { flex-wrap: wrap; gap: 18px 0; }
    .strip-item { flex: 1 1 40%; padding: 0 12px; }
    .strip-div { display: none; }
}

/* ── V3.2 Footer: brand column + grouped link columns + bottom bar ── */
.footer {
    display: block;
    border-top: 1px solid var(--hairline);
    padding: 56px 24px 0;
}

.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 2fr;
    gap: 48px;
    padding-bottom: 44px;
}

.footer-brand-col .brand { margin-bottom: 14px; }

.footer-brand-col .footer-note {
    max-width: 300px;
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--faint);
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.footer-social a {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--hairline);
    border-radius: 9px;
    color: var(--muted);
    transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.footer-social a:hover {
    color: #fff;
    border-color: var(--hairline-hi);
    background: var(--glass);
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-col-title {
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: var(--faint);
    font-weight: 600;
    margin-bottom: 5px;
}

.footer-col a {
    color: var(--muted);
    font-size: 14px;
    width: fit-content;
    transition: color 0.2s var(--ease);
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 18px 0 30px;
    border-top: 1px solid var(--hairline);
    color: var(--faint);
    font-size: 12.5px;
}

@media (max-width: 760px) {
    .footer-inner { grid-template-columns: 1fr; gap: 36px; }
    .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
}

/* ── V3.3 Download page: full-screen width, 70px edge padding both sides ── */
.dl-hero {
    max-width: none;
    padding-left: 70px;
    padding-right: 70px;
}

.dl-section {
    max-width: none;
    padding-left: 70px;
    padding-right: 70px;
}

/* Download card: full-bleed like the page — spans edge to edge inside the
   hero's 70px gutters. */
.dl-card {
    width: 100%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 720px) {
    .dl-hero,
    .dl-section {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* ── V3.4 Navbar brand is a home link — keep its color stable on hover ── */
a.brand,
a.brand:hover { color: #fff; }
a.brand:hover .brand-mark,
a.brand:hover .brand-logo { transform: scale(1.06); }
.brand-mark { transition: transform 0.25s var(--ease); }
.brand-logo { transition: transform 0.25s var(--ease); }

/* ============================================================
   MAGICAL SHOWCASE — aurora, gradient ring, shine sweep, glow
   (final layer: intentionally overrides the flat-surface pass)
   ============================================================ */

/* Rotating angle for the gradient ring (falls back to static where
   @property is unsupported) */
@property --ring-ang {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/* ── Aurora: two drifting light blobs behind the frame ── */
.showcase {
    position: relative;
    isolation: isolate;
}

.showcase::before,
.showcase::after {
    content: '';
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
}

.showcase::before {
    width: 55%;
    height: 60%;
    top: -12%;
    left: 4%;
    background: radial-gradient(circle at 40% 40%,
        rgba(232, 197, 71, 0.20), rgba(232, 197, 71, 0.05) 55%, transparent 75%);
    animation: auroraDriftA 14s ease-in-out infinite alternate;
}

.showcase::after {
    width: 48%;
    height: 55%;
    bottom: 6%;
    right: 3%;
    background: radial-gradient(circle at 60% 60%,
        rgba(120, 140, 255, 0.13), rgba(120, 140, 255, 0.04) 55%, transparent 75%);
    animation: auroraDriftB 18s ease-in-out infinite alternate;
}

@keyframes auroraDriftA {
    from { transform: translate3d(-4%, 2%, 0) scale(1); opacity: .85; }
    to   { transform: translate3d(6%, -4%, 0) scale(1.15); opacity: 1; }
}

@keyframes auroraDriftB {
    from { transform: translate3d(4%, -2%, 0) scale(1.1); opacity: .7; }
    to   { transform: translate3d(-5%, 4%, 0) scale(0.95); opacity: 1; }
}

/* ── Frame: deepen glow + slowly rotating gold gradient ring ── */
.glass-frame {
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.07) inset,
        0 60px 160px -40px rgba(0, 0, 0, 0.85),
        0 0 120px rgba(232, 197, 71, 0.10);
}

.glass-frame::after {
    content: '';
    position: absolute;
    inset: 0; /* frame is overflow:hidden — a -1px ring would be clipped */
    border-radius: inherit;
    padding: 1px;
    background: conic-gradient(from var(--ring-ang, 0deg),
        transparent 0deg,
        rgba(232, 197, 71, 0.55) 40deg,
        rgba(245, 216, 112, 0.9) 60deg,
        rgba(232, 197, 71, 0.55) 80deg,
        transparent 130deg,
        transparent 250deg,
        rgba(232, 197, 71, 0.28) 300deg,
        transparent 340deg);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: ringSpin 9s linear infinite;
    pointer-events: none;
    z-index: 3;
}

@keyframes ringSpin {
    to { --ring-ang: 360deg; }
}

/* ── Shine sweep across the screenshot ── */
.frame-body-real::after {
    content: '';
    position: absolute;
    top: -20%;
    bottom: -20%;
    left: -30%;
    width: 34%;
    background: linear-gradient(105deg,
        transparent 0%,
        rgba(255, 255, 255, 0.045) 42%,
        rgba(255, 246, 214, 0.11) 50%,
        rgba(255, 255, 255, 0.045) 58%,
        transparent 100%);
    transform: skewX(-14deg);
    animation: shineSweep 7s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes shineSweep {
    0%       { left: -35%; opacity: 0; }
    8%       { opacity: 1; }
    34%      { left: 108%; opacity: 1; }
    42%, 100%{ left: 108%; opacity: 0; }
}

/* ── Floor glow: soft gold light pooling under the frame ── */
.showcase .glass-frame {
    margin-bottom: 8px;
}

.showcase-gallery {
    position: relative;
}

.showcase-gallery::before {
    content: '';
    position: absolute;
    top: -46px;
    left: 12%;
    right: 12%;
    height: 60px;
    background: radial-gradient(ellipse at 50% 0%,
        rgba(232, 197, 71, 0.10), transparent 70%);
    filter: blur(18px);
    pointer-events: none;
    z-index: -1;
}

/* ── Gallery cards: gold ring, lift, image zoom, caption glow ── */
.gallery-item {
    position: relative;
    overflow: hidden;
    transition: transform 0.45s var(--ease), border-color 0.45s var(--ease),
                box-shadow 0.45s var(--ease), background 0.45s var(--ease);
}

.gallery-item img {
    transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
    filter: saturate(0.92) brightness(0.96);
}

.gallery-item span {
    transition: color 0.35s var(--ease), letter-spacing 0.35s var(--ease);
}

.gallery-item:hover {
    transform: translateY(-6px) scale(1.015);
    border-color: rgba(232, 197, 71, 0.45);
    background: var(--bg-surface);
    box-shadow:
        0 22px 60px rgba(0, 0, 0, 0.55),
        0 0 40px rgba(232, 197, 71, 0.12);
}

.gallery-item:hover img {
    transform: scale(1.045);
    filter: saturate(1.05) brightness(1.03);
}

.gallery-item:hover span {
    color: var(--gold);
    letter-spacing: 0.02em;
}

/* Small shine on gallery hover */
.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 34%;
    left: -60%;
    width: 40%;
    background: linear-gradient(105deg, transparent,
        rgba(255, 255, 255, 0.10) 50%, transparent);
    transform: skewX(-14deg);
    transition: left 0.7s var(--ease);
    pointer-events: none;
}

.gallery-item:hover::after {
    left: 130%;
}

/* ── Accessibility: kill the motion for reduced-motion users ── */
@media (prefers-reduced-motion: reduce) {
    .showcase::before,
    .showcase::after,
    .glass-frame::after,
    .frame-body-real::after {
        animation: none;
    }
    .frame-body-real::after { display: none; }
}

/* ============================================================
   DOCS PAGE — tables, inline code, kbd, key-format chips
   ============================================================ */
.legal-content code {
    font-family: 'JetBrains Mono', Consolas, monospace;
    font-size: 0.86em;
    background: rgba(232, 197, 71, 0.08);
    border: 1px solid rgba(232, 197, 71, 0.18);
    color: var(--gold-bright);
    padding: 1px 7px;
    border-radius: 6px;
    white-space: nowrap;
}

.legal-content kbd {
    font-family: 'JetBrains Mono', Consolas, monospace;
    font-size: 0.8em;
    background: var(--bg-elevated);
    border: 1px solid var(--hairline-hi);
    border-bottom-width: 2px;
    color: var(--ink);
    padding: 2px 8px;
    border-radius: 6px;
    white-space: nowrap;
}

.docs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0 26px;
    font-size: 13.5px;
    border: 1px solid var(--hairline);
    border-radius: 10px;
    overflow: hidden;
    display: block;
    overflow-x: auto;
}

.docs-table thead th {
    background: var(--bg-elevated);
    color: var(--muted);
    text-align: left;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--hairline);
    white-space: nowrap;
}

.docs-table tbody td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--hairline);
    color: var(--muted);
    vertical-align: top;
}

.docs-table tbody tr:last-child td { border-bottom: none; }
.docs-table tbody td:first-child { color: var(--ink); font-weight: 550; white-space: nowrap; }

.docs-step {
    display: flex;
    gap: 14px;
    margin: 14px 0;
    align-items: flex-start;
}

.docs-step-num {
    flex: 0 0 26px;
    height: 26px;
    border-radius: 8px;
    background: rgba(232, 197, 71, 0.12);
    border: 1px solid rgba(232, 197, 71, 0.3);
    color: var(--gold);
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== AGENTIC LOOP ENGINEERING CARDS (index #loop-engineering) ===== */
.loop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 18px;
    align-items: stretch;
}

.loop-card {
    display: flex;
    flex-direction: column;
}

.loop-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--glass-border);
}

.loop-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loop-icon.gold  { background: rgba(232, 197, 71, 0.12);  border: 1px solid rgba(232, 197, 71, 0.35);  color: var(--gold); }
.loop-icon.blue  { background: rgba(74, 158, 255, 0.12);  border: 1px solid rgba(74, 158, 255, 0.35);  color: #4a9eff; }
.loop-icon.red   { background: rgba(255, 107, 107, 0.12); border: 1px solid rgba(255, 107, 107, 0.35); color: #ff6b6b; }

.loop-card-title h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.loop-card-title span {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: var(--faint);
}

/* --- Card 1: phase pipeline --- */
.phase-list {
    position: relative;
    display: flex;
    flex-direction: column;
}

.phase-list::before {
    content: '';
    position: absolute;
    left: 3.5px;
    top: 14px;
    bottom: 14px;
    width: 1px;
    background: linear-gradient(rgba(232, 197, 71, 0.45), rgba(232, 197, 71, 0.05));
}

.phase-step {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 6px 0;
    position: relative;
}

.phase-dot {
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 8px rgba(232, 197, 71, 0.5);
    align-self: center;
}

.phase-step.halt .phase-dot {
    background: #ff6b6b;
    box-shadow: 0 0 8px rgba(255, 107, 107, 0.5);
}

.phase-name {
    flex: 0 0 76px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--gold);
}

.phase-step.halt .phase-name { color: #ff8080; }

.phase-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}

/* --- Card 2: autonomy modes --- */
.mode-block {
    border: 1px solid var(--glass-border);
    border-left: 3px solid var(--gold);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    padding: 12px 14px;
    margin-bottom: 12px;
}

.mode-block.auto { border-left-color: #4a9eff; }

.mode-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 6px;
}

.mode-block.auto .mode-name { color: #4a9eff; }

.mode-tag {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--faint);
}

.mode-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.55;
}

.blocked-strip { margin-top: auto; padding-top: 4px; }

.blocked-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ff8080;
    margin-bottom: 8px;
}

.cmd-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cmd-chip {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(255, 107, 107, 0.08);
    border: 1px solid rgba(255, 107, 107, 0.25);
    color: #ff9b9b;
    white-space: nowrap;
}

/* --- Card 3: reviewer rules + budgets --- */
.rule-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.rule {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}

.rule-ico {
    flex: 0 0 18px;
    height: 18px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    margin-top: 1px;
}

.rule-ico.block {
    background: rgba(255, 107, 107, 0.12);
    border: 1px solid rgba(255, 107, 107, 0.3);
    color: #ff6b6b;
}

.rule-ico.pass {
    background: rgba(94, 222, 138, 0.12);
    border: 1px solid rgba(94, 222, 138, 0.3);
    color: #5ede8a;
}

.budget-strip {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--glass-border);
}

.budget-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--faint);
    margin-bottom: 8px;
}

.budget-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.budget-chip {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(232, 197, 71, 0.07);
    border: 1px solid rgba(232, 197, 71, 0.22);
    color: var(--gold);
    white-space: nowrap;
}
