/* ─── HOMEPAGE TOKENS ─────────────────────────────────────────────── */
:root {
  --bg:       #070810;
  --bg2:      #0d0e1a;
  --bg3:      #12141f;
  --border:   #1e2035;
  --border2:  #2a2d45;
  --text:     #e8e9f0;
  --muted:    #6b7091;
  --muted2:   #9296b0;
  --purple:   #8b5cf6;
  --cyan:     #06b6d4;
  --green:    #10b981;
  --red:      #ef4444;
  --gold:     #f59e0b;
  --mono:     'Space Mono', monospace;
  --sora:     'Sora', sans-serif;
}

:root.light-mode {
  --bg:       #f8fafc;
  --bg2:      #f1f5f9;
  --bg3:      #e2e8f0;
  --border:   #e2e8f0;
  --border2:  #cbd5e1;
  --text:     #0f172a;
  --muted:    #64748b;
  --muted2:   #475569;
}

.light-mode .hero-title {
    color: #0f172a;
}

.light-mode .hero-eyebrow {
    background: rgba(139, 92, 246, 0.08);
    color: #7c3aed;
}

.light-mode .btn-hero-secondary {
    color: #475569;
}

.light-mode .btn-hero-secondary:hover {
    color: #0f172a;
    background: #f1f5f9;
}

@keyframes spin    { to { transform:rotate(360deg); } }
@keyframes pulse   { 0%,100%{opacity:1} 50%{opacity:.3} }
@keyframes fadeUp  { from{opacity:0;transform:translateY(18px)} to{opacity:1;transform:translateY(0)} }
@keyframes ticker  { from{transform:translateX(0)} to{transform:translateX(-50%)} }
@keyframes shimmer { 0%{background-position:200% center} 100%{background-position:-200% center} }
@keyframes glow    { 0%,100%{opacity:.5} 50%{opacity:1} }

* { margin:0; padding:0; box-sizing:border-box; }
html { overflow-x:hidden; scroll-behavior:smooth; }
body { font-family:var(--sora); background:var(--bg); color:var(--text); overflow-x:hidden; min-height:100vh; display:flex; flex-direction:column; }

/* ─── MARKET TICKER ──────────────────────────────────────────────── */
.market-ticker {
  margin-top: 0;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 0;
  overflow: hidden;
  height: 32px;
  display: flex;
  align-items: center;
}
.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker 160s linear infinite;
  white-space: nowrap;
  will-change: transform;
}
.market-ticker:hover .ticker-track { animation-play-state: paused; }
/* Override reduced-motion kill from mobile-fixes.css — ticker is informational, not decorative */
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none !important; }
  .market-ticker { overflow-x: auto; }
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 24px;
  font-size: 11px;
  font-family: var(--mono);
  border-right: 1px solid var(--border);
  height: 32px;
}
.ticker-sym  { color: var(--text); font-weight: 700; }
.ticker-price{ color: var(--muted2); }
.ticker-chg.up  { color: var(--green); }
.ticker-chg.dn  { color: var(--red); }
.ticker-dot { width:5px; height:5px; border-radius:50%; flex-shrink:0; }
.ticker-dot.up { background:var(--green); }
.ticker-dot.dn { background:var(--red); }

/* ─── HERO ───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 36px 0 40px;
  overflow: hidden;
  background: var(--bg);
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .35;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 100%);
}
.hero-glow {
  position: absolute;
  top: -120px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(139,92,246,.14) 0%, transparent 70%);
  pointer-events: none;
}
/* .hero-inner kept for JS compatibility but not used in new layout */
.hero-inner { position: relative; z-index: 2; }

