:root {
    --bg: #04070d;
    --bg-elev: #080d18;
    --surface: #0b1120;
    --card: #0f172a;
    --card-hi: #141f36;
    --border: rgba(148, 163, 184, 0.13);
    --border-hi: rgba(52, 211, 153, 0.42);
    --border-cobalt: rgba(59, 130, 246, 0.42);

    --emerald: #10b981;
    --emerald-hi: #34d399;
    --emerald-soft: rgba(16, 185, 129, 0.12);
    --cobalt: #3b82f6;
    --cobalt-hi: #60a5fa;
    --cobalt-soft: rgba(59, 130, 246, 0.12);
    --cyan: #38bdf8;
    --short: #f43f5e;
    --amber: #fbbf24;
    --purple: #a855f7;

    --text: #f8fafc;
    --text-sub: #cbd5e1;
    --muted: #8896ae;

    --font-ui: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-ui);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

/* Subtle architectural dot grid + emerald/cobalt ambient radar aura */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background-image:
        radial-gradient(ellipse 70% 42% at 50% -6%, rgba(16, 185, 129, 0.14), transparent 65%),
        radial-gradient(ellipse 58% 36% at 75% 8%, rgba(59, 130, 246, 0.14), transparent 65%),
        radial-gradient(circle at 18% 58%, rgba(56, 189, 248, 0.06), transparent 45%);
    pointer-events: none;
}
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(148, 163, 184, 0.09) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse 85% 65% at 50% 20%, #000 35%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 20%, #000 35%, transparent 100%);
    pointer-events: none;
}

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ================= TOP TELEMETRY STRIP ================= */
.top-strip {
    background: rgba(6, 10, 18, 0.88);
    border-bottom: 1px solid var(--border);
    padding: 7px 16px;
    font-size: 11px;
    color: var(--muted);
}
.strip-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.strip-group { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.strip-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--emerald-hi);
    box-shadow: 0 0 10px var(--emerald-hi);
    margin-right: 7px;
    animation: pulseDot 2.2s ease-in-out infinite;
}
@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.85); }
}

/* ================= FLOATING PILL NAVBAR ================= */
.nav-wrap {
    position: sticky;
    top: 14px;
    z-index: 70;
    padding: 14px 20px 0;
}
.pill-nav {
    max-width: 1060px;
    margin: 0 auto;
    height: 60px;
    padding: 0 10px 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-radius: 999px;
    background: rgba(9, 14, 26, 0.78);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
.brand img {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(52, 211, 153, 0.35);
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.22);
}
.brand-word {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1.8px;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.brand-word .pump {
    background: linear-gradient(120deg, #34d399 10%, #38bdf8 95%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nav-menu { display: flex; align-items: center; gap: 26px; }
.nav-menu a {
    color: var(--muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 150ms ease;
    position: relative;
}
.nav-menu a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.is-hidden { display: none !important; }
.nav-user-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 4px 5px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(52, 211, 153, 0.36);
    color: var(--text);
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 600;
    transition: border-color 150ms ease, background 150ms ease;
}
.nav-user-pill:hover { border-color: var(--emerald-hi); background: var(--card-hi); }
.nav-user-av {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #34d399, #0ea5e9);
    color: #031510;
    font-size: 11px;
    font-weight: 800;
}

.nav-burger {
    display: none;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(15, 23, 42, 0.9);
    color: var(--text);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 150ms ease, background 150ms ease;
}
.nav-burger:hover { border-color: var(--border-hi); background: var(--card-hi); }

.mobile-drawer {
    display: none;
    max-width: 1060px;
    margin: 10px auto 0;
    padding: 14px;
    border-radius: 20px;
    background: rgba(9, 14, 26, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.65);
    flex-direction: column;
    gap: 6px;
}
.mobile-drawer.is-open { display: flex; }
.mobile-drawer a {
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--text-sub);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
}
.mobile-drawer a:hover { background: var(--card-hi); color: var(--text); }
.mobile-drawer-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 160ms ease, filter 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-ghost { color: var(--text-sub); background: transparent; }
.btn-ghost:hover { color: var(--text); transform: none; }
.btn-outline {
    color: var(--text);
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(148, 163, 184, 0.22);
}
.btn-outline:hover { border-color: var(--border-hi); background: var(--card-hi); }
.btn-primary {
    color: #031510;
    font-weight: 700;
    background: linear-gradient(135deg, #34d399 0%, #10b981 55%, #0ea5e9 100%);
    box-shadow: 0 6px 24px rgba(16, 185, 129, 0.32);
}
.btn-primary:hover { filter: brightness(1.08); box-shadow: 0 8px 28px rgba(16, 185, 129, 0.42); }
.btn-lg { padding: 13px 26px; font-size: 14px; }

/* ================= CENTERED MONUMENTAL HERO ================= */
.hero {
    padding: 58px 0 42px;
    text-align: center;
}
.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: 999px;
    border: 1px solid rgba(52, 211, 153, 0.32);
    background: rgba(16, 185, 129, 0.09);
    color: var(--emerald-hi);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.7px;
    margin-bottom: 22px;
}
.hero-kicker .k-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--emerald-hi);
    box-shadow: 0 0 8px var(--emerald-hi);
}
.hero h1 {
    max-width: 860px;
    margin: 0 auto 18px;
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.032em;
}
.hero h1 .accent {
    background: linear-gradient(120deg, #ffffff 6%, #34d399 52%, #38bdf8 95%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p {
    max-width: 620px;
    margin: 0 auto 28px;
    font-size: 16px;
    color: var(--muted);
    line-height: 1.65;
}
.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 34px;
}

