/* NightWatch — dark, focused, professional */

:root {
  --bg: #0a0c10;
  --bg-surface: #111318;
  --bg-elevated: #181b22;
  --fg: #e8e9ed;
  --fg-muted: #7a7f8c;
  --accent: #e8853a;
  --accent-dim: rgba(232, 133, 58, 0.15);
  --alert: #e85a3a;
  --ok: #3ae87a;
  --border: rgba(255,255,255,0.07);
  --radius: 10px;
}

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

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

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 48px;
  background: rgba(10,12,16,0.85);
  backdrop-filter: blur(12px);
  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: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--fg-muted);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px var(--ok);
  animation: pulse 2s infinite;
}

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

/* Hero */
.hero {
  padding: 140px 48px 100px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.hero-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  color: var(--fg);
}

.hero-sub {
  font-size: 20px;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 56px;
}

.hero-visual {
  max-width: 640px;
}

.monitor-feed {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.feed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}

.feed-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.feed-status {
  font-size: 12px;
  color: var(--ok);
  display: flex;
  align-items: center;
  gap: 6px;
}

.feed-items { padding: 8px 0; }

.feed-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  line-height: 1.5;
}

.feed-item:last-child { border-bottom: none; }

.feed-item--alert { background: var(--accent-dim); border-left: 3px solid var(--alert); }

.feed-time {
  color: var(--fg-muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  padding-top: 1px;
}

.feed-text strong { color: var(--fg); }

/* How it works */
.how-it-works {
  padding: 80px 48px;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 48px;
}

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

.step {
  padding: 36px 40px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step-number {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.step-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--fg);
  margin-bottom: 12px;
  line-height: 1.3;
}

.step-desc {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* Features */
.features {
  padding: 80px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.features-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.feature-card {
  padding: 56px 52px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.feature-card--primary { border-top: 3px solid var(--accent); }

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

.feature-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 20px;
}

.feature-body {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 12px;
}

.features-stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.feature-mini {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px 32px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  flex: 1;
}

.feature-mini:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.feature-mini:last-child { border-radius: 0 0 var(--radius) var(--radius); }

.feature-mini-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 8px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-mini-icon::after {
  content: '';
  width: 14px;
  height: 14px;
  background: var(--accent);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 2L2 7l10 5 10-5-10-5z'/%3E%3Cpath d='M2 17l10 5 10-5'/%3E%3Cpath d='M2 12l10 5 10-5'/%3E%3C/svg%3E") center/contain no-repeat;
}

.feature-mini h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 4px;
}

.feature-mini p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* Vision */
.vision {
  padding: 100px 48px;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.vision-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.vision-quote {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.vision-body p {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Footer */
.footer {
  padding: 60px 48px 80px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.footer-brand {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--fg);
}

.footer-tagline {
  font-size: 15px;
  color: var(--fg-muted);
}

.footer-meta {
  font-size: 13px;
  color: var(--fg-muted);
  opacity: 0.5;
}

/* Responsive */
@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .hero { padding: 100px 24px 64px; }
  .hero-headline { font-size: 36px; }
  .hero-sub { font-size: 17px; }
  .steps-grid { grid-template-columns: 1fr; }
  .features-split { grid-template-columns: 1fr; }
  .vision-inner { grid-template-columns: 1fr; gap: 40px; }
  .how-it-works, .features, .vision { padding: 56px 24px; }
  .footer { padding: 48px 24px 60px; }
  .feature-card { padding: 36px 28px; }
}