/* ──────────────────────────────────────────────────────────────
   ArbDetector — Design System
   Palette: Light Beige + Original Green + Amber
   Typography: Space Grotesk (display) + DM Mono (data)
   ────────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=DM+Mono:wght@400;500&display=swap');

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

:root {
  /* ── Backgrounds */
  --bg:        #fafaf8;
  --bg2:       #f4f3ef;
  --bg3:       #eeedea;
  --bg4:       #e5e3dc;

  /* ── Borders */
  --border:    #e5e3dc;
  --border2:   #c8c5bb;
  --border3:   #a8a49a;

  /* ── Green accent (original) */
  --accent:    #16a34a;
  --accent2:   #15803d;
  --adim:      #f0fdf4;
  --aborder:   #bbf7d0;

  /* ── Amber / gold for secondary highlights */
  --amber:     #d97706;
  --amber-dim: #fef3c7;
  --amber-bdr: #fde68a;

  /* ── Profit / Loss */
  --profit:    #15803d;
  --pbg:       #dcfce7;
  --danger:    #dc2626;
  --warn:      #d97706;

  /* ── Text */
  --text:      #111827;
  --text2:     #6b7280;
  --text3:     #9ca3af;
  --text4:     #d1d5db;

  /* ── Cards */
  --card:      #ffffff;
  --card2:     #f9fafb;

  /* ── Fonts */
  --display: 'Space Grotesk', sans-serif;
  --body:    'Space Grotesk', sans-serif;
  --mono:    'DM Mono', 'Courier New', monospace;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* ─── UTILITY: SR-ONLY (accessibility) */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ─── SCROLL BAR */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--bg4); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--border3); }

/* ─── FADE-IN ANIMATION */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-d1 { transition-delay: .1s; }
.fade-in-d2 { transition-delay: .2s; }
.fade-in-d3 { transition-delay: .3s; }

/* ─── GLOW KEYFRAMES */
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.25;transform:scale(.7)} }
@keyframes bounce { 0%,100%{transform:rotate(45deg) translateY(0)} 50%{transform:rotate(45deg) translateY(6px)} }
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }
@keyframes fadeUp { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:none} }
@keyframes glow-pulse { 0%,100%{box-shadow: 0 0 0 2px var(--aborder)} 50%{box-shadow: 0 0 0 3px var(--aborder), 0 4px 16px rgba(22,163,74,.12)} }

/* ═══════════════════════════════════════════════════════════════
   LANDING PAGE STYLES
═══════════════════════════════════════════════════════════════ */

/* ─── NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 52px; height: 64px;
  background: rgba(250,250,248,.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
nav.scrolled {
  box-shadow: 0 1px 16px rgba(0,0,0,.07);
}

.n-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.ndot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px rgba(22,163,74,.5);
  animation: pulse 1.8s ease-in-out infinite;
}
.n-name { font-family: var(--display); font-size: 17px; font-weight: 700; color: var(--text); letter-spacing: -.03em; }
.n-beta {
  font-size: 10px; background: var(--adim); color: var(--accent);
  border: 1px solid var(--aborder); border-radius: 4px;
  padding: 2px 8px; letter-spacing: .08em; font-family: var(--mono); font-weight: 500;
}

.n-links { display: flex; gap: 36px; }
.n-link {
  font-size: 13px; font-weight: 500; color: var(--text3);
  cursor: pointer; transition: color .2s; position: relative; padding-bottom: 2px;
  font-family: var(--display);
  /* Reset button styles */
  background: none; border: none; outline: none;
}
.n-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1.5px; background: var(--accent);
  transition: width .25s; border-radius: 2px;
  box-shadow: 0 0 6px rgba(0,217,126,.5);
}
.n-link:hover { color: var(--text2); }
.n-link.active { color: var(--text); }
.n-link.active::after { width: 100%; }

