/* ===== ALMOST INSIDER — DARK + GOLD ===== */
:root {
  --bg: #0a0b0f;
  --bg-card: #12141c;
  --bg-card-hover: #1a1d28;
  --bg-section-dark: #070810;
  --border: #1e2130;
  --border-gold: #d4a537;
  --gold: #e8a845;
  --gold-bright: #f5c15a;
  --gold-dim: #b8892e;
  --green: #22c55e;
  --green-dim: rgba(34,197,94,0.15);
  --red: #ef4444;
  --red-dim: rgba(239,68,68,0.15);
  --blue: #3b82f6;
  --blue-dim: rgba(59,130,246,0.15);
  --text: #e8e9ed;
  --text-dim: #8b8fa3;
  --text-muted: #555970;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.gold { color: var(--gold); }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,11,15,0.92); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-ai {
  font-size: 22px; font-weight: 900; color: var(--gold);
  letter-spacing: -1px; font-family: var(--mono);
}
.logo-text { font-size: 16px; font-weight: 600; color: var(--text); }
.logo-dot-info { color: var(--gold); font-weight: 700; font-size: 0.8em; opacity: 0.85; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-dim); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--gold) !important; color: #000 !important; padding: 8px 16px;
  border-radius: 8px; font-weight: 700 !important;
}
.nav-cta:hover { background: var(--gold-bright) !important; }
.nav-mobile { display: none; background: none; border: none; color: var(--text); font-size: 24px; cursor: pointer; }

/* ===== HERO ===== */
.hero {
  padding: 140px 24px 80px; text-align: center; max-width: 960px; margin: 0 auto;
  position: relative;
}
.hero::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; background: radial-gradient(circle, rgba(232,168,69,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-block; padding: 6px 16px; border: 1px solid var(--border-gold);
  border-radius: 100px; font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--gold); margin-bottom: 28px; text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 56px); font-weight: 900; line-height: 1.1;
  letter-spacing: -1.5px; margin-bottom: 20px;
}
.hero-sub { font-size: 18px; color: var(--text-dim); max-width: 640px; margin: 0 auto 40px; line-height: 1.7; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  max-width: 700px; margin: 0 auto 40px;
}
.stat { text-align: center; }
.stat-num { font-size: 36px; font-weight: 900; font-family: var(--mono); letter-spacing: -1px; color: var(--text); }
.stat-label { font-size: 12px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }
.hero-cta-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-signup-form {
  display: flex; gap: 10px; max-width: 500px; width: 100%; justify-content: center;
}
.hero-email-input {
  flex: 1; padding: 14px 18px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; color: var(--text); font-size: 15px; font-family: var(--font);
  min-width: 0;
}
.hero-email-input:focus { outline: none; border-color: var(--gold); }
.hero-email-input::placeholder { color: var(--text-muted); }
.hero-signup-note {
  width: 100%; text-align: center; font-size: 12px; color: var(--text-muted); margin-top: 4px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 10px;
  font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: all .2s; border: none;
}
.btn-gold { background: var(--gold); color: #000; }
.btn-gold:hover { background: var(--gold-bright); transform: translateY(-1px); box-shadow: 0 8px 30px rgba(232,168,69,0.25); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--text-dim); }
.btn-full { width: 100%; text-align: center; }

