:root {
  --navy: #0B1F3A;
  --navy-mid: #122644;
  --teal: #00D4C8;
  --teal-dim: rgba(0, 212, 200, 0.12);
  --amber: #F59E0B;
  --off-white: #F8F9FC;
  --light-gray: #E8ECF1;
  --text-dark: #1A2332;
  --text-mid: #5A6580;
  --text-light: #8A96A8;
}

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

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--navy);
  color: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== NAV ===== */
.nav {
  padding: 20px 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner { display: flex; align-items: center; gap: 16px; }
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--off-white);
  letter-spacing: -0.02em;
}
.nav-badge {
  font-size: 11px;
  font-weight: 500;
  color: var(--teal);
  background: var(--teal-dim);
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ===== HERO ===== */
.hero {
  padding: 64px 48px 0;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--off-white);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 16px;
  color: var(--text-light);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.hero-metrics {
  display: flex;
  align-items: center;
  gap: 32px;
}
.metric { display: flex; flex-direction: column; gap: 4px; }
.metric-value {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--teal);
}
.metric-label { font-size: 11px; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.06em; }
.metric-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.1); }

/* Facility Display */
.facility-display {
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
}
.display-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.2);
}
.display-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--text-light);
}
.display-dot.active { background: var(--teal); box-shadow: 0 0 8px var(--teal); }
.display-title { font-size: 12px; font-weight: 500; color: var(--text-light); }

.sensor-grid {
  padding: 20px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sensor-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}
.sensor-label { color: var(--off-white); font-weight: 500; }
.sensor-bar {
  height: 4px;
  background: var(--teal);
  border-radius: 2px;
  opacity: 0.6;
}
.sensor-bar.warning { background: var(--amber); }
.sensor-status { font-size: 11px; font-weight: 600; }
.sensor-status.ok { color: var(--teal); }
.sensor-status.warn { color: var(--amber); }

.incident-feed {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.incident {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.5;
}
.incident.resolved { opacity: 0.5; }
.incident-icon { color: var(--teal); flex-shrink: 0; font-size: 14px; }
.incident-icon.pulse { animation: pulse 2s infinite; color: var(--amber); }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

.hero-bottom-bar {
  margin: 48px -48px 0;
  padding: 16px 48px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 13px;
  color: var(--text-light);
  font-style: italic;
}

/* ===== SECTION COMMON ===== */
.section-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--off-white);
  margin-bottom: 48px;
}
.section-headline.centered { text-align: center; }

/* ===== OUTCOMES ===== */
.outcomes {
  padding: 96px 48px;
  background: var(--off-white);
  color: var(--navy);
}
.outcomes .section-label { color: var(--teal); }
.outcomes .section-headline { color: var(--navy); }
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.outcome-card {
  padding: 40px 36px;
  background: white;
}
.outcome-card.accent { background: var(--navy); color: var(--off-white); }
.outcome-card.accent .outcome-note { color: var(--text-light); }
.outcome-number {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
}
.outcome-card.accent .outcome-number { color: var(--teal); }
.outcome-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.outcome-card.accent .outcome-label { color: var(--off-white); }
.outcome-note { font-size: 13px; color: var(--text-mid); line-height: 1.6; }

/* ===== PLATFORM ===== */
.platform {
  padding: 96px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.platform-left .section-headline { margin-bottom: 24px; }
.platform-body { font-size: 16px; color: var(--text-light); line-height: 1.7; }
.layer-stack { display: flex; flex-direction: column; gap: 0; }
.layer {
  padding: 20px 24px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.layer-top { border-color: var(--teal); background: var(--teal-dim); }
.layer-bottom { border-color: rgba(255,255,255,0.2); }
.layer-title { font-size: 15px; font-weight: 600; color: var(--off-white); }
.layer-top .layer-title { color: var(--teal); }
.layer-desc { font-size: 13px; color: var(--text-light); }
.layer-arrow { text-align: center; font-size: 20px; color: var(--text-mid); padding: 4px 0; }

/* ===== AI WORKFLOW ===== */
.ai-workflow {
  padding: 96px 48px;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%);
}
.workflow-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}
.workflow-step { padding: 0 24px; }
.step-number {
  font-size: 11px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.step-icon {
  color: var(--teal);
  margin-bottom: 16px;
}
.step-title { font-size: 18px; font-weight: 600; color: var(--off-white); margin-bottom: 8px; }
.step-desc { font-size: 14px; color: var(--text-light); line-height: 1.6; }
.workflow-arrow {
  display: flex;
  align-items: center;
  padding-top: 48px;
  font-size: 24px;
  color: rgba(0,212,200,0.3);
}

/* ===== INDUSTRIES ===== */
.industries {
  padding: 96px 48px;
  background: var(--off-white);
  color: var(--navy);
}
.industries .section-label { color: var(--teal); }
.industries .section-headline { color: var(--navy); margin-bottom: 56px; }
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--light-gray);
}
.industry-card {
  padding: 36px 32px;
  background: white;
}
.industry-icon {
  font-size: 28px;
  margin-bottom: 16px;
  display: block;
}
.industry-title { font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: 10px; }
.industry-desc { font-size: 14px; color: var(--text-mid); line-height: 1.6; }

/* ===== CLOSING ===== */
.closing {
  padding: 120px 48px;
  background: var(--navy);
  text-align: center;
}
.closing-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--off-white);
  max-width: 800px;
  margin: 0 auto 28px;
}
.closing-body {
  font-size: 18px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
  padding: 32px 48px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--off-white);
}
.footer-tagline { font-size: 12px; color: var(--text-light); }
.footer-copy { font-size: 12px; color: var(--text-mid); margin-left: auto; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .hero { padding: 48px 24px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-bottom-bar { margin: 40px -24px 0; padding: 16px 24px; }
  .outcomes, .platform, .ai-workflow, .industries, .closing { padding: 64px 24px; }
  .footer { padding: 24px; }
  .outcomes-grid, .industry-grid { grid-template-columns: 1fr; }
  .workflow-steps { grid-template-columns: 1fr; }
  .workflow-arrow { display: none; }
  .platform { grid-template-columns: 1fr; }
  .hero-metrics { flex-wrap: wrap; gap: 20px; }
}