:root {
  --blue-50: #eff6ff; --blue-100: #dbeafe; --blue-500: #3b82f6;
  --blue-600: #2563eb; --blue-700: #1d4ed8; --blue-900: #1e3a8a;
  --amber-400: #fbbf24; --amber-500: #f59e0b; --amber-600: #d97706;
  --gray-50: #f9fafb; --gray-100: #f3f4f6; --gray-200: #e5e7eb;
  --gray-400: #9ca3af; --gray-500: #6b7280; --gray-600: #4b5563;
  --gray-800: #1f2937; --gray-900: #111827;
  --radius: 12px; --radius-sm: 8px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--gray-800); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 720px; }

/* ── Nav ───────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 56px;
}
.nav-brand {
  display: flex; align-items: center; gap: 8px;
  font-size: 17px; font-weight: 700; color: var(--gray-900); text-decoration: none;
}
.nav-brand img { border-radius: 6px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--gray-500); text-decoration: none; transition: color .15s; }
.nav-links a:hover { color: var(--gray-900); }
.nav-cta {
  padding: 7px 16px; border-radius: var(--radius-sm);
  background: var(--blue-600); color: #fff !important; font-weight: 600; font-size: 13px;
  transition: background .15s;
}
.nav-cta:hover { background: var(--blue-700); }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius); border: none;
  font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: all .2s ease;
}
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: 0 1px 3px rgba(37,99,235,.3); }
.btn-primary:hover { background: var(--blue-700); box-shadow: 0 4px 12px rgba(37,99,235,.25); transform: translateY(-1px); }
.btn-ghost { background: none; color: var(--gray-600); border: 1px solid var(--gray-200); }
.btn-ghost:hover { background: var(--gray-50); border-color: var(--gray-400); }
.btn-outline { background: #fff; color: var(--gray-800); border: 1px solid var(--gray-200); width: 100%; justify-content: center; }
.btn-outline:hover { background: var(--gray-50); border-color: var(--gray-400); }
.btn-lg { padding: 16px 36px; font-size: 16px; }

/* ── Section shared ────────────────────────────────────── */
.section-label {
  font-size: 13px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 8px;
}
section h2 { font-size: 36px; font-weight: 800; letter-spacing: -1px; color: var(--gray-900); margin-bottom: 48px; }

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  padding: 140px 0 80px; text-align: center;
  background: linear-gradient(180deg, var(--blue-50) 0%, #fff 100%);
}
.hero-badge {
  display: inline-block; padding: 6px 16px; border-radius: 999px;
  background: var(--blue-100); color: var(--blue-700);
  font-size: 13px; font-weight: 600; margin-bottom: 24px;
}
.hero h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 20px; color: var(--gray-900); }
.grad-text {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500), var(--amber-500));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub { font-size: 18px; color: var(--gray-500); max-width: 560px; margin: 0 auto 32px; line-height: 1.6; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.stat { font-size: 14px; color: var(--gray-500); }
.stat strong { color: var(--gray-800); }
.stat-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gray-300); }

/* ── How it works ──────────────────────────────────────── */
.how { padding: 96px 0; background: #fff; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.step { padding: 32px; border-radius: var(--radius); border: 1px solid var(--gray-200); transition: border-color .2s, box-shadow .2s; }
.step:hover { border-color: var(--blue-500); box-shadow: 0 8px 24px rgba(37,99,235,.08); }
.step-num {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--blue-600); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; margin-bottom: 16px;
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--gray-900); }
.step p { font-size: 14px; color: var(--gray-500); line-height: 1.6; }

/* ── Features ──────────────────────────────────────────── */
.features { padding: 96px 0; background: var(--gray-50); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.feature-card { background: #fff; padding: 28px; border-radius: var(--radius); border: 1px solid var(--gray-200); transition: border-color .2s, box-shadow .2s; }
.feature-card:hover { border-color: var(--blue-500); box-shadow: 0 8px 24px rgba(37,99,235,.06); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--blue-50); color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--gray-900); }
.feature-card p { font-size: 14px; color: var(--gray-500); line-height: 1.6; }

/* ── Pricing ───────────────────────────────────────────── */
.pricing { padding: 96px 0; background: #fff; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; max-width: 900px; margin: 0 auto; }
.price-card {
  position: relative; padding: 36px 28px; border-radius: var(--radius);
  border: 1px solid var(--gray-200); background: #fff; text-align: center;
}
.price-card.featured { border: 2px solid var(--blue-600); box-shadow: 0 8px 32px rgba(37,99,235,.1); }
.price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 4px 14px; border-radius: 999px;
  background: var(--blue-600); color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap;
}
.price-name { font-size: 16px; font-weight: 600; color: var(--gray-500); margin-bottom: 8px; }
.price-amount { font-size: 48px; font-weight: 800; color: var(--gray-900); line-height: 1; }
.price-period { font-size: 14px; color: var(--gray-400); margin-bottom: 24px; }
.price-card ul { list-style: none; margin-bottom: 28px; text-align: left; }
.price-card li { font-size: 14px; color: var(--gray-600); padding: 6px 0; display: flex; align-items: center; gap: 8px; }
.price-card li::before { content: "\2713"; color: var(--blue-600); font-weight: 700; font-size: 13px; }
.price-card li strong { color: var(--gray-900); }
.price-card .btn { width: 100%; justify-content: center; }

/* ── FAQ ───────────────────────────────────────────────── */
.faq { padding: 96px 0; background: var(--gray-50); }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
details {
  border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
  background: #fff; overflow: hidden; transition: border-color .15s;
}
details[open] { border-color: var(--blue-500); }
summary {
  padding: 18px 20px; font-size: 15px; font-weight: 600; color: var(--gray-900);
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 20px; color: var(--gray-400); font-weight: 300; transition: transform .2s; }
details[open] summary::after { content: "\2212"; color: var(--blue-600); }
details p { padding: 0 20px 18px; font-size: 14px; color: var(--gray-500); line-height: 1.7; }

/* ── Final CTA ─────────────────────────────────────────── */
.final-cta {
  padding: 80px 0; text-align: center;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  color: #fff;
}
.final-cta h2 { color: #fff; font-size: 32px; margin-bottom: 12px; }
.final-cta p { color: rgba(255,255,255,.8); font-size: 16px; margin-bottom: 28px; }
.final-cta .btn-primary { background: #fff; color: var(--blue-700); box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.final-cta .btn-primary:hover { background: var(--gray-100); }

/* ── Footer ────────────────────────────────────────────── */
footer { padding: 24px 0; border-top: 1px solid var(--gray-200); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-brand { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--gray-800); }
.footer-brand img { border-radius: 4px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: var(--gray-500); text-decoration: none; }
.footer-links a:hover { color: var(--gray-800); }
.footer-copy { font-size: 12px; color: var(--gray-400); }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { padding: 110px 0 60px; }
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 16px; }
  section h2 { font-size: 28px; margin-bottom: 32px; }
  .steps, .feature-grid, .pricing-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-stats { flex-direction: column; gap: 4px; }
  .stat-dot { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
}
