:root {
  --bg:        #0d1117;
  --surface:   #161b22;
  --surface-2: #1b222c;
  --line:      #21262d;
  --line-2:    #30363d;
  --green:     #00ff88;
  --red:       #ff4757;
  --amber:     #ffb800;
  --blue:      #5ab2ff;
  --text:      #e6edf3;
  --muted:     #7d8590;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  --r: 8px;
  --rp: 999px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--mono);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(0,255,136,0.25); color: var(--text); }

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

/* ───────────── BACKGROUND GRID ───────────── */
.bg-grid {
  position: fixed;
  inset: -2px;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right,  rgba(33,38,45,0.9) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(33,38,45,0.9) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: 0.25;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 35%, #000 0%, #000 45%, transparent 95%);
          mask-image: radial-gradient(ellipse 75% 70% at 50% 35%, #000 0%, #000 45%, transparent 95%);
  transform: translateY(var(--gridY, 0px));
  will-change: transform;
}
.bg-dots {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.bg-dots span {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green), 0 0 24px rgba(0,255,136,0.4);
  opacity: 0;
  animation: dotPulse 6s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 0; }
  40%, 60% { opacity: 0.6; }
}

@media (prefers-reduced-motion: reduce) {
  .bg-dots span { animation: none !important; opacity: 0.3 !important; }
  .bg-grid { transform: none !important; }
}

.wrap { position: relative; z-index: 1; }

/* ───────────── NAV ───────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(13,17,23,0.78);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-mark::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 3px;
  border: 1.5px solid rgba(13,17,23,0.85);
  border-right: none;
  border-bottom: none;
  transform: rotate(45deg);
}
.brand-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  transition: color .15s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--r);
  border: 1px solid var(--line-2);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  transition: border-color .15s, color .15s, box-shadow .15s;
}
.nav-cta:hover { border-color: var(--green); color: var(--green); box-shadow: 0 0 0 1px var(--green), 0 0 24px rgba(0,255,136,0.18); }
.nav-cta .arr { transition: transform .15s; }
.nav-cta:hover .arr { transform: translateX(2px); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-signin {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  transition: color .15s;
}
.nav-signin:hover { color: var(--text); }

/* ───────────── BUTTONS ───────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: all .18s ease;
}
.btn .arr { transition: transform .2s ease; display: inline-block; }
.btn:hover .arr { transform: translateX(3px); }
.btn:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

.btn-primary {
  background: var(--green);
  color: #00130a;
  border-color: var(--green);
  font-weight: 700;
  box-shadow: 0 0 0 0 rgba(0,255,136,0);
}
.btn-primary:hover {
  background: var(--green);
  color: #00130a;
  box-shadow: 0 0 0 1px var(--green), 0 12px 40px -8px rgba(0,255,136,0.55);
  transform: translateY(-1px);
}

.btn-ghost { color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--text); }

/* ───────────── SECTION SHELL ───────────── */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 28px;
  position: relative;
}
.section.tight { padding: 80px 28px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px 7px 10px;
  border: 1px solid var(--line-2);
  border-radius: var(--rp);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: tick 1.6s ease-in-out infinite;
}
@keyframes tick { 50% { opacity: 0.4; } }
@media (prefers-reduced-motion: reduce) {
  .eyebrow .dot { animation: none; }
}

/* ───────────── HERO ───────────── */
.hero {
  padding: 80px 28px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero h1 {
  font-family: var(--mono);
  font-weight: 800;
  font-size: clamp(40px, 6.2vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 28px auto 0;
  max-width: 920px;
  text-wrap: balance;
}
.hero h1 .strike {
  position: relative;
  color: var(--muted);
}
.hero h1 .strike::after {
  content: '';
  position: absolute;
  left: -2%;
  right: -2%;
  top: 56%;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
  transform: rotate(-3deg);
  box-shadow: 0 0 8px rgba(255,71,87,0.45);
}
.hero h1 .em {
  color: var(--green);
  text-shadow: 0 0 30px rgba(0,255,136,0.25);
}

.hero-sub {
  margin: 28px auto 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  text-wrap: pretty;
}
.hero-sub strong { color: var(--text); font-weight: 500; }

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 38px;
  flex-wrap: wrap;
}
.hero-fine {
  margin-top: 22px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.hero-fine .sep { color: var(--line-2); margin: 0 10px; }

/* ───────────── PRODUCT SCREENSHOT ───────────── */
.shot-wrap {
  position: relative;
  max-width: 1200px;
  margin: 80px auto 0;
  padding: 0 28px;
}
.shot-glow {
  position: absolute;
  inset: -120px -40px -40px;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(0,255,136,0.22), transparent 70%),
    radial-gradient(ellipse 40% 30% at 30% 70%, rgba(90,178,255,0.10), transparent 75%);
  filter: blur(4px);
  opacity: 0;
  transition: opacity 1.2s ease;
}
.shot-wrap.in .shot-glow { opacity: 1; }

.shot {
  position: relative;
  border-radius: var(--r);
  border: 1px solid var(--line-2);
  background: var(--surface);
  overflow: hidden;
  box-shadow:
    0 60px 120px -30px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.02) inset;
  transform: translateY(40px) perspective(1400px) rotateX(8deg) scale(0.98);
  opacity: 0;
  transition: transform 1.2s cubic-bezier(.16,.84,.2,1), opacity .9s ease;
  animation: float 7s ease-in-out infinite;
  animation-play-state: paused;
}
.shot-wrap.in .shot {
  opacity: 1;
  transform: translateY(0) perspective(1400px) rotateX(0deg) scale(1);
  animation-play-state: running;
}
@keyframes float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -3px; }
}
@media (prefers-reduced-motion: reduce) {
  .shot { transform: none !important; opacity: 1 !important; animation: none !important; }
  .shot-wrap .shot-glow { opacity: 1; }
}

