:root {
    --bg: #02070d;
    --bg-soft: #06101e;
    --panel: rgba(7, 18, 32, 0.82);
    --panel-solid: #081524;
    --line: rgba(35, 137, 255, 0.34);
    --line-strong: rgba(35, 137, 255, 0.72);
    --blue: #138bff;
    --blue-soft: #56b0ff;
    --yellow: #ffc400;
    --yellow-soft: #ffe45e;
    --text: #f7f9fc;
    --muted: #9eacc1;
    --danger: #ff6978;
    --success: #37d996;
    --warning: #f5ba39;
    --shadow: 0 30px 80px rgba(0, 0, 0, .44);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --container: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at 72% 12%, rgba(12, 112, 214, .15), transparent 30%),
        radial-gradient(circle at 15% 65%, rgba(0, 80, 170, .10), transparent 32%),
        linear-gradient(180deg, #02070d 0%, #03101c 48%, #02070d 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.012) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, black, transparent 78%);
    z-index: -1;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.muted { color: var(--muted); }
.eyebrow {
    margin: 0 0 14px;
    color: var(--yellow);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.install-banner {
    position: relative;
    z-index: 50;
    padding: 10px 18px;
    text-align: center;
    background: #ffc400;
    color: #101010;
    font-weight: 800;
}
.install-banner a { text-decoration: underline; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid rgba(255,255,255,.07);
    background: rgba(2, 7, 13, .82);
    backdrop-filter: blur(18px);
}
.nav-wrap {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
    font-size: 1.34rem;
    font-weight: 800;
    letter-spacing: -.03em;
}
.brand img { width: 52px; height: 52px; }
.brand strong { color: var(--yellow); }
.brand-large { font-size: 1.7rem; }
.brand-large img { width: 62px; height: 62px; }

.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav a {
    position: relative;
    padding: 28px 0 26px;
    color: #c2cad6;
    font-size: .94rem;
    transition: color .2s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--yellow); }
.main-nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
    height: 3px;
    border-radius: 999px;
    background: var(--yellow);
    box-shadow: 0 0 16px rgba(255,196,0,.45);
}
.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    color: var(--yellow);
    background: transparent;
    border: 1px solid rgba(255,196,0,.45);
    border-radius: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
    color: #101010;
    background: linear-gradient(135deg, var(--yellow-soft), var(--yellow));
    box-shadow: 0 12px 30px rgba(255,196,0,.20);
}
.btn-primary:hover { box-shadow: 0 18px 42px rgba(255,196,0,.28); }
.btn-outline {
    color: var(--text);
    background: rgba(7, 18, 32, .5);
    border-color: var(--line-strong);
}
.btn-outline:hover { border-color: var(--yellow); }
.btn-blue {
    color: #fff;
    background: linear-gradient(135deg, #0c6bd1, #1495ff);
    box-shadow: 0 12px 28px rgba(19,139,255,.2);
}
.btn-small { min-height: 40px; padding: 0 16px; font-size: .88rem; }
.btn-full { width: 100%; }

.hero {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, #02070d 0%, rgba(2,7,13,.92) 32%, rgba(2,7,13,.32) 64%, rgba(2,7,13,.56) 100%),
        url('../images/chart-grid.svg') 70% 28% / 900px auto no-repeat;
    opacity: .96;
}
.hero::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: 15%;
    top: 90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(19,139,255,.17), transparent 68%);
    filter: blur(20px);
}
.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr);
    align-items: center;
    gap: 42px;
    min-height: 760px;
    padding-block: 70px 72px;
}
.hero-copy { position: relative; z-index: 3; }
.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--yellow);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.hero h1 {
    margin: 0;
    max-width: 710px;
    font-size: clamp(3.2rem, 6.4vw, 6.25rem);
    line-height: .98;
    letter-spacing: -.065em;
}
.hero h1 span { display: block; color: var(--yellow); }
.hero-copy > p {
    max-width: 570px;
    margin: 26px 0 0;
    color: #b8c1cf;
    font-size: 1.03rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-actions .btn { min-width: 170px; }
.trust-row { margin-top: 34px; }
.trust-label {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--blue-soft);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.trust-label::after { content: ""; width: 120px; height: 1px; background: var(--line-strong); }
.trust-logos { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 15px; color: #e7ecf4; }
.trust-logos span { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 700; opacity: .9; }

.hero-visual {
    position: absolute;
    z-index: 1;
    top: 58px;
    right: 28.5%;
    width: min(47vw, 600px);
    height: 650px;
    pointer-events: none;
}
.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 48%;
    filter: saturate(.9) contrast(1.06) brightness(.9);
    mask-image: linear-gradient(to right, transparent 0%, #000 14%, #000 78%, transparent 100%), linear-gradient(to bottom, #000 0%, #000 80%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
}

.form-card {
    position: relative;
    z-index: 4;
    justify-self: end;
    width: min(100%, 410px);
    padding: 30px;
    border: 1px solid rgba(19,139,255,.8);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(7,18,32,.94), rgba(4,13,24,.92));
    box-shadow: 0 28px 80px rgba(0,0,0,.48), 0 0 45px rgba(19,139,255,.10);
    backdrop-filter: blur(16px);
}
.form-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(145deg, rgba(255,255,255,.22), transparent 35%, rgba(255,196,0,.28));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.form-card h2 { margin: 0; font-size: 1.55rem; letter-spacing: -.035em; }
.form-card .subtitle { margin: 4px 0 22px; color: var(--muted); font-size: .91rem; }
.field { position: relative; display: block; margin-bottom: 12px; }
.field svg {
    position: absolute;
    z-index: 2;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--blue);
}
.field input, .field select, .field textarea,
.setup-form input, .setup-form select, .admin-form input, .admin-form select, .admin-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 0 15px;
    color: var(--text);
    border: 1px solid rgba(130,157,187,.23);
    border-radius: 10px;
    outline: none;
    background: rgba(3,10,18,.72);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.field input, .field select { padding-left: 44px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #9aacbd 50%), linear-gradient(135deg, #9aacbd 50%, transparent 50%); background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus,
.setup-form input:focus, .admin-form input:focus, .admin-form select:focus, .admin-form textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(19,139,255,.13);
}
.checkbox {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 14px 0 18px;
    color: #aab5c4;
    font-size: .76rem;
}
.checkbox input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--blue); }
.checkbox a { color: var(--yellow); }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 13px 0 0; color: #95a5b9; font-size: .75rem; }
.secure-note svg { color: var(--yellow); }
.honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; pointer-events: none !important; }

.section { padding: 88px 0; }
.section-heading { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-heading .section-line { display: flex; align-items: center; justify-content: center; gap: 18px; color: var(--blue-soft); font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.section-heading .section-line::before, .section-heading .section-line::after { content: ""; width: 145px; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong)); }
.section-heading .section-line::after { background: linear-gradient(90deg, var(--line-strong), transparent); }
.section-heading h2 { margin: 12px 0 0; font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.045em; }

.features-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.feature-card {
    min-height: 260px;
    padding: 24px 18px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(7,18,32,.78), rgba(4,12,21,.74));
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(255,196,0,.55); box-shadow: 0 20px 50px rgba(0,0,0,.28); }
.icon-orb {
    width: 72px;
    height: 72px;
    margin: 0 auto 19px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(19,139,255,.52);
    border-radius: 50%;
    color: var(--yellow);
    background: radial-gradient(circle, rgba(19,139,255,.18), rgba(4,11,20,.86) 64%);
    box-shadow: inset 0 0 24px rgba(19,139,255,.10), 0 0 24px rgba(19,139,255,.07);
}
.feature-card h3 { margin: 0 0 10px; font-size: 1.02rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: .88rem; }

