:root {
  --bg: #07090d;
  --bg-alt: #0d1117;
  --surface: #131a24;
  --border: #1e2a3a;
  --fg: #e8edf4;
  --fg-muted: #7a8fa6;
  --accent: #00d4ff;
  --accent-dim: rgba(0, 212, 255, 0.12);
  --ok: #10b981;
  --warn: #f59e0b;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

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

/* NAV */
.nav {
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.5px;
}
.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--fg-muted);
  font-weight: 500;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* HERO */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 40px 60px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: start;
}
.hero-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--fg);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 17px;
  color: var(--fg-muted);
  max-width: 520px;
  line-height: 1.7;
}
.hero-metrics {
  display: flex;
  flex-direction: column;
  gap: 32px;
  border-left: 1px solid var(--border);
  padding-left: 40px;
  min-width: 180px;
}
.metric-value {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -2px;
  line-height: 1;
}
.metric-unit {
  font-size: 20px;
  color: var(--accent);
}
.metric-label {
  font-size: 12px;
  color: var(--fg-muted);
  margin-top: 6px;
  font-weight: 500;
}

/* PULSE SECTION */
.pulse-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px 80px;
}
.pulse-header {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--fg-muted);
  margin-bottom: 16px;
}
.pulse-grid {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.pulse-item {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 20px;
  background: var(--surface);
}
.pulse-icon {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.pulse-icon.ok { background: var(--ok); }
.pulse-icon.warn { background: var(--warn); animation: pulse-dot-warn 1.5s infinite; }
@keyframes pulse-dot-warn {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5); }
  70% { box-shadow: 0 0 0 5px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}
.pulse-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
}
.pulse-status {
  font-size: 12px;
  color: var(--fg-muted);
  margin-top: 2px;
}
.pulse-time {
  font-size: 11px;
  color: var(--fg-muted);
  font-weight: 500;
  white-space: nowrap;
}

/* FEATURES */
.features {
  background: var(--bg-alt);
  padding: 80px 40px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features-header {
  max-width: 1100px;
  margin: 0 auto 56px;
}
.features-header h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -1px;
  margin-bottom: 10px;
}
.features-header p {
  font-size: 16px;
  color: var(--fg-muted);
}
.features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.feature-card {
  padding: 32px 28px;
  background: var(--surface);
}
.feature-icon {
  color: var(--accent);
  margin-bottom: 16px;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* HOW IT WORKS */
.howitworks {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 40px;
}
.hiw-header h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -1px;
  margin-bottom: 48px;
}
.hiw-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}
.hiw-step {
  padding: 0 24px;
}
.hiw-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 12px;
}
.hiw-body h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
}
.hiw-body p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}
.hiw-divider {
  width: 1px;
  height: 100px;
  background: var(--border);
  margin-top: 20px;
}

/* CLOSING */
.closing {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 100px 40px;
  text-align: center;
}
.closing-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
}
.closing-inner p {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px;
  text-align: center;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
}
.footer-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  margin-bottom: 16px;
}
.footer-meta {
  font-size: 12px;
  color: var(--fg-muted);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 48px 24px 40px;
  }
  .hero-metrics {
    flex-direction: row;
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border);
    padding-top: 24px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .howitworks {
    padding: 48px 24px;
  }
  .hiw-steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hiw-divider { display: none; }
  .pulse-section { padding: 0 24px 48px; }
  .features { padding: 48px 24px; }
  .closing { padding: 64px 24px; }
  .nav { padding: 16px 24px; }
}

@media (max-width: 480px) {
  .hero-metrics {
    gap: 20px;
  }
  .metric-value {
    font-size: 28px;
  }
}
