:root {
    --bg: #0b1020;
    --panel: #121a30;
    --panel-2: #0f172a;
    --text: #e5e7eb;
    --muted: #9ca3af;
    --primary: #3b82f6;
    --primary-2: #60a5fa;
    --accent: #22c55e;
    --border: rgba(255,255,255,.08);
    --shadow: 0 10px 30px rgba(0,0,0,.35);
    --nt-orange: #ff4500;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    background: linear-gradient(180deg, #0b1020 0%, #0a0f1d 100%);
    color: var(--text);
    line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

/* ── NAV ─────────────────────────────────────────── */
.nav {
    position: sticky; top: 0; z-index: 10;
    backdrop-filter: blur(12px);
    background: rgba(11,16,32,.88);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    display: flex; align-items: center;
    justify-content: space-between;
    padding: 12px 0; gap: 16px;
    flex-wrap: wrap;
}
.brand {
    font-weight: 700; letter-spacing: .2px;
    display: flex; align-items: center; gap: 8px;
}
.brand img { height: 34px; width: auto; }
.nav-links {
    display: flex; gap: 16px;
    flex-wrap: wrap; align-items: center;
}
.nav-links a { color: var(--muted); font-size: 14px; }
.nav-links a:hover { color: var(--text); }

/* 3-language switcher */
.lang-switcher {
    display: flex; gap: 4px; align-items: center;
    border: 1px solid var(--border);
    border-radius: 8px; padding: 3px 8px;
    font-size: 12px; font-weight: 700;
}
.lang-switcher a { color: var(--muted); }
.lang-switcher a:hover { color: var(--text); }
.lang-switcher .active { color: var(--primary-2); }
.lang-sep { color: rgba(255,255,255,.2); }

/* ── BUTTONS ─────────────────────────────────────── */
.btn {
    display: inline-block; padding: 11px 17px;
    border-radius: 12px; font-weight: 600;
    border: 1px solid var(--border);
    transition: .2s ease; box-shadow: var(--shadow);
    font-size: 14px;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); }
.btn-secondary { background: rgba(255,255,255,.04); }
.btn-orange {
    background: linear-gradient(135deg, #ff4500, #ff6a00);
    border-color: rgba(255,69,0,.3); color: #fff;
}

/* ── HERO ────────────────────────────────────────── */
.hero { padding: 64px 0 40px; }
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 32px; align-items: center;
}
.kicker {
    color: var(--primary-2); font-weight: 700;
    text-transform: uppercase; letter-spacing: .14em;
    font-size: 11px; margin-bottom: 8px;
}

