/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --primary:       #16A37A;
  --primary-dark:  #0D8F69;
  --primary-light: #E8F5F0;
  --bg:            #FAFAFA;
  --dark:          #111827;
  --text:          #111827;
  --muted:         #6B7280;
  --accent:        #F59E0B;
  --border:        #E5E7EB;
  --white:         #FFFFFF;
  --r-sm: 4px; --r-md: 8px; --r-lg: 12px; --r-full: 9999px;
  --font: 'Sora', sans-serif;
}

/* ── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ── Navbar ─────────────────────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  height: 64px; background: var(--dark);
  display: flex; align-items: center;
  padding: 0 48px;
  transition: box-shadow 150ms ease;
}
.navbar.scrolled { box-shadow: 0 1px 0 rgba(255,255,255,0.08); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 1200px; margin: 0 auto; }
.navbar-logo { display: flex; align-items: center; }
.navbar-links { display: flex; align-items: center; gap: 32px; }
.navbar-links a { font-size: 14px; font-weight: 400; color: rgba(255,255,255,0.75); transition: color 150ms; }
.navbar-links a:hover { color: #fff; }
.btn-nav { background: var(--primary); color: #fff !important; padding: 10px 20px; border-radius: var(--r-md); font-size: 14px; font-weight: 500; transition: background 150ms; }
.btn-nav:hover { background: var(--primary-dark) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,0.75); border-radius: 2px; transition: 150ms; }
.mobile-menu { display: none; position: fixed; top: 64px; left: 0; right: 0; background: var(--dark); padding: 16px 24px; flex-direction: column; gap: 16px; z-index: 99; border-top: 1px solid rgba(255,255,255,0.08); }
.mobile-menu.open { display: flex; }
.mobile-menu a { color: rgba(255,255,255,0.75); font-size: 15px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.mobile-menu a:last-child { border-bottom: none; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn-primary { display: inline-block; background: var(--primary); color: #fff; padding: 14px 28px; border-radius: var(--r-md); font-size: 15px; font-weight: 500; transition: background 150ms; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { display: inline-block; color: rgba(255,255,255,0.9); font-size: 15px; font-weight: 400; text-decoration: underline; text-underline-offset: 3px; }
.btn-secondary:hover { color: #fff; }
.btn-outline { display: inline-block; border: 1.5px solid var(--primary); color: var(--primary); padding: 12px 24px; border-radius: var(--r-md); font-size: 15px; font-weight: 500; transition: all 150ms; }
.btn-outline:hover { background: var(--primary-light); }
.btn-outline-white { display: inline-block; border: 1.5px solid rgba(255,255,255,0.4); color: #fff; padding: 12px 24px; border-radius: var(--r-md); font-size: 15px; transition: border-color 150ms; }
.btn-outline-white:hover { border-color: rgba(255,255,255,0.8); }

/* ── Footer ─────────────────────────────────────────────────────────────── */
footer { background: var(--dark); padding: 48px; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; max-width: 1200px; margin: 0 auto; }
.footer-logo { font-size: 18px; font-weight: 500; color: var(--primary); }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 8px; font-weight: 400; }
.footer-col h4 { font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 12px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 8px; transition: color 150ms; }
.footer-col a:hover { color: #fff; }
.footer-bottom { text-align: center; font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06); max-width: 1200px; margin-left: auto; margin-right: auto; }

