/* ═══════════════ APEX PULSE — marketing site ═══════════════ */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg:         #0a0a0a;
  --bg-2:       #0d0a0a;
  --panel:      #141414;
  --panel-red:  #1a1010;
  --coral:      #ff4d4d;
  --coral-hi:   #ff6b6b;
  --amber:      #d4a574;
  --rose:       #ff8e8e;
  --green:      #3fdc88;
  --text:       #e8e8e8;
  --dim:        #6a6a6a;
  --dim-2:      #8a8a8a;
  --border:     #2a1a1a;
  --border-hi:  #3a2424;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img, svg { max-width: 100%; display: block; }

/* ───── tokens ───── */
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }
.num  { font-variant-numeric: tabular-nums; }

.label-sm { color: var(--dim); text-transform: uppercase; letter-spacing: 0.18em; font-size: 10px; font-weight: 700; }
.label    { color: var(--dim); text-transform: uppercase; letter-spacing: 0.14em; font-size: 11px; font-weight: 700; }

.coral { color: var(--coral-hi); }
.amber { color: var(--amber); }
.green { color: var(--green); }
.red   { color: var(--coral, #ff6b6b); }
.dim   { color: var(--dim); }

.glow      { text-shadow: 0 0 14px rgba(255,107,107,0.6), 0 0 36px rgba(255,77,77,0.35); }
.glow-soft { text-shadow: 0 0 10px rgba(255,107,107,0.45); }

.gradient-text {
  background: linear-gradient(135deg, #ff8e8e 0%, var(--coral-hi) 40%, var(--amber) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ───── containers ───── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container-tight { max-width: 940px; margin: 0 auto; padding: 0 24px; }

section { position: relative; padding: 100px 0; }
section.tight { padding: 64px 0; }
@media (max-width: 720px) { section { padding: 64px 0; } }

/* ───── chips & tags ───── */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,77,77,0.08);
  border: 1px solid rgba(255,77,77,0.22);
  border-radius: 999px; padding: 6px 14px;
  color: var(--coral-hi); font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase;
}
.chip-dot { width: 6px; height: 6px; background: var(--coral); border-radius: 50%; box-shadow: 0 0 8px rgba(255,77,77,0.7); animation: pulseRed 1.6s infinite; }
.chip-amber { background: rgba(212,165,116,0.08); border-color: rgba(212,165,116,0.25); color: var(--amber); }
.chip-green { background: rgba(63,220,136,0.08); border-color: rgba(63,220,136,0.25); color: var(--green); }
.chip-ghost { background: rgba(255,255,255,0.02); border-color: var(--border); color: var(--dim); }

/* ───── buttons ───── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid transparent; transition: transform .15s, filter .15s, border-color .15s, background .15s, color .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg, var(--coral) 0%, var(--amber) 100%);
  color: #0a0a0a;
  box-shadow: 0 8px 28px rgba(255,77,77,0.25);
}
.btn-primary:hover { filter: brightness(1.08); box-shadow: 0 10px 36px rgba(255,77,77,0.4); }
.btn-ghost {
  background: transparent; color: var(--text);
  border-color: var(--border-hi);
}
.btn-ghost:hover { color: var(--coral-hi); border-color: var(--coral-hi); background: rgba(255,77,77,0.06); }
.btn-sm { padding: 9px 16px; font-size: 11px; }

/* ───── cards / panels ───── */
.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.panel-red {
  background: linear-gradient(140deg, #1a1010 0%, #141010 55%, #141414 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.panel-glow {
  position: relative;
  background: linear-gradient(180deg, rgba(255,77,77,0.04) 0%, rgba(20,20,20,0) 60%), var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.panel-glow::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(255,77,77,0.06), transparent 40%);
  pointer-events: none; opacity: 0; transition: opacity .25s;
}
.panel-glow:hover::before { opacity: 1; }

/* ───── ticker (scrolling signals) ───── */
.ticker-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #0d0a0a, var(--bg));
  overflow: hidden;
  position: relative;
}
.ticker-wrap::before, .ticker-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.ticker-wrap::before { left: 0;  background: linear-gradient(90deg, var(--bg), transparent); }
.ticker-wrap::after  { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.ticker {
  display: inline-flex; gap: 36px;
  padding: 12px 0;
  white-space: nowrap;
  animation: tickerSlide 60s linear infinite;
  will-change: transform;
}
/* Pause the marquee on hover/focus so a user can read a row, and whenever
   the tab is hidden (the client adds .paused) to save CPU. */
.ticker-wrap:hover .ticker,
.ticker-wrap:focus-within .ticker,
.ticker-wrap.paused .ticker { animation-play-state: paused; }

/* Feed gone quiet → desaturate the whole rail so it reads as "stale". */
.ticker-wrap.stale { opacity: 0.55; filter: saturate(0.6); transition: opacity .4s ease, filter .4s ease; }

.ticker-item { display: inline-flex; align-items: center; gap: 8px; font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; }
.ticker-item .sym { color: var(--text); }
.ticker-item .kind {
  font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--dim);
  padding: 2px 8px; border-radius: 999px;
  border: 1px solid var(--border);
}
/* Price: tabular figures so digit changes never shift width (no jitter as
   the marquee scrolls). transition smooths the flash recolor. */
.ticker-item .price {
  color: var(--text);
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
  transition: color .25s ease;
}
.ticker-item .pct { font-variant-numeric: tabular-nums; font-size: 11px; opacity: .9; }
.ticker-item .pct:empty { display: none; }
.ticker-item .pct.up { color: var(--green); }
.ticker-item .pct.dn { color: var(--coral-hi); }
.ticker-item .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--dim); box-shadow: none;
  transition: background .25s ease, box-shadow .25s ease;
}
.ticker-item .dot.up { background: var(--green); box-shadow: 0 0 6px rgba(63,220,136,0.5); }
.ticker-item .dot.dn { background: var(--coral-hi); box-shadow: 0 0 6px rgba(255,107,107,0.5); }
/* Live rows get a gentle pulsing dot; stops under reduced-motion below. */
.ticker-item.live .dot { animation: tickerPulse 2.4s ease-in-out infinite; }

/* Per-tick flash: client toggles .flash-up / .flash-dn on the price for one
   animation cycle when the value changes. */
.ticker-item .price.flash-up { animation: flashUp .6s ease-out; }
.ticker-item .price.flash-dn { animation: flashDn .6s ease-out; }

