:root {
  --bg: #0a0f1a;
  --surface: #0f1729;
  --surface-2: #141f33;
  --border: #1e2d45;
  --fg: #e2e8f0;
  --fg-muted: #64748b;
  --accent: #f59e0b;
  --accent-dim: rgba(245, 158, 11, 0.12);
  --green: #22c55e;
  --red: #ef4444;
  --amber: #fbbf24;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.site-nav {
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 2rem 4rem;
}
.hero-bg-glow {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245,158,11,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
  margin-bottom: 1.25rem;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.hero-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.hero-headline .accent { color: var(--accent); }
.hero-sub {
  color: var(--fg-muted);
  font-size: 1.05rem;
  max-width: 440px;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.meta-stat { display: flex; flex-direction: column; }
.meta-value { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem; color: var(--fg); }
.meta-label { font-size: 0.7rem; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }
.meta-divider { width: 1px; height: 28px; background: var(--border); }

/* SIGNAL DASHBOARD */
.signal-dashboard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(245,158,11,0.08);
}
.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.dash-title { font-family: 'Syne', sans-serif; font-weight: 600; font-size: 0.8rem; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.1em; }
.dash-badge { background: var(--green); color: #000; font-size: 0.6rem; font-weight: 700; padding: 2px 7px; border-radius: 4px; letter-spacing: 0.05em; }
.dash-symbols { padding: 0.75rem 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.symbol-row { display: flex; align-items: center; gap: 0.6rem; padding: 0.4rem 0.5rem; border-radius: 6px; }
.symbol-row--active { background: rgba(34,197,94,0.08); }
.symbol-ticker { font-family: 'Syne', sans-serif; font-weight: 600; font-size: 0.72rem; width: 60px; color: var(--fg); }
.symbol-trend { font-size: 0.65rem; font-weight: 600; width: 52px; }
.trend-up { color: var(--green); }
.trend-down { color: var(--red); }
.mini-chart { width: 56px; height: 22px; }
.mini-chart svg { width: 100%; height: 100%; }
.signal-tag { font-size: 0.6rem; font-weight: 700; padding: 2px 6px; border-radius: 3px; margin-left: auto; }
.signal-green { background: rgba(34,197,94,0.15); color: var(--green); }
.signal-red { background: rgba(239,68,68,0.15); color: var(--red); }
.signal-dim { background: var(--surface-2); color: var(--fg-muted); }
.dash-streak { padding: 0.6rem 1rem; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 0.75rem; }
.streak-label { font-size: 0.7rem; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.08em; width: 44px; }
.streak-count { font-family: 'Syne', sans-serif; font-weight: 600; font-size: 0.75rem; color: var(--accent); }
.streak-bar { flex: 1; height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; }
.streak-fill { height: 100%; background: var(--accent); border-radius: 2px; }
.dash-xp { padding: 0.6rem 1rem; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 0.5rem; }
.xp-badge { background: var(--accent); color: #000; font-size: 0.65rem; font-weight: 800; padding: 2px 8px; border-radius: 4px; }
.xp-label { font-family: 'Syne', sans-serif; font-weight: 600; font-size: 0.75rem; }
.xp-next { font-size: 0.65rem; color: var(--fg-muted); margin-left: auto; }
.hero-score-panel { display: flex; align-items: center; justify-content: space-between; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 0.75rem 1rem; margin-top: 0.75rem; }
.score-num { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.75rem; color: var(--accent); }
.score-label { font-size: 0.65rem; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.08em; display: block; margin-top: 2px; }
.rank-display { display: flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; color: var(--accent); font-weight: 600; }

/* SECTIONS */
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.25rem); letter-spacing: -0.02em; margin-bottom: 0.75rem; line-height: 1.2; }
.section-sub { color: var(--fg-muted); max-width: 560px; font-size: 0.95rem; line-height: 1.7; margin-bottom: 2.5rem; }

/* SIGNAL BOARD SECTION */
.signal-section { padding: 4rem 0; border-top: 1px solid var(--border); }
.signal-header { margin-bottom: 2rem; }
.tf-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr; gap: 0.75rem; margin-bottom: 1.5rem; }
.tf-card { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 0.75rem; }
.tf-card--hero { border-color: rgba(245,158,11,0.3); box-shadow: 0 0 20px rgba(245,158,11,0.05); }
.tf-timeframe { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.7rem; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.25rem; }
.tf-direction { font-size: 0.65rem; font-weight: 700; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.tf-dir-long { color: var(--green); }
.tf-chart-area { height: 50px; margin: 0.5rem 0; position: relative; }
.tf-svg { width: 100%; height: 100%; }
.tf-bar-pos { fill: rgba(245,158,11,0.25); }
.tf-bar-vol { fill: rgba(245,158,11,0.15); }
.tf-bar-vol--hot { fill: var(--accent); }
.tf-line { }
.tf-signal-pulse { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); }
.pulse-ring { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: rgba(34,197,94,0.3); animation: ring 1.5s infinite; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.pulse-dot { display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); position: relative; z-index: 1; }
@keyframes ring { 0% { transform: translate(-50%,-50%) scale(1); opacity: 1; } 100% { transform: translate(-50%,-50%) scale(2.5); opacity: 0; } }
.tf-status { }
.status-tag { font-size: 0.6rem; font-weight: 700; padding: 2px 6px; border-radius: 3px; text-transform: uppercase; letter-spacing: 0.05em; }
.status-green { background: rgba(34,197,94,0.15); color: var(--green); }
.status-amber { background: rgba(245,158,11,0.15); color: var(--accent); }
.signal-verdict { display: flex; align-items: center; gap: 0.75rem; background: rgba(34,197,94,0.06); border: 1px solid rgba(34,197,94,0.2); border-radius: 8px; padding: 0.75rem 1rem; }
.verdict-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px var(--green); flex-shrink: 0; }
.verdict-text { font-size: 0.8rem; color: var(--green); font-weight: 500; }

