/* Qantumtech — dark luxury fintech */
:root {
  --bg: #0a0a0a;
  --bg-elev: #141414;
  --fg: #ffffff;
  --fg-sub: #b6b6b6;
  --fg-mute: #808080;
  --emerald: #36f936;
  --emerald-deep: #27a527;
  --emerald-ink: #082508;
  --electric: #4f8af7;
  --line: #232323;
  --line-strong: #3b3b3b;

  --accent-grad: linear-gradient(100deg, #585858 0%, #54fa54 60%, #7cfb7c 100%);
  --cta-grad: linear-gradient(110deg, #4f4f4f, #68fb68 75%);

  --glass-bg-alpha: 0.014;
  --glass-border-alpha: 0.34;
  --glass-blur: 8px;

  --hero-glow-alpha: 0.22;
  --hero-rings-opacity: 0.35;
  --grid-alpha: 0.18;

  --section-pad: 120px;
  --hero-h1: clamp(44px, 8vw, 104px);
  --headline-weight: 500;
  --headline-style: italic;

  --btn-radius: 999px;
  --marquee-speed: 38s;
  --hero-align: center;
  --hero-text-align: center;

  --font-display: "General Sans", "Inter", system-ui, sans-serif;
  --font-body: "Geist", "Inter", system-ui, sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1240px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ---------- Liquid glass ---------- */
.glass {
  position: relative;
  background: rgba(255, 255, 255, var(--glass-bg-alpha));
  background-blend-mode: luminosity;
  backdrop-filter: blur(var(--glass-blur)) saturate(120%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(120%);
  border-radius: 16px;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.06),
    0 1px 0 rgba(0, 0, 0, 0.4);
  overflow: hidden;
}
.glass::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, var(--glass-border-alpha)) 0%,
    rgba(255, 255, 255, calc(var(--glass-border-alpha) * 0.3)) 22%,
    rgba(255, 255, 255, 0) 45%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, calc(var(--glass-border-alpha) * 0.3)) 82%,
    rgba(255, 255, 255, calc(var(--glass-border-alpha) * 0.88)) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: background 240ms ease, backdrop-filter 240ms ease, border-color 240ms ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: hsla(220, 60%, 4%, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 17px;
}
.brand-mark {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  position: relative;
}
.brand-mark svg { width: 100%; height: 100%; }
.nav-links {
  display: flex; align-items: center; gap: 6px;
}
.nav-link {
  padding: 8px 14px;
  font-size: 14px;
  color: var(--fg-sub);
  border-radius: 999px;
  transition: color 160ms ease, background 160ms ease;
}
.nav-link:hover { color: var(--fg); background: hsla(212, 90%, 62%, 0.06); }
.nav-cta {
  display: flex; align-items: center; gap: 10px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.005em;
  padding: 10px 18px;
  border-radius: var(--btn-radius);
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, box-shadow 240ms ease;
  white-space: nowrap;
}
.btn-ghost { color: var(--fg-sub); }
.btn-ghost:hover { color: var(--fg); }
.btn-secondary {
  color: var(--fg);
  background: rgba(255,255,255,0.04);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn-secondary:hover { background: rgba(255,255,255,0.07); box-shadow: inset 0 0 0 1px hsl(220, 25%, 28%); }
.btn-primary {
  color: var(--emerald-ink);
  background: linear-gradient(180deg, var(--emerald), var(--emerald-deep));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    inset 0 -1px 0 rgba(0,0,0,0.2),
    0 6px 24px -10px var(--emerald);
  font-weight: 600;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), 0 10px 30px -8px var(--emerald); }
.btn-lg { padding: 14px 22px; font-size: 15px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 92px;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-grid {
  position: absolute; inset: -1px;
  background-image:
    linear-gradient(to right, color-mix(in oklab, var(--fg) calc(var(--grid-alpha) * 100%), transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in oklab, var(--fg) calc(var(--grid-alpha) * 100%), transparent) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse at 50% 35%, #000 0%, transparent 70%);
}
.hero-glow {
  position: absolute;
  width: 1100px; height: 600px;
  left: 50%; top: 38%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(ellipse at 50% 50%, color-mix(in oklab, var(--emerald) calc(var(--hero-glow-alpha) * 100%), transparent), transparent 60%),
    radial-gradient(ellipse at 30% 60%, color-mix(in oklab, var(--electric) 12%, transparent), transparent 60%);
  filter: blur(40px);
  opacity: 0.9;
}
.hero-rings {
  position: absolute; left: 50%; top: 40%;
  transform: translate(-50%, -50%);
  width: 1400px; height: 1400px;
  opacity: var(--hero-rings-opacity);
  pointer-events: none;
}
.hero-rings svg { width: 100%; height: 100%; }

.hero-content {
  position: relative; z-index: 2;
  flex: 1;
  display: flex; flex-direction: column;
  align-items: var(--hero-align);
  justify-content: center;
  text-align: var(--hero-text-align);
  padding: 40px 32px 80px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-sub);
  padding: 7px 14px 7px 10px;
  margin-bottom: 28px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--emerald);
  box-shadow: 0 0 12px hsla(160, 60%, 55%, 0.7);
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: var(--headline-weight);
  font-size: var(--hero-h1);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
  max-width: 14ch;
  text-wrap: balance;
}
.hero h1 .accent {
  background: var(--accent-grad);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  font-style: var(--headline-style);
  font-weight: var(--headline-weight);
}
.hero-sub {
  font-size: 18px;
  color: var(--fg-sub);
  max-width: 56ch;
  margin: 0 0 36px;
  text-wrap: pretty;
}
.hero-actions {
  display: flex; align-items: center; gap: 18px;
  flex-wrap: wrap; justify-content: center;
}
.link-arrow {
  font-size: 14.5px;
  color: var(--fg-sub);
  display: inline-flex; align-items: center; gap: 6px;
  transition: color 160ms ease, gap 200ms ease;
}
.link-arrow:hover { color: var(--electric); gap: 10px; }

/* Hero floating cards */
.hero-floats {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 1;
}
.float-card {
  position: absolute;
  padding: 12px 14px;
  display: flex; align-items: center; gap: 12px;
  font-size: 12.5px;
  min-width: 200px;
  pointer-events: auto;
}
.float-card .fc-label { color: var(--fg-mute); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.float-card .fc-value { font-family: var(--font-mono); font-size: 14px; color: var(--fg); }
.float-card .fc-pct { color: var(--emerald); font-family: var(--font-mono); font-size: 13px; }
.float-1 { top: 22%; left: 8%; animation: float 9s ease-in-out infinite; }
.float-2 { top: 52%; right: 6%; animation: float 11s ease-in-out infinite 1s; }
.float-3 { bottom: 22%; left: 12%; animation: float 13s ease-in-out infinite 2s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Marquee ---------- */
.marquee-row {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  overflow: hidden;
  background: hsla(220, 60%, 3%, 0.5);
}
.marquee {
  display: flex; align-items: center; gap: 64px;
  width: max-content;
  animation: scroll var(--marquee-speed) linear infinite;
}
.marquee-item {
  display: flex; align-items: center; gap: 12px;
  color: var(--fg-sub);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.marquee-item .metric-num {
  font-family: var(--font-mono);
  color: var(--fg);
  font-weight: 500;
  letter-spacing: 0;
}
.marquee-item .metric-sep {
  color: var(--fg-mute);
  font-family: var(--font-mono);
  font-size: 11px;
}
.marquee-glyph {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg);
  background: rgba(255,255,255,0.025);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Section base ---------- */
section { position: relative; }
.section {
  padding: var(--section-pad) 0;
}
.section-head {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 16px;
  margin-bottom: 56px;
  max-width: 720px;
}
.section-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--emerald);
  display: inline-flex; align-items: center; gap: 10px;
}
.section-tag::before {
  content: ""; width: 18px; height: 1px; background: var(--emerald); display: inline-block;
}
.section h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.028em;
  margin: 0;
  text-wrap: balance;
}
.section h2 em {
  font-style: italic;
  color: var(--fg-sub);
  font-weight: 400;
}
.section-lead {
  color: var(--fg-sub);
  font-size: 17px;
  max-width: 56ch;
  margin: 0;
}

/* ---------- Traders ---------- */
.traders-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.trader-card {
  padding: 22px;
  min-height: 280px;
  display: flex; flex-direction: column;
  gap: 18px;
  transition: transform 280ms ease, box-shadow 280ms ease;
}
.trader-card:hover { transform: translateY(-3px); }
.trader-top {
  display: flex; align-items: center; gap: 12px;
}
.trader-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--fg);
  background: linear-gradient(135deg, hsl(220, 30%, 18%), hsl(220, 25%, 10%));
  box-shadow: inset 0 0 0 1px hsla(160, 30%, 50%, 0.25);
}
.trader-name { font-family: var(--font-display); font-weight: 500; font-size: 15px; }
.trader-handle { font-family: var(--font-mono); font-size: 11px; color: var(--fg-mute); }
.trader-badge {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-sub);
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.trader-pnl {
  display: flex; align-items: baseline; gap: 8px;
}
.trader-pct {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 500;
  color: var(--emerald);
  letter-spacing: -0.02em;
}
.trader-pct-label { font-family: var(--font-mono); font-size: 11px; color: var(--fg-mute); text-transform: uppercase; letter-spacing: 0.1em; }
.trader-spark { height: 56px; width: 100%; }
.trader-spark svg { width: 100%; height: 100%; }
.trader-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-sub);
}
.trader-foot .copy-btn {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12.5px;
  color: var(--fg);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: all 200ms ease;
}
.trader-foot .copy-btn:hover { background: hsla(160, 50%, 30%, 0.18); box-shadow: inset 0 0 0 1px hsla(160, 50%, 40%, 0.5); color: var(--emerald); }

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 38px; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(to right, transparent, var(--line-strong) 12%, var(--line-strong) 88%, transparent);
  z-index: 0;
}
.step {
  position: relative; z-index: 1;
  padding: 0 28px;
  text-align: center;
  display: flex; flex-direction: column;
  align-items: center; gap: 16px;
}
.step-node {
  width: 76px; height: 76px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-sub);
  position: relative;
}
.step-node::after {
  content: "";
  position: absolute; inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, hsla(160, 50%, 40%, 0.15), transparent 70%);
  z-index: -1;
}
.step-node .step-icon {
  width: 28px; height: 28px;
  color: var(--emerald);
}
.step-n {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--fg);
}
.step p { color: var(--fg-sub); margin: 0; max-width: 28ch; font-size: 14.5px; }

