/* ============================================
   ANALYTIKA.DK — Human Premium Data Design
   Bloomberg / TradingView / Linear aesthetic
   ============================================ */

/* === DESIGN TOKENS === */
:root {
  /* Trin 1: Deep blue-slate, not pure black */
  --bg: #131722;
  --bg-elevated: #1A1E2E;
  --card: #1E222D;
  --card-hover: #262A36;

  /* Muted gold-green accent */
  --primary: #C8E64E;
  --primary-hover: #B5D43E;
  --primary-dim: rgba(200, 230, 78, 0.10);
  --primary-fg: #000000;

  /* Semantic: TradingView standard */
  --positive: #089981;
  --negative: #F23645;

  --text: #D1D4DC;
  --text-secondary: #9598A1;
  --text-tertiary: #6A6D78;
  --text-bright: #FFFFFF;

  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);

  --font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'DM Sans', 'SF Mono', 'Consolas', monospace;

  /* Trin 2: Sharp corners — precision, not playful */
  --radius: 4px;
  --radius-sm: 3px;
  --radius-lg: 6px;
}

/* === RESET + CROSS-PLATFORM === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; -moz-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: rgba(200, 230, 78, 0.25); color: #fff; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font-family: inherit; border: none; outline: none; background: none; color: inherit; }
ul, ol { list-style: none; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 3px; }

/* === TRIN 4: TYPOGRAPHY — sophistication, not shouting === */
p, li, .feature-desc, .hero-subtitle, .about-lead, .waitlist-subtitle, .coming-soon-inner p, .about-card p, .step-card p, .contact-card p {
  font-family: var(--font-body);
}

h1, h2, h3, h4 {
  color: var(--text-bright);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-family: var(--font);
}
h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 500;
}
h3 { font-size: 1.15rem; font-weight: 500; }

.text-accent { color: var(--primary); }
.text-secondary { color: var(--text-secondary); }
.text-positive { color: var(--positive); }
.text-negative { color: var(--negative); }
.font-mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.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; }
.hidden { display: none !important; }

/* === LAYOUT === */
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }

/* === TRIN 3: BUTTONS — solid, tactile, no floating === */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px;
  background: var(--primary); color: var(--primary-fg);
  font-weight: 550; font-size: 0.875rem;
  border-radius: var(--radius);
  transition: background 0.12s ease;
}
.btn-primary:hover { background: var(--primary-hover); }
.btn-primary:active { transform: scale(0.98); }
.btn-primary:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px;
  color: var(--text-secondary);
  font-weight: 500; font-size: 0.875rem;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius);
  transition: color 0.12s ease, border-color 0.12s ease;
}
.btn-secondary:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }
.btn-secondary:active { transform: scale(0.98); }

/* === CARDS — borders not shadows === */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.15s ease;
}
.card:hover { border-color: var(--border-hover); }

/* === INPUT === */
.input {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.875rem;
  transition: border-color 0.12s ease;
}
.input::placeholder { color: var(--text-tertiary); }
.input:focus { border-color: var(--primary); outline: none; }

/* === BADGE === */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
}
.badge-primary {
  background: var(--primary-dim);
  color: var(--primary);
  border: 1px solid rgba(200, 230, 78, 0.15);
}
.badge-dot {
  width: 5px; height: 5px;
  background: var(--primary);
  border-radius: 50%;
}

/* === NAVBAR === */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50; height: 48px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.navbar.scrolled { background: rgba(19, 23, 34, 0.98); }
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo-text { font-size: 1.2rem; font-weight: 900; letter-spacing: -0.02em; color: var(--text-bright); }
.logo-accent { color: #A8E000; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link { font-size: 0.8rem; font-weight: 500; color: var(--text-secondary); transition: color 0.12s; }
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--primary); }
.nav-cta { padding: 6px 16px; font-size: 0.8rem; }