.shot-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #131820, #0f141b);
}
.shot-dots { display: flex; gap: 6px; }
.shot-dots span {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--line-2);
}
.shot-dots span:nth-child(1) { background: #4a3033; }
.shot-dots span:nth-child(2) { background: #4a3f23; }
.shot-dots span:nth-child(3) { background: #1f4031; }
.shot-title {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.shot-title .live {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  margin-right: 8px;
  vertical-align: middle;
}

/* Replace any existing padding/background on .shot-body so the screenshot
   fills the chrome from edge to edge */
.shot-body {
  padding: 0;
  background: transparent;
  overflow: hidden;
  border-bottom-left-radius: inherit;
  border-bottom-right-radius: inherit;
}

.shot-image {
  display: block;
  width: 100%;
  height: auto;
  /* Make the image inherit the rounded bottom corners from .shot */
  border-bottom-left-radius: inherit;
  border-bottom-right-radius: inherit;
}

.shot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.acct {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  border-radius: var(--r);
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 500;
}
.acct .badge {
  font-size: 10px;
  color: var(--green);
  background: rgba(0,255,136,0.1);
  border: 1px solid rgba(0,255,136,0.35);
  padding: 2px 8px;
  border-radius: var(--rp);
  letter-spacing: 0.1em;
}
.acct .chev { color: var(--muted); }

.period {
  display: inline-flex;
  padding: 4px;
  border-radius: var(--rp);
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 11px;
}
.period button {
  padding: 6px 12px;
  border-radius: var(--rp);
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.06em;
}
.period button.on {
  background: var(--green);
  color: #00130a;
  font-weight: 700;
}

.chart-wrap {
  position: relative;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(0,255,136,0.02), transparent 40%),
    var(--bg);
  height: 240px;
  padding: 14px 18px;
  overflow: hidden;
}
.chart-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.chart-meta .pnl-pos { color: var(--green); font-weight: 700; }
.chart-svg {
  position: absolute;
  inset: 38px 18px 14px;
  width: calc(100% - 36px);
  height: calc(100% - 52px);
}
.chart-grid line { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 4; }

.chart-line {
  fill: none;
  stroke: var(--green);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  filter: drop-shadow(0 0 6px rgba(0,255,136,0.5));
}
.chart-line.red {
  stroke: var(--red);
  filter: drop-shadow(0 0 6px rgba(255,71,87,0.5));
}
.shot-wrap.in .chart-line { animation: drawLine 2.4s ease-out 0.4s forwards; }
.shot-wrap.in .chart-line.red { animation-delay: 2.0s; animation-duration: 1.4s; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .chart-line { stroke-dashoffset: 0 !important; animation: none !important; }
}
.chart-fill { fill: url(#chartGrad); opacity: 0; transition: opacity 0.8s ease 2.6s; }
.shot-wrap.in .chart-fill { opacity: 1; }
.chart-marker {
  fill: var(--red);
  stroke: #1a0d0f;
  stroke-width: 2;
  opacity: 0;
  transition: opacity .4s ease 3.4s;
}
.shot-wrap.in .chart-marker { opacity: 1; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.stat {
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--surface-2);
  padding: 14px 16px;
}
.stat .k {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.stat .v {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.stat .v.neg { color: var(--red); }
.stat .v.pos { color: var(--green); }
.stat .v.warn { color: var(--amber); }
.stat .sub {
  margin-top: 4px;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.insight-card {
  border-radius: var(--r);
  background:
    linear-gradient(180deg, rgba(255,184,0,0.06), rgba(255,184,0,0.01)),
    var(--surface-2);
  border: 1px solid rgba(255,184,0,0.35);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.insight-card .ic {
  width: 36px; height: 36px;
  flex: 0 0 36px;
  border-radius: var(--r);
  background: rgba(255,184,0,0.12);
  border: 1px solid rgba(255,184,0,0.4);
  color: var(--amber);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 16px;
}
.insight-card .lbl {
  font-size: 10px;
  color: var(--amber);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.insight-card .msg { font-size: 14px; color: var(--text); line-height: 1.5; }
.insight-card .msg b { color: var(--amber); font-weight: 700; }

/* ───────────── REVEAL ANIMATION ───────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.16,.84,.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* hero word-stagger */
.hero h1 .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: wordUp .8s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero .eyebrow { opacity: 0; transform: translateY(8px); animation: wordUp .6s ease forwards; }
.hero-sub, .hero-cta, .hero-fine { opacity: 0; transform: translateY(12px); animation: wordUp .7s ease forwards; }
.hero-sub { animation-delay: 1.05s; }
.hero-cta { animation-delay: 1.2s; }
.hero-fine { animation-delay: 1.35s; }
@keyframes wordUp { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .hero .eyebrow, .hero h1 .w, .hero-sub, .hero-cta, .hero-fine {
    opacity: 1 !important; transform: none !important; animation: none !important;
  }
}

/* ───────────── THE LOOP ───────────── */
.loop {
  margin-top: 40px;
}
.loop-title {
  text-align: center;
  margin: 0 auto 50px;
  max-width: 760px;
}
.loop-title h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-top: 22px;
  text-wrap: balance;
}
.loop-title h2 .em { color: var(--green); }

.loop-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  position: relative;
}
.loop-card {
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 22px 18px;
  position: relative;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.loop-card:hover {
  border-color: rgba(0,255,136,0.4);
  box-shadow: 0 0 0 1px rgba(0,255,136,0.18), 0 16px 40px -16px rgba(0,255,136,0.25);
  transform: translateY(-2px);
}
.loop-card .num {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.2em;
  margin-bottom: 14px;
}
.loop-card .ttl {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.loop-card .glyph {
  margin-top: 18px;
  height: 32px;
  display: flex;
  align-items: center;
}
.loop-card .glyph svg { display: block; }
.loop-card.is-red { border-color: rgba(255,71,87,0.35); background: linear-gradient(180deg, rgba(255,71,87,0.05), transparent 50%), var(--surface); }
.loop-card.is-red .ttl { color: var(--red); }
.loop-card.is-red .num { color: var(--red); }
.loop-card.is-green .num { color: var(--green); }
.loop-card.is-amber { border-color: rgba(255,184,0,0.25); }
.loop-card.is-amber .num { color: var(--amber); }

.loop-cap {
  text-align: center;
  max-width: 720px;
  margin: 38px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.loop-cap b { color: var(--text); font-weight: 500; }

/* ───────────── PIVOT ───────────── */
.pivot {
  padding: 140px 28px;
  text-align: center;
}
.pivot p {
  font-size: clamp(28px, 4.4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.18;
  max-width: 1000px;
  margin: 0 auto;
  text-wrap: balance;
  color: var(--text);
}
.pivot p .em { color: var(--green); }
.pivot p .strike-soft { color: var(--muted); }

/* ───────────── DEMO TRADER ───────────── */
.demo-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}
.demo-intro h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-top: 22px;
  text-wrap: balance;
}
.demo-intro h2 .em { color: var(--green); }
.demo-intro p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
}

.console {
  border-radius: var(--r);
  border: 1px solid var(--line-2);
  background: var(--surface);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 540px;
}

.console-side {
  padding: 24px;
  position: relative;
}
.console-side + .console-side {
  border-left: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(0,255,136,0.015), transparent 30%), var(--surface);
}
.console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.console-head .ttl {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.console-head .ttl b { color: var(--text); font-weight: 700; }
.console-tag {
  padding: 4px 10px;
  border-radius: var(--rp);
  border: 1px solid var(--line);
  background: var(--surface-2);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.log {
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
  font-size: 12px;
}
.log-head {
  display: grid;
  grid-template-columns: 70px 80px 60px 1fr 70px;
  gap: 10px;
  padding: 10px 14px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.log-row {
  display: grid;
  grid-template-columns: 70px 80px 60px 1fr 70px;
  gap: 10px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.log-row:last-child { border-bottom: none; }
.log-row.win  .r { color: var(--green); }
.log-row.loss .r { color: var(--red); }
.log-row.revenge {
  background: linear-gradient(90deg, rgba(255,71,87,0.10), rgba(255,71,87,0.02));
  position: relative;
}
.log-row.revenge::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--red);
}
.log-row .pair  { font-weight: 700; }
.log-row .sess  { color: var(--muted); font-size: 11px; }
.log-row .r     { font-weight: 700; text-align: right; }
.log-row .res   { color: var(--muted); }
.log-row .res.w { color: var(--green); }
.log-row .res.l { color: var(--red); }

.log-foot {
  padding: 10px 14px;
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.log-foot .warn { color: var(--red); }

.scan-stage {
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 380px;
}
.scan-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  text-align: center;
  border-radius: var(--r);
  border: 1px dashed var(--line-2);
  background:
    radial-gradient(ellipse at center, rgba(0,255,136,0.04), transparent 70%),
    repeating-linear-gradient(45deg, transparent 0 8px, rgba(33,38,45,0.4) 8px 9px);
  padding: 30px;
}
.scan-empty .hint {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
  max-width: 320px;
  line-height: 1.55;
}
.scan-empty .pulse {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(0,255,136,0.1);
  border: 1px solid rgba(0,255,136,0.4);
  display: grid;
  place-items: center;
  font-size: 22px;
  color: var(--green);
  position: relative;
}
.scan-empty .pulse::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid var(--green);
  opacity: 0.3;
  animation: ping 1.8s ease-out infinite;
}
@keyframes ping {
  0%   { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .scan-empty .pulse::before { animation: none; }
}

.scan-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: var(--r);
  background: var(--green);
  color: #00130a;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 13px;
  border: 1px solid var(--green);
  cursor: pointer;
  transition: box-shadow .2s, transform .2s;
}
.scan-btn:hover {
  box-shadow: 0 0 0 1px var(--green), 0 14px 40px -10px rgba(0,255,136,0.6);
  transform: translateY(-1px);
}
.scan-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }

.findings {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.finding {
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--surface-2);
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s ease, transform .5s ease;
}
.finding.show { opacity: 1; transform: translateY(0); }
.finding .ix {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.16em;
  font-weight: 700;
  flex: 0 0 28px;
  padding-top: 2px;
}
.finding .body {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text);
}
.finding.r { border-color: rgba(255,71,87,0.35); }
.finding.r .ix { color: var(--red); }
.finding.b { border-color: rgba(90,178,255,0.35); }
.finding.b .ix { color: var(--blue); }
.finding.g { border-color: rgba(0,255,136,0.45); background: linear-gradient(180deg, rgba(0,255,136,0.05), transparent 50%), var(--surface-2); }
.finding.g .ix { color: var(--green); }

.finding .typed {
  display: inline;
}
.finding .typed.done::after { content: ''; }
.finding .caret {
  display: inline-block;
  width: 7px;
  height: 14px;
  background: currentColor;
  margin-left: 2px;
  vertical-align: -2px;
  animation: blink 1s steps(1,end) infinite;
}
.finding.r .caret { color: var(--red); }
.finding.b .caret { color: var(--blue); }
.finding.g .caret { color: var(--green); }
@keyframes blink { 50% { opacity: 0; } }

.verdict {
  border-radius: var(--r);
  border: 1px solid rgba(0,255,136,0.45);
  background:
    radial-gradient(ellipse at top, rgba(0,255,136,0.08), transparent 70%),
    var(--surface-2);
  padding: 18px 20px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .6s ease, transform .6s ease;
}
.verdict.show { opacity: 1; transform: translateY(0); }
.verdict .lbl {
  font-size: 10px;
  color: var(--green);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 700;
}
.verdict p { font-size: 15px; line-height: 1.5; }
.verdict b { color: var(--green); font-weight: 700; }

.demo-foot {
  text-align: center;
  max-width: 720px;
  margin: 36px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.demo-foot b { color: var(--text); font-weight: 500; }

/* ───────────── OUTCOMES ───────────── */
.outcomes-head {
  text-align: center;
  margin: 0 auto 50px;
  max-width: 720px;
}
.outcomes-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-top: 22px;
  text-wrap: balance;
}
.outcomes-head h2 .em { color: var(--green); }

.outcome {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 32px 36px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--surface);
  margin-bottom: 14px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.outcome:hover {
  border-color: rgba(0,255,136,0.35);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -16px rgba(0,255,136,0.18);
}
.outcome .ix {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--muted);
}
.outcome .copy h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin-bottom: 6px;
}
.outcome .copy h3 .em { color: var(--green); }
.outcome .copy .under {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.outcome .copy .under b { color: var(--text); font-weight: 500; }
.outcome .arr-lg {
  font-size: 24px;
  color: var(--muted);
  transition: color .2s, transform .2s;
}
.outcome:hover .arr-lg { color: var(--green); transform: translateX(4px); }

/* ───────────── DATA BASELINE ───────────── */
.baseline {
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at center, rgba(255,71,87,0.06), transparent 70%);
  padding: 120px 28px;
}
.baseline-big {
  font-size: clamp(96px, 16vw, 200px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--red);
  text-shadow: 0 0 60px rgba(255,71,87,0.25);
}
.baseline p {
  font-size: clamp(18px, 2.2vw, 24px);
  max-width: 760px;
  margin: 28px auto 0;
  color: var(--text);
  line-height: 1.5;
  text-wrap: balance;
  font-weight: 500;
}
.baseline p .muted { color: var(--muted); }
.baseline .src {
  margin-top: 28px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* ───────────── PRICING ───────────── */
.pricing-head {
  text-align: center;
  margin: 0 auto 50px;
}
.pricing-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-top: 22px;
  text-wrap: balance;
}
.pricing-head p {
  margin-top: 14px;
  color: var(--muted);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 880px;
  margin: 0 auto;
}
.plan {
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 32px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.plan.pro {
  border-color: var(--green);
  box-shadow: 0 0 0 1px rgba(0,255,136,0.2), 0 0 60px -10px rgba(0,255,136,0.25);
  background:
    radial-gradient(ellipse at top, rgba(0,255,136,0.05), transparent 70%),
    var(--surface);
}
.plan-tag {
  position: absolute;
  top: -10px; left: 28px;
  background: var(--green);
  color: #00130a;
  padding: 4px 10px;
  border-radius: var(--rp);
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 700;
}
.plan-name {
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.plan-price {
  display: flex; align-items: baseline; gap: 8px;
}
.plan-price .amt {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.plan-price .per { font-size: 13px; color: var(--muted); }
.plan-blurb {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.plan ul {
  list-style: none;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.plan li {
  display: flex;
  gap: 12px;
  font-size: 13.5px;
  line-height: 1.45;
  align-items: flex-start;
}
.plan li .ck {
  flex: 0 0 16px;
  color: var(--green);
  font-weight: 700;
  margin-top: 1px;
}
.plan li.dim { color: var(--muted); }
.plan li.dim .ck { color: var(--line-2); }
.plan .btn { width: 100%; justify-content: center; }

/* ───────────── FINAL CTA ───────────── */
.final {
  text-align: center;
  padding: 140px 28px;
  position: relative;
  background:
    radial-gradient(ellipse 60% 60% at 50% 50%, rgba(0,255,136,0.08), transparent 70%);
}
.final h2 {
  font-size: clamp(36px, 5.4vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 880px;
  margin: 0 auto;
  text-wrap: balance;
}
.final h2 .em { color: var(--green); }
.final p {
  margin-top: 24px;
  color: var(--muted);
  font-size: 15px;
}
.final .cta { margin-top: 40px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ───────────── FOOTER ───────────── */
.footer {
  border-top: 1px solid var(--line);
  padding: 36px 28px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.footer .links { display: flex; gap: 24px; }
.footer a:hover { color: var(--text); }

/* ───────────── RESPONSIVE ───────────── */
@media (max-width: 920px) {
  .nav-links { display: none; }
  .loop-row { grid-template-columns: repeat(2, 1fr); }
  .console { grid-template-columns: 1fr; }
  .console-side + .console-side { border-left: none; border-top: 1px solid var(--line); }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; }
  .outcome { grid-template-columns: 60px 1fr; gap: 18px; padding: 22px 22px; }
  .outcome .arr-lg { display: none; }
  .pivot { padding: 80px 24px; }
  .section { padding: 80px 24px; }
}
@media (max-width: 560px) {
  .nav-inner { padding: 12px 18px; gap: 12px; }
  .brand-name { display: none; }
  .hero { padding: 50px 20px 20px; }
  .shot-wrap { padding: 0 16px; margin-top: 50px; }
  .shot-body { padding: 14px; gap: 14px; }
  .log-head, .log-row { grid-template-columns: 50px 60px 50px 1fr; }
  .log-head > div:nth-child(5), .log-row > div:nth-child(5) { display: none; }
  .loop-row { grid-template-columns: 1fr; }
  .baseline-big { font-size: 84px; }
  .outcome { padding: 20px; }
}

/* ───────────── FOUNDER NOTE (NEW) ───────────── */
.founder {
  max-width: 720px;
  margin: 60px auto;
  padding: 80px 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.founder-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}
.founder-avatar {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #2a323d, #1a1f27 70%);
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.founder-meta .name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.founder-meta .role {
  margin-top: 3px;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}
.founder-statement {
  font-size: 17px;
  line-height: 1.62;
  color: var(--text);
  text-wrap: pretty;
  font-weight: 400;
}
.founder-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  color: var(--green);
  font-size: 13px;
  font-weight: 500;
  border-bottom: 1px solid rgba(0,255,136,0.35);
  padding-bottom: 1px;
  transition: border-color .15s, text-shadow .15s;
}
.founder-link:hover {
  border-bottom-color: var(--green);
  text-shadow: 0 0 12px rgba(0,255,136,0.45);
}
.founder-link .arr { transition: transform .15s; }
.founder-link:hover .arr { transform: translateX(3px); }

/* ───────────── FROM 8 TOOLS → ONE TERMINAL (v5: floating cluster + draw-in arrow) ───────────── */
.consolidate-head {
  text-align: center;
  margin: 0 auto 70px;
  max-width: 760px;
}
.consolidate-head h2 {
  font-size: clamp(28px, 4.4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-top: 22px;
  text-wrap: balance;
}
.consolidate-head h2 .em { color: var(--green); }
.consolidate-head p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  text-wrap: pretty;
}

.consolidate-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  max-width: 1080px;
  margin: 0 auto;
}

/* LEFT — irregular floating cluster of disconnected tools */
.tools-float {
  position: relative;
  height: 420px;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}
.float-tool {
  position: absolute;
  width: 92px;
  height: 92px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  box-shadow:
    0 10px 30px -14px rgba(0,0,0,0.8),
    inset 0 1px 0 rgba(255,255,255,0.025);
  animation: float-bob var(--dur, 5s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  will-change: transform;
}
.float-tool .ic {
  width: 30px;
  height: 30px;
  color: var(--text);
  opacity: 0.78;
  display: grid;
  place-items: center;
}
.float-tool .nm {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  line-height: 1.15;
}

@keyframes float-bob {
  0%, 100% {
    transform: translate(0, 0) rotate(var(--rot-a, 0deg));
  }
  50% {
    transform: translate(var(--dx, 0px), var(--dy, -8px)) rotate(var(--rot-b, 1deg));
  }
}

/* Scattered positions + per-card motion params — each card has its own loop & phase */
.float-tool[data-i="0"] { top: 4%;  left: 2%;  --dur: 4.6s; --delay: 0s;     --dy: -8px;  --dx:  2px; --rot-a: -2deg;   --rot-b:  1deg; }
.float-tool[data-i="1"] { top: 0%;  left: 42%; --dur: 5.4s; --delay: -1.6s;  --dy: -10px; --dx: -3px; --rot-a:  1.5deg; --rot-b: -1deg; }
.float-tool[data-i="2"] { top: 10%; left: 76%; --dur: 4.9s; --delay: -0.7s;  --dy: -6px;  --dx:  3px; --rot-a: -1deg;   --rot-b:  2deg; }
.float-tool[data-i="3"] { top: 36%; left: 18%; --dur: 5.7s; --delay: -2.3s;  --dy: -10px; --dx: -2px; --rot-a:  2deg;   --rot-b: -1.5deg; }
.float-tool[data-i="4"] { top: 40%; left: 58%; --dur: 4.3s; --delay: -1.1s;  --dy: -7px;  --dx:  4px; --rot-a: -1.5deg; --rot-b:  1deg; }
.float-tool[data-i="5"] { top: 68%; left: 0%;  --dur: 5.1s; --delay: -1.9s;  --dy: -8px;  --dx:  3px; --rot-a:  1deg;   --rot-b: -2deg; }
.float-tool[data-i="6"] { top: 72%; left: 42%; --dur: 4.7s; --delay: -0.4s;  --dy: -9px;  --dx: -3px; --rot-a: -2deg;   --rot-b:  1.5deg; }
.float-tool[data-i="7"] { top: 64%; left: 76%; --dur: 5.5s; --delay: -2.6s;  --dy: -8px;  --dx:  2px; --rot-a:  1.5deg; --rot-b: -1deg; }

@media (prefers-reduced-motion: reduce) {
  .float-tool { animation: none !important; }
}

/* CENTER — system arrow that draws on scroll-in */
.arrow-flow {
  display: grid;
  place-items: center;
  color: var(--green);
  filter: drop-shadow(0 0 18px rgba(0,255,136,0.4));
}
.arrow-flow svg { display: block; }
.arrow-flow .av { display: none; }
.arrow-flow .shaft {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset .6s ease-out;
}
.arrow-flow .head {
  opacity: 0;
  transform: translateX(-6px);
  transform-origin: right center;
  transition: opacity .25s ease .55s, transform .35s ease .55s;
}
.arrow-flow .seed {
  opacity: 0;
  transition: opacity .2s ease;
}
.consolidate-stage.drawn .arrow-flow .shaft { stroke-dashoffset: 0; }
.consolidate-stage.drawn .arrow-flow .head { opacity: 1; transform: translateX(0); }
.consolidate-stage.drawn .arrow-flow .seed { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .arrow-flow .shaft { stroke-dashoffset: 0 !important; transition: none !important; }
  .arrow-flow .head, .arrow-flow .seed { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* RIGHT — destination: Tracking Wins logo (static, solid, lit) */
.tw-destination {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
}
.tw-logo-lg {
  width: 180px;
  height: 180px;
  border-radius: 32px;
  background: var(--green);
  display: grid;
  place-items: center;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(0,255,136,0.6),
    0 0 100px -10px rgba(0,255,136,0.55),
    inset 0 2px 0 rgba(255,255,255,0.45);
  animation: tw-pulse-lg 3.6s ease-in-out infinite;
}
.tw-logo-lg::before {
  content: '';
  position: absolute;
  inset: 44px;
  border-radius: 8px;
  border: 5px solid rgba(13,17,23,0.9);
  border-right: none;
  border-bottom: none;
  transform: rotate(45deg);
}
@keyframes tw-pulse-lg {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(0,255,136,0.55),
      0 0 80px -12px rgba(0,255,136,0.45),
      inset 0 2px 0 rgba(255,255,255,0.4);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(0,255,136,0.75),
      0 0 160px -8px rgba(0,255,136,0.7),
      inset 0 2px 0 rgba(255,255,255,0.5);
  }
}
@media (prefers-reduced-motion: reduce) {
  .tw-logo-lg { animation: none; }
}
.tw-destination .nm {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--text);
  text-transform: uppercase;
}
.tw-destination .stack {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
  line-height: 1.7;
  max-width: 300px;
  text-wrap: balance;
}
.tw-destination .stack b { color: var(--green); font-weight: 500; }

.consolidate-tagline {
  text-align: center;
  margin: 70px auto 0;
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
  letter-spacing: 0.02em;
}

/* Responsive for section 5 */
@media (max-width: 820px) {
  .consolidate-stage {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 480px;
  }
  .tools-float { height: 360px; max-width: 400px; }
  .arrow-flow .ah { display: none; }
  .arrow-flow .av { display: block; }
  .tw-logo-lg { width: 144px; height: 144px; border-radius: 24px; }
  .tw-logo-lg::before { inset: 34px; border-width: 4px; }
}
@media (max-width: 420px) {
  .float-tool { width: 80px; height: 80px; padding: 8px 4px; gap: 6px; }
  .float-tool .ic { width: 24px; height: 24px; }
  .float-tool .nm { font-size: 8px; letter-spacing: 0.1em; }
  .tools-float { height: 320px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   INSIDE THE TERMINAL · v2 CSS
   
   Append this to your existing stylesheet (or replace your current
   "/* ── DOCK ──*/
 

/* ─── Section heading (unchanged from v1) ──────────────────────────── */
.dock-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}
.dock-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-top: 22px;
  text-wrap: balance;
}
.dock-head h2 .em { color: var(--green); }
.dock-head p {
  color: var(--muted);
  margin-top: 14px;
  font-size: 14px;
  letter-spacing: 0.01em;
}

/* ─── Dock wrapper + dock (Apple-style) ────────────────────────────── */
.dock-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
  position: relative;
  padding: 0 24px;
}

.dock {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 14px 20px;
  background: linear-gradient(180deg, rgba(22,28,38,0.6), rgba(13,17,23,0.85));
  border: 1px solid var(--line);
  border-radius: 18px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 24px 50px -20px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.04);
  position: relative;
  /* Allow icons to grow without scrollbar flickering */
  overflow: visible;
  max-width: 100%;
}

/* ─── Individual dock icon ─────────────────────────────────────────── */
.dock-icon {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--green);                    /* ← all icons green */
  padding: 0;
  position: relative;
  transform-origin: center bottom;
  flex-shrink: 0;
  border-radius: 10px;
  transition: color 0.2s, background-color 0.2s;
  /* Default transform transition is SLOW (for graceful return) */
  /* JS adds .is-magnifying class to dock during hover → near-instant */
}

.dock-icon svg {
  width: 60%;
  height: 60%;
  display: block;
  filter: drop-shadow(0 0 4px rgba(0,255,136,0.15));
  pointer-events: none;
  transition: filter 0.2s;
}

/* Graceful return: slow ease when leaving */
.dock-icon {
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              height 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              color 0.2s, background-color 0.2s;
}

/* During active magnification: snappy follow */
.dock.is-magnifying .dock-icon {
  transition: color 0.2s, background-color 0.2s;
}

/* Active state — currently-displayed panel */
.dock-icon.is-active {
  background: rgba(0,255,136,0.08);
}
.dock-icon.is-active svg {
  filter: drop-shadow(0 0 8px rgba(0,255,136,0.5));
}

/* Active indicator dot below */
.dock-icon.is-active::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
}

/* ─── Tooltip on hover ─────────────────────────────────────────────── */
.dock-tip {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: rgba(13,17,23,0.95);
  border: 1px solid var(--line-2);
  color: var(--text);
  font-size: 11px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 5px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s, transform 0.15s;
  letter-spacing: 0.02em;
}
.dock-icon:hover .dock-tip,
.dock-icon:focus-visible .dock-tip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Focus ring for keyboard navigation */
.dock-icon:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

/* ─── Feature panel ────────────────────────────────────────────────── */
.feature-panel {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
  align-items: stretch;
}

.feat-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.feat-icon-lg {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: rgba(0,255,136,0.08);
  border: 1px solid rgba(0,255,136,0.2);
  border-radius: 10px;
  color: var(--green);
  margin-bottom: 4px;
}
.feat-icon-lg svg { width: 28px; height: 28px; }
.feat-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.feat-desc {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}
.feat-cta {
  font-size: 12px;
  color: var(--green);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  width: fit-content;
}
.feat-cta:hover { gap: 10px; }
.feat-cta .arr { transition: transform 0.2s; }
.feat-cta:hover .arr { transform: translateX(3px); }

.feat-mock {
  position: relative;
  min-height: 320px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  overflow: hidden;
}

.mock-panel {
  position: absolute;
  inset: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s, transform 0.35s;
  pointer-events: none;
}
.mock-panel.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ─── Three pillars below ──────────────────────────────────────────── */
.feat-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 40px auto 0;
}
.feat-pillar h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.feat-pillar p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════════
   NEW MOCK PANEL STYLES
   For: achievements, trades, scenario, calculator, import, settings
═══════════════════════════════════════════════════════════════════ */

/* ─── ACHIEVEMENTS · streak block ──────────────────────────────────── */
.mock-streak {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  background: rgba(0,255,136,0.04);
  border: 1px solid rgba(0,255,136,0.15);
  border-radius: 8px;
}
.streak-flame {
  position: relative;
  width: 44px;
  height: 44px;
  color: var(--amber);
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(255,184,0,0.3));
}
.streak-flame svg { width: 100%; height: 100%; }
.streak-num {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--bg, #0d1117);
  padding-top: 6px;
}
.streak-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.streak-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.streak-sub {
  font-size: 11px;
  color: var(--muted);
}
.streak-sub b { color: var(--green); font-weight: 600; }

/* ─── TRADES · open positions list + divider ───────────────────────── */
.mock-trades-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mock-trade-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 11.5px;
}
.pair-mini {
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
}
.dir-long {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 2px 6px;
  background: rgba(0,255,136,0.1);
  color: var(--green);
  border-radius: 3px;
}
.dir-short {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 2px 6px;
  background: rgba(255,71,87,0.1);
  color: var(--neg);
  border-radius: 3px;
}
.mock-divider {
  text-align: center;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--muted);
  padding: 8px 0 4px;
  border-top: 1px dashed var(--line);
  margin-top: 4px;
}

/* ─── SCENARIO · sliders + label rows ──────────────────────────────── */
.mock-scenario {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  background: rgba(90,178,255,0.04);
  border: 1px solid rgba(90,178,255,0.15);
  border-radius: 6px;
}
.scenario-row {
  display: grid;
  grid-template-columns: 72px 1fr 56px;
  align-items: center;
  gap: 12px;
}
.scn-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.scn-val {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--green);
  text-align: right;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
}
.scn-slider {
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  position: relative;
}
.scn-thumb {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px rgba(0,255,136,0.5);
}

/* ─── CALCULATOR · field grid + result ─────────────────────────────── */
.mock-calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.calc-field {
  padding: 10px 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 5px;
}
.calc-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 4px;
}
.calc-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
}
.mock-calc-result {
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(0,255,136,0.08), rgba(0,255,136,0.02));
  border: 1px solid rgba(0,255,136,0.25);
  border-radius: 6px;
  text-align: center;
  margin-top: 4px;
}
.calc-output-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--green);
  margin-bottom: 4px;
}
.calc-output-val {
  font-size: 28px;
  font-weight: 800;
  color: var(--green);
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  letter-spacing: -0.02em;
  text-shadow: 0 0 12px rgba(0,255,136,0.3);
}
.calc-output-sub {
  font-size: 10.5px;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: 0.04em;
}