/* ---------- Features ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
  padding: 60px 0;
}
.feature.reverse { grid-template-columns: 1.1fr 1fr; }
.feature.reverse .feature-text { order: 2; }
.feature.reverse .feature-visual { order: 1; }
.feature-text h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -0.026em;
  line-height: 1.1;
  margin: 12px 0 18px;
  text-wrap: balance;
}
.feature-text p { color: var(--fg-sub); font-size: 16.5px; max-width: 48ch; }
.feature-list {
  margin-top: 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.feature-list li {
  list-style: none;
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14.5px;
  color: var(--fg-sub);
}
.feature-list .check {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: hsla(160, 50%, 30%, 0.18);
  color: var(--emerald);
}

.feature-visual { position: relative; min-height: 360px; }
.mock {
  padding: 18px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--fg-sub);
}
.mock-header {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.mock-title { font-family: var(--font-display); color: var(--fg); font-size: 13px; font-weight: 500; }
.mock-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; padding: 3px 8px; border-radius: 999px;
  background: hsla(160, 50%, 30%, 0.15); color: var(--emerald);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.mock-pill .live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 8px var(--emerald); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }

.mock-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed hsla(220, 30%, 18%, 0.7); }
.mock-row:last-child { border-bottom: 0; }
.mock-asset { display: flex; align-items: center; gap: 10px; color: var(--fg); }
.mock-asset .a-mark { width: 24px; height: 24px; border-radius: 6px; background: rgba(255,255,255,0.04); display: grid; place-items: center; font-size: 10px; box-shadow: inset 0 0 0 1px var(--line-strong); }
.mock-val { color: var(--fg); }
.mock-pct.up { color: var(--emerald); }
.mock-pct.down { color: hsl(8, 65%, 60%); }

.mock-chart { height: 140px; width: 100%; margin-top: 8px; }
.mock-chart svg { width: 100%; height: 100%; }

.mock-risk-bar {
  margin-top: 12px;
  height: 6px; border-radius: 999px;
  background: rgba(255,255,255,0.04);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.mock-risk-bar > span {
  display: block; height: 100%;
  background: linear-gradient(to right, var(--emerald), hsl(160, 55%, 70%));
}

/* ---------- Metrics strip ---------- */
.metrics {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 80px 0;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.metric {
  display: flex; flex-direction: column; gap: 8px;
  padding: 0 8px;
  border-right: 1px solid var(--line);
}
.metric:last-child { border-right: 0; }
.metric-num-big {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--fg);
}
.metric-num-big .unit { color: var(--emerald); }
.metric-label {
  font-family: var(--font-display);
  color: var(--fg-sub);
  font-size: 14px;
}