/* Mobile nav */
.nav-toggle { display: none; padding: 6px; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--text-secondary); border-radius: 1px; }
.nav-toggle span + span { margin-top: 4px; }

.mobile-menu[hidden] { display: none !important; }
.mobile-menu { position: fixed; inset: 0; z-index: 100; display: flex; justify-content: flex-end; }
.mobile-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.mobile-panel {
  position: relative; width: 260px; max-width: 75vw;
  background: var(--card); border-left: 1px solid var(--border);
  padding: 28px 20px; display: flex; flex-direction: column; gap: 4px;
}
.mobile-close { align-self: flex-end; font-size: 1.3rem; color: var(--text-tertiary); padding: 6px; margin-bottom: 12px; }
.mobile-close:hover { color: var(--text); }
.mobile-link { display: block; padding: 8px 12px; font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); border-radius: var(--radius-sm); }
.mobile-link:hover, .mobile-link.active { color: var(--primary); }
.mobile-cta { margin-top: 12px; background: var(--primary); color: var(--primary-fg); font-weight: 600; text-align: center; border-radius: var(--radius); padding: 10px; }

/* === HERO === */
.hero {
  position: relative;
  min-height: 100lvh;
  display: flex; align-items: center;
  padding-top: 48px;
  overflow: hidden;
}

/* Canvas chart background */
.hero-canvas {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.hero-fade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(to right, rgba(19,23,34,0.92) 0%, rgba(19,23,34,0.6) 35%, rgba(19,23,34,0.2) 60%, transparent 100%),
    linear-gradient(to top, var(--bg) 0%, rgba(19,23,34,0.7) 12%, transparent 30%),
    linear-gradient(to bottom, var(--bg) 0%, transparent 8%);
}