/* ─── HAMBURGER BUTTON */
.n-hamburger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px; padding: 7px;
  background: none; border: 1px solid var(--border); border-radius: 7px;
  cursor: pointer; transition: background .15s, border-color .15s;
  flex-shrink: 0;
}
.n-hamburger:hover { background: var(--bg2); border-color: var(--border2); }
.n-hamburger span {
  display: block; height: 1.5px; background: var(--text2);
  border-radius: 2px; transition: transform .25s, opacity .25s;
}
.n-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.n-hamburger.open span:nth-child(2) { opacity: 0; }
.n-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── MOBILE NAV MENU */
.n-mobile-menu {
  display: none; /* shown by JS .open class */
  position: fixed; top: 64px; left: 0; right: 0; z-index: 99;
  background: rgba(250,250,248,.98); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  flex-direction: column; padding: 12px 20px 20px;
  gap: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
  animation: slideDown .2s ease;
}
.n-mobile-menu.open { display: flex; }
@keyframes slideDown { from{opacity:0;transform:translateY(-8px)} to{opacity:1;transform:none} }
.nm-link {
  font-size: 15px; font-weight: 500; color: var(--text2);
  padding: 12px 14px; border-radius: 10px; text-align: left;
  background: none; border: none; cursor: pointer;
  font-family: var(--display); transition: background .15s, color .15s;
}
.nm-link:hover { background: var(--bg2); color: var(--text); }
.nm-cta {
  display: block; margin-top: 8px; padding: 13px 20px;
  background: var(--text); color: #fff; border-radius: 10px;
  font-size: 14px; font-weight: 600; font-family: var(--display);
  text-align: center; text-decoration: none;
  transition: background .15s;
}
.nm-cta:hover { background: #1f2937; }

.n-cta {
  font-size: 13px; font-weight: 600;
  background: var(--text); color: #fff;
  border: none; border-radius: 8px; padding: 9px 22px;
  cursor: pointer; font-family: var(--display);
  transition: all .18s; letter-spacing: -.01em;
}
.n-cta:hover { background: #1f2937; transform: translateY(-1px); }

/* ─── HERO */
.hero-wrap {
  position: relative; width: 100%; min-height: 640px;
  background: linear-gradient(to bottom, #ffffff, var(--bg2));
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.beams-canvas { position: absolute; inset: 0; pointer-events: none; width: 100%; height: 100%; }
.beam-floor {
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: var(--border);
  box-shadow: 0 0 24px rgba(34,42,53,.06), 0 1px 1px rgba(0,0,0,.04);
}

.hero-content {
  position: relative; z-index: 10; text-align: center;
  padding: 100px 48px 80px; max-width: 900px; margin: 0 auto; width: 100%;
}

.h-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--adim); border: 1px solid var(--aborder);
  border-radius: 100px; padding: 6px 18px;
  font-size: 11px; color: var(--accent); letter-spacing: .08em;
  margin-bottom: 36px; font-family: var(--mono); font-weight: 500;
  animation: heroReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}
.h-bdot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); animation: pulse 1.8s ease-in-out infinite; box-shadow: 0 0 6px rgba(0,217,126,.8); }

.h-title {
  font-family: var(--display); font-size: 78px; font-weight: 700;
  line-height: 1; letter-spacing: -.045em; margin-bottom: 22px; color: var(--text);
  animation: heroReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}