/* Telemetry capability bar */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    max-width: 820px;
    margin: 0 auto 44px;
}
.h-stat {
    padding: 12px 14px;
    border-radius: 13px;
    background: rgba(11, 17, 32, 0.74);
    border: 1px solid var(--border);
    text-align: center;
}
.h-stat strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}
.h-stat span {
    font-size: 11px;
    color: var(--muted);
}

/* ================= INTERACTIVE 3-PANEL TERMINAL SHOWCASE ================= */
.showcase-frame {
    position: relative;
    background: linear-gradient(180deg, #0d1424 0%, #060911 100%);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 20px;
    overflow: hidden;
    text-align: left;
    box-shadow:
        0 36px 90px rgba(0, 0, 0, 0.78),
        0 0 90px rgba(16, 185, 129, 0.08),
        0 0 120px rgba(59, 130, 246, 0.08);
}
.sc-topbar {
    height: 46px;
    padding: 0 16px;
    background: #080d18;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
    gap: 10px;
}
.sc-left { display: flex; align-items: center; gap: 9px; font-weight: 700; letter-spacing: 1px; }
.sc-left img { width: 22px; height: 22px; border-radius: 6px; }
.sc-hint {
    font-size: 10px;
    color: var(--muted);
    font-weight: 500;
}
.sc-pills { display: flex; gap: 6px; align-items: center; }
.sc-pill {
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--muted);
}
.sc-pill.on { color: var(--cyan); border-color: rgba(56, 189, 248, 0.36); background: rgba(56, 189, 248, 0.1); }
.sc-pill.btc { color: var(--emerald-hi); border-color: rgba(16, 185, 129, 0.38); background: rgba(16, 185, 129, 0.1); }

.sc-grid {
    display: grid;
    grid-template-columns: 230px 1fr 258px;
    min-height: 368px;
}

