/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #0f172a;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* Layout */
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.25rem; color: #0f172a;
}
.logo-icon { width: 32px; height: 32px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 0.925rem; }
.nav-links a { color: #475569; transition: color 0.2s; }
.nav-links a:hover { color: #0f172a; }

/* Buttons */
.btn {
  display: inline-block; padding: 10px 22px; border-radius: 8px;
  font-weight: 600; font-size: 0.925rem;
  background: #2563eb; color: #fff;
  border: 2px solid #2563eb;
  cursor: pointer; transition: all 0.2s;
}
.btn:hover { background: #1d4ed8; border-color: #1d4ed8; }
.btn-sm { padding: 7px 18px; font-size: 0.85rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-outline { background: transparent; color: #2563eb; }
.btn-outline:hover { background: #2563eb; color: #fff; }
.btn-full { width: 100%; text-align: center; }

/* Hero */
.hero {
  padding: 160px 0 100px; text-align: center;
  background: linear-gradient(180deg, #f0f5ff 0%, #fff 100%);
}
.hero-badge {
  display: inline-block; padding: 6px 16px; border-radius: 100px;
  background: #dbeafe; color: #1e40af;
  font-size: 0.825rem; font-weight: 600;
  margin-bottom: 24px; letter-spacing: 0.02em;
}
.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700; line-height: 1.15;
  letter-spacing: -0.025em; margin-bottom: 20px;
}
.hero-sub {
  max-width: 560px; margin: 0 auto 36px;
  font-size: 1.125rem; color: #475569; line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 64px; }
.hero-stats { display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-num { display: block; font-size: 1.75rem; font-weight: 700; color: #2563eb; }
.stat-label { font-size: 0.825rem; color: #64748b; font-weight: 500; }

/* Sections shared */
section { padding: 96px 0; }
h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700; text-align: center;
  letter-spacing: -0.02em; margin-bottom: 12px;
}
.section-sub {
  text-align: center; color: #64748b;
  max-width: 500px; margin: 0 auto 56px;
  font-size: 1.05rem;
}

/* Features */
.features { background: #f8fafc; }
.grid-3 {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: #fff; border: 1px solid #e2e8f0;
  border-radius: 12px; padding: 32px 28px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.card:hover { border-color: #cbd5e1; box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
.card-icon {
  width: 44px; height: 44px; margin-bottom: 18px;
  color: #2563eb;
}
.card-icon svg { width: 100%; height: 100%; }
.card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.card p { font-size: 0.925rem; color: #64748b; line-height: 1.65; }

/* How It Works */
.steps {
  display: flex; gap: 40px; justify-content: center;
  flex-wrap: wrap;
}
.step {
  flex: 1; min-width: 220px; max-width: 300px;
  text-align: center;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: #2563eb; color: #fff;
  font-size: 1.25rem; font-weight: 700;
  margin-bottom: 18px;
}
.step h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 0.925rem; color: #64748b; line-height: 1.65; }

/* CTA */
.cta { background: #0f172a; color: #fff; }
.cta h2 { color: #fff; }
.cta .section-sub { color: #94a3b8; }
.cta-form {
  max-width: 520px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 14px;
}
.form-row { display: flex; gap: 14px; }
.cta-form input, .cta-form textarea {
  width: 100%; padding: 14px 16px;
  border: 1px solid #334155; border-radius: 8px;
  background: #1e293b; color: #fff;
  font-family: inherit; font-size: 0.925rem;
  outline: none; transition: border-color 0.2s;
}
.cta-form input::placeholder, .cta-form textarea::placeholder { color: #64748b; }
.cta-form input:focus, .cta-form textarea:focus { border-color: #2563eb; }
.cta-form .btn { margin-top: 4px; }

/* Footer */
.footer {
  padding: 24px 0;
  border-top: 1px solid #e2e8f0;
  font-size: 0.85rem; color: #94a3b8;
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: #94a3b8; transition: color 0.2s; }
.footer-links a:hover { color: #0f172a; }

/* Responsive */
@media (max-width: 768px) {
  .grid-3 { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
  .hero { padding: 120px 0 72px; }
  .hero-stats { gap: 32px; }
  .form-row { flex-direction: column; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