.stats-strip {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid rgba(91,124,160,.42);
    border-radius: 18px;
    background: linear-gradient(90deg, rgba(7,18,32,.92), rgba(5,14,25,.75));
    overflow: hidden;
}
.stat { position: relative; display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 16px; min-height: 130px; padding: 24px; }
.stat:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 27px; bottom: 27px; width: 1px; background: rgba(176,190,207,.25); }
.stat .icon-orb { width: 58px; height: 58px; margin: 0; }
.stat strong { display: block; color: var(--yellow); font-size: 1.65rem; line-height: 1; }
.stat span { display: block; margin-top: 7px; color: #dce3ec; font-size: .85rem; }
.stat small { display: block; color: var(--muted); font-size: .7rem; }

.how-section { padding-top: 15px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 52px; }
.step-card {
    position: relative;
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 18px;
    min-height: 160px;
    padding: 26px;
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(7,18,32,.9), rgba(4,12,21,.8));
}
.step-card:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--yellow);
    font-size: 2rem;
}
.step-number { color: var(--yellow); font-size: 1.65rem; font-weight: 800; }
.step-card .icon-orb { width: 58px; height: 58px; margin: 10px 0 0; }
.step-card h3 { margin: 0 0 7px; }
.step-card p { margin: 0; color: var(--muted); font-size: .9rem; }

.cta-section { padding: 0 0 90px; }
.cta-panel {
    position: relative;
    overflow: hidden;
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 30px;
    border: 1px solid rgba(19,139,255,.42);
    border-radius: 24px;
    background: linear-gradient(120deg, rgba(9,28,49,.96), rgba(4,12,21,.94));
}
.cta-panel::after { content: ""; position: absolute; width: 300px; height: 300px; right: -100px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(255,196,0,.18), transparent 65%); }
.cta-panel h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.35rem); letter-spacing: -.05em; }
.cta-panel p { margin: 10px 0 0; color: var(--muted); }