/* ===== TICKER TAPE ===== */
.ticker-tape {
  overflow: hidden; background: var(--bg-card); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 10px 0;
}
.ticker-inner {
  display: flex; gap: 40px; animation: ticker 20s linear infinite; white-space: nowrap;
}
.ticker-item { display: flex; align-items: center; gap: 8px; font-size: 13px; font-family: var(--mono); }
.ticker-symbol { font-weight: 700; color: var(--text); }
.ticker-price { color: var(--text-dim); }
.ticker-change { font-weight: 600; }
.ticker-change.up { color: var(--green); }
.ticker-change.down { color: var(--red); }
.ticker-contract { color: var(--gold); font-size: 11px; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes ticker-fast { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ===== SECTIONS ===== */
.section { padding: 80px 24px; max-width: 1280px; margin: 0 auto; overflow: visible; }
.section-dark { background: var(--bg-section-dark); max-width: 100%; }
.section-dark > * { max-width: 1280px; margin-left: auto; margin-right: auto; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 36px; font-weight: 800; letter-spacing: -1px; margin-bottom: 12px; }
.section-header p { font-size: 16px; color: var(--text-dim); max-width: 600px; margin: 0 auto; }

/* ===== SCOREBOARD ===== */
.scoreboard-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; justify-content: center; }
.filter-btn {
  padding: 8px 18px; border-radius: 8px; border: 1px solid var(--border);
  background: transparent; color: var(--text-dim); font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .2s;
}
.filter-btn:hover { border-color: var(--text-dim); color: var(--text); }
.filter-btn.active { background: var(--gold); color: #000; border-color: var(--gold); }

.scoreboard-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; }
.scoreboard-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.scoreboard-table thead { background: var(--bg-card); }
.scoreboard-table th {
  padding: 14px 16px; text-align: left; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; color: var(--text-dim);
  border-bottom: 1px solid var(--border);
}
.scoreboard-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); }
.scoreboard-table tbody tr { transition: background .15s; }
.scoreboard-table tbody tr:hover { background: var(--bg-card-hover); }
.scoreboard-table tbody tr:last-child td { border-bottom: none; }

.score-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px; font-weight: 800;
  font-size: 14px; font-family: var(--mono);
}
.score-badge.strong-buy { background: rgba(34,197,94,0.15); color: var(--green); }
.score-badge.buy { background: rgba(232,168,69,0.15); color: var(--gold); }
.score-badge.watch { background: var(--blue-dim); color: var(--blue); }
.score-badge.hold { background: rgba(139,143,163,0.15); color: var(--text-dim); }
.score-badge.avoid { background: var(--red-dim); color: var(--red); }

.return-cell { font-family: var(--mono); font-weight: 700; }
.return-cell.positive { color: var(--green); }
.return-cell.negative { color: var(--red); }

.rating-pill {
  display: inline-block; padding: 4px 12px; border-radius: 6px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.rating-pill.strong-buy { background: var(--green-dim); color: var(--green); }
.rating-pill.buy { background: rgba(232,168,69,0.15); color: var(--gold); }
.rating-pill.watch { background: var(--blue-dim); color: var(--blue); }
.rating-pill.hold { background: rgba(139,143,163,0.1); color: var(--text-muted); }
.rating-pill.avoid { background: var(--red-dim); color: var(--red); }

.scoreboard-summary {
  margin-top: 20px; padding: 20px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; display: flex; gap: 32px; justify-content: center; flex-wrap: wrap;
  font-size: 14px;
}
.summary-item { text-align: center; }
.summary-item .num { font-size: 24px; font-weight: 800; font-family: var(--mono); }
.summary-item .label { font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; }

/* ===== BACKTEST ===== */
.backtest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; padding: 0 24px; }
.backtest-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
  padding: 32px; text-align: center; position: relative;
}
.backtest-card.highlight { border-color: var(--gold-dim); }
.backtest-card.best { border-color: var(--gold); box-shadow: 0 0 40px rgba(232,168,69,0.1); }
.backtest-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #000; padding: 4px 16px; border-radius: 100px;
  font-size: 10px; font-weight: 800; letter-spacing: 1px;
}
.backtest-label { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.backtest-sub { font-size: 13px; color: var(--text-dim); margin-bottom: 24px; }
.backtest-stats { display: flex; justify-content: center; gap: 24px; }
.bs { text-align: center; }
.bs-num { display: block; font-size: 28px; font-weight: 900; font-family: var(--mono); }
.bs-label { display: block; font-size: 10px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* Quarter Performance Grid */
.quarter-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  padding: 0 24px; margin-bottom: 32px;
}
.quarter-bar {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
  padding: 20px; text-align: center; position: relative; overflow: hidden;
}
.quarter-bar::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; border-radius: 0 0 12px 12px;
}
.quarter-bar.positive::after { background: var(--green); }
.quarter-bar.negative::after { background: var(--red); }
.quarter-label { font-size: 13px; font-weight: 700; color: var(--text-dim); margin-bottom: 8px; }
.quarter-return { font-size: 28px; font-weight: 900; font-family: var(--mono); margin-bottom: 4px; }
.quarter-return.positive { color: var(--green); }
.quarter-return.negative { color: var(--red); }
.quarter-detail { font-size: 11px; color: var(--text-muted); }
.quarter-picks { font-size: 11px; color: var(--text-dim); margin-top: 6px; }

