/* Base reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #050B18;
  --cyan: #00D4FF;
  --amber: #FF8C42;
  --white: #FFFFFF;
  --muted: #94A3B8;
  --surface: #0A1628;
  --border: rgba(0, 212, 255, 0.15);
}

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.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: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 48px 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--cyan);
  border: 1px solid var(--border);
  padding: 6px 14px;
  margin-bottom: 32px;
  text-transform: uppercase;
}

.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.title-line-1 {
  display: block;
  color: var(--white);
}

.title-line-2 {
  display: block;
  color: var(--cyan);
}

.hero-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 440px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-val {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

/* Agent diagram */
.hero-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.agent-diagram {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.agent-core {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.core-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--cyan);
  opacity: 0.2;
  animation: pulse-ring 3s ease-in-out infinite;
}

.ring-1 { width: 120px; height: 120px; animation-delay: 0s; }
.ring-2 { width: 200px; height: 200px; animation-delay: 0.5s; opacity: 0.12; }
.ring-3 { width: 280px; height: 280px; animation-delay: 1s; opacity: 0.06; }

@keyframes pulse-ring {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.02); }
}

.core-dot {
  width: 20px;
  height: 20px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
  animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.6); }
  50% { box-shadow: 0 0 40px rgba(0, 212, 255, 1), 0 0 80px rgba(0, 212, 255, 0.3); }
}

.orbit-label {
  position: absolute;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--cyan);
  text-transform: uppercase;
  border: 1px solid var(--border);
  padding: 6px 12px;
  background: rgba(0, 212, 255, 0.05);
}

.top-label { top: 16px; left: 50%; transform: translateX(-50%); }
.right-label { right: 8px; top: 50%; transform: translateY(-50%); }
.bottom-label { bottom: 16px; left: 50%; transform: translateX(-50%); }
.left-label { left: 8px; top: 50%; transform: translateY(-50%); }

.live-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--amber);
  text-transform: uppercase;
  border: 1px solid rgba(255, 140, 66, 0.3);
  padding: 8px 16px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--amber);
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

/* SHARED section styles */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

.section-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 64px;
}

/* STACK */
.stack {
  padding: 120px 0;
  border-bottom: 1px solid var(--border);
}

.stack-steps {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 64px;
}

.step {
  flex: 1;
  padding: 40px 40px 40px 0;
}

.step-sep {
  width: 1px;
  background: var(--border);
  margin: 0 48px;
  align-self: stretch;
}

.step-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: rgba(0, 212, 255, 0.15);
  line-height: 1;
  margin-bottom: 16px;
}

.step h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}

.step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.stack-quote {
  font-size: 15px;
  color: var(--muted);
  font-style: italic;
  border-left: 2px solid var(--cyan);
  padding-left: 20px;
  max-width: 600px;
}

/* PLAYBOOK */
.playbook {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--navy) 0%, var(--surface) 100%);
  border-bottom: 1px solid var(--border);
}

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

.play-item {
  padding: 48px 48px 48px 0;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.play-item:nth-child(even) {
  padding-right: 0;
  padding-left: 48px;
  border-right: none;
}

.play-item:nth-last-child(-n+2) {
  border-bottom: none;
}

.play-icon {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 16px;
}

.icon-bracket { opacity: 0.4; }

.play-item h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}

.play-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* Revenue model bar */
.revenue-model {
  background: rgba(0, 212, 255, 0.04);
  border: 1px solid var(--border);
  padding: 28px 32px;
}

.model-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.model-bar {
  display: flex;
  height: 36px;
  border-radius: 2px;
  overflow: hidden;
  gap: 4px;
}

.bar-segment {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.bar-segment.cyan { background: rgba(0, 212, 255, 0.2); }
.bar-segment.amber { background: rgba(255, 140, 66, 0.2); }
.bar-segment.white { background: rgba(255, 255, 255, 0.08); }

.bar-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

/* VISION */
.vision {
  padding: 120px 0;
}

.vision-box {
  max-width: 800px;
}

.vision-text {
  margin-bottom: 48px;
}

.vision-lead {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--white);
  margin-bottom: 16px;
}

.vision-body {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.8;
}

.vision-closing {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.closing-line {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  color: var(--muted);
  line-height: 1.1;
}

.closing-line.accent {
  color: var(--cyan);
}

/* FOOTER */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.1em;
}

.footer-tagline {
  font-size: 12px;
  color: var(--muted);
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}

.footer-dot { color: var(--cyan); }

.footer-bottom {
  font-size: 12px;
  color: rgba(148, 163, 184, 0.4);
  font-style: italic;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    padding: 100px 24px 80px;
    gap: 48px;
  }

  .hero-right { order: -1; }

  .container { padding: 0 24px; }

  .stack-steps {
    flex-direction: column;
    gap: 0;
  }

  .step-sep {
    width: 100%;
    height: 1px;
    margin: 32px 0;
  }

  .playbook-grid {
    grid-template-columns: 1fr;
  }

  .play-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 40px 0;
  }

  .play-item:nth-child(even) {
    padding-left: 0;
  }

  .play-item:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--border);
  }

  .play-item:last-child {
    border-bottom: none;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .agent-diagram {
    width: 220px;
    height: 220px;
  }

  .ring-1 { width: 80px; height: 80px; }
  .ring-2 { width: 140px; height: 140px; }
  .ring-3 { width: 200px; height: 200px; }
}