*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #111827;
  line-height: 1.6;
  background: #fff;
}

/* ── Nav ──────────────────────────────────────────────────────────────────── */
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 60px;
  border-bottom: 1px solid #E5E7EB;
  background: #fff; position: sticky; top: 0; z-index: 100;
}
.logo { font-size: 1.125rem; font-weight: 700; color: #4F46E5; text-decoration: none; }
.nav-links { display: flex; gap: 1.75rem; list-style: none; }
.nav-links a { text-decoration: none; color: #374151; font-size: 0.9375rem; }
.nav-links a:hover { color: #4F46E5; }
.nav-cta {
  background: #4F46E5; color: #fff !important;
  padding: 0.45rem 1.125rem; border-radius: 6px;
  font-size: 0.875rem; font-weight: 500;
}
.nav-cta:hover { background: #4338CA !important; }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block; padding: 0.7rem 1.5rem; border-radius: 8px;
  font-weight: 500; font-size: 0.9375rem;
  text-decoration: none; cursor: pointer; border: none;
}
.btn-primary { background: #4F46E5; color: #fff; }
.btn-primary:hover { background: #4338CA; }
.btn-secondary { background: #fff; color: #374151; border: 1px solid #D1D5DB; }
.btn-secondary:hover { background: #F9FAFB; border-color: #9CA3AF; }
.btn-white { background: #fff; color: #4F46E5; font-weight: 600; }
.btn-white:hover { background: #EEF2FF; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero { text-align: center; padding: 6rem 2rem 4rem; }
.badge {
  display: inline-block; background: #EEF2FF; color: #4F46E5;
  font-size: 0.8125rem; font-weight: 500;
  padding: 0.25rem 0.875rem; border-radius: 100px; margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; line-height: 1.15;
  max-width: 740px; margin: 0 auto 1.25rem;
}
.hero p { font-size: 1.125rem; color: #6B7280; max-width: 520px; margin: 0 auto 2.25rem; }
.hero-actions { display: flex; gap: 0.875rem; justify-content: center; flex-wrap: wrap; }

/* ── Sections ─────────────────────────────────────────────────────────────── */
.section { padding: 5rem 2rem; }
.section-light { background: #F9FAFB; }
.section-center { text-align: center; }
.section-label {
  display: inline-block; background: #EEF2FF; color: #4F46E5;
  font-size: 0.8125rem; font-weight: 500;
  padding: 0.2rem 0.75rem; border-radius: 100px; margin-bottom: 0.75rem;
}
.section-title { font-size: 2rem; font-weight: 700; margin-bottom: 0.75rem; }
.section-subtitle { color: #6B7280; font-size: 1rem; max-width: 540px; margin: 0 auto 3rem; }

/* ── Cards ────────────────────────────────────────────────────────────────── */
.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.25rem; max-width: 1080px; margin: 0 auto;
}
.card {
  background: #fff; border: 1px solid #E5E7EB; border-radius: 12px;
  padding: 1.75rem; cursor: pointer;
  transition: border-color 0.15s;
}
.card:hover { border-color: #C7D2FE; }
.card-icon { font-size: 1.5rem; margin-bottom: 1rem; }
.card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.card p { color: #6B7280; font-size: 0.9rem; line-height: 1.65; }

/* ── Pricing ──────────────────────────────────────────────────────────────── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem; max-width: 900px; margin: 0 auto;
}
.pricing-card {
  background: #fff; border: 1px solid #E5E7EB;
  border-radius: 12px; padding: 2rem;
}
.pricing-card.featured { border: 2px solid #4F46E5; position: relative; }
.featured-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: #4F46E5; color: #fff;
  font-size: 0.75rem; font-weight: 600;
  padding: 0.2rem 0.875rem; border-radius: 100px; white-space: nowrap;
}
.plan-name { font-size: 0.9375rem; font-weight: 600; color: #374151; margin-bottom: 0.75rem; }
.plan-price { font-size: 2.25rem; font-weight: 700; color: #111827; }
.plan-price span { font-size: 1rem; font-weight: 400; color: #9CA3AF; }
.plan-desc { color: #6B7280; font-size: 0.875rem; margin: 0.5rem 0 1.5rem; }
.plan-features { list-style: none; margin-bottom: 2rem; }
.plan-features li { padding: 0.35rem 0; font-size: 0.9rem; color: #374151; }
.plan-features li::before { content: "✓ "; color: #10B981; font-weight: 700; }
.plan-btn {
  display: block; width: 100%; text-align: center;
  padding: 0.7rem; border-radius: 8px;
  font-weight: 500; font-size: 0.9375rem;
  cursor: pointer; border: none; font-family: inherit;
}
.pricing-card.featured .plan-btn { background: #4F46E5; color: #fff; }
.pricing-card.featured .plan-btn:hover { background: #4338CA; }
.pricing-card:not(.featured) .plan-btn {
  background: #F9FAFB; color: #374151; border: 1px solid #D1D5DB;
}
.pricing-card:not(.featured) .plan-btn:hover { background: #F3F4F6; }

/* ── Form ─────────────────────────────────────────────────────────────────── */
.form-wrap { max-width: 480px; margin: 0 auto; }
.form-card {
  background: #fff; border: 1px solid #E5E7EB;
  border-radius: 12px; padding: 2.5rem;
}
.form-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.375rem; }
.form-subtitle { color: #6B7280; font-size: 0.9375rem; margin-bottom: 2rem; }
.form-group { margin-bottom: 1.125rem; }
label { display: block; font-size: 0.875rem; font-weight: 500; color: #374151; margin-bottom: 0.35rem; }
input, select {
  width: 100%; padding: 0.625rem 0.875rem;
  border: 1px solid #D1D5DB; border-radius: 6px;
  font-size: 0.9375rem; color: #111827;
  outline: none; background: #fff; font-family: inherit;
}
input:focus, select:focus {
  border-color: #4F46E5;
  box-shadow: 0 0 0 3px rgba(79,70,229,0.12);
}
.submit-btn {
  width: 100%; background: #4F46E5; color: #fff;
  border: none; padding: 0.75rem; border-radius: 8px;
  font-size: 1rem; font-weight: 500; cursor: pointer;
  margin-top: 0.5rem; font-family: inherit;
}
.submit-btn:hover { background: #4338CA; }
.submit-btn:disabled { background: #6366F1; cursor: default; }
.form-note { text-align: center; font-size: 0.8125rem; color: #9CA3AF; margin-top: 0.875rem; }
.success-banner {
  display: none; background: #ECFDF5;
  border: 1px solid #A7F3D0; color: #065F46;
  padding: 1rem; border-radius: 8px;
  text-align: center; margin-top: 1rem; font-size: 0.9375rem;
}

/* ── CTA Banner ───────────────────────────────────────────────────────────── */
.cta-banner { background: #4F46E5; color: #fff; text-align: center; padding: 5rem 2rem; }
.cta-banner h2 { font-size: 2rem; font-weight: 700; margin-bottom: 0.875rem; }
.cta-banner p {
  font-size: 1.0625rem; opacity: 0.85; margin-bottom: 2rem;
  max-width: 480px; margin-left: auto; margin-right: auto;
}

/* ── Page hero (inner pages) ──────────────────────────────────────────────── */
.page-hero { text-align: center; padding: 4rem 2rem 3rem; }
.page-hero h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 0.75rem; }
.page-hero p { color: #6B7280; font-size: 1.0625rem; max-width: 500px; margin: 0 auto; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
footer { border-top: 1px solid #E5E7EB; padding: 1.75rem 2rem; text-align: center; }
.footer-links { margin-bottom: 0.5rem; }
.footer-links a {
  color: #6B7280; text-decoration: none;
  margin: 0 0.75rem; font-size: 0.875rem;
}
.footer-links a:hover { color: #4F46E5; }
.footer-copy { color: #9CA3AF; font-size: 0.8125rem; }