@media (max-width: 768px) {
  .quarter-grid { grid-template-columns: repeat(2, 1fr); }
}

.disclaimer { font-size: 12px; color: var(--text-muted); text-align: center; max-width: 700px; margin: 0 auto; padding: 0 24px; }

/* ===== COMPARISON SECTION ===== */
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 0 24px; margin-bottom: 48px; }
.compare-card {
  background: var(--bg-card); border-radius: 16px; padding: 32px;
  position: relative; overflow: hidden;
}
.compare-card.them { border: 1px solid rgba(239,68,68,0.3); }
.compare-card.us { border: 1px solid rgba(232,168,69,0.4); box-shadow: 0 0 40px rgba(232,168,69,0.06); }
.compare-badge {
  display: inline-block; padding: 4px 14px; border-radius: 100px;
  font-size: 11px; font-weight: 800; letter-spacing: 1px; margin-bottom: 16px;
}
.them-badge { background: var(--red-dim); color: var(--red); }
.us-badge { background: rgba(232,168,69,0.15); color: var(--gold); }
.compare-title { font-size: 22px; font-weight: 800; margin-bottom: 20px; }
.compare-list { list-style: none; margin-bottom: 24px; }
.compare-list li {
  display: flex; align-items: flex-start; gap: 12px; padding: 10px 0;
  border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text-dim); line-height: 1.5;
  flex-wrap: nowrap;
}
.compare-list li .compare-icon { flex-shrink: 0; }
.compare-list li .compare-text { flex: 1; min-width: 0; display: inline; }
.compare-list li:last-child { border-bottom: none; }
.compare-icon { font-size: 18px; flex-shrink: 0; width: 24px; text-align: center; }
.compare-result { padding: 16px; border-radius: 10px; margin-top: 8px; }
.compare-result.bad { background: var(--red-dim); }
.compare-result.good { background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.2); }
.compare-result-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-dim); margin-bottom: 6px; }
.compare-result-text { font-size: 14px; line-height: 1.6; }
.compare-result.bad .compare-result-text { color: var(--red); }
.compare-result.good .compare-result-text { color: var(--green); }

/* Timeline */
.compare-timeline {
  max-width: 900px; margin: 0 auto; padding: 0 24px;
}
.timeline-header {
  font-size: 16px; font-weight: 700; text-align: center; margin-bottom: 32px; color: var(--text-dim);
}
.timeline-bar {
  position: relative; height: 4px; background: var(--border); border-radius: 2px;
  margin: 60px 0 80px;
}
.timeline-event { position: absolute; transform: translateX(-50%); }
.timeline-dot {
  width: 14px; height: 14px; border-radius: 50%; background: var(--text-muted);
  margin: -5px auto 12px; position: relative;
}
.timeline-dot.gold-dot { background: var(--gold); box-shadow: 0 0 12px rgba(232,168,69,0.5); }
.timeline-dot.green-dot { background: var(--green); box-shadow: 0 0 12px rgba(34,197,94,0.5); }
.timeline-dot.blue-dot { background: var(--blue); }
.timeline-dot.red-dot { background: var(--red); box-shadow: 0 0 12px rgba(239,68,68,0.4); }
.timeline-label {
  font-size: 12px; color: var(--text-dim); text-align: center; white-space: nowrap;
  line-height: 1.5;
}
.timeline-caption {
  text-align: center; font-size: 14px; color: var(--text-dim); max-width: 600px; margin: 0 auto;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .comparison-grid { grid-template-columns: 1fr; }

  /* Reflow timeline from absolute-positioned dots to a stacked vertical layout */
  .compare-timeline { overflow: hidden; }
  .timeline-bar {
    height: auto; background: none; margin: 24px 0 32px; display: flex;
    flex-direction: column; gap: 0; position: static;
  }
  .timeline-event {
    position: static !important; transform: none !important;
    left: auto !important;
    display: flex; align-items: center; gap: 12px; padding: 10px 0;
    border-left: 2px solid var(--border); margin-left: 7px; padding-left: 16px;
  }
  .timeline-dot {
    margin: 0; flex-shrink: 0; width: 12px; height: 12px;
    position: static;
  }
  .timeline-label {
    white-space: normal; text-align: left; font-size: 13px;
  }
  .timeline-label { display: flex; flex-wrap: wrap; gap: 0 6px; }
}