.h-title em {
  color: transparent;
  background: linear-gradient(135deg, var(--accent) 0%, #4ade80 55%, var(--amber) 100%);
  -webkit-background-clip: text; background-clip: text;
  font-style: normal;
}

.h-kicker {
  font-size: 19px; font-weight: 400; color: var(--text2);
  margin-bottom: 20px; line-height: 1.6; letter-spacing: -.01em;
  animation: heroReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}
.h-kicker strong { color: var(--text); font-weight: 600; }

.h-sub {
  font-size: 15px; color: var(--text3); line-height: 1.9;
  max-width: 480px; margin: 0 auto 52px;
  animation: heroReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.h-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; animation: heroReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both; }

.btn-pri {
  font-size: 14px; font-weight: 600; background: var(--text); color: #fff;
  border: none; border-radius: 10px; padding: 14px 32px; cursor: pointer;
  font-family: var(--display); transition: all .2s;
  display: inline-flex; align-items: center; gap: 8px; letter-spacing: -.01em;
}
.btn-pri:hover { background: #1f2937; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }

.btn-sec {
  font-size: 14px; font-weight: 500; background: transparent;
  color: var(--text2); border: 1px solid var(--border2); border-radius: 10px;
  padding: 14px 32px; cursor: pointer; font-family: var(--display); transition: all .2s;
}
.btn-sec:hover { color: var(--text); border-color: var(--text2); background: #fff; }

/* ─── HERO STATS */
.h-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(8px);
}
.h-stat {
  padding: 24px 20px; border-right: 1px solid var(--border);
  text-align: center; transition: background .2s;
}
.h-stat:hover { background: var(--card2); }
.h-stat:last-child { border-right: none; }
.h-stat-val {
  font-family: var(--mono); font-size: 26px; font-weight: 500;
  color: var(--accent); letter-spacing: -.03em;
}
.h-stat-lbl { font-size: 9px; color: var(--text3); letter-spacing: .12em; font-weight: 600; margin-top: 5px; font-family: var(--mono); text-transform: uppercase; }

.scroll-hint {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  margin-top: 52px; cursor: pointer; opacity: .3; transition: opacity .2s;
  animation: heroReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}
.scroll-hint:hover { opacity: .7; }
.scroll-hint span { font-size: 10px; color: var(--text3); letter-spacing: .12em; font-weight: 500; font-family: var(--mono); }
.scroll-arrow {
  width: 18px; height: 18px;
  border-right: 1.5px solid var(--text3); border-bottom: 1.5px solid var(--text3);
  transform: rotate(45deg); animation: bounce 1.8s ease-in-out infinite;
}

@keyframes heroReveal {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ─── SECTION SHARED */
.sec-pad { padding: 100px 52px; max-width: 1120px; margin: 0 auto; }
.eyebrow {
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  color: var(--accent); letter-spacing: .18em; margin-bottom: 12px;
  text-transform: uppercase;
}
.sec-title {
  font-family: var(--display); font-size: 40px; font-weight: 700;
  letter-spacing: -.05em; line-height: 1.05; color: var(--text); margin-bottom: 14px;
}
.sec-title em { color: var(--accent); font-style: normal; }
.sec-sub { font-size: 15px; color: var(--text2); line-height: 1.85; letter-spacing: .01em; }

.section-divider {
  border: none; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border2) 30%, var(--border2) 70%, transparent);
}

/* ─── HOW IT WORKS */
.hiw-bg { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.steps {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 0; margin-top: 52px;
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
}
.step {
  padding: 36px 32px; border-right: 1px solid var(--border);
  background: var(--card); transition: background .25s; position: relative;
  overflow: hidden;
}
.step::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--amber));
  opacity: 0; transition: opacity .3s;
}
.step:last-child { border-right: none; }
.step:hover { background: var(--card2); }
.step:hover::before { opacity: 1; }

.step-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--adim); border: 1px solid var(--aborder);
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
}
.step-icon svg { width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.step-num {
  position: absolute; top: 28px; right: 28px;
  font-family: var(--mono); font-size: 10px; color: var(--text4); font-weight: 600;
  letter-spacing: .06em;
}
.step-title { font-family: var(--display); font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 10px; letter-spacing: -.025em; }
.step-desc { font-size: 13px; color: var(--text2); line-height: 1.85; letter-spacing: .005em; }

/* ─── MATH SECTION */
.math-bg { background: var(--bg); border-bottom: 1px solid var(--border); }
.math-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }

.math-box {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.04);
}
.mb-header {
  padding: 14px 22px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,.02);
}
.mb-hl { font-family: var(--mono); font-size: 10px; color: var(--text3); letter-spacing: .1em; font-weight: 500; }
.mb-tag { font-size: 10px; color: var(--accent); background: var(--adim); border: 1px solid var(--aborder); border-radius: 4px; padding: 2px 8px; font-family: var(--mono); }

.mb-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 22px; border-bottom: 1px solid var(--border);
}
.mb-row:last-of-type { border-bottom: none; }
.mb-row.res { background: rgba(0,217,126,.06); }
.mb-row.res-bad { background: rgba(255,77,109,.06); }
.mb-lbl { font-size: 13px; color: var(--text2); }
.mb-val { font-family: var(--mono); font-size: 14px; color: var(--text); font-weight: 500; }
.mb-val.profit { color: var(--profit); font-size: 22px; font-weight: 600; }
.mb-val.loss { color: var(--danger); font-size: 22px; font-weight: 600; }
.mb-input {
  font-family: var(--mono); font-size: 14px; color: var(--text); font-weight: 500;
  background: var(--bg3); border: 1px solid var(--border2); border-radius: 6px;
  padding: 5px 10px; width: 84px; outline: none; text-align: right;
  transition: border-color .18s, box-shadow .18s;
}
.mb-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,217,126,.1); }
.math-note { font-size: 12px; color: var(--text3); padding: 12px 22px; border-top: 1px solid var(--border); font-family: var(--mono); }