@keyframes tickerSlide { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes tickerPulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes flashUp {
  0% { color: var(--green); text-shadow: 0 0 10px rgba(63,220,136,0.55); }
  100% { color: var(--text); text-shadow: none; }
}
@keyframes flashDn {
  0% { color: var(--coral-hi); text-shadow: 0 0 10px rgba(255,107,107,0.55); }
  100% { color: var(--text); text-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker { animation: none; }
  .ticker-item.live .dot { animation: none; }
  .ticker-item .price.flash-up,
  .ticker-item .price.flash-dn { animation: none; }
}

/* ───── nav ───── */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: 68px;
  display: flex; align-items: center;
  padding: 0 24px;
  background: rgba(10,10,10,0.7);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid rgba(42,26,26,0.6);
}
.nav-inner { width: 100%; max-width: 1240px; margin: 0 auto; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 8px;
  background: linear-gradient(135deg, var(--coral), var(--amber));
  display: flex; align-items: center; justify-content: center;
  position: relative;
  animation: logoPulse 2.4s ease-in-out infinite;
  box-shadow: 0 0 18px rgba(255,77,77,0.25);
}
.brand-mark::before, .brand-mark::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  border: 1.5px solid var(--coral-hi); opacity: 0;
  animation: logoRing 2.4s ease-out infinite; pointer-events: none;
}
.brand-mark::after { animation-delay: 1.2s; }
.brand-mark svg { width: 20px; height: 20px; position: relative; z-index: 1; animation: logoIcon 2.4s ease-in-out infinite; }
.brand-text { line-height: 1.05; }
.brand-name { font-size: 13px; font-weight: 800; letter-spacing: 0.22em; }
.brand-sub  { font-size: 9px; font-weight: 700; letter-spacing: 0.22em; color: var(--dim); margin-top: 2px; }

.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-link {
  padding: 8px 14px; border-radius: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--dim-2);
  transition: color .15s, background .15s;
}
.nav-link:hover { color: var(--text); background: rgba(255,77,77,0.05); }
.nav-link.active { color: var(--coral-hi); }
.nav-cta { margin-left: 12px; }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--border-hi); border-radius: 8px; padding: 8px 10px; color: var(--text); margin-left: auto; }

@keyframes logoPulse {
  0%, 100% { box-shadow: 0 0 14px rgba(255,77,77,0.22); transform: scale(1); }
  50%      { box-shadow: 0 0 26px rgba(255,77,77,0.55); transform: scale(1.05); }
}
@keyframes logoRing {
  0%   { opacity: 0.6; transform: scale(1);   }
  80%  { opacity: 0;   transform: scale(1.55);}
  100% { opacity: 0;   transform: scale(1.55);}
}
@keyframes logoIcon {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}
@keyframes pulseRed {
  0%,100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,77,77,0.65); }
  50%     { transform: scale(1.15); box-shadow: 0 0 0 7px rgba(255,77,77,0); }
}

/* ───── hero ───── */
.hero { padding: 96px 0 72px; position: relative; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
}
.hero-eyebrow { margin-bottom: 22px; }
.hero h1 {
  font-size: clamp(40px, 6.4vw, 76px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
}
.hero p.lede {
  font-size: 18px; line-height: 1.6; color: var(--dim-2);
  max-width: 540px; margin: 0 0 36px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-mini { margin-top: 30px; display: flex; gap: 22px; flex-wrap: wrap; color: var(--dim); font-size: 12px; }
.hero-mini b { color: var(--text); font-weight: 700; }

.hero-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(800px 400px at 80% 20%, rgba(255,77,77,0.10), transparent 60%),
    radial-gradient(900px 500px at 10% 90%, rgba(212,165,116,0.06), transparent 60%);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,77,77,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,77,77,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
}

/* ───── live signal card (hero right) ───── */
.signal-card {
  position: relative;
  border-radius: 16px;
  background: linear-gradient(160deg, #1a1010 0%, #141010 55%, #141414 100%);
  border: 1px solid var(--border-hi);
  padding: 22px 22px 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,77,77,0.03);
  overflow: hidden;
}
.signal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.signal-meta { display: flex; align-items: center; gap: 10px; }
.signal-sym  { font-family: 'JetBrains Mono', monospace; font-size: 14px; font-weight: 800; letter-spacing: 0.1em; }
.signal-tf   { color: var(--dim); font-size: 10px; letter-spacing: 0.18em; font-weight: 700; }
.signal-side {
  font-size: 10px; font-weight: 800; letter-spacing: 0.18em;
  padding: 4px 10px; border-radius: 999px; border: 1px solid;
}
/* Direction tags use amber (not green/red). Green is reserved for WON,
   coral for LOSS — using them here too made every winning short trade
   read as red-on-red and every winning long as green-on-green. Direction
   is communicated by the ▲/▼ arrow + the LONG/SHORT label. */
.signal-side.long,
.signal-side.short {
  color: var(--amber);
  border-color: rgba(212, 165, 116, 0.30);
  background: rgba(212, 165, 116, 0.08);
}
.signal-chart { height: 180px; margin: 4px -22px 14px; padding: 0 12px; position: relative; }
.signal-rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.signal-rows .row { padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,0.02); border: 1px solid var(--border); }
.signal-rows .k { font-size: 9px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.signal-rows .v { font-family: 'JetBrains Mono', monospace; font-size: 16px; font-weight: 700; margin-top: 4px; }
.signal-foot { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 11px; color: var(--dim); }
.signal-foot .live { display: inline-flex; align-items: center; gap: 8px; color: var(--coral-hi); font-weight: 800; letter-spacing: 0.16em; }

.signal-card::after {
  content: ''; position: absolute; inset: -1px; border-radius: inherit;
  background: linear-gradient(120deg, rgba(255,77,77,0.4), transparent 35%, transparent 65%, rgba(212,165,116,0.4));
  -webkit-mask: linear-gradient(#fff,#fff) content-box, linear-gradient(#fff,#fff);
          mask: linear-gradient(#fff,#fff) content-box, linear-gradient(#fff,#fff);
  -webkit-mask-composite: xor; mask-composite: exclude;
  padding: 1px; pointer-events: none; opacity: 0.4;
}

/* ───── stats strip ───── */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
}
.stats .cell {
  background: var(--panel-red); padding: 24px 22px;
  background: linear-gradient(140deg, #1a1010 0%, #141010 55%, #141414 100%);
}
.stats .cell .k { font-size: 10px; font-weight: 700; letter-spacing: 0.18em; color: var(--dim); text-transform: uppercase; }
.stats .cell .v { font-family: 'JetBrains Mono', monospace; font-size: 32px; font-weight: 800; margin-top: 8px; letter-spacing: -0.01em; }
.stats .cell .v small { font-size: 14px; color: var(--dim); margin-left: 4px; font-weight: 600; }
.stats .cell .h { font-size: 11px; color: var(--dim-2); margin-top: 4px; }

/* ───── section heads ───── */
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 44px); font-weight: 800;
  letter-spacing: -0.015em; line-height: 1.1; margin: 16px 0 14px;
}
.section-head p { color: var(--dim-2); font-size: 15px; line-height: 1.6; max-width: 620px; margin: 0 auto; }

/* ───── feature grid ───── */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  position: relative; padding: 28px 24px;
  border: 1px solid var(--border); border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,77,77,0.025) 0%, transparent 60%), var(--panel);
  transition: border-color .2s, transform .2s;
}
.feature-card:hover { border-color: var(--border-hi); transform: translateY(-2px); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(255,77,77,0.15), rgba(212,165,116,0.10));
  border: 1px solid var(--border-hi);
  display: flex; align-items: center; justify-content: center;
  color: var(--coral-hi);
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; letter-spacing: -0.005em; }
.feature-card p  { color: var(--dim-2); font-size: 13.5px; line-height: 1.6; margin: 0; }

