/* ─── Variables ─── */
:root {
  --bg-primary: #0d1f17;
  --bg-secondary: #122920;
  --bg-card: #1a3d2e;
  --accent: #d4a843;
  --accent-dim: rgba(212, 168, 67, 0.15);
  --text-primary: #f0ede8;
  --text-secondary: rgba(240, 237, 232, 0.6);
  --text-muted: rgba(240, 237, 232, 0.35);
  --border: rgba(212, 168, 67, 0.2);
  --green-dim: rgba(26, 61, 46, 0.4);
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: var(--bg-primary); }

/* ─── Layout ─── */
.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 60%;
  height: 140%;
  background: radial-gradient(ellipse at top left, rgba(26, 61, 46, 0.5) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  padding: 8rem 6rem 8rem 8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 2rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2.5rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 42ch;
  margin-bottom: 3rem;
  font-weight: 300;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 8rem 8rem 4rem;
  position: relative;
}

.ticker-board {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem;
  min-width: 320px;
  box-shadow: 0 0 80px rgba(26, 61, 46, 0.3);
}

.ticker-header {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.75rem;
  font-weight: 600;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.ticker-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(212, 168, 67, 0.08);
}

.ticker-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.ticker-value {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text-primary);
}

.ticker-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ─── Problem ─── */
.problem {
  background: var(--bg-secondary);
  padding: 8rem 8rem;
}

.problem-inner { max-width: 1100px; }

.problem-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.2;
  color: var(--text-primary);
  max-width: 28ch;
  margin-bottom: 4rem;
  font-weight: 400;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.problem-card {
  background: var(--bg-secondary);
  padding: 2.5rem;
}

.problem-icon {
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 80, 80, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #ff6b6b;
  margin-bottom: 1.25rem;
}

.problem-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.problem-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ─── Solution ─── */
.solution {
  padding: 8rem 8rem;
  background: var(--bg-primary);
}

.solution-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.agent-diagram {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.agent-core {
  width: 100px;
  height: 100px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  box-shadow: 0 0 40px rgba(212, 168, 67, 0.3);
}

.agent-icon {
  font-size: 1.5rem;
  color: var(--bg-primary);
}

.agent-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg-primary);
}

.agent-arms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  width: 100%;
}

.arm {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.arm-line {
  width: 1px;
  height: 2.5rem;
  background: var(--border);
}

.arm-node {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-align: center;
  width: 100%;
}

.solution-content { }

.solution-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.solution-body {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

/* ─── Features ─── */
.features {
  padding: 8rem 8rem;
  background: var(--bg-secondary);
}

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

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.feature-card {
  background: var(--bg-secondary);
  padding: 2.5rem 2rem;
}

.feature-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--accent-dim);
  margin-bottom: 1rem;
  line-height: 1;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ─── Manifesto ─── */
.manifesto {
  padding: 8rem 8rem;
  background: var(--bg-primary);
  text-align: center;
}

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

.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.manifesto-attribution {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 5rem;
}

.manifesto-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 4rem;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ─── Closing ─── */
.closing {
  padding: 10rem 8rem;
  background: var(--accent);
  text-align: center;
}

.closing-inner { max-width: 700px; margin: 0 auto; }

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  color: var(--bg-primary);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.closing-body {
  font-size: 1rem;
  color: rgba(13, 31, 23, 0.7);
  margin-bottom: 3rem;
  line-height: 1.6;
}

.closing-tag {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(13, 31, 23, 0.5);
}

/* ─── Footer ─── */
.footer {
  background: var(--bg-secondary);
  padding: 4rem 8rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.footer-legal {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 50ch;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-inner {
    padding: 5rem 2rem 3rem;
  }
  .hero-visual {
    padding: 3rem 2rem 5rem;
  }
  .ticker-board { min-width: unset; width: 100%; }
  .problem, .solution, .features, .manifesto, .closing, .footer {
    padding: 5rem 2rem;
  }
  .problem-grid, .features-grid {
    grid-template-columns: 1fr;
  }
  .solution-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .agent-arms {
    grid-template-columns: 1fr 1fr;
  }
  .manifesto-stats {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-inner {
    flex-direction: column;
    gap: 2rem;
  }
}