/* ============================================================
   QuoteCraft — Landing
   Self-contained design system. No frameworks.
   Dark bookends (nav, hero, CTA, footer) with light core
   sections (stats, products, bento, how-it-works).
   ============================================================ */

@font-face {
    font-family: 'Geist';
    src: url('/assets/fonts/Geist-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Geist';
    src: url('/assets/fonts/Geist-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Geist';
    src: url('/assets/fonts/Geist-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Geist';
    src: url('/assets/fonts/Geist-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #0B0B0F;
    --bg-elev: #0F0F15;
    --surface: #13131A;
    --surface-2: #17171F;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.14);
    --text: #F5F5F7;
    --text-2: #A2A2AC;
    --text-3: #8E8E98;
    --gold: #F5C344;
    --gold-bright: #FFD666;
    --gold-deep: #DBA82E;
    --gold-text: var(--gold);
    --gold-tint: rgba(245, 195, 68, 0.10);
    --gold-line: rgba(245, 195, 68, 0.28);
    --green: #4ADE80;
    --red: #F87171;
    --radius: 20px;
    --nav-h: 72px;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.55);
}

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

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

body {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

::selection {
    background: var(--gold);
    color: #131318;
}

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 4px;
}

.container {
    width: min(1200px, calc(100% - 48px));
    margin-inline: auto;
}

main {
    overflow-x: clip;
}

.skip-link {
    position: fixed;
    top: -60px;
    left: 16px;
    z-index: 2000;
    background: var(--gold);
    color: #131318;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 10px;
    transition: top 0.2s var(--ease-out);
}

.skip-link:focus {
    top: 12px;
}

/* ---------- Light sections ---------- */
.light {
    position: relative;
    overflow: clip;
    background: #F6F6F4;
    --surface: #FFFFFF;
    --surface-2: #FAFAF8;
    --line: rgba(18, 18, 22, 0.09);
    --line-strong: rgba(18, 18, 22, 0.16);
    --text: #17171B;
    --text-2: #50505A;
    --text-3: #6E6E78;
    --gold-text: #A87708;
    --gold-tint: rgba(219, 168, 46, 0.12);
    --gold-line: rgba(195, 145, 22, 0.35);
    --green: #15803D;
    --red: #B91C1C;
    color: var(--text);
}

.light > .container {
    position: relative;
    z-index: 1;
}

.light .text-gradient {
    background: linear-gradient(115deg, #E0A816, #A87708 85%);
    -webkit-background-clip: text;
    background-clip: text;
}

/* Drifting ambient blobs (light sections) */
.blob {
    position: absolute;
    width: 540px;
    height: 540px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(232, 175, 36, 0.13), transparent 64%);
    pointer-events: none;
    animation: drift 24s ease-in-out infinite alternate;
}

.blob.b2 {
    background: radial-gradient(circle at center, rgba(232, 175, 36, 0.09), transparent 64%);
    animation-duration: 30s;
    animation-delay: -12s;
}

.blob.b3 {
    background: radial-gradient(circle at center, rgba(255, 138, 76, 0.09), transparent 64%);
    animation-duration: 36s;
    animation-delay: -8s;
}

@keyframes drift {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(70px, -50px) scale(1.18); }
}

/* Dark island inside light sections (hero mockup, chips) */
.dark-scope {
    --surface: #13131A;
    --surface-2: #17171F;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.14);
    --text: #F5F5F7;
    --text-2: #A2A2AC;
    --text-3: #8E8E98;
    --gold-text: #F5C344;
    --gold-tint: rgba(245, 195, 68, 0.10);
    --gold-line: rgba(245, 195, 68, 0.28);
    --green: #4ADE80;
    --red: #F87171;
    color: var(--text);
}

.light .btn-ghost {
    background: rgba(18, 18, 22, 0.05);
    border-color: rgba(18, 18, 22, 0.18);
    color: var(--text);
}

.light .btn-ghost:hover {
    background: rgba(18, 18, 22, 0.09);
    border-color: rgba(18, 18, 22, 0.3);
}

/* Magnetic wrapper for hero CTAs */
.magnet {
    display: inline-block;
    transition: transform 0.4s var(--ease-out);
    will-change: transform;
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 1300;
    background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
    transform-origin: 0 50%;
    transform: scaleX(0);
    pointer-events: none;
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
    transition-delay: var(--d, 0s);
}

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.01em;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
        background-color 0.35s var(--ease-out), border-color 0.35s var(--ease-out),
        color 0.35s var(--ease-out);
    white-space: nowrap;
}

.btn svg {
    transition: transform 0.35s var(--ease-out);
}

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

.btn-gold {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--gold-bright), var(--gold));
    color: #131318;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 10px 30px rgba(245, 195, 68, 0.22);
}

