:root {
  --bg: #0d0d14;
  --surface: #13131f;
  --surface-2: #1a1a2e;
  --border: #252538;
  --fg: #f0f0f8;
  --fg-2: #9898b0;
  --fg-3: #5c5c78;
  --accent: #00d4aa;
  --accent-dim: rgba(0, 212, 170, 0.12);
  --accent-glow: rgba(0, 212, 170, 0.08);
  --critical: #ff4d6a;
  --critical-bg: rgba(255, 77, 106, 0.12);
  --info: #6c8aff;
  --info-bg: rgba(108, 138, 255, 0.12);
}

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

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

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 13, 20, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.nav-tagline {
  font-size: 13px;
  color: var(--fg-3);
  font-family: 'DM Mono', monospace;
}

/* SECTION UTILS */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.8px;
  color: var(--fg);
  margin-bottom: 60px;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 32px 80px;
  position: relative;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 100%);
}
.hero-content { position: relative; }
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-bottom: 28px;
}
.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.hero-headline {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
  background: linear-gradient(180deg, var(--fg) 0%, var(--fg-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 17px;
  color: var(--fg-2);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-value {
  font-family: 'DM Mono', monospace;
  font-size: 22px;
  font-weight: 500;
  color: var(--accent);
}
.stat-label {
  font-size: 12px;
  color: var(--fg-3);
  letter-spacing: 0.5px;
}
.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* HERO VISUAL */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}
.monitor-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,212,170,0.08);
}
.monitor-header {
  background: var(--surface-2);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}
.monitor-dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }
.monitor-url {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--fg-3);
  flex: 1;
}
.monitor-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(0,212,170,0.2);
}
.monitor-body { padding: 20px; }
.timeline { display: flex; flex-direction: column; gap: 16px; }
.timeline-item {
  display: grid;
  grid-template-columns: 70px auto 1fr;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.timeline-recent { background: rgba(0,212,170,0.05); margin: -6px; padding: 6px; border-radius: 8px; border: 1px solid rgba(0,212,170,0.1); }
.time {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--fg-3);
}
.change-tag {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.change-critical { background: var(--critical-bg); color: var(--critical); border: 1px solid rgba(255,77,106,0.2); }
.change-info { background: var(--info-bg); color: var(--info); border: 1px solid rgba(108,138,255,0.2); }
.change-text { color: var(--fg-2); }

.alert-bubble {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 12px;
  color: var(--fg-2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  animation: slideUp 0.6s ease-out 0.8s both;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* HOW IT WORKS */
.how-it-works {
  padding: 100px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.steps {
  display: flex;
  align-items: center;
  gap: 20px;
}
.step { flex: 1; }
.step-number {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.step-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.step-content p { font-size: 14px; color: var(--fg-2); line-height: 1.6; }
.step-arrow { flex-shrink: 0; opacity: 0.4; }

/* FEATURES */
.features { padding: 100px 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.feature-card {
  background: var(--bg);
  padding: 36px;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--surface); }
.feature-large { grid-column: span 2; }
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border: 1px solid rgba(0,212,170,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}
.feature-card p { font-size: 14px; color: var(--fg-2); line-height: 1.65; }

/* USE CASES */
.use-cases {
  padding: 100px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.case-card {
  background: var(--bg);
  padding: 32px;
  transition: background 0.2s;
}
.case-card:hover { background: var(--surface-2); }
.case-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border: 1px solid rgba(0,212,170,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.case-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.2px; }
.case-card p { font-size: 13px; color: var(--fg-2); line-height: 1.6; }

/* CLOSING */
.closing {
  padding: 120px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.closing-content { max-width: 700px; }
.closing-headline {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  background: linear-gradient(180deg, var(--fg) 0%, var(--fg-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.closing-sub {
  font-size: 18px;
  color: var(--fg-2);
  line-height: 1.7;
  max-width: 580px;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
}
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
}
.footer-copy { font-size: 14px; color: var(--fg-2); margin-bottom: 6px; }
.footer-meta { font-size: 12px; color: var(--fg-3); font-family: 'DM Mono', monospace; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; padding: 80px 24px 60px; }
  .hero-visual { display: none; }
  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .features-grid { grid-template-columns: 1fr; }
  .feature-large { grid-column: span 1; }
  .cases-grid { grid-template-columns: 1fr 1fr; }
  .nav-inner { padding: 0 20px; }
  .section-inner { padding: 0 20px; }
  .hero-stats { flex-wrap: wrap; }
  .timeline-item { grid-template-columns: 60px auto; }
  .change-text { display: none; }
}

@media (max-width: 480px) {
  .cases-grid { grid-template-columns: 1fr; }
  .how-it-works { padding: 60px 0; }
  .features, .use-cases, .closing { padding: 60px 0; }
  .section-title { margin-bottom: 40px; }
}