/* Left column */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(139,92,246,.08);
  border: 1px solid rgba(139,92,246,.25);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 700;
  color: #a78bfa;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  animation: pulse 1.4s infinite;
  flex-shrink: 0;
}
.hero-title {
  font-family: var(--sora);
  font-size: clamp(1.6rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: #f0f1f8;
  margin-bottom: 20px;
  word-wrap: break-word;
}
@media (max-width: 480px) {
  .hero-headline-row { padding-top: 10px; }
  .btn-hero-primary, .btn-hero-secondary { width: 100%; justify-content: center; }
  .hero-cta-row { flex-direction: column; width: 100%; }
}
.hero-title .accent-green { color: var(--green); }
.hero-title .accent-purple {
  background: linear-gradient(135deg, #a78bfa, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted2);
  max-width: 480px;
  margin-bottom: 32px;
}
.hero-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 36px;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #7c3aed, #8b5cf6);
  color: #fff;
  font-family: var(--sora);
  font-size: 14px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(139,92,246,.35);
}
.btn-hero-primary:hover { transform:translateY(-2px); box-shadow:0 8px 28px rgba(139,92,246,.5); }
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  color: var(--muted2);
  font-family: var(--sora);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 22px;
  border-radius: 10px;
  border: 1px solid var(--border2);
  text-decoration: none;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.btn-hero-secondary:hover { border-color: var(--purple); color: var(--text); }

.hero-proof {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-proof-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
.hero-proof-item b { color: var(--muted2); }

/* ─── HERO CHART CARD ────────────────────────────────────────────── */
.hero-chart {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(139,92,246,.08);
}
.hc-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--bg3);
  gap: 8px;
  flex-wrap: wrap;
}
/* Search row */
.hc-search-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.hc-search-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
  max-width: 320px;
}
.hc-search-wrap input {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: 8px;
  padding: 6px 10px 6px 30px;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  font-family: var(--sora);
  outline: none;
  transition: border-color .15s;
  box-sizing: border-box;
}
.hc-search-wrap input:focus { border-color: var(--purple); }
.hc-search-wrap input::placeholder { color: var(--muted); font-weight: 400; }
.hc-search-icon {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.hc-ac-results {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 8px;
  z-index: 999;
  max-height: 180px;
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
}
.hc-ac-results div {
  padding: 8px 12px;
  font-size: 12px;
  color: var(--text);
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  transition: background .1s;
}
.hc-ac-results div:hover { background: rgba(139,92,246,.1); }
.hc-ac-results div strong { color: #a78bfa; }
/* Exchange toggle */
.hc-exch {
  display: flex;
  gap: 2px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px;
}
.hc-exch label {
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: all .15s;
  user-select: none;
}
.hc-exch input { display: none; }
.hc-exch input:checked + label { background: var(--purple); color: #fff; }
/* TF pills */
.hc-tf-pills {
  display: flex;
  gap: 2px;
}
.hc-tf-pill {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 4px 7px;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: all .15s;
}
.hc-tf-pill:hover { border-color: var(--purple); color: #a78bfa; }
.hc-tf-pill.on { background: rgba(139,92,246,.15); border-color: var(--purple); color: #a78bfa; }
/* Price bar */
.hc-pricebar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--bg3);
  flex-wrap: wrap;
}
.hc-sym    { font-weight: 800; font-size: 13px; color: var(--text); font-family:var(--sora); }
.hc-exch-badge { font-size:10px;background:rgba(139,92,246,.12);color:#a78bfa;border:1px solid rgba(139,92,246,.2);padding:2px 6px;border-radius:4px;font-weight:700; }
.hc-price  { font-family: var(--mono); font-size: 15px; font-weight: 700; color: var(--text); }
.hc-change { font-family: var(--mono); font-size: 12px; font-weight: 700; margin-left:2px; }
.hc-change.up { color: var(--green); }
.hc-change.dn { color: var(--red); }
.hc-live   { display:flex;align-items:center;gap:5px;font-size:11px;color:var(--green);font-weight:700;margin-left:auto; }
.hc-live::before{ content:'';width:6px;height:6px;border-radius:50%;background:var(--green);animation:pulse 1.4s infinite; }
.hc-ohlv { display:flex;gap:10px;font-size:10px;color:var(--muted);font-family:var(--mono); }
.hc-ohlv strong { color:var(--muted2); }
/* Chart area */
.hc-chart-wrap { position:relative; height:520px; min-height:420px; flex:1; background:var(--bg2); }
.hc-chart-inner { width:100%; height:100%; }
.hc-loading {
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  background:var(--bg2);
  font-size:12px; color:var(--muted);
  gap:8px;
}
.hc-spinner {
  width:14px; height:14px;
  border:2px solid rgba(139,92,246,.3);
  border-top-color:#8b5cf6;
  border-radius:50%;
  animation:spin .8s linear infinite;
}
/* Signal strip */
.hc-signal-strip {
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  background: rgba(0,0,0,.2);
  min-height: 38px;
  align-items: center;
}
.hc-tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 20px; font-size: 10px; font-weight: 700;
  letter-spacing: .03em;
}
.hc-tag.green { background:rgba(16,185,129,.1); color:var(--green); border:1px solid rgba(16,185,129,.25); }
.hc-tag.amber { background:rgba(245,158,11,.1); color:var(--gold); border:1px solid rgba(245,158,11,.25); }
.hc-tag.blue  { background:rgba(6,182,212,.1);  color:var(--cyan); border:1px solid rgba(6,182,212,.25); }
.hc-tag.red   { background:rgba(239,68,68,.1);  color:var(--red);  border:1px solid rgba(239,68,68,.25); }
.hc-tag.muted { background:rgba(107,112,145,.08); color:var(--muted); border:1px solid rgba(107,112,145,.2); }

/* ─── STATS STRIP ────────────────────────────────────────────────── */
.stats-strip {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.stats-grid {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
@media(max-width:640px){ .stats-grid{grid-template-columns:repeat(2,1fr);gap:20px;} }
.stat-item {
  text-align: center;
  position: relative;
  padding: 8px 0;
}
.stat-item + .stat-item::before {
  content:''; position:absolute; left:0; top:10%; height:80%;
  border-left: 1px solid var(--border);
}
@media(max-width:640px){ .stat-item + .stat-item::before{display:none;} }
.stat-num {
  font-family: var(--sora);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #a78bfa, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label { font-size: 12px; color: var(--muted); margin-top: 5px; font-weight: 500; }
.stat-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; background: rgba(16,185,129,.1); color: var(--green);
  border: 1px solid rgba(16,185,129,.2); border-radius: 4px;
  padding: 2px 7px; margin-top: 5px; font-weight: 600;
}

/* ─── UNIFORM CONTAINER — all sections same width ────────────────── */
/* Enforces consistent 1200px max-width for EVERY content block.     */
/* Any section that had inline max-width overrides should use this.  */
.section { padding: 72px 0; }
.section.dark { background: var(--bg2); }
.section.darker { background: var(--bg); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Align stats-strip and hero containers identically to .container */
.stats-grid,
.hero-headline-row,
.hero-dashboard {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box;
}

/* Lock: any direct child of .container that is a layout wrapper
   must stretch full width — no inner max-width can make it narrower */
.container > div,
.container > table,
.container > form {
  width: 100%;
}
/* Exception: centred text intros (headings/subtitles) keep their own
   narrower max-width for readability */
.container > div[style*="text-align:center"],
.container > div[style*="text-align: center"] {
  width: auto;
}

/* ─── EQUAL-HEIGHT CARD GRIDS ────────────────────────────────────── */
/* Ensures all cards in any grid row share the same height.          */
/* Applied to both CSS-class grids and inline-styled grids.          */
.equal-cards {
  align-items: stretch !important;
}
.equal-cards > div {
  display: flex;
  flex-direction: column;
}
/* Backtested pattern cards — inline grid needs stretch */
.backtest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
  align-items: stretch;
}
@media(max-width:900px){ .backtest-grid{grid-template-columns:repeat(2,1fr);} }
@media(max-width:480px){ .backtest-grid{grid-template-columns:1fr;} }
.backtest-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  text-align: center;
  transition: border-color .25s, transform .25s;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}
.backtest-card:hover { transform: translateY(-3px); }
.backtest-card .bc-icon { font-size: 26px; margin-bottom: 10px; }
.backtest-card .bc-name { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 14px; }
.backtest-card .bc-stats { display: flex; justify-content: space-around; margin-bottom: 10px; flex: 1; align-items: center; }
.backtest-card .bc-divider { width: 1px; background: var(--border); }
.backtest-card .bc-num { font-size: 22px; font-weight: 800; font-family: var(--mono); line-height: 1; }
.backtest-card .bc-lbl { font-size: 10px; color: var(--muted); margin-top: 2px; }
.backtest-card .bc-meta { font-size: 10px; color: var(--muted); background: var(--bg2); padding: 4px 8px; border-radius: 6px; margin-top: auto; }
.section-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--purple); margin-bottom: 14px;
}
.section-label::before {
  content:''; display:block; width:20px; height:2px;
  background:var(--purple); border-radius:2px;
}
.section-title {
  font-family: var(--sora);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.2;
}
.section-subtitle {
  font-size: 15px;
  color: var(--muted2);
  max-width: 560px;
  line-height: 1.7;
}

/* ─── LIVE SIGNALS SECTION ───────────────────────────────────────── */
.signals-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.signals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}
@media(max-width:900px){ .signals-grid{grid-template-columns:repeat(2,1fr);} }
@media(max-width:640px){ .signals-grid{grid-template-columns:1fr;} }
.sig-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  transition: border-color .2s, transform .2s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.sig-stats { display:flex; flex-direction:column; gap:6px; margin-bottom:14px; flex:1; }
.sig-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
}
.sig-card.bull::before { background: linear-gradient(90deg, transparent, var(--green), transparent); }
.sig-card.bear::before { background: linear-gradient(90deg, transparent, var(--red), transparent); }
.sig-card:hover { transform:translateY(-3px); }
.sig-card.bull:hover { border-color: rgba(16,185,129,.3); }
.sig-card.bear:hover { border-color: rgba(239,68,68,.3); }