.hcards { display: flex; flex-direction: column; gap: 14px; }
.hcard {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 20px; transition: border-color .2s, transform .2s, background .2s;
}
.hcard:hover { border-color: var(--border2); transform: translateX(5px); background: var(--card2); }
.hcard-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.hbadge {
  width: 26px; height: 26px; border-radius: 7px;
  background: var(--adim); border: 1px solid var(--aborder);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--accent);
  flex-shrink: 0;
}
.hcard-title { font-family: var(--display); font-size: 14px; font-weight: 600; color: var(--text); letter-spacing: -.025em; }
.hcard-desc { font-size: 13px; color: var(--text2); line-height: 1.8; letter-spacing: .005em; }

/* ─── TEASER / LIVE DASHBOARD SECTION */
.teaser-bg { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.teaser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }

.tbox {
  background: var(--card); border: 1px solid var(--border); border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.04);
}
.tbox-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px; border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.025);
}
.tb-brand { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--text2); font-family: var(--mono); }
.tb-live { font-family: var(--mono); font-size: 10px; color: var(--accent); background: var(--adim); border: 1px solid var(--aborder); border-radius: 4px; padding: 3px 10px; letter-spacing: .06em; }
.tb-demo { font-family: var(--mono); font-size: 10px; color: var(--text3); background: var(--bg3); border: 1px solid var(--border); border-radius: 4px; padding: 3px 10px; }
.tbox-inner { padding: 16px; }
.tcards { display: flex; flex-direction: column; gap: 12px; }
.tcard {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 12px;
  padding: 18px; position: relative; overflow: hidden; transition: all .2s;
}
.tcard:hover { border-color: var(--border2); transform: translateY(-2px); }
.tcard.best { border-color: var(--aborder); }
.tcard.best::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--accent), var(--amber)); }
.tc-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 2px; }
.tc-hot {
  font-family: var(--mono); font-size: 10px; color: var(--accent);
  background: var(--adim); border: 1px solid var(--aborder);
  border-radius: 4px; padding: 2px 8px; font-weight: 500;
}
.tc-pct {
  font-family: var(--mono); font-size: 42px; font-weight: 500;
  line-height: 1; letter-spacing: -.05em; color: var(--accent); margin-bottom: 4px;
}
.tc-pct.dim { font-size: 30px; color: rgba(22,163,74,.45); }
.tc-name { font-size: 13px; color: var(--text2); margin-bottom: 10px; line-height: 1.5; font-family: var(--display); }
.tc-bar { background: var(--bg3); border-radius: 4px; height: 3px; margin-bottom: 12px; overflow: hidden; }
.tc-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--accent), var(--amber)); }
.tc-pills { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.tc-pill {
  background: var(--bg3); border: 1px solid var(--border); border-radius: 5px;
  padding: 3px 9px; font-size: 11px; color: var(--text3); font-family: var(--mono);
}
.tc-pill b { color: var(--text2); font-weight: 500; }
.tc-hint { font-size: 12px; color: var(--text2); font-weight: 500; font-family: var(--mono); }
.tc-hint span { color: var(--profit); font-weight: 600; }

/* ─── WAITLIST */
.wl-bg {
  border-top: 1px solid var(--border);
  background: var(--text);
}
.wl-inner { max-width: 580px; margin: 0 auto; text-align: center; padding: 80px 24px 48px; }
.wl-eye { font-family: var(--mono); font-size: 10px; font-weight: 600; color: rgba(255,255,255,.3); letter-spacing: .18em; margin-bottom: 16px; text-transform: uppercase; }
.wl-title { font-family: var(--display); font-size: 44px; font-weight: 700; letter-spacing: -.05em; line-height: 1.0; margin-bottom: 16px; color: #fff; }
.wl-title em { color: #86efac; font-style: normal; }
.wl-sub { font-size: 15px; color: rgba(255,255,255,.5); line-height: 1.85; margin-bottom: 40px; letter-spacing: .01em; }
.wl-form {
  display: flex; gap: 10px; max-width: 420px; margin: 0 auto 14px;
  flex-wrap: wrap; justify-content: center; transition: opacity .3s ease;
}
.wl-inp {
  flex: 1; min-width: 200px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px; padding: 13px 18px; font-size: 14px; color: #fff;
  font-family: var(--body); outline: none; transition: border-color .18s;
}
.wl-inp:focus { border-color: rgba(255,255,255,.4); }
.wl-inp::placeholder { color: rgba(255,255,255,.25); }
.wl-btn {
  background: #fff; color: var(--text); border: none;
  border-radius: 10px; padding: 13px 28px; font-size: 13px; font-weight: 700;
  cursor: pointer; font-family: var(--display); transition: all .18s; white-space: nowrap;
}
.wl-btn:hover { background: #f9fafb; transform: translateY(-1px); }
.wl-note { font-size: 12px; color: rgba(255,255,255,.25); font-family: var(--mono); transition: opacity .3s ease; }
.wl-ok { font-size: 14px; color: #86efac; font-weight: 600; display: none; margin-top: 12px; animation: fadeUp .4s ease; }

/* ─── FOOTER */
footer {
  padding: 48px 52px 36px; background: var(--text); color: #fff;
}
.f-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  flex-wrap: wrap; gap: 40px; margin-bottom: 32px; padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.f-brand-wrap { max-width: 280px; }
.f-brand-wrap .f-brand {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--display); font-size: 16px; font-weight: 700;
  letter-spacing: -.02em; margin-bottom: 8px; color: #fff;
}
.f-tagline { font-size: 14px; color: rgba(255,255,255,.65); margin-bottom: 6px; font-weight: 500; }
.f-desc { font-size: 12px; color: rgba(255,255,255,.35); line-height: 1.7; margin-bottom: 20px; font-family: var(--display); letter-spacing: .01em; }
.f-links-group { display: flex; gap: 48px; }
.f-link-col { display: flex; flex-direction: column; gap: 10px; }
.f-link-title { font-size: 10px; font-weight: 600; color: rgba(255,255,255,.3); letter-spacing: .12em; font-family: var(--mono); margin-bottom: 4px; text-transform: uppercase; }
.f-link {
  font-size: 13px; color: rgba(255,255,255,.65); cursor: pointer; transition: color .15s;
  font-family: var(--display); text-decoration: none; display: inline;
  background: none; border: none; padding: 0; text-align: left;
}
.f-link:hover { color: #fff; }
.f-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.f-bottom-right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.f-legal { display: flex; align-items: center; gap: 6px; }
.f-legal-link { font-size: 11px; color: rgba(255,255,255,.3); font-family: var(--mono); text-decoration: none; transition: color .15s; }
.f-legal-link:hover { color: rgba(255,255,255,.7); }
.f-legal-sep { font-size: 11px; color: rgba(255,255,255,.2); }
.f-note { font-size: 12px; color: rgba(255,255,255,.4); font-family: var(--mono); letter-spacing: .01em; }
.f-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.f-badge {
  font-size: 10px; font-family: var(--mono); color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.1);
  border-radius: 4px; padding: 3px 9px; letter-spacing: .05em;
}
.f-badge.live { color: #86efac; background: rgba(134,239,172,.1); border-color: rgba(134,239,172,.2); }

/* ─── SOCIAL ICON STRIP (lives inside .f-brand-wrap) */
.f-social-strip {
  display: flex; align-items: center; gap: 8px;
}
.f-social-btn {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.6); text-decoration: none;
  transition: all .18s; flex-shrink: 0;
}
.f-social-btn:hover {
  background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2);
  color: #fff; transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
}
.f-social-icon {
  width: 16px; height: 16px; flex-shrink: 0;
}
/* Tooltip */
.f-social-tip {
  position: absolute; bottom: calc(100% + 8px); left: 50%;
  transform: translateX(-50%);
  background: #fff; color: var(--text);
  font-size: 11px; font-family: var(--mono); font-weight: 500;
  padding: 4px 9px; border-radius: 5px; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity .15s, transform .15s;
  transform: translateX(-50%) translateY(4px);
}
.f-social-btn:hover .f-social-tip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
/* Tooltip arrow */
.f-social-tip::after {
  content: ''; position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: #fff;
}

/* ─── MOCK MODE BANNER */
.mock-banner {
  display: none; align-items: center; gap: 9px;
  padding: 9px 28px; font-size: 12px;
  background: #fffbeb; border-bottom: 1px solid #fde68a;
  color: #92400e; font-family: var(--mono);
}
.mock-banner svg { flex-shrink: 0; stroke: #d97706; }
.mock-banner strong { font-weight: 600; }

/* ─── CALCULATOR VALIDATION */
#m-validation {
  display: none;
  font-size: 11px; color: var(--warn); font-family: var(--mono);
  padding: 6px 22px 0; font-weight: 500;
}

/* ─── TRADE LINKS ON OPPORTUNITY CARDS */
.oc-trade-links {
  display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap;
}
.oc-trade-btn {
  font-size: 11px; font-family: var(--mono); font-weight: 500;
  color: var(--text3); background: var(--bg3); border: 1px solid var(--border);
  border-radius: 5px; padding: 4px 10px; text-decoration: none;
  transition: all .15s; white-space: nowrap;
}
.oc-trade-btn:hover {
  color: var(--accent); border-color: var(--aborder); background: var(--adim);
}
/* ═══════════════════════════════════════════════════════════════
   DASHBOARD STYLES
═══════════════════════════════════════════════════════════════ */

/* ─── DASHBOARD NAV */
.dnav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px; height: 56px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100; transition: box-shadow .2s;
}
.dnav.scrolled { box-shadow: 0 1px 12px rgba(0,0,0,.06); }
.dn-left { display: flex; align-items: center; gap: 16px; }
.dn-back {
  font-size: 13px; color: var(--text3); cursor: pointer;
  display: flex; align-items: center; gap: 6px; transition: color .15s;
  font-weight: 500; padding: 6px 12px; border-radius: 6px; text-decoration: none;
  font-family: var(--display);
}
.dn-back:hover { color: var(--text2); background: var(--card); }
.dn-sep { width: 1px; height: 16px; background: var(--border2); }
.dn-brand { display: flex; align-items: center; gap: 8px; }
.dn-name { font-family: var(--display); font-size: 14px; font-weight: 700; color: var(--text); letter-spacing: -.02em; }
.dn-right { display: flex; align-items: center; gap: 10px; }
.dpill {
  font-size: 11px; padding: 4px 10px; border-radius: 5px;
  border: 1px solid var(--border); color: var(--text3);
  font-family: var(--mono); font-weight: 500;
}
.dpill.live { border-color: var(--aborder); color: var(--accent); background: var(--adim); }
.dcd { font-size: 12px; color: var(--text3); font-family: var(--mono); }
.pause-btn {
  background: transparent; border: 1px solid var(--border2); border-radius: 6px;
  padding: 6px 14px; font-size: 12px; color: var(--text2);
  cursor: pointer; font-family: var(--mono); font-weight: 500; transition: all .15s;
}
.pause-btn:hover { color: var(--text); border-color: var(--border3); background: var(--card); }
.pause-btn.on { border-color: var(--amber-bdr); color: var(--amber); }

/* ─── STAT BAR */
.stat-bar {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
  border-bottom: 1px solid var(--border); background: var(--bg2);
}
.sb-item {
  padding: 18px 28px; border-right: 1px solid var(--border);
  transition: background .15s; cursor: default;
}
.sb-item:hover { background: var(--card); }
.sb-item:last-child { border-right: none; }
.sb-label { font-size: 9px; font-weight: 600; color: var(--text3); letter-spacing: .14em; font-family: var(--mono); margin-bottom: 7px; text-transform: uppercase; }
.sb-val { font-size: 24px; font-weight: 500; color: var(--text); font-family: var(--mono); letter-spacing: -.04em; line-height: 1; }
.sb-val.g { color: var(--accent); }
.sb-hint { font-size: 11px; color: var(--text3); margin-top: 5px; font-family: var(--mono); letter-spacing: .01em; }

/* ─── DASHBOARD MAIN LAYOUT */
.dash-main { display: grid; grid-template-columns: 1fr 340px; min-height: calc(100vh - 56px - 52px); }
.dash-left { border-right: 1px solid var(--border); padding: 24px 28px; }
.dash-right { padding: 22px 24px; background: var(--bg2); }

.divdr { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.dl { flex: 1; height: 1px; background: var(--border); }
.dlbl { font-size: 9px; font-weight: 600; color: var(--text3); letter-spacing: .16em; white-space: nowrap; font-family: var(--mono); text-transform: uppercase; }

/* ─── OPPORTUNITY CARDS */
.opp-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-bottom: 32px; }
.ocard {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 20px; cursor: pointer; transition: all .2s; position: relative; overflow: hidden;
}
.ocard:hover { border-color: var(--border2); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,.4); }
.ocard.hot { border-color: var(--aborder); animation: glow-pulse 2.5s ease-in-out infinite; }
.ocard.hot::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--accent), var(--amber)); }
.ocard.flash { animation: cf .5s ease; }
@keyframes cf { 0%{ background: rgba(22,163,74,.06); border-color: var(--aborder); } 100%{ background: var(--card); } }