/* ---------- Testimonials ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testi {
  padding: 28px;
  display: flex; flex-direction: column; gap: 22px;
}
.testi-quote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--fg);
}
.testi-foot { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, hsl(220, 30%, 18%), hsl(220, 25%, 10%));
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 12px; font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.testi-meta { display: flex; flex-direction: column; }
.testi-name { font-size: 13.5px; }
.testi-result { font-family: var(--font-mono); font-size: 11px; color: var(--emerald); }

/* ---------- Final CTA ---------- */
.cta-final {
  text-align: center;
  padding: 120px 24px;
}
.cta-final h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 80px);
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin: 0 0 28px;
  text-wrap: balance;
}
.cta-final h2 .accent {
  background: var(--cta-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: var(--headline-style);
}
.cta-final p { color: var(--fg-sub); margin: 0 auto 36px; max-width: 52ch; font-size: 17px; }
.trust-row {
  display: flex; justify-content: center; align-items: center; gap: 28px;
  flex-wrap: wrap;
  margin-top: 32px;
  color: var(--fg-mute);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-row svg { color: var(--fg-sub); }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 36px;
  color: var(--fg-sub);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  color: var(--fg);
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--fg-sub); font-size: 13.5px; transition: color 160ms ease; }
.footer-col a:hover { color: var(--fg); }
.footer-brand p { font-size: 13.5px; max-width: 36ch; margin: 16px 0 24px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.03);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: all 200ms ease;
}
.footer-socials a:hover { background: hsla(212, 80%, 50%, 0.1); box-shadow: inset 0 0 0 1px hsla(212, 80%, 50%, 0.4); }

