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

:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #eff6ff;
  --text: #111827;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --bg: #fff;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.05);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.10);
  --font: 'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  padding: 11px 22px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .15s, transform .1s, box-shadow .15s;
}
.btn-primary:hover { background: var(--blue-dark); box-shadow: 0 4px 14px rgba(37,99,235,.3); }
.btn-primary:active { transform: scale(.98); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: .95rem;
  padding: 10px 22px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  text-decoration: none;
  transition: border-color .15s, color .15s;
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
  font-weight: 500;
  font-size: .95rem;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: color .15s, background .15s;
}
.btn-ghost:hover { color: var(--text); background: #f3f4f6; }

.btn-sm { padding: 8px 16px; font-size: .875rem; }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---- NAV ---- */
.nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  height: 60px;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 6px;
  flex: 1;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
  transition: color .15s;
}
.nav-links a:hover { color: var(--text); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

/* ---- HERO ---- */
.hero {
  padding: 96px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, #f8faff 0%, #fff 100%);
}

.hero-badge {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 99px;
  border: 1px solid #bfdbfe;
  margin-bottom: 24px;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--text);
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hero-note {
  font-size: .82rem;
  color: #9ca3af;
}

/* ---- PROOF ---- */
.proof {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fafafa;
}

.proof-label {
  text-align: center;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 32px;
}

.proof-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 48px;
}

.stat-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -.02em;
  line-height: 1;
}

.stat-desc {
  font-size: .875rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* ---- SECTION COMMONS ---- */
.section { padding: 88px 0; }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.025em;
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
}

/* ---- FEATURES ---- */
.features { background: #fff; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #fafafa;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow .2s, border-color .2s, transform .15s;
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: #bfdbfe;
  transform: translateY(-2px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- HOW IT WORKS ---- */
.hiw { background: #f8faff; }

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 52px;
  bottom: 52px;
  width: 2px;
  background: var(--border);
}

.step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 28px 0;
}

.step-num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--bg);
  border: 2px solid var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 800;
  color: var(--blue);
  position: relative;
  z-index: 1;
}

.step-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  margin-top: 12px;
}

.step-content p {
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.65;
}

/* ---- PRICING ---- */
.pricing { background: #fff; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  position: relative;
  background: #fafafa;
}

.pricing-card--featured {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: scale(1.03);
  box-shadow: 0 8px 40px rgba(37,99,235,.25);
}

.plan-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: rgba(255,255,255,.2);
  color: #fff;
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 14px;
}

.plan-name {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.pricing-card--featured .plan-name { color: rgba(255,255,255,.75); }

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.price-num {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -.03em;
}

.price-per {
  font-size: .9rem;
  color: var(--text-muted);
}
.pricing-card--featured .price-per { color: rgba(255,255,255,.7); }

.plan-desc {
  font-size: .875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}
.pricing-card--featured .plan-desc { color: rgba(255,255,255,.8); }

.plan-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-features li {
  font-size: .9rem;
  padding-left: 22px;
  position: relative;
  color: var(--text-muted);
}
.pricing-card--featured .plan-features li { color: rgba(255,255,255,.9); }

.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}
.pricing-card--featured .plan-features li::before { color: #fff; }

.pricing-card--featured .btn-outline {
  background: #fff;
  color: var(--blue);
  border-color: #fff;
}
.pricing-card--featured .btn-outline:hover { background: #eff6ff; }

/* ---- FINAL CTA ---- */
.cta-section { background: #f8faff; }

.cta-box {
  background: var(--blue);
  border-radius: 20px;
  padding: 64px 48px;
  text-align: center;
  color: #fff;
}

.cta-box h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.025em;
  margin-bottom: 14px;
}

.cta-box p {
  color: rgba(255,255,255,.8);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.cta-box .btn-primary {
  background: #fff;
  color: var(--blue);
  font-size: 1rem;
  padding: 13px 26px;
}
.cta-box .btn-primary:hover { background: #eff6ff; box-shadow: none; }

/* ---- FOOTER ---- */
.footer {
  background: var(--text);
  color: #d1d5db;
  padding-top: 56px;
}

.footer-inner {
  display: flex;
  gap: 64px;
  padding-bottom: 48px;
}

.footer-brand {
  flex: 1;
  min-width: 200px;
}

.footer-brand .nav-logo {
  color: #fff;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: .875rem;
  line-height: 1.6;
  color: #9ca3af;
  max-width: 240px;
}

.footer-links {
  display: flex;
  gap: 48px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-title {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 2px;
}

.footer-col a {
  color: #9ca3af;
  text-decoration: none;
  font-size: .875rem;
  transition: color .15s;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid #374151;
  padding: 20px 24px;
  font-size: .82rem;
  color: #6b7280;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card--featured { transform: none; }
  .footer-inner { flex-direction: column; gap: 40px; }
}

@media (max-width: 640px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 4px;
  }
  .nav-links.open + .nav-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0 24px 16px;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #fff;
  }
  .features-grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 56px; }
  .stat { padding: 0 24px; }
  .stat-divider { height: 36px; }
  .proof-stats { gap: 12px 0; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
  .cta-box { padding: 40px 24px; }
  .steps::before { display: none; }
}