.sig-top { display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; }
.sig-sym  { font-weight:800; font-size:15px; color:var(--text); }
.sig-xch  { font-size:9px; font-weight:700; background:rgba(139,92,246,.12); color:#a78bfa; border:1px solid rgba(139,92,246,.2); padding:2px 6px; border-radius:4px; margin-left:5px; }
.sig-dir  { font-size:11px; font-weight:700; padding:3px 10px; border-radius:6px; }
.sig-dir.bull { background:rgba(16,185,129,.1); color:var(--green); }
.sig-dir.bear { background:rgba(239,68,68,.1); color:var(--red); }
.sig-pattern { font-size:14px; font-weight:700; color:var(--text); margin-bottom:12px; }

.sig-row   { display:flex; justify-content:space-between; font-size:12px; }
.sig-lbl   { color:var(--muted); }
.sig-val   { font-weight:700; color:var(--text); font-family:var(--mono); }
.sig-val.green { color:var(--green); }
.sig-val.red   { color:var(--red); }
.sig-val.amber { color:var(--gold); }
.sig-prob-bar-wrap { height:3px; background:var(--border); border-radius:3px; margin-bottom:14px; overflow:hidden; }
.sig-prob-bar { height:100%; border-radius:3px; transition:width .6s; }
.sig-actions { display:flex; gap:8px; }
.sig-btn {
  flex:1; text-align:center; padding:7px 8px;
  border-radius:8px; font-size:11px; font-weight:700;
  text-decoration:none; font-family:var(--sora);
  transition:opacity .2s, transform .15s;
}
.sig-btn:hover { opacity:.8; transform:scale(.98); }
.sig-btn.analyze { background:rgba(139,92,246,.1); border:1px solid rgba(139,92,246,.3); color:#a78bfa; }
.sig-btn.tv      { background:rgba(26,159,255,.1); border:1px solid rgba(26,159,255,.3); color:#60c8ff; }

/* ─── PLATFORM FEATURES ──────────────────────────────────────────── */
.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media(max-width:768px){ .platform-grid{grid-template-columns:1fr;} }

.platform-tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ptab {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 12px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .2s;
  align-items: flex-start;
}
.ptab:hover { background: rgba(255,255,255,.02); border-color: var(--border); }
.ptab.on    { background: rgba(139,92,246,.06); border-color: rgba(139,92,246,.25); }
.ptab-icon  { font-size: 22px; flex-shrink:0; margin-top:2px; }
.ptab-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.ptab-desc  { font-size: 12px; color: var(--muted); line-height: 1.6; }

.platform-preview {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 16px;
  padding: 24px;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}
.pp-panel { display:none; animation:fadeUp .3s ease; }
.pp-panel.on { display:block; }

/* Scanner preview */
.scan-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-bottom: 8px;
  background: var(--bg3);
  transition: border-color .2s;
}
.scan-row:hover { border-color: var(--border2); }
.scan-sym   { font-weight:800; font-size:13px; min-width:70px; }
.scan-xch   { font-size:10px; color:var(--muted); background:var(--border); padding:2px 6px; border-radius:4px; }
.scan-pat   { flex:1; font-size:12px; color:var(--muted2); font-weight:500; }
.scan-prob  { font-family:var(--mono); font-size:12px; font-weight:700; }
.scan-prob.hi  { color:var(--green); }
.scan-prob.med { color:var(--gold); }
.scan-dir   { font-size:10px; font-weight:700; padding:2px 8px; border-radius:4px; }
.scan-dir.bull { background:rgba(16,185,129,.1); color:var(--green); }
.scan-dir.bear { background:rgba(239,68,68,.1); color:var(--red); }

/* Portfolio preview */
.port-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}
.port-row:last-child { border-bottom:none; }
.port-sym   { font-weight:800; font-size:13px; min-width:90px; }
.port-val   { font-family:var(--mono); font-size:12px; color:var(--muted2); flex:1; text-align:right; }
.port-pnl   { font-family:var(--mono); font-size:13px; font-weight:700; min-width:70px; text-align:right; }
.port-pnl.up  { color:var(--green); }
.port-pnl.dn  { color:var(--red); }

/* ─── HOW IT WORKS ───────────────────────────────────────────────── */
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
@media(max-width:768px){ .steps-row{grid-template-columns:repeat(2,1fr);gap:24px;} }
@media(max-width:480px){ .steps-row{grid-template-columns:1fr;} }

.steps-row::before {
  content:'';
  position:absolute;
  top:28px; left:12.5%; right:12.5%;
  height:1px;
  background: linear-gradient(90deg, transparent, var(--border2), var(--border2), var(--border2), transparent);
}
@media(max-width:768px){ .steps-row::before{display:none;} }

.step-item { text-align:center; padding:0 20px; position:relative; }
.step-num {
  width:56px; height:56px;
  margin: 0 auto 18px;
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  font-family: var(--sora);
  font-size: 16px; font-weight: 800;
  color: var(--purple);
  position: relative; z-index: 1;
  transition: all .2s;
}
.step-item:hover .step-num {
  background: rgba(139,92,246,.1);
  border-color: rgba(139,92,246,.4);
  box-shadow: 0 0 20px rgba(139,92,246,.3);
}
.step-title { font-size:14px; font-weight:700; color:var(--text); margin-bottom:8px; }
.step-desc  { font-size:12px; color:var(--muted); line-height:1.7; }

/* ─── COMPARISON TABLE ───────────────────────────────────────────── */
.comp-table-wrap {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid var(--border2);
}
.comp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.comp-table th {
  padding: 14px 20px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--muted2);
  background: var(--bg3);
  border-bottom: 1px solid var(--border2);
}
.comp-table th:first-child { text-align: left; }
.comp-table th.us {
  color: #a78bfa;
  background: rgba(139,92,246,.06);
}
.comp-table td {
  padding: 12px 20px;
  text-align: center;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.comp-table td:first-child { text-align:left; color:var(--muted2); font-weight:600; }
.comp-table td.us { background:rgba(139,92,246,.04); color:var(--text); font-weight:700; }
.comp-table tbody tr:last-child td { border-bottom:none; }
.comp-table tbody tr:hover td { background:rgba(255,255,255,.01); }
.check { color:var(--green); font-size:14px; }
.cross { color:var(--muted); opacity:.4; }
.partial{ color:var(--gold); font-size:12px; }

/* ─── TESTIMONIALS ───────────────────────────────────────────────── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media(max-width:768px){ .testi-grid{grid-template-columns:1fr;} }
.testi-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  position: relative;
  transition: border-color .2s;
}
.testi-card:hover { border-color: var(--border2); }
.testi-stars { color: var(--gold); font-size: 12px; margin-bottom: 12px; letter-spacing:2px; }
.testi-quote { font-size:13px; color:var(--muted2); line-height:1.75; margin-bottom:16px; font-style:italic; }
.testi-author { display:flex; align-items:center; gap:10px; }
.testi-avatar {
  width:36px; height:36px; border-radius:50%;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  display:flex; align-items:center; justify-content:center;
  font-size:12px; font-weight:800; color:#fff;
  flex-shrink:0;
}
.testi-name { font-size:13px; font-weight:700; color:var(--text); }
.testi-role { font-size:11px; color:var(--muted); margin-top:1px; }

/* ─── TRUST BAND ─────────────────────────────────────────────────── */
.trust-band {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.trust-inner {
  max-width: 1200px; margin:0 auto; padding:0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-label { font-size:10px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); }
.trust-badge { font-size:13px; font-weight:700; color: rgba(255,255,255,.3); transition:color .2s; }
.trust-badge:hover { color:rgba(255,255,255,.6); }

/* ─── FINAL CTA ──────────────────────────────────────────────────── */
.final-cta {
  padding: 80px 0;
  background: var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta-glow {
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:600px; height:300px;
  background: radial-gradient(ellipse, rgba(139,92,246,.1) 0%, transparent 70%);
  pointer-events:none;
}
.final-cta-title {
  font-family: var(--sora);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.2;
}
.final-cta-desc {
  font-size: 15px;
  color: var(--muted2);
  margin-bottom: 36px;
  max-width: 480px;
  margin-left:auto; margin-right:auto;
  line-height:1.7;
}
.final-cta-row {
  display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin-bottom:20px;
}
.final-cta-note { font-size:12px; color:var(--muted); }

/* ─── SEBI DISCLAIMER STRIP ──────────────────────────────────────── */
.sebi-strip {
  background: rgba(245,158,11,.04);
  border-top: 1px solid rgba(245,158,11,.12);
  padding: 14px 0;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
}
.sebi-strip strong { color: rgba(245,158,11,.8); }

/* ─── UTILITIES ──────────────────────────────────────────────────── */
.see-all-btn {
  display: inline-flex; align-items:center; gap:6px;
  padding:8px 18px; border-radius:8px;
  background:transparent; border:1px solid var(--border2);
  color:var(--muted2); font-size:13px; font-weight:600;
  text-decoration:none; font-family:var(--sora);
  transition:all .2s;
}
.see-all-btn:hover { border-color:var(--purple); color:var(--text); }

.section-header-row {
  display:flex; justify-content:space-between; align-items:flex-end;
  margin-bottom:28px; flex-wrap:wrap; gap:16px;
}

/* ─── PAGE LOAD ANIMATION ────────────────────────────────────────── */
.fade-in { animation: fadeUp .55s ease both; }
.fade-in-1 { animation-delay:.1s; }
.fade-in-2 { animation-delay:.2s; }
.fade-in-3 { animation-delay:.3s; }
.fade-in-4 { animation-delay:.4s; }

/* ─── PRODUCT-FIRST HERO DASHBOARD ───────────────────────────────── */
.hero-headline-row {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  margin-bottom: 24px;
  position: relative; z-index: 2;
}
.hero-headline-row .hero-title {
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  margin-bottom: 8px;
}
.hero-headline-row .hero-desc {
  font-size: 14px;
  margin-bottom: 0;
  max-width: 560px;
}
.hero-headline-row .hero-cta-row { margin-bottom: 0; }

/* Main dashboard panel — same computed width as .container */
.hero-dashboard {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  position: relative; z-index: 2;
}
/* All inner content wrappers fill full container width */
.hd-grid,
.hd-statusbar {
  width: 100%;
  box-sizing: border-box;
}
.hd-statusbar {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg2); border: 1px solid var(--border);
  border-bottom: none; border-radius: 10px 10px 0 0;
  padding: 8px 16px; gap: 16px; flex-wrap: wrap;
  font-size: 11px; font-family: var(--mono);
}
.hd-status-left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hd-status-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.hd-mkt-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 700; letter-spacing: .05em;
  background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.3);
  color: var(--green); border-radius: 5px; padding: 2px 8px;
}
.hd-mkt-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--green); animation: pulse 1.4s infinite;
}
.hd-sep { color: var(--border2); }
.hd-mkt-item { display: inline-flex; align-items: center; gap: 5px; }
.hd-mkt-sym  { color: var(--muted); font-weight: 600; }
.hd-mkt-price{ color: var(--text); font-weight: 700; }
.hd-mkt-chg.up { color: var(--green); }
.hd-mkt-chg.dn { color: var(--red); }
.hd-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 12px;
  align-items: stretch;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 0 0 12px 12px;
  padding: 14px;
}
@media(max-width:1100px) { .hd-grid { grid-template-columns: 1fr; } }