/* Trending ticker */
.ticker {
  position: absolute; top: 48px; left: 0; right: 0; z-index: 5;
  height: 32px; overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: rgba(19, 23, 34, 0.8);
  display: flex; align-items: center;
}
.ticker-track {
  display: flex; align-items: center; gap: 20px;
  white-space: nowrap;
  animation: tickerScroll 30s linear infinite;
  font-family: var(--mono); font-size: 0.7rem; font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.ticker-item { color: var(--text-tertiary); }
.ticker-item.pos strong { color: var(--positive); }
.ticker-item.neg strong { color: var(--negative); }
.ticker-sep { color: var(--text-tertiary); opacity: 0.3; }

.hero-inner {
  position: relative; z-index: 3;
  max-width: 1080px; margin: 0 auto; padding: 80px 24px 48px;
  display: grid; grid-template-columns: 1fr; gap: 40px;
  align-items: center;
}
.hero-content { max-width: 520px; }
.hero-badge { margin-bottom: 20px; }
.hero-title { margin-bottom: 16px; }
.hero-subtitle {
  font-size: 0.95rem; color: var(--text-secondary);
  line-height: 1.7; margin-bottom: 28px; max-width: 440px;
}
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Right side dashboard */
.hero-dashboard {
  display: flex; flex-direction: column; gap: 12px;
  width: 100%; max-width: 520px; justify-self: center;
}
.hero-chart { width: 100%; }

/* Event widget */
.event-widget {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 16px 20px;
}
.widget-header { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.widget-dot { width: 6px; height: 6px; border-radius: 50%; }
.widget-dot.live { background: var(--positive); animation: dotPulse 2s ease-in-out infinite; }
.widget-label { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-tertiary); font-family: var(--mono); }
.widget-title { font-size: 0.9rem; font-weight: 600; color: var(--text-bright); margin-bottom: 12px; }
.widget-bars { display: flex; flex-direction: column; gap: 8px; }
.widget-bar-row { display: flex; align-items: center; gap: 10px; }
.widget-bar-label { font-size: 0.75rem; color: var(--text-secondary); width: 90px; flex-shrink: 0; }
.widget-bar { flex: 1; height: 6px; background: rgba(255,255,255,0.05); border-radius: 3px; overflow: hidden; }
.widget-bar-fill { height: 100%; border-radius: 3px; transition: width 1s ease-out; }
.widget-bar-fill.pos { background: var(--positive); }
.widget-bar-fill.neg { background: var(--negative); }
.widget-bar-val { font-size: 0.75rem; font-weight: 600; color: var(--text); width: 36px; text-align: right; }
.widget-meta { font-size: 0.7rem; color: var(--text-tertiary); margin-top: 10px; font-family: var(--mono); }

/* === DASHBOARD MOCKUP (hero right) === */
.hero-dashboard {
  display: flex; flex-direction: column; gap: 8px;
  width: 100%; max-width: 380px; justify-self: center;
}
.dash-banner {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  background: var(--primary-dim);
  border: 1px solid rgba(200,230,78,0.12);
  border-radius: var(--radius);
  font-size: 0.7rem; font-weight: 600; color: var(--primary);
  font-family: var(--mono); letter-spacing: 0.02em;
}
.dash-banner svg { stroke: var(--primary); }
.dash-events { display: flex; flex-direction: column; gap: 6px; }
.dash-event {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px 14px;
  transition: border-color 0.12s;
}
.dash-event:hover { border-color: var(--border-hover); }
.dash-event-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.dash-cat {
  font-size: 0.6rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-tertiary); font-family: var(--mono);
}
.dash-live { display: flex; align-items: center; gap: 4px; font-size: 0.6rem; color: var(--positive); font-family: var(--mono); font-weight: 600; }
.dash-event-title { font-size: 0.8rem; font-weight: 600; color: var(--text-bright); margin-bottom: 8px; }
.dash-event-bars { display: flex; flex-direction: column; gap: 5px; }
.dash-bar-row { display: flex; align-items: center; gap: 8px; font-size: 0.7rem; color: var(--text-secondary); }
.dash-bar-row span:first-child { width: 60px; flex-shrink: 0; }
.dash-bar { flex: 1; height: 5px; background: rgba(255,255,255,0.04); border-radius: 3px; overflow: hidden; }
.dash-bar-fill { height: 100%; border-radius: 3px; }
.dash-bar-row .font-mono { width: 30px; text-align: right; font-size: 0.7rem; font-weight: 600; color: var(--text); }
.dash-event-meta { font-size: 0.6rem; color: var(--text-tertiary); margin-top: 6px; }

/* Mini leaderboard */
.dash-leaderboard {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 10px 14px;
}
.dash-lb-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.7rem; font-weight: 600; color: var(--text-secondary);
  font-family: var(--mono); margin-bottom: 8px;
}
.dash-lb-row {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 0; font-size: 0.75rem;
  border-top: 1px solid var(--border);
}
.dash-lb-row:first-of-type { border-top: none; }
.dash-lb-rank { width: 16px; font-weight: 700; color: var(--text-tertiary); font-family: var(--mono); font-size: 0.65rem; }
.dash-lb-name { flex: 1; font-weight: 500; color: var(--text); }
.dash-lb-acc { font-size: 0.7rem; color: var(--positive); }
.dash-lb-prize { font-size: 0.75rem; }

/* === HOW IT WORKS — 3 steps === */
.how { padding: 80px 0; }
.steps-row {
  display: grid; grid-template-columns: 1fr; gap: 24px;
  margin-top: 48px;
}
.step { text-align: center; }
.step-num { font-size: 2rem; font-weight: 700; color: var(--primary); opacity: 0.2; margin-bottom: 8px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.6; margin-bottom: 16px; }
.step-mock {
  padding: 14px; text-align: left; font-size: 0.75rem;
}

