:root {
  --bg: #0D1117;
  --bg-alt: #161B22;
  --fg: #E8EAED;
  --fg-muted: #8B949E;
  --accent: #FF9500;
  --accent-dim: rgba(255, 149, 0, 0.12);
  --border: rgba(255, 149, 0, 0.15);
  --font-head: 'Outfit', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

* { 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 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 40px;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 149, 0, 0.08);
}
.nav-inner { display: flex; align-items: center; gap: 10px; }
.nav-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  color: var(--accent);
  letter-spacing: -0.5px;
}
.nav-brand {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  color: var(--fg);
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 40px 80px;
  position: relative;
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,149,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,149,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--fg);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--fg-muted);
  max-width: 580px;
  margin: 0 auto 48px;
  line-height: 1.7;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-alt);
  max-width: 480px;
  margin: 0 auto;
}
.stat {
  flex: 1;
  padding: 16px 20px;
  text-align: center;
}
.stat-value {
  display: block;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.5px;
}
.stat-label {
  display: block;
  font-size: 11px;
  color: var(--fg-muted);
  margin-top: 2px;
  letter-spacing: 0.04em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* CONTRAST */
.contrast { padding: 100px 40px; background: var(--bg-alt); }
.contrast-inner { max-width: 900px; margin: 0 auto; }
.contrast-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.contrast-headline {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.2;
  margin-bottom: 48px;
  letter-spacing: -0.5px;
}
.contrast-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contrast-card {
  background: var(--bg);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 32px;
}
.contrast-card.before { opacity: 0.7; }
.contrast-card.after { border-color: var(--border); }
.contrast-card-header { margin-bottom: 20px; }
.card-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  background: rgba(255,255,255,0.06);
  padding: 4px 10px;
  border-radius: 6px;
}
.card-tag.highlight { color: var(--accent); background: var(--accent-dim); }
.contrast-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.contrast-list li {
  font-size: 14px;
  color: var(--fg-muted);
  padding-left: 16px;
  position: relative;
}
.contrast-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--fg-muted);
}
.contrast-card.after .contrast-list li::before { background: var(--accent); }
.contrast-card.after .contrast-list li { color: var(--fg); }

/* FEATURES */
.features { padding: 100px 40px; }
.features-inner { max-width: 1100px; margin: 0 auto; }
.features-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.features-headline {
  font-family: var(--font-head);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.2;
  margin-bottom: 56px;
  letter-spacing: -0.5px;
  max-width: 480px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.feature-card {
  background: var(--bg-alt);
  padding: 36px 32px;
  transition: background 0.2s;
}
.feature-card:hover { background: #1C2128; }
.feature-icon {
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
}
.feature-title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}
.feature-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ARCHITECTURE */
.architecture { padding: 100px 40px; background: var(--bg-alt); }
.architecture-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.arch-visual {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.arch-cabinet { flex: 0 0 auto; }
.cabinet-frame {
  background: #161B22;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  width: 200px;
}
.cabinet-label {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.cabinet-circuits { display: flex; flex-direction: column; gap: 10px; }
.circuit { display: flex; flex-direction: column; gap: 4px; }
.circuit span { font-size: 10px; color: var(--fg-muted); }
.circuit-bar {
  height: 6px;
  background: linear-gradient(90deg, var(--accent), rgba(255,149,0,0.4));
  border-radius: 3px;
}
.arch-status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
}
.status-dot {
  width: 7px; height: 7px; border-radius: 50%;
}
.status-dot.online { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,0.2); }
.status-text { font-size: 12px; color: var(--fg-muted); }
.arch-connections { display: flex; flex-direction: column; gap: 20px; flex: 1; }
.conn-line {
  display: flex;
  align-items: center;
  gap: 8px;
}
.conn-line.second { justify-content: flex-end; }
.conn-label {
  font-size: 11px;
  color: var(--fg-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.conn-cloud {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 600;
}
.arch-dashboard {
  background: #0D1117;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  min-width: 180px;
}
.dashboard-label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.dash-metrics { display: flex; gap: 16px; margin-bottom: 14px; }
.dash-metric { display: flex; flex-direction: column; }
.dash-val {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
}
.dash-unit {
  font-size: 10px;
  color: var(--accent);
  font-weight: 600;
}
.dash-name { font-size: 9px; color: var(--fg-muted); margin-top: 2px; }
.dash-alert {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 11px;
  color: var(--accent);
}
.arch-text {}
.arch-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.arch-headline {
  font-family: var(--font-head);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.arch-desc { font-size: 15px; color: var(--fg-muted); line-height: 1.7; }

/* CLOSING */
.closing { padding: 120px 40px; text-align: center; }
.closing-inner { max-width: 600px; margin: 0 auto; }
.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: var(--fg);
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.closing-sub {
  font-size: 16px;
  color: var(--fg-muted);
}

/* FOOTER */
.footer { padding: 48px 40px; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.footer-logo { display: flex; align-items: center; gap: 8px; }
.footer-logo-mark {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  color: var(--accent);
}
.footer-brand {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--fg);
}
.footer-tagline { font-size: 13px; color: var(--fg-muted); }
.footer-copy { font-size: 12px; color: #4a5568; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav { padding: 16px 20px; }
  .hero { padding: 100px 20px 60px; }
  .contrast { padding: 60px 20px; }
  .contrast-grid { grid-template-columns: 1fr; }
  .features { padding: 60px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .architecture { padding: 60px 20px; }
  .architecture-inner { grid-template-columns: 1fr; gap: 48px; }
  .arch-visual { justify-content: center; }
  .closing { padding: 80px 20px; }
  .footer { padding: 40px 20px; }
}