/* AI for PMs — Agentic PM Toolkit sales site */

:root {
  --bg: #fafaf9;
  --surface: #ffffff;
  --ink: #1c1917;
  --muted: #57534e;
  --faint: #a8a29e;
  --line: #e7e5e4;
  --accent: #6d28d9;
  --accent-dark: #5b21b6;
  --accent-soft: #f3eeff;
  --green: #059669;
  --term-bg: #18181b;
  --term-ink: #e4e4e7;
  --term-green: #4ade80;
  --term-violet: #c4b5fd;
  --radius: 12px;
  --maxw: 880px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.brand { font-weight: 700; font-size: 17px; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand span { color: var(--accent); }
.lang-switch { font-size: 14px; color: var(--muted); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; background: var(--surface); }
.lang-switch:hover { border-color: var(--faint); }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 40px; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 22px;
}
h1 {
  font-size: clamp(32px, 5.5vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  font-weight: 800;
}
.hero .lede {
  font-size: clamp(18px, 2.4vw, 21px);
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 32px;
}
.hero .lede strong { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  padding: 16px 36px;
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(109, 40, 217, 0.28);
  transition: transform 0.12s ease, background 0.12s ease;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-sub { display: block; margin-top: 12px; font-size: 14px; color: var(--muted); }

/* ---------- Agent logos strip ---------- */
.agents-strip { margin: 40px auto 0; font-size: 14px; color: var(--faint); }
.agents-strip .names { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; margin-top: 10px; font-size: 15px; font-weight: 600; color: var(--muted); }

/* ---------- Sections ---------- */
section { padding: 56px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 {
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  font-weight: 800;
}
h3 { font-size: 20px; margin: 28px 0 10px; letter-spacing: -0.01em; }
.section-intro { font-size: 18px; color: var(--muted); max-width: 680px; margin-bottom: 28px; }

/* ---------- TLDR / direct answer ---------- */
.tldr {
  background: var(--accent-soft);
  border: 1px solid #ddd0fb;
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 0 auto;
  max-width: 760px;
  text-align: left;
  font-size: 16px;
}
.tldr strong { color: var(--accent-dark); }

/* ---------- Terminal mockup ---------- */
.terminal {
  background: var(--term-bg);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(28, 25, 23, 0.18);
  text-align: left;
  margin: 28px 0;
}
.term-bar { display: flex; gap: 7px; padding: 13px 16px; background: #27272a; }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #52525b; }
.term-bar i:first-child { background: #f87171; }
.term-bar i:nth-child(2) { background: #fbbf24; }
.term-bar i:nth-child(3) { background: #4ade80; }
.terminal pre {
  margin: 0;
  padding: 20px 22px;
  font-family: "SF Mono", SFMono-Regular, ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace;
  font-size: 14px;
  line-height: 1.7;
  color: var(--term-ink);
  overflow-x: auto;
  white-space: pre-wrap;
}
.terminal .p { color: var(--term-green); }
.terminal .c { color: var(--term-violet); font-weight: 600; }
.terminal .d { color: #a1a1aa; }

/* ---------- Pain list ---------- */
.pain-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.pain-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 16px;
}
.pain-list li::before { content: "→ "; color: var(--accent); font-weight: 700; }

/* ---------- Command tables ---------- */
table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 18px 0; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
th { text-align: left; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); background: var(--bg); padding: 12px 16px; border-bottom: 1px solid var(--line); }
td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: none; }
td code, p code, li code {
  font-family: "SF Mono", SFMono-Regular, ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace;
  font-size: 0.88em;
  background: var(--accent-soft);
  color: var(--accent-dark);
  padding: 2px 7px;
  border-radius: 6px;
  white-space: nowrap;
}
.check { color: var(--green); font-weight: 700; }
.cross { color: var(--faint); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 18px; }
.steps li {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px 22px 72px;
  position: relative;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 22px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.steps li strong { display: block; font-size: 17px; margin-bottom: 4px; }
.steps li p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 96px 1fr; gap: 24px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.about .avatar { width: 96px; height: 96px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #9333ea); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 800; }
.about p { margin: 0 0 12px; font-size: 16px; }
.about .links a { color: var(--accent); font-weight: 600; text-decoration: none; margin-right: 18px; font-size: 15px; }

/* ---------- Pricing ---------- */
.pricing-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: 18px;
  padding: 38px 36px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(109, 40, 217, 0.12);
}
.price { font-size: 56px; font-weight: 800; letter-spacing: -0.03em; margin: 8px 0 2px; }
.price small { font-size: 22px; font-weight: 600; color: var(--muted); }
.price-note { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.includes { list-style: none; padding: 0; margin: 0 0 28px; text-align: left; display: grid; gap: 10px; font-size: 15.5px; }
.includes li::before { content: "✓  "; color: var(--green); font-weight: 800; }
.guarantee {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 560px;
  margin: 26px auto 0;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 15px;
  text-align: left;
}
.guarantee .shield { font-size: 26px; line-height: 1; }
.guarantee strong { color: #065f46; }

/* ---------- FAQ ---------- */
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16.5px;
  padding: 18px 22px;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 22px; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 22px 18px; color: var(--muted); font-size: 15.5px; }

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; padding: 72px 0 80px; }
.final-cta h2 { margin-bottom: 14px; }
.final-cta .section-intro { margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--faint); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--ink); }

/* ---------- Success page ---------- */
.success-box { max-width: 640px; margin: 60px auto; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 44px 40px; text-align: center; }
.success-box h1 { font-size: 32px; }
.success-box .big-emoji { font-size: 52px; margin-bottom: 8px; }
.next-steps { text-align: left; margin: 30px 0 6px; }
.next-steps li { margin-bottom: 10px; color: var(--muted); }
.error-note { color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca; padding: 14px 18px; border-radius: var(--radius); font-size: 15px; display: none; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 40px 0; }
  .about { grid-template-columns: 1fr; }
  .about .avatar { width: 72px; height: 72px; font-size: 26px; }
  .steps li { padding: 20px 20px 20px 64px; }
  td, th { padding: 10px 10px; }
  .pricing-card { padding: 30px 22px; }
}
