:root {
  --bg: #0F0F0F;
  --bg-alt: #141414;
  --amber: #D4A843;
  --amber-dim: #8B6F2E;
  --cream: #F5F0E8;
  --cream-dim: #9B9286;
  --dark: #080808;
  --border: rgba(212, 168, 67, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.1;
}

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

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,168,67,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  max-width: 1400px;
}

.hero-content { flex: 1; max-width: 620px; }

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 24px;
  font-weight: 500;
}

.hero-title {
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.hero-title em {
  font-style: italic;
  color: var(--amber);
}

.hero-sub {
  font-size: 18px;
  color: var(--cream-dim);
  max-width: 440px;
  line-height: 1.7;
  font-weight: 300;
}

/* Agent illustration */
.hero-illustration {
  flex-shrink: 0;
  width: 360px;
  height: 420px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ambient-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212,168,67,0.08) 0%, transparent 60%);
  border-radius: 50%;
  animation: pulse 4s ease-in-out infinite;
}

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

.agent-figure {
  position: relative;
  z-index: 1;
  width: 180px;
}

.agent-head {
  width: 60px;
  height: 60px;
  background: #1A1A1A;
  border-radius: 8px;
  margin: 0 auto 8px;
  position: relative;
  border: 1px solid var(--amber-dim);
}

.agent-eye {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--amber);
  border-radius: 50%;
  top: 18px;
  animation: blink 4s infinite;
}

.agent-eye.left { left: 12px; }
.agent-eye.right { right: 12px; animation-delay: 0.1s; }

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

.agent-visor {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 4px;
  background: var(--amber);
  border-radius: 2px;
}

.agent-body { margin-bottom: 8px; }

.agent-shoulders {
  width: 80px;
  height: 20px;
  background: #1A1A1A;
  border-radius: 4px;
  margin: 0 auto;
  border: 1px solid var(--amber-dim);
}

.agent-chest {
  width: 60px;
  height: 50px;
  background: #1A1A1A;
  margin: 4px auto 0;
  border-radius: 4px;
  border: 1px solid var(--amber-dim);
  display: flex;
  align-items: center;
  justify-content: center;
}

.agent-core {
  width: 20px;
  height: 20px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--amber), 0 0 40px rgba(212,168,67,0.3);
  animation: glow 2s ease-in-out infinite;
}

@keyframes glow { 0%, 100% { box-shadow: 0 0 20px var(--amber), 0 0 40px rgba(212,168,67,0.3); } 50% { box-shadow: 0 0 30px var(--amber), 0 0 60px rgba(212,168,67,0.5); } }

.agent-desk { position: relative; margin-top: -8px; }

.desk-surface {
  width: 120px;
  height: 6px;
  background: #1A1A1A;
  border-radius: 2px;
  margin: 0 auto;
  border: 1px solid var(--amber-dim);
}

.monitor {
  width: 80px;
  height: 50px;
  background: #1A1A1A;
  border-radius: 4px;
  margin: -4px auto 0;
  border: 1px solid var(--amber-dim);
  padding: 4px;
}

.monitor-screen { width: 100%; height: 100%; background: #0D0D0D; border-radius: 2px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }

.screen-line { height: 2px; background: var(--amber-dim); border-radius: 1px; opacity: 0.4; }
.l1 { width: 60%; }
.l2 { width: 80%; }
.l3 { width: 40%; }

/* Task cards */
.task-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(20,20,20,0.9);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 12px;
  color: var(--cream-dim);
  font-weight: 500;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
}

.tc-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
}

.tc1 { top: 20px; left: -60px; animation: float 5s ease-in-out infinite; }
.tc2 { top: 140px; right: -70px; animation: float 5s ease-in-out infinite 1.5s; }
.tc3 { bottom: 40px; left: -80px; animation: float 5s ease-in-out infinite 3s; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Hero stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 80px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  max-width: 1400px;
}

.stat { text-align: center; padding: 0 48px; }
.stat:first-child { padding-left: 0; }

.stat-val { font-family: 'Cormorant Garamond', serif; font-size: 40px; font-weight: 700; color: var(--amber); }
.stat-label { font-size: 12px; color: var(--cream-dim); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; }

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

/* ── WHAT ── */
.what {
  padding: 120px 80px;
  background: var(--bg-alt);
  position: relative;
}

.what::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber-dim), transparent);
}

.section-label {
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 48px;
  font-weight: 500;
}

.what-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1400px;
}

.what-card {
  padding: 36px 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.3s;
}

.what-card:hover { border-color: rgba(212,168,67,0.35); }

.what-icon { margin-bottom: 20px; }

.what-card h3 {
  font-size: 20px;
  color: var(--cream);
  margin-bottom: 12px;
}

.what-card p { font-size: 14px; color: var(--cream-dim); line-height: 1.7; font-weight: 300; }