.btn-gold::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 36%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: skewX(-22deg) translateX(-180%);
    transition: transform 0.7s var(--ease-out);
    pointer-events: none;
}

.btn-gold:hover::after {
    transform: skewX(-22deg) translateX(460%);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 16px 44px rgba(245, 195, 68, 0.34);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--line-strong);
    color: var(--text);
}

.btn-ghost:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.24);
}

/* ---------- Eyebrow / section headers ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-text);
}

.eyebrow::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--gold-text);
    opacity: 0.6;
}

.section-head {
    max-width: 720px;
    margin-bottom: 64px;
}

.section-head.center {
    margin-inline: auto;
    text-align: center;
}

.section-head.center .eyebrow::after {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--gold-text);
    opacity: 0.6;
}

.section-title {
    font-size: clamp(2.1rem, 4.4vw, 3.4rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.08;
    margin-top: 18px;
}

.section-sub {
    color: var(--text-2);
    font-size: clamp(1.02rem, 1.4vw, 1.17rem);
    margin-top: 18px;
    line-height: 1.65;
}

.text-gradient {
    background: linear-gradient(115deg, #FFE9A8 0%, var(--gold) 45%, var(--gold-deep) 90%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.reveal.in .text-gradient {
    animation: gradientPan 1.4s var(--ease-out) 0.15s 1 backwards;
}

@keyframes gradientPan {
    from { background-position: 120% 50%; }
    to { background-position: 0% 50%; }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
    --nav-ink: #17171B;
    --nav-mut: #50505A;
    --nav-hov: rgba(18, 18, 22, 0.05);
    --nav-line: rgba(18, 18, 22, 0.16);
    --nav-ghost-bg: rgba(18, 18, 22, 0.04);
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    transition: background-color 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
    border-bottom: 1px solid transparent;
}

.nav.on-dark {
    --nav-ink: #F5F5F7;
    --nav-mut: #A2A2AC;
    --nav-hov: rgba(255, 255, 255, 0.05);
    --nav-line: rgba(255, 255, 255, 0.14);
    --nav-ghost-bg: rgba(255, 255, 255, 0.04);
}

.nav.scrolled {
    background: rgba(248, 248, 246, 0.78);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom-color: rgba(18, 18, 22, 0.08);
}

.nav.on-dark.scrolled {
    background: rgba(11, 11, 15, 0.72);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

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

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

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

.nav-logo span {
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--nav-ink);
    transition: color 0.4s ease;
}

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

.nav-links > li {
    position: relative;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    color: var(--nav-mut);
    transition: color 0.25s ease, background-color 0.25s ease;
    background: none;
    border: none;
    font-family: inherit;
    cursor: pointer;
}

.nav-link:hover {
    color: var(--nav-ink);
    background: var(--nav-hov);
}

.nav-link .chev {
    transition: transform 0.3s var(--ease-out);
}

.nav-drop:hover .nav-link .chev,
.nav-drop:focus-within .nav-link .chev {
    transform: rotate(180deg);
}

/* Dropdown panel */
.drop-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(8px) scale(0.98);
    min-width: 320px;
    background: rgba(19, 19, 26, 0.92);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    backdrop-filter: blur(24px) saturate(160%);
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    padding: 8px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), visibility 0.25s;
}

.drop-panel::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.nav-drop:hover .drop-panel,
.nav-drop:focus-within .drop-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}

.drop-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    transition: background-color 0.2s ease;
}

.drop-item:hover,
.drop-item:focus-visible {
    background: rgba(255, 255, 255, 0.06);
    outline: 2px solid var(--gold);
    outline-offset: -2px;
}

.drop-item:hover {
    outline: none;
}

.drop-item:hover .drop-name,
.drop-item:focus-visible .drop-name {
    color: var(--gold);
}

