/* ==========================================================================
   Orivest Capital — Marketing site
   Dark / emerald design system
   ========================================================================== */

:root {
  --bg: #000;
  --fg: #fff;
  --card: #0d0d0d;
  --muted: #262626;
  --muted-fg: #999;
  --border: #1c1c1c;
  --input: #333;
  --primary: #4de805;
  --primary-rgb: 16, 185, 129;
  --primary-light: #34d399;
  --emerald-950: rgba(2, 44, 34, .3);
  --emerald-900: rgba(6, 78, 59, .15);
  --radius: .5rem;
  --container: 1400px;
  --header-h: 68px;
  --banner-h: 0px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-snap-type: y proximity; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
.snap { scroll-snap-align: start; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 1152px; }
.container-md { max-width: 1280px; }
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--muted-fg); }
.text-white-60 { color: rgba(255,255,255,.6); }
.text-white-70 { color: rgba(255,255,255,.7); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typography ---------- */
.h-display { font-size: clamp(3rem, 7.5vw, 6rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.1; }
.h-sub { font-size: clamp(1.5rem, 3.2vw, 2.25rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.2; }
.h-section { font-size: clamp(2.25rem, 4.5vw, 3rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.lead { font-size: 1.125rem; color: var(--muted-fg); }
.section-head { text-align: center; max-width: 56rem; margin: 0 auto 64px; }
.section-head .h-section { margin-bottom: 16px; }
.section { padding: 80px 0; }
.section-lg { padding: 96px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: var(--radius);
  font-size: .875rem; font-weight: 500; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-lg { height: 48px; min-width: 160px; padding: 0 32px; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-white { background: #fff; color: #000; }
.btn-white:hover, .btn-outline:hover { background: var(--primary); color: #000; border-color: var(--primary); }
.btn-outline { background: #000; color: #fff; border: 1px solid rgba(255,255,255,.2); }
.btn-ghost { color: rgba(255,255,255,.8); }
.btn-ghost:hover { color: #fff; background: rgba(255,255,255,.06); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; }
.btn svg { width: 16px; height: 16px; }

/* ---------- Pills / badges ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px; border-radius: 999px; font-size: .75rem; font-weight: 500;
  color: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.2);
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; }
.dot-green { background: #22c55e; }
.dot-purple { background: #a855f7; }
.pill-primary { background: rgba(var(--primary-rgb), .1); color: var(--primary); border-color: rgba(var(--primary-rgb), .2); padding: 6px 16px; font-size: .875rem; }
.pill-primary svg { width: 16px; height: 16px; }
.tag { font-size: 10px; font-weight: 600; line-height: 1; padding: 2px 6px; border-radius: 4px; }
.tag-hot { background: rgba(249,115,22,.2); color: #fb923c; border: 1px solid rgba(249,115,22,.3); }
.tag-new { background: rgba(var(--primary-rgb),.2); color: var(--primary); border: 1px solid rgba(var(--primary-rgb),.3); }
.pulse { animation: pulse 2s cubic-bezier(.4,0,.6,1) infinite; }

/* Animated star-border pill (hero) */
.star-border {
  position: relative; display: inline-flex; overflow: hidden; border-radius: 999px;
  --star-color: rgba(52,199,89,.45); --speed: 9s;
}
.star-border::before { content: ""; position: absolute; inset: 0; border-radius: 999px; border: 1px solid rgba(255,255,255,.15); z-index: 0; }
.star-border .sb-spin {
  position: absolute; inset: -1000%; z-index: 1;
  background: conic-gradient(from 0deg, transparent 60%, var(--star-color) 80%, transparent 100%);
  animation: star-spin var(--speed) ease-in-out infinite alternate;
}
.star-border .sb-fill { position: absolute; inset: 2px; border-radius: 999px; background: #000; z-index: 2; }
.star-border .sb-content { position: relative; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 10px 20px; font-size: .875rem; color: rgba(255,255,255,.9); }
.star-border .sb-content .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.star-border .sb-content svg { width: 16px; height: 16px; color: rgba(255,255,255,.7); transition: transform .2s; }
.star-border:hover .sb-content svg { transform: translateX(3px); }

/* ---------- Risk banner ---------- */
.risk-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  background: rgba(0,0,0,.6); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(28,28,28,.5);
  transition: transform .3s ease-out;
}
.risk-banner.is-hidden { transform: translateY(-100%); }
.risk-banner .container { position: relative; padding-top: 10px; padding-bottom: 10px; }
.risk-banner p { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .8125rem; color: rgba(255,255,255,.6); text-align: center; padding: 0 32px; }
.risk-banner p svg { width: 16px; height: 16px; flex-shrink: 0; color: rgba(255,255,255,.4); }
.risk-banner strong { color: rgba(255,255,255,.8); }
.risk-banner a { text-decoration: underline; margin-left: 4px; }
.risk-banner a:hover { color: #fff; }
.risk-banner .close { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,.4); }
.risk-banner .close:hover { color: #fff; }
.risk-banner .close svg { width: 16px; height: 16px; }
@media (max-width: 767px) { .risk-banner { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; left: 0; right: 0; top: var(--banner-h); z-index: 50;
  background: rgba(0,0,0,.6); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(28,28,28,.5);
  transition: top .3s;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 16px;
  border-radius: 6px; font-size: .875rem; font-weight: 500; color: rgba(255,255,255,.8);
  transition: background .2s, color .2s;
}
.nav-link svg { width: 12px; height: 12px; transition: transform .2s; }
.nav-link:hover, .nav-item.open > .nav-link, .nav-link.active { background: var(--primary); color: #000; }
.nav-item.open > .nav-link svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px; padding: 8px;
  background: #0d0d0d; border: 1px solid var(--border); border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.nav-item.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; font-size: .875rem; border-radius: 6px; transition: background .15s; }
.dropdown a:hover { background: var(--muted); }
.dropdown a small { display: block; color: var(--muted-fg); font-size: .75rem; margin-top: 2px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.2); border-radius: 6px; align-items: center; justify-content: center; color: rgba(255,255,255,.7); }
.menu-toggle svg { width: 20px; height: 20px; }

/* Mobile drawer */
.drawer-backdrop { position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.6); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 80; width: 320px; max-width: 88vw;
  background: rgba(0,0,0,.85); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-left: 1px solid rgba(255,255,255,.2);
  transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column;
}
body.drawer-open .drawer { transform: none; }
body.drawer-open .drawer-backdrop { opacity: 1; visibility: visible; }
body.drawer-open { overflow: hidden; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 24px; border-bottom: 1px solid rgba(255,255,255,.1); }
.drawer-head img { height: 36px; width: auto; }
.drawer-head button svg { width: 20px; height: 20px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 24px; }
.drawer-body h4 { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-fg); margin: 16px 0 8px; }
.drawer-body a { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; color: rgba(255,255,255,.85); border-bottom: 1px solid rgba(255,255,255,.06); }
.drawer-foot { padding: 24px; display: grid; gap: 12px; border-top: 1px solid rgba(255,255,255,.1); }

@media (max-width: 1023px) {
  .nav, .header-actions .btn { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: #000; padding: 176px 24px 32px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg canvas { width: 100%; height: 100%; display: block; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 55%, #000 100%); }
.hero-inner { position: relative; z-index: 1; text-align: center; max-width: 72rem; margin: 0 auto 48px; }
.hero .star-border { margin-bottom: 24px; }
.hero h1 { margin-bottom: 16px; }
.hero h2 { margin-bottom: 32px; }
.hero p.lead { max-width: 32rem; margin: 0 auto 48px; color: rgba(255,255,255,.7); font-size: 1rem; line-height: 1.7; }
.hero .btn-row { margin-bottom: 32px; }
.hero-sm { padding-top: 168px; padding-bottom: 64px; }
.hero-sm .hero-inner { margin-bottom: 0; }
@media (max-width: 767px) { .hero { padding-top: 112px; padding-left: 0; padding-right: 0; } .hero-inner { padding: 0 16px; } }

/* Word-by-word blur-in */
.split { display: inline-flex; flex-wrap: wrap; justify-content: center; column-gap: .3em; }
.split .w { display: inline-block; opacity: 0; filter: blur(12px); transform: translateY(10px); transition: opacity .6s cubic-bezier(.25,.46,.45,.94), filter .6s cubic-bezier(.25,.46,.45,.94), transform .6s cubic-bezier(.25,.46,.45,.94); }
.split.in .w { opacity: 1; filter: blur(0); transform: none; }

/* Fade-up on load / scroll */
.fade-up { opacity: 0; transform: translateY(8px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.in { opacity: 1; transform: none; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Ticker ---------- */
.ticker { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; background: #000; position: relative; }
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(to right, #000, transparent); }
.ticker::after { right: 0; background: linear-gradient(to left, #000, transparent); }
.ticker-track { display: flex; width: max-content; animation: scroll-left 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.tick { display: flex; align-items: center; gap: 10px; padding: 14px 28px; font-size: .875rem; white-space: nowrap; border-right: 1px solid var(--border); }
.tick b { font-weight: 600; }
.tick .px { color: rgba(255,255,255,.8); font-variant-numeric: tabular-nums; }
.up { color: #22c55e; }
.down { color: #ef4444; }

/* ---------- Dashboard mockup ---------- */
.dash-wrap { position: relative; }
.dash-wrap::before { content: ""; position: absolute; left: 10%; right: 10%; top: -40px; height: 200px; background: radial-gradient(ellipse at center, rgba(var(--primary-rgb), .18), transparent 70%); filter: blur(40px); pointer-events: none; }
.dash { position: relative; background: #000; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0,0,0,.8); }
.dash-top { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid var(--border); }
.dash-top .left, .dash-top .right { display: flex; align-items: center; gap: 12px; }
.lights { display: flex; gap: 8px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; }
.lights i:nth-child(1) { background: #ef4444; } .lights i:nth-child(2) { background: #eab308; } .lights i:nth-child(3) { background: var(--primary); }
.dash-title { font-size: .875rem; font-weight: 500; }
.dash-chip { display: flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--border); border-radius: 999px; font-size: 10px; }
.dash-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.dash-wallet { display: flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: .75rem; }
.dash-wallet svg { width: 12px; height: 12px; }
.dash-icon { position: relative; width: 28px; height: 28px; border: 1px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.7); }
.dash-icon svg { width: 14px; height: 14px; }
.dash-icon .badge { position: absolute; top: -4px; right: -4px; width: 14px; height: 14px; border-radius: 50%; background: var(--primary); font-size: 8px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.dash-avatar { width: 28px; height: 28px; border-radius: 50%; background: #28283e; display: flex; align-items: center; justify-content: center; }
.dash-avatar svg { width: 14px; height: 14px; }
.dash-body { display: flex; }
.dash-side { width: 176px; border-right: 1px solid var(--border); padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.dash-side span { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 6px; font-size: .75rem; color: rgba(255,255,255,.7); cursor: default; transition: background .15s, color .15s; }
.dash-side span:hover { background: rgba(255,255,255,.1); color: #fff; }
.dash-side span.on { background: var(--primary); color: #fff; font-weight: 500; }
.dash-side svg { width: 12px; height: 12px; }
.dash-main { flex: 1; padding: 16px; min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 12px; }
.kpi { border: 1px solid var(--border); border-radius: 8px; padding: 16px; }
.kpi .lbl { font-size: .75rem; color: rgba(255,255,255,.6); display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.kpi .lbl svg { width: 14px; height: 14px; }
.kpi .val { font-size: 1.375rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.kpi .chg { font-size: .75rem; margin-top: 4px; }
.dash-grid { display: grid; grid-template-columns: 1.8fr 1fr; gap: 12px; }
.panel { border: 1px solid var(--border); border-radius: 8px; padding: 16px; min-width: 0; }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.panel-head h5 { font-size: .875rem; font-weight: 600; }
.seg { display: flex; gap: 2px; background: #111; border-radius: 6px; padding: 2px; }
.seg span { font-size: 10px; padding: 3px 8px; border-radius: 4px; color: rgba(255,255,255,.6); }
.seg span.on { background: #262626; color: #fff; }
.chart svg { width: 100%; height: 190px; }
.trader-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border); }
.trader-row:last-child { border-bottom: 0; }
.avatar { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: .6875rem; font-weight: 700; color: #000; }
.trader-row .meta { flex: 1; min-width: 0; }
.trader-row .meta b { display: block; font-size: .8125rem; font-weight: 600; }
.trader-row .meta small { font-size: .6875rem; color: var(--muted-fg); }
.trader-row .roi { font-size: .8125rem; font-weight: 600; }
.copy-btn { font-size: .6875rem; font-weight: 600; padding: 4px 10px; border-radius: 6px; background: rgba(var(--primary-rgb), .15); color: var(--primary); border: 1px solid rgba(var(--primary-rgb), .3); }
@media (max-width: 1023px) { .kpis { grid-template-columns: repeat(2, 1fr); } .dash-grid { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .dash-side, .lights, .dash-title, .dash-chip, .dash-top .dash-icon { display: none; } .dash-mobile-logo { display: block !important; } }
.dash-mobile-logo { display: none; width: 24px; height: 24px; border-radius: 6px; background: var(--primary); }

/* ---------- Emerald gradient card ---------- */
.glow-card {
  border: 1px solid rgba(var(--primary-rgb), .5); border-radius: 16px;
  background: linear-gradient(to bottom right, var(--emerald-950), var(--emerald-900), #000);
}
.glow-card.shadow { box-shadow: 0 0 30px rgba(var(--primary-rgb), .15); }

/* ---------- Stats ---------- */
.stats { padding: 0 24px 80px; }
.stats-box { max-width: 72rem; margin: 0 auto; padding: 48px; text-align: center; }
.stats-box > p { color: var(--muted-fg); margin: 16px 0 64px; }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 48px; text-align: left; }
.stat .num { font-size: 2.25rem; font-weight: 700; padding-bottom: 12px; border-bottom: 1px solid var(--border); margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.stat p { color: var(--muted-fg); }
.stats-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1023px) { .stats-grid, .stats-grid.cols-4 { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
@media (max-width: 639px) { .stats-box { padding: 32px 24px; } .stats-grid, .stats-grid.cols-4 { grid-template-columns: 1fr; } }

/* ---------- Gateway / product cards ---------- */
.card-grid { display: grid; gap: 24px; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1199px) { .cols-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1023px) { .cols-4, .cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .cols-5, .cols-4, .cols-3 { grid-template-columns: 1fr; } }

.gate-card { border: 1px solid var(--border); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; align-items: center; text-align: center; transition: border-color .2s, transform .3s; }
.gate-card:hover { border-color: rgba(255,255,255,.2); transform: translateY(-4px); }
.gate-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 12px; }
.gate-card p { color: rgba(255,255,255,.6); font-size: .875rem; margin-bottom: 24px; flex-grow: 1; }

.glow-icon { position: relative; width: 64px; height: 64px; margin-bottom: 24px; --c: var(--primary-rgb); }
.glow-icon::before { content: ""; position: absolute; inset: 0; border-radius: 12px; background: linear-gradient(to bottom right, rgba(var(--c), .3), rgba(var(--c), .1)); filter: blur(8px); animation: pulse 2s cubic-bezier(.4,0,.6,1) infinite; }
.glow-icon > div { position: relative; width: 64px; height: 64px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: linear-gradient(to bottom, rgba(var(--c), .2), rgba(var(--c), .05)); border: 1px solid rgba(var(--c), .3); color: rgb(var(--c)); }
.glow-icon svg { width: 32px; height: 32px; }
.gi-emerald { --c: 52, 211, 153; }
.gi-blue { --c: 96, 165, 250; }
.gi-violet { --c: 167, 139, 250; }
.gi-orange { --c: 251, 146, 60; }
.gi-amber { --c: 251, 191, 36; }

/* ---------- Instruments table ---------- */
.inst-wrap { max-width: 72rem; margin: 0 auto; }
.inst-table { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: linear-gradient(to bottom right, var(--emerald-950), var(--emerald-900), #000); }
.inst-scroll { overflow-x: auto; }
.inst-inner { min-width: 800px; }
.inst-row { display: grid; grid-template-columns: 2.5fr 1.2fr 1.5fr 1.2fr 1fr; gap: 24px; padding: 12px 24px; align-items: center; border-bottom: 1px solid var(--border); transition: background .15s; }
.inst-row:last-child { border-bottom: 0; }
.inst-row:not(.head):hover { background: rgba(255,255,255,.05); }
.inst-row.head { color: var(--muted-fg); font-size: .875rem; }
.inst-name { display: flex; align-items: center; gap: 12px; min-width: 0; }
.inst-ico { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: .6875rem; font-weight: 700; color: #fff; }
.inst-name b { display: block; font-weight: 500; }
.inst-name small { display: block; font-size: .75rem; color: var(--muted-fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 2px 10px; border-radius: 999px; background: #000; border: 1px solid var(--border); font-size: .75rem; font-weight: 600; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: pulse 2s cubic-bezier(.4,0,.6,1) infinite; }
.inst-link { display: flex; justify-content: flex-end; align-items: center; gap: 8px; color: var(--muted-fg); transition: color .15s; }
.inst-link svg { width: 16px; height: 16px; transition: transform .2s; }
.inst-link:hover { color: #fff; }
.inst-link:hover svg { transform: translateX(4px); }
.swipe-hint { display: none; margin: 16px auto 0; width: max-content; align-items: center; gap: 8px; padding: 6px 12px; font-size: .75rem; color: var(--muted-fg); border: 1px solid var(--border); border-radius: 999px; }
.swipe-hint svg { width: 14px; height: 14px; animation: pulse 1.5s ease-in-out infinite; }
@media (max-width: 767px) { .swipe-hint { display: flex; } }
.disclaimer { text-align: center; font-size: .875rem; color: var(--muted-fg); margin: 32px auto 0; max-width: 56rem; padding: 0 16px; }

/* ---------- Account types ---------- */
.acct-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 80rem; margin: 0 auto; }
@media (max-width: 767px) { .acct-grid { grid-template-columns: 1fr; } }
.acct { position: relative; overflow: hidden; border-radius: 16px; padding: 32px; border: 1px solid var(--border); background: #000; isolation: isolate; display: flex; flex-direction: column; }
.acct.featured { border-color: rgba(var(--primary-rgb), .5); background: linear-gradient(to bottom right, var(--emerald-950), var(--emerald-900), #000); box-shadow: 0 0 30px rgba(var(--primary-rgb), .15); }
.acct .orb { position: absolute; border-radius: 50%; z-index: -1; pointer-events: none; }
.acct .orb-1 { top: 0; right: 0; width: 256px; height: 256px; background: rgba(6,78,59,.3); filter: blur(120px); animation: float 8s ease-in-out infinite; }
.acct .orb-2 { bottom: 0; left: 0; width: 192px; height: 192px; background: rgba(20,83,45,.25); filter: blur(100px); animation: float 10s ease-in-out infinite reverse; }
.acct .popular { position: absolute; top: 24px; right: 24px; display: flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; background: rgba(var(--primary-rgb), .2); border: 1px solid rgba(var(--primary-rgb), .3); color: var(--primary-light); font-size: .75rem; font-weight: 700; }
.acct .popular svg { width: 12px; height: 12px; }
.acct h3 { font-size: 1.875rem; font-weight: 700; margin-bottom: 4px; }
.acct .min { color: var(--muted-fg); font-size: .875rem; margin-bottom: 24px; }
.acct hr { border: 0; border-top: 1px solid var(--border); margin-bottom: 32px; }
.acct.featured hr { border-color: rgba(var(--primary-rgb), .5); }
.checks { display: grid; gap: 16px; margin-bottom: 32px; flex-grow: 1; }
.checks li { display: flex; align-items: flex-start; gap: 12px; }
.checks .ck { width: 24px; height: 24px; border-radius: 50%; background: var(--primary); color: #000; flex-shrink: 0; margin-top: 1px; display: flex; align-items: center; justify-content: center; }
.checks .ck svg { width: 16px; height: 16px; }
.acct .actions { display: grid; gap: 12px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 48px; }
@media (max-width: 1023px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .steps { grid-template-columns: 1fr; } }
.step { border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.step .n { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.125rem; margin-bottom: 16px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); }
.step h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 12px; }
.step p { color: rgba(255,255,255,.7); line-height: 1.65; }
.step.hl { border-color: rgba(var(--primary-rgb), .5); box-shadow: 0 0 30px rgba(var(--primary-rgb), .15); background: linear-gradient(to bottom right, rgba(2,44,34,.4), rgba(6,78,59,.2), transparent); }
.step.hl .n { background: rgba(var(--primary-rgb), .2); border-color: rgba(var(--primary-rgb), .3); color: var(--primary-light); }

/* ---------- Tabs / platform ---------- */
.tabs-list { display: inline-flex; gap: 4px; padding: 4px; border-radius: 8px; background: var(--muted); margin: 0 auto 32px; flex-wrap: wrap; justify-content: center; }
.tabs-center { text-align: center; }
.tab-btn { padding: 8px 18px; border-radius: 6px; font-size: .875rem; font-weight: 500; color: var(--muted-fg); transition: background .2s, color .2s; }
.tab-btn.active { background: #000; color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.4); }
.tab-panel { display: none; animation: enter .35s ease; }
.tab-panel.active { display: block; }
.feature-panel { border: 1px solid var(--border); border-radius: 24px; padding: 48px; overflow: hidden; }
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 1023px) { .split-2 { grid-template-columns: 1fr; } .feature-panel { padding: 32px 24px; } }
.feature-panel h3 { font-size: 2.25rem; font-weight: 700; margin: 24px 0; line-height: 1.15; }
.feature-panel p { font-size: 1.125rem; color: var(--muted-fg); margin-bottom: 24px; }
.feature-panel .btn-row { justify-content: flex-start; }
.bullet-list { display: grid; gap: 12px; margin-bottom: 32px; }
.bullet-list li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255,255,255,.85); }
.bullet-list svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; margin-top: 3px; }
.mock { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0,0,0,.8); background: #050505; }

/* Order ticket / option chain mockups */
.mock-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: .8125rem; }
.mock-body { padding: 16px; }
.chain { width: 100%; border-collapse: collapse; font-size: .75rem; font-variant-numeric: tabular-nums; }
.chain th { color: var(--muted-fg); font-weight: 500; padding: 8px 6px; text-align: right; border-bottom: 1px solid var(--border); }
.chain td { padding: 8px 6px; text-align: right; border-bottom: 1px solid #111; }
.chain th:first-child, .chain td:first-child { text-align: left; }
.chain .strike { text-align: center; font-weight: 600; background: #0d0d0d; }
.chain tr.itm td:not(.strike) { background: rgba(var(--primary-rgb), .06); }

/* ---------- Spotlight cards ---------- */
.spot {
  position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: 16px; padding: 24px; background: #000;
  --x: 50%; --y: 50%; --spot: rgba(var(--primary-rgb), .08); transition: border-color .2s;
}
.spot::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s; background: radial-gradient(circle at var(--x) var(--y), var(--spot), transparent 80%); }
.spot:hover::before { opacity: 1; }
.spot:hover { border-color: rgba(255,255,255,.12); }
.spot > * { position: relative; }
.spot .ic { width: 40px; height: 40px; border-radius: 8px; background: rgba(var(--primary-rgb), .1); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; transition: background .2s; }
.spot:hover .ic { background: rgba(var(--primary-rgb), .2); }
.spot .ic svg { width: 20px; height: 20px; }
.spot h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 8px; }
.spot p { color: var(--muted-fg); font-size: .875rem; line-height: 1.65; }

/* ---------- Trader leaderboard cards ---------- */
.trader-card { border: 1px solid var(--border); border-radius: 16px; padding: 24px; background: #000; transition: border-color .2s, transform .3s; }
.trader-card:hover { border-color: rgba(var(--primary-rgb), .4); transform: translateY(-4px); }
.trader-card .top { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.trader-card .avatar { width: 44px; height: 44px; font-size: .875rem; }
.trader-card .top b { display: block; font-weight: 600; }
.trader-card .top small { color: var(--muted-fg); font-size: .75rem; }
.trader-card .risk { margin-left: auto; font-size: .6875rem; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted-fg); }
.trader-card .spark { height: 56px; margin-bottom: 16px; }
.trader-card .spark svg { width: 100%; height: 100%; }
.trader-card dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 20px; }
.trader-card dt { font-size: .6875rem; color: var(--muted-fg); }
.trader-card dd { font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- Final CTA ---------- */
.cta { padding: 64px 0 128px; position: relative; overflow: hidden; }
.cta-box { position: relative; border: 1px solid var(--border); border-radius: 24px; padding: 96px 24px; overflow: hidden; background: #000; }
.cta-box .shift { position: absolute; inset: 0; opacity: .3; pointer-events: none; background: linear-gradient(135deg, transparent 0%, rgba(var(--primary-rgb), .3) 50%, transparent 100%); background-size: 200% 200%; animation: gradient-shift 4s ease infinite; }
.cta-box svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .2; pointer-events: none; }
.cta-box .side { position: absolute; right: 0; top: 0; bottom: 0; width: 50%; opacity: .4; pointer-events: none; background: linear-gradient(135deg, transparent 20%, rgba(var(--primary-rgb), .25) 80%); }
.cta-box .inner { position: relative; z-index: 1; max-width: 48rem; margin: 0 auto; text-align: center; }
.cta-box h2 { font-size: clamp(1.875rem, 4vw, 3rem); font-weight: 700; line-height: 1.15; }
.cta-box h2 + h2 { margin: 8px 0 16px; }
.cta-box p { color: var(--muted-fg); margin-bottom: 40px; }
@media (max-width: 767px) { .cta { padding: 40px 0 80px; } .cta-box { padding: 64px 24px; } }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 48rem; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; text-align: left; font-weight: 500; font-size: 1rem; transition: color .15s; }
.faq-q:hover { color: var(--primary-light); }
.faq-q svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform .2s; color: var(--muted-fg); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding-bottom: 20px; color: var(--muted-fg); line-height: 1.7; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-cat { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--primary); margin: 48px 0 8px; }
.faq-cat:first-child { margin-top: 0; }

/* ---------- Comparison table ---------- */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; max-width: 72rem; margin: 0 auto; }
.cmp { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .9375rem; }
.cmp th, .cmp td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); }
.cmp thead th { font-size: 1.125rem; font-weight: 700; background: #080808; }
.cmp thead th.hl { color: var(--primary-light); }
.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp td:first-child { color: var(--muted-fg); }
.cmp td.hl { background: rgba(var(--primary-rgb), .05); }
.cmp svg { width: 18px; height: 18px; color: var(--primary); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; max-width: 72rem; margin: 0 auto; }
@media (max-width: 1023px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-cards { display: grid; gap: 16px; align-content: start; }
.form-card { border: 1px solid var(--border); border-radius: 16px; padding: 32px; background: #050505; }
.form-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.form-card > p { color: var(--muted-fg); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 639px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .875rem; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; background: #000; color: #fff; border: 1px solid var(--input); border-radius: 8px;
  padding: 11px 14px; font: inherit; font-size: .9375rem; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .2); }
.form-note { font-size: .8125rem; color: var(--muted-fg); margin-top: 12px; }
.form-success { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 10px; border: 1px solid rgba(var(--primary-rgb), .4); background: rgba(var(--primary-rgb), .08); margin-top: 16px; }
.form-success svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; }

/* ---------- Prose / legal ---------- */
.prose { max-width: 48rem; margin: 0 auto; color: rgba(255,255,255,.8); line-height: 1.8; }
.prose h2 { font-size: 1.5rem; color: #fff; margin: 40px 0 12px; }
.prose p, .prose ul { margin-bottom: 16px; }
.prose ul { list-style: disc; padding-left: 24px; }

/* ---------- Footer ---------- */
.site-footer { background: #000; border-top: 1px solid var(--border); }
.site-footer .container { padding-top: 48px; padding-bottom: 48px; }
.foot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-bottom: 32px; }
.foot-brand { padding-right: 64px; }
.foot-brand img { height: 36px; width: auto; margin-bottom: 16px; }
.foot-brand p { font-size: .875rem; margin-bottom: 12px; }
.foot-brand address { font-style: normal; font-size: .75rem; color: var(--muted-fg); line-height: 1.7; margin-bottom: 12px; }
.foot-brand address a:hover { color: #fff; }
.foot-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.socials { display: flex; gap: 12px; }
.socials a { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.socials a:hover { background: rgba(255,255,255,.2); }
.socials svg { width: 16px; height: 16px; }
.foot-col h4 { font-size: .875rem; font-weight: 600; margin-bottom: 16px; }
.foot-col ul { display: grid; gap: 10px; }
.foot-col a { font-size: .875rem; color: var(--muted-fg); transition: color .15s; }
.foot-col a:hover { color: #fff; }
.foot-risk { border-top: 1px solid var(--border); padding-top: 32px; font-size: .75rem; color: var(--muted-fg); line-height: 1.7; }
.foot-risk p + p { margin-top: 12px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 24px; font-size: .75rem; color: var(--muted-fg); }
@media (max-width: 1023px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; padding-right: 0; } }
@media (max-width: 479px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Page offset for fixed header ---------- */
.page-top { padding-top: calc(var(--header-h) + var(--banner-h) + 64px); }

/* ---------- Keyframes ---------- */
@keyframes pulse { 50% { opacity: .5; } }
@keyframes star-spin { 0% { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes scroll-left { 0% { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes float { 0%, to { transform: translate(0) scale(1); } 33% { transform: translate(30px, -30px) scale(1.1); } 66% { transform: translate(-20px, 20px) scale(.95); } }
@keyframes gradient-shift { 0%, to { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes twinkle { 0%, to { opacity: .3; transform: scale(1); } 50% { opacity: 1; transform: scale(1.2); } }
@keyframes enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .split .w, .fade-up, .reveal { opacity: 1; filter: none; transform: none; }
}
