/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0f172a;
  --bg-2: #1e293b;
  --bg-3: #334155;
  --fg: #f1f5f9;
  --fg-2: #94a3b8;
  --fg-3: #64748b;
  --accent: #3b82f6;
  --accent-glow: rgba(59, 130, 246, 0.25);
  --amber: #f59e0b;
  --amber-dim: rgba(245, 158, 11, 0.15);
  --green: #22c55e;
  --green-dim: rgba(34, 197, 94, 0.15);
  --font-head: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

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

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 40px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.nav-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--accent-glow);
  color: var(--accent);
  padding: 3px 8px;
  border-radius: 20px;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.nav-cta {
  margin-left: auto;
  padding: 8px 18px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.85; }

/* ===== HERO ===== */
.hero {
  padding: 140px 40px 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 17px;
  color: var(--fg-2);
  line-height: 1.7;
  max-width: 480px;
}

/* Turbine Widget */
.turbine-widget {
  background: var(--bg-2);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.turbine-svg-wrap {
  display: flex;
  justify-content: center;
}

.turbine-svg-wrap svg {
  width: 120px;
  height: 160px;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.pulse-dot {
  animation: pulse-glow 2s ease-in-out infinite;
}

.turbine-status {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: var(--bg-3);
  border-radius: 8px;
}

.status-row.warning {
  background: var(--amber-dim);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot.green { background: var(--green); }
.status-dot.amber { background: var(--amber); }

.status-label {
  font-size: 13px;
  color: var(--fg-2);
  flex: 1;
}

.status-val {
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-3);
}

.status-row.warning .status-val { color: var(--amber); }

.alert-card {
  display: flex;
  gap: 12px;
  padding: 14px;
  background: var(--amber-dim);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 10px;
}

.alert-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.alert-text { display: flex; flex-direction: column; gap: 4px; }

.alert-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber);
}

.alert-body {
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.5;
}

/* ===== STATS ROW ===== */
.stats-row {
  background: var(--bg-2);
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  padding: 48px 40px;
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
}

.stat-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 32px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(148, 163, 184, 0.1);
}

.stat-num {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--fg);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--fg-3);
  line-height: 1.4;
  max-width: 140px;
}

/* ===== HOW SECTION ===== */
.how-section {
  padding: 100px 40px;
}

.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-headline {
  font-family: var(--font-head);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--fg);
  max-width: 640px;
  margin-bottom: 60px;
}

.how-steps {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.step { display: flex; flex-direction: column; gap: 12px; }

.step-num {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(59, 130, 246, 0.2);
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  width: fit-content;
}

.step-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
}

.step-body {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.7;
}

/* ===== SIGNALS SECTION ===== */
.signals-section {
  padding: 100px 40px;
  background: var(--bg-2);
  border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.signals-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.signals-header { margin-bottom: 56px; }

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.signal-card {
  background: var(--bg);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s;
}

.signal-card:hover { border-color: rgba(59, 130, 246, 0.3); }

.signal-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-glow);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signal-title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
}

.signal-desc {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.6;
}

/* ===== CLOSING ===== */
.closing-section {
  padding: 120px 40px;
  background: var(--bg);
  text-align: center;
}

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
}

.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 24px;
}

.closing-sub {
  font-size: 17px;
  color: var(--fg-2);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 48px;
}

.closing-quote {
  background: var(--bg-2);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 12px;
  padding: 32px 40px;
  display: inline-block;
}

.closing-quote blockquote {
  font-size: 18px;
  font-style: italic;
  color: var(--fg-2);
  line-height: 1.6;
}

.quote-attribution {
  display: block;
  font-size: 13px;
  font-style: normal;
  color: var(--fg-3);
  margin-top: 12px;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  padding: 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.footer-logo {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
}

.footer-tagline {
  font-size: 13px;
  color: var(--fg-3);
  margin-top: 4px;
}

.footer-note {
  max-width: 400px;
  font-size: 12px;
  color: var(--fg-3);
  line-height: 1.6;
  text-align: right;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .how-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .signal-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .stat-divider { display: none; }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-note { text-align: center; }
}

@media (max-width: 600px) {
  .hero { padding: 120px 24px 60px; }
  .stats-row { padding: 40px 24px; }
  .how-section { padding: 60px 24px; }
  .signals-section { padding: 60px 24px; }
  .closing-section { padding: 80px 24px; }

  .how-steps { grid-template-columns: 1fr; }
  .signal-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
}