/* ───── flow steps ───── */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: flow; }
.flow .step {
  position: relative; padding: 28px 24px;
  border: 1px solid var(--border); border-radius: 16px;
  background: var(--panel);
}
.flow .step::before {
  counter-increment: flow;
  content: counter(flow, decimal-leading-zero);
  position: absolute; top: 18px; right: 22px;
  font-family: 'JetBrains Mono', monospace; font-size: 32px; font-weight: 800;
  color: rgba(255,107,107,0.10); letter-spacing: -0.02em;
}
.flow .step h3 { font-size: 15px; margin: 8px 0 8px; font-weight: 700; }
.flow .step p  { color: var(--dim-2); font-size: 13px; line-height: 1.6; margin: 0; }

/* ───── feed sample ───── */
.feed { position: relative; display: flex; flex-direction: column; gap: 8px; max-width: 920px; margin: 0 auto; }
.feed-illustrative-tag {
  position: absolute; top: -14px; right: 8px;
  font-size: 9px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--dim); background: var(--bg);
  padding: 4px 10px; border: 1px solid var(--border); border-radius: 6px;
}
.feed-row {
  display: grid; grid-template-columns: 90px 70px 1fr auto;
  align-items: center; gap: 14px;
  padding: 14px 18px;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--panel);
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
}
.feed-row:hover { border-color: var(--border-hi); }
.feed-row .sym { font-weight: 800; letter-spacing: 0.06em; }
.feed-row .tag { font-size: 10px; padding: 3px 8px; border-radius: 999px; border: 1px solid; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; text-align: center; }
/* See note on .signal-side — directions don't use red/green. */
.feed-row .tag.long,
.feed-row .tag.short {
  color: var(--amber);
  background: rgba(212, 165, 116, 0.06);
  border-color: rgba(212, 165, 116, 0.30);
}
.feed-row .desc { color: var(--dim-2); font-family: 'Inter', sans-serif; font-size: 13px; }
.feed-row .pnl { font-weight: 800; font-size: 13px; }
.feed-row .pnl.up { color: var(--green); }
.feed-row .pnl.dn { color: var(--coral-hi); }

/* ───── pricing ───── */
.price-toggle { display: inline-flex; gap: 6px; padding: 6px; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 36px; }
.price-toggle button {
  padding: 8px 18px; border-radius: 8px; background: transparent; color: var(--dim-2);
  border: 0; font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
}
.price-toggle button.active { background: rgba(255,77,77,0.12); color: var(--coral-hi); }
.price-toggle .save { display: inline-block; font-size: 9px; padding: 2px 6px; margin-left: 6px; border-radius: 4px; background: rgba(63,220,136,0.12); color: var(--green); }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card {
  position: relative;
  padding: 32px 28px 28px;
  border: 1px solid var(--border); border-radius: 18px;
  background: var(--panel);
  display: flex; flex-direction: column;
  transition: border-color .2s, transform .2s;
}
.price-card:hover { border-color: var(--border-hi); }
.price-card.featured {
  background: linear-gradient(180deg, rgba(255,77,77,0.08) 0%, var(--panel-red) 50%, var(--panel) 100%);
  border-color: rgba(255,77,77,0.35);
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(255,77,77,0.12);
}
.price-card.featured:hover { transform: translateY(-8px); }
.price-card .badge {
  position: absolute; top: -12px; left: 28px;
  background: linear-gradient(135deg, var(--coral), var(--amber));
  color: #0a0a0a; font-size: 9px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 6px;
}
.price-card .tier { font-size: 11px; font-weight: 800; letter-spacing: 0.22em; color: var(--dim); text-transform: uppercase; }
.price-card .cost { display: flex; align-items: baseline; gap: 4px; margin: 14px 0 4px; }
.price-card .cost .amt   { font-family: 'JetBrains Mono', monospace; font-size: 48px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.price-card .cost .per   { color: var(--dim); font-size: 12px; font-weight: 600; }
.price-card .cost .strike { color: var(--dim); font-size: 14px; text-decoration: line-through; margin-left: 8px; font-weight: 600; }
.price-card .summary { color: var(--dim-2); font-size: 13.5px; line-height: 1.6; margin: 6px 0 22px; }
.price-card ul { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.price-card li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.5; color: var(--text); }
.price-card li svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 3px; color: var(--coral-hi); }
.price-card li.muted { color: var(--dim); }
.price-card li.muted svg { color: var(--dim); }
.ic-check, .ic-dash { width: 14px; height: 14px; flex-shrink: 0; }
.ic-check { color: var(--coral-hi); }
.ic-dash  { color: var(--dim); }
.price-card .btn { width: 100%; }

