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

:root {
  --bg: #0F0F0F;
  --bg-alt: #161616;
  --bg-card: #1A1A1A;
  --fg: #F0F0F0;
  --fg-muted: #8A8A8A;
  --fg-dim: #555555;
  --accent: #B4FF00;
  --accent-dim: #7AAF00;
  --border: #2A2A2A;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

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

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.logo-mark { font-size: 1.25rem; color: var(--accent); }
.logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--fg); letter-spacing: -0.02em; }

.nav-links { display: flex; gap: 2rem; }
.nav-link { font-size: 0.875rem; color: var(--fg-muted); text-decoration: none; transition: color 0.2s; }
.nav-link:hover { color: var(--fg); }

/* === SECTION SHARED === */
section { padding: 5rem 2rem; }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-label { display: inline-block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.section-headline { font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.03em; color: var(--fg); max-width: 640px; margin: 0 auto; }

/* === HERO === */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 8rem 2rem 5rem;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
}

.hero-grid {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 50%;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.3;
  mask-image: radial-gradient(ellipse 80% 80% at 100% 50%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 100% 50%, black 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { position: relative; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}

.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

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

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.hero-lede {
  font-size: 1.125rem;
  color: var(--fg-muted);
  max-width: 480px;
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.proof-item { display: flex; flex-direction: column; gap: 0.2rem; }
.proof-value { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--accent); letter-spacing: -0.02em; }
.proof-label { font-size: 0.7rem; color: var(--fg-dim); text-transform: uppercase; letter-spacing: 0.06em; }
.proof-divider { width: 1px; height: 36px; background: var(--border); }

/* === AGENT DIAGRAM === */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.agent-diagram {
  width: 420px;
  height: 420px;
  position: relative;
}

.agent-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 120px; height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.agent-core {
  width: 90px; height: 90px;
  background: var(--bg-card);
  border: 1.5px solid var(--accent);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  box-shadow: 0 0 40px rgba(180,255,0,0.12), 0 0 80px rgba(180,255,0,0.05);
  z-index: 2;
  position: relative;
}

.agent-core-icon { font-size: 1.5rem; color: var(--accent); }
.agent-core-label { font-family: var(--font-display); font-size: 0.65rem; font-weight: 700; color: var(--fg-muted); letter-spacing: 0.06em; text-transform: uppercase; }

.agent-orbit { position: absolute; top: 0; left: 0; right: 0; bottom: 0; }
.orbit-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid var(--border);
}
.orbit-ring-1 { width: 240px; height: 240px; animation: spin 20s linear infinite; }
.orbit-ring-2 { width: 380px; height: 380px; animation: spin 30s linear infinite reverse; }

@keyframes spin { from { transform: translate(-50%,-50%) rotate(0deg); } to { transform: translate(-50%,-50%) rotate(360deg); } }

.agent-node {
  position: absolute;
  width: 72px; height: 72px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  transition: border-color 0.3s;
}
.agent-node:hover { border-color: var(--accent); }
.node-icon { font-size: 1rem; color: var(--accent); }
.node-label { font-size: 0.6rem; font-weight: 600; color: var(--fg-muted); letter-spacing: 0.06em; text-transform: uppercase; }

.agent-node-1 { top: 0; left: 50%; transform: translateX(-50%); }
.agent-node-2 { top: 50%; right: 0; transform: translateY(-50%); }
.agent-node-3 { bottom: 0; left: 50%; transform: translateX(-50%); }
.agent-node-4 { top: 50%; left: 0; transform: translateY(-50%); }

/* === HOW IT WORKS === */
.how { background: var(--bg-alt); }
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto 4rem;
}

.step {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
}

.step-number { font-family: var(--font-display); font-size: 0.7rem; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.step-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--fg); margin-bottom: 0.5rem; }
.step-desc { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.6; }

.step-arrow { color: var(--fg-dim); padding-top: 1.5rem; flex-shrink: 0; }

.how-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto;
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.stat { text-align: center; }
.stat-value { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--accent); letter-spacing: -0.03em; }
.stat-label { font-size: 0.75rem; color: var(--fg-muted); max-width: 160px; margin: 0.3rem auto 0; }
.stat-sep { width: 1px; height: 50px; background: var(--border); }

/* === FEATURES === */
.features { }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  transition: border-color 0.3s, transform 0.3s;
}
.feature-card:hover { border-color: var(--accent-dim); transform: translateY(-3px); }

.feature-icon { font-size: 1.25rem; color: var(--accent); margin-bottom: 1rem; }
.feature-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--fg); margin-bottom: 0.6rem; }
.feature-desc { font-size: 0.875rem; color: var(--fg-muted); line-height: 1.65; }

/* === MANIFESTO === */
.manifesto { background: var(--bg-alt); }
.manifesto-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin: 1.5rem 0 2rem;
  font-style: normal;
  border: none;
}
.manifesto-body { font-size: 1rem; color: var(--fg-muted); line-height: 1.75; margin-bottom: 1rem; }
.manifesto-rule {
  width: 60px; height: 1px;
  background: var(--accent);
  margin: 2.5rem auto;
}
.manifesto-signature { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; color: var(--accent); letter-spacing: 0.04em; text-transform: uppercase; }

/* === CLOSING === */
.closing { }
.closing-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--fg);
  margin-bottom: 1.25rem;
}
.closing-sub { font-size: 1.125rem; color: var(--fg-muted); margin-bottom: 2.5rem; max-width: 540px; margin-left: auto; margin-right: auto; line-height: 1.65; }
.closing-cta-block { }
.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(180,255,0,0.08);
  border: 1px solid rgba(180,255,0,0.25);
  border-radius: 999px;
  padding: 0.75rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
}
.cta-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
}
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.footer-brand { display: flex; align-items: center; gap: 0.5rem; }
.footer-tagline { font-size: 0.8rem; color: var(--fg-muted); }
.footer-copy { font-size: 0.75rem; color: var(--fg-dim); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 3rem; min-height: auto; padding: 7rem 2rem 4rem; }
  .hero-visual { display: none; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); padding: 0.5rem 0; }
  .how-stats { flex-direction: column; gap: 1.5rem; }
  .stat-sep { width: 40px; height: 1px; }
}

@media (max-width: 600px) {
  section { padding: 3.5rem 1.25rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero-proof { flex-wrap: wrap; gap: 1rem; }
  .proof-divider { display: none; }
}