.drop-ico {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--gold-tint);
    border: 1px solid var(--gold-line);
    display: grid;
    place-items: center;
    color: var(--gold);
}

.drop-name {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    transition: color 0.2s ease;
}

.drop-desc {
    display: block;
    font-size: 13px;
    color: var(--text-3);
    line-height: 1.4;
    white-space: nowrap;
}

.drop-panel.compact {
    min-width: 230px;
}

.drop-panel.compact .drop-item {
    padding: 11px 14px;
}

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

.nav-cta .nav-drop {
    position: relative;
}

.nav-cta .drop-panel {
    left: auto;
    right: 0;
    transform: translateY(8px) scale(0.98);
}

.nav-cta .nav-drop:hover .drop-panel,
.nav-cta .nav-drop:focus-within .drop-panel {
    transform: translateY(0) scale(1);
}

.btn-signin {
    padding: 11px 20px;
    font-size: 15px;
}

.nav .btn-ghost {
    background: var(--nav-ghost-bg);
    border-color: var(--nav-line);
    color: var(--nav-ink);
}

.nav .btn-ghost:hover {
    background: var(--nav-hov);
}

.btn-demo {
    padding: 11px 22px;
    font-size: 15px;
}

/* Burger */
.nav-burger {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--nav-line);
    border-radius: 12px;
    background: var(--nav-ghost-bg);
    cursor: pointer;
    position: relative;
    z-index: 1102;
}

.nav-burger span {
    position: absolute;
    left: 12px;
    right: 12px;
    height: 2px;
    border-radius: 2px;
    background: var(--nav-ink);
    transition: transform 0.35s var(--ease-out), opacity 0.25s ease, top 0.35s var(--ease-out),
        background-color 0.35s ease;
}

body.menu-open .nav-burger span {
    background: #F5F5F7;
}

.nav-burger span:nth-child(1) { top: 15px; }
.nav-burger span:nth-child(2) { top: 21px; }
.nav-burger span:nth-child(3) { top: 27px; }

body.menu-open .nav-burger span:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
}

body.menu-open .nav-burger span:nth-child(2) {
    opacity: 0;
}

body.menu-open .nav-burger span:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(11, 11, 15, 0.97);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    display: flex;
    flex-direction: column;
    padding: calc(var(--nav-h) + 24px) 28px 40px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease-out), visibility 0.35s;
}

body.menu-open .mobile-menu {
    opacity: 1;
    visibility: visible;
}

.mobile-menu .mm-group {
    border-bottom: 1px solid var(--line);
    padding: 22px 0;
}

.mm-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--gold);
    margin-bottom: 14px;
}

.mobile-menu a.mm-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text);
}

.mobile-menu a.mm-link small {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-3);
}

.mobile-menu a.mm-sub {
    display: block;
    padding: 13px 0;
    font-size: 17px;
    font-weight: 500;
    color: var(--text-2);
}

.mobile-menu a.mm-sub:hover {
    color: var(--gold);
}

.mm-item {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

body.menu-open .mm-item {
    opacity: 1;
    transform: none;
}

.mm-cta {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    padding: calc(var(--nav-h) + clamp(64px, 10vh, 110px)) 0 0;
    overflow: clip;
}

.hero.light {
    background: #F8F8F6;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-bg .grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(18, 18, 22, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18, 18, 22, 0.035) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 75%);
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 75%);
}

.hero-bg .glow {
    position: absolute;
    top: -260px;
    left: 50%;
    transform: translateX(-50%);
    width: 920px;
    height: 620px;
    background: radial-gradient(ellipse at center, rgba(232, 175, 36, 0.16), transparent 60%);
}

.hero-cursor-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 175, 36, 0.14), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    will-change: transform;
}

/* Word-by-word headline rise */
.hero h1 .w {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding-bottom: 0.08em;
    margin-bottom: -0.08em;
}

.hero h1 .wi {
    display: inline-block;
    animation: wordUp 0.9s var(--ease-out) var(--wd, 0s) backwards;
}

