:root {
  --bg: #0D0D0D;
  --surface: #161616;
  --surface2: #1E1E1E;
  --fg: #F5F0E8;
  --fg-muted: rgba(245,240,232,0.45);
  --accent: #E8192C;
  --accent-dim: rgba(232,25,44,0.12);
  --border: rgba(245,240,232,0.08);
}

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

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 clamp(2rem, 6vw, 6rem);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(ellipse, rgba(232,25,44,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.hero-inner { position: relative; z-index: 2; }
.hero-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(5rem, 11vw, 9rem);
  line-height: 0.88;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  color: var(--fg);
}
.hero-sub {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--fg-muted);
  max-width: 42ch;
  margin-bottom: 2.5rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 2rem;
  font-size: 0.8rem;
  color: var(--fg-muted);
}
.badge-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.85); }
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 480px;
}
.court-mark {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 1px at 50% 50%, var(--border) 1px, transparent 1px),
    radial-gradient(ellipse 1px 40% at 50% 50%, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
}
.player-silhouette {
  position: relative;
  z-index: 2;
  width: 200px;
  height: 360px;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.ball-mark {
  position: absolute;
  bottom: 20%;
  right: 15%;
  z-index: 3;
  animation: spin 12s linear infinite;
  opacity: 0.5;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ── STATS ── */
.stats {
  padding: 4rem clamp(2rem, 6vw, 6rem);
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 900px;
}
.stat { flex: 1; padding: 0 2rem; }
.stat:first-child { padding-left: 0; }
.stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.4;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── MANIFESTO ── */
.manifesto {
  padding: 8rem clamp(2rem, 6vw, 6rem);
}
.manifesto-inner { max-width: 720px; }
.manifesto-label, .how-label, .agent-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.manifesto h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  margin-bottom: 2rem;
}
.manifesto p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--fg-muted);
  margin-bottom: 1.25rem;
}
.manifesto-callout {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  padding: 0.75rem 1.25rem;
  background: var(--accent-dim);
  border: 1px solid rgba(232,25,44,0.2);
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.95rem;
}

/* ── HOW ── */
.how {
  padding: 8rem clamp(2rem, 6vw, 6rem);
  background: var(--surface);
}
.how-inner { max-width: 1000px; }
.how h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 4rem;
}
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.step { padding-top: 1.5rem; border-top: 1px solid var(--border); }
.step-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.5rem;
  color: var(--accent);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 1rem;
}
.step h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.step p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ── AGENT ── */
.agent {
  padding: 8rem clamp(2rem, 6vw, 6rem);
  border-top: 1px solid var(--border);
}
.agent-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  max-width: 1100px;
}
.agent h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.agent p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.agent-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.agent-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
}
.check-icon { flex-shrink: 0; margin-top: 1px; }

/* Terminal */
.terminal {
  background: #111;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(232,25,44,0.1);
}
.terminal-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dot {
  width: 11px; height: 11px;
  border-radius: 50%;
}
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }
.terminal-title {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--fg-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
}
.terminal-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.log-line {
  font-size: 0.8rem;
  color: rgba(245,240,232,0.6);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.log-time { color: rgba(245,240,232,0.25); font-size: 0.72rem; min-width: 32px; }
.log-active { color: #4ade80; font-weight: 500; }
.log-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  animation: blink 1.5s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

/* ── CLOSING ── */
.closing {
  padding: 10rem clamp(2rem, 6vw, 6rem) 8rem;
  border-top: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, rgba(232,25,44,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.closing-inner { position: relative; z-index: 2; }
.closing h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.05;
  margin-bottom: 1.75rem;
}
.closing p {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.75;
  max-width: 55ch;
  margin: 0 auto 1.25rem;
}
.closing-statement {
  font-weight: 500;
  color: var(--fg) !important;
  font-size: 1.1rem !important;
  max-width: 50ch !important;
  margin: 0 auto !important;
}

/* ── FOOTER ── */
.footer {
  padding: 2rem clamp(2rem, 6vw, 6rem);
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-brand { display: flex; flex-direction: column; gap: 0.25rem; }
.footer-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: var(--fg);
}
.footer-tagline {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.footer-note {
  font-size: 0.8rem;
  color: var(--fg-muted);
  text-align: right;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 5rem; padding-bottom: 4rem; }
  .hero-visual { min-height: 280px; }
  .hero-title { font-size: clamp(4rem, 16vw, 6rem); }
  .stats-inner { flex-direction: column; gap: 1.5rem; }
  .stat-divider { width: 40px; height: 1px; }
  .step-grid { grid-template-columns: 1fr; gap: 2rem; }
  .agent-inner { grid-template-columns: 1fr; gap: 3rem; }
  .agent-visual { order: -1; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-note { text-align: left; }
}

@media (max-width: 480px) {
  .stats { padding: 3rem clamp(1.5rem, 4vw, 2rem); }
  .manifesto, .how, .agent { padding: 5rem clamp(1.5rem, 4vw, 2rem); }
  .closing { padding: 6rem clamp(1.5rem, 4vw, 2rem) 5rem; }
}