/* ───── compare table ───── */
.compare {
  margin-top: 64px; border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; background: var(--panel);
}
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 14px 18px; text-align: left; font-size: 13px; }
.compare thead th { background: #181010; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; font-size: 11px; color: var(--dim); border-bottom: 1px solid var(--border); }
.compare tbody tr { border-bottom: 1px solid rgba(42,26,26,0.5); }
.compare tbody tr:last-child { border-bottom: 0; }
.compare th.tier { color: var(--coral-hi); }
.compare td.center { text-align: center; }
.compare .check { color: var(--coral-hi); }
.compare .nope  { color: var(--dim); }
.compare .ic-cmp { width: 16px; height: 16px; display: inline-block; vertical-align: middle; }
.compare .ic-cmp-yes { color: var(--coral-hi); }
.compare .ic-cmp-no  { color: var(--dim); opacity: 0.6; }

/* ───── faq ───── */
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 820px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border); border-radius: 12px; background: var(--panel);
  padding: 0 22px;
  transition: border-color .2s;
}
.faq-item:hover { border-color: var(--border-hi); }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 18px 0; font-size: 15px; font-weight: 600;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-family: 'JetBrains Mono', monospace; font-weight: 800; color: var(--coral-hi); font-size: 22px; transition: transform .2s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item .body { padding: 0 0 18px; color: var(--dim-2); font-size: 14px; line-height: 1.7; }

/* ───── testimonials ───── */
.tcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tcard {
  padding: 24px; border: 1px solid var(--border); border-radius: 14px; background: var(--panel);
}
.tcard p.q { font-size: 14.5px; line-height: 1.65; margin: 0 0 18px; color: var(--text); }
.tcard .who { display: flex; align-items: center; gap: 12px; }
.tcard .who .av {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--amber));
  color: #0a0a0a; font-weight: 800; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.tcard .who .nm { font-size: 13px; font-weight: 700; }
.tcard .who .rl { font-size: 11px; color: var(--dim); }

/* ───── cta band ───── */
.cta-band {
  position: relative; overflow: hidden;
  border: 1px solid var(--border); border-radius: 20px;
  background:
    radial-gradient(800px 360px at 80% 20%, rgba(255,77,77,0.18), transparent 60%),
    linear-gradient(140deg, #1a1010 0%, #141010 55%, #141414 100%);
  padding: 56px 48px;
  display: flex; align-items: center; gap: 36px;
}
.cta-band h3 { font-size: clamp(24px, 3.4vw, 36px); font-weight: 800; letter-spacing: -0.015em; margin: 0 0 8px; }
.cta-band p  { color: var(--dim-2); font-size: 15px; margin: 0; max-width: 540px; }
.cta-band .cta-btns { margin-left: auto; display: flex; gap: 12px; flex-shrink: 0; }

/* ───── contact ───── */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: start; }
.contact-card { padding: 30px 28px; }
.contact-channel {
  display: flex; gap: 14px; padding: 18px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--panel-red);
  margin-bottom: 12px; transition: border-color .2s;
}
.contact-channel:hover { border-color: var(--coral-hi); }
.contact-channel .ico { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,77,77,0.08); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--coral-hi); flex-shrink: 0; }
.contact-channel h4 { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 4px; }
.contact-channel p { color: var(--dim-2); font-size: 13px; margin: 0; line-height: 1.5; font-family: 'JetBrains Mono', monospace; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 10px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); }
.field input, .field textarea, .field select {
  background: var(--bg); color: var(--text);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 12px 14px; font-size: 14px; font-family: 'Inter', sans-serif;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--coral-hi);
  box-shadow: 0 0 0 3px rgba(255,77,77,0.10);
}
.field textarea { resize: vertical; min-height: 130px; }

.form-msg { margin-top: 8px; font-size: 12px; min-height: 18px; font-family: 'JetBrains Mono', monospace; }
.form-msg.ok  { color: var(--green); }
.form-msg.err { color: var(--coral-hi); }

/* ───── footer ───── */
.footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
  background: linear-gradient(180deg, transparent, rgba(26,16,16,0.4));
}
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 36px; margin-bottom: 28px; }
.footer-risk {
  font-size: 11px; line-height: 1.7; color: var(--dim);
  border-top: 1px solid var(--border); padding: 18px 0 0;
  margin: 0 0 18px;
}
.footer-risk strong { color: var(--dim-2); letter-spacing: 0.04em; }
.footer-risk a { color: var(--coral-hi); text-decoration: underline; text-underline-offset: 2px; }
.footer-brand { color: var(--dim-2); font-size: 13px; line-height: 1.7; max-width: 320px; }
.footer-col h5 { font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); margin: 0 0 16px; }
.footer-col a { display: block; color: var(--text); font-size: 13px; padding: 4px 0; transition: color .15s; }
.footer-col a:hover { color: var(--coral-hi); }
.footer-bot {
  border-top: 1px solid var(--border); padding-top: 22px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; color: var(--dim); letter-spacing: 0.1em;
}
.footer-bot .legal { display: flex; gap: 20px; }
.footer-bot .legal a:hover { color: var(--coral-hi); }

/* ───── reveal-on-scroll ───── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ───── dashboard ───── */
.dash-hero { padding: 56px 0 28px; position: relative; overflow: hidden; }
.dash-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(700px 320px at 80% 0%, rgba(255,77,77,0.08), transparent 60%);
}
.dash-hero-row {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-bottom: 22px;
}
.dash-greeting {
  font-size: clamp(22px, 3.2vw, 32px); font-weight: 800;
  letter-spacing: -0.015em; line-height: 1.2; margin: 8px 0 0;
}
.dash-greeting .dim { font-weight: 600; }
.dash-user { color: var(--coral-hi); }

.dash-plan-pill {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 8px 8px 8px 16px;
  border: 1px solid var(--border-hi); border-radius: 999px;
  background: var(--panel);
}
.dash-plan-name {
  font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--coral-hi);
}
.dash-plan-price { font-family: 'JetBrains Mono', monospace; font-size: 14px; font-weight: 800; }
.dash-plan-price .dim { font-weight: 600; font-size: 12px; }

.dash-demo-notice {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 10px;
  background: rgba(212,165,116,0.06); border: 1px solid rgba(212,165,116,0.25);
  color: var(--amber); font-size: 12px;
}

.dash-grid {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start;
}
.dash-side { display: flex; flex-direction: column; gap: 24px; }

