/* Agent Burndown — marketing landing page styles */

:root {
  --bg: #0b0d0a;
  --bg-raised: #11140f;
  --bg-card: #191d16;
  --border: #2e3428;
  --border-soft: #20251c;
  --text: #eff2e8;
  --text-dim: #9fa893;
  --text-faint: #646e5b;
  --accent: #beff5b;
  --accent-dim: #8bc63f;
  --accent-2: #ff8448;
  --danger: #ff6b6b;
  --radius: 10px;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px),
    radial-gradient(circle at 68% 20%, rgba(190,255,91,0.075), transparent 28%);
  background-size: 64px 64px, 64px 64px, auto;
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.mono {
  font-family: var(--mono);
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(11, 13, 10, 0.78);
  border-bottom: 1px solid var(--border-soft);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: linear-gradient(160deg, var(--accent) 0%, var(--accent-dim) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-mark svg {
  width: 15px;
  height: 15px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-actions-mobile {
  display: none;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: #10130c;
}

.btn-primary:hover {
  background: #85ffc0;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: #3a4353;
  background: var(--bg-raised);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 13px;
}

/* ---------- Hero ---------- */

.hero {
  padding: 84px 0 60px;
  border-bottom: 1px solid var(--border-soft);
}

.how-it-works { border-top: 1px solid var(--border-soft); }
.steps-grid { grid-template-columns: repeat(3, 1fr); }
.step-number { font-family: var(--mono); color: var(--accent); font-size: 11px; letter-spacing: .16em; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: rgba(107, 255, 176, 0.08);
  border: 1px solid rgba(107, 255, 176, 0.22);
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px 1px var(--accent);
}

h1 {
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  font-weight: 700;
}

h1, h2, h3, .plan-name, .plan-price {
  font-family: "Roboto Condensed", var(--sans);
}

h1 .accent {
  color: var(--accent);
}

.hero-sub {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 46ch;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-note {
  font-size: 13px;
  color: var(--text-faint);
}

.hero-meta {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-faint);
}

.hero-meta span {
  color: var(--text-dim);
}

/* ---------- Burndown chart visual ---------- */

.chart-card {
  background: linear-gradient(180deg, var(--bg-raised) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 22px 18px;
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.8);
}

.chart-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.chart-title {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.chart-badge {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  background: rgba(107, 255, 176, 0.08);
  border: 1px solid rgba(107, 255, 176, 0.2);
  padding: 3px 8px;
  border-radius: 999px;
}

.chart-legend {
  display: flex;
  gap: 18px;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-faint);
}

.chart-legend .swatch {
  display: inline-block;
  width: 10px;
  height: 2px;
  margin-right: 6px;
  vertical-align: middle;
}

.chart-callout {
  position: absolute;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  background: rgba(10, 12, 16, 0.9);
  border: 1px solid rgba(107, 255, 176, 0.35);
  padding: 4px 8px;
  border-radius: 6px;
}

.chart-wrap {
  position: relative;
}

@media (prefers-reduced-motion: no-preference) {
  .burn-actual {
    stroke-dasharray: 900;
    stroke-dashoffset: 900;
    animation: draw 1.8s ease-out 0.2s forwards;
  }
  .burn-ideal {
    stroke-dasharray: 6 6;
    opacity: 0;
    animation: fade-in 1s ease-out 0.8s forwards;
  }
  .burn-dot {
    opacity: 0;
    animation: fade-in 0.4s ease-out 1.9s forwards;
  }
  .burn-callout {
    opacity: 0;
    transform: translateY(4px);
    animation: rise-in 0.5s ease-out 2.1s forwards;
  }
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

@keyframes fade-in {
  to { opacity: 1; }
}

@keyframes rise-in {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Section shell ---------- */

section {
  padding: 88px 0;
}

.section-head {
  max-width: 620px;
  margin: 0 0 48px;
}

.section-kicker {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(26px, 3.4vw, 34px);
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}

.section-head p {
  color: var(--text-dim);
  font-size: 16px;
  margin: 0;
}

/* ---------- Features ---------- */

#product {
  border-bottom: 1px solid var(--border-soft);
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: #354056;
  transform: translateY(-2px);
}

.feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(107, 255, 176, 0.09);
  border: 1px solid rgba(107, 255, 176, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
}

.feature-card h3 {
  font-size: 16px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-dim);
  margin: 0;
}

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: stretch;
}

.plan {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.plan.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(107, 255, 176, 0.06) 0%, var(--bg-card) 140px);
  box-shadow: 0 0 0 1px rgba(107, 255, 176, 0.25), 0 24px 60px -32px rgba(107, 255, 176, 0.3);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 18px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.03em;
  color: #06130c;
  background: var(--accent);
  padding: 4px 9px;
  border-radius: 999px;
  font-weight: 700;
}

.plan-name {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 12.5px;
  color: var(--text-faint);
  margin: 0 0 16px;
  min-height: 32px;
}

.plan-price {
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}

.plan-price small {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-faint);
}

.plan-price-note {
  font-size: 12px;
  color: var(--text-faint);
  margin-bottom: 18px;
  min-height: 16px;
}

.plan-features {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.plan-features li {
  font-size: 12.8px;
  color: var(--text-dim);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.plan-features li svg {
  width: 13px;
  height: 13px;
  stroke: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ---------- Trust strip ---------- */

.trust {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 40px 0;
}

.trust .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-dim);
}

.trust-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
}

/* ---------- CTA band ---------- */

.cta-band {
  text-align: center;
  border-bottom: 1px solid var(--border-soft);
}

.cta-band h2 {
  font-size: clamp(24px, 3.4vw, 32px);
  margin: 0 0 14px;
  letter-spacing: -0.015em;
}

.cta-band p {
  color: var(--text-dim);
  margin: 0 0 28px;
}

.cta-band .hero-actions {
  justify-content: center;
  margin-bottom: 0;
}

/* ---------- Footer ---------- */

footer {
  padding: 40px 0;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: var(--text-faint);
}

.footer-links a {
  text-decoration: none;
  color: var(--text-faint);
}

.footer-links a:hover {
  color: var(--text-dim);
}

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

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .chart-card {
    max-width: 560px;
  }
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }

  section {
    padding: 64px 0;
  }

  .hero {
    padding: 56px 0 44px;
  }

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

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

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .trust .wrap {
    gap: 20px;
  }
}
