/* IBM Plex Mono headings + IBM Plex Sans body — industrial, data-driven, SCADA-inspired */
:root {
  --bg: #0a0c0e;
  --bg-raised: #111418;
  --bg-card: #181c21;
  --fg: #e8ecf0;
  --fg-muted: #7a8491;
  --fg-dim: #4a525d;
  --accent: #9fef00;
  --accent-dim: #3a5200;
  --border: #232931;
  --red: #ff5c5c;
  --font-head: 'IBM Plex Mono', 'Courier New', monospace;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

/* NAV */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 12, 14, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.12em;
  color: var(--fg);
}
.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 32px 80px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-eyebrow {
  margin-bottom: 28px;
}
.pill {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  background: rgba(159, 239, 0, 0.06);
  padding: 5px 14px;
  border-radius: 2px;
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(56px, 8vw, 100px);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 28px;
}
.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.65;
  margin-bottom: 64px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-value {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 12px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-head);
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* HOW */
.how {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 32px;
  border-top: 1px solid var(--border);
}
.how-header {
  max-width: 600px;
  margin-bottom: 72px;
}
.section-label {
  display: block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 16px;
}
.section-desc {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.6;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}
.how-item {
  background: var(--bg);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.how-num {
  font-family: var(--font-head);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.how-item h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  color: var(--fg);
}
.how-item p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* FEATURES */
.features {
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.feature-main .section-label { margin-bottom: 20px; }
.feature-headline {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: 20px;
}
.feature-desc {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.65;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.feature-item:first-child { border-top: 1px solid var(--border); }
.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  border-radius: 2px;
}
.feature-item h4 {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 4px;
}
.feature-item p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.55;
}

/* PRINCIPLES */
.principles {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px;
}
.principles .section-label { margin-bottom: 48px; }
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}
.principle {
  background: var(--bg);
  padding: 36px 32px;
}
.principle-metric {
  display: block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.principle p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* CLOSING */
.closing {
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
}
.closing-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 32px;
  position: relative;
  overflow: hidden;
}
.closing-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-head);
  font-size: clamp(80px, 14vw, 180px);
  font-weight: 600;
  color: rgba(255,255,255,0.03);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
}
.closing-text {
  font-family: var(--font-head);
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 500;
  line-height: 1.35;
  color: var(--fg);
  max-width: 720px;
  margin-bottom: 24px;
  position: relative;
}
.closing-sub {
  font-size: 16px;
  color: var(--fg-muted);
  max-width: 520px;
  line-height: 1.6;
  position: relative;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-logo {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--fg);
  letter-spacing: 0.06em;
}
.footer-tagline {
  font-size: 12px;
  color: var(--fg-muted);
}
.footer-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--fg-dim);
}
.footer-sep { color: var(--border); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-inner { padding: 14px 20px; }
  .hero { padding: 120px 20px 60px; }
  .hero-stats { gap: 24px; }
  .stat-value { font-size: 26px; }
  .how { padding: 60px 20px; }
  .how-grid { grid-template-columns: 1fr; }
  .features-inner { grid-template-columns: 1fr; gap: 40px; padding: 60px 20px; }
  .principles { padding: 60px 20px; }
  .principles-grid { grid-template-columns: 1fr; }
  .closing-inner { padding: 60px 20px; }
  .footer-inner { flex-direction: column; gap: 16px; align-items: flex-start; padding: 24px 20px; }
}

@media (max-width: 480px) {
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 20px; }
  .stat-divider { display: none; }
}