/* Data table panel */
.hd-panel {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden;
  display: flex; flex-direction: column;
  height: 100%; min-height: 520px;
}
.hd-panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
.hd-panel-title { font-size: 13px; font-weight: 800; color: var(--text); display: flex; align-items: center; gap: 6px; }
.hd-panel-meta { display: flex; align-items: center; gap: 5px; font-size: 10px; color: var(--muted); font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.05em; }
.hd-live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 8px var(--green);
  animation: pulse 1.4s infinite;
}

.hd-table-wrap { flex: 1; overflow-y: auto; background: var(--bg); }
.hd-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.hd-table thead { position: sticky; top: 0; z-index: 10; background: var(--bg2); box-shadow: 0 1px 0 var(--border); }
.hd-table th {
  padding: 10px 14px; text-align: left;
  font-size: 9px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}
.hd-table th:last-child, .hd-table td:last-child { text-align: right; }
.hd-row { cursor: pointer; transition: background .12s; border-bottom: 1px solid rgba(255,255,255,.03); }
.hd-row:hover { background: rgba(139,92,246,.06); }
.hd-row td { padding: 10px 14px; vertical-align: middle; }
.hd-sym  { font-weight: 800; font-size: 12px; color: var(--text); font-family: var(--mono); }
.hd-exch { font-size: 9px; color: var(--muted); background: var(--border); padding: 1px 4px; border-radius: 3px; margin-left: 4px; font-weight: 600; }
.hd-pat  { color: #a78bfa; font-weight: 600; font-size: 11px; max-width: 130px; }
.hd-dir  { font-size: 9px; font-weight: 700; padding: 2px 7px; border-radius: 4px; white-space: nowrap; }
.hd-dir.bull { background: rgba(16,185,129,.1); color: var(--green); border: 1px solid rgba(16,185,129,.2); }
.hd-dir.bear { background: rgba(239,68,68,.1);  color: var(--red);   border: 1px solid rgba(239,68,68,.2); }
.hd-str-bar {
  display: inline-block; width: 40px; height: 4px;
  background: var(--bg3); border-radius: 4px; overflow: hidden;
  vertical-align: middle; margin-right: 8px;
}
.hd-str-bar span { display: block; height: 100%; border-radius: 4px; }
.hd-str-num { font-size: 11px; font-weight: 700; font-family: var(--mono); color: var(--muted); min-width: 25px; display: inline-block; }
.hd-str-num.up { color: var(--green); }
.hd-str-num.dn { color: var(--red); }
.hd-move { font-weight: 800; font-size: 12px; font-family: var(--mono); }
.hd-move.up { color: var(--green); }
.hd-move.dn { color: var(--red); }
.hd-table-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px; background: var(--bg2); border-top: 1px solid var(--border);
}
.hd-see-all {
  font-size: 11px; font-weight: 700; color: #a78bfa;
  text-decoration: none; transition: opacity .15s;
}
.hd-see-all:hover { opacity: .75; }

/* Mini sector heatmap */
.hd-heatmap-mini { padding: 12px; }
.hd-heat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}
@media(max-width:600px) { .hd-heat-grid { grid-template-columns: repeat(4, 1fr); } }
.hd-heat-cell {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 7px 4px; border-radius: 6px; text-align: center;
  cursor: pointer; transition: opacity .15s, transform .15s;
  min-height: 48px;
}
.hd-heat-cell:hover { opacity: .85; transform: scale(1.03); }
.hd-heat-cell.up {
  background: rgba(16,185,129, calc(var(--pct) * 0.18));
  border: 1px solid rgba(16,185,129, calc(var(--pct) * 0.25));
}
.hd-heat-cell.dn {
  background: rgba(239,68,68, calc((100% - var(--pct)) * 0.22));
  border: 1px solid rgba(239,68,68, calc((100% - var(--pct)) * 0.28));
}
.hd-heat-name { font-size: 9px; font-weight: 700; color: var(--muted); letter-spacing: .03em; margin-bottom: 3px; }
.hd-heat-val  { font-size: 11px; font-weight: 800; font-family: var(--mono); }
.hd-heat-cell.up .hd-heat-val  { color: var(--green); }
.hd-heat-cell.dn .hd-heat-val  { color: var(--red); }