.footer-disclaimer {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  font-size: 12px;
  color: var(--fg-mute);
  line-height: 1.6;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 24px;
  font-size: 12px;
  color: var(--fg-mute);
  font-family: var(--font-mono);
}
.badges {
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(255,255,255,0.02);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-sub);
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms cubic-bezier(.2,.7,.2,1), transform 700ms cubic-bezier(.2,.7,.2,1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms cubic-bezier(.2,.7,.2,1), transform 700ms cubic-bezier(.2,.7,.2,1);
}
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 400ms; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .traders-grid { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; gap: 36px; }
  .feature.reverse { grid-template-columns: 1fr; }
  .feature.reverse .feature-text { order: 1; }
  .feature.reverse .feature-visual { order: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .nav-links { display: none; }
  .section { padding: 80px 0; }
  .traders-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .steps::before { display: none; }
  .metrics-grid { grid-template-columns: 1fr 1fr; gap: 36px 16px; }
  .metric { border-right: 0; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .float-card { display: none; }
}


/* ============================================================
   TWEAK OVERRIDES — class-based variants applied to <html>
   ============================================================ */

/* Button shape variants (modify the var globally) */
html.t-btn-rounded { --btn-radius: 10px; }
html.t-btn-square  { --btn-radius: 4px; }

/* Button fill variants */
html.t-btn-outline .btn-primary {
  background: transparent;
  color: var(--emerald);
  box-shadow: inset 0 0 0 1px var(--emerald);
}
html.t-btn-outline .btn-primary:hover { background: color-mix(in oklab, var(--emerald) 12%, transparent); box-shadow: inset 0 0 0 1px var(--emerald); }
html.t-btn-soft .btn-primary {
  background: color-mix(in oklab, var(--emerald) 18%, transparent);
  color: var(--emerald);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--emerald) 40%, transparent);
}
html.t-btn-soft .btn-primary:hover { background: color-mix(in oklab, var(--emerald) 28%, transparent); }

/* Density */
html.t-density-compact   { --section-pad: 80px; }
html.t-density-regular   { --section-pad: 120px; }
html.t-density-spacious  { --section-pad: 168px; }

/* Hero treatments */
html.t-hero-minimal .hero-rings,
html.t-hero-minimal .hero-grid,
html.t-hero-minimal .hero-glow { display: none; }
html.t-hero-grid .hero-rings { display: none; }
html.t-hero-rings .hero-grid { opacity: 0.5; }
html.t-hero-aurora .hero-rings,
html.t-hero-aurora .hero-grid { display: none; }
html.t-hero-aurora .hero-glow {
  width: 1400px; height: 800px;
  background:
    radial-gradient(ellipse at 35% 40%, color-mix(in oklab, var(--emerald) 35%, transparent), transparent 55%),
    radial-gradient(ellipse at 70% 60%, color-mix(in oklab, var(--electric) 22%, transparent), transparent 55%),
    radial-gradient(ellipse at 50% 80%, color-mix(in oklab, var(--emerald) 18%, transparent), transparent 55%);
  filter: blur(80px);
  opacity: 1;
}

/* Hero alignment */
html.t-align-left { --hero-align: flex-start; --hero-text-align: left; }
html.t-align-left .hero-content { padding-left: max(48px, 5vw); padding-right: max(48px, 5vw); align-items: flex-start; }
html.t-align-left .hero h1 { max-width: 16ch; }
html.t-align-left .hero-actions { justify-content: flex-start; }

/* Hide modules */
html.t-no-floats .hero-floats { display: none; }
html.t-no-marquee .marquee-row { display: none; }

/* Italic accent off */
html.t-no-italic { --headline-style: normal; }

/* ---------- LIGHT MODE ---------- */
html.t-light .glass {
  background: rgba(0, 0, 0, calc(var(--glass-bg-alpha) * 2));
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.6), 0 1px 0 rgba(0,0,0,0.04);
}
html.t-light .glass::before {
  background: linear-gradient(
    180deg,
    rgba(0,0,0, calc(var(--glass-border-alpha) * 0.4)) 0%,
    rgba(0,0,0, calc(var(--glass-border-alpha) * 0.12)) 22%,
    rgba(0,0,0, 0) 45%,
    rgba(0,0,0, 0) 60%,
    rgba(0,0,0, calc(var(--glass-border-alpha) * 0.12)) 82%,
    rgba(0,0,0, calc(var(--glass-border-alpha) * 0.35)) 100%
  );
}
html.t-light .marquee-row { background: color-mix(in oklab, var(--fg) 3%, var(--bg)); }
html.t-light .nav.scrolled { background: color-mix(in oklab, var(--bg) 80%, transparent); }
html.t-light .step-node { background: var(--bg-elev); }
html.t-light .hero-glow {
  background:
    radial-gradient(ellipse at 50% 50%, color-mix(in oklab, var(--emerald) 18%, transparent), transparent 60%);
}
html.t-light .btn-secondary { background: color-mix(in oklab, var(--fg) 4%, transparent); }
html.t-light .btn-secondary:hover { background: color-mix(in oklab, var(--fg) 8%, transparent); }
html.t-light .trader-avatar,
html.t-light .testi-avatar { background: linear-gradient(135deg, color-mix(in oklab, var(--fg) 12%, var(--bg)), color-mix(in oklab, var(--fg) 4%, var(--bg))); }
html.t-light .marquee-glyph,
html.t-light .mock-asset .a-mark,
html.t-light .trader-foot .copy-btn,
html.t-light .badge,
html.t-light .footer-socials a,
html.t-light .trader-badge { background: color-mix(in oklab, var(--fg) 4%, transparent); }