@keyframes wordUp {
    from {
        opacity: 0;
        transform: translateY(110%);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.hero h1 .wi.shimmer {
    animation: wordUp 0.9s var(--ease-out) var(--wd, 0s) backwards,
        shimmerPan 5s ease-in-out 1.6s infinite alternate;
}

@keyframes shimmerPan {
    from { background-position: 0% 50%; }
    to { background-position: 100% 50%; }
}

.hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 18px;
    border-radius: 999px;
    background: var(--gold-tint);
    border: 1px solid var(--gold-line);
    color: var(--gold-text);
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.hero-badge .pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 0 rgba(245, 195, 68, 0.55);
    animation: pulse 2.4s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(245, 195, 68, 0.55); }
    70% { box-shadow: 0 0 0 9px rgba(245, 195, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 195, 68, 0); }
}

.hero h1 {
    margin: 28px auto 0;
    max-width: 19ch;
    font-size: clamp(2.5rem, 6.6vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.04;
}

.hero-sub {
    margin: 26px auto 0;
    max-width: 640px;
    color: var(--text-2);
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    line-height: 1.65;
}

.hero-sub strong {
    color: var(--text);
    font-weight: 600;
}

.hero-ctas {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-note {
    margin-top: 22px;
    font-size: 14px;
    color: var(--text-3);
}

/* Hero load-in sequence */
.hero-seq {
    opacity: 0;
    transform: translateY(26px);
    animation: heroIn 1s var(--ease-out) forwards;
    animation-delay: var(--d, 0s);
}

@keyframes heroIn {
    to {
        opacity: 1;
        transform: none;
    }
}

/* ---------- Hero mockup ---------- */
.mockup-zone {
    position: relative;
    margin-top: clamp(56px, 8vh, 88px);
    padding-bottom: clamp(70px, 9vh, 120px);
    perspective: 1400px;
}

.mockup-glow {
    position: absolute;
    top: 12%;
    left: 50%;
    transform: translateX(-50%);
    width: min(900px, 92%);
    height: 70%;
    background: radial-gradient(ellipse at center, rgba(245, 195, 68, 0.14), transparent 62%);
    pointer-events: none;
}

.mockup {
    position: relative;
    width: min(1060px, 100%);
    margin-inline: auto;
    background: linear-gradient(180deg, #121219, #0E0E14);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.2s linear;
}

.mockup-wrap {
    opacity: 0;
    transform: translateY(60px) rotateX(14deg) scale(0.96);
    transform-origin: center top;
    transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out);
}

.mockup-wrap.in {
    opacity: 1;
    transform: none;
}

.mock-titlebar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
}

.mock-dots {
    display: flex;
    gap: 7px;
}

.mock-dots i {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #2E2E38;
}

.mock-dots i:first-child { background: #3E3E49; }

.mock-url {
    flex: 1;
    max-width: 320px;
    margin-inline: auto;
    text-align: center;
    font-size: 12.5px;
    color: var(--text-3);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 5px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.mock-url svg { opacity: 0.7; }

.mockup img {
    display: block;
    width: 100%;
    height: auto;
}

/* Floating chips */
.float-chip {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(22, 22, 30, 0.96);
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    animation: floaty 6s ease-in-out infinite;
    will-change: transform;
}

.float-chip small {
    display: block;
    font-size: 11px;
    color: var(--text-3);
    font-weight: 400;
}

.float-chip .chip-ico {
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    border-radius: 9px;
    display: grid;
    place-items: center;
}

.chip-1 {
    top: 27%;
    left: max(-20px, 1%);
    animation-delay: 0.3s;
}

.chip-1 .chip-ico {
    background: rgba(74, 222, 128, 0.12);
    color: var(--green);
}

.chip-2 {
    top: -26px;
    right: max(-16px, 1.5%);
    animation-duration: 7s;
}

.chip-2 .chip-ico {
    background: var(--gold-tint);
    color: var(--gold);
}

.chip-3 {
    bottom: 22%;
    right: max(-24px, 0.5%);
    animation-delay: 1.4s;
    animation-duration: 6.5s;
}

.chip-3 .chip-ico {
    background: var(--gold-tint);
    color: var(--gold);
}

@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
    padding: clamp(72px, 10vh, 110px) 0;
}

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

.stat {
    text-align: center;
    position: relative;
    padding: 12px 18px;
}

.stat + .stat::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 50%;
    transform: translateY(-50%);
    height: 64%;
    width: 1px;
    background: var(--line);
}

.stat-num {
    font-size: clamp(2.9rem, 5.4vw, 4.4rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    background: linear-gradient(180deg, #FFFFFF 30%, rgba(255, 255, 255, 0.55));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.light .stat-num {
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    color: #17171B;
}

.stat-num .accent {
    background: linear-gradient(115deg, #FFE9A8, var(--gold) 50%, var(--gold-deep));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.light .stat-num .accent {
    background: linear-gradient(115deg, #F0B521, #CE9712 85%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label {
    margin-top: 14px;
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-3);
}

/* ============================================================
   PRODUCT SHOWCASE
   ============================================================ */
.showcase {
    padding: clamp(40px, 6vh, 70px) 0 clamp(90px, 12vh, 140px);
    scroll-margin-top: var(--nav-h);
}

.show-row {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(36px, 5vw, 72px);
    align-items: center;
    perspective: 1400px;
}

.show-row + .show-row {
    margin-top: clamp(90px, 12vh, 140px);
}

.show-row.flip .show-copy { order: 2; }
.show-row.flip .show-media { order: 1; }

.show-num {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--gold-text);
}

.show-copy h3 {
    margin-top: 10px;
    font-size: clamp(1.7rem, 2.7vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.show-tag {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold-text);
}

.show-desc {
    margin-top: 16px;
    font-size: 16px;
    color: var(--text-2);
    line-height: 1.65;
}

.show-copy .arrow-link {
    margin-top: 26px;
}

.show-media {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    background: #FFFFFF;
    box-shadow: 0 30px 80px rgba(18, 18, 22, 0.14);
    transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.show-media:hover {
    box-shadow: 0 40px 95px rgba(18, 18, 22, 0.2);
}

.show-media img {
    display: block;
    width: 100%;
    height: auto;
}

/* Loss Run illustrative panel (no screenshot — UI redesign pending) */
.lossrun-art {
    padding: clamp(30px, 4.5vw, 56px);
    background: linear-gradient(160deg, #FFFFFF, #FAF6EC);
    display: grid;
    place-items: center;
}

.lr-doc {
    width: min(430px, 100%);
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 18px 50px rgba(18, 18, 22, 0.08);
}

.lr-doc-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lr-doc-ico {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    border-radius: 10px;
    background: var(--gold-tint);
    border: 1px solid var(--gold-line);
    display: grid;
    place-items: center;
    color: var(--gold-text);
}

.lr-doc-meta b {
    display: block;
    font-size: 14.5px;
    font-weight: 600;
}

.lr-doc-meta small {
    color: var(--text-3);
    font-size: 12px;
}

.lr-badge {
    margin-left: auto;
    font-size: 11px;
    font-weight: 600;
    color: var(--green);
    background: rgba(21, 128, 61, 0.08);
    padding: 4px 9px;
    border-radius: 6px;
    white-space: nowrap;
}

.lr-lines {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lr-lines i {
    display: block;
    height: 7px;
    border-radius: 4px;
    background: rgba(18, 18, 22, 0.06);
}

.sig-box {
    margin-top: 18px;
    border: 1px dashed var(--line-strong);
    border-radius: 10px;
    padding: 10px 14px 6px;
    background: rgba(18, 18, 22, 0.02);
}

.sig-box svg path {
    stroke-dasharray: 220;
    stroke-dashoffset: 220;
    transition: stroke-dashoffset 1.8s ease 0.5s;
}

.show-row.in .sig-box svg path {
    stroke-dashoffset: 0;
}

.sig-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--line-strong);
    margin-top: 4px;
    padding-top: 7px;
    font-size: 11px;
    color: var(--text-3);
}

.sig-line b {
    color: var(--green);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.lr-steps {
    display: flex;
    margin-top: 20px;
}

.lr-step {
    flex: 1;
    position: relative;
    text-align: center;
    font-size: 11px;
    color: var(--text-3);
}

.lr-step i {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--green);
    margin: 0 auto 7px;
}

.lr-step::before {
    content: '';
    position: absolute;
    top: 5px;
    right: 50%;
    left: -50%;
    height: 1px;
    background: var(--line-strong);
    z-index: -1;
}

.lr-step:first-child::before {
    display: none;
}

.lr-step.pending i {
    background: transparent;
    border: 2px solid var(--gold-deep);
    animation: pulse 2.2s infinite;
}

.pc-feats {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.pc-feats li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14.5px;
    color: var(--text-2);
}

.pc-feats svg {
    flex: 0 0 auto;
    margin-top: 3px;
    color: var(--gold-text);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how {
    padding: clamp(80px, 11vh, 130px) 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    position: relative;
}

.step {
    position: relative;
    padding: 6px 8px 0;
}

.step-num {
    position: relative;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 17px;
    font-weight: 700;
    color: var(--gold-text);
    background: var(--gold-tint);
    border: 1px solid var(--gold-line);
    margin-bottom: 24px;
}

.step-num::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1px solid var(--gold-line);
    opacity: 0;
    transform: scale(0.7);
}

.step.in .step-num::after {
    animation: ringOut 1.3s var(--ease-out) 0.35s forwards;
}

@keyframes ringOut {
    0% { opacity: 0.9; transform: scale(0.72); }
    100% { opacity: 0; transform: scale(1.55); }
}

.step::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 84px;
    right: -10px;
    height: 1px;
    background: linear-gradient(90deg, var(--gold-line), var(--line));
}

.step:last-child::before { display: none; }

.step h3 {
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.step p {
    margin-top: 12px;
    font-size: 15px;
    color: var(--text-2);
    line-height: 1.65;
}

.how-link {
    margin-top: 52px;
    text-align: center;
}

.arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--gold-text);
}

.arrow-link svg {
    transition: transform 0.35s var(--ease-out);
}

.arrow-link:hover svg {
    transform: translateX(4px);
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
    position: relative;
    padding: clamp(90px, 13vh, 150px) 0;
    overflow: clip;
    background: var(--bg);
}

.cta-glow {
    position: absolute;
    bottom: -300px;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(245, 195, 68, 0.14), transparent 60%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    text-align: center;
    max-width: 760px;
    margin-inline: auto;
}

.cta h2 {
    font-size: clamp(2.3rem, 5.4vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.06;
}

.cta p {
    margin: 22px auto 0;
    max-width: 560px;
    color: var(--text-2);
    font-size: clamp(1.02rem, 1.5vw, 1.18rem);
}

.cta-actions {
    margin-top: 38px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.cta-meta {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 26px;
    flex-wrap: wrap;
    font-size: 14.5px;
    color: var(--text-3);
}

.cta-meta a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-2);
    transition: color 0.25s ease;
}

.cta-meta a:hover {
    color: var(--gold);
}

.cta-meta svg { color: var(--gold); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    border-top: 1px solid var(--line);
    padding: 72px 0 36px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1.2fr;
    gap: 44px;
}

.footer-brand img {
    height: 34px;
    width: auto;
}

.footer-brand p {
    margin-top: 20px;
    font-size: 14.5px;
    color: var(--text-2);
    line-height: 1.7;
    max-width: 36ch;
}

.footer h6 {
    font-size: 12.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-3);
    margin-bottom: 20px;
}

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

.footer-col a {
    font-size: 15px;
    color: var(--text-2);
    transition: color 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.footer-col a:hover {
    color: var(--gold);
}

.footer-col a svg {
    color: var(--gold);
    opacity: 0.85;
    flex: 0 0 auto;
}

.footer-bottom {
    margin-top: 56px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13.5px;
    color: var(--text-3);
}

.footer-bottom nav {
    display: flex;
    gap: 22px;
}

.footer-bottom a {
    color: var(--text-3);
    transition: color 0.25s ease;
}

.footer-bottom a:hover {
    color: var(--gold);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
    .nav-links { display: none; }
    .nav-cta .nav-drop, .nav-cta .btn-demo { display: none; }
    .nav-burger { display: block; }
}

@media (min-width: 1081px) {
    .mobile-menu { display: none; }
}

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

    .float-chip { display: none; }

    .show-row { grid-template-columns: 1fr; gap: 30px; }
    .show-row.flip .show-copy { order: 2; }
    .show-row.flip .show-media { order: 1; }
    .show-media { order: 1; }
    .show-copy { order: 2; }
    .show-row + .show-row { margin-top: clamp(70px, 9vh, 100px); }

    .steps { grid-template-columns: 1fr; gap: 40px; max-width: 480px; margin-inline: auto; }
    .step::before {
        top: 70px;
        left: 28px;
        right: auto;
        bottom: -34px;
        width: 1px;
        height: auto;
        background: linear-gradient(180deg, var(--gold-line), var(--line));
    }
}

@media (max-width: 640px) {
    body { font-size: 16px; }

    .stats-grid { grid-template-columns: 1fr; gap: 40px; }
    .stat + .stat::before {
        left: 50%;
        top: -20px;
        transform: translateX(-50%);
        width: 60px;
        height: 1px;
    }

    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }

    .hero-ctas .btn { width: 100%; }
    .cta-actions .btn { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0s !important;
    }

    .reveal, .mockup-wrap, .hero-seq, .mm-item, .hero h1 .wi {
        opacity: 1 !important;
        transform: none !important;
    }

    .hero-cursor-glow { display: none; }
    .step-num::after { display: none; }
    .blob { animation: none; }
    .sig-box svg path { stroke-dashoffset: 0; }
}

/* ============================================================
   SUB-PAGE COMPONENTS (product pages, how-it-works)
   ============================================================ */

/* Compact hero variant for interior pages */
.hero--sub h1 {
    max-width: 17ch;
    font-size: clamp(2.3rem, 5.8vw, 4.3rem);
}

.hero--sub .mockup-zone {
    margin-top: clamp(48px, 7vh, 76px);
}

.hero .lossrun-art {
    width: min(720px, 100%);
    margin-inline: auto;
}

/* Generic light section */
.section {
    padding: clamp(70px, 10vh, 120px) 0;
}

.section--tight {
    padding: clamp(50px, 7vh, 90px) 0;
}

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

.feat-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 920px;
    margin-inline: auto;
}