/* Left Interactive Radar Pane */
.sc-pane-left {
    border-right: 1px solid var(--border);
    padding: 12px;
    background: rgba(6, 10, 18, 0.8);
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.pane-lbl {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mini-card {
    width: 100%;
    text-align: left;
    font-family: inherit;
    color: var(--text);
    padding: 9px 11px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid var(--border);
    border-left: 2.5px solid transparent;
    cursor: pointer;
    transition: background 150ms ease, border-color 150ms ease, transform 140ms ease;
}
.mini-card:hover {
    background: rgba(20, 31, 54, 0.9);
    border-color: rgba(148, 163, 184, 0.28);
}
.mini-card.active {
    border-color: rgba(52, 211, 153, 0.42);
    border-left-color: var(--emerald-hi);
    background: rgba(16, 185, 129, 0.09);
}
.mc-top { display: flex; justify-content: space-between; font-size: 11.5px; font-weight: 700; gap: 6px; }
.mc-sub { font-size: 10px; color: var(--muted); margin-top: 3px; }
.mc-up { color: var(--emerald-hi); }
.mc-teal { color: #2dd4bf; }
.mc-cyan { color: var(--cyan); }

/* Center Chart Pane */
.sc-pane-center {
    padding: 13px 15px;
    display: flex;
    flex-direction: column;
    background: #05080f;
}
.sc-chart-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
    font-size: 11px;
}
.sc-toggles { display: flex; gap: 4px; flex-wrap: wrap; }
.sc-toggles span {
    font-size: 9.5px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 5px;
    background: rgba(56, 189, 248, 0.12);
    color: var(--cyan);
    border: 1px solid rgba(56, 189, 248, 0.28);
}
.sc-svg { width: 100%; height: 278px; display: block; }

/* Right Watch Zone Pane */
.sc-pane-right {
    border-left: 1px solid var(--border);
    padding: 12px;
    background: rgba(6, 10, 18, 0.8);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.wz-box {
    padding: 11px;
    border-radius: 11px;
    background: rgba(15, 23, 42, 0.82);
    border: 1px solid var(--border);
    transition: border-color 180ms ease;
}
.wz-box.hi { border-color: rgba(45, 212, 191, 0.44); }
.wz-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; margin-bottom: 7px; gap: 6px; }
.wz-tag {
    font-size: 9.5px;
    padding: 2px 7px;
    border-radius: 5px;
    background: rgba(16, 185, 129, 0.14);
    color: var(--emerald-hi);
    font-weight: 700;
}
.wz-tag.short { background: rgba(244, 63, 94, 0.14); color: var(--short); }
.wz-kv { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--muted); margin-top: 4px; gap: 8px; }
.wz-kv b { color: var(--text-sub); }
.of-bar {
    height: 6px;
    border-radius: 999px;
    background: rgba(244, 63, 94, 0.35);
    overflow: hidden;
    margin-top: 9px;
}
.of-bar i { display: block; height: 100%; width: 64%; background: linear-gradient(90deg, #10b981, #34d399); transition: width 260ms ease; }

/* ================= ASYMMETRIC BENTO GRID ================= */
.section { padding: 84px 0; }
.sec-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.sec-head h2 {
    font-size: clamp(26px, 3.2vw, 38px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.15;
    max-width: 560px;
}
.sec-head p { max-width: 430px; font-size: 14.5px; color: var(--muted); }

.bento {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
}
.b-card {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.88) 0%, rgba(9, 14, 25, 0.96) 100%);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.b-card:hover {
    border-color: rgba(52, 211, 153, 0.38);
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.4);
}
.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-4 { grid-column: span 4; }
.span-8 { grid-column: span 8; }

.b-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.b-ico {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.11);
    border: 1px solid rgba(52, 211, 153, 0.28);
    color: var(--emerald-hi);
    flex-shrink: 0;
}
.b-ico.cobalt {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(96, 165, 250, 0.3);
    color: var(--cobalt-hi);
}
.b-badge {
    display: inline-block;
    width: fit-content;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 6px;
    color: var(--cyan);
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
}
.b-card h3 { font-size: 19px; font-weight: 700; margin: 0 0 8px; letter-spacing: -0.01em; }
.b-card p { font-size: 13.5px; color: var(--muted); line-height: 1.65; }
.b-card em { font-style: normal; color: var(--text-sub); font-weight: 500; }

.b-metrics {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.b-chip {
    font-size: 11px;
    padding: 5px 10px;
    border-radius: 8px;
    background: rgba(5, 8, 15, 0.78);
    border: 1px solid var(--border);
    color: var(--text-sub);
}

/* ================= INTERACTIVE PIPELINE TABS ================= */
.pipe-shell {
    background: rgba(11, 17, 32, 0.85);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    display: grid;
    grid-template-columns: 325px 1fr;
    gap: 22px;
    align-items: stretch;
}
.pipe-tabs { display: flex; flex-direction: column; gap: 10px; }
.pipe-tab {
    text-align: left;
    padding: 16px 18px;
    border-radius: 13px;
    background: rgba(6, 10, 18, 0.55);
    border: 1px solid var(--border);
    color: var(--muted);
    cursor: pointer;
    font-family: inherit;
    transition: all 160ms ease;
}
.pipe-tab:hover { border-color: rgba(148, 163, 184, 0.3); color: var(--text-sub); }
.pipe-tab.active {
    background: var(--card-hi);
    border-color: var(--border-hi);
    color: var(--text);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.pipe-tab small { display: block; font-size: 10.5px; color: var(--emerald-hi); margin-bottom: 4px; font-weight: 700; letter-spacing: 0.6px; }
.pipe-tab strong { font-size: 14.5px; }

.pipe-panel {
    background: #05080f;
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}
.pipe-panel h3 { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.pipe-panel p { font-size: 14px; color: var(--muted); line-height: 1.65; }
.pipe-checklist {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.pipe-checklist li {
    padding: 11px 13px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--border);
    font-size: 12.5px;
    color: var(--text-sub);
}
.pipe-checklist li::before { content: "✓ "; color: var(--emerald-hi); font-weight: 700; }

/* ================= FINAL PRIVATE ACCESS STRIP ================= */
.cta-band {
    background: linear-gradient(125deg, rgba(16, 185, 129, 0.14) 0%, rgba(15, 23, 42, 0.96) 50%, rgba(59, 130, 246, 0.14) 100%);
    border: 1px solid rgba(52, 211, 153, 0.34);
    border-radius: 22px;
    padding: 42px 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}
.cta-band h2 { font-size: 27px; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.02em; }
.cta-band p { max-width: 560px; font-size: 14.5px; color: var(--text-sub); }
.cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ================= FOOTER ================= */
footer {
    border-top: 1px solid var(--border);
    padding: 30px 0 40px;
    font-size: 12px;
    color: var(--muted);
}
.foot-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.foot-brand { display: inline-flex; align-items: center; gap: 8px; }
.foot-brand img { width: 20px; height: 20px; border-radius: 5px; }

/* Subtle scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 480ms ease, transform 480ms ease;
}
.reveal.is-in {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .strip-dot { animation: none; }
}

@media (max-width: 980px) {
    .sc-grid { grid-template-columns: 1fr; }
    .sc-pane-left, .sc-pane-right { border: none; border-top: 1px solid var(--border); }
    .span-7, .span-5, .span-4, .span-8 { grid-column: span 12; }
    .pipe-shell { grid-template-columns: 1fr; }
    .nav-menu, .nav-cta .btn-ghost, .nav-cta .btn-outline { display: none; }
    .nav-burger { display: inline-flex; }
    .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sc-hint { display: none; }
}
@media (max-width: 640px) {
    .pipe-checklist { grid-template-columns: 1fr; }
    .cta-band { padding: 28px 22px; }
    .pill-nav { height: 54px; padding: 0 8px 0 12px; }
    .nav-cta .btn-primary { padding: 7px 13px; font-size: 12px; }
}