/* Slider mockup */
.step-slider { margin-top: 10px; }
.step-slider-track { position: relative; height: 4px; background: rgba(255,255,255,0.06); border-radius: 2px; }
.step-slider-fill { position: absolute; left: 0; top: 0; height: 100%; width: 50%; background: var(--primary); border-radius: 2px; }
.step-slider-thumb { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; background: var(--primary); border-radius: 50%; transform: translate(-50%, -50%); }

/* Trade box mockup */
.trade-box { padding: 10px !important; }
.trade-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  margin-bottom: 8px;
}
.trade-tab {
  padding: 6px; text-align: center;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--text-tertiary); background: transparent;
}
.trade-tab.active { background: var(--text-bright); color: #000; }
.trade-outcomes {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  margin-bottom: 8px;
}
.trade-outcome {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 8px 6px; text-align: center;
}
.trade-outcome.yes.selected { border-color: var(--positive); background: rgba(8,153,129,0.08); }
.trade-outcome-label { display: block; font-size: 0.7rem; font-weight: 700; }
.trade-outcome.yes .trade-outcome-label { color: var(--positive); }
.trade-outcome.no .trade-outcome-label { color: var(--negative); }
.trade-outcome-pct { display: block; font-size: 0.8rem; font-weight: 700; color: var(--text-bright); margin-top: 2px; }
.trade-outcome.no .trade-outcome-pct { color: var(--text-secondary); }
.trade-input-row {
  display: flex; align-items: center;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 6px 10px;
  margin-bottom: 6px;
}
.trade-input-prefix { font-size: 0.65rem; color: var(--text-tertiary); margin-right: 6px; }
.trade-input-value { font-size: 1rem; font-weight: 700; color: var(--text-bright); flex: 1; }
.trade-input-max {
  font-size: 0.6rem; font-weight: 600; color: var(--text-secondary);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 2px 8px;
}
.trade-amounts { display: flex; gap: 4px; margin-bottom: 10px; }
.trade-amount {
  font-size: 0.6rem; color: var(--text-secondary);
  border: 1px solid var(--border); border-radius: 20px;
  padding: 3px 8px;
}
.trade-stats { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.trade-stat {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.7rem; color: var(--text-secondary);
}
.trade-cta {
  width: 100%; padding: 8px;
  background: var(--positive); color: var(--text-bright);
  font-size: 0.8rem; font-weight: 700;
  border-radius: var(--radius); text-align: center;
}

/* Section header reuse */
.features-header, .how .features-header { text-align: center; margin-bottom: 48px; }
.features-header p { color: var(--text-secondary); font-size: 0.9rem; margin-top: 8px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* === EVENTS TABLE === */
.events-section { padding: 80px 0; }
.events-table {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.et-header {
  display: grid;
  grid-template-columns: 1fr 80px 150px 80px 56px 64px 56px;
  gap: 8px; padding: 10px 20px;
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--text-tertiary);
  background: var(--bg-elevated); border-bottom: 1px solid var(--border);
}
.et-row {
  display: grid;
  grid-template-columns: 1fr 80px 150px 80px 56px 64px 56px;
  gap: 8px; padding: 12px 20px;
  align-items: center; cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  transition: background 0.12s;
}
.et-row:last-child { border-bottom: none; }
.et-row:hover { background: var(--bg-elevated); }
.et-row.selected { background: rgba(200,230,78,0.03); border-left: 2px solid var(--primary); padding-left: 18px; }
.et-title { font-size: 13px; font-weight: 500; color: var(--text-bright); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.et-cat {
  display: inline-block; font-size: 10px; font-weight: 600;
  padding: 2px 8px; border-radius: 3px; border: 1px solid;
}
.et-cat-politik { color: #60A5FA; background: rgba(96,165,250,0.1); border-color: rgba(96,165,250,0.2); }
.et-cat-sport { color: #34D399; background: rgba(52,211,153,0.1); border-color: rgba(52,211,153,0.2); }
.et-cat-finans { color: #FBBF24; background: rgba(251,191,36,0.1); border-color: rgba(251,191,36,0.2); }
.et-consensus {
  display: flex; align-items: center; gap: 8px; width: 100%;
}
.et-bar { flex: 1; height: 6px; background: rgba(255,255,255,0.04); border-radius: 3px; overflow: hidden; display: flex; }
.et-bar-yes { height: 100%; background: var(--positive); border-radius: 3px 0 0 3px; }
.et-bar-no { height: 100%; background: var(--negative); border-radius: 0 3px 3px 0; }
.et-pct { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--text-bright); width: 36px; text-align: right; }
.et-num { font-family: var(--mono); font-size: 12px; color: var(--text-secondary); }
.et-time { font-family: var(--mono); font-size: 12px; color: var(--text-secondary); }
.et-status { display: flex; align-items: center; gap: 4px; }
.et-status-dot { width: 5px; height: 5px; background: var(--positive); border-radius: 50%; animation: dotPulse 2s ease-in-out infinite; }
.et-status-text { font-family: var(--mono); font-size: 10px; font-weight: 600; color: var(--positive); text-transform: uppercase; }

/* Events mobile cards */
.events-mobile { display: none; flex-direction: column; gap: 12px; }
.em-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 16px; cursor: pointer;
  transition: border-color 0.12s;
}
.em-card:hover { border-color: rgba(255,255,255,0.12); }
.em-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.em-card-title { font-size: 13px; font-weight: 500; color: var(--text-bright); margin-bottom: 12px; }
.em-card-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 11px; color: var(--text-tertiary); font-family: var(--mono); }

@media (max-width: 767px) {
  .events-table { display: none; }
  .events-mobile { display: flex; }
}

/* === WAITLIST (merged with coming soon) === */
.coming-soon-label {
  display: inline-block;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 16px;
}
.coming-soon-inner h2 { margin-bottom: 10px; }
.coming-soon-inner p { color: var(--text-secondary); font-size: 0.9rem; max-width: 400px; margin: 0 auto; }

/* === WAITLIST === */
.waitlist { padding: 80px 0; }
.waitlist-card {
  max-width: 480px; margin: 0 auto;
  padding: 40px 32px; text-align: center;
}
.waitlist-card h2 { margin-bottom: 8px; font-size: 1.5rem; }
.waitlist-subtitle { color: var(--text-secondary); margin-bottom: 28px; font-size: 0.9rem; }
.waitlist-form { margin-bottom: 12px; }
.form-row { display: flex; gap: 8px; }
.form-row .input { flex: 1; min-width: 0; }
.waitlist-submit { flex-shrink: 0; position: relative; }
.btn-text, .btn-spinner { display: flex; align-items: center; justify-content: center; }
.btn-spinner { position: absolute; inset: 0; }
.spinner-svg { width: 18px; height: 18px; }
.waitlist-status { min-height: 20px; margin-top: 8px; font-size: 0.8rem; font-weight: 500; }
.waitlist-status.success { color: var(--positive); }
.waitlist-status.error { color: var(--negative); }
.waitlist-status.duplicate { color: #F7931A; }
.waitlist-disclaimer { font-size: 0.75rem; color: var(--text-tertiary); }
.waitlist-success-icon {
  width: 48px; height: 48px; margin: 0 auto 12px;
  border-radius: var(--radius);
  background: rgba(8, 153, 129, 0.1);
  border: 1px solid var(--positive);
  display: flex; align-items: center; justify-content: center;
}
.waitlist-success-icon svg { width: 24px; height: 24px; stroke: var(--positive); }

/* === SIGNUP POPUP === */
.popup-overlay[hidden] { display: none !important; }
.popup-overlay {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: popupFadeIn 0.3s ease-out;
}
.popup-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}
.popup-card {
  position: relative;
  max-width: 440px; width: 100%;
  padding: 32px 28px;
  text-align: center;
  animation: popupSlideUp 0.3s ease-out;
}
.popup-close {
  position: absolute; top: 12px; right: 16px;
  font-size: 1.4rem; color: var(--text-tertiary);
  padding: 4px 8px; line-height: 1;
}
.popup-close:hover { color: var(--text); }
@keyframes popupFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes popupSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--border);
  padding: 36px 0 24px;
}
.footer-inner {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 24px; margin-bottom: 24px;
}
.footer-logo { display: flex; align-items: center; }
.footer-tagline { font-size: 0.75rem; color: var(--text-tertiary); margin-top: 4px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 0.8rem; color: var(--text-tertiary); transition: color 0.12s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { padding-top: 20px; border-top: 1px solid var(--border); text-align: center; }
.footer-bottom p { font-size: 0.7rem; color: var(--text-tertiary); }

/* === ABOUT PAGE === */
.about-hero { padding: calc(48px + 64px) 0 48px; text-align: center; }
.about-lead { font-size: 0.95rem; color: var(--text-secondary); max-width: 540px; margin: 12px auto 0; line-height: 1.7; }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.about-card { padding: 32px; background: var(--card); }
.about-card h2 { font-size: 1.1rem; color: var(--primary); margin-bottom: 12px; }
.about-card p { color: var(--text-secondary); line-height: 1.7; font-size: 0.875rem; }
.steps-section { padding: 80px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-elevated); }
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
.step-card { text-align: center; padding: 24px; }
.step-number { font-size: 2rem; font-weight: 600; color: var(--primary); opacity: 0.2; margin-bottom: 8px; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.step-card h3 { margin-bottom: 6px; }
.step-card p { color: var(--text-secondary); line-height: 1.6; font-size: 0.875rem; }
.contact-section { padding: 80px 0; }
.contact-card { max-width: 420px; margin: 0 auto; padding: 40px 32px; text-align: center; }
.contact-card h2 { margin-bottom: 8px; }
.contact-card p { color: var(--text-secondary); margin-bottom: 24px; font-size: 0.875rem; }

/* === RESPONSIVE === */
@media (min-width: 640px) {
  .steps-row { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 48px; padding: 80px 24px 64px; }
  .hero-dashboard { justify-self: end; }
  .nav-toggle { display: none !important; }
}
@media (max-width: 1023px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; flex-direction: column; }
  .hero-fade {
    background:
      linear-gradient(to right, rgba(19,23,34,0.9) 0%, rgba(19,23,34,0.6) 50%, rgba(19,23,34,0.3) 100%),
      linear-gradient(to top, var(--bg) 0%, rgba(19,23,34,0.6) 15%, transparent 30%),
      linear-gradient(to bottom, var(--bg) 0%, transparent 10%);
  }
}
@media (max-width: 480px) {
  .form-row { flex-direction: column; }
  .waitlist-submit { width: 100%; justify-content: center; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary, .hero-actions .btn-secondary { justify-content: center; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { flex-direction: column; align-items: center; gap: 8px; }
}

/* === MOBILE HERO OPTIMIZATION (Instagram traffic) === */
@media (max-width: 767px) {
  .hero {
    min-height: auto;
    padding-top: 48px;
    padding-bottom: 24px;
  }
  .hero-inner {
    padding: 56px 20px 24px;
    gap: 24px;
  }
  .hero-content {
    max-width: 100%;
  }
  h1 {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 20px;
    max-width: 100%;
  }
  .hero-dashboard {
    max-width: 100%;
  }
  .ticker {
    display: none;
  }
  .waitlist-form .form-row {
    flex-direction: column;
  }
  .waitlist-form .waitlist-submit {
    width: 100%;
    justify-content: center;
  }
  .waitlist-card {
    padding: 28px 20px;
  }
  .how { padding: 48px 0; }
  .events-section { padding: 48px 0; }
  .waitlist { padding: 48px 0; }
  .steps-row { margin-top: 32px; gap: 32px; }
}