.oc-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 4px; }
.oc-hot { font-size: 10px; background: var(--adim); color: var(--accent); border: 1px solid var(--aborder); border-radius: 4px; padding: 2px 8px; font-family: var(--mono); font-weight: 500; }
.oc-alive { font-size: 11px; color: var(--text3); font-family: var(--mono); }
.oc-pct { font-family: var(--mono); font-size: 46px; font-weight: 500; line-height: 1; letter-spacing: -.05em; color: var(--accent); margin-bottom: 4px; }
.oc-pct.dim { font-size: 30px; color: rgba(22,163,74,.4); }
.oc-name { font-size: 13px; color: var(--text2); margin-bottom: 10px; line-height: 1.55; font-family: var(--display); letter-spacing: -.005em; }
.oc-bar { background: var(--bg3); border-radius: 4px; height: 3px; margin-bottom: 12px; overflow: hidden; }
.oc-bar-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--accent), var(--amber)); transition: width .7s ease; }
.oc-pills { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.oc-pill { background: var(--bg3); border: 1px solid var(--border); border-radius: 5px; padding: 3px 9px; font-size: 11px; color: var(--text3); font-family: var(--mono); }
.oc-pill b { color: var(--text2); font-weight: 500; }
.oc-hint { font-size: 12px; color: var(--text2); font-weight: 500; font-family: var(--mono); }
.oc-hint span { color: var(--profit); font-weight: 600; }
.oc-fresh { font-size: 11px; color: var(--text3); font-family: var(--mono); margin-top: 6px; }

.empty-state {
  grid-column: 1 / -1; background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 56px; text-align: center;
}
.dots span {
  display: inline-block; width: 5px; height: 5px; border-radius: 50%;
  background: var(--border2); margin: 0 3px; animation: dp .9s ease-in-out infinite;
}
.dots span:nth-child(2) { animation-delay: .15s; }
.dots span:nth-child(3) { animation-delay: .3s; }
@keyframes dp { 0%,100%{opacity:.2;transform:scale(.8)} 50%{opacity:1;transform:scale(1)} }

/* ─── NEAR MISS */
.near-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 11px; }
.ncard {
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  padding: 14px; transition: all .2s;
}
.ncard:hover { border-color: var(--border2); transform: translateY(-1px); }
.nc-pct { font-size: 18px; font-weight: 500; color: var(--danger); font-family: var(--mono); letter-spacing: -.03em; margin-bottom: 4px; }
.nc-pct.close { color: var(--amber); }
.nc-name { font-size: 12px; color: var(--text2); margin-bottom: 5px; line-height: 1.5; }
.nc-gap { font-size: 11px; color: var(--text3); font-family: var(--mono); }
.nc-bar { background: var(--bg3); border-radius: 4px; height: 2px; margin-top: 8px; overflow: hidden; }
.nc-fill { height: 100%; border-radius: 4px; background: var(--danger); transition: width .6s; opacity: .5; }
.nc-fill.close { background: var(--amber); opacity: .8; }