/* Responsive: collapse on small screens */
@media(max-width:768px) {
  .hero-headline-row { flex-direction: column; align-items: flex-start; }
  .hd-statusbar .hd-status-right { display: none; }
  .hd-table th:nth-child(4), .hd-table td:nth-child(4) { display: none; }

  /* Hero vertical padding */
  .hero { padding: 16px 0 20px; }

  /* Chart height on tablet/large phone */
  .hc-chart-wrap { height: 360px; min-height: 300px; }

  /* Panel: remove fixed min-height so page doesn't grow excessively */
  .hd-panel { min-height: 280px; }

  /* Topbar: tighter padding, let search fill available width */
  .hc-topbar { padding: 8px 10px; gap: 6px; }
  .hc-search-wrap { max-width: none; }
  .hc-search-row { flex-wrap: wrap; }

  /* Dashboard grid: tighten padding */
  .hd-grid { padding: 8px; gap: 8px; }

  /* Status bar: tighter on tablet */
  .hd-statusbar { padding: 6px 10px; font-size: 10px; }
}

/* Small phones (≤480px) */
@media(max-width:480px) {
  /* Chart: shorter so content below is reachable */
  .hc-chart-wrap { height: 260px; min-height: 220px; }
  .hd-panel { min-height: 220px; }

  /* Topbar: hide chart-type text, keep icons only; override mobile-fixes.css min-height */
  #hcCtCandle, #hcCtLine { padding: 4px 7px !important; font-size: 0 !important; gap: 0 !important; min-height: 28px !important; min-width: 28px !important; }
  #hcCtCandle svg, #hcCtLine svg { display: block; }

  /* Hide expand button on very small phones — unusable */
  button[onclick="hcExpandChart()"] { display: none !important; }

  /* Hide OHLV bar — not critical on small screens */
  .hc-ohlv { display: none; }

  /* Make hero-dashboard/headline-row slightly tighter horizontally */
  .hero-headline-row, .hero-dashboard { padding-left: 12px; padding-right: 12px; }

  /* TF pills more compact */
  .hc-tf-pill { padding: 3px 5px; font-size: 9px; }

  /* Status bar: hide separators, badge each item */
  .hd-statusbar { flex-wrap: wrap; row-gap: 4px; }
  .hd-sep { display: none; }
  .hd-mkt-item { background: rgba(255,255,255,.04); border-radius: 5px; padding: 2px 7px; }

  /* Hero tighter */
  .hero { padding: 10px 0 14px; }
  .hd-grid { padding: 6px; gap: 6px; }
}

/* ── Community Chat Widget ─────────────────────────────── */
.hd-comm-feed {
  min-height: 130px; max-height: 160px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 8px;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.hd-comm-msg {
  display: flex; gap: 7px; align-items: flex-start;
  padding: 5px 0; border-bottom: 1px solid var(--border);
  animation: fadeSlideIn .25s ease;
}
.hd-comm-msg:last-child { border-bottom: none; }
@keyframes fadeSlideIn { from { opacity:0; transform:translateY(4px); } to { opacity:1; transform:none; } }
.hd-comm-avatar {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 800; color: #fff; text-transform: uppercase;
}
.hd-comm-body   { flex: 1; min-width: 0; }
.hd-comm-meta   { display: flex; gap: 6px; align-items: baseline; margin-bottom: 1px; }
.hd-comm-user   { font-size: 10px; font-weight: 700; color: #a78bfa; }
.hd-comm-time   { font-size: 9px; color: var(--muted); }
.hd-comm-text   { font-size: 11px; color: var(--muted2); line-height: 1.45; word-break: break-word; }
.hd-comm-grp    { font-size: 9px; color: var(--muted); margin-left: auto; white-space: nowrap; }
/* Skeleton loading */
.hd-comm-skeleton { display:flex; flex-direction:column; gap:10px; padding:8px 0; }
.hd-comm-sk-line  {
  height: 10px; border-radius: 5px;
  background: linear-gradient(90deg, var(--border) 25%, var(--bg3) 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
.hd-comm-sk-line.wide { width: 90%; }
.hd-comm-sk-line.med  { width: 60%; }
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }
/* Compose bar */
.hd-comm-compose {
  display: flex; gap: 6px; align-items: center;
  margin-bottom: 2px;
}
.hd-comm-input {
  flex: 1; background: var(--bg2); border: 1px solid var(--border);
  border-radius: 8px; padding: 7px 10px; font-size: 11px;
  color: var(--text); outline: none; font-family: inherit;
  transition: border-color .2s;
}
.hd-comm-input:focus { border-color: var(--purple); }
.hd-comm-input::placeholder { color: var(--muted); }
.hd-comm-send {
  width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
  background: linear-gradient(135deg, #7c3aed, #8b5cf6);
  border: none; color: #fff; font-size: 12px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .2s;
}
.hd-comm-send:hover  { opacity: .85; }
.hd-comm-send:active { opacity: .7; }
/* ── Metals — flex row layout ───────────────────────────────────── */
.hd-metals {
  margin-top: 12px;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 12px;
}
.hd-metals-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 6px;
}
.hd-metals-title { font-size: 11px; font-weight: 700; color: var(--text); }
.hd-metals-as-of { font-size: 9px; color: var(--muted); }
.hd-metals-col-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 0 5px; border-bottom: 1px solid var(--border);
  font-size: 9px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .06em;
}
.hd-metals-col-header span:last-child { display: flex; gap: 36px; }
.hd-metals-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,.04);
  gap: 8px;
}
.hd-metals-row:last-child { border-bottom: none; }
.hd-metals-name {
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; color: var(--text); flex: 1; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hd-metals-name em { font-style: normal; font-size: 12px; flex-shrink: 0; }
.hd-metals-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.hd-metals-price-wrap { text-align: right; }
.hd-metals-price { font-weight: 700; font-family: var(--mono); font-size: 10.5px; white-space: nowrap; display: block; }
.hd-metals-unit  { font-size: 8.5px; color: var(--muted); display: block; text-align: right; }
.hd-metals-chg   { font-weight: 700; font-size: 10.5px; font-family: var(--mono); white-space: nowrap; min-width: 52px; text-align: right; }
.hd-metals-chg.up { color: var(--green); }
.hd-metals-chg.dn { color: var(--red); }
.hd-metals-loading { text-align: center; padding: 16px; color: var(--muted); font-size: 11px; }

/* ─── SHARED SECTION SYSTEM ───────────────────────────────────── */
.pg-section          { padding: 72px 0; }
.pg-section.bg-alt   { background: var(--bg2); }
.pg-section.bg-base  { background: var(--bg); }
.pg-section.compact  { padding: 52px 0; }
.pg-container        { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.pg-section-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--purple); margin-bottom: 12px;
}
.pg-section-eyebrow::before {
  content: ''; display: block; width: 18px; height: 2px;
  background: var(--purple); border-radius: 2px; flex-shrink: 0;
}
.pg-section-title {
  font-family: var(--sora);
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  font-weight: 800; color: var(--text);
  line-height: 1.15; margin-bottom: 10px;
}
.pg-section-sub {
  font-size: 14px; color: var(--muted2);
  line-height: 1.75; max-width: 520px;
}
.pg-section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 32px; flex-wrap: wrap; gap: 16px;
}
.pg-section-header-center {
  text-align: center; max-width: 560px;
  margin: 0 auto 40px;
}
.pg-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 700; color: #a78bfa;
  text-decoration: none; transition: opacity .15s;
}
.pg-link:hover { opacity: .75; }
.pg-link-outline {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: 8px;
  border: 1px solid var(--border2); color: var(--muted2);
  font-size: 12px; font-weight: 700; text-decoration: none;
  font-family: var(--sora); transition: border-color .2s, color .2s;
}
.pg-link-outline:hover { border-color: var(--purple); color: var(--text); }