/* ---------- NEON / HIGH-CONTRAST (Quantum OG) ---------- */
html.t-neon .glass {
  background: rgba(255, 255, 255, calc(var(--glass-bg-alpha) * 1.4));
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--emerald) 18%, transparent);
}
html.t-neon .hero h1 .accent {
  background: linear-gradient(100deg, color-mix(in oklab, var(--fg) 28%, var(--bg)), var(--emerald) 65%, color-mix(in oklab, var(--emerald) 70%, white));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
html.t-neon .btn-primary {
  text-shadow: 0 0 14px color-mix(in oklab, var(--emerald) 50%, transparent);
}

/* Glass-blur variable inertia for higher intensities so the border becomes visible */
html.t-glass-high { --glass-bg-alpha: 0.06; --glass-border-alpha: 0.7; --glass-blur: 14px; }
html.t-glass-mid  { --glass-bg-alpha: 0.025; --glass-border-alpha: 0.45; --glass-blur: 10px; }
html.t-glass-low  { --glass-bg-alpha: 0.008; --glass-border-alpha: 0.20; --glass-blur: 4px; }


/* ============================================================
   QANTUM COPY — section additions (keep visual system)
   ============================================================ */

/* ---------- Language switch in nav ---------- */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; background: color-mix(in oklab, var(--fg) 4%, transparent); box-shadow: inset 0 0 0 1px var(--line); margin-right: 4px; }
.lang-switch button { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; color: var(--fg-sub); transition: all 160ms ease; }
.lang-switch button.active { background: color-mix(in oklab, var(--emerald) 18%, transparent); color: var(--emerald); }

/* ---------- Stats strip (after hero) ---------- */
.stats-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; background: color-mix(in oklab, var(--bg) 92%, var(--fg)); }
.stats-strip-row { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.stats-strip .item { display: flex; align-items: baseline; gap: 12px; }
.stats-strip .v { font-family: var(--font-mono); font-size: 24px; color: var(--emerald); letter-spacing: -0.02em; }
.stats-strip .l { color: var(--fg-sub); font-size: 13.5px; }

/* ---------- 3-up steps with illustration cards ---------- */
.flow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.flow-card { padding: 28px; min-height: 320px; display: flex; flex-direction: column; gap: 18px; }
.flow-illu { height: 200px; border-radius: 12px; background: color-mix(in oklab, var(--emerald) 6%, transparent); display: grid; place-items: center; position: relative; overflow: hidden; box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--emerald) 14%, transparent); padding: 16px; }
.flow-illu svg { width: 100%; max-width: 220px; height: auto; }
.flow-n { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--emerald); }
.flow-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 22px; letter-spacing: -0.02em; margin: 0; }
.flow-card p { color: var(--fg-sub); font-size: 14.5px; margin: 0; }

/* ---------- Returns table ---------- */
.returns-wrap { display: grid; grid-template-columns: 1fr; gap: 24px; }
.returns-table { width: 100%; border-collapse: separate; border-spacing: 0; font-family: var(--font-mono); font-size: 12.5px; }
.returns-table th, .returns-table td { padding: 10px 8px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.returns-table th { color: var(--fg-mute); font-weight: 400; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; text-align: center; }
.returns-table th:first-child, .returns-table td:first-child { text-align: left; color: var(--fg); }
.returns-table .pos { color: var(--emerald); }
.returns-table .neg { color: hsl(8, 65%, 60%); }
.returns-table .neu { color: var(--fg-mute); }
.returns-table .total { color: var(--emerald); font-weight: 500; border-top: 1px solid var(--line-strong); }
.returns-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.returns-stat { padding: 18px; }
.returns-stat .n { font-family: var(--font-mono); font-size: 28px; color: var(--emerald); letter-spacing: -0.02em; line-height: 1; }
.returns-stat .l { color: var(--fg-sub); font-size: 12.5px; margin-top: 6px; }
.audit-link { display: inline-flex; align-items: center; gap: 6px; color: var(--emerald); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; }
.audit-link:hover { gap: 10px; }

/* ---------- Security features 2x2 ---------- */
.sec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.sec-card { padding: 28px; display: flex; gap: 18px; align-items: flex-start; }
.sec-icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px; background: color-mix(in oklab, var(--emerald) 12%, transparent); display: grid; place-items: center; color: var(--emerald); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--emerald) 20%, transparent); }
.sec-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 18px; letter-spacing: -0.015em; margin: 0 0 6px; }
.sec-card p { color: var(--fg-sub); font-size: 14px; margin: 0; }