/* ===== INFORMATION GAP EXPANDED ===== */
.info-gap-section { margin-top: 64px; }
.info-gap-headline { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.info-gap-headline h2 { font-size: 32px; font-weight: 900; margin-bottom: 12px; }
.info-gap-headline p { font-size: 16px; color: var(--text-dim); line-height: 1.7; }

/* Simplified timeline bar */
.info-gap-timeline { max-width: 800px; margin: 0 auto 16px; padding: 0 24px; }
.info-gap-bar {
  position: relative; height: 6px; border-radius: 3px; overflow: hidden;
  background: var(--border); margin-bottom: 0;
}
.gap-zone { position: absolute; top: 0; height: 100%; }
.gap-zone-green { background: linear-gradient(90deg, var(--gold), var(--green)); opacity: 0.6; border-radius: 3px 0 0 3px; }
.gap-zone-dim { background: linear-gradient(90deg, transparent, rgba(239,68,68,0.15)); }
.gap-markers {
  position: relative; height: 28px; max-width: 800px; margin: 0 auto; padding: 0 24px;
}
.gap-marker { position: absolute; transform: translateX(-50%); top: 0; }
.gap-dot {
  width: 12px; height: 12px; border-radius: 50%; background: var(--text-muted);
  margin-top: -3px;
}
.gap-dot.gold-dot { background: var(--gold); box-shadow: 0 0 10px rgba(232,168,69,0.5); }
.gap-dot.green-dot { background: var(--green); box-shadow: 0 0 10px rgba(34,197,94,0.5); }
.gap-dot.blue-dot { background: var(--blue); }
.gap-dot.red-dot { background: var(--red); box-shadow: 0 0 10px rgba(239,68,68,0.4); }
.gap-label-row {
  display: flex; justify-content: space-between; max-width: 800px; margin: 8px auto 0;
  padding: 0 24px; font-size: 13px; color: var(--text-dim);
}
.gap-label-left { text-align: left; }
.gap-label-right { text-align: right; }
.gap-caption {
  text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 16px;
  font-style: italic;
}

@media (max-width: 768px) {
  .gap-label-row { flex-direction: column; gap: 4px; text-align: center; }
  .gap-label-left, .gap-label-right { text-align: center; }
}

/* Trade Example */
.trade-example {
  max-width: 800px; margin: 56px auto 0; padding: 40px 36px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
  position: relative;
}
.trade-example-badge {
  display: inline-block; background: rgba(232,168,69,0.12); border: 1px solid rgba(232,168,69,0.25);
  color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: 1.5px;
  padding: 4px 14px; border-radius: 100px; margin-bottom: 16px;
}
.trade-example-title { font-size: 22px; font-weight: 900; margin-bottom: 8px; }
.trade-example-sub { font-size: 13px; color: var(--text-dim); margin-bottom: 36px; }

/* Vertical trade timeline */
.trade-timeline { position: relative; padding-left: 0; }
.trade-step {
  display: grid; grid-template-columns: 100px 1fr; gap: 20px;
  padding-bottom: 32px; position: relative;
}
.trade-step:last-child { padding-bottom: 0; }
.trade-step::before {
  content: ''; position: absolute; left: 50px; top: 28px; bottom: 0;
  width: 2px; background: var(--border);
}
.trade-step:last-child::before { display: none; }
.trade-step-marker {
  display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; z-index: 1;
}
.trade-step-marker::before {
  content: ''; width: 14px; height: 14px; border-radius: 50%;
  background: var(--marker-color, var(--text-muted)); flex-shrink: 0;
}
.gold-marker { --marker-color: var(--gold); }
.gold-marker::before { box-shadow: 0 0 14px rgba(232,168,69,0.5); }
.green-marker { --marker-color: var(--green); }
.green-marker::before { box-shadow: 0 0 14px rgba(34,197,94,0.5); }
.red-marker { --marker-color: var(--red); }
.red-marker::before { box-shadow: 0 0 14px rgba(239,68,68,0.4); }
.trade-step-day { font-size: 11px; font-weight: 700; color: var(--text-dim); white-space: nowrap; }
.trade-step-content { padding-top: 0; }
.trade-step-title { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.trade-step-desc { font-size: 14px; color: var(--text-dim); line-height: 1.7; }

/* Result comparison */
.trade-result-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 40px 0 24px;
}
.trade-result-card {
  padding: 24px; border-radius: 12px; text-align: center;
}
.green-result {
  background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.2);
}
.red-result {
  background: rgba(239,68,68,0.06); border: 1px solid rgba(239,68,68,0.15);
}
.trade-result-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-dim); margin-bottom: 10px; }
.trade-result-entry { font-size: 13px; color: var(--text-dim); margin-bottom: 8px; }
.trade-result-gain { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.green-result .trade-result-gain { color: var(--green); }
.red-result .trade-result-gain { color: var(--text-dim); }
.trade-result-pct { font-size: 32px; font-weight: 900; }
.green-result .trade-result-pct { color: var(--green); }
.red-result .trade-result-pct { color: var(--red); }

.trade-punchline {
  text-align: center; font-size: 15px; color: var(--text-dim); line-height: 1.8;
  padding: 20px 0 0; border-top: 1px solid var(--border); margin-top: 8px;
}
.trade-punchline strong { color: var(--text); font-size: 16px; }

@media (max-width: 768px) {
  .trade-example { padding: 24px 20px; }
  .trade-step { grid-template-columns: 70px 1fr; gap: 12px; }
  .trade-step::before { left: 35px; }
  .trade-result-grid { grid-template-columns: 1fr; }
  .trade-result-pct { font-size: 28px; }
  .info-gap-headline h2 { font-size: 26px; }
}

/* ===== COINCIDENCE SCORE ===== */
.coincidence-story { max-width: 720px; margin: 0 auto; }
.coincidence-card-single {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 36px; position: relative;
}
.coincidence-narrative { position: relative; }
.cn-step {
  display: flex; gap: 20px; padding: 16px 0;
}
.cn-num {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800; font-family: var(--mono);
  background: rgba(139,92,246,0.15); color: #a78bfa;
  border: 2px solid rgba(139,92,246,0.3);
}
.cn-content { flex: 1; }
.cn-date {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  color: var(--text-muted); margin-bottom: 6px;
}
.cn-text { font-size: 15px; color: var(--text-dim); line-height: 1.7; }
.cn-connector {
  width: 2px; height: 20px; background: rgba(139,92,246,0.2);
  margin-left: 17px;
}
.highlight-step {
  background: rgba(139,92,246,0.06); border: 1px solid rgba(139,92,246,0.2);
  border-radius: 12px; padding: 20px; margin-top: 4px;
}
.highlight-step .cn-num {
  background: rgba(139,92,246,0.25); border-color: rgba(139,92,246,0.5);
  font-size: 18px;
}
.cn-factors {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px;
}
.cf {
  padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 600;
  background: rgba(139,92,246,0.15); color: #a78bfa;
}
.cf.dim { background: rgba(139,143,163,0.08); color: var(--text-muted); }

.coincidence-bottom {
  max-width: 720px; margin: 32px auto 0; text-align: center;
}
.coincidence-kicker {
  font-size: 16px; color: var(--text-dim); line-height: 1.7;
}

/* ===== FACTORS ===== */
.factors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-bottom: 40px; }
.factor-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px;
  padding: 28px; transition: border-color .2s;
}
.factor-card:hover { border-color: var(--gold-dim); }
.factor-icon { font-size: 28px; margin-bottom: 12px; }
.factor-name { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.factor-desc { font-size: 14px; color: var(--text-dim); line-height: 1.6; margin-bottom: 12px; }
.factor-weight {
  font-size: 12px; font-weight: 700; color: var(--gold); font-family: var(--mono);
  border-top: 1px solid var(--border); padding-top: 12px;
}

.score-scale { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.scale-item { padding: 10px 20px; border-radius: 10px; font-size: 13px; font-weight: 700; }
.scale-item.strong-buy { background: var(--green-dim); color: var(--green); }
.scale-item.buy { background: rgba(232,168,69,0.15); color: var(--gold); }
.scale-item.watch { background: var(--blue-dim); color: var(--blue); }
.scale-item.hold { background: rgba(139,143,163,0.1); color: var(--text-muted); }
.scale-item.avoid { background: var(--red-dim); color: var(--red); }

/* ===== PICK CARDS ===== */
.picks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; padding: 0 24px; }
.pick-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
  padding: 28px; transition: all .2s;
}
.pick-card:hover { border-color: var(--gold-dim); transform: translateY(-2px); }
.pick-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.pick-ticker { font-size: 24px; font-weight: 900; font-family: var(--mono); }
.pick-company { font-size: 13px; color: var(--text-dim); }
.pick-contract {
  display: inline-block; padding: 6px 12px; background: rgba(232,168,69,0.1);
  border-radius: 8px; font-size: 12px; color: var(--gold); font-weight: 600; margin-bottom: 16px;
}
.pick-factors { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.pick-factor {
  display: flex; justify-content: space-between; font-size: 12px; color: var(--text-dim);
  padding: 6px 0; border-bottom: 1px solid var(--border);
}
.pick-factor-score { font-family: var(--mono); font-weight: 700; color: var(--text); }
.pick-bar { height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; margin-bottom: 16px; }
.pick-bar-fill { height: 100%; border-radius: 3px; transition: width .5s; }
.pick-alert-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; margin-bottom: 12px; border-bottom: 1px solid var(--border);
}
.pick-alert-date { font-size: 12px; color: var(--text-dim); }
.pick-alert-date strong { color: var(--gold); }
.pick-prices { display: flex; gap: 16px; font-family: var(--mono); font-size: 13px; }
.pick-price-entry { color: var(--text-dim); }
.pick-price-current { font-weight: 700; }
.pick-price-current.up { color: var(--green); }
.pick-price-current.down { color: var(--red); }
.pick-blurb {
  font-size: 13px; color: var(--text-dim); line-height: 1.6;
  margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.pick-bottom { display: flex; justify-content: space-between; align-items: center; }

/* ===== MEMBERSHIP GRID ===== */
.membership-layout {
  display: grid; grid-template-columns: 1fr 300px; gap: 32px;
  max-width: 1200px; margin: 0 auto 48px; padding: 0 24px;
  align-items: start;
}
.membership-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  min-height: 100%;
}
.membership-sidebar {
  position: sticky; top: 80px; align-self: start;
  height: fit-content;
}
.membership-sidebar-inner {
  background: var(--bg-card); border: 1px solid var(--border-gold); border-radius: 16px;
  padding: 28px 24px; text-align: center;
}
.membership-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px;
  padding: 28px 24px; transition: border-color 0.2s, transform 0.2s;
}
.membership-card:hover { border-color: var(--border-gold); transform: translateY(-2px); }
.membership-card.card-highlight {
  border-color: rgba(34,197,94,0.3); background: linear-gradient(135deg, var(--bg-card), rgba(34,197,94,0.04));
  grid-column: span 2;
}
.membership-icon { font-size: 28px; margin-bottom: 12px; }
.membership-label {
  font-size: 10px; font-weight: 800; letter-spacing: 1.5px; color: var(--text-muted);
  text-transform: uppercase; margin-bottom: 8px;
}
.membership-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 10px; line-height: 1.3; }
.membership-card p { font-size: 13px; color: var(--text-dim); line-height: 1.7; margin-bottom: 14px; }
.membership-tag {
  display: inline-block; font-size: 11px; font-weight: 700; color: var(--text-muted);
  padding: 4px 10px; border-radius: 100px; background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
}
.membership-tag.green-tag { color: var(--green); background: rgba(34,197,94,0.08); border-color: rgba(34,197,94,0.2); }
.membership-tag.blue-tag { color: var(--blue); background: rgba(59,130,246,0.08); border-color: rgba(59,130,246,0.2); }
.membership-tag.gold-tag { color: var(--gold); background: rgba(232,168,69,0.08); border-color: rgba(232,168,69,0.2); }