.site-footer { border-top: 1px solid rgba(255,196,0,.22); background: rgba(2,7,13,.82); }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr .8fr 1fr; gap: 40px; padding: 58px 0 44px; }
.footer-brand p { max-width: 280px; color: var(--muted); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; color: #c9d3e0; background: rgba(255,255,255,.04); }
.footer-col h3 { margin: 0 0 16px; color: var(--yellow); font-size: .9rem; }
.footer-col a, .footer-col span { display: flex; align-items: center; gap: 9px; margin: 9px 0; color: var(--muted); font-size: .9rem; }
.footer-col a:hover { color: var(--yellow); }
.footer-col svg { color: var(--yellow); flex: 0 0 auto; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0 24px; border-top: 1px solid rgba(255,255,255,.07); color: #8493a7; font-size: .82rem; }
.footer-bottom span:last-child { display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom svg { color: var(--yellow); }

.alert { margin: 16px 0; padding: 13px 15px; border-radius: 10px; font-size: .9rem; }
.alert-error { color: #ffd6dc; border: 1px solid rgba(255,105,120,.35); background: rgba(255,105,120,.10); }
.alert-success { color: #c9ffe8; border: 1px solid rgba(55,217,150,.35); background: rgba(55,217,150,.10); }
.alert-warning { color: #ffefc1; border: 1px solid rgba(245,186,57,.35); background: rgba(245,186,57,.10); }

/* Onboarding */
.onboarding-page { min-height: 100vh; }
.onboarding-shell { width: min(calc(100% - 36px), 980px); margin: 0 auto; padding: 60px 0 90px; }
.onboarding-header { display: flex; justify-content: center; margin-bottom: 38px; }
.onboarding-card {
    padding: 38px;
    border: 1px solid rgba(19,139,255,.44);
    border-radius: 24px;
    background: rgba(6,16,30,.9);
    box-shadow: var(--shadow);
}
.success-mark { width: 72px; height: 72px; display: grid; place-items: center; margin: 0 auto 20px; border-radius: 50%; color: #07130f; background: var(--success); }
.onboarding-title { text-align: center; }
.onboarding-title h1 { margin: 0; font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -.05em; }
.onboarding-title p { max-width: 680px; margin: 12px auto 0; color: var(--muted); }
.lead-code { display: inline-flex; padding: 8px 12px; margin-top: 16px; border-radius: 8px; color: var(--yellow); background: rgba(255,196,0,.08); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.onboarding-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.onboard-step { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: rgba(3,10,18,.62); }
.onboard-step.completed { border-color: rgba(55,217,150,.4); }
.onboard-step .step-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.onboard-step .step-head span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: #111; background: var(--yellow); font-weight: 900; }
.onboard-step.completed .step-head span { background: var(--success); }
.onboard-step h3 { margin: 0; }
.onboard-step p { min-height: 66px; color: var(--muted); font-size: .9rem; }
.id-form { margin-top: 34px; padding: 24px; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; background: rgba(255,255,255,.025); }
.id-form h2 { margin-top: 0; }
.id-form-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.id-form input { min-height: 50px; padding: 0 15px; color: #fff; border: 1px solid rgba(255,255,255,.15); border-radius: 10px; background: rgba(2,7,13,.7); }
.status-overview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
.status-item { padding: 16px; border-radius: 12px; background: rgba(255,255,255,.035); }
.status-item small { display: block; color: var(--muted); }
.status-item strong { display: block; margin-top: 5px; }
.risk-note { margin-top: 28px; padding: 18px; border-left: 3px solid var(--yellow); color: var(--muted); background: rgba(255,196,0,.05); font-size: .86rem; }

/* Setup */
.setup-page { display: grid; place-items: center; padding: 40px 0; }
.setup-shell { width: min(calc(100% - 32px), 860px); }
.setup-card { padding: 38px; border: 1px solid rgba(19,139,255,.42); border-radius: 24px; background: rgba(6,16,30,.94); box-shadow: var(--shadow); }
.setup-card > h1 { margin: 14px 0 8px; font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -.05em; }
.setup-form h2 { margin: 30px 0 12px; color: var(--yellow); font-size: 1rem; }
.form-grid { display: grid; gap: 14px; }
.form-grid.two { grid-template-columns: repeat(2, 1fr); }
.form-grid label { display: grid; gap: 7px; color: #c7d1de; font-size: .86rem; }
.form-grid .span-2 { grid-column: span 2; }
.setup-actions { display: flex; gap: 12px; margin-top: 22px; }
code { padding: 2px 6px; border-radius: 5px; background: rgba(255,255,255,.08); }

/* Legal */
.legal-page { padding: 70px 0 100px; }
.legal-card { max-width: 900px; margin: 0 auto; padding: 40px; border: 1px solid var(--line); border-radius: 22px; background: rgba(6,16,30,.86); }
.legal-card h1 { margin-top: 0; font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -.05em; }
.legal-card h2 { margin-top: 32px; color: var(--yellow); }
.legal-card p, .legal-card li { color: #b5c0cf; }

@media (max-width: 1120px) {
    .hero-grid { grid-template-columns: 1fr 400px; }
    .hero-visual { right: 27%; opacity: .82; }
    .features-grid { grid-template-columns: repeat(3, 1fr); }
    .features-grid .feature-card:nth-child(4), .features-grid .feature-card:nth-child(5) { grid-column: span 1; }
    .stats-strip { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2)::after { display: none; }
    .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(176,190,207,.16); }
}

@media (max-width: 900px) {
    .main-nav {
        position: fixed;
        top: 82px;
        left: 20px;
        right: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 16px;
        background: rgba(4,12,21,.98);
        box-shadow: var(--shadow);
    }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 14px; border-radius: 10px; }
    .main-nav a.active::after { display: none; }
    .mobile-toggle { display: inline-flex; }
    .header-register { display: none; }
    .hero { min-height: auto; }
    .hero-grid { grid-template-columns: 1fr; padding-top: 74px; }
    .hero-copy { max-width: 680px; }
    .hero-visual { top: 85px; right: -8%; width: 62vw; height: 600px; opacity: .62; }
    .form-card { justify-self: stretch; width: 100%; max-width: 620px; margin: 0 auto; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; gap: 16px; }
    .step-card:not(:last-child)::after { display: none; }
    .cta-panel { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .onboarding-steps { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .container { width: min(calc(100% - 26px), var(--container)); }
    .nav-wrap { min-height: 70px; }
    .brand { font-size: 1.08rem; }
    .brand img { width: 44px; height: 44px; }
    .main-nav { top: 70px; left: 13px; right: 13px; }
    .hero::before { background: linear-gradient(180deg, rgba(2,7,13,.45), #02070d 55%), url('../images/chart-grid.svg') 58% 10% / 760px auto no-repeat; }
    .hero-grid { padding-block: 54px; }
    .hero-visual { position: relative; top: auto; right: auto; width: calc(100% + 26px); height: 380px; margin: -20px -13px -120px; order: 1; opacity: .7; }
    .hero-copy { order: 2; }
    .form-card { order: 3; padding: 22px; }
    .hero h1 { font-size: clamp(3rem, 15vw, 4.2rem); }
    .hero-copy > p { font-size: .95rem; }
    .hero-actions .btn { width: 100%; }
    .trust-logos { gap: 12px 18px; }
    .section { padding: 68px 0; }
    .section-heading .section-line::before, .section-heading .section-line::after { width: 55px; }
    .features-grid { grid-template-columns: 1fr; }
    .feature-card { min-height: auto; }
    .stats-strip { grid-template-columns: 1fr; }
    .stat { border-bottom: 1px solid rgba(176,190,207,.16); }
    .stat::after { display: none; }
    .stat:last-child { border-bottom: 0; }
    .cta-panel { padding: 30px 22px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { align-items: flex-start; flex-direction: column; }
    .onboarding-card, .setup-card, .legal-card { padding: 24px; }
    .status-overview { grid-template-columns: 1fr; }
    .id-form-row { grid-template-columns: 1fr; }
    .form-grid.two { grid-template-columns: 1fr; }
    .form-grid .span-2 { grid-column: span 1; }
    .setup-actions { flex-direction: column; }
}

/* Shared status badges */
.status-badge { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 999px; font-size: .72rem; font-weight: 800; line-height: 1.2; }
.status-success { color: #9ff6ce; background: rgba(55,217,150,.12); border: 1px solid rgba(55,217,150,.18); }
.status-warning { color: #ffe3a0; background: rgba(245,186,57,.12); border: 1px solid rgba(245,186,57,.18); }
.status-danger { color: #ffc1c9; background: rgba(255,105,120,.12); border: 1px solid rgba(255,105,120,.18); }
.status-neutral { color: #cbd7e5; background: rgba(148,163,184,.12); border: 1px solid rgba(148,163,184,.18); }


/* =========================
   V3 UI REFINEMENT OVERRIDES
   ========================= */
body,
button,
input,
select,
textarea {
    font-family: Calibri, "Segoe UI", Arial, sans-serif;
}

.container { width: min(calc(100% - 40px), 1180px); }

.brand,
.main-nav a,
.btn,
.hero-kicker,
.section-heading .section-line,
.footer-col h3,
.footer-col a,
.footer-col span,
.footer-brand p,
.footer-bottom,
.form-card h2,
.form-card .subtitle,
.feature-card h3,
.feature-card p,
.step-card h3,
.step-card p,
.stat strong,
.stat span,
.stat small,
.cta-panel h2,
.cta-panel p,
.hero-copy > p { font-family: Calibri, "Segoe UI", Arial, sans-serif; }

.hero {
    min-height: 700px;
}

.hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
    gap: 34px;
    min-height: 700px;
    padding-block: 58px 60px;
}

.hero h1 {
    max-width: 630px;
    font-size: clamp(3rem, 5.2vw, 5rem);
    line-height: 0.99;
    letter-spacing: -0.05em;
}

.hero-copy > p {
    max-width: 540px;
    margin-top: 20px;
    font-size: 1rem;
    line-height: 1.62;
}

.hero-actions { margin-top: 24px; }
.trust-row { margin-top: 28px; }
.trust-logos span { font-size: .86rem; }

.hero-visual {
    right: 29%;
    width: min(45vw, 560px);
    height: 620px;
}
.hero-visual img {
    filter: saturate(.96) contrast(1.1) brightness(.96);
    image-rendering: auto;
}

.form-card {
    width: min(100%, 390px);
    padding: 24px;
    border-radius: 20px;
}
.form-card h2 {
    font-size: 1.4rem;
    letter-spacing: -.025em;
}
.form-card .subtitle {
    margin: 6px 0 18px;
    font-size: .88rem;
    line-height: 1.5;
}
.field { margin-bottom: 10px; }
.field input,
.field select {
    min-height: 46px;
    font-size: .95rem;
}
.checkbox {
    margin: 12px 0 16px;
    font-size: .74rem;
    line-height: 1.45;
}

.section { padding: 74px 0; }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading h2 {
    font-size: clamp(2rem, 3.2vw, 3.1rem);
    line-height: 1.14;
    letter-spacing: -.04em;
}

.features-grid {
    gap: 16px;
}
.feature-card {
    min-height: 212px;
    padding: 20px 16px;
    border-radius: 16px;
}
.icon-orb {
    width: 58px;
    height: 58px;
    margin: 0 auto 14px;
}
.feature-card h3 {
    margin-bottom: 8px;
    font-size: .98rem;
    line-height: 1.3;
}
.feature-card p {
    font-size: .82rem;
    line-height: 1.55;
}

.stats-strip { margin-top: 28px; }
.stat {
    min-height: 108px;
    padding: 18px;
    gap: 14px;
    grid-template-columns: 56px 1fr;
}
.stat .icon-orb {
    width: 50px;
    height: 50px;
}
.stat strong {
    font-size: 1.48rem;
}
.stat span {
    margin-top: 5px;
    font-size: .82rem;
}
.stat small {
    margin-top: 2px;
    font-size: .68rem;
}

.steps {
    gap: 18px;
}
.step-card {
    min-height: 138px;
    grid-template-columns: 62px 1fr;
    gap: 16px;
    padding: 20px;
    border-radius: 16px;
}
.step-card:not(:last-child)::after {
    right: -22px;
    font-size: 1.45rem;
}
.step-number {
    font-size: 1.45rem;
}
.step-card .icon-orb {
    width: 50px;
    height: 50px;
    margin-top: 8px;
}
.step-card h3 {
    margin-bottom: 6px;
    font-size: 1rem;
}
.step-card p {
    font-size: .84rem;
    line-height: 1.55;
}

.cta-panel {
    padding: 38px;
    border-radius: 20px;
}
.cta-panel h2 {
    font-size: clamp(1.9rem, 3.3vw, 3rem);
    line-height: 1.15;
}
.cta-panel p {
    font-size: .96rem;
    line-height: 1.6;
}

.footer-grid {
    gap: 28px;
    padding: 50px 0 38px;
}
.footer-brand p,
.footer-col a,
.footer-col span { font-size: .88rem; }

@media (max-width: 1120px) {
    .hero-grid {
        grid-template-columns: 1fr 380px;
    }
    .hero-visual {
        right: 26.5%;
        width: min(46vw, 520px);
        height: 590px;
        opacity: .88;
    }
    .feature-card { min-height: 200px; }
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        min-height: auto;
        padding-top: 60px;
    }
    .hero-copy { max-width: 640px; }
    .hero h1 {
        font-size: clamp(2.7rem, 8vw, 4rem);
        max-width: 100%;
    }
    .hero-visual {
        top: 88px;
        right: -6%;
        width: 62vw;
        height: 560px;
        opacity: .66;
    }
    .form-card {
        width: 100%;
        max-width: 560px;
    }
}

@media (max-width: 640px) {
    .hero-grid { padding-block: 48px; }
    .hero h1 {
        font-size: clamp(2.55rem, 13vw, 3.8rem);
        line-height: 1.03;
    }
    .hero-copy > p {
        font-size: .94rem;
    }
    .hero-visual {
        height: 360px;
        margin: -14px -13px -100px;
    }
    .form-card {
        padding: 20px;
        border-radius: 18px;
    }
    .section { padding: 62px 0; }
    .section-heading h2 {
        font-size: clamp(1.85rem, 8vw, 2.4rem);
    }
    .feature-card,
    .step-card { padding: 18px 15px; }
    .feature-card { min-height: auto; }
    .cta-panel { padding: 28px 20px; }
}


/* =========================
   V7 HERO MATCH FIX
   Target: match approved screenshot look
   ========================= */
.hero {
    min-height: 740px;
}
.hero::before {
    background:
        linear-gradient(90deg, #02070d 0%, rgba(2,7,13,.96) 34%, rgba(2,7,13,.70) 47%, rgba(2,7,13,.36) 61%, rgba(2,7,13,.18) 100%),
        url('../images/chart-grid.svg') 72% 18% / 920px auto no-repeat;
    opacity: 1;
}
.hero::after {
    width: 420px;
    height: 420px;
    right: 18%;
    top: 118px;
    background: radial-gradient(circle, rgba(19,139,255,.09), transparent 70%);
    filter: blur(18px);
}
.hero-grid {
    grid-template-columns: minmax(0, 1fr) 460px;
    gap: 34px;
    min-height: 740px;
    padding-block: 64px;
}
.hero-copy {
    z-index: 3;
    max-width: 560px;
}
.hero h1 {
    max-width: 560px;
    font-size: clamp(3.2rem, 5.7vw, 5.5rem);
    line-height: .98;
    letter-spacing: -.055em;
}
.hero-copy > p {
    max-width: 540px;
    margin-top: 22px;
    font-size: 1rem;
    line-height: 1.62;
}
.hero-actions {
    margin-top: 26px;
}
.trust-row {
    margin-top: 26px;
}
.hero-visual {
    position: absolute;
    z-index: 2;
    top: 54px;
    right: 29.2%;
    width: min(35vw, 500px);
    height: 650px;
    pointer-events: none;
}
.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% 48%;
    transform: scale(1.02);
    filter: saturate(.95) contrast(1.08) brightness(.96);
    mask-image: linear-gradient(to right, transparent 0%, #000 18%, #000 88%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 8%, #000 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 18%, #000 88%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 8%, #000 94%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
}
.form-card {
    z-index: 4;
    width: min(100%, 430px);
    padding: 28px;
}
@media (max-width: 1180px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr) 420px;
    }
    .hero-visual {
        right: 31.5%;
        width: min(33vw, 450px);
    }
}
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 62px;
    }
    .hero-copy { max-width: 640px; }
    .hero h1 { max-width: 100%; }
    .hero-visual {
        top: 96px;
        right: -4%;
        width: 58vw;
        height: 540px;
        opacity: .76;
    }
    .form-card {
        width: 100%;
        max-width: 560px;
        justify-self: stretch;
        margin: 0 auto;
    }
}
@media (max-width: 640px) {
    .hero::before {
        background: linear-gradient(180deg, rgba(2,7,13,.34), #02070d 58%), url('../images/chart-grid.svg') 58% 10% / 760px auto no-repeat;
    }
    .hero-grid { padding-block: 48px; }
    .hero-visual {
        position: relative;
        top: auto;
        right: auto;
        width: calc(100% + 26px);
        height: 380px;
        margin: -14px -13px -100px;
        order: 1;
        opacity: .82;
    }
    .hero-visual img {
        object-position: center top;
        transform: scale(1.02);
    }
    .hero-copy { order: 2; }
    .form-card { order: 3; }
}


/* =========================
   FINAL HERO BANNER OVERRIDE
   Uses generated full-width hero banner
   ========================= */
.hero {
    position: relative;
    min-height: 740px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2,7,13,.97) 0%, rgba(2,7,13,.93) 26%, rgba(2,7,13,.70) 46%, rgba(2,7,13,.38) 62%, rgba(2,7,13,.72) 100%),
        url('../images/hero-banner-market.webp') 56% center / cover no-repeat;
    opacity: 1;
}
.hero::after {
    display: none;
}
.hero-visual {
    display: none !important;
}
.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    align-items: center;
    gap: 38px;
    min-height: 740px;
    padding-block: 64px 66px;
}
.hero-copy {
    position: relative;
    z-index: 3;
    max-width: 620px;
}
.hero h1 {
    max-width: 560px;
    font-size: clamp(3.2rem, 5.8vw, 5.5rem);
    line-height: .98;
    letter-spacing: -.055em;
}
.hero-copy > p {
    max-width: 560px;
    margin: 24px 0 0;
    font-size: 1rem;
    line-height: 1.62;
}
.hero-actions { margin-top: 28px; }
.trust-row { margin-top: 28px; }
.form-card {
    position: relative;
    z-index: 4;
    justify-self: end;
    width: min(100%, 420px);
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(7,18,32,.94), rgba(4,13,24,.92));
    border: 1px solid rgba(19,139,255,.82);
    box-shadow: 0 28px 80px rgba(0,0,0,.48), 0 0 45px rgba(19,139,255,.10);
}
@media (max-width: 1100px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr) 400px;
        gap: 28px;
    }
    .hero::before {
        background:
            linear-gradient(90deg, rgba(2,7,13,.97) 0%, rgba(2,7,13,.93) 28%, rgba(2,7,13,.74) 48%, rgba(2,7,13,.42) 64%, rgba(2,7,13,.76) 100%),
            url('../images/hero-banner-market.webp') 59% center / cover no-repeat;
    }
}
@media (max-width: 900px) {
    .hero { min-height: auto; }
    .hero::before {
        background:
            linear-gradient(180deg, rgba(2,7,13,.62), rgba(2,7,13,.92) 48%, #02070d 100%),
            url('../images/hero-banner-market.webp') 60% top / cover no-repeat;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 24px;
        padding-top: 58px;
        padding-bottom: 54px;
    }
    .hero-copy {
        max-width: 100%;
    }
    .hero h1 {
        max-width: 100%;
        font-size: clamp(2.9rem, 8vw, 4.4rem);
    }
    .form-card {
        justify-self: stretch;
        width: 100%;
        max-width: 560px;
        margin: 0 auto;
    }
}
@media (max-width: 640px) {
    .hero-grid {
        padding-top: 48px;
        padding-bottom: 48px;
    }
    .hero h1 {
        font-size: clamp(2.5rem, 13vw, 3.8rem);
        line-height: 1.02;
    }
    .hero-copy > p {
        font-size: .94rem;
    }
    .form-card {
        padding: 22px;
        border-radius: 20px;
    }
}


/* =========================
   V8 COMPACT + INTERACTIVE UI
   ========================= */
:root {
    --hero-shift-x: 0px;
    --hero-shift-y: 0px;
}

/* Smaller and more balanced hero typography */
.hero {
    min-height: 680px;
}
.hero::before {
    background-position:
        center,
        calc(56% + var(--hero-shift-x)) calc(50% + var(--hero-shift-y));
    transition: background-position .18s ease-out;
}
.hero-grid {
    min-height: 680px;
    padding-block: 48px 52px;
}
.hero h1 {
    max-width: 535px;
    font-size: clamp(2.9rem, 4.8vw, 4.75rem);
    line-height: 1;
    letter-spacing: -.052em;
}
.hero-copy > p {
    max-width: 530px;
    margin-top: 19px;
    font-size: .96rem;
}
.hero-kicker { margin-bottom: 14px; }
.hero-actions { margin-top: 22px; }
.trust-row { margin-top: 22px; }
.form-card {
    width: min(100%, 405px);
    padding: 24px;
}

/* Reduce vertical gaps throughout the page */
.section {
    padding: 52px 0;
}
.section-heading {
    margin-bottom: 27px;
}
.section-heading h2 {
    margin-top: 9px;
    font-size: clamp(1.9rem, 3vw, 2.8rem);
}
.how-section {
    padding-top: 34px;
}
.cta-section {
    padding: 4px 0 58px;
}
.cta-panel {
    padding: 34px 38px;
}
.footer-grid {
    padding-top: 46px;
}

/* Slightly tighter cards */
.features-grid { gap: 13px; }
.feature-card {
    min-height: 196px;
    padding: 18px 15px;
}
.feature-card .icon-orb {
    width: 54px;
    height: 54px;
    margin-bottom: 12px;
}
.feature-card h3 { font-size: .95rem; }
.feature-card p { font-size: .8rem; }
.stats-strip { margin-top: 22px; }
.stat {
    min-height: 98px;
    padding: 15px 17px;
}
.steps { gap: 15px; }
.step-card {
    min-height: 130px;
    padding: 18px;
}

/* Interactive spotlight surfaces */
.feature-card,
.step-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.feature-card::before,
.step-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(
        240px circle at var(--pointer-x, 50%) var(--pointer-y, 50%),
        rgba(19, 139, 255, .18),
        rgba(255, 196, 0, .07) 34%,
        transparent 68%
    );
    transition: opacity .22s ease;
}
.feature-card:hover::before,
.step-card:hover::before {
    opacity: 1;
}
.feature-card:hover .icon-orb,
.step-card:hover .icon-orb {
    transform: translateY(-2px) rotate(-3deg) scale(1.06);
    border-color: rgba(255,196,0,.62);
    box-shadow: 0 0 30px rgba(255,196,0,.14), inset 0 0 24px rgba(19,139,255,.13);
}
.icon-orb {
    transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.stat {
    transition: background-color .22s ease, transform .22s ease;
}
.stat:hover {
    transform: translateY(-2px);
    background: rgba(19,139,255,.055);
}
.cta-panel {
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.cta-panel:hover {
    transform: translateY(-3px);
    border-color: rgba(255,196,0,.36);
    box-shadow: 0 22px 55px rgba(0,0,0,.24);
}

/* Scroll reveal */
.js-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .58s ease, transform .58s cubic-bezier(.2,.75,.25,1);
    transition-delay: var(--reveal-delay, 0ms);
}
.js-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animated active navigation marker */
.main-nav a.is-current {
    color: var(--yellow);
}
.main-nav a.is-current::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
    height: 3px;
    border-radius: 999px;
    background: var(--yellow);
    box-shadow: 0 0 16px rgba(255,196,0,.45);
}

@media (max-width: 900px) {
    .hero-grid {
        padding-top: 48px;
        padding-bottom: 46px;
    }
    .hero h1 {
        font-size: clamp(2.65rem, 7vw, 4rem);
    }
    .section { padding: 46px 0; }
    .main-nav a.is-current::after { display: none; }
}

@media (max-width: 640px) {
    .hero-grid { padding-block: 42px; }
    .hero h1 {
        font-size: clamp(2.35rem, 11.5vw, 3.35rem);
    }
    .section { padding: 40px 0; }
    .section-heading { margin-bottom: 22px; }
    .cta-panel { padding: 26px 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero::before,
    .js-reveal,
    .icon-orb,
    .feature-card,
    .step-card,
    .stat,
    .cta-panel {
        transition: none !important;
        animation: none !important;
    }
    .js-reveal {
        opacity: 1;
        transform: none;
    }
}


/* =========================
   V9 MOBILE OPTIMIZATION
   Better ad-traffic mobile experience
   ========================= */
.mobile-sticky-cta { display: none; }

@media (max-width: 900px) {
    html { scroll-padding-top: 76px; }
    body { overflow-x: hidden; }
    .site-header { backdrop-filter: blur(14px); }
    .nav-wrap {
        min-height: 72px;
        gap: 12px;
    }
    .brand {
        font-size: 1.08rem;
        gap: 10px;
    }
    .brand img { width: 42px; height: 42px; }
    .main-nav {
        top: 72px;
        left: 12px;
        right: 12px;
        padding: 10px;
        border-radius: 14px;
    }
    .main-nav a {
        padding: 12px 14px;
        font-size: .95rem;
    }

    .hero {
        min-height: auto;
    }
    .hero::before {
        background:
            linear-gradient(180deg, rgba(2,7,13,.50) 0%, rgba(2,7,13,.80) 44%, #02070d 100%),
            url('../images/hero-banner-market.webp') 60% 0 / cover no-repeat !important;
    }
    .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 18px;
        min-height: auto;
        padding-top: 34px;
        padding-bottom: 34px;
    }
    .hero-copy {
        max-width: 100%;
        order: 1;
    }
    .hero-kicker {
        gap: 8px;
        margin-bottom: 12px;
        font-size: .66rem;
        line-height: 1.35;
        letter-spacing: .09em;
    }
    .hero h1 {
        max-width: 100%;
        font-size: clamp(2.3rem, 11vw, 3.4rem) !important;
        line-height: 1.02;
        letter-spacing: -.045em;
    }
    .hero h1 span br { display: none; }
    .hero-copy > p {
        max-width: 100%;
        margin-top: 14px;
        font-size: .94rem;
        line-height: 1.65;
    }
    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 18px;
    }
    .hero-actions .btn {
        width: 100%;
        min-width: 0;
    }
    .trust-row { margin-top: 18px; }
    .trust-label {
        font-size: .66rem;
        letter-spacing: .12em;
    }
    .trust-label::after { width: 70px; }
    .trust-logos {
        gap: 10px 14px;
        margin-top: 10px;
    }
    .trust-logos span {
        font-size: .76rem;
        flex: 0 0 calc(50% - 7px);
    }
    .hero-visual { display: none !important; }

    .form-card {
        order: 2;
        width: 100%;
        max-width: 100%;
        padding: 18px;
        border-radius: 18px;
        margin: 0;
    }
    .form-card h2 {
        font-size: 1.28rem;
    }
    .form-card .subtitle {
        margin: 6px 0 14px;
        font-size: .84rem;
        line-height: 1.55;
    }
    .field { margin-bottom: 10px; }
    .field input,
    .field select {
        min-height: 46px;
        font-size: .92rem;
        border-radius: 10px;
    }
    .checkbox {
        margin: 12px 0 14px;
        font-size: .72rem;
        line-height: 1.45;
    }
    .secure-note {
        font-size: .72rem;
    }

    .section { padding: 50px 0; }
    .how-section { padding-top: 44px; }
    .cta-section { padding: 0 0 86px; }
    .section-heading {
        max-width: 100%;
        margin-bottom: 24px;
    }
    .section-heading .section-line {
        gap: 10px;
        font-size: .68rem;
        letter-spacing: .10em;
    }
    .section-heading .section-line::before,
    .section-heading .section-line::after { width: 42px; }
    .section-heading h2 {
        margin-top: 10px;
        font-size: clamp(1.7rem, 8.5vw, 2.35rem);
        line-height: 1.18;
        letter-spacing: -.03em;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .feature-card {
        min-height: 0;
        padding: 18px 16px;
        border-radius: 16px;
    }
    .icon-orb {
        width: 56px;
        height: 56px;
        margin: 0 auto 14px;
    }
    .feature-card h3 {
        margin-bottom: 8px;
        font-size: .98rem;
        line-height: 1.3;
    }
    .feature-card p {
        font-size: .82rem;
        line-height: 1.6;
    }

    .stats-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 16px;
        border-radius: 16px;
    }
    .stat {
        min-height: 92px;
        grid-template-columns: 44px 1fr;
        gap: 12px;
        padding: 14px;
    }
    .stat:nth-child(2)::after { display: none; }
    .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(176,190,207,.16); }
    .stat .icon-orb {
        width: 40px;
        height: 40px;
        margin: 0;
    }
    .stat strong { font-size: 1.15rem; }
    .stat span { margin-top: 4px; font-size: .73rem; }
    .stat small { font-size: .62rem; line-height: 1.35; }

    .steps {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .step-card {
        min-height: 0;
        grid-template-columns: 54px 1fr;
        gap: 14px;
        padding: 16px;
        border-radius: 16px;
    }
    .step-card .icon-orb {
        width: 44px;
        height: 44px;
        margin: 8px 0 0;
    }
    .step-number { font-size: 1.15rem; }
    .step-card h3 { margin-bottom: 6px; font-size: .95rem; }
    .step-card p { font-size: .8rem; line-height: 1.55; }

    .cta-panel {
        padding: 18px;
        grid-template-columns: 1fr;
        gap: 14px;
        border-radius: 18px;
    }
    .cta-panel h2 {
        font-size: clamp(1.55rem, 8vw, 2.2rem);
        line-height: 1.16;
    }
    .cta-panel p {
        font-size: .84rem;
        line-height: 1.58;
    }
    .cta-panel .btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 34px 0 22px;
    }
    .footer-brand p {
        max-width: none;
        font-size: .82rem;
    }
    .socials { margin-top: 14px; }
    .socials a {
        width: 34px;
        height: 34px;
        font-size: .85rem;
    }
    .footer-col h3 {
        margin-bottom: 10px;
        font-size: .82rem;
    }
    .footer-col a,
    .footer-col span {
        margin: 7px 0;
        font-size: .82rem;
    }
    .footer-bottom {
        padding: 16px 0 74px;
        gap: 8px;
        font-size: .74rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .mobile-sticky-cta {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: max(10px, env(safe-area-inset-bottom));
        z-index: 60;
        display: block;
        padding: 10px;
        border: 1px solid rgba(255,255,255,.08);
        border-radius: 18px;
        background: rgba(2,7,13,.88);
        backdrop-filter: blur(12px);
        box-shadow: 0 14px 34px rgba(0,0,0,.32);
    }
    .mobile-sticky-cta .btn {
        min-height: 48px;
        font-size: .95rem;
    }
}

@media (max-width: 480px) {
    .container { width: min(calc(100% - 24px), var(--container)); }
    .hero-grid {
        padding-top: 28px;
        padding-bottom: 30px;
    }
    .hero h1 {
        font-size: clamp(2.1rem, 12vw, 3rem) !important;
    }
    .hero-copy > p { font-size: .9rem; }
    .trust-logos span {
        flex: 0 0 100%;
    }
    .stats-strip {
        grid-template-columns: 1fr;
    }
    .stat {
        border-bottom: 1px solid rgba(176,190,207,.16);
    }
    .stat::after { display: none !important; }
    .stat:last-child { border-bottom: 0; }
    .cta-panel,
    .form-card,
    .feature-card,
    .step-card { border-radius: 15px; }
}


/* =========================
   V10 MOBILE PANTHER DISPLAY
   Dedicated image block so face stays visible on phones
   ========================= */
.mobile-panther { display: none; }

@media (max-width: 900px) {
    .hero::before {
        background:
            radial-gradient(circle at 78% 18%, rgba(19,139,255,.10), transparent 30%),
            linear-gradient(180deg, #02070d 0%, #03101b 62%, #02070d 100%),
            url('../images/chart-grid.svg') 68% 8% / 720px auto no-repeat !important;
    }
    .mobile-panther {
        display: block;
        position: relative;
        width: 100%;
        margin: 18px 0 16px;
        overflow: hidden;
        border: 1px solid rgba(19,139,255,.44);
        border-radius: 18px;
        background: #02070d;
        box-shadow: 0 18px 44px rgba(0,0,0,.32), 0 0 28px rgba(19,139,255,.08);
    }
    .mobile-panther::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background:
            linear-gradient(180deg, rgba(2,7,13,.06) 0%, transparent 52%, rgba(2,7,13,.34) 100%),
            linear-gradient(90deg, rgba(2,7,13,.10), transparent 26%, transparent 74%, rgba(2,7,13,.12));
    }
    .mobile-panther img {
        width: 100%;
        height: auto;
        aspect-ratio: 1.28 / 1;
        object-fit: cover;
        object-position: center 33%;
        display: block;
        filter: contrast(1.05) saturate(.96) brightness(.96);
    }
    .hero-copy > p {
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .mobile-panther {
        margin: 16px 0 14px;
        border-radius: 15px;
    }
    .mobile-panther img {
        aspect-ratio: 1.16 / 1;
        object-position: center 30%;
    }
}


/* =========================
   V11 MOBILE HERO BACKGROUND PANTHER
   Panther stays as hero background behind text, not a separate block
   ========================= */
@media (max-width: 900px) {
    .mobile-panther {
        display: none !important;
    }
    .hero {
        min-height: auto;
    }
    .hero::before {
        background:
            linear-gradient(180deg, rgba(2,7,13,.40) 0%, rgba(2,7,13,.58) 18%, rgba(2,7,13,.76) 42%, rgba(2,7,13,.90) 72%, #02070d 100%),
            linear-gradient(90deg, rgba(2,7,13,.90) 0%, rgba(2,7,13,.72) 34%, rgba(2,7,13,.36) 68%, rgba(2,7,13,.76) 100%),
            url('../images/chart-grid.svg') 70% 8% / 760px auto no-repeat,
            url('../images/hero-panther-mobile.webp') center 18% / cover no-repeat !important;
        opacity: 1;
    }
    .hero-grid {
        padding-top: 34px;
        padding-bottom: 34px;
    }
    .hero-copy {
        max-width: 100%;
    }
    .hero-kicker {
        margin-bottom: 12px;
    }
    .hero h1 {
        max-width: 100%;
        font-size: clamp(2.35rem, 11vw, 3.35rem) !important;
        line-height: 1.03;
    }
    .hero-copy > p {
        margin-top: 16px;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero::before {
        background:
            linear-gradient(180deg, rgba(2,7,13,.38) 0%, rgba(2,7,13,.56) 18%, rgba(2,7,13,.76) 43%, rgba(2,7,13,.92) 72%, #02070d 100%),
            linear-gradient(90deg, rgba(2,7,13,.92) 0%, rgba(2,7,13,.70) 36%, rgba(2,7,13,.34) 72%, rgba(2,7,13,.80) 100%),
            url('../images/chart-grid.svg') 72% 8% / 640px auto no-repeat,
            url('../images/hero-panther-mobile.webp') center 16% / cover no-repeat !important;
    }
    .hero-grid {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .hero h1 {
        font-size: clamp(2.2rem, 12vw, 3.05rem) !important;
    }
}


/* =========================
   V12 MOBILE PANTHER VISIBILITY FIX
   Make panther clearly visible behind hero text on phones
   ========================= */
@media (max-width: 900px) {
    .hero::before {
        background:
            linear-gradient(180deg, rgba(2,7,13,.22) 0%, rgba(2,7,13,.34) 16%, rgba(2,7,13,.56) 42%, rgba(2,7,13,.84) 72%, #02070d 100%),
            linear-gradient(90deg, rgba(2,7,13,.72) 0%, rgba(2,7,13,.50) 26%, rgba(2,7,13,.18) 58%, rgba(2,7,13,.50) 100%),
            url('../images/chart-grid.svg') 72% 10% / 700px auto no-repeat,
            url('../images/hero-panther-mobile-visible.webp') center 28% / cover no-repeat !important;
        opacity: 1;
    }
    .hero::after {
        display: block;
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background:
            radial-gradient(circle at 58% 36%, rgba(255,196,0,.12), transparent 12%),
            radial-gradient(circle at 66% 42%, rgba(19,139,255,.12), transparent 22%);
        z-index: 1;
    }
    .hero-grid {
        position: relative;
        z-index: 2;
    }
    .hero-copy,
    .form-card {
        position: relative;
        z-index: 3;
    }
    .hero h1 {
        max-width: 92%;
    }
    .hero-copy > p {
        max-width: 94%;
    }
}

@media (max-width: 480px) {
    .hero::before {
        background:
            linear-gradient(180deg, rgba(2,7,13,.18) 0%, rgba(2,7,13,.30) 14%, rgba(2,7,13,.50) 40%, rgba(2,7,13,.82) 70%, #02070d 100%),
            linear-gradient(90deg, rgba(2,7,13,.70) 0%, rgba(2,7,13,.42) 24%, rgba(2,7,13,.16) 56%, rgba(2,7,13,.48) 100%),
            url('../images/chart-grid.svg') 74% 10% / 620px auto no-repeat,
            url('../images/hero-panther-mobile-visible.webp') 56% 26% / cover no-repeat !important;
    }
    .hero h1 {
        max-width: 100%;
    }
    .trust-row {
        margin-top: 16px;
    }
}


/* =========================
   V13 MOBILE PANTHER LAYERED FIX
   Show panther as a visible hero layer behind text on mobile
   ========================= */
@media (max-width: 900px) {
    .hero {
        position: relative;
        overflow: hidden;
    }
    .hero::before {
        background:
            linear-gradient(180deg, rgba(2,7,13,.08) 0%, rgba(2,7,13,.18) 18%, rgba(2,7,13,.44) 42%, rgba(2,7,13,.72) 68%, #02070d 100%),
            linear-gradient(90deg, rgba(2,7,13,.86) 0%, rgba(2,7,13,.52) 34%, rgba(2,7,13,.22) 64%, rgba(2,7,13,.46) 100%),
            url('../images/chart-grid.svg') 74% 11% / 760px auto no-repeat !important;
        opacity: 1;
        z-index: 0;
    }
    .hero::after {
        display: block !important;
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 118px;
        height: 460px;
        background:
            radial-gradient(circle at 50% 50%, rgba(255,196,0,.10), transparent 16%),
            url('../images/hero-panther-mobile-visible.webp') center 18% / cover no-repeat;
        opacity: .72;
        z-index: 1;
        pointer-events: none;
        mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 72%, transparent 100%), linear-gradient(90deg, rgba(0,0,0,.75), #000 18%, #000 82%, rgba(0,0,0,.82));
        -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 72%, transparent 100%), linear-gradient(90deg, rgba(0,0,0,.75), #000 18%, #000 82%, rgba(0,0,0,.82));
        -webkit-mask-composite: source-in;
        mask-composite: intersect;
        filter: contrast(1.1) saturate(1.02) brightness(1.04);
    }
    .hero-grid {
        position: relative;
        z-index: 2;
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .hero-copy {
        position: relative;
        z-index: 3;
    }
    .hero-kicker,
    .hero h1,
    .hero-copy > p,
    .hero-actions,
    .trust-row,
    .form-card {
        position: relative;
        z-index: 3;
    }
    .hero h1 {
        max-width: 100%;
        font-size: clamp(2.25rem, 11vw, 3.25rem) !important;
        line-height: 1.03;
        text-shadow: 0 8px 28px rgba(0,0,0,.32);
    }
    .hero-copy > p {
        max-width: 100%;
        margin-top: 20px;
    }
    .trust-row {
        margin-top: 18px;
    }
}

@media (max-width: 480px) {
    .hero::after {
        top: 122px;
        height: 430px;
        background:
            radial-gradient(circle at 50% 52%, rgba(255,196,0,.12), transparent 16%),
            url('../images/hero-panther-mobile-visible.webp') center 14% / cover no-repeat;
        opacity: .8;
    }
    .hero-grid {
        padding-top: 26px;
        padding-bottom: 28px;
    }
    .hero-copy > p {
        margin-top: 18px;
    }
}


/* =========================
   V14 MOBILE MOCKUP STYLE
   Based on approved mobile mockup direction
   ========================= */
.faq-accordion {
    display: grid;
    gap: 12px;
}
.faq-item {
    border: 1px solid rgba(80,126,198,.24);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(6,14,26,.88), rgba(4,11,21,.92));
    overflow: hidden;
}
.faq-item summary {
    list-style: none;
    display: grid;
    grid-template-columns: 32px 1fr 24px;
    gap: 14px;
    align-items: center;
    padding: 18px 18px;
    cursor: pointer;
    font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    border: 1px solid rgba(255,196,0,.32);
    color: var(--accent);
    background: rgba(255,196,0,.05);
}
.faq-toggle {
    justify-self: end;
    color: rgba(255,255,255,.8);
    font-size: 1.3rem;
    line-height: 1;
}
.faq-item[open] .faq-toggle { transform: rotate(45deg); }
.faq-answer {
    padding: 0 18px 18px 64px;
    color: var(--muted);
    line-height: 1.65;
}
.faq-answer p { margin: 0; }

@media (max-width: 900px) {
    .hero {
        min-height: auto;
    }
    .hero::before {
        background:
            linear-gradient(180deg, rgba(2,7,13,.10) 0%, rgba(2,7,13,.18) 12%, rgba(2,7,13,.38) 32%, rgba(2,7,13,.70) 58%, rgba(2,7,13,.92) 86%, #02070d 100%),
            linear-gradient(90deg, rgba(2,7,13,.84) 0%, rgba(2,7,13,.48) 35%, rgba(2,7,13,.12) 64%, rgba(2,7,13,.28) 100%),
            url('../images/chart-grid.svg') 72% 10% / 720px auto no-repeat !important;
        opacity: 1;
        z-index: 0;
    }
    .hero::after {
        display: block !important;
        content: "";
        position: absolute;
        inset: 94px 0 auto 0;
        height: 360px;
        pointer-events: none;
        z-index: 1;
        background:
            radial-gradient(circle at 58% 34%, rgba(255,196,0,.18), transparent 15%),
            linear-gradient(90deg, rgba(2,7,13,.66) 0%, rgba(2,7,13,.12) 28%, rgba(2,7,13,0) 60%, rgba(2,7,13,.15) 100%),
            url('../images/hero-panther-mobile-visible.webp') 72% 30% / cover no-repeat;
        opacity: .95;
        mask-image: linear-gradient(180deg, rgba(0,0,0,.86) 0%, #000 20%, #000 72%, transparent 100%);
        -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.86) 0%, #000 20%, #000 72%, transparent 100%);
        filter: contrast(1.14) saturate(1.04) brightness(1.06);
    }
    .hero-grid {
        position: relative;
        z-index: 2;
        grid-template-columns: 1fr !important;
        gap: 18px;
        padding-top: 32px;
        padding-bottom: 24px;
    }
    .hero-copy {
        max-width: 100%;
        position: relative;
        z-index: 3;
        padding-top: 8px;
    }
    .hero-kicker {
        margin-bottom: 12px;
        font-size: .7rem;
        letter-spacing: .1em;
        line-height: 1.35;
        max-width: 250px;
    }
    .hero h1 {
        max-width: 62%;
        font-size: clamp(2.35rem, 10.4vw, 3.3rem) !important;
        line-height: 1.01;
        letter-spacing: -.05em;
        text-wrap: balance;
        text-shadow: 0 14px 34px rgba(0,0,0,.24);
    }
    .hero h1 span {
        display: block;
        margin-top: 6px;
    }
    .hero-copy > p {
        max-width: 58%;
        margin-top: 18px;
        font-size: .94rem;
        line-height: 1.62;
    }
    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        max-width: 58%;
        margin-top: 18px;
    }
    .hero-actions .btn { width: 100%; }
    .trust-row {
        margin-top: 16px;
        padding: 12px 14px;
        border-radius: 16px;
        background: rgba(4,11,22,.46);
        border: 1px solid rgba(80,126,198,.16);
        backdrop-filter: blur(8px);
    }
    .trust-label {
        font-size: .7rem;
        letter-spacing: .12em;
        margin-bottom: 8px;
    }
    .trust-label::after { display: none; }
    .trust-logos {
        gap: 10px 12px;
        margin-top: 0;
    }
    .trust-logos span {
        flex: 0 0 calc(50% - 6px);
        font-size: .78rem;
    }
    .form-card {
        order: 3;
        width: 100%;
        max-width: 100%;
        margin-top: 2px;
        padding: 18px;
        border-radius: 18px;
        background: linear-gradient(180deg, rgba(6,15,28,.96), rgba(4,11,21,.96));
        border: 1px solid rgba(80,126,198,.26);
        box-shadow: 0 18px 40px rgba(0,0,0,.22);
    }
    .form-card h2 { font-size: 1.22rem; }
    .form-card .subtitle { font-size: .82rem; margin: 6px 0 14px; }

    .section { padding: 42px 0; }
    .section-heading { margin-bottom: 20px; }
    .section-heading .section-line {
        font-size: .66rem;
        letter-spacing: .12em;
    }
    .section-heading h2 {
        margin-top: 10px;
        font-size: clamp(1.72rem, 8vw, 2.28rem);
        line-height: 1.16;
    }
    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .feature-card {
        min-height: 172px;
        padding: 16px 14px;
        border-radius: 16px;
    }
    .feature-card h3 { font-size: .92rem; }
    .feature-card p { font-size: .75rem; line-height: 1.54; }
    .icon-orb { width: 48px; height: 48px; }

    .stats-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
        margin-top: 14px;
        border-radius: 18px;
        overflow: hidden;
    }
    .stat {
        min-height: 90px;
        grid-template-columns: 40px 1fr;
        gap: 10px;
        padding: 14px;
    }
    .stat:nth-child(odd) { border-right: 1px solid rgba(176,190,207,.14); }
    .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(176,190,207,.14); }
    .stat::after { display: none !important; }
    .stat strong { font-size: 1.18rem; }
    .stat span { font-size: .74rem; }
    .stat small { font-size: .62rem; }

    .steps { grid-template-columns: 1fr; gap: 12px; }
    .step-card {
        min-height: 0;
        padding: 16px;
        gap: 14px;
        grid-template-columns: 48px 1fr;
        border-radius: 16px;
    }
    .step-card:not(:last-child)::after { display: none; }
    .step-number { font-size: 1.05rem; }
    .step-card h3 { font-size: .96rem; }
    .step-card p { font-size: .78rem; }

    .cta-panel {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 18px;
        border-radius: 18px;
    }
    .cta-panel h2 {
        font-size: clamp(1.62rem, 8vw, 2.2rem);
        line-height: 1.14;
    }
    .cta-panel p { font-size: .82rem; }
    .cta-panel .btn { width: 100%; }

    .faq-item summary {
        padding: 16px;
        grid-template-columns: 28px 1fr 22px;
        gap: 12px;
        font-size: .92rem;
    }
    .faq-icon { width: 28px; height: 28px; border-radius: 9px; }
    .faq-answer { padding: 0 16px 16px 56px; font-size: .8rem; }

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

@media (max-width: 560px) {
    .hero::after {
        inset: 102px 0 auto 0;
        height: 340px;
        background:
            radial-gradient(circle at 60% 33%, rgba(255,196,0,.18), transparent 14%),
            linear-gradient(90deg, rgba(2,7,13,.62) 0%, rgba(2,7,13,.10) 24%, rgba(2,7,13,0) 60%, rgba(2,7,13,.14) 100%),
            url('../images/hero-panther-mobile-visible.webp') 76% 30% / cover no-repeat;
        opacity: .96;
    }
    .hero h1 { max-width: 70%; font-size: clamp(2.15rem, 11.2vw, 3.05rem) !important; }
    .hero-copy > p,
    .hero-actions { max-width: 74%; }
    .features-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
    .hero::after {
        inset: 106px 0 auto 0;
        height: 330px;
        background:
            radial-gradient(circle at 60% 33%, rgba(255,196,0,.18), transparent 14%),
            linear-gradient(90deg, rgba(2,7,13,.62) 0%, rgba(2,7,13,.12) 22%, rgba(2,7,13,.02) 58%, rgba(2,7,13,.16) 100%),
            url('../images/hero-panther-mobile-visible.webp') 80% 28% / cover no-repeat;
    }
    .hero h1 { max-width: 74%; }
    .hero-copy > p,
    .hero-actions { max-width: 78%; }
    .trust-logos span { flex: 0 0 100%; }
}


/* =========================
   V15 CLEAN MOBILE CTA
   One clear primary action in hero
   ========================= */
@media (max-width: 900px) {
    .hero-actions {
        display: block;
        max-width: 74%;
    }

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

    .hero-actions .btn-outline {
        display: none !important;
    }

    .mobile-sticky-cta {
        opacity: 0;
        visibility: hidden;
        transform: translateY(18px);
        pointer-events: none;
        transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
    }

    .mobile-sticky-cta.is-active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
}

@media (max-width: 560px) {
    .hero-actions {
        max-width: 78%;
    }
}


/* =========================
   V16 MOBILE TRADING ECOSYSTEM GRID
   Clean 2-column layout on phones
   ========================= */
@media (max-width: 900px) {
    .trust-row {
        margin-top: 18px;
        padding: 14px;
        border-radius: 18px;
        background: linear-gradient(180deg, rgba(5,14,27,.82), rgba(3,10,20,.78));
        border: 1px solid rgba(35,137,255,.24);
        box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
    }

    .trust-label {
        margin-bottom: 12px;
        font-size: .72rem;
        letter-spacing: .13em;
        color: var(--blue-soft);
    }

    .trust-logos {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px !important;
        margin-top: 0 !important;
    }

    .trust-logos span {
        display: grid !important;
        grid-template-columns: 28px minmax(0, 1fr);
        align-items: center;
        gap: 9px;
        min-width: 0;
        min-height: 58px;
        padding: 10px;
        border: 1px solid rgba(78,132,205,.18);
        border-radius: 13px;
        background: rgba(5,15,28,.72);
        font-size: .76rem !important;
        font-weight: 700;
        line-height: 1.25;
        opacity: 1;
        flex: none !important;
    }

    .trust-logos span svg {
        width: 24px;
        height: 24px;
        color: #e7edf6;
        flex: none;
    }
}

@media (max-width: 420px) {
    .trust-row {
        padding: 12px;
    }

    .trust-logos {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .trust-logos span {
        grid-template-columns: 24px minmax(0, 1fr);
        gap: 7px;
        min-height: 54px;
        padding: 9px 8px;
        font-size: .7rem !important;
        flex: none !important;
    }

    .trust-logos span svg {
        width: 21px;
        height: 21px;
    }
}
