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

:root {
  --bg: #09090e;
  --surface: #0f0f18;
  --lime: #c8ff3a;
  --lime-dim: rgba(200,255,58,0.15);
  --white: #f4f4ef;
  --muted: #8a8a9a;
  --border: rgba(255,255,255,0.07);
  --font-head: 'Syne', sans-serif;
  --font-body: 'Figtree', sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}
.nav-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--lime);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 6rem;
  overflow: hidden;
}

/* Circuit background */
.circuit-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.circuit-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200,255,58,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,255,58,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Nodes */
.node {
  position: absolute;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 20px var(--lime), 0 0 60px rgba(200,255,58,0.3);
  animation: pulse 3s ease-in-out infinite;
}
.n1 { width: 12px; height: 12px; top: 18%; left: 72%; animation-delay: 0s; }
.n2 { width: 8px; height: 8px; top: 35%; left: 85%; animation-delay: 0.8s; }
.n3 { width: 6px; height: 6px; top: 55%; left: 78%; animation-delay: 1.5s; }
.n4 { width: 10px; height: 10px; top: 28%; left: 62%; animation-delay: 0.4s; }
.n5 { width: 7px; height: 7px; top: 65%; left: 90%; animation-delay: 1.2s; }
.n6 { width: 5px; height: 5px; top: 45%; left: 55%; animation-delay: 2s; }

/* Connection lines via pseudo-elements */
.conn {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(200,255,58,0.25), transparent);
  transform-origin: left center;
  animation: flowLine 4s ease-in-out infinite;
}
.c1 { width: 160px; height: 1px; top: calc(18% + 6px); left: calc(72% - 160px); transform: rotate(15deg); animation-delay: 0.2s; }
.c2 { width: 80px; height: 1px; top: calc(35% + 4px); left: calc(85% - 80px); transform: rotate(-20deg); animation-delay: 0.6s; }
.c3 { width: 120px; height: 1px; top: calc(55% + 3px); left: calc(78% - 120px); transform: rotate(10deg); animation-delay: 1s; }
.c4 { width: 200px; height: 1px; top: calc(28% + 5px); left: calc(62% - 100px); transform: rotate(-8deg); animation-delay: 1.4s; }
.c5 { width: 90px; height: 1px; top: calc(45% + 2.5px); left: calc(55% - 90px); transform: rotate(25deg); animation-delay: 1.8s; }

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

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-eyebrow {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 2rem;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 580px;
  line-height: 1.7;
}

/* ===== SECTION SHARED ===== */
.observe, .reason, .act, .improve {
  padding: 7rem 2rem;
  position: relative;
}
.observe-inner, .reason-inner, .act-inner, .improve-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.observe-label, .reason-label, .act-label, .improve-label {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 1rem;
}

/* Alternating layout */
.reason-inner { direction: rtl; }
.reason-inner > * { direction: ltr; }
.improve-inner { direction: rtl; }
.improve-inner > * { direction: ltr; }

.observe-body h2, .reason-body h2, .act-body h2, .improve-body h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.observe-body p, .reason-body p, .act-body p, .improve-body p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 480px;
}

/* ===== OBSERVE STAT ===== */
.observe-stat {
  margin-top: 2.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 4px;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--lime);
}
.stat-unit {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--lime);
}
.stat-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ===== REASON PILLARS ===== */
.reason-pillars {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.pillar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 4px;
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 500;
}
.pillar-icon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--lime);
}

/* ===== MANIFESTO ===== */
.manifesto {
  padding: 8rem 2rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.manifesto-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.manifesto blockquote {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 2rem;
  font-style: normal;
}
.manifesto-sub {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== CLOSING ===== */
.closing {
  padding: 8rem 2rem;
}
.closing-inner {
  max-width: 800px;
  margin: 0 auto;
}
.closing-label {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 1.5rem;
}
.closing h2 {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}
.closing-body {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 580px;
}

/* ===== FOOTER ===== */
.footer {
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--lime);
}
.footer-tagline {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero { padding: 7rem 1.5rem 4rem; }
  .hero-headline { font-size: 2.8rem; }

  .observe-inner, .reason-inner, .act-inner, .improve-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .reason-inner, .improve-inner { direction: ltr; }

  .observe, .reason, .act, .improve { padding: 5rem 1.5rem; }
  .manifesto { padding: 5rem 1.5rem; }
  .closing { padding: 5rem 1.5rem; }

  .footer-inner { flex-direction: column; gap: 0.5rem; text-align: center; }

  .n1 { top: 20%; left: 80%; }
  .n2 { top: 40%; left: 88%; }
  .n3 { top: 60%; left: 75%; }
  .n4 { top: 30%; left: 65%; }
  .n5 { top: 70%; left: 85%; }
  .n6 { top: 50%; left: 58%; }
}