/* FEATURES */
.features-section { padding: 4rem 0; border-top: 1px solid var(--border); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 1.5rem; transition: border-color 0.2s; }
.feature-card:hover { border-color: rgba(245,158,11,0.3); }
.feature-icon { margin-bottom: 1rem; }
.feature-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: 0.5rem; }
.feature-desc { font-size: 0.85rem; color: var(--fg-muted); line-height: 1.65; }

/* HOW IT WORKS */
.how-section { padding: 4rem 0; border-top: 1px solid var(--border); }
.steps-row { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 2rem; }
.step-item { flex: 1; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 1.5rem; }
.step-num { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 2rem; color: var(--accent); opacity: 0.3; margin-bottom: 0.75rem; line-height: 1; }
.step-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.95rem; margin-bottom: 0.5rem; }
.step-desc { font-size: 0.82rem; color: var(--fg-muted); line-height: 1.6; }
.step-arrow { display: flex; align-items: center; padding-top: 1.5rem; flex-shrink: 0; }
.rule-callout { display: flex; align-items: flex-start; gap: 0.75rem; background: var(--accent-dim); border: 1px solid rgba(245,158,11,0.15); border-radius: 8px; padding: 1rem 1.25rem; }
.callout-icon { flex-shrink: 0; margin-top: 1px; }
.rule-callout p { font-size: 0.88rem; color: var(--fg-muted); line-height: 1.65; }
.rule-callout em { color: var(--fg); font-style: normal; }

/* MANIFESTO */
.manifesto-section { padding: 5rem 0; border-top: 1px solid var(--border); }
.manifesto-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.manifesto-headline { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.25rem); letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 1.25rem; }
.manifesto-text p { color: var(--fg-muted); font-size: 0.92rem; line-height: 1.75; margin-bottom: 0.9rem; }
.manifesto-stat-grid { display: flex; flex-direction: column; gap: 1.5rem; }
.mstat { border-left: 2px solid var(--accent); padding-left: 1rem; }
.mstat-value { display: block; font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.75rem; color: var(--accent); line-height: 1.1; margin-bottom: 0.25rem; }
.mstat-label { font-size: 0.75rem; color: var(--fg-muted); line-height: 1.5; }

/* FOOTER */
.site-footer { border-top: 1px solid var(--border); padding: 2.5rem 0; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; display: flex; justify-content: space-between; align-items: flex-start; }
.footer-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--accent); display: block; margin-bottom: 0.35rem; }
.footer-tagline { font-size: 0.75rem; color: var(--fg-muted); }
.footer-note p { font-size: 0.72rem; color: var(--fg-muted); max-width: 340px; line-height: 1.5; }
.footer-legal { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-legal a { font-size: 0.78rem; color: var(--fg-muted); text-decoration: none; }
.footer-legal a:hover { color: var(--accent); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-right { order: -1; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .tf-grid { grid-template-columns: 1fr 1fr 1fr; }
  .tf-card--hero { grid-column: 1 / -1; }
  .manifesto-inner { grid-template-columns: 1fr; }
  .steps-row { flex-direction: column; }
  .step-arrow { display: none; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .tf-grid { grid-template-columns: 1fr 1fr; }
  .hero-meta { flex-wrap: wrap; gap: 1rem; }
  .footer-inner { flex-direction: column; gap: 1rem; }
  .footer-note p { text-align: left; }
}