/* ─── IMPORT · source rows ─────────────────────────────────────────── */
.mock-import-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.import-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.src-icon {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: rgba(0,255,136,0.08);
  border: 1px solid rgba(0,255,136,0.2);
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
}
.src-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.src-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}
.src-ctx {
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 500;
}
.src-status {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}
.src-status.pos {
  color: var(--green);
  background: rgba(0,255,136,0.08);
  border: 1px solid rgba(0,255,136,0.2);
}
.src-status.warn {
  color: var(--amber);
  background: rgba(255,184,0,0.08);
  border: 1px solid rgba(255,184,0,0.2);
}

/* ─── SETTINGS · rows + toggles + theme picker ─────────────────────── */
.mock-settings {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.set-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 5px;
}
.set-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.set-theme-picker {
  display: flex;
  gap: 6px;
}
.theme-swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  cursor: pointer;
  opacity: 0.55;
}
.theme-swatch.active {
  opacity: 1;
  border-color: var(--text);
  box-shadow: 0 0 8px currentColor;
}
.set-toggle {
  width: 32px;
  height: 18px;
  border-radius: 999px;
  background: var(--line-2);
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
}
.set-toggle.on { background: var(--green); }
.set-toggle-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--text);
  transition: left 0.2s;
}
.set-toggle.on .set-toggle-knob {
  left: 16px;
  background: var(--bg, #0d1117);
}
.set-val-mini {
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  .feature-panel {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }
  .feat-pillars {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .dock {
    gap: 8px;
    padding: 10px 14px;
  }
  .dock-icon {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 640px) {
  /* On phones, allow horizontal scroll instead of magnification */
  .dock-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .dock-wrap::-webkit-scrollbar { display: none; }
  .dock {
    max-width: none;
    border-radius: 14px;
  }
  .dock-icon {
    width: 38px;
    height: 38px;
  }
  /* Disable magnification on touch devices */
  .dock.is-magnifying .dock-icon {
    width: 38px !important;
    height: 38px !important;
  }
}

/* DETAIL PANEL — large card below dock */
.feature-panel {
  max-width: 1120px;
  margin: 0 auto;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 36px;
  display: grid;
  grid-template-columns: minmax(0, 35fr) minmax(0, 65fr);
  gap: 40px;
  align-items: stretch;
  min-height: 460px;
  position: relative;
}

/* Cross-fade machinery — driven by Web Animations API in JS so static state stays visible (no fade-stuck) */

.feat-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.feat-icon-lg {
  width: 100px;
  height: 100px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.32),
    inset 0 -2px 0 rgba(0,0,0,0.22),
    0 16px 36px -12px rgba(0,0,0,0.6);
}
.feat-icon-lg.fic-dashboard  { background: linear-gradient(180deg, #2cff9e 0%, #00cc6a 100%); color: #00130a; }
.feat-icon-lg.fic-statistics { background: linear-gradient(180deg, #86cbff 0%, #3a8edc 100%); }
.feat-icon-lg.fic-journal    { background: linear-gradient(180deg, #ffd86a 0%, #e09a00 100%); color: #1a1100; }
.feat-icon-lg.fic-calendar   { background: linear-gradient(180deg, #ff7683 0%, #d92d3d 100%); }
.feat-icon-lg.fic-strategy   { background: linear-gradient(180deg, #c98aff 0%, #8638d9 100%); }
.feat-icon-lg.fic-tracky     { background: linear-gradient(180deg, #3edcc6 0%, #0e8d7f 100%); }
.feat-icon-lg.fic-news       { background: linear-gradient(180deg, #ffa15a 0%, #d96b00 100%); }
.feat-icon-lg.fic-accounts   { background: linear-gradient(180deg, #ff8ac9 0%, #d63a8e 100%); }
.feat-icon-lg svg { width: 50px; height: 50px; }

.feat-title {
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.feat-desc {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text);
  text-wrap: pretty;
}
.feat-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 11px 18px;
  border-radius: 3px;
  background: transparent;
  color: var(--green);
  border: 1px solid var(--green);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  margin-top: auto;
  transition: background .18s, box-shadow .18s, color .18s, transform .18s;
  text-transform: none;
}
.feat-cta:hover {
  background: var(--green);
  color: #00130a;
  box-shadow: 0 0 0 1px var(--green), 0 12px 32px -10px rgba(0,255,136,0.55);
  transform: translateY(-1px);
}
.feat-cta .arr { transition: transform .18s; }
.feat-cta:hover .arr { transform: translateX(3px); }

.feat-mock {
  position: relative;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  min-height: 380px;
}

/* Three pillars BELOW detail panel */
.feat-pillars {
  max-width: 1120px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feat-pillar {
  padding-top: 22px;
  border-top: 1px solid var(--line);
  transition: opacity .25s ease, transform .25s ease;
}
/* pillar fade-in handled by JS via Web Animations API */
.feat-pillar h4 {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 10px;
}
.feat-pillar p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
  text-wrap: pretty;
}

.mock-panel {
  display: none;
  padding: 16px;
  height: 100%;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.mock-panel.is-active { display: flex; }

.mock-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mock-eyebrow {
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}
.mock-eyebrow b { color: var(--text); font-weight: 700; }
.mock-eyebrow.pos { color: var(--green); }
.mock-eyebrow.neg { color: var(--red); }
.mock-eyebrow.warn { color: var(--amber); }
.mock-eyebrow.info { color: var(--blue); }

.mock-chart {
  flex: 1;
  min-height: 100px;
  background: var(--surface-2);
  border-radius: 6px;
  border: 1px solid var(--line);
  padding: 8px;
}
.mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.mock-stat {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-2);
  padding: 10px 12px;
}
.mock-stat .k { font-size: 8px; color: var(--muted); letter-spacing: 0.2em; margin-bottom: 6px; text-transform: uppercase; font-weight: 700; }
.mock-stat .v { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.mock-stat .v.pos { color: var(--green); }
.mock-stat .v.neg { color: var(--red); }
.mock-stat .v.warn { color: var(--amber); }

.mock-list { display: flex; flex-direction: column; gap: 8px; }
.mock-row-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 11px;
  color: var(--text);
}
.mock-row-item .tag {
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(0,255,136,0.1);
  color: var(--green);
  border: 1px solid rgba(0,255,136,0.3);
  flex-shrink: 0;
}
.mock-row-item .tag.warn { background: rgba(255,184,0,0.1); color: var(--amber); border-color: rgba(255,184,0,0.3); }
.mock-row-item .tag.neg { background: rgba(255,71,87,0.1); color: var(--red); border-color: rgba(255,71,87,0.3); }
.mock-row-item .tag.info { background: rgba(90,178,255,0.1); color: var(--blue); border-color: rgba(90,178,255,0.3); }
.mock-row-item .spacer { flex: 1; }
.mock-row-item .meta { font-size: 9px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }
.mock-row-item .val { font-weight: 700; font-variant-numeric: tabular-nums; }
.mock-row-item .val.pos { color: var(--green); }
.mock-row-item .val.neg { color: var(--red); }

.mock-cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  flex: 1;
  align-content: start;
}
.mock-cal .day {
  aspect-ratio: 1;
  border-radius: 3px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 9px;
  color: var(--muted);
  font-weight: 500;
}
.mock-cal .day.pos1 { background: rgba(0,255,136,0.18); color: var(--green); border-color: rgba(0,255,136,0.3); }
.mock-cal .day.pos2 { background: rgba(0,255,136,0.38); color: #00130a; border-color: var(--green); font-weight: 700; }
.mock-cal .day.neg1 { background: rgba(255,71,87,0.18); color: var(--red); border-color: rgba(255,71,87,0.3); }
.mock-cal .day.neg2 { background: rgba(255,71,87,0.38); color: #fff; border-color: var(--red); font-weight: 700; }

.mock-bars { display: flex; align-items: flex-end; gap: 6px; height: 100%; padding: 6px; }
.mock-bars .bar {
  flex: 1;
  min-height: 8px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 3px 3px 0 0;
}
.mock-bars .bar.pos { background: rgba(0,255,136,0.25); border-color: rgba(0,255,136,0.5); }
.mock-bars .bar.neg { background: rgba(255,71,87,0.35); border-color: var(--red); box-shadow: 0 0 8px -2px rgba(255,71,87,0.5); }

.mock-checklist { display: flex; flex-direction: column; gap: 6px; }
.mock-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 11px;
}
.mock-check .box {
  width: 14px; height: 14px;
  border-radius: 3px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  display: grid;
  place-items: center;
  color: #00130a;
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}
.mock-check.done .box { background: var(--green); border-color: var(--green); }
.mock-check.done .label { color: var(--text); }
.mock-check .label { color: var(--muted); flex: 1; }
.mock-check .weight { font-size: 9px; color: var(--green); font-weight: 700; letter-spacing: 0.12em; font-variant-numeric: tabular-nums; }
.mock-check:not(.done) .weight { color: var(--muted); }

.mock-confluence {
  border: 1px solid rgba(0,255,136,0.35);
  border-radius: 6px;
  background: rgba(0,255,136,0.04);
  padding: 10px 12px;
}
.mock-confluence .bar-track {
  margin-top: 8px;
  height: 4px;
  background: var(--surface-2);
  border-radius: 3px;
  overflow: hidden;
}
.mock-confluence .bar-fill {
  height: 100%;
  width: 86%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(0,255,136,0.5);
}

.mock-chat { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mock-bubble {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 11.5px;
  line-height: 1.5;
  max-width: 85%;
}
.mock-bubble.tracky {
  background: rgba(0,255,136,0.06);
  border: 1px solid rgba(0,255,136,0.35);
  align-self: flex-start;
  color: var(--text);
}
.mock-bubble.tracky b { color: var(--green); font-weight: 700; }
.mock-bubble.user {
  background: var(--surface-2);
  border: 1px solid var(--line);
  align-self: flex-end;
  color: var(--text);
}
.mock-tracky-head {
  display: flex; align-items: center; gap: 8px;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--green);
  text-transform: uppercase;
  font-weight: 700;
}
.mock-tracky-head::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.mock-trade-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-2);
  padding: 12px;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.mock-trade-card .pair-row { display: flex; align-items: center; gap: 10px; }
.mock-trade-card .pair-row .pair { font-weight: 700; font-size: 13px; letter-spacing: -0.01em; }
.mock-trade-card .pair-row .dir-long { background: rgba(0,255,136,0.12); color: var(--green); border: 1px solid rgba(0,255,136,0.35); padding: 2px 8px; border-radius: 3px; font-size: 8px; letter-spacing: 0.18em; font-weight: 700; }
.mock-trade-card .pair-row .pnl-pos { margin-left: auto; color: var(--green); font-weight: 700; font-size: 11px; font-variant-numeric: tabular-nums; }
.mock-trade-card .emo { display: flex; gap: 6px; flex-wrap: wrap; }
.mock-trade-card .emo .chip {
  font-size: 8px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700;
  padding: 3px 8px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line);
  color: var(--muted);
}
.mock-trade-card .emo .chip.acc { color: var(--blue); border-color: rgba(90,178,255,0.3); background: rgba(90,178,255,0.06); }
.mock-trade-card .mini-chart {
  flex: 1; min-height: 70px;
  border: 1px solid var(--line); border-radius: 4px; background: var(--bg);
  overflow: hidden;
}
.mock-trade-card .lesson {
  font-size: 10px; line-height: 1.5; color: var(--muted);
  padding-top: 8px;
  border-top: 1px solid var(--line);
  letter-spacing: 0.02em;
}
.mock-trade-card .lesson b { color: var(--text); font-weight: 500; }

.mock-acct-card {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px;
}
.mock-acct-card .name { font-size: 11.5px; font-weight: 700; flex: 1; min-width: 0; }
.mock-acct-card .name .meta { display: block; font-size: 8px; color: var(--muted); letter-spacing: 0.16em; font-weight: 500; margin-top: 3px; }
.mock-acct-card .progress {
  width: 70px; height: 4px; background: var(--bg); border-radius: 3px; overflow: hidden;
  flex-shrink: 0;
}
.mock-acct-card .progress > div { height: 100%; }
.mock-acct-card .pct { font-size: 11px; font-weight: 700; letter-spacing: -0.02em; min-width: 42px; text-align: right; font-variant-numeric: tabular-nums; }
.mock-acct-card .pct.pos { color: var(--green); }
.mock-acct-card .pct.warn { color: var(--amber); }
.mock-acct-card .pct.neg { color: var(--red); }

/* ───────────── REVIEWS ───────────── */
.reviews-head { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.reviews-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-top: 22px;
  text-wrap: balance;
}
.reviews-head h2 .em { color: var(--green); }

.review {
  width: 360px;             /* ← TOEVOEGEN */
  flex-shrink: 0;           /* ← TOEVOEGEN */
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.review:hover {
  border-color: rgba(0,255,136,0.3);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -16px rgba(0,255,136,0.2);
}
.review-head { display: flex; align-items: flex-start; gap: 12px; }
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.review-meta { flex: 1; min-width: 0; }
.review-meta .name { font-size: 13px; font-weight: 700; letter-spacing: -0.01em; }
.review-meta .ctx {
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 4px;
  font-weight: 500;
}
.review-stars {
  display: flex; gap: 2px;
  color: var(--green);
  flex-shrink: 0;
  filter: drop-shadow(0 0 4px rgba(0,255,136,0.3));
}
.review-stars .dim { color: var(--line-2); filter: none; }
.review-quote {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
  text-wrap: pretty;
  flex: 1;
}
.review-tag {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.review-tag::before { content: '▸'; font-size: 9px; }

/* ───────────── CTA STRIP (v4 rewrite) ───────────── */
.cta-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 130px 28px;
  text-align: center;
  position: relative;
}
.cta-strip h2 {
  font-size: clamp(36px, 5.6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 auto;
  text-wrap: balance;
  max-width: 880px;
}
.cta-strip .strip-sub {
  margin: 28px auto 0;
  max-width: 600px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  text-wrap: pretty;
}
.cta-strip .strip-sub b { color: var(--text); font-weight: 500; }
.cta-strip .big-btn {
  margin-top: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 280px;
  padding: 18px 28px;
  border-radius: 3px;
  background: var(--green);
  color: #00130a;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  border: 1px solid var(--green);
  cursor: pointer;
  transition: box-shadow .2s, transform .2s;
}
.cta-strip .big-btn:hover {
  box-shadow: 0 0 0 1px var(--green), 0 18px 50px -10px rgba(0,255,136,0.6);
  transform: translateY(-1px);
}
.cta-strip .big-btn .arr { transition: transform .2s; }
.cta-strip .big-btn:hover .arr { transform: translateX(3px); }
.cta-strip .micro {
  margin-top: 18px;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.cta-strip .kicker {
  margin-top: 38px;
  font-style: italic;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}
.cta-strip .kicker .paying { color: var(--red); font-style: italic; }

/* ───────────── DOCK + REVIEWS RESPONSIVE ───────────── */
@media (max-width: 920px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-panel { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .feat-mock { min-height: 320px; }
  .feat-pillars { grid-template-columns: 1fr; gap: 18px; margin-top: 28px; }
}
@media (max-width: 560px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .dock-wrap { padding: 14px 0 36px; }
  .dock {
    overflow-x: auto;
    overflow-y: visible;
    justify-content: flex-start;
    padding: 22px 18px 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 12px;
  }
  .dock::-webkit-scrollbar { display: none; }
  .dock-icon { scroll-snap-align: center; }
  .feature-panel { padding: 20px; gap: 20px; }
  .feat-icon-lg { width: 80px; height: 80px; border-radius: 18px; }
  .feat-icon-lg svg { width: 40px; height: 40px; }
  .feat-title { font-size: 24px; }
  .cta-strip { padding: 80px 24px; }
  .cta-strip .big-btn { min-width: 100%; }
  .review { padding: 18px 20px; }
}


/* ── Two-column feature section ───────────────────────────────────── */
.feature-row {
  display: flex;
  align-items: center;
  gap: 72px;
  max-width: 1400px;
  margin: 160px auto;
  padding: 0 32px;
}

.feature-row--reverse {
  flex-direction: row-reverse;
}

.feature-image {
  flex: 1 1 70%;
  min-width: 0;
}

.feature-text {
  flex: 1 1 30%;
  min-width: 0;
}

/* ── Carousel ─────────────────────────────────────────────────────── */
.step-carousel {
  position: relative;
}

.step-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
}

.step-counter {
  color: var(--tw-accent, #00ff88);
  font-weight: 700;
}

.step-divider {
  color: rgba(255, 255, 255, 0.25);
}

.step-name {
  color: rgba(255, 255, 255, 0.55);
  transition: color 250ms ease;
}

.step-frames {
  position: relative;
  display: grid;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #21262d;
  background: #0a0e1a;
  box-shadow:
    0 30px 80px rgba(0, 255, 136, 0.06),
    0 0 60px rgba(0, 255, 136, 0.03);
}

.step-frame {
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 500ms ease;
}

.step-frame.active {
  opacity: 1;
}

.step-progress {
  grid-area: 1 / 1;
  align-self: end;
  height: 2px;
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  z-index: 2;
  position: relative;
}

.step-progress-fill {
  height: 100%;
  background: var(--tw-accent, #00ff88);
  width: 0;
}

.step-progress-fill.advancing {
  width: 100%;
  transition: width 6000ms linear;
}

.step-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.step-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 200ms ease;
}

.step-dot:hover {
  background: rgba(255, 255, 255, 0.35);
}

.step-dot.active {
  background: var(--tw-accent, #00ff88);
  width: 24px;
  border-radius: 3px;
}

/* ── Text column ──────────────────────────────────────────────────── */
.feature-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--tw-accent, #00ff88);
  margin-bottom: 18px;
}

.feature-headline {
  font-family: 'JetBrains Mono', monospace;
  font-size: 38px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 22px 0;
  color: #e6e8eb;
}

.feature-body {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(230, 232, 235, 0.72);
  margin: 0 0 28px 0;
}

.feature-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-bullets li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: rgba(230, 232, 235, 0.85);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.02em;
}

.feature-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--tw-accent, #00ff88);
  border-radius: 50%;
}

/* ── Mobile ───────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .feature-row,
  .feature-row--reverse {
    flex-direction: column;
    gap: 40px;
    margin: 80px auto;
    padding: 0 20px;
  }

  .feature-headline {
    font-size: 28px;
  }

  .step-label {
    font-size: 10px;
  }
}

.dock-head, .feature-row {
  margin-top: 0;
}

.step-time {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.35);
  font-size: 10px;
}

/* ── Reviews marquee ──────────────────────────────────────────── */
.reviews-marquee {
  overflow: hidden;
  position: relative;
  width: 90vw;                  /* ← 90% van de viewport, niet van de section */
  left: 50%;                    /* ← positie op section center */
  transform: translateX(-50%);  /* ← center op viewport */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.reviews-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: reviews-scroll 80s linear infinite;
}

/* Pauze bij muis hover én bij keyboard focus */
.reviews-marquee:hover .reviews-track,
.reviews-marquee:focus-within .reviews-track {
  animation-play-state: paused;
}

@keyframes reviews-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .reviews-track { animation-duration: 120s; }
  .review { width: 280px; }
}

@media (prefers-reduced-motion: reduce) {
  .reviews-track { animation: none; }
}