.feat-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 28px;
    transition: transform 0.5s var(--ease-out), border-color 0.5s ease,
        box-shadow 0.5s var(--ease-out);
}

.feat-card:hover {
    transform: translateY(-5px);
    border-color: var(--line-strong);
    box-shadow: 0 18px 44px rgba(18, 18, 22, 0.1);
}

.feat-ico {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: var(--gold-tint);
    border: 1px solid var(--gold-line);
    display: grid;
    place-items: center;
    color: var(--gold-text);
}

.feat-card h3 {
    margin-top: 18px;
    font-size: 18.5px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.feat-card p {
    margin-top: 10px;
    font-size: 14.5px;
    color: var(--text-2);
    line-height: 1.6;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    max-width: 1000px;
    margin-inline: auto;
    align-items: stretch;
}

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 38px 32px 32px;
    transition: transform 0.5s var(--ease-out), border-color 0.5s ease,
        box-shadow 0.5s var(--ease-out);
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 54px rgba(18, 18, 22, 0.1);
}

.price-card.featured {
    border-color: var(--gold-line);
    box-shadow: 0 24px 60px rgba(18, 18, 22, 0.12);
}

.price-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, var(--gold-bright), var(--gold));
    color: #131318;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 5px 14px;
    border-radius: 999px;
    white-space: nowrap;
}

.price-name {
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-3);
}

.price-amount {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin-top: 14px;
}

.price-amount b {
    font-size: 52px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
}

.price-amount span {
    font-size: 15px;
    color: var(--text-2);
}

.price-note {
    margin-top: 8px;
    font-size: 13.5px;
    color: var(--text-3);
}

.price-card .pc-feats {
    margin-top: 24px;
}

.price-card .btn {
    margin-top: 30px;
    width: 100%;
}

/* Video cards */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}

.video-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out),
        border-color 0.5s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    border-color: var(--line-strong);
    box-shadow: 0 18px 44px rgba(18, 18, 22, 0.1);
}

.video-embed {
    position: relative;
    padding-top: 56.25%;
    background: #0B0B0F;
}

.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.vc-body {
    padding: 22px 24px 26px;
}

.vc-body h3 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.vc-body p {
    margin-top: 8px;
    font-size: 14.5px;
    color: var(--text-2);
    line-height: 1.6;
}

.video-solo {
    max-width: 880px;
    margin-inline: auto;
}

@media (max-width: 900px) {
    .feat-grid,
    .feat-grid.cols-2 {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin-inline: auto;
    }

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