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

:root {
  --bg: #F5E8D0;
  --bg-alt: #EDE3D0;
  --dark: #1B3D2F;
  --dark-mid: #2A5A43;
  --accent: #C9963B;
  --accent-light: #D4AA56;
  --text: #1B3D2F;
  --text-mid: #3A5F4D;
  --text-muted: #6B8F7A;
  --offwhite: #FAF6EF;
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
}

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

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

/* ===== LAYOUT ===== */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 232, 208, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(27, 61, 47, 0.1);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-link:hover {
  background: rgba(27, 61, 47, 0.07);
  color: var(--dark);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: var(--dark);
  color: #fff;
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 150, 59, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 150, 59, 0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201, 150, 59, 0.15);
  border: 1px solid rgba(201, 150, 59, 0.3);
  color: var(--accent-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1.5rem;
}

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

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.25rem;
  max-width: 120px;
  line-height: 1.4;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

/* Agent Card Stack */
.hero-visual {
  position: relative;
}

.agent-card-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.agent-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease;
}

.card-1 { transform: translateX(0px); }
.card-2 { transform: translateX(12px); }
.card-3 { transform: translateX(24px); }

.agent-card:hover { transform: translateX(-4px) !important; }

.agent-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(201, 150, 59, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.agent-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.agent-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
}

.agent-status {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}

.agent-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  letter-spacing: 0.03em;
}

.agent-badge.green {
  background: rgba(42, 154, 67, 0.25);
  color: #5DD879;
  border: 1px solid rgba(93, 216, 121, 0.2);
}

.agent-badge.amber {
  background: rgba(201, 150, 59, 0.25);
  color: var(--accent-light);
  border: 1px solid rgba(201, 150, 59, 0.3);
}

/* ===== PROBLEM SECTION ===== */
.problem {
  background: var(--bg);
  padding: 6rem 0;
}

.problem-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.problem-headline {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  max-width: 640px;
  margin-bottom: 3rem;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.problem-card {
  background: var(--offwhite);
  border: 1px solid rgba(27, 61, 47, 0.1);
  border-radius: 16px;
  padding: 2rem;
  border-top: 3px solid var(--accent);
}

.problem-icon {
  margin-bottom: 1.2rem;
}

.problem-card h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.6rem;
}

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

/* ===== AGENTS SECTION ===== */
.agents {
  background: var(--bg-alt);
  padding: 6rem 0;
}

.agents-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.agents-headline {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  max-width: 540px;
  margin-bottom: 3.5rem;
}

.agents-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.agent-detail {
  background: var(--offwhite);
  border: 1px solid rgba(27, 61, 47, 0.1);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  align-items: start;
  transition: border-color 0.2s ease;
}

.agent-detail:hover {
  border-color: var(--accent);
}

.agent-number {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(27, 61, 47, 0.12);
  line-height: 1;
  user-select: none;
}

.agent-detail h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.6rem;
}

.agent-detail p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.agent-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1.5rem;
}

.agent-features li {
  font-size: 0.85rem;
  color: var(--text-mid);
  padding-left: 1.2rem;
  position: relative;
}

.agent-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* ===== HOW SECTION ===== */
.how {
  background: var(--bg);
  padding: 6rem 0;
}

.how-header {
  margin-bottom: 3rem;
}

.how-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.how-headline {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  max-width: 500px;
}

.steps {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.step {
  flex: 1;
  background: var(--dark);
  border-radius: 16px;
  padding: 2rem;
  color: #fff;
}

.step-num {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1rem;
}

.step h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
}

.step p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.step-arrow {
  flex-shrink: 0;
  opacity: 0.5;
}

/* ===== OUTCOMES SECTION ===== */
.outcomes {
  background: var(--dark);
  padding: 6rem 0;
  color: #fff;
}

.outcomes-header {
  margin-bottom: 3rem;
}

.outcomes-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.outcomes-headline {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  max-width: 500px;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.outcome {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 2rem;
}

.outcome-metric {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.outcome-num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent-light);
  line-height: 1;
}

.outcome-unit {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  max-width: 140px;
  line-height: 1.4;
}

.outcome-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}

/* ===== CLOSING SECTION ===== */
.closing {
  background: var(--bg);
  padding: 5rem 0;
}

.closing-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

.closing-body {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-alt);
  padding: 2.5rem 0;
  border-top: 1px solid rgba(27, 61, 47, 0.1);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-name {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--dark);
  font-size: 1rem;
}

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

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual { display: none; }

  .problem-grid,
  .outcomes-grid,
  .agent-features {
    grid-template-columns: 1fr;
  }

  .steps {
    flex-direction: column;
  }

  .step-arrow {
    transform: rotate(90deg);
  }

  .agent-detail {
    grid-template-columns: 1fr;
  }

  .agent-number {
    font-size: 1.8rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .footer-tagline,
  .footer-copy {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero { padding: 3.5rem 0 3rem; }
  .hero-stats { flex-direction: column; gap: 0.75rem; }
  .stat-divider { display: none; }
  .stat { flex-direction: row; align-items: baseline; gap: 0.5rem; }
  .stat-label { margin-top: 0; max-width: none; }
}