/* ── TYPOGRAPHY ──────────────────────────────────── */
h1, h2, h3 { line-height: 1.12; margin: 0 0 14px; }
h1 { font-size: clamp(32px, 5.5vw, 54px); }
h2 { font-size: clamp(24px, 3.8vw, 36px); }
h3 { font-size: 20px; }
p.lead { font-size: 17px; color: var(--muted); max-width: 680px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

/* ── CARDS ───────────────────────────────────────── */
.mock {
    background: linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02));
    border: 1px solid var(--border); border-radius: 20px;
    padding: 18px; box-shadow: var(--shadow);
}
.badge {
    display: inline-block; padding: 5px 10px;
    border-radius: 999px;
    background: rgba(59,130,246,.12);
    border: 1px solid rgba(59,130,246,.26);
    color: #cfe2ff; font-size: 12px; font-weight: 700;
}
.badge-orange {
    background: rgba(255,69,0,.12);
    border-color: rgba(255,69,0,.3);
    color: #ffb399;
}
.section { padding: 48px 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.card {
    background: linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02));
    border: 1px solid var(--border); border-radius: 18px;
    padding: 22px; box-shadow: var(--shadow);
}
.card p, .muted { color: var(--muted); }
.feature-list, .steps { padding-left: 18px; color: var(--muted); }
.feature-list li, .steps li { margin-bottom: 10px; }
.gallery { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.cta {
    background: linear-gradient(135deg,rgba(59,130,246,.15),rgba(34,197,94,.08));
    border: 1px solid var(--border); border-radius: 22px; padding: 28px;
}

/* ── PARTNER LOGOS ───────────────────────────────── */
.partners-section {
    padding: 28px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.partners-inner {
    display: flex; align-items: center;
    gap: 28px; flex-wrap: wrap;
    justify-content: center;
}

/* White pill wrapper for logos with white backgrounds */
.logo-white-bg {
    background: #fff;
    padding: 6px 14px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    transition: opacity .2s;
}
.logo-white-bg:hover { opacity: .88; }
.logo-white-bg img { height: 28px; width: auto; display: block; }

/* Kinetick logo white bg */
.kinetick-logo-wrap { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.partner-label {
    font-size: 10px; color: var(--muted);
    text-transform: uppercase; letter-spacing: .1em; font-weight: 600;
}

.kinetick-banner-728 { display: block; max-width: 728px; width: 100%; }
.kinetick-banner-728 img { width: 100%; height: auto; display: block; }

/* GammaOrderBook hero banner */
.product-banner {
    width: 100%; border-radius: 16px; overflow: hidden;
    box-shadow: var(--shadow); border: 1px solid var(--border);
}
.product-banner img { width: 100%; height: auto; display: block; }

/* ── VIDEO ───────────────────────────────────────── */
.video-box {
    position: relative; width: 100%;
    padding-bottom: 56.25%; height: 0;
    overflow: hidden; border-radius: 12px;
}
.video-box iframe {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
}

/* ── RISK DISCLOSURE (always visible) ───────────── */
.risk-block {
    background: rgba(0,0,0,.3);
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 28px 0;
    margin-top: 8px;
}
.risk-block h4 {
    font-size: 11px; font-weight: 800;
    text-transform: uppercase; letter-spacing: .12em;
    color: #6b7280; margin: 0 0 14px;
}
.risk-block h5 {
    font-size: 10.5px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .08em;
    color: #4b5563; margin: 12px 0 4px;
}
.risk-block p {
    font-size: 11px; color: #4b5563;
    line-height: 1.65; margin: 0 0 6px;
}

/* ── FOOTER ──────────────────────────────────────── */
.footer {
    padding: 32px 0 0;
    color: var(--muted);
    border-top: 1px solid var(--border);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px; margin-bottom: 24px;
}
.footer-col h4 {
    font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .1em;
    color: var(--text); margin: 0 0 12px;
}
.footer-col a { display: block; margin-bottom: 8px; color: var(--muted); font-size: 14px; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 16px 0;
    display: flex; align-items: center;
    justify-content: space-between; flex-wrap: wrap;
    gap: 12px; font-size: 13px;
}

/* ── MISC ────────────────────────────────────────── */
.center { text-align: center; }
.note { font-size: 13px; color: var(--muted); }
.codebox {
    background: #0a1226; border: 1px solid var(--border);
    padding: 14px; border-radius: 12px; color: #cbd5e1;
    overflow: auto;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 900px) {
    .hero-grid, .grid-3, .grid-2, .gallery, .footer-grid {
        grid-template-columns: 1fr;
    }
    .partners-inner { flex-direction: column; }
    .kinetick-banner-728 { max-width: 100%; }
}

/* ── COMPLIANCE ADDITIONS ─────────────────────────── */
/* Risk block - must be easily visible per NinjaTrader guidelines */
.risk-block {
    background: rgba(0,0,0,.35);
    border-top: 2px solid rgba(255,100,0,.25);
    padding: 28px 0;
}
.risk-block h4 {
    font-size: 13px; font-weight: 800;
    text-transform: uppercase; letter-spacing: .12em;
    color: #9ca3af; margin: 0 0 12px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    padding-bottom: 8px;
}
.risk-block h5 {
    font-size: 11.5px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .08em;
    color: #6b7280; margin: 14px 0 5px;
}
.risk-block p {
    font-size: 12px; color: #6b7280;
    line-height: 1.7; margin: 0 0 6px;
    max-width: 920px;
}

/* NT disclaimer (compliance) */
.nt-disclaimer {
    font-size: 11px; color: #4b5563;
    line-height: 1.6; margin: 0;
    padding: 12px 0 0;
    border-top: 1px solid rgba(255,255,255,.04);
}

/* Logo spacing - NinjaTrader guidelines require min 18px on all sides */
.logo-white-bg {
    background: #fff;
    padding: 8px 16px;   /* 18px+ */
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    transition: opacity .2s;
    margin: 2px;         /* additional clearance */
}
.logo-white-bg:hover { opacity: .88; }
.logo-white-bg img { height: 28px; width: auto; display: block; }
