/* =====================
   BASE RESET & TOKENS
   ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #060B18;
  --bg-2: #0A1428;
  --bg-3: #0F1D3A;
  --fg: #E2EAF4;
  --fg-muted: #7B8BA5;
  --fg-dim: #4A5568;
  --accent: #00D4FF;
  --accent-dim: rgba(0, 212, 255, 0.08);
  --accent-glow: rgba(0, 212, 255, 0.25);
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(0, 212, 255, 0.2);
  --font-head: 'Syne', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
}

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
   ===================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 40px;
  height: 56px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  background: rgba(6, 11, 24, 0.8);
}

.nav-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--fg);
}

.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  font-family: var(--font-body);
  font-weight: 300;
  letter-spacing: 0.03em;
}

/* =====================
   HERO
   ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 40px 80px;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  pointer-events: none;
}

.hero-bg-rings {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  pointer-events: none;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0.08;
}
.ring-1 { width: 120px; height: 120px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.ring-2 { width: 250px; height: 250px; top: 50%; left: 50%; transform: translate(-50%, -50%); opacity: 0.06; }
.ring-3 { width: 400px; height: 400px; top: 50%; left: 50%; transform: translate(-50%, -50%); opacity: 0.04; }
.ring-4 { width: 540px; height: 540px; top: 50%; left: 50%; transform: translate(-50%, -50%); opacity: 0.025; }
.ring-5 { width: 600px; height: 600px; top: 50%; left: 50%; transform: translate(-50%, -50%); opacity: 0.015; }

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 20px;
}

.hero-lede {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.65;
  font-weight: 300;
  max-width: 480px;
}

/* Hero visual - signal node network */
.hero-visual {
  position: relative;
  width: 100%;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signal-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.signal-node {
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow), 0 0 40px rgba(0, 212, 255, 0.1);
}

.node-center {
  width: 28px;
  height: 28px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.5), 0 0 60px rgba(0, 212, 255, 0.2);
}
.node-nw { width: 12px; height: 12px; top: 18%; left: 15%; }
.node-ne { width: 16px; height: 16px; top: 20%; right: 18%; }
.node-sw { width: 10px; height: 10px; bottom: 22%; left: 12%; }
.node-se { width: 14px; height: 14px; bottom: 20%; right: 14%; }

/* Hero stats bar */
.hero-stats {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 60px auto 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 28px 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.stat-value {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 300;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* =====================
   SECTION SHARED
   ===================== */
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-heading {
  font-family: var(--font-head);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg);
}

/* =====================
   FEATURES
   ===================== */
.features {
  padding: 100px 40px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.features-header {
  max-width: 1100px;
  margin: 0 auto 60px;
}

.features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.feature {
  padding: 32px 36px;
  background: var(--bg-2);
  transition: background 0.2s;
}

.feature:hover {
  background: var(--bg-3);
}

.feature-large {
  grid-column: 1;
  grid-row: 1;
}

.feature-highlight {
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
}

.feature-highlight:hover {
  background: rgba(0, 212, 255, 0.06);
}

.feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: 8px;
  margin-bottom: 16px;
}

.feature-title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
  line-height: 1.3;
}

.feature-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
  font-weight: 300;
}

/* =====================
   PROCESS
   ===================== */
.process {
  padding: 100px 40px;
  background: var(--bg);
}

.process-header {
  max-width: 1100px;
  margin: 0 auto 60px;
}

.process-steps {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
}

.step {
  position: relative;
  padding: 36px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-right: none;
}
.step:last-child { border-right: 1px solid var(--border); }

.step-number {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}

.step-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
  font-weight: 300;
}

/* =====================
   MANIFESTO
   ===================== */
.manifesto {
  padding: 100px 40px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 760px;
  margin: 0 auto;
}

.manifesto-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 32px;
}

.manifesto-quote {
  font-family: var(--font-head);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--fg);
  border-left: 2px solid var(--accent);
  padding-left: 28px;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.manifesto-body {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
  font-weight: 300;
  padding-left: 30px;
}

/* =====================
   CLOSING STATEMENT
   ===================== */
.closing {
  padding: 100px 40px 120px;
  background: var(--bg);
  text-align: center;
  border-top: 1px solid var(--border);
}

.closing-inner {
  max-width: 680px;
  margin: 0 auto;
}

.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 18px;
}

.closing-sub {
  font-size: 18px;
  color: var(--fg-muted);
  font-weight: 300;
  line-height: 1.5;
}

/* =====================
   FOOTER
   ===================== */
.footer {
  padding: 32px 40px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--fg);
}

.footer-note {
  font-size: 13px;
  color: var(--fg-dim);
  font-weight: 300;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .stat-divider { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-large { grid-column: 1 / -1; }
  .feature-highlight { grid-column: 1 / -1; }
  .process-steps { grid-template-columns: 1fr; }
  .step { border-right: 1px solid var(--border); border-bottom: none; }
  .step:last-child { border-bottom: 1px solid var(--border); }
}

@media (max-width: 600px) {
  .hero { padding: 100px 24px 60px; }
  .features, .process, .manifesto, .closing { padding: 60px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-large, .feature-highlight { grid-column: 1; }
  .nav { padding: 0 24px; }
  .nav-tagline { display: none; }
  .hero-stats { padding: 20px 24px; }
  .stat-value { font-size: 18px; }
  .footer-inner { flex-direction: column; gap: 8px; align-items: flex-start; }
}