/* ---------- Calculator ---------- */
.calc-card { padding: 28px; display: flex; flex-direction: column; gap: 24px; }
.calc-top { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; align-items: stretch; }
.calc-panel { display: flex; flex-direction: column; gap: 18px; }
.calc-field { display: flex; flex-direction: column; gap: 8px; }
.calc-field label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-mute); }
.calc-field input, .calc-field select { font-family: var(--font-mono); font-size: 16px; color: var(--fg); background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); padding: 10px 0; outline: none; transition: border-color 160ms ease; }
.calc-field input:focus, .calc-field select:focus { border-bottom-color: var(--emerald); }
.calc-field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%2336f936' d='M0 0h10L5 6z'/></svg>"); background-repeat: no-repeat; background-position: right 6px center; padding-right: 22px; }
.calc-field select option { background: var(--bg-elev); color: var(--fg); }
.calc-chart-wrap { display: flex; flex-direction: column; justify-content: center; }
.calc-chart { height: 240px; }
.calc-results { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; }
.calc-result { padding: 12px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--line); }
.calc-result:last-child { border-right: 0; }
.calc-result .l { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-mute); }
.calc-result .v { font-family: var(--font-mono); font-size: 18px; color: var(--fg); letter-spacing: -0.01em; }
.calc-result.accent .v { color: var(--emerald); }
.calc-bottom { display: flex; flex-direction: column; }
.calc-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: color-mix(in oklab, var(--fg) 4%, transparent); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 16px; }
.calc-toggle button { font-family: var(--font-display); font-size: 12.5px; padding: 6px 14px; border-radius: 999px; color: var(--fg-sub); transition: all 160ms ease; }
.calc-toggle button.active { background: color-mix(in oklab, var(--emerald) 18%, transparent); color: var(--emerald); }
.calc-breakdown { max-height: 320px; overflow-y: auto; border-top: 1px solid var(--line); }
.calc-breakdown table { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: 12px; }
.calc-breakdown th, .calc-breakdown td { padding: 8px 12px; text-align: right; border-bottom: 1px solid var(--line); }
.calc-breakdown th { color: var(--fg-mute); font-weight: 400; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; position: sticky; top: 0; background: var(--bg); }
.calc-breakdown th:first-child, .calc-breakdown td:first-child { text-align: left; }
.calc-breakdown td.accent { color: var(--emerald); }
.calc-disclaimer { font-size: 11.5px; color: var(--fg-mute); padding-top: 14px; border-top: 1px dashed var(--line-strong); }
.calc-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: color-mix(in oklab, var(--emerald) 8%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--emerald) 20%, transparent); color: var(--emerald); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; margin-top: 14px; }

/* ---------- Features grid 4 cards ---------- */
.feat4-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat4-card { padding: 24px; display: flex; flex-direction: column; gap: 14px; min-height: 200px; }
.feat4-card .ic { width: 36px; height: 36px; border-radius: 8px; background: color-mix(in oklab, var(--emerald) 12%, transparent); display: grid; place-items: center; color: var(--emerald); }
.feat4-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 16px; letter-spacing: -0.01em; margin: 0; }
.feat4-card p { color: var(--fg-sub); font-size: 13.5px; margin: 0; }

/* ---------- Service spec table ---------- */
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table tr:last-child { border-bottom: 0; }
.spec-table td { padding: 18px 8px; vertical-align: top; }
.spec-table td:first-child { color: var(--fg-sub); font-size: 14px; width: 40%; }
.spec-table td:last-child { color: var(--fg); font-family: var(--font-mono); font-size: 14px; text-align: right; }
.spec-table .accent { color: var(--emerald); }

/* ---------- Brokers ---------- */
.brokers-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.broker-card { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.broker-name { font-family: var(--font-display); font-weight: 500; font-size: 18px; letter-spacing: -0.015em; }
.broker-regs { display: flex; flex-wrap: wrap; gap: 6px; }
.broker-reg { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.08em; padding: 3px 8px; border-radius: 4px; background: color-mix(in oklab, var(--fg) 4%, transparent); color: var(--fg-sub); box-shadow: inset 0 0 0 1px var(--line); }
.broker-logo { height: 38px; display: flex; align-items: center; font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: -0.015em; color: var(--fg); }
.broker-logo .mark { width: 28px; height: 28px; border-radius: 6px; background: color-mix(in oklab, var(--emerald) 14%, transparent); color: var(--emerald); display: grid; place-items: center; font-size: 12px; margin-right: 10px; box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--emerald) 22%, transparent); }
.brokers-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; justify-content: center; }

/* ---------- Monthly performance bars ---------- */
.month-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.month-card { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.month-label { color: var(--fg-sub); font-size: 13px; display: flex; justify-content: space-between; }
.month-label .star { color: var(--emerald); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; }
.month-pct { font-family: var(--font-mono); font-size: 34px; letter-spacing: -0.02em; }
.month-pct.up { color: var(--emerald); }
.month-pct.down { color: hsl(8, 65%, 60%); }
.month-bar { height: 6px; border-radius: 999px; background: color-mix(in oklab, var(--fg) 6%, transparent); overflow: hidden; }
.month-bar > span { display: block; height: 100%; border-radius: inherit; }
.month-bar.up > span { background: linear-gradient(to right, var(--emerald), color-mix(in oklab, var(--emerald) 60%, white)); }
.month-bar.down > span { background: hsl(8, 65%, 60%); }

/* ---------- Why-choose 4 rows ---------- */
.why-list { display: flex; flex-direction: column; gap: 14px; }
.why-row { padding: 24px 28px; display: grid; grid-template-columns: 44px 1fr auto; gap: 22px; align-items: center; }
.why-row .ic { width: 44px; height: 44px; border-radius: 10px; background: color-mix(in oklab, var(--emerald) 12%, transparent); color: var(--emerald); display: grid; place-items: center; box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--emerald) 22%, transparent); }
.why-row h3 { font-family: var(--font-display); font-weight: 500; font-size: 18px; letter-spacing: -0.015em; margin: 0 0 4px; }
.why-row p { color: var(--fg-sub); font-size: 14px; margin: 0; }
.why-row .num { font-family: var(--font-mono); font-size: 11px; color: var(--fg-mute); letter-spacing: 0.16em; }