/* ─── STATS STRIP ──────────────────────────────────────────────── */
.pg-stats-strip {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.pg-stats-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
@media(max-width:640px) { .pg-stats-inner { grid-template-columns: repeat(2,1fr); } }
.pg-stat {
  padding: 28px 0; text-align: center; position: relative;
}
.pg-stat + .pg-stat::before {
  content: ''; position: absolute; left: 0; top: 20%; height: 60%;
  border-left: 1px solid var(--border);
}
@media(max-width:640px) { .pg-stat + .pg-stat::before { display: none; } }
.pg-stat-num {
  font-family: var(--sora); font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, #a78bfa, #06b6d4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}
.pg-stat-label { font-size: 12px; color: var(--muted2); font-weight: 600; margin-bottom: 5px; }
.pg-stat-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 700; color: var(--muted);
  letter-spacing: .03em;
}

/* ─── SIGNAL CARDS ─────────────────────────────────────────────── */
/* All 4 cards in the signals grid are equal-height flex columns   */
.pg-signals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items: stretch;
}
@media(max-width:960px) { .pg-signals-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:540px) { .pg-signals-grid { grid-template-columns: 1fr; } }
.pg-sig-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 18px 16px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: border-color .2s, transform .2s;
  cursor: pointer;
}
.pg-sig-card::after {
  content: ''; position: absolute; inset: 0;
  border-radius: inherit;
  opacity: 0; transition: opacity .2s;
  pointer-events: none;
}
.pg-sig-card.bull { border-top: 2px solid var(--green); }
.pg-sig-card.bear { border-top: 2px solid var(--red); }
.pg-sig-card:hover { transform: translateY(-2px); }
.pg-sig-card.bull:hover { border-color: rgba(16,185,129,.35); }
.pg-sig-card.bear:hover { border-color: rgba(239,68,68,.35); }