.membership-cta {
  text-align: center; max-width: 700px; margin: 0 auto; padding: 0 24px;
}
.membership-cta > p:first-child { font-size: 16px; color: var(--text-dim); margin-bottom: 24px; }
.membership-cta-row {
  display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap;
}
.membership-form {
  display: flex; gap: 8px;
}
.membership-form input {
  padding: 12px 16px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; color: var(--text); font-size: 14px; width: 260px;
  font-family: var(--font);
}
.membership-form input:focus { outline: none; border-color: var(--gold); }
.btn-outline {
  display: inline-flex; align-items: center; padding: 12px 24px;
  border: 1px solid var(--border-gold); border-radius: 10px;
  color: var(--gold); font-weight: 700; font-size: 14px;
  text-decoration: none; transition: all 0.2s;
}
.btn-outline:hover { background: rgba(232,168,69,0.08); }
.newsletter-note { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 16px; }

@media (max-width: 1024px) {
  .membership-layout { grid-template-columns: 1fr 280px; gap: 24px; }
  .membership-grid { grid-template-columns: repeat(2, 1fr); }
  .membership-card.card-highlight { grid-column: span 2; }
}
@media (max-width: 768px) {
  .membership-layout { grid-template-columns: 1fr; }
  .membership-grid { grid-template-columns: 1fr; }
  .membership-card.card-highlight { grid-column: span 1; }
  .membership-sidebar { position: static; }
  .membership-form { flex-direction: column; width: 100%; }
  .membership-form input { width: 100%; }
  .membership-cta-row { flex-direction: column; }
}