/* ---------- Control grid 4 ---------- */
.ctrl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ctrl-card { padding: 24px; display: flex; flex-direction: column; gap: 12px; min-height: 180px; }
.ctrl-card .ic { width: 32px; height: 32px; color: var(--emerald); }
.ctrl-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 16px; letter-spacing: -0.01em; margin: 0; }
.ctrl-card p { color: var(--fg-sub); font-size: 13.5px; margin: 0; }

/* ---------- Testimonial carousel ---------- */
.carousel { position: relative; overflow: hidden; }
.carousel-track { display: flex; gap: 20px; }
.carousel-slide { flex: 0 0 calc((100% - 40px) / 3); padding: 28px; display: flex; flex-direction: column; gap: 18px; min-height: 240px; }
.carousel-slide .quote { font-family: var(--font-display); font-weight: 500; font-size: 17px; line-height: 1.45; letter-spacing: -0.012em; color: var(--fg); }
.carousel-foot { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.carousel-foot .av { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, color-mix(in oklab, var(--fg) 12%, var(--bg)), color-mix(in oklab, var(--fg) 4%, var(--bg))); display: grid; place-items: center; font-family: var(--font-display); font-size: 12px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line-strong); }
.carousel-foot .meta { display: flex; flex-direction: column; }
.carousel-foot .name { font-size: 13.5px; }
.carousel-foot .res { font-family: var(--font-mono); font-size: 11px; color: var(--emerald); }
.carousel-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dots .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); transition: all 200ms ease; cursor: pointer; }
.carousel-dots .dot.active { width: 28px; border-radius: 999px; background: var(--emerald); }
.carousel-arrows { display: flex; gap: 8px; }
.carousel-arrow { width: 36px; height: 36px; border-radius: 50%; background: color-mix(in oklab, var(--fg) 4%, transparent); box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--fg); display: grid; place-items: center; transition: all 200ms ease; }
.carousel-arrow:hover { background: color-mix(in oklab, var(--emerald) 14%, transparent); color: var(--emerald); }

/* ---------- MetaTrader 4 ---------- */
.mt4-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: center; }
.mt4-visual { padding: 32px; min-height: 360px;  max-height: 360px; position: relative; }
.mt4-visual .ph { height: 300px; border-radius: 12px; background:
  repeating-linear-gradient(45deg, color-mix(in oklab, var(--fg) 3%, transparent) 0, color-mix(in oklab, var(--fg) 3%, transparent) 10px, transparent 10px, transparent 20px),
  color-mix(in oklab, var(--emerald) 4%, transparent);
  display: grid; place-items: center; font-family: var(--font-mono); font-size: 11px; color: var(--fg-mute); letter-spacing: 0.1em; text-transform: uppercase; box-shadow: inset 0 0 0 1px var(--line); }
.mt4-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.mt4-features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.mt4-feature { display: flex; gap: 12px; align-items: flex-start; }
.mt4-feature .ic { width: 28px; height: 28px; flex-shrink: 0; color: var(--emerald); }
.mt4-feature .t { font-family: var(--font-display); font-weight: 500; font-size: 14.5px; }
.mt4-feature .d { color: var(--fg-sub); font-size: 13px; margin-top: 2px; }