.dash-panel {
  border: 1px solid var(--border); border-radius: 16px;
  background: var(--panel);
  padding: 24px 24px 18px;
}
.dash-panel-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  margin-bottom: 18px;
}
.dash-panel-title {
  font-size: 17px; font-weight: 800; letter-spacing: -0.01em;
  margin: 6px 0 0;
}
.dash-panel-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border);
  font-size: 12px;
}
.dash-panel-foot a { color: var(--coral-hi); text-decoration: none; }

.dash-stream-tabs {
  display: inline-flex; padding: 4px; gap: 2px;
  background: var(--bg); border: 1px solid var(--border); border-radius: 10px;
}
.dash-stream-tabs button {
  padding: 6px 12px; border-radius: 7px;
  background: transparent; border: 0; color: var(--dim-2);
  font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
}
.dash-stream-tabs button.active { background: rgba(255,77,77,0.12); color: var(--coral-hi); }

.dash-stream { display: flex; flex-direction: column; gap: 8px; }
.dash-stream-row {
  display: grid; grid-template-columns: 80px 70px 60px 1fr auto;
  align-items: center; gap: 14px;
  padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--bg);
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  transition: border-color .15s;
}
.dash-stream-row:hover { border-color: var(--border-hi); }
.dash-stream-row .sym { font-weight: 800; letter-spacing: 0.06em; }
.dash-stream-row .tag {
  font-size: 10px; padding: 3px 8px; border-radius: 999px;
  border: 1px solid; font-weight: 800; letter-spacing: 0.1em; text-align: center;
}
/* See note on .signal-side — directions don't use red/green. */
.dash-stream-row .tag.long,
.dash-stream-row .tag.short {
  color: var(--amber);
  background: rgba(212, 165, 116, 0.06);
  border-color: rgba(212, 165, 116, 0.30);
}
.dash-stream-row .desc { font-family: 'Inter', sans-serif; font-size: 12.5px; color: var(--dim-2); }
.dash-stream-row .extra { color: var(--text); font-weight: 700; font-size: 12px; }

.dash-state {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 9px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
}
.dash-state .dot { width: 6px; height: 6px; border-radius: 50%; }
.dash-state.live   { color: var(--coral-hi); }
.dash-state.live   .dot { background: var(--coral); animation: pulseRed 1.6s infinite; }
.dash-state.closed { color: var(--dim); }
.dash-state.closed .dot { background: var(--dim); }

.dash-channels { display: flex; flex-direction: column; gap: 10px; }
.dash-channel {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--bg);
}
.dash-channel-name { font-size: 13px; font-weight: 700; }
.dash-channel-value { font-size: 11.5px; margin-top: 2px; }
.dash-channel-action { display: flex; align-items: center; gap: 10px; }
.dash-channel-status {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--dim); border: 1px solid var(--border-hi);
}
.dash-channel-status.on { background: var(--green); border-color: var(--green); box-shadow: 0 0 8px rgba(63,220,136,0.4); }

.chip-ghost-mini {
  display: inline-block; font-size: 9px; font-weight: 800; letter-spacing: 0.18em;
  padding: 1px 6px; margin-left: 4px;
  border-radius: 4px; border: 1px solid rgba(212,165,116,0.4);
  color: var(--amber); background: rgba(212,165,116,0.06);
  text-transform: uppercase; vertical-align: middle;
}

.dash-actions { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.dash-actions li { border-bottom: 1px solid var(--border); }
.dash-actions li:last-child { border-bottom: 0; }
.dash-actions a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; font-size: 13.5px; color: var(--text);
  text-decoration: none;
}
.dash-actions a::after { content: '→'; color: var(--dim); font-family: 'JetBrains Mono', monospace; }
.dash-actions a:hover { color: var(--coral-hi); }
.dash-actions a:hover::after { color: var(--coral-hi); }
.dash-actions a.danger { color: var(--coral-hi); opacity: 0.85; }

@media (max-width: 980px) {
  .dash-grid { grid-template-columns: 1fr; }
  .dash-hero-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  .dash-stream-row { grid-template-columns: 60px 60px 50px 1fr; }
  .dash-stream-row .extra { grid-column: 1 / -1; padding-top: 4px; border-top: 1px dashed var(--border); }
}

/* ───── legal documents (terms / privacy / risk / cookies / refund) ───── */
.legal-doc { max-width: 760px; margin: 0 auto; }
.legal-doc h2 {
  font-size: 22px; font-weight: 800; letter-spacing: -0.01em;
  margin: 56px 0 14px; padding-top: 8px;
  scroll-margin-top: 90px;
}
.legal-doc h2:first-of-type { margin-top: 0; }
.legal-doc p, .legal-doc li {
  color: var(--text); font-size: 15px; line-height: 1.75;
}
.legal-doc p { margin: 0 0 14px; }
.legal-doc ul, .legal-doc ol {
  margin: 0 0 14px; padding-left: 22px;
  color: var(--text);
}
.legal-doc ul li, .legal-doc ol li { margin-bottom: 8px; }
.legal-doc a {
  color: var(--coral-hi);
  text-decoration: underline; text-underline-offset: 2px;
  text-decoration-color: rgba(255,107,107,0.4);
}
.legal-doc a:hover { text-decoration-color: var(--coral-hi); }
.legal-doc strong { color: #f4f4f4; font-weight: 700; }
.legal-section { padding: 4px 0; }

.legal-toc {
  margin: 0 0 56px;
  padding: 22px 24px;
  border: 1px solid var(--border); border-radius: 14px;
  background: var(--panel);
}
.legal-toc .label-sm { display: block; margin-bottom: 12px; }
.legal-toc ol {
  list-style: decimal-leading-zero; padding-left: 28px; margin: 0;
  color: var(--dim-2);
  columns: 2; column-gap: 28px;
}
.legal-toc ol li { font-size: 13px; line-height: 1.7; margin: 0; }
.legal-toc a { color: var(--text); text-decoration: none; }
.legal-toc a:hover { color: var(--coral-hi); }

.legal-foot {
  margin-top: 56px; padding: 22px 24px;
  border: 1px solid var(--border); border-radius: 14px;
  background: var(--panel-red);
}
.legal-related {
  margin-top: 36px; padding-top: 28px;
  border-top: 1px solid var(--border);
}
.legal-related .label-sm { display: block; margin-bottom: 14px; }
.legal-related-links { display: flex; flex-wrap: wrap; gap: 10px; }
.legal-related-links a {
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--panel);
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--dim-2); text-decoration: none;
  transition: color .15s, border-color .15s, background .15s;
}
.legal-related-links a:hover {
  color: var(--coral-hi); border-color: var(--coral-hi);
  background: rgba(255,77,77,0.06);
}

