/* === TOKENS === */
:root {
  --bg: #0c0d14;
  --surface: #141720;
  --surface-raised: #1c2030;
  --border: #252a3a;
  --text: #e2e4eb;
  --text-muted: #6b7280;
  --text-faint: #3d4455;
  --accent: #f59e0b;
  --accent-dim: rgba(245, 158, 11, 0.12);
  --green: #10b981;
  --green-dim: rgba(16, 185, 129, 0.12);
  --red: #ef4444;
  --red-dim: rgba(239, 68, 68, 0.12);
  --amber: #f59e0b;
  --amber-dim: rgba(245, 158, 11, 0.12);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(12, 13, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.nav-badge {
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 99px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* === HERO === */
.hero {
  padding: 140px 32px 96px;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.08;
  color: var(--text);
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 480px;
}

/* === DASHBOARD CARD === */
.hero-visual { display: flex; justify-content: center; }
.dashboard-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 32px 64px rgba(0,0,0,0.4), 0 0 0 1px rgba(245,158,11,0.08);
}
.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.dash-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}
.dash-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--green);
  font-weight: 600;
}
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.dash-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.stat-item {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--text);
}
.stat-label {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}
.stat-warn .stat-num { color: var(--amber); }
.stat-ok .stat-num { color: var(--green); }
.dash-alerts { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.alert-item {
  display: grid;
  grid-template-columns: 10px 1fr;
  grid-template-rows: auto auto;
  gap: 2px 10px;
  padding: 10px 12px;
  background: var(--surface-raised);
  border-radius: 8px;
  font-size: 12px;
}
.alert-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 4px;
  align-self: start;
}
.alert-red { background: var(--red); box-shadow: 0 0 6px var(--red); }
.alert-amber { background: var(--amber); box-shadow: 0 0 6px var(--amber); }
.alert-green { background: var(--green); }
.alert-text { color: var(--text); font-weight: 500; }
.alert-action {
  grid-column: 2;
  color: var(--text-muted);
  font-size: 11px;
  font-style: italic;
}
.dash-digest {
  background: var(--accent-dim);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 8px;
  padding: 12px;
}
.digest-label {
  font-size: 10px;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.digest-preview {
  font-size: 12px;
  color: var(--text);
  line-height: 1.5;
  font-style: italic;
}

/* === PROBLEM === */
.problem { padding: 96px 32px; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.problem-inner { max-width: 1200px; margin: 0 auto; }
.problem-header { margin-bottom: 56px; }
.section-label {
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.8px;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.problem-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}
.problem-icon { color: var(--accent); margin-bottom: 16px; }
.problem-card h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 10px;
}
.problem-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.problem-conclusion {
  text-align: center;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
}
.problem-conclusion p {
  font-size: 16px;
  color: var(--text-muted);
  font-style: italic;
}
.problem-conclusion p strong { color: var(--accent); font-style: normal; }

/* === FEATURES === */
.features { padding: 96px 32px; }
.features-inner { max-width: 1200px; margin: 0 auto; }
.features-inner .section-headline { margin-bottom: 56px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-item {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.2s;
}
.feature-item:hover { border-color: var(--accent); }
.feature-icon-wrap {
  width: 40px;
  height: 40px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 18px;
}
.feature-item h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 10px;
}
.feature-item p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* === HOW IT WORKS === */
.howitworks { padding: 96px 32px; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.howitworks-inner { max-width: 1200px; margin: 0 auto; }
.howitworks-inner .section-headline { margin-bottom: 56px; }
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 36px;
  color: var(--text-faint);
  line-height: 1;
  letter-spacing: -1px;
}
.step-content h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  margin-bottom: 8px;
}
.step-content p { font-size: 15px; color: var(--text-muted); line-height: 1.65; max-width: 600px; }

/* === OUTCOMES === */
.outcomes { padding: 80px 32px; }
.outcomes-inner { max-width: 1200px; margin: 0 auto; }
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.outcome {
  text-align: center;
  padding: 32px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.outcome-stat {
  display: block;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 40px;
  color: var(--accent);
  letter-spacing: -2px;
  margin-bottom: 8px;
}
.outcome-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.outcomes-context {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* === CLOSING === */
.closing { padding: 96px 32px; text-align: center; }
.closing-inner { max-width: 800px; margin: 0 auto; }
.closing-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 4vw, 48px);
  color: var(--text);
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 20px;
}
.closing-sub { font-size: 17px; color: var(--text-muted); line-height: 1.6; }

/* === FOOTER === */
.footer {
  padding: 40px 32px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
}
.footer-tagline { font-size: 12px; color: var(--text-muted); }
.footer-note { font-size: 12px; color: var(--text-faint); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .problem-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 8px; }
  .step-num { font-size: 24px; }
}

@media (max-width: 600px) {
  .hero { padding: 100px 20px 64px; }
  .problem, .features, .howitworks, .outcomes, .closing { padding: 64px 20px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}