/* ── Reset & Base ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:     #1a6e3a;
  --green-d:   #145530;
  --green-l:   #e6f4ec;
  --accent:    #0ea553;
  --dark:      #0f1a14;
  --text:      #1e2d24;
  --muted:     #5a6e62;
  --light-bg:  #f6faf8;
  --card-bg:   #ffffff;
  --border:    #d8e4dd;
  --radius:    10px;
  --max-w:     1120px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { line-height: 1.25; }
h2 { font-size: 2rem; margin-bottom: 12px; color: var(--green); text-align: center; }
h3 { font-size: 1.15rem; margin-bottom: 6px; }
p  { color: var(--muted); }

.section     { padding: 80px 0; }
.section-alt { background: var(--light-bg); }
.section-sub { text-align: center; color: var(--muted); margin-bottom: 40px; font-size: 1.05rem; }

/* ── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
  box-shadow: 0 2px 8px rgba(14, 165, 83, 0.35);
}
.btn:hover {
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 4px 12px rgba(14, 165, 83, 0.4);
}
.btn-outline { background: transparent; color: var(--green); border-color: var(--green); text-decoration: none; }
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-lg { padding: 14px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 22px; font-size: 0.9rem; }

/* ── Nav ──────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  font-size: 1.35rem; font-weight: 700; color: var(--green);
  text-decoration: none; letter-spacing: -0.5px;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 0.9rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--green); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--text); cursor: pointer; }

@media (max-width: 768px) {
  .nav-links {
    display: none; flex-direction: column; position: absolute;
    top: 64px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--border); padding: 20px 24px; gap: 16px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
}

/* ── Hero ─────────────────────────────────────────── */
.hero {
  padding: 140px 0 80px;
  text-align: center;
  background: linear-gradient(175deg, var(--green-l) 0%, #fff 60%);
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--dark);
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.hero-sub {
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 32px;
  color: var(--muted);
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust {
  display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
  font-size: 0.88rem; color: var(--muted);
}
.hero-trust span { white-space: nowrap; }

/* ── Steps ────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 40px;
}
.step {
  text-align: center; padding: 28px 20px;
  border-radius: var(--radius);
  background: var(--card-bg);
  border: 1px solid var(--border);
  position: relative;
}
.step-num {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--green); color: #fff; font-weight: 700; font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
}
.step-icon { font-size: 2rem; margin-bottom: 10px; margin-top: 8px; }
.step h3 { color: var(--dark); }
.step p { font-size: 0.92rem; }

/* ── Feature Cards ────────────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--card-bg);
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 8px 24px rgba(26,110,58,0.08); transform: translateY(-2px); }
.card-icon { font-size: 1.8rem; margin-bottom: 12px; }
.card h3 { color: var(--dark); }
.card p { font-size: 0.92rem; }

.card-highlight {
  border-left: 3px solid var(--accent);
  background: var(--card-bg);
}

/* ── Strategy Builder ─────────────────────────────── */
.sb-header { text-align: center; margin-bottom: 8px; }
.sb-desc { text-align: center; max-width: 680px; margin: 0 auto 36px; font-size: 1.05rem; }
.sb-price {
  text-align: center; margin-top: 36px; padding: 16px;
  font-size: 1.1rem; color: var(--muted);
  border-top: 1px solid var(--border);
}
.sb-price strong { color: var(--green); font-size: 1.25rem; }

/* ── Pricing ──────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  max-width: 720px;
  margin: 40px auto 0;
}
.price-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius);
  background: var(--card-bg);
  border: 1px solid var(--border);
  position: relative;
}
.price-card-pop {
  border-color: var(--green);
  box-shadow: 0 4px 20px rgba(26,110,58,0.12);
}
.price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: #fff; padding: 3px 14px;
  border-radius: 20px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
}
.price-label { font-size: 0.9rem; color: var(--muted); margin-bottom: 8px; font-weight: 500; }
.price-amount { font-size: 2.2rem; font-weight: 700; color: var(--dark); }
.price-note { font-size: 0.85rem; color: var(--muted); margin-top: 6px; }
.pricing-footer { text-align: center; margin-top: 32px; }
.pricing-footer p { font-size: 0.92rem; }

/* ── Commands ─────────────────────────────────────── */
.cmd-grid {
  max-width: 580px; margin: 0 auto;
  display: grid; gap: 8px;
}
.cmd-row {
  display: flex; gap: 16px; align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.cmd-row code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.88rem; font-weight: 500;
  color: var(--green);
  min-width: 120px;
  flex-shrink: 0;
}
.cmd-row span { font-size: 0.92rem; color: var(--muted); }

/* ── FAQ ──────────────────────────────────────────── */
.faq-list { max-width: 700px; margin: 40px auto 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.faq-item summary {
  cursor: pointer; font-weight: 700; color: var(--dark);
  font-size: 1rem; list-style: none; display: flex;
  justify-content: space-between; align-items: center;
}
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--muted); transition: transform 0.2s; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin-top: 10px; font-size: 0.94rem; padding-right: 24px; }

/* ── CTA ──────────────────────────────────────────── */
.section-cta {
  background: var(--dark);
  text-align: center;
  padding: 72px 0;
}
.section-cta h2 { color: #fff; font-size: 2rem; }
.section-cta p { color: rgba(255,255,255,0.65); margin-bottom: 28px; font-size: 1.05rem; }
.section-cta code {
  font-family: 'JetBrains Mono', monospace;
  background: rgba(255,255,255,0.1); padding: 2px 8px; border-radius: 4px;
  color: var(--accent);
}
.section-cta .btn { background: var(--accent); border-color: var(--accent); }
.section-cta .btn:hover { background: #0c9248; border-color: #0c9248; }

/* ── Footer ───────────────────────────────────────── */
.footer {
  text-align: center; padding: 40px 0;
  border-top: 1px solid var(--border);
}
.footer-brand { font-weight: 700; color: var(--green); margin-bottom: 8px; }
.footer-disclaimer { font-size: 0.82rem; max-width: 600px; margin: 0 auto 8px; color: var(--muted); }
.footer-gen { font-size: 0.75rem; color: #bbb; }
