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

:root {
  --bg: #05080F;
  --surface: #0A0E1A;
  --surface-2: #111827;
  --border: rgba(0, 212, 255, 0.12);
  --cyan: #00D4FF;
  --cyan-dim: rgba(0, 212, 255, 0.6);
  --cyan-glow: rgba(0, 212, 255, 0.15);
  --white: #FFFFFF;
  --gray-100: #E8EEF4;
  --gray-300: #8896AA;
  --gray-500: #4A5568;
  --font-display: 'Syne', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, 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;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* === NAV === */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 32px;
  backdrop-filter: blur(12px);
  background: rgba(5, 8, 15, 0.8);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.12em;
  color: var(--white);
}

.nav-tag {
  font-size: 12px;
  color: var(--gray-300);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-left: 1px solid var(--border);
  padding-left: 16px;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 120px 64px 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.12), transparent 70%);
  top: -100px;
  right: -100px;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 150, 255, 0.08), transparent 70%);
  bottom: -50px;
  left: 200px;
}

.hero-scanner-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--cyan-dim), transparent);
  animation: scan 4s ease-in-out infinite;
  left: 50%;
  opacity: 0.3;
  pointer-events: none;
}

@keyframes scan {
  0%, 100% { transform: translateX(-20px); opacity: 0; }
  50% { transform: translateX(20px); opacity: 0.4; }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 28px;
  background: var(--cyan-glow);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(52px, 5vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--white);
}

.hero-sub {
  font-size: 18px;
  color: var(--gray-300);
  max-width: 440px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  font-size: 12px;
  font-weight: 500;
  color: var(--cyan);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

/* === RUNWAY VISUAL === */
.runway-visual {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.runway-strip {
  display: flex;
  gap: 8px;
  padding: 24px 0;
  border-top: 2px solid rgba(0, 212, 255, 0.3);
  border-bottom: 2px solid rgba(0, 212, 255, 0.3);
  position: relative;
  width: 100%;
}

.runway-strip::before,
.runway-strip::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan-dim), transparent 30%, transparent 70%, var(--cyan-dim));
}

.runway-strip::before { top: -8px; }
.runway-strip::after { bottom: -8px; }

.runway-light {
  flex: 1;
  height: 8px;
  border-radius: 2px;
  background: rgba(0, 212, 255, 0.2);
  position: relative;
  transition: all 0.3s;
}

.runway-light.active,
.runway-light:nth-child(-n+5) {
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan), 0 0 24px rgba(0, 212, 255, 0.4);
  animation: pulse-light 2s ease-in-out infinite;
}

@keyframes pulse-light {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; box-shadow: 0 0 20px var(--cyan); }
}

.agent-ship {
  position: relative;
  margin: 16px 0;
}

.ship-body {
  width: 32px;
  height: 32px;
  background: var(--cyan);
  clip-path: polygon(50% 0%, 100% 100%, 50% 75%, 0% 100%);
  box-shadow: 0 0 30px var(--cyan), 0 0 60px rgba(0, 212, 255, 0.3);
}

.ship-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.4), transparent 70%);
  animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

.agent-trail {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.trail-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.5;
}

.trail-dot.t1 { opacity: 0.5; width: 6px; }
.trail-dot.t2 { opacity: 0.35; width: 5px; }
.trail-dot.t3 { opacity: 0.2; width: 4px; }
.trail-dot.t4 { opacity: 0.1; width: 3px; }

.status-readout {
  margin-top: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-300);
  font-family: 'Courier New', monospace;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 8px #22C55E;
  animation: dot-blink 2s ease-in-out infinite;
}

@keyframes dot-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.status-val {
  color: var(--cyan);
  font-weight: 600;
}

/* === MANIFESTO === */
.manifesto {
  padding: 100px 64px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.manifesto-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.manifesto-label-right {
  text-align: right;
  color: var(--cyan);
}

.manifesto h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.manifesto-answer {
  color: var(--cyan);
}

.manifesto p {
  font-size: 18px;
  color: var(--gray-300);
  line-height: 1.7;
  margin-bottom: 40px;
}

.manifesto-divider {
  width: 80px;
  height: 1px;
  background: linear-gradient(to right, var(--cyan), transparent);
  margin: 48px 0;
  margin-left: auto;
}

/* === FEATURES === */
.features {
  padding: 100px 64px;
}

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

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 40px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 64px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.05);
}

.feature-icon {
  color: var(--cyan);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}

.feature-card p {
  font-size: 15px;
  color: var(--gray-300);
  line-height: 1.65;
}

.proof-row {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.proof-item {
  text-align: center;
  flex: 1;
}

.proof-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 8px;
  text-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
}

.proof-label {
  font-size: 13px;
  color: var(--gray-300);
  letter-spacing: 0.04em;
}

.proof-sep {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* === CLOSER === */
.closer {
  padding: 120px 64px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.closer-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.08), transparent 65%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(80px);
  pointer-events: none;
}

.closer-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.closer-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.5vw, 68px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--white);
}

.closer-sub {
  font-size: 18px;
  color: var(--gray-300);
  line-height: 1.7;
  margin-bottom: 48px;
}

.closer-vision {
  border-top: 1px solid var(--border);
  padding-top: 40px;
  text-align: left;
}

.vision-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
  text-align: center;
}

.closer-vision p {
  font-size: 16px;
  color: var(--gray-300);
  line-height: 1.7;
  margin-bottom: 8px;
  text-align: center;
}

.closer-vision p:last-child {
  color: var(--white);
  font-weight: 500;
}

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

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.12em;
  color: var(--gray-300);
}

.footer-note {
  font-size: 13px;
  color: var(--gray-500);
}

.footer-meta {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 8px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 100px 24px 60px;
    min-height: auto;
    gap: 48px;
  }

  .hero-headline {
    font-size: 44px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .runway-visual {
    padding-bottom: 40px;
  }

  .manifesto {
    padding: 64px 24px;
  }

  .manifesto h2 {
    font-size: 32px;
  }

  .features {
    padding: 64px 24px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .proof-row {
    flex-direction: column;
    gap: 24px;
    padding: 24px;
  }

  .proof-sep {
    width: 48px;
    height: 1px;
  }

  .closer {
    padding: 80px 24px;
  }

  .closer-headline {
    font-size: 36px;
  }

  footer {
    padding: 32px 24px;
  }

  .nav-tag {
    display: none;
  }

  .proof-number {
    font-size: 36px;
  }
}