.pg-sig-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.pg-sig-sym  { font-weight: 800; font-size: 15px; color: var(--text); font-family: var(--mono); }
.pg-sig-xch  {
  font-size: 9px; font-weight: 700; color: #a78bfa;
  background: rgba(139,92,246,.1); border: 1px solid rgba(139,92,246,.2);
  padding: 2px 6px; border-radius: 4px; margin-left: 5px;
}
.pg-sig-dir {
  font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 6px;
}
.pg-sig-dir.bull { background: rgba(16,185,129,.1); color: var(--green); border: 1px solid rgba(16,185,129,.2); }
.pg-sig-dir.bear { background: rgba(239,68,68,.1); color: var(--red); border: 1px solid rgba(239,68,68,.2); }
.pg-sig-pattern { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.pg-sig-rows { display: flex; flex-direction: column; gap: 6px; flex: 1; margin-bottom: 12px; }
.pg-sig-row { display: flex; justify-content: space-between; font-size: 11px; align-items: center; }
.pg-sig-lbl { color: var(--muted); }
.pg-sig-val { font-weight: 700; font-family: var(--mono); color: var(--text); }
.pg-sig-val.green { color: var(--green); }
.pg-sig-val.amber { color: var(--gold); }
.pg-sig-val.red   { color: var(--red); }
.pg-sig-bar-wrap { height: 3px; background: var(--border); border-radius: 3px; overflow: hidden; margin-bottom: 12px; }
.pg-sig-bar      { height: 100%; border-radius: 3px; }
.pg-sig-actions  { display: flex; gap: 8px; margin-top: auto; }
.pg-sig-btn {
  flex: 1; text-align: center; padding: 7px 6px;
  border-radius: 8px; font-size: 11px; font-weight: 700;
  text-decoration: none; font-family: var(--sora);
  transition: opacity .15s;
}
.pg-sig-btn:hover { opacity: .8; }
.pg-sig-btn.analyse { background: rgba(139,92,246,.1); border: 1px solid rgba(139,92,246,.25); color: #a78bfa; }
.pg-sig-btn.chart   { background: rgba(6,182,212,.08); border: 1px solid rgba(6,182,212,.2); color: var(--cyan); }

/* ─── HOW IT WORKS ─────────────────────────────────────────────── */
.pg-steps {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 2px; position: relative;
  background: var(--border); border-radius: 16px; overflow: hidden;
}
@media(max-width:640px) { .pg-steps { grid-template-columns: 1fr; } }
.pg-step {
  background: var(--bg3); padding: 32px 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: background .2s;
}
.pg-step:hover { background: var(--bg2); }
.pg-step-num {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(139,92,246,.08); border: 1px solid rgba(139,92,246,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800; color: #a78bfa;
  font-family: var(--sora); flex-shrink: 0;
}
.pg-step-title { font-size: 15px; font-weight: 700; color: var(--text); }
.pg-step-desc  { font-size: 13px; color: var(--muted2); line-height: 1.7; }
.pg-step-tag {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 700; color: var(--muted);
  background: var(--bg2); border: 1px solid var(--border);
  padding: 3px 10px; border-radius: 20px; align-self: flex-start;
  margin-top: auto;
}

/* ─── BACKTESTED PATTERN CARDS ─────────────────────────────────── */
.pg-pattern-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 14px; align-items: stretch;
}
@media(max-width:900px) { .pg-pattern-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:480px) { .pg-pattern-grid { grid-template-columns: 1fr; } }
.pg-pattern-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 14px; padding: 22px 20px;
  display: flex; flex-direction: column;
  transition: border-color .2s, transform .2s;
}
.pg-pattern-card:hover { transform: translateY(-2px); }
.pg-pat-icon  { font-size: 28px; margin-bottom: 10px; }
.pg-pat-name  { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 16px; }
.pg-pat-stats {
  display: flex; gap: 0; flex: 1;
  background: var(--bg2); border-radius: 8px; overflow: hidden;
  margin-bottom: 12px; border: 1px solid var(--border);
}
.pg-pat-stat-item {
  flex: 1; padding: 10px 8px; text-align: center;
}
.pg-pat-stat-item + .pg-pat-stat-item { border-left: 1px solid var(--border); }
.pg-pat-stat-val { font-size: 20px; font-weight: 800; font-family: var(--mono); line-height: 1; margin-bottom: 4px; }
.pg-pat-stat-lbl { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.pg-pat-meta {
  font-size: 10px; color: var(--muted);
  background: var(--bg); border: 1px solid var(--border);
  padding: 4px 10px; border-radius: 6px; text-align: center;
  margin-top: auto;
}

/* ─── PLATFORM FEATURES (TABS) ─────────────────────────────────── */
.pg-features-grid {
  display: grid; grid-template-columns: 5fr 6fr; gap: 40px; align-items: start;
}
@media(max-width:860px) { .pg-features-grid { grid-template-columns: 1fr; } }
.pg-ftab-list { display: flex; flex-direction: column; gap: 4px; }
.pg-ftab {
  display: flex; gap: 14px; padding: 16px 18px;
  border-radius: 12px; cursor: pointer;
  border: 1px solid transparent; transition: all .18s; align-items: flex-start;
}
.pg-ftab:hover { background: rgba(255,255,255,.02); border-color: var(--border); }
.pg-ftab.on    { background: rgba(139,92,246,.06); border-color: rgba(139,92,246,.22); }
.pg-ftab-ico  { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.pg-ftab-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.pg-ftab-desc  { font-size: 12px; color: var(--muted); line-height: 1.6; }
.pg-feature-preview {
  background: var(--bg3); border: 1px solid var(--border2);
  border-radius: 16px; overflow: hidden;
  min-height: 340px; display: flex; flex-direction: column;
}
.pg-fp-header {
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,.2);
  display: flex; align-items: center; justify-content: space-between;
}
.pg-fp-title { font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.pg-fp-badge {
  display: flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 700; color: var(--green);
}
.pg-fp-badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--green); animation: pulse 1.4s infinite; }
.pg-fp-body  { padding: 14px 16px; flex: 1; }
.pg-fp-panel { display: none; }
.pg-fp-panel.on { display: block; animation: fadeUp .25s ease; }

/* scanner rows inside preview */
.pg-scan-row {
  display: flex; align-items: center; gap: 8px; padding: 9px 10px;
  border-radius: 8px; border: 1px solid var(--border); margin-bottom: 7px;
  background: var(--bg2); transition: border-color .15s;
}
.pg-scan-row:hover { border-color: var(--border2); }
.pg-scan-sym  { font-weight: 800; font-size: 12px; min-width: 78px; font-family: var(--mono); }
.pg-scan-xch  { font-size: 9px; color: var(--muted); background: var(--border); padding: 2px 5px; border-radius: 3px; }
.pg-scan-pat  { flex: 1; font-size: 11px; color: var(--muted2); }
.pg-scan-pct  { font-weight: 800; font-size: 12px; font-family: var(--mono); min-width: 36px; text-align: right; }
.pg-scan-pct.hi  { color: var(--green); }
.pg-scan-pct.med { color: var(--gold); }
.pg-scan-dir  { font-size: 9px; font-weight: 700; padding: 2px 7px; border-radius: 4px; }
.pg-scan-dir.bull { background: rgba(16,185,129,.1); color: var(--green); }
.pg-scan-dir.bear { background: rgba(239,68,68,.1);  color: var(--red); }
.pg-fp-footer {
  padding: 10px 16px; border-top: 1px solid var(--border);
  background: rgba(0,0,0,.15); text-align: center;
}

/* ─── COMPARISON TABLE ─────────────────────────────────────────── */
.pg-comp-wrap { border-radius: 14px; overflow: hidden; border: 1px solid var(--border2); }
.pg-comp { width: 100%; border-collapse: collapse; font-size: 13px; }
.pg-comp thead th {
  padding: 14px 20px; text-align: center;
  font-size: 11px; font-weight: 700; letter-spacing: .05em;
  color: var(--muted2); background: var(--bg3);
  border-bottom: 1px solid var(--border2);
}
.pg-comp thead th:first-child { text-align: left; }
.pg-comp thead th.hl { color: #a78bfa; background: rgba(139,92,246,.06); }
.pg-comp tbody td {
  padding: 12px 20px; text-align: center;
  color: var(--muted); border-bottom: 1px solid var(--border);
}
.pg-comp tbody td:first-child { text-align: left; color: var(--muted2); font-weight: 600; }
.pg-comp tbody td.hl { background: rgba(139,92,246,.04); color: var(--text); font-weight: 700; }
.pg-comp tbody tr:last-child td { border-bottom: none; }
.pg-comp tbody tr:hover td { background: rgba(255,255,255,.012); }
.pg-comp tbody tr:hover td.hl { background: rgba(139,92,246,.07); }
.pg-check   { color: var(--green); }
.pg-cross   { color: var(--muted); opacity: .4; }
.pg-partial { color: var(--gold); font-size: 11px; }

/* ─── TESTIMONIALS ─────────────────────────────────────────────── */
.pg-testi-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 14px; align-items: stretch;
}
@media(max-width:800px) { .pg-testi-grid { grid-template-columns: 1fr; } }
.pg-testi-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 14px; padding: 22px;
  display: flex; flex-direction: column;
  transition: border-color .2s;
}
.pg-testi-card:hover { border-color: var(--border2); }
.pg-testi-tag {
  display: inline-block; align-self: flex-start;
  font-size: 10px; font-weight: 700; padding: 3px 10px;
  border-radius: 6px; margin-bottom: 14px; font-family: var(--mono);
}
.pg-testi-stars { color: var(--gold); font-size: 11px; letter-spacing: 2px; margin-bottom: 12px; }
.pg-testi-quote {
  font-size: 13px; color: var(--muted2); line-height: 1.75;
  margin-bottom: 18px; font-style: italic; flex: 1;
}
.pg-testi-author { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.pg-testi-avatar {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: #fff;
}
.pg-testi-name { font-size: 13px; font-weight: 700; color: var(--text); }
.pg-testi-role { font-size: 11px; color: var(--muted); margin-top: 1px; }

/* ─── DISCLAIMER NOTICE ────────────────────────────────────────── */
.pg-disclaimer {
  background: rgba(245,158,11,.04); border: 1px solid rgba(245,158,11,.15);
  border-radius: 10px; padding: 12px 20px;
  font-size: 11px; color: var(--muted); line-height: 1.7; text-align: center;
}
.pg-disclaimer strong { color: rgba(245,158,11,.85); }

/* ─── FINAL CTA ────────────────────────────────────────────────── */
.pg-cta-section {
  padding: 80px 0; background: var(--bg); text-align: center; position: relative; overflow: hidden;
}
.pg-cta-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(139,92,246,.09) 0%, transparent 70%);
  pointer-events: none;
}
.pg-cta-title {
  font-family: var(--sora); font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; color: var(--text); margin-bottom: 14px; line-height: 1.15;
}
.pg-cta-sub {
  font-size: 15px; color: var(--muted2); margin-bottom: 36px;
  max-width: 480px; margin-left: auto; margin-right: auto; line-height: 1.7;
}
.pg-cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.pg-cta-note { font-size: 11px; color: var(--muted); }
.pg-cta-stats {
  display: flex; gap: 0; justify-content: center;
  flex-wrap: wrap; margin: 0 auto 36px; max-width: 560px;
}
.pg-cta-stat {
  flex: 1; min-width: 110px; padding: 0 20px;
  position: relative;
}
.pg-cta-stat + .pg-cta-stat::before {
  content: ''; position: absolute; left: 0; top: 15%; height: 70%;
  border-left: 1px solid var(--border);
}
.pg-cta-stat-num { font-size: 20px; font-weight: 800; font-family: var(--sora); line-height: 1; margin-bottom: 4px; }
.pg-cta-stat-lbl { font-size: 11px; color: var(--muted); }