/* ─── CALCULATOR */
.calc-box { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 20px; margin-bottom: 22px; }
.calc-lbl { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 16px; font-family: var(--display); }
.calc-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.cl { font-size: 13px; color: var(--text2); font-weight: 500; min-width: 70px; font-family: var(--display); }
.ci {
  background: var(--bg3); border: 1px solid var(--border2); border-radius: 8px;
  padding: 8px 12px; font-size: 14px; color: var(--text); font-family: var(--mono);
  width: 130px; outline: none; transition: border-color .18s, box-shadow .18s; font-weight: 500;
}
.ci:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,217,126,.1); }
.cu { font-size: 13px; color: var(--text3); font-family: var(--mono); }
.calc-res {
  background: var(--pbg); border: 1px solid var(--aborder); border-radius: 10px;
  padding: 16px; display: flex; justify-content: space-between; align-items: center;
  transition: background .3s;
}
.calc-res.flash { animation: cflash .4s ease; }
@keyframes cflash { 0%{ background: rgba(0,217,126,.2); } 100%{ background: var(--pbg); } }
.calc-res.empty { background: var(--bg2) !important; border-color: var(--border2) !important; }
.calc-res.empty .cr-l, .calc-res.empty .cr-v { color: var(--text3) !important; }
.cr-l { font-size: 12px; color: var(--profit); font-weight: 600; font-family: var(--mono); }
.cr-v { font-size: 26px; font-weight: 600; color: var(--profit); font-family: var(--mono); letter-spacing: -.04em; }
.calc-note { font-size: 11px; color: var(--text3); margin-top: 10px; line-height: 1.7; font-family: var(--mono); }

