/* === ROOT VARS === */
:root {
  --bg: #0D1526;
  --bg-alt: #111c2e;
  --bg-card: #162035;
  --bg-card-hover: #1c2840;
  --accent: #00D4AA;
  --accent-dim: rgba(0, 212, 170, 0.12);
  --accent-glow: rgba(0, 212, 170, 0.25);
  --text: #F0F6FC;
  --text-muted: #8899AA;
  --text-dim: #4A5568;
  --border: #1E2D42;
  --border-light: rgba(240, 246, 252, 0.06);

  --font-display: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --max-w: 1120px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* === NAV === */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 48px;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
  backdrop-filter: blur(8px);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  font-size: 22px;
  color: var(--accent);
  font-weight: 700;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
}

.nav-tagline {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.3px;
}

/* === SECTION UTILITIES === */
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}

.section-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.8px;
  margin-bottom: 56px;
}

/* === HERO === */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: var(--space-7) 48px;
  max-width: var(--max-w);
  margin: 0 auto;
  min-height: calc(88vh - 73px);
}

.hero-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 28px;
}

.hero-body {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 48px;
}

.hero-stat-row {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.5px;
}

.hero-stat-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.3;
}

.hero-stat-sep {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

/* Agent Widget */
.agent-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,212,170,0.06);
}

.agent-widget-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-light);
}

.agent-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-dim);
}

.agent-dot.active {
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent-glow);
}

.agent-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.agent-widget-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.agent-event {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  line-height: 1.4;
  border: 1px solid transparent;
  transition: background 0.15s;
}

.agent-event:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
}

.agent-time {
  color: var(--text-dim);
  font-size: 11px;
  font-family: 'DM Sans', monospace;
  padding-top: 1px;
  flex-shrink: 0;
}

.agent-text {
  color: var(--text-muted);
}

.agent-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 2px 6px;
  border-radius: 3px;
  flex-shrink: 0;
  text-transform: uppercase;
}

.agent-badge.verified {
  background: rgba(0,212,170,0.1);
  color: var(--accent);
  border: 1px solid rgba(0,212,170,0.2);
}

.agent-badge.fraud {
  background: rgba(255, 80, 80, 0.1);
  color: #ff7070;
  border: 1px solid rgba(255, 80, 80, 0.2);
}

.agent-badge {
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(0,212,170,0.15);
}

/* === PROBLEM === */
.problem {
  padding: var(--space-7) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
}

.problem-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.problem-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.problem-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.problem-quote {
  background: var(--bg-card);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 24px 28px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
  font-style: italic;
}

.quote-mark {
  font-size: 28px;
  color: var(--accent);
  line-height: 0;
  vertical-align: -8px;
  margin-right: 4px;
  font-style: normal;
}

/* === FEATURES === */
.features {
  padding: var(--space-7) 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-glow), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}

.feature-card:hover {
  border-color: rgba(0,212,170,0.2);
  background: var(--bg-card-hover);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  font-size: 18px;
  color: var(--accent);
  margin-bottom: 18px;
  font-weight: 700;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.feature-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(0,212,170,0.15);
}

/* === MANIFESTO === */
.manifesto {
  padding: var(--space-7) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.manifesto-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
  text-align: center;
}

.manifesto-statement {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 28px;
}

.manifesto-body {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 40px;
}

.manifesto-closing {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--accent);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

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

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .nav { padding: 20px 24px; }
  .nav-tagline { display: none; }

  .hero {
    grid-template-columns: 1fr;
    padding: 48px 24px;
    min-height: auto;
    gap: 40px;
  }

  .hero-headline { font-size: 36px; }
  .hero-stat-row { flex-wrap: wrap; gap: 16px; }
  .hero-stat-sep { display: none; }

  .section-inner { padding: 0 24px; }
  .manifesto-inner { padding: 0 24px; }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .agent-event {
    grid-template-columns: 56px 1fr;
  }

  .agent-badge {
    grid-column: 2;
    justify-self: start;
    margin-top: 4px;
  }

  .footer { padding: 40px 24px; }

  .section-headline { margin-bottom: 36px; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 28px; }
  .manifesto-statement { font-size: 24px; }
}

/* === CUSTOM SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }

/* === TEXT SELECTION === */
::selection { background: var(--accent-dim); color: var(--accent); }
