:root{
  --bg: #0a0e1a;
  --surface: #121a2e;
  --surface-2: #161f36;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);
  --text: #eef2f8;
  --text-muted: #8b96ab;
  --teal: #2dd8c4;
  --cyan: #4fb8ec;
  --gold: #e8b84b;
  --green: #34d399;
  --green-soft: rgba(52,211,153,0.16);
  --red: #f2777a;
  --red-soft: rgba(242,119,122,0.16);
  --purple: #a78bfa;
  --purple-soft: rgba(167,139,250,0.16);
}
*{ box-sizing: border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.mono{ font-family:'JetBrains Mono', monospace; }
.display{ font-family:'Space Grotesk', sans-serif; }

.bg-glow{
  position: fixed; inset: 0; z-index:0; pointer-events:none;
  background:
    radial-gradient(680px 420px at 12% -6%, rgba(45,216,196,0.14), transparent 60%),
    radial-gradient(600px 400px at 88% 8%, rgba(232,184,75,0.10), transparent 60%),
    radial-gradient(900px 600px at 50% 110%, rgba(79,184,236,0.10), transparent 60%);
}
.wrap{ position:relative; z-index:2; max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* nav */
nav{
  position: sticky; top:0; z-index: 50;
  background: rgba(10,14,26,0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner{
  max-width: 1180px; margin:0 auto; padding: 16px 28px;
  display:flex; align-items:center; justify-content:space-between;
}
.brand{ display:flex; align-items:center; gap:12px; text-decoration:none; color:inherit; }
.brand-mark{
  width:38px; height:38px; border-radius:10px;
  background: linear-gradient(140deg, var(--teal), var(--cyan));
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 0 22px rgba(45,216,196,0.35);
}
.brand-mark svg{ width:20px; height:20px; }
.brand-name{ font-family:'Space Grotesk'; font-weight:700; font-size:18px; letter-spacing:0.2px; }
.brand-sub{ font-size:11.5px; color: var(--text-muted); letter-spacing:0.3px; }
.brand-short{ display:none; }
.nav-actions{ display:flex; align-items:center; gap:20px; }
.nav-actions a{ color: var(--text-muted); text-decoration:none; font-size:14.5px; font-weight:500; transition: color .2s; }
.nav-actions a:hover{ color: var(--text); }

.nav-hamburger{
  display:none; background:none; border:none; color: var(--text);
  cursor:pointer; padding:6px; margin-left:auto;
}
.nav-hamburger svg{ width:24px; height:24px; display:block; }

@media (max-width: 640px){
  .brand-full{ display:none; }
  .brand-short{ display:inline; }
  .brand-sub{ display:none; }

  .nav-hamburger{ display:block; }

  .nav-actions{
    display:none;
    position: absolute; top: 100%; left:0; right:0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 12px 20px 18px; box-shadow: 0 14px 30px rgba(0,0,0,0.35);
  }
  .nav-actions.open{ display:flex; }
  .nav-actions a, .nav-actions span, .nav-actions button{
    width: 100%; padding: 10px 4px; text-align:left;
  }
  .nav-actions .btn-signup{ text-align:center; margin-top:6px; }
}
.btn-signup{
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  color:#06111a; padding:9px 20px; border-radius:9px;
  font-weight:600; font-size:14px; border:none; cursor:pointer;
  transition: transform .15s, box-shadow .15s;
}
.btn-signup:hover{ transform: translateY(-1px); box-shadow: 0 8px 22px rgba(45,216,196,0.28); }

/* hero */
.hero{ padding: 90px 0 56px; text-align:center; }
.badge{
  display:inline-flex; align-items:center; gap:8px;
  background: var(--surface); border:1px solid var(--border-strong);
  padding: 8px 18px; border-radius:999px; font-size:13px; color: var(--text-muted);
  margin-bottom: 34px;
}
.badge .dot{ width:7px; height:7px; border-radius:50%; background: var(--gold); box-shadow:0 0 8px var(--gold); }
h1{
  font-family:'Space Grotesk'; font-weight:700;
  font-size: clamp(34px, 5.4vw, 62px); line-height:1.08; letter-spacing:-0.02em;
}
.grad-text{
  background: linear-gradient(100deg, var(--teal), var(--cyan) 55%, var(--gold));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero p.sub{
  max-width: 640px; margin: 24px auto 0; color: var(--text-muted);
  font-size: 17.5px; line-height:1.6;
}
.hero-ctas{ margin-top: 38px; display:flex; justify-content:center; gap:14px; flex-wrap:wrap; }
.btn-primary{
  background: linear-gradient(135deg, var(--green), #22b98a);
  color:#06170f; font-weight:700; font-size:15.5px;
  padding: 15px 30px; border-radius:11px; border:none; cursor:pointer;
  display:inline-flex; align-items:center; gap:10px; text-decoration:none;
  box-shadow: 0 10px 30px rgba(52,211,153,0.22);
  transition: transform .15s, box-shadow .15s;
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 14px 36px rgba(52,211,153,0.32); }
.btn-ghost{
  background: linear-gradient(135deg, rgba(45,216,196,0.10), rgba(79,184,236,0.10));
  color: var(--teal); font-weight:600; font-size:15.5px;
  padding: 15px 26px; border-radius:11px; border:1px solid rgba(45,216,196,0.35); cursor:pointer;
  transition: border-color .2s, background .2s, transform .15s; text-decoration:none;
}
.btn-ghost:hover{ border-color: var(--teal); background: linear-gradient(135deg, rgba(45,216,196,0.18), rgba(79,184,236,0.18)); transform: translateY(-2px); }

.trust-row{
  margin-top: 34px; display:flex; justify-content:center; gap:28px; flex-wrap:wrap;
  font-size: 13.5px; color: var(--text-muted);
}
.trust-row span{ display:flex; align-items:center; gap:7px; }
.check{ width:16px; height:16px; border-radius:50%; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.check svg{ width:9px; height:9px; }

/* stat strip */
.stat-strip{ margin-top: 56px; display:grid; grid-template-columns: repeat(4,1fr); gap:14px; }
.stat-card{
  background: var(--surface); border:1px solid var(--border);
  border-radius:14px; padding: 22px 18px; text-align:center;
}
.stat-num{ font-family:'Space Grotesk'; font-weight:700; font-size:30px; color: var(--teal); }
.stat-label{ margin-top:6px; font-size:13px; color: var(--text-muted); }

/* sections */
section{ padding: 76px 0; }
.eyebrow{
  font-size:12.5px; font-weight:700; letter-spacing:1.2px; text-transform:uppercase;
  color: var(--gold); margin-bottom:14px;
}
h2{ font-family:'Space Grotesk'; font-weight:700; font-size: clamp(26px,3.4vw,38px); letter-spacing:-0.01em; }
.section-sub{ color:var(--text-muted); font-size:16px; max-width:600px; margin-top:14px; line-height:1.6; }
.section-head{ text-align:center; max-width:680px; margin:0 auto 48px; }

/* feature cards */
.feature-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card{
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border:1px solid var(--border); border-radius:18px; padding: 30px 26px;
  transition: transform .2s, border-color .2s;
  position:relative; overflow:hidden;
}
.feature-card:hover{ transform: translateY(-4px); border-color: var(--border-strong); }
.feature-card::before{
  content:''; position:absolute; top:-40%; right:-30%; width:180px; height:180px;
  background: radial-gradient(circle, var(--teal) 0%, transparent 70%);
  opacity:0.14; pointer-events:none;
}
.f-icon{
  width:46px; height:46px; border-radius:12px; display:flex; align-items:center; justify-content:center;
  margin-bottom:20px; background: rgba(45,216,196,0.14);
}
.f-icon svg{ width:22px; height:22px; }
.feature-card h3{ font-family:'Space Grotesk'; font-size:19px; font-weight:600; margin-bottom:10px; }
.feature-card p{ color: var(--text-muted); font-size:14.5px; line-height:1.6; }
.f-tag{
  display:inline-block; margin-top:16px; font-size:12px; font-weight:600;
  padding:4px 10px; border-radius:6px; letter-spacing:0.3px;
  background: rgba(45,216,196,0.14); color: var(--teal);
}

/* two-column content sections */
.two-col{
  display:grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.two-col-panel{
  padding: 32px 30px; background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border:1px solid var(--border); border-radius:18px;
}
.two-col h3.panel-title{ font-family:'Space Grotesk'; font-size:22px; font-weight:600; margin: 10px 0 12px; line-height:1.25; }
.two-col p.panel-text{ color: var(--text-muted); font-size:14.5px; line-height:1.65; margin-bottom:20px; }

.step-list{ display:flex; flex-direction:column; gap:14px; }
.step-item{
  display:flex; gap:12px; align-items:flex-start; padding:12px 14px; border-radius:10px;
  border:1px solid var(--border); background: rgba(255,255,255,0.02);
}
.step-num{
  width:24px; height:24px; border-radius:50%; background: linear-gradient(135deg, var(--teal), var(--cyan));
  color:#06111a; font-size:12px; font-weight:700; display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.step-item div.step-text b{ font-size:14px; display:block; margin-bottom:2px; }
.step-item div.step-text span{ font-size:12.5px; color: var(--text-muted); }

/* mini demo result card */
.mini-demo{
  background: #0b1120; border:1px solid var(--border-strong); border-radius:12px; overflow:hidden;
}
.mini-demo-head{
  padding: 10px 14px; border-bottom:1px solid var(--border); font-size:11.5px; color: var(--text-muted);
  display:flex; align-items:center; gap:8px; letter-spacing:0.3px; text-transform:uppercase;
}
.mini-demo-dot{ width:7px; height:7px; border-radius:50%; background: var(--red); box-shadow:0 0 8px var(--red); animation: pulse 1.6s infinite; }
@keyframes pulse{ 0%,100%{ opacity:1; } 50%{ opacity:0.35; } }
.mini-row{
  display:flex; justify-content:space-between; align-items:center; padding: 12px 14px;
  border-bottom:1px solid rgba(255,255,255,0.04); font-size:13.5px;
}
.mini-row:last-child{ border-bottom:none; }
.mini-row .sym{ font-weight:600; }
.mini-row .chg{ color: var(--green); font-weight:600; }
.mini-row .vol{ color: var(--text-muted); font-size:12px; }

/* distribution bars */
.bar-list{ display:flex; flex-direction:column; gap:18px; }
.bar-row .bar-top{ display:flex; justify-content:space-between; font-size:13.5px; margin-bottom:7px; }
.bar-row .bar-top .name{ font-weight:600; }
.bar-row .bar-top .val{ color: var(--teal); font-weight:600; }
.bar-track{ height:7px; background: rgba(255,255,255,0.06); border-radius:99px; overflow:hidden; }
.bar-fill{ height:100%; background: linear-gradient(90deg, var(--teal), var(--cyan)); border-radius:99px; }

.option-list{ display:flex; flex-direction:column; gap:10px; }
.option-item{
  display:flex; align-items:center; gap:10px; padding:13px 14px; border-radius:10px;
  border:1px solid var(--border); text-decoration:none; color: var(--text);
  transition: border-color .2s, background .2s;
}
.option-item:hover{ border-color: var(--teal); background: rgba(45,216,196,0.06); }
.option-radio{ width:15px; height:15px; border-radius:50%; border:2px solid var(--teal); flex-shrink:0; }
.option-item span.label{ font-size:14px; font-weight:600; }
.option-item span.desc{ font-size:12px; color: var(--text-muted); display:block; margin-top:1px; }

/* illustrative rocket card */
.rocket-card{
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border:1px solid var(--border-strong); border-radius:18px;
  padding: 28px; max-width: 420px; margin: 0 auto; text-align:left;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.rocket-symbol-row{ display:flex; justify-content:space-between; align-items:center; margin-bottom:16px; }
.rocket-symbol{ font-family:'JetBrains Mono'; font-weight:600; font-size:15px; }
.rocket-badge{
  font-size:11px; font-weight:700; padding:4px 10px; border-radius:999px;
  background: var(--green-soft); color: var(--green);
}
.rocket-chart{ width:100%; height:90px; }
.rocket-caption{ margin-top:14px; font-size:12.5px; color: var(--text-muted); text-align:center; }

/* screener picker cards */
.picker-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:18px; margin: 30px 0 60px; }
.picker-card{
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border:1px solid var(--border); border-radius:16px;
  padding: 26px 22px; cursor:pointer; transition: border-color .2s, transform .18s, box-shadow .18s;
  text-align:left;
}
.picker-card:hover{ border-color: var(--teal); transform: translateY(-4px); box-shadow: 0 14px 34px rgba(45,216,196,0.16); }
.picker-card h3{ font-family:'Space Grotesk'; font-size:17px; font-weight:600; margin: 4px 0 8px; }
.picker-card p{ font-size:13.5px; color: var(--text-muted); line-height:1.55; }
.picker-arrow{ margin-top:16px; font-size:13px; color: var(--teal); font-weight:700; }

/* directional glow ("aura") on the bullish/bearish scanner cards --
   a soft radial tint bleeding in from one edge, like a light source
   sitting just off-card. Purely decorative, sits behind the content. */
.picker-card.bullish{ border-color: rgba(52,211,153,0.22); }
.picker-card.bullish::before{
  content:""; position:absolute; top:-30%; left:-15%; width:65%; height:170%;
  background: radial-gradient(circle, rgba(52,211,153,0.22), transparent 72%);
  pointer-events:none; z-index:0;
}
.picker-card.bullish:hover{ border-color: var(--green); box-shadow: 0 14px 34px rgba(52,211,153,0.22); }
.picker-card.bullish .picker-arrow{ color: var(--green); }

.picker-card.bearish{ border-color: rgba(242,119,122,0.22); }
.picker-card.bearish::before{
  content:""; position:absolute; top:-30%; right:-15%; width:65%; height:170%;
  background: radial-gradient(circle, rgba(242,119,122,0.22), transparent 72%);
  pointer-events:none; z-index:0;
}
.picker-card.bearish:hover{ border-color: var(--red); box-shadow: 0 14px 34px rgba(242,119,122,0.22); }
.picker-card.bearish .picker-arrow{ color: var(--red); }

.picker-card > *{ position: relative; z-index: 1; }

/* small pill badge — direction indicator at the top of each card */
.picker-badge{
  display:inline-flex; align-items:center; gap:6px;
  font-size:11.5px; font-weight:700; letter-spacing:0.6px; text-transform:uppercase;
  padding: 5px 12px; border-radius:999px; margin-bottom:14px;
}
.picker-badge .dot{ width:7px; height:7px; border-radius:50%; }
.picker-badge.bullish{ background: rgba(52,211,153,0.12); border:1px solid rgba(52,211,153,0.3); color: var(--green); }
.picker-badge.bullish .dot{ background: var(--green); box-shadow: 0 0 8px var(--green); }
.picker-badge.bearish{ background: rgba(242,119,122,0.12); border:1px solid rgba(242,119,122,0.3); color: var(--red); }
.picker-badge.bearish .dot{ background: var(--red); box-shadow: 0 0 8px var(--red); }

/* nav "VSF Markets" link */
.nav-links{ margin-left: 36px; flex: 1; }
.nav-links a{ margin-right: 22px; color: var(--text-muted); text-decoration:none; font-size:14px; font-weight:600; }
.nav-links a.active{ color: var(--teal); }
.nav-links a:hover{ color: var(--text); }
@media (max-width: 880px){ .nav-links{ display:none; } }

/* VSF Markets chart card */
.market-section{ padding: 22px 0 6px; }
.market-card{
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border); border-radius: 16px; padding: 20px 22px 10px;
}
.market-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; flex-wrap:wrap; gap:10px; }
.market-title{ display:flex; align-items:center; gap:9px; }
.market-title h3{ font-family:'Space Grotesk'; font-size:16px; font-weight:700; margin:0; }
.market-price{ display:flex; align-items:baseline; gap:9px; }
.market-price .val{ font-family:'Space Grotesk'; font-size:20px; font-weight:700; }
.market-price .chg{ font-size:13px; font-weight:600; }
.market-tf{ display:flex; gap:6px; }
.market-tf span{ font-size:12px; padding:4px 9px; border-radius:7px; color:var(--text-muted); border:1px solid var(--border); cursor:pointer; user-select:none; transition: border-color .15s, color .15s; }
.market-tf span:hover{ color: var(--text); border-color: var(--border-strong); }
.market-tf span.active{ background: var(--surface-2); color: var(--text); border-color: var(--teal); }
#niftyChart{ height: 240px; }

.back-link{
  display:inline-flex; align-items:center; gap:6px; color: var(--text-muted); text-decoration:none;
  font-size:13.5px; margin-bottom: 20px; cursor:pointer; transition: color .2s;
}
.back-link:hover{ color: var(--teal); }

/* live terminal */
.terminal-wrap{
  background: #0b1120; border:1px solid var(--border-strong); border-radius: 20px; overflow:hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.terminal-head{
  display:flex; align-items:center; justify-content:space-between;
  padding: 16px 22px; border-bottom:1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.th-left{ display:flex; align-items:center; gap:12px; }
.live-dot{ width:9px; height:9px; border-radius:50%; background: var(--red); box-shadow: 0 0 10px var(--red); animation: pulse 1.6s infinite; }
.th-title{ font-size:13.5px; font-weight:600; color: var(--text-muted); letter-spacing:0.3px; }
.th-time{ font-size:12.5px; color: var(--text-muted); }

.scan-table{ position: relative; padding: 4px 0; }
.scan-table-header, .scan-row{
  display:grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr;
  align-items:center; padding: 13px 22px; gap: 10px;
}
.scan-table-header{
  font-size:11.5px; text-transform:uppercase; letter-spacing:0.6px; color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.scan-row{ font-size: 14px; border-bottom: 1px solid rgba(255,255,255,0.04); transition: background .3s; }
.scan-row:hover{ background: rgba(255,255,255,0.02); }
.scan-row .sym{ font-weight:600; }
.scan-row .price{ color: var(--text); }
.chg-up{ color: var(--green); }
.chg-down{ color: var(--red); }
.vol-cell{ color: var(--text-muted); font-size:13px; }
.empty-state{ padding: 46px 20px; text-align:center; color: var(--text-muted); font-size:14px; }

.terminal-foot{
  padding: 14px 22px; display:flex; justify-content:space-between; align-items:center;
  border-top:1px solid var(--border); font-size:12.5px; color: var(--text-muted); flex-wrap:wrap; gap:8px;
}
.terminal-foot b{ color: var(--gold); font-weight:600; }

/* final cta */
.cta-section{
  position:relative; text-align:center; padding: 96px 0 90px;
  background: radial-gradient(700px 340px at 50% -10%, rgba(232,184,75,0.14), transparent 65%);
  border-top:1px solid var(--border);
}
.cta-section h2{ margin-bottom:16px; }
.cta-stats{ margin-top:26px; display:flex; justify-content:center; gap:26px; flex-wrap:wrap; font-size:14px; color: var(--text-muted); }
.cta-stats span{ display:flex; align-items:center; gap:7px; }
footer{ text-align:center; padding: 28px 0 40px; color: var(--text-muted); font-size:13px; border-top:1px solid var(--border); }
footer a{ color: var(--teal); text-decoration:none; }

.scanner-page-head{ padding: 44px 0 30px; }
.scanner-page-head h1{ font-size: clamp(28px,4vw,40px); }
.scanner-toolbar{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px; margin-bottom: 22px; }
.refresh-note{ font-size:13px; color: var(--text-muted); display:flex; align-items:center; gap:8px; }

@media (max-width: 880px){
  .feature-grid{ grid-template-columns: 1fr; }
  .stat-strip{ grid-template-columns: repeat(2,1fr); }
  .two-col{ grid-template-columns: 1fr; }
  .picker-grid{ grid-template-columns: 1fr; }
  .scan-table-header, .scan-row{ grid-template-columns: 1.3fr 1fr 1fr; }
  .vol-hide{ display:none; }
}
@media (prefers-reduced-motion: reduce){
  .live-dot, .mini-demo-dot{ animation: none; }
}

/* sort toolbar */
.sort-toolbar{ display:flex; align-items:center; gap:8px; padding: 10px 20px; border-bottom: 1px solid var(--border); flex-wrap:wrap; }
.sort-label{ font-size:12px; color: var(--text-muted); margin-right:2px; }
.sort-btn{
  background: transparent; border:1px solid var(--border); color: var(--text-muted);
  font-size:12px; font-weight:600; padding:6px 12px; border-radius:7px; cursor:pointer;
  display:inline-flex; align-items:center; gap:5px; transition: border-color .2s, color .2s;
}
.sort-btn:hover{ border-color: var(--teal); }
.sort-btn.active{ border-color: var(--teal); color: var(--text); background: rgba(45,216,196,0.08); }
.sort-arrow{ font-size:11px; }

/* ---- VSF Markets: feed status (Piece 1) ---- */
.market-status {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 999px;
  vertical-align: middle;
}
.market-status.stale {
  color: #ffd580;
  background: rgba(255, 200, 90, 0.12);
  border: 1px solid rgba(255, 200, 90, 0.35);
}
.market-status.unavailable {
  color: #f2777a;
  background: rgba(242, 119, 122, 0.10);
  border: 1px solid rgba(242, 119, 122, 0.35);
}
.market-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  margin-top: 8px;
  border-radius: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  color: #8b96ab;
  font-size: 13px;
}

/* ==================================================================
   v27 — Home page polish: hover life + sober accent colors
   ================================================================== */

/* payment success banner (scanner page) */
.payment-success-banner{
  display:flex; align-items:center; justify-content:space-between; gap:14px;
  background: linear-gradient(90deg, rgba(52,211,153,0.16), rgba(45,216,196,0.10));
  border:1px solid rgba(52,211,153,0.45);
  color:#a7f3d0; border-radius:12px;
  padding:13px 18px; margin-bottom:18px; font-weight:600; font-size:14px;
  animation: bannerIn .4s ease;
}
.payment-success-banner button{
  background:none; border:none; color:#a7f3d0; font-size:20px; cursor:pointer; line-height:1;
}
@keyframes bannerIn{ from{ opacity:0; transform:translateY(-8px);} to{ opacity:1; transform:none;} }

/* ---- feature cards: lift + per-card accent glow + icon nudge ---- */
.feature-card{
  --accent: #2dd8c4;
  transition: transform .28s cubic-bezier(.2,.8,.3,1),
              border-color .28s ease, box-shadow .28s ease;
  will-change: transform;
}
.feature-card:nth-child(2){ --accent:#e8b84b; }
.feature-card:nth-child(3){ --accent:#34d399; }
.feature-card:hover{
  transform: translateY(-7px) scale(1.015);
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow: 0 18px 44px -18px color-mix(in srgb, var(--accent) 45%, transparent),
              0 0 0 1px color-mix(in srgb, var(--accent) 22%, transparent) inset;
}
.feature-card .f-icon{ transition: transform .28s ease; }
.feature-card:hover .f-icon{ transform: translateY(-3px) rotate(-4deg) scale(1.06); }
.feature-card .f-tag{ transition: background .28s ease, color .28s ease; }
.feature-card:hover .f-tag{
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--accent);
}
/* soft sheen sweep across the card on hover */
.feature-card::after{
  content:''; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
  background: linear-gradient(115deg, transparent 30%,
              color-mix(in srgb, var(--accent) 9%, transparent) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform .6s ease;
}
.feature-card:hover::after{ transform: translateX(110%); }

/* ---- stat cards: gentle lift, number takes an accent ---- */
.stat-card{
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.stat-card:nth-child(1){ --accent:#2dd8c4; }
.stat-card:nth-child(2){ --accent:#e8b84b; }
.stat-card:nth-child(3){ --accent:#34d399; }
.stat-card:nth-child(4){ --accent:#7dd3fc; }
.stat-card:hover{
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow: 0 12px 30px -14px color-mix(in srgb, var(--accent) 40%, transparent);
}
.stat-card .stat-num{ transition: color .25s ease; }
.stat-card:hover .stat-num{ color: var(--accent); }

/* ---- buttons: a touch more alive ---- */
.btn-primary, .btn-ghost{ transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(45,216,196,0.55); }
.btn-ghost:hover{ transform: translateY(-2px); border-color: rgba(45,216,196,0.5); }

/* ---- sober ambient tints behind sections (very subtle) ---- */
.hero{
  background:
    radial-gradient(52% 46% at 18% 8%, rgba(45,216,196,0.055), transparent 70%),
    radial-gradient(46% 42% at 86% 20%, rgba(232,184,75,0.045), transparent 70%);
}
#features{
  background: radial-gradient(60% 60% at 50% 0%, rgba(45,216,196,0.04), transparent 75%);
  border-radius: 24px;
}
.step-item{ transition: transform .22s ease, border-color .22s ease; }
.step-item:hover{ transform: translateX(4px); border-color: rgba(45,216,196,0.35); }

@media (prefers-reduced-motion: reduce){
  .feature-card, .stat-card, .btn-primary, .btn-ghost, .step-item,
  .feature-card .f-icon, .feature-card::after{ transition:none !important; transform:none !important; }
}


/* ---- v28: universe filter dropdown (scanner controls) ---- */
.universe-select{
  background: var(--surface-2, #10202b);
  border: 1px solid var(--border, rgba(255,255,255,0.1));
  color: var(--text, #e8f0f2);
  border-radius: 9px;
  padding: 8px 30px 8px 13px;
  font-size: 13px; font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  margin-right: 14px;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' stroke='%238b9bb0' stroke-width='1.6' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 11px center;
  transition: border-color .2s ease;
}
.universe-select:hover, .universe-select:focus{
  border-color: rgba(45,216,196,0.55);
  outline: none;
}

/* ---- Scanner-page disclaimer (v30): small, muted, very bottom ---- */
.site-disclaimer{
  max-width: 980px;
  margin: 8px auto 28px;
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 11.5px;
  line-height: 1.65;
  text-align: center;
  opacity: 0.85;
}
.site-disclaimer .disc-title{
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 4px;
  color: var(--text-muted);
}
.site-disclaimer b{ color: var(--text-muted); }

/* ---- Sale banner (v30): thin strip above the nav, admin-controlled ---- */
.sale-banner{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(90deg, rgba(45,216,196,0.16), rgba(255,200,90,0.16));
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 40px 8px 14px;
  text-align: center;
  position: relative;
  cursor: pointer;
}
.sale-banner .sale-tag{
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  background: var(--green, #34d399);
  color: #06231a;
  border-radius: 999px;
  padding: 2px 9px;
  flex: 0 0 auto;
}
.sale-banner .sale-close{
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}
.sale-banner .sale-close:hover{ color: var(--text); }

/* ================= v31: scanner sidebar layout ================= */
.scan-layout{
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 22px;
  align-items: start;
}
.scan-side{
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.side-label{
  font-size: 10.5px; font-weight: 800; letter-spacing: 1px;
  text-transform: uppercase; color: var(--text-muted);
  padding: 0 4px;
}
.side-item{
  display: flex; align-items: center; gap: 11px;
  width: 100%; text-align: left;
  background: var(--surface, rgba(255,255,255,0.03));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 13px 14px;
  cursor: pointer;
  color: var(--text);
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.side-item:hover{ transform: translateX(3px); border-color: rgba(45,216,196,0.45); }
.side-item .si-ico{ font-size: 20px; flex: 0 0 auto; }
.side-item .si-text{ display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.side-item .si-name{ font-weight: 700; font-size: 13.5px; font-family: 'Space Grotesk'; }
.side-item .si-sub{
  font-size: 11px; color: var(--text-muted); line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.side-item .si-count{
  margin-left: auto; flex: 0 0 auto;
  font-size: 12px; font-weight: 700;
  background: rgba(45,216,196,0.14); color: #2dd8c4;
  border-radius: 999px; padding: 2px 9px;
}
.side-item .si-count:empty{ display: none; }
.side-item.active{
  border-color: #2dd8c4;
  box-shadow: 0 0 0 1px rgba(45,216,196,0.35), 0 8px 26px rgba(45,216,196,0.10);
}
.side-item.bull.active{
  border-color: #34d399;
  box-shadow: 0 0 0 1px rgba(52,211,153,0.4), 0 8px 26px rgba(52,211,153,0.12);
}
.side-item.bear.active{
  border-color: #f2777a;
  box-shadow: 0 0 0 1px rgba(242,119,122,0.4), 0 8px 26px rgba(242,119,122,0.12);
}
.side-item.bear .si-count{ background: rgba(242,119,122,0.14); color: #f2777a; }
#sideScreeners{ display: contents; }  /* children join .scan-side gap */
.side-hint{ color: var(--text-muted); font-size: 13px; margin-top: 14px; }

/* engine status banner */
.engine-banner{
  border-radius: 12px;
  padding: 11px 16px;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 14px;
  border: 1px solid;
}
.engine-banner.warn{
  background: rgba(255, 200, 90, 0.10);
  border-color: rgba(255, 200, 90, 0.4);
  color: #ffd47e;
}
.engine-banner.info{
  background: rgba(45, 216, 196, 0.08);
  border-color: rgba(45, 216, 196, 0.3);
  color: #7de8db;
}

/* ---- vibrant match rows ---- */
.scan-row{ position: relative; transition: background .2s; }
.scan-row.row-up{ border-left: 3px solid #34d399; }
.scan-row.row-down{ border-left: 3px solid #f2777a; }
.scan-row:hover{ background: rgba(255,255,255,0.035); }
.scan-row .sym{ font-weight: 800; letter-spacing: 0.3px; color: #eaf6ff; }
.scan-row .chg.up{
  color: #3ff0ae; font-weight: 800;
  text-shadow: 0 0 14px rgba(63,240,174,0.35);
}
.scan-row .chg.down{
  color: #ff8a8d; font-weight: 800;
  text-shadow: 0 0 14px rgba(255,138,141,0.3);
}
.ltp-cell{ display: flex; flex-direction: column; gap: 1px; font-weight: 700; }
.match-sub{ font-size: 10.5px; color: var(--text-muted); font-weight: 500; }
@keyframes matchFlash{
  0%   { background: rgba(52,211,153,0.22); }
  100% { background: transparent; }
}
.scan-row.row-flash{ animation: matchFlash 2.2s ease-out 1; }

/* ---- mobile: sidebar -> horizontal chips; hero gap fix ---- */
@media (max-width: 860px){
  .scan-layout{ grid-template-columns: 1fr; gap: 14px; }
  .scan-side{
    position: static;
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .side-label{ display: none; }
  .side-item{ flex: 0 0 auto; max-width: 240px; padding: 10px 12px; }
  .side-item .si-sub{ display: none; }
  .side-item:hover{ transform: none; }
  .hero{ padding-top: 34px !important; }
  .hero .badge{ margin-top: 0; }
}

/* v31.1: hero gap tighter (desktop + mobile) */
.hero{ padding-top: 44px !important; }
@media (max-width: 860px){ .hero{ padding-top: 28px !important; } }

/* ---- v32: legal / info pages + footer links ---- */
.legal-wrap{
  max-width: 820px;
  margin: 0 auto;
  padding: 30px 22px 60px;
}
.legal-wrap h1{
  font-family: 'Space Grotesk', sans-serif;
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 6px;
}
.legal-updated{
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 26px;
}
.legal-wrap h2{
  font-size: 15px;
  font-weight: 700;
  margin: 26px 0 8px;
  color: var(--text);
}
.legal-wrap p, .legal-wrap li{
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-muted);
}
.legal-wrap ul{ padding-left: 20px; margin: 8px 0; }
.legal-wrap li{ margin-bottom: 5px; }
.legal-wrap a{ color: var(--cyan, #2dd8c4); }
.legal-wrap .callout{
  border: 1px solid var(--border);
  border-left: 3px solid var(--amber, #ffc85a);
  border-radius: 10px;
  padding: 13px 16px;
  margin: 16px 0;
  background: rgba(255,200,90,0.05);
}
.legal-wrap .callout p{ margin: 0; color: var(--text); }

/* footer legal links — small, muted, unobtrusive */
.footer-links{
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  justify-content: center;
  margin-top: 12px;
  font-size: 11.5px;
}
.footer-links a{
  color: var(--text-muted);
  text-decoration: none;
  opacity: 0.85;
}
.footer-links a:hover{ color: var(--cyan, #2dd8c4); opacity: 1; }
.footer-links span{ color: var(--border); }

/* ---- v32: offer popup ---- */
.offer-overlay{
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(4, 8, 13, 0.72);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; transition: opacity .22s ease;
}
.offer-overlay.show{ opacity: 1; }
.offer-box{
  position: relative;
  width: 100%; max-width: 420px;
  background: linear-gradient(160deg, #101a24, #0b1219);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px 26px 24px;
  text-align: center;
  box-shadow: 0 24px 70px rgba(0,0,0,0.55), 0 0 0 1px rgba(45,216,196,0.14);
  transform: translateY(14px) scale(0.98);
  transition: transform .26s cubic-bezier(.2,.8,.3,1);
}
.offer-overlay.show .offer-box{ transform: translateY(0) scale(1); }
.offer-close{
  position: absolute; top: 10px; right: 12px;
  background: none; border: none; color: var(--text-muted);
  font-size: 22px; line-height: 1; cursor: pointer; padding: 4px 6px;
}
.offer-close:hover{ color: var(--text); }
.offer-tag{
  display: inline-block;
  font-size: 10px; font-weight: 800; letter-spacing: .9px; text-transform: uppercase;
  background: rgba(255,200,90,0.15); color: var(--amber, #ffc85a);
  border-radius: 999px; padding: 4px 12px; margin-bottom: 14px;
}
.offer-title{
  font-family: 'Space Grotesk', sans-serif;
  font-size: 21px; font-weight: 700; margin: 0 0 8px; color: var(--text);
  line-height: 1.3;
}
.offer-text{
  font-size: 13.5px; line-height: 1.65; color: var(--text-muted); margin: 0 0 16px;
}
.offer-code{
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px dashed rgba(45,216,196,0.5);
  background: rgba(45,216,196,0.07);
  border-radius: 10px; padding: 9px 15px; margin-bottom: 18px;
}
.offer-code-label{
  font-size: 10px; font-weight: 700; letter-spacing: .7px;
  text-transform: uppercase; color: var(--text-muted);
}
.offer-code b{
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px; letter-spacing: 1px; color: #2dd8c4;
}
.offer-cta{
  display: block; width: 100%;
  background: linear-gradient(135deg, #2dd8c4, #34d399);
  color: #06231a; font-weight: 800; font-size: 14.5px;
  text-decoration: none; text-align: center;
  border-radius: 12px; padding: 13px 18px;
  transition: transform .16s, box-shadow .16s;
}
.offer-cta:hover{ transform: translateY(-1px); box-shadow: 0 10px 26px rgba(45,216,196,0.25); }
.offer-later{
  margin-top: 10px; background: none; border: none;
  color: var(--text-muted); font-size: 12.5px; cursor: pointer;
  padding: 6px; text-decoration: underline;
}
.offer-later:hover{ color: var(--text); }
@media (max-width: 480px){
  .offer-box{ padding: 26px 20px 20px; border-radius: 16px; }
  .offer-title{ font-size: 19px; }
}

/* v32: the hint must match the layout — the screen picker is a LEFT
   sidebar on desktop but sits ABOVE the content on mobile, so a fixed
   "on the left" with a left arrow pointed users the wrong way on phones. */
.hint-mobile{ display: none; }
@media (max-width: 860px){
  .hint-desktop{ display: none; }
  .hint-mobile{ display: inline; }
}