/* ── Cards ──────────────────────────────────────────────────────────────── */
.card { background: var(--white); border: 0.5px solid var(--border); border-radius: var(--r-lg); padding: 32px; transition: border-color 150ms; }
.card:hover { border-color: #D1D5DB; }
.card-icon { color: var(--primary); margin-bottom: 16px; }
.card-title { font-size: 18px; font-weight: 500; color: var(--text); margin-bottom: 8px; }
.card-text { font-size: 15px; color: var(--muted); line-height: 1.7; }

/* ── Section layout ─────────────────────────────────────────────────────── */
.section { padding: 96px 48px; }
.section-center { text-align: center; }
.section-title { font-size: 36px; font-weight: 500; color: var(--text); max-width: 640px; margin: 0 auto; line-height: 1.25; }
.section-subtitle { font-size: 18px; font-weight: 400; color: var(--muted); margin-top: 16px; }
.grid-2x2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 960px; margin: 64px auto 0; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; max-width: 960px; margin: 0 auto; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero { background: var(--dark); min-height: 85vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 80px 48px; position: relative; }
.hero-headline { font-size: 56px; font-weight: 500; color: #fff; max-width: 800px; line-height: 1.15; }
.hero-sub { font-size: 20px; font-weight: 400; color: rgba(255,255,255,0.75); max-width: 600px; margin-top: 24px; line-height: 1.6; }
.hero-ctas { display: flex; align-items: center; gap: 24px; margin-top: 40px; flex-wrap: wrap; justify-content: center; }
.hero-wave { position: absolute; bottom: 0; left: 0; right: 0; height: 60px; background: linear-gradient(to bottom, transparent, var(--bg)); }

/* ── Pricing ────────────────────────────────────────────────────────────── */
.pricing-toggle { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 40px; }
.toggle-track { width: 48px; height: 26px; background: var(--dark); border-radius: var(--r-full); position: relative; cursor: pointer; transition: background 150ms; }
.toggle-thumb { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; transition: transform 150ms; box-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.toggle-track.annual .toggle-thumb { transform: translateX(22px); }
.toggle-track.annual { background: var(--primary); }
.toggle-label { font-size: 15px; font-weight: 400; color: var(--dark); }
.toggle-label.active { font-weight: 500; }
.badge-discount { background: var(--accent); color: #fff; font-size: 11px; font-weight: 500; padding: 2px 7px; border-radius: var(--r-full); margin-left: 6px; }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; max-width: 1000px; margin: 48px auto 0; }
.pricing-card { background: var(--white); border: 0.5px solid var(--border); border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; gap: 20px; position: relative; transition: border-color 150ms; }
.pricing-card.popular { border: 2px solid var(--primary); }
.pricing-card:hover { border-color: #D1D5DB; }
.pricing-card.popular:hover { border-color: var(--primary); }
.popular-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--primary-light); color: var(--primary-dark); font-size: 12px; font-weight: 500; padding: 4px 14px; border-radius: var(--r-full); white-space: nowrap; }
.plan-name { font-size: 20px; font-weight: 500; color: var(--text); }
.plan-price { font-size: 48px; font-weight: 500; line-height: 1; }
.plan-price.featured { color: var(--primary); }
.plan-price-note { font-size: 13px; color: var(--muted); margin-top: 4px; }
.plan-desc { font-size: 14px; color: var(--muted); line-height: 1.6; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan-features li { font-size: 14px; color: var(--text); display: flex; align-items: flex-start; gap: 8px; line-height: 1.4; }
.plan-features li.disabled { color: var(--muted); text-decoration: line-through; opacity: 0.6; }
.feat-check { color: var(--primary); font-size: 16px; shrink: 0; }
.feat-cross { color: var(--muted); font-size: 16px; }
.pricing-cta-link { text-align: center; margin-top: 32px; }
.pricing-cta-link a { font-size: 14px; color: var(--primary); font-weight: 400; }

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; text-align: left; background: none; border: none; padding: 20px 0; font-family: var(--font); font-size: 16px; font-weight: 500; color: var(--text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-answer { font-size: 15px; color: var(--muted); line-height: 1.7; max-height: 0; overflow: hidden; transition: max-height 250ms ease, padding 250ms ease; }
.faq-answer.open { max-height: 200px; padding-bottom: 20px; }
.faq-icon { font-size: 20px; color: var(--primary); transition: transform 250ms; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ── Steps ──────────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; max-width: 960px; margin: 64px auto 0; position: relative; }
.step-num { width: 48px; height: 48px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 500; color: #fff; margin: 0 auto 20px; }
.step { text-align: center; }
.step-title { font-size: 18px; font-weight: 500; color: var(--text); margin-bottom: 8px; }
.step-text { font-size: 15px; color: var(--muted); line-height: 1.7; }

/* ── Testimonials ───────────────────────────────────────────────────────── */
.testimonial { background: var(--bg); border: 0.5px solid var(--border); border-radius: var(--r-lg); padding: 32px; }
.testimonial-quote { font-size: 48px; color: var(--primary); opacity: 0.3; line-height: 1; margin-bottom: 12px; }
.testimonial-text { font-size: 16px; font-style: italic; color: var(--text); line-height: 1.7; }
.testimonial-sep { height: 1px; background: var(--border); margin: 20px 0; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 500; color: var(--primary-dark); flex-shrink: 0; }
.testimonial-name { font-size: 14px; font-weight: 500; color: var(--text); }
.testimonial-role { font-size: 13px; color: var(--muted); }

/* ── CTA section ────────────────────────────────────────────────────────── */
.cta-section { background: var(--dark); padding: 96px 48px; text-align: center; }
.cta-title { font-size: 40px; font-weight: 500; color: #fff; max-width: 640px; margin: 0 auto; line-height: 1.2; }
.cta-sub { font-size: 18px; color: rgba(255,255,255,0.75); margin-top: 16px; }
.cta-buttons { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 40px; flex-wrap: wrap; }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-headline { font-size: 44px; }
  .navbar { padding: 0 24px; }
  .section { padding: 72px 24px; }
  .footer-inner { padding: 0; }
}
@media (max-width: 640px) {
  .navbar { padding: 0 16px; }
  .navbar-links { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 60px 16px; min-height: 80vh; }
  .hero-headline { font-size: 36px; }
  .hero-sub { font-size: 17px; }
  .section { padding: 60px 16px; }
  .section-title { font-size: 28px; }
  .grid-2x2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .cta-title { font-size: 30px; }
  footer { padding: 48px 16px; }
}