@media (max-width: 720px) {
  .legal-toc ol { columns: 1; }
}

/* ───── checkout / cart ───── */
.checkout-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
.plan-pick { display: grid; gap: 10px; }
.plan-pick label {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid var(--border); border-radius: 12px;
  background: var(--panel);
  cursor: pointer;
  transition: border-color .15s, background .15s, transform .15s;
}
.plan-pick label:hover { border-color: var(--border-hi); }
.plan-pick label.selected {
  border-color: rgba(255,77,77,0.45);
  background: linear-gradient(180deg, rgba(255,77,77,0.06) 0%, var(--panel) 70%);
}
.plan-pick input[type="radio"] { accent-color: var(--coral); margin-top: 4px; flex-shrink: 0; }

.cart-line {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--border);
}
.cart-line:last-of-type { border-bottom: 0; }
.cart-total { font-family: 'JetBrains Mono', monospace; font-weight: 800; font-size: 18px; }
.cart-total.green { color: var(--green); }

/* ───── accessibility ───── */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--coral); color: #0a0a0a; padding: 10px 16px;
  font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; font-size: 12px;
  z-index: 1000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--coral-hi); outline-offset: 2px; }

/* ───── responsive ───── */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .flow, .price-grid, .tcards, .contact-grid, .checkout-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-2px); }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
  .cta-band .cta-btns { margin-left: 0; }
  .compare { overflow-x: auto; }
  .compare table { min-width: 640px; }
  .footer-bot { flex-direction: column; gap: 14px; align-items: flex-start; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open .nav-links { display: flex; flex-direction: column; gap: 6px; position: absolute; top: 68px; left: 0; right: 0; background: rgba(10,10,10,0.96); backdrop-filter: blur(14px); padding: 14px 24px; border-bottom: 1px solid var(--border); }
  .feed-row { grid-template-columns: 70px 60px 1fr auto; }
  .feed-row .desc { font-size: 11px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bot { flex-direction: column; gap: 10px; align-items: flex-start; }
}

/* ─────────────────────────────────────────────────────────────────────
   Payment method tiles (checkout) — replaces a <select> with one big
   tap-target per method. Selected uses the brand coral accent.
   ───────────────────────────────────────────────────────────────────── */
.pay-methods { display: grid; gap: 10px; }
.pay-method {
  text-align: left;
  padding: 14px 16px; border-radius: 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
  position: relative;
}
.pay-method:hover { border-color: var(--border-hi); background: rgba(255,255,255,0.035); }
.pay-method.selected {
  border-color: var(--coral-hi);
  background: linear-gradient(180deg, rgba(255,77,77,0.06), rgba(255,77,77,0.02));
  box-shadow: 0 0 0 2px rgba(255,77,77,0.18) inset;
}
.pay-method.disabled, .pay-method[disabled] { opacity: 0.45; cursor: not-allowed; }
.pay-method.disabled:hover { border-color: var(--border); background: rgba(255,255,255,0.02); }
.pm-head { display: flex; align-items: center; gap: 10px; }
.pm-ic { width: 18px; height: 18px; flex-shrink: 0; color: var(--coral-hi); }
.pay-method.disabled .pm-ic { color: var(--dim); }
.pm-title { font-size: 14px; font-weight: 800; letter-spacing: -0.005em; flex: 1; }
.pm-badge {
  font-size: 10px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px;
  color: var(--green); background: rgba(63,220,136,0.10); border: 1px solid rgba(63,220,136,0.30);
}
.pm-badge.ghost {
  color: var(--dim-2); background: rgba(255,255,255,0.03); border-color: var(--border-hi);
}
.pm-sub { font-size: 12px; color: var(--dim-2); margin: 6px 0 0 28px; line-height: 1.45; }
.pm-note { color: var(--dim-2); }

/* ─────────────────────────────────────────────────────────────────────
   Guest delay banner (top of any guest page)
   ───────────────────────────────────────────────────────────────────── */
.delay-banner {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 22px; font-size: 13px; line-height: 1.5;
  background: rgba(212, 165, 116, 0.07);
  border-bottom: 1px solid rgba(212, 165, 116, 0.18);
  color: #d4c2a5;
}
.delay-banner-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #d4a574; box-shadow: 0 0 8px rgba(212,165,116,0.6);
  flex-shrink: 0;
}
.delay-banner a { color: var(--coral, #ff6b6b); text-decoration: none; }
.delay-banner a:hover { text-decoration: underline; }

/* ─────────────────────────────────────────────────────────────────────
   Signal-card outcome badge (LIVE / WON / LOSS / BREAK-EVEN / CANCELLED)
   ─────────────────────────────────────────────────────────────────────
   Matches the `.chip` / `.signal-side` language used everywhere else on
   the site: tinted background, tinted border, bright text in the same
   hue. Only LIVE gets a dot (and only LIVE animates). The rest are
   static — settled outcomes shouldn't suggest motion. */
.signal-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; letter-spacing: 0.16em; font-size: 11px;
  padding: 4px 12px; border-radius: 999px;
  text-transform: uppercase;
  border: 1px solid transparent;
}
.signal-badge .chip-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }

/* LIVE — open trade. Coral tint + pulsing dot. Brand colour exactly. */
.signal-badge.live {
  color: var(--coral-hi);
  background: rgba(255, 77, 77, 0.10);
  border-color: rgba(255, 77, 77, 0.30);
}
.signal-badge.live .chip-dot {
  background: var(--coral);
  box-shadow: 0 0 8px rgba(255, 77, 77, 0.7);
  animation: dotpulse 1.6s ease-in-out infinite;
}

/* Closed outcomes — no dot, no animation. The chip-dot is removed from
   the layout (display: none) so the global .chip-dot pulse rule has
   nothing to animate. */
.signal-badge.won      .chip-dot,
.signal-badge.lost     .chip-dot,
.signal-badge.breakeven .chip-dot,
.signal-badge.cancelled .chip-dot {
  display: none;
}
.signal-badge.won,
.signal-badge.lost,
.signal-badge.breakeven,
.signal-badge.cancelled {
  gap: 0;
}