/* ── HOW ── */
.how {
  padding: 120px 80px;
  display: flex;
  gap: 120px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.how-left { flex: 1; }

.how-title {
  font-size: clamp(36px, 4vw, 56px);
  color: var(--cream);
  margin-bottom: 24px;
  margin-top: 16px;
}

.how-body { font-size: 16px; color: var(--cream-dim); line-height: 1.8; margin-bottom: 48px; font-weight: 300; max-width: 500px; }

/* Comparison */
.comparison { display: flex; flex-direction: column; gap: 16px; }

.comp-header {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.comp-old { color: #555; }
.comp-new { color: var(--amber); }

.comp-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 16px;
  background: var(--bg-alt);
  border-radius: 6px;
  border: 1px solid var(--border);
}

.comp-left { border-right: 1px solid var(--border); padding-right: 16px; }
.comp-right { padding-left: 0; }

.pill {
  display: inline-block;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.pill.old { background: #1F1F1F; color: #666; border: 1px solid #333; }
.pill.new { background: rgba(212,168,67,0.12); color: var(--amber); border: 1px solid rgba(212,168,67,0.2); }

.comp-detail { font-size: 12px; color: var(--cream-dim); line-height: 1.5; font-weight: 300; }

/* Neural viz */
.how-right {
  flex-shrink: 0;
  width: 320px;
  height: 320px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.neural-viz { position: relative; width: 100%; height: 100%; }

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

.nv-core {
  width: 24px;
  height: 24px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 30px var(--amber), 0 0 60px rgba(212,168,67,0.3);
}

.nv-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(212,168,67,0.15);
}

.r1 { width: 120px; height: 120px; animation: rotate 8s linear infinite; }
.r2 { width: 200px; height: 200px; border-style: dashed; animation: rotate 12s linear infinite reverse; }
.r3 { width: 280px; height: 280px; border: 1px solid rgba(212,168,67,0.07); }

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

.nv-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nv-dot {
  width: 10px;
  height: 10px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(212,168,67,0.5);
}

.nv-label { font-size: 11px; color: var(--cream-dim); letter-spacing: 0.05em; font-weight: 500; }

.n1 { top: 0; left: 50%; transform: translateX(-50%); }
.n2 { top: 50%; right: 0; transform: translateY(-50%); }
.n3 { bottom: 0; left: 50%; transform: translateX(-50%); }
.n4 { top: 50%; left: 0; transform: translateY(-50%); }

/* ── MANIFESTO ── */
.manifesto {
  padding: 100px 80px;
  background: var(--dark);
  text-align: center;
}

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

.manifesto-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--amber-dim);
}

.mb-line { flex: 1; max-width: 60px; height: 1px; background: var(--amber-dim); }

.manifesto-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  font-style: italic;
  color: var(--cream);
  line-height: 1.5;
  margin-bottom: 40px;
}

.manifesto-divider { width: 1px; height: 48px; background: var(--amber-dim); margin: 0 auto 24px; }

.manifesto-sub { font-size: 14px; color: var(--cream-dim); font-weight: 300; line-height: 1.7; }

/* ── CLOSING ── */
.closing {
  padding: 0 0 120px;
  overflow: hidden;
}

.closing-inner { max-width: 1400px; margin: 0 auto; padding: 0 80px; }

.closing-illustration {
  height: 280px;
  margin-bottom: 60px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.ci-horizon {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(180deg, transparent 0%, #1A0A00 100%);
}

.ci-sun {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 80px;
  background: radial-gradient(ellipse at center bottom, rgba(212,168,67,0.4) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(20px);
}

.ci-silhouette { position: relative; z-index: 1; }

.ci-glow {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(212,168,67,0.15) 0%, transparent 60%);
  border-radius: 50%;
}

.ci-ground {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(180deg, rgba(212,168,67,0.08) 0%, transparent 100%);
}

.closing-title {
  font-size: clamp(40px, 5vw, 72px);
  color: var(--cream);
  text-align: center;
  margin-bottom: 24px;
}

.closing-body {
  font-size: 16px;
  color: var(--cream-dim);
  text-align: center;
  max-width: 520px;
  margin: 0 auto 60px;
  line-height: 1.8;
  font-weight: 300;
}

.closing-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta-arrow { opacity: 0.6; }

.closing-cta p {
  font-size: 13px;
  color: var(--cream-dim);
  letter-spacing: 0.05em;
  font-weight: 300;
}

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

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

.footer-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 4px;
}

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

.footer-meta { font-size: 12px; color: #444; display: flex; align-items: center; gap: 8px; }
.footer-sep { color: #333; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .what-grid { grid-template-columns: repeat(2, 1fr); }
  .how { flex-direction: column; padding: 80px; }
  .how-right { width: 100%; height: 200px; }
}

@media (max-width: 768px) {
  .hero, .what, .how, .manifesto, .footer { padding-left: 24px; padding-right: 24px; }
  .closing-inner { padding: 0 24px; }
  .hero-inner { flex-direction: column; gap: 48px; }
  .hero-title { font-size: 52px; }
  .what-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .stat-div { display: none; }
  .comp-row { grid-template-columns: 1fr; }
  .comp-left { border-right: none; padding-right: 0; border-bottom: 1px solid var(--border); padding-bottom: 12px; margin-bottom: 12px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .hero-illustration { width: 100%; height: 300px; }
  .agent-figure { width: 140px; }
}