/* ─── TRUST BAND ────────────────────────────────────────────────── */
.pg-trust {
  background: var(--bg2); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 18px 0;
}
.pg-trust-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: center;
  gap: 36px; flex-wrap: wrap;
}
.pg-trust-label { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pg-trust-item { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.25); transition: color .2s; }
.pg-trust-item:hover { color: rgba(255,255,255,.55); }

/* ─── SEBI STRIP ────────────────────────────────────────────────── */
.pg-sebi {
  background: rgba(245,158,11,.03); border-top: 1px solid rgba(245,158,11,.1);
  padding: 12px 0; text-align: center;
  font-size: 11px; color: var(--muted); line-height: 1.6;
}
.pg-sebi strong { color: rgba(245,158,11,.75); }

/* ─── AI TRADE OF THE DAY (kept, cleaned up) ────────────────────── */
.pg-totd-wrap {
  background: linear-gradient(135deg, rgba(139,92,246,.05), rgba(6,182,212,.03));
  border: 1px solid rgba(139,92,246,.2); border-radius: 16px;
  padding: 32px; position: relative; overflow: hidden;
}
.pg-totd-glow {
  position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(ellipse, rgba(16,185,129,.08), transparent 70%);
  pointer-events: none;
}
.pg-totd-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start;
}
@media(max-width:760px) { .pg-totd-grid { grid-template-columns: 1fr; } }
.pg-totd-stat {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 16px;
}
.pg-totd-stat-lbl {
  font-size: 9px; color: var(--muted); text-transform: uppercase;
  letter-spacing: .08em; margin-bottom: 5px;
}
.pg-totd-stat-val { font-size: 22px; font-weight: 800; font-family: var(--mono); line-height: 1; }
.pg-totd-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 20px; }
.pg-totd-list-item {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 14px; margin-bottom: 6px;
}
.pg-totd-list-item.top { border-color: rgba(139,92,246,.25); background: rgba(139,92,246,.05); }

/* ─── RESPONSIVE TWEAKS ─────────────────────────────────────────── */
@media(max-width:640px) {
  .pg-section { padding: 48px 0; }
  .pg-section.compact { padding: 36px 0; }
}

/* Metals section */
.metals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.metal-card {
  background: var(--bg3, #12141f);
  border: 1px solid var(--border, #1e2035);
  border-radius: 14px;
  padding: 18px 20px;
  transition: border-color 0.2s, transform 0.2s;
  cursor: default;
}
.metal-card:hover {
  border-color: rgba(245,158,11,.35);
  transform: translateY(-2px);
}
.metal-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.metal-icon { font-size: 1.5rem; flex-shrink: 0; }
.metal-name { font-size: 0.88rem; font-weight: 700; color: var(--text, #e8e9f0); }
.metal-unit { font-size: 0.7rem; color: var(--muted, #6b7091); margin-top: 2px; }
.metal-live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #10b981; animation: pulse 1.4s infinite;
  margin-left: auto; flex-shrink: 0;
}
.metal-price {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text, #e8e9f0);
  font-family: 'Space Mono', monospace;
  margin-bottom: 4px;
}
.metal-change {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.metal-change.up { color: #10b981; }
.metal-change.dn { color: #ef4444; }
.metal-change.flat { color: #6b7091; }
.metal-bar-wrap {
  height: 4px;
  background: rgba(255,255,255,.06);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 8px;
}
.metal-bar {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  transition: width 0.6s ease;
}
.metal-sub { font-size: 0.7rem; color: var(--muted, #6b7091); }

.comm-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.comm-preview-card {
  background: var(--bg2, #0d0e1a);
  border: 1px solid var(--border, #1e2035);
  border-radius: 14px;
  padding: 16px 18px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color .2s, transform .2s;
}
.comm-preview-card:hover {
  border-color: rgba(6,182,212,.35);
  transform: translateY(-2px);
}
.comm-preview-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.comm-preview-icon {
  font-size: 1.3rem;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(6,182,212,.1);
  border: 1px solid rgba(6,182,212,.2);
  border-radius: 10px;
  flex-shrink: 0;
}
.comm-preview-name { font-size: 0.88rem; font-weight: 700; color: var(--text, #e8e9f0); }
.comm-preview-members { font-size: 0.72rem; color: var(--muted, #6b7091); margin-top: 1px; }
.comm-preview-type {
  margin-left: auto;
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 100px;
  background: rgba(6,182,212,.1);
  color: #06b6d4;
  font-weight: 700;
  text-transform: uppercase;
  flex-shrink: 0;
}
.comm-preview-desc { font-size: 0.78rem; color: var(--muted2, #9296b0); line-height: 1.5; }

/* ── Activity Ticker ─────────────────────────────────────────────── */
.activity-ticker {
  background: rgba(16, 185, 129, 0.06);
  border-bottom: 1px solid rgba(16, 185, 129, 0.15);
  overflow: hidden;
  height: 28px;
  display: flex;
  align-items: center;
}
.activity-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: activityScroll 40s linear infinite;
}
@keyframes activityScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.activity-item {
  font-size: 0.7rem;
  color: #6ee7b7;
  font-family: 'Space Mono', monospace;
  display: flex;
  align-items: center;
  gap: 6px;
}
.activity-dot {
  width: 5px; height: 5px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}
.comm-preview-loading { grid-column: 1/-1; text-align: center; padding: 30px; color: var(--muted, #6b7091); font-size: 0.85rem; }

/* ── Morning Brief Card ──────────────────────────────────────────── */
.morning-brief-card {
  background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(16,185,129,0.08));
  border-bottom: 1px solid rgba(99,102,241,0.25);
  padding: 16px 24px;
}
.mbc-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 24px;
}
.mbc-left { flex: 1; min-width: 0; }
.mbc-greeting {
  font-size: .75rem; color: #6ee7b7;
  font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; margin-bottom: 6px;
}
.mbc-brief {
  font-size: .88rem; line-height: 1.5;
  max-width: 680px;
}
.mbc-signals {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px;
}
.mbc-signal-chip {
  font-size: .72rem; padding: 3px 10px;
  border-radius: 20px; font-family: 'Space Mono', monospace;
}
.mbc-signal-chip.bullish { background: rgba(16,185,129,.15); color: #6ee7b7; }
.mbc-signal-chip.bearish { background: rgba(239,68,68,.15); color: #fca5a5; }
.mbc-actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; flex-shrink: 0; }
.mbc-btn {
  padding: 8px 18px; background: #6366f1;
  border-radius: 8px; color: #fff; text-decoration: none;
  font-size: .82rem; font-weight: 600; white-space: nowrap;
}
.mbc-dismiss {
  background: none; border: none; color: rgba(255,255,255,.35);
  font-size: .75rem; cursor: pointer;
}
@media (max-width: 640px) {
  .mbc-inner { flex-direction: column; }
  .mbc-actions { align-items: flex-start; }
}