/* WON — green tint, green border, green text. Uses --green. */
.signal-badge.won {
  color: var(--green);
  background: rgba(63, 220, 136, 0.10);
  border-color: rgba(63, 220, 136, 0.30);
}

/* LOSS — coral tint (same family as LIVE since red is the brand colour).
   Differentiated from LIVE by the missing pulsing dot. */
.signal-badge.lost {
  color: var(--coral-hi);
  background: rgba(255, 77, 77, 0.10);
  border-color: rgba(255, 77, 77, 0.30);
}

/* BREAK-EVEN — amber tint. Uses --amber, the brand's warm-gold accent. */
.signal-badge.breakeven {
  color: var(--amber);
  background: rgba(212, 165, 116, 0.10);
  border-color: rgba(212, 165, 116, 0.30);
}

/* CANCELLED — neutral dim. */
.signal-badge.cancelled {
  color: var(--dim-2);
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

/* PENDING / awaiting — amber, static. */
.signal-badge.pending {
  color: var(--amber);
  background: rgba(212, 165, 116, 0.10);
  border-color: rgba(212, 165, 116, 0.30);
}
.signal-badge.pending .chip-dot {
  background: var(--amber);
  box-shadow: none;
  animation: none;
}

@keyframes dotpulse {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%      { transform: scale(1.4); opacity: 0.6; }
}

/* ─────────────────────────────────────────────────────────────────────
   Forms (login / signup / checkout payment / contact / account)
   ───────────────────────────────────────────────────────────────────── */
.input, select.input, textarea.input {
  width: 100%;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 14px;
  font: inherit;
  font-size: 14px;
  color: var(--text, #f4f4f4);
  outline: none;
  transition: border-color .15s ease, background .15s ease;
}
.input:focus, select.input:focus, textarea.input:focus {
  border-color: var(--coral, #ff6b6b);
  background: rgba(255,255,255,0.04);
}
.input::placeholder { color: rgba(255,255,255,0.3); }
textarea.input { resize: vertical; min-height: 110px; }

/* ── Country combobox (custom, so real SVG flags render on every OS) ───── */
.cc-select { position: relative; }
.select-caret {
  font-size: 11px; color: var(--dim);
  pointer-events: none; transition: color .15s ease, transform .15s ease;
}
.cc-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; text-align: left; cursor: pointer;
}
.cc-trigger:hover { border-color: var(--border-hi); }
.cc-trigger[aria-expanded="true"] { border-color: var(--coral, #ff6b6b); background: rgba(255,255,255,0.04); }
.cc-trigger[aria-expanded="true"] .select-caret { color: var(--coral-hi); transform: rotate(180deg); }
.cc-current { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cc-flag {
  display: inline-block; width: 22px; height: 16px; flex: none;
  border-radius: 2px; object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08); background: rgba(255,255,255,0.04);
}
.cc-current-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.cc-current-label.dim { color: rgba(255,255,255,0.4); }

.cc-pop {
  position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0;
  background: var(--panel, #141414);
  border: 1px solid var(--border-hi, #3a2424); border-radius: 12px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.55);
  overflow: hidden;
}
.cc-search-wrap { padding: 8px; border-bottom: 1px solid var(--border); }
.cc-search {
  width: 100%; background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: 8px; padding: 9px 12px; font: inherit; font-size: 14px;
  color: var(--text); outline: none;
}
.cc-search:focus { border-color: var(--coral, #ff6b6b); }
.cc-search::placeholder { color: rgba(255,255,255,0.3); }

.cc-list {
  list-style: none; margin: 0; padding: 6px;
  max-height: 280px; overflow-y: auto; overscroll-behavior: contain;
}
.cc-list::-webkit-scrollbar { width: 10px; }
.cc-list::-webkit-scrollbar-thumb { background: var(--border-hi); border-radius: 8px; border: 3px solid var(--panel); }
.cc-opt {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 12px; border-radius: 8px; cursor: pointer;
  color: var(--text); font-size: 14px; line-height: 1;
}
.cc-opt[hidden] { display: none; }
.cc-opt:hover,
.cc-opt.active { background: rgba(255,77,77,0.10); }
.cc-opt[aria-selected="true"] { color: var(--coral-hi); }
.cc-opt[aria-selected="true"]::after { content: "✓"; margin-left: auto; font-size: 12px; color: var(--coral-hi); }
.cc-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-empty { padding: 18px 12px; text-align: center; color: var(--dim); font-size: 13px; }

.login-err {
  background: rgba(255,107,107,0.08);
  border: 1px solid rgba(255,107,107,0.3);
  color: #ff8f8f;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
}

.alert-ok {
  background: rgba(63,220,136,0.08);
  border: 1px solid rgba(63,220,136,0.3);
  color: #6be0a0;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  margin-top: 14px;
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

/* Payment list (dashboard + account) */
.pay-list { display: flex; flex-direction: column; gap: 8px; }
.pay-row {
  display: grid;
  grid-template-columns: 100px 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 13px;
}
.pay-row .pay-amt { font-weight: 800; font-variant-numeric: tabular-nums; }
.pay-row .pay-status {
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  font-weight: 700;
}
.pay-status.paid     { background: rgba(63,220,136,0.12); color: #6be0a0; }
.pay-status.pending  { background: rgba(212,165,116,0.12); color: #e4c089; }
.pay-status.failed   { background: rgba(255,107,107,0.12); color: #ff8f8f; }
.pay-status.refunded { background: rgba(120,160,255,0.12); color: #9bb6ff; }
.pay-status.cancelled{ background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.55); }

@media (max-width: 600px) {
  .pay-row { grid-template-columns: 80px 1fr auto; }
  .pay-row .pay-date { display: none; }
}

/* ───── hero cursor interaction (spotlight + signal-card 3D tilt + red Stop glow) ───── */
.hero { --hmx: 50%; --hmy: 30%; }
.hero .container { position: relative; z-index: 1; }
.hero-spotlight {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(480px 340px at var(--hmx) var(--hmy), rgba(255,107,107,.16), transparent 60%);
  opacity: 0; transition: opacity .6s ease;
}
.hero.is-live .hero-spotlight { opacity: 1; }

/* gentle 3D tilt on the signal card as the cursor moves over it */
.hero .reveal { perspective: 1000px; }
.hero .signal-card {
  position: relative; overflow: hidden;
  transform: rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg));
  transform-style: preserve-3d;
  transition: transform .25s ease, box-shadow .25s ease;
  will-change: transform;
}
.hero .signal-card:hover {
  box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,107,107,.18);
}
/* glossy sheen that follows the pointer across the card */
.hero .signal-card .card-sheen {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(240px 240px at var(--cx, 70%) var(--cy, 0%), rgba(255,255,255,.10), transparent 60%);
  opacity: 0; transition: opacity .35s ease;
}
.hero .signal-card:hover .card-sheen { opacity: 1; }

/* the single red part — the Stop value — glows beautifully under the cursor */
.hero .signal-rows .row .v[style*="ff6b6b"] {
  transition: text-shadow .3s ease, transform .25s ease;
}
.hero .signal-card:hover .signal-rows .row .v[style*="ff6b6b"] {
  text-shadow: 0 0 16px rgba(255,107,107,.7), 0 0 4px rgba(255,107,107,.5);
  transform: translateX(1px) scale(1.03);
}

@media (prefers-reduced-motion: reduce) {
  .hero .signal-card { transition: none; }
  .hero-spotlight { transition: none; }
}

/* ═════════════════════════════════════════════════════════════════════
   Language switcher (EN / فارسی) — small pill group in the nav.
   ═════════════════════════════════════════════════════════════════════ */
.lang-switch {
  display: inline-flex; align-items: center; gap: 4px;
  margin-left: 14px; padding: 4px 8px;
  border: 1px solid var(--border-hi); border-radius: 999px;
  background: rgba(255,255,255,0.02);
}
.lang-link {
  font-size: 11px; font-weight: 800; letter-spacing: 0.06em;
  color: var(--dim-2); padding: 2px 4px; border-radius: 6px;
  transition: color .15s;
}
.lang-link:hover { color: var(--text); }
.lang-link.active { color: var(--coral-hi); }
.lang-sep { color: var(--border-hi); font-size: 11px; }

/* ═════════════════════════════════════════════════════════════════════
   RTL (Persian / فارسی) — overrides applied only when <html dir="rtl">.
   The base sheet uses physical properties; these mirror the few that are
   visually directional. Logical defaults (inputs, text flow) come for free
   from the dir attribute, so only explicit left/right rules need flipping.
   ═════════════════════════════════════════════════════════════════════ */
[dir="rtl"] body {
  font-family: 'Vazirmatn', 'Inter', system-ui, sans-serif;
  letter-spacing: 0;            /* Persian shouldn't track like Latin caps */
}
/* Latin-only fields (email/password/handles) read better left-to-right. */
[dir="rtl"] input[type="email"],
[dir="rtl"] input[type="password"],
[dir="rtl"] input[type="tel"],
[dir="rtl"] input[type="url"] { direction: ltr; text-align: right; }

/* nav: push links to the inline-start (left) edge in RTL */
[dir="rtl"] .nav-links { margin-left: 0; margin-right: auto; }
[dir="rtl"] .nav-cta { margin-left: 0; margin-right: 12px; }
[dir="rtl"] .nav-toggle { margin-left: 0; margin-right: auto; }
[dir="rtl"] .lang-switch { margin-left: 0; margin-right: 14px; }

/* small inline gaps that hang off one side */
[dir="rtl"] .stats .cell .v small { margin-left: 0; margin-right: 4px; }
[dir="rtl"] .price-toggle .save { margin-left: 0; margin-right: 6px; }
[dir="rtl"] .price-card .cost .strike { margin-left: 0; margin-right: 8px; }
[dir="rtl"] .chip-ghost-mini { margin-left: 0; margin-right: 4px; }
[dir="rtl"] .pm-sub { margin: 6px 28px 0 0; }
[dir="rtl"] .cta-band .cta-btns { margin-left: 0; margin-right: auto; }

/* corner-anchored decorations */
[dir="rtl"] .flow .step::before { right: auto; left: 22px; }
[dir="rtl"] .feed-illustrative-tag { right: auto; left: 8px; }
[dir="rtl"] .price-card .badge { left: auto; right: 28px; }
[dir="rtl"] .cc-opt[aria-selected="true"]::after { margin-left: 0; margin-right: auto; }

/* tables + tap-target cards read from the right */
[dir="rtl"] .compare th,
[dir="rtl"] .compare td { text-align: right; }
[dir="rtl"] .compare td.center { text-align: center; }
[dir="rtl"] .pay-method { text-align: right; }
[dir="rtl"] .cc-trigger { text-align: right; }

/* auth/checkout form panels carry an inline `text-align:left` — beat it */
[dir="rtl"] form.panel { text-align: right !important; }

/* directional arrow in the dashboard quick-actions list */
[dir="rtl"] .dash-actions a::after { content: '←'; }

/* skip-link slides in from the inline-start edge */
[dir="rtl"] .skip-link { left: auto; right: -9999px; border-radius: 0 0 0 8px; }
[dir="rtl"] .skip-link:focus { right: 0; left: auto; }

/* legal pages stay English/LTR inside an RTL chrome; the notice sits above */
.legal-lang-note {
  max-width: 760px; margin: 0 auto 18px;
  padding: 10px 16px; border-radius: 10px;
  background: rgba(212,165,116,0.07); border: 1px solid rgba(212,165,116,0.22);
  color: #d4c2a5; font-size: 13px;
}
/* ── Self-hosted image captcha (apexpulse.ir, where Cloudflare Turnstile can't
   load). Server renders an SVG of a Persian-numeral arithmetic challenge; the
   user types the answer. See lib/captcha.js + templates/_shared.js. */
.img-captcha-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.img-captcha-img {
  display: block;
  width: 200px;
  height: 64px;
  border-radius: 12px;
  background: #0f0f12;
  border: 1px solid #26262e;
  user-select: none;
  -webkit-user-select: none;
}
.img-captcha-reload {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line, #26262e);
  background: rgba(255,255,255,0.03);
  color: var(--coral, #ff6b6b);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.img-captcha-reload:hover { background: rgba(255,107,107,0.10); }
.img-captcha-reload:active { transform: rotate(-90deg); }
.img-captcha .input { letter-spacing: 2px; }

/* RTL: the answer field carries an inline max-width; keep it inline-start. */
[dir="rtl"] .img-captcha-img { direction: ltr; }
