:root {
  --purple: #7c3aed;
  --purple-dark: #5b21b6;
  --purple-light: #8b5cf6;
  --mauve: #b789d4;
  --bg: #faf6fe;
  --bg2: #f3ebfa;
  --ink: #1a1523;
  --muted: #6b6478;
  --card: #ffffff;
  --border: #e9dcf5;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
  line-height: 1.6;
}
a { color: var(--purple); text-decoration: none; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Nav */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 254, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--purple-dark); }
.brand .logo { width: 34px; height: 34px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--purple); }
.btn {
  display: inline-block; background: linear-gradient(180deg, var(--purple-light), var(--purple));
  color: #fff !important; font-weight: 600; padding: 11px 22px; border-radius: 10px;
  border: none; cursor: pointer; font-size: 15px; transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 4px 14px rgba(124,58,237,.28);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(124,58,237,.4); }
.btn-ghost { background: transparent; color: var(--purple) !important; box-shadow: none; border: 1.5px solid var(--mauve); }
.btn-ghost:hover { background: rgba(124,58,237,.06); }
@media (max-width: 720px) { .nav-links a:not(.btn) { display: none; } }

/* Hero */
.hero {
  background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 48%, #b789d4 100%);
  color: #fff; border-radius: 0 0 32px 32px; padding: 80px 0 90px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.12), transparent 45%);
}
.hero .container { position: relative; z-index: 1; text-align: center; }
.hero h1 { font-size: 52px; line-height: 1.1; font-weight: 800; letter-spacing: -1px; margin-bottom: 20px; }
.hero p.sub { font-size: 20px; opacity: .94; max-width: 680px; margin: 0 auto 34px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.chip { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 7px 16px; font-size: 14px; font-weight: 550; }
@media (max-width: 720px) { .hero h1 { font-size: 36px; } .hero p.sub { font-size: 17px; } }

/* Sections */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: 34px; font-weight: 800; letter-spacing: -.5px; margin-bottom: 12px;
  background: linear-gradient(90deg, var(--purple), var(--mauve)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head p { color: var(--muted); font-size: 17px; }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 26px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(124,58,237,.12); }
.card .ico { font-size: 30px; margin-bottom: 14px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* Benefits (alt bg) */
.benefits { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.benefit-list { max-width: 760px; margin: 0 auto; display: grid; gap: 18px; }
.benefit { display: flex; gap: 16px; align-items: flex-start; }
.benefit .b-ico { flex: 0 0 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(180deg, var(--purple-light), var(--purple)); color: #fff; font-size: 20px; }
.benefit h4 { font-size: 17px; margin-bottom: 3px; }
.benefit p { color: var(--muted); font-size: 15px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.step { text-align: center; padding: 22px; }
.step .num { width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center;
  background: linear-gradient(180deg, var(--purple-light), var(--purple)); color: #fff; font-weight: 800; font-size: 18px; }
.step h4 { font-size: 16px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--purple-dark), var(--purple)); color: #fff; border-radius: 24px; text-align: center; padding: 56px 24px; }
.cta-band h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.cta-band p { opacity: .92; margin-bottom: 26px; font-size: 18px; }

/* Contact */
.contact-wrap { max-width: 560px; margin: 0 auto; }
.contact-form { display: grid; gap: 16px; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 30px; }
.contact-form label { font-weight: 600; font-size: 14px; margin-bottom: 5px; display: block; }
.contact-form input, .contact-form textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 10px; padding: 11px 13px; font-size: 15px; font-family: inherit; outline: none;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--purple-light); }
.contact-form textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 14px; text-align: center; min-height: 20px; }
.form-note.ok { color: #1a7f4b; }
.form-note.err { color: #c0392b; }

/* Footer */
footer { padding: 40px 0; text-align: center; color: var(--muted); font-size: 14px; border-top: 1px solid var(--border); margin-top: 40px; }
footer a { margin: 0 8px; }