/* ---------- Academy block ---------- */
.academy { padding: 56px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.academy-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.academy-stat .n { font-family: var(--font-mono); font-size: 32px; color: var(--emerald); letter-spacing: -0.02em; }
.academy-stat .l { color: var(--fg-sub); font-size: 13px; margin-top: 4px; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 880px; margin: 0 auto; }
.faq-item { padding: 0; overflow: hidden; }
.faq-q { width: 100%; padding: 22px 28px; display: flex; justify-content: space-between; align-items: center; text-align: left; font-family: var(--font-display); font-weight: 500; font-size: 17px; letter-spacing: -0.012em; color: var(--fg); }
.faq-q .plus { width: 24px; height: 24px; position: relative; flex-shrink: 0; color: var(--emerald); transition: transform 280ms ease; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; }
.faq-q .plus::before { top: 11px; left: 4px; right: 4px; height: 2px; }
.faq-q .plus::after { left: 11px; top: 4px; bottom: 4px; width: 2px; transition: opacity 200ms ease; }
.faq-item.open .faq-q .plus::after { opacity: 0; }
.faq-item.open .faq-q .plus { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 320ms cubic-bezier(.2,.7,.2,1); }
.faq-a-inner { padding: 0 28px 22px; color: var(--fg-sub); font-size: 14.5px; line-height: 1.6; }
.faq-item.open .faq-a { max-height: 320px; }

/* ---------- WhatsApp widget ---------- */
.wa-fab { position: fixed; bottom: 24px; right: 24px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #053e2c; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.6), inset 0 1px 0 rgba(255,255,255,0.3); transition: transform 200ms ease; }
.wa-fab:hover { transform: scale(1.06); }
.wa-fab svg { width: 28px; height: 28px; }
.wa-pop { position: fixed; bottom: 96px; right: 24px; z-index: 60; width: 320px; max-width: calc(100vw - 32px); padding: 0; overflow: hidden; opacity: 0; transform: translateY(8px) scale(0.98); pointer-events: none; transition: all 260ms cubic-bezier(.2,.7,.2,1); }
.wa-pop.open { opacity: 1; transform: none; pointer-events: auto; }
.wa-head { background: #075e54; color: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 10px; }
.wa-head .wa-av { width: 36px; height: 36px; border-radius: 50%; background: #25d366; display: grid; place-items: center; color: #053e2c; font-family: var(--font-display); font-weight: 600; font-size: 12px; }
.wa-head .wa-name { font-family: var(--font-display); font-size: 14px; font-weight: 500; }
.wa-head .wa-status { font-size: 11px; opacity: 0.8; display: flex; align-items: center; gap: 6px; }
.wa-head .wa-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #25d366; display: inline-block; }
.wa-head .wa-x { margin-left: auto; opacity: 0.8; font-size: 16px; padding: 4px; }
.wa-body { padding: 14px 16px; background: hsl(220, 30%, 8%); display: flex; flex-direction: column; gap: 10px; max-height: 280px; overflow-y: auto; }
.wa-msg { padding: 8px 12px; border-radius: 12px; font-size: 13px; max-width: 80%; line-height: 1.4; }
.wa-msg.in { background: color-mix(in oklab, var(--fg) 8%, transparent); color: var(--fg); border-top-left-radius: 4px; align-self: flex-start; }
.wa-msg.out { background: #056642; color: #fff; border-top-right-radius: 4px; align-self: flex-end; }
.wa-msg .time { display: block; font-size: 9.5px; opacity: 0.6; margin-top: 4px; font-family: var(--font-mono); }
.wa-quick { padding: 8px 12px; display: flex; flex-wrap: wrap; gap: 6px; border-top: 1px solid var(--line); }
.wa-quick button { font-size: 12px; padding: 6px 10px; border-radius: 999px; background: color-mix(in oklab, var(--fg) 4%, transparent); color: var(--fg-sub); box-shadow: inset 0 0 0 1px var(--line); transition: all 160ms ease; }
.wa-quick button:hover { background: color-mix(in oklab, #25d366 15%, transparent); color: #25d366; }
.wa-foot { padding: 10px 12px; background: hsl(220, 30%, 6%); display: flex; gap: 8px; align-items: center; }
.wa-foot input { flex: 1; padding: 8px 12px; border-radius: 999px; background: color-mix(in oklab, var(--fg) 6%, transparent); border: 0; color: var(--fg); font-size: 13px; outline: none; }
.wa-foot button { padding: 8px 14px; border-radius: 999px; background: #25d366; color: #053e2c; font-weight: 600; font-size: 12px; }

/* ---------- Verified badge (custom) ---------- */
.verified-link {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px;
  border-radius: 999px; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.08em; color: var(--emerald);
  background: color-mix(in oklab, var(--emerald) 8%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--emerald) 22%, transparent);
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .returns-wrap { grid-template-columns: 1fr; }
  .calc-wrap { grid-template-columns: 1fr; }
  .calc-results { grid-template-columns: repeat(2, 1fr); }
  .feat4-grid { grid-template-columns: repeat(2, 1fr); }
  .brokers-grid { grid-template-columns: repeat(2, 1fr); }
  .month-grid { grid-template-columns: repeat(2, 1fr); }
  .ctrl-grid { grid-template-columns: repeat(2, 1fr); }
  .mt4-grid { grid-template-columns: 1fr; }
  .academy { grid-template-columns: 1fr; padding: 36px; }
  .carousel-slide { flex: 0 0 calc(50% - 10px); }
  .sec-grid { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .calc-top { grid-template-columns: 1fr; }
  .calc-chart-wrap { display: none; }
  .returns-stats { grid-template-columns: 1fr 1fr; }
  .stats-strip-row { gap: 18px; }
  .stats-strip .v { font-size: 18px; }
  .calc-results { grid-template-columns: 1fr 1fr; }
  .feat4-grid { grid-template-columns: 1fr; }
  .brokers-grid { grid-template-columns: 1fr; }
  .month-grid { grid-template-columns: 1fr; }
  .ctrl-grid { grid-template-columns: 1fr 1fr; }
  .carousel-slide { flex: 0 0 100%; }
  .wa-pop { right: 16px; width: calc(100vw - 32px); }
}

/* Neon mode: tighter accents */
html.t-neon .flow-illu,
html.t-neon .sec-icon,
html.t-neon .feat4-card .ic,
html.t-neon .why-row .ic,
html.t-neon .broker-logo .mark { background: color-mix(in oklab, var(--emerald) 8%, transparent); }
html.t-neon .returns-stat .n,
html.t-neon .month-pct.up,
html.t-neon .academy-stat .n { text-shadow: 0 0 24px color-mix(in oklab, var(--emerald) 50%, transparent); }
