/* === BASE === */
:root {
  --bg: #0C0F14;
  --surface: #141820;
  --surface-alt: #1A2030;
  --border: rgba(255,255,255,0.07);
  --accent: #00E5B0;
  --accent-dim: rgba(0, 229, 176, 0.12);
  --amber: #F59E0B;
  --amber-dim: rgba(245, 158, 11, 0.12);
  --text: #E8ECF2;
  --text-muted: #7A8499;
  --text-dim: #3D4559;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === NAV === */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(12,15,20,0.92);
  backdrop-filter: blur(12px);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.brand-mark {
  font-size: 1.4rem;
  color: var(--accent);
  line-height: 1;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* === HERO === */
.hero {
  padding: 6rem 3rem 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,229,176,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 5rem;
}
.hero-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.7;
}

/* Agent HUD */
.agent-hud {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  font-family: var(--font-body);
}
.hud-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.hud-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hud-title {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hud-metric {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
}
.hud-label { font-size: 0.82rem; color: var(--text-muted); }
.hud-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}
.hud-value.accent { color: var(--accent); }
.hud-activity {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.activity-item {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.activity-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.activity-dot.teal { background: var(--accent); }
.activity-dot.amber { background: var(--amber); }

/* Ticker */
.hero-ticker {
  border-top: 1px solid var(--border);
  overflow: hidden;
  padding: 0.9rem 0;
  background: var(--surface);
}
.ticker-track {
  display: inline-block;
  white-space: nowrap;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-transform: uppercase;
  animation: ticker 30s linear infinite;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* === SHARED SECTION STYLES === */
section { padding: 5rem 3rem; }
.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1.2;
  color: var(--text);
  max-width: 640px;
}

/* === LOOP === */
.loop {
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.loop-header { margin-bottom: 4rem; }
.loop-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
}
.step {
  padding: 2rem 2rem 2rem 0;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}
.step:last-child { border-right: none; }
.step-num {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  font-family: var(--font-body);
}
.step-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-body);
}
.step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.step-arrow {
  font-size: 1.25rem;
  color: var(--text-dim);
  margin-top: auto;
  padding-top: 1rem;
}

/* === PROOF === */
.proof { border-top: 1px solid var(--border); }
.proof-header { margin-bottom: 3.5rem; }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto 4rem;
}
.proof-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
}
.proof-stat {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.proof-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.proof-quote {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.proof-quote blockquote {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.5;
}

/* === OUTCOMES === */
.outcomes { border-top: 1px solid var(--border); background: var(--surface); }
.outcomes-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}
.outcomes-left .section-heading { margin-bottom: 2.5rem; }
.outcome-list { display: flex; flex-direction: column; gap: 2rem; }
.outcome {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.outcome-icon {
  color: var(--accent);
  font-size: 0.9rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.outcome-title { font-weight: 600; font-size: 1rem; margin-bottom: 0.3rem; }
.outcome-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* Daily Report */
.daily-report {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 2rem;
}
.report-date {
  background: var(--accent);
  color: var(--bg);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.6rem 1.5rem;
}
.report-header {
  padding: 1.25rem 1.5rem 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text);
}
.report-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.report-row span:first-child { color: var(--text-muted); }
.report-val { font-weight: 600; }
.report-delta { font-size: 0.78rem; margin-left: 0.3rem; }
.report-delta.up { color: var(--accent); }
.report-actions {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.action-chip {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.action-chip.teal { color: var(--accent); }
.action-chip::before { content: '&#9651;'; color: inherit; }
.report-footer {
  padding: 0.9rem 1.5rem;
  font-size: 0.72rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
}

/* === CLOSING === */
.closing {
  border-top: 1px solid var(--border);
  background: var(--bg);
  text-align: center;
  padding: 8rem 3rem;
}
.closing::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse at center top, rgba(0,229,176,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.closing-inner { position: relative; }
.closing-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 2rem;
}
.closing-body {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem;
  text-align: center;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.footer-tagline { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1rem; }
.footer-copy { font-size: 0.75rem; color: var(--text-dim); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .loop-steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .step { border-right: none; border-bottom: 1px solid var(--border); }
  .step:nth-child(odd) { padding-right: 0; }
  .proof-grid { grid-template-columns: 1fr; }
  .outcomes-inner { grid-template-columns: 1fr; }
  .outcomes-right { display: none; }
  section { padding: 3.5rem 1.5rem; }
  .nav { padding: 1.25rem 1.5rem; }
}
@media (max-width: 600px) {
  .loop-steps { grid-template-columns: 1fr; }
  .closing { padding: 5rem 1.5rem; }
  .hero-headline { font-size: 2.2rem; }
}