/* ─── SCAN LOG */
.log-box { background: var(--card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.log-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.log-tl { font-size: 10px; font-weight: 500; color: var(--text3); letter-spacing: .1em; font-family: var(--mono); }
.log-clr { font-size: 11px; color: var(--text3); background: none; border: none; cursor: pointer; font-family: var(--mono); padding: 4px 8px; border-radius: 4px; transition: all .15s; }
.log-clr:hover { color: var(--text2); background: var(--card2); }
.log-inner { max-height: 240px; overflow-y: auto; }
.log-inner::-webkit-scrollbar { width: 2px; }
.log-inner::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 2px; }
.lrow { display: flex; align-items: center; gap: 9px; padding: 8px 14px; border-bottom: 1px solid var(--border); font-size: 11px; animation: fi .2s ease; }
@keyframes fi { from { opacity:0; transform:translateY(-3px); } to { opacity:1; transform:none; } }
.lrow:last-child { border-bottom: none; }
.lt { color: var(--text3); min-width: 60px; font-family: var(--mono); }
.ld { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
.ld.f { background: var(--accent); box-shadow: 0 0 4px rgba(0,217,126,.6); }
.ld.n { background: var(--border2); }
.ltxt { color: var(--text2); flex: 1; font-family: var(--mono); }
.lp { color: var(--profit); font-family: var(--mono); font-weight: 600; white-space: nowrap; }

/* ─── DASHBOARD FOOTER */
.dash-foot {
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
  padding: 14px 28px; border-top: 1px solid var(--border); background: var(--bg2);
}
.fp {
  display: flex; align-items: center; gap: 5px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 5px; padding: 4px 12px; font-size: 11px;
  color: var(--text3); font-family: var(--mono); font-weight: 500; transition: border-color .15s;
}
.fp.on { border-color: var(--aborder); color: var(--accent); background: var(--adim); }
.fp-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s ease-in-out infinite; box-shadow: 0 0 4px rgba(0,217,126,.8); }


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 680px) {
  nav { padding: 0 20px; }
  .n-links { display: none; }
  .n-cta-wrap { display: none; } /* Hide desktop CTA on mobile — it's in the mobile menu */
  .n-hamburger { display: flex; } /* Show hamburger */
  .hero-content { padding: 70px 20px 56px; }
  .h-title { font-size: 44px; }
  .h-kicker { font-size: 16px; }
  .h-stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .sec-pad { padding: 64px 20px; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--border); }
  .step:last-child { border-bottom: none; }
  .math-grid { grid-template-columns: 1fr; gap: 36px; }
  .teaser-grid { grid-template-columns: 1fr; }
  .wl-inner { padding: 64px 20px; }
  .wl-form { flex-direction: column; }
  .wl-title { font-size: 34px; }
  footer { padding: 28px 20px; }
  .f-top { flex-direction: column; }
  .f-links-group { gap: 28px; }
  .f-bottom { flex-direction: column; text-align: center; }
  .mock-banner { padding: 9px 16px; }

  /* dashboard mobile */
  .dnav { padding: 0 16px; }
  .stat-bar { display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .stat-bar::-webkit-scrollbar { display: none; }
  .sb-item { min-width: 140px; flex-shrink: 0; }
  .dash-main { grid-template-columns: 1fr; }
  .dash-left { border-right: none; border-bottom: 1px solid var(--border); padding: 16px; }
  .dash-right { padding: 16px; }
  .opp-grid { grid-template-columns: 1fr; }
  .near-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .oc-pct { font-size: 36px; }
  .oc-pct.dim { font-size: 26px; }
  .dash-foot { padding: 10px 16px; }
}