/* ===== FOOTER ===== */
.footer { border-top: 1px solid var(--border); padding: 60px 24px 40px; }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-brand { margin-bottom: 24px; }
.footer-brand p { color: var(--text-dim); font-size: 14px; margin-top: 8px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.footer-links a { color: var(--text-dim); text-decoration: none; font-size: 13px; }
.footer-links a:hover { color: var(--gold); }
.footer-disclaimer {
  font-size: 11px; color: var(--text-muted); line-height: 1.7; max-width: 800px;
  border-top: 1px solid var(--border); padding-top: 24px; margin-bottom: 24px;
}
.footer-copy { font-size: 12px; color: var(--text-muted); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile { display: block; }
  .hero { padding: 100px 20px 60px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .backtest-grid { grid-template-columns: 1fr; padding: 0 16px; }
  .newsletter-wrap { grid-template-columns: 1fr; gap: 32px; }
  .picks-grid { grid-template-columns: 1fr; padding: 0 16px; }
  .factors-grid { grid-template-columns: 1fr; }
  .score-scale { flex-direction: column; align-items: center; }

  /* Prevent all horizontal overflow on mobile */
  .section { padding: 60px 16px; overflow-x: clip; }
  .section-dark { overflow-x: clip; }
  .scoreboard-table-wrap { margin: 0 -16px; border-radius: 0; border-left: none; border-right: none; }
  .hero h1 { font-size: 28px; letter-spacing: -1px; }
  .hero-sub { font-size: 16px; }
  .section-header h2 { font-size: 28px; }
  .stat-num { font-size: 28px; }
  .hero-cta-group { flex-direction: column; align-items: center; }
  .hero-signup-form { flex-direction: column; }
  .hero-email-input { width: 100%; }
  .btn { width: 100%; text-align: center; }
}
