:root {
  --brand: #5b3df5;
  --brand-dark: #3f27c4;
  --accent: #ff8a3d;
  --ink: #1d1b2e;
  --muted: #5f5c75;
  --bg: #ffffff;
  --bg-alt: #f5f4fb;
  --border: #e3e1f0;
  --radius: 12px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; }
a { color: var(--brand); }

.container { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { border-bottom: 1px solid var(--border); background: var(--bg); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem; color: var(--ink); text-decoration: none; }
.logo img { width: 36px; height: 36px; }
.site-nav { display: flex; gap: 22px; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.site-nav a:hover, .site-nav a.active { color: var(--brand); }

/* Page hero */
.page-hero { background: var(--bg-alt); padding: 56px 0; }
.page-hero .container { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.page-hero h1 { font-size: 2.4rem; line-height: 1.2; margin: 0 0 14px; }
.page-hero p { font-size: 1.1rem; color: var(--muted); margin: 0; }
.page-hero.simple .container { display: block; text-align: center; max-width: 720px; }

/* Sections */
section { padding: 48px 0; }
section.alt { background: var(--bg-alt); }
h2 { font-size: 1.7rem; margin: 0 0 16px; }
h3 { margin: 0 0 8px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.card .icon { width: 44px; height: 44px; margin-bottom: 12px; }
.card p { margin: 0; color: var(--muted); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 18px 52px; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.stats strong { display: block; font-size: 2.2rem; color: var(--brand); }
.stats span { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 26px; border: 0; border-radius: 8px;
  background: var(--brand); color: #fff; font-size: 1rem; font-weight: 600;
  text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--brand-dark); }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
form label { display: block; font-weight: 600; margin-bottom: 4px; }
form .field { margin-bottom: 18px; }
form input, form select, form textarea {
  width: 100%; padding: 10px 12px; font: inherit;
  border: 1px solid var(--border); border-radius: 8px; background: #fff;
}
form input:focus, form select:focus, form textarea:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
.form-note { font-size: 0.9rem; color: var(--muted); margin-top: 12px; }
.contact-info .card { margin-bottom: 18px; }
.contact-info h3 { font-size: 1.05rem; }

details { border-bottom: 1px solid var(--border); padding: 14px 0; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; color: var(--muted); }

/* Home hero */
.hero {
  background: linear-gradient(135deg, #2a1a8f 0%, #5b3df5 55%, #8b6bff 100%);
  color: #fff; padding: 80px 0 64px; overflow: hidden;
}
.hero .container { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.hero .eyebrow {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: rgba(255,255,255,.16); font-size: .85rem; font-weight: 600; margin-bottom: 18px;
}
.hero h1 { font-size: 3rem; line-height: 1.1; margin: 0 0 18px; }
.hero h1 span { color: #ffc89e; }
.hero p { font-size: 1.2rem; color: #e6e1ff; margin: 0 0 28px; max-width: 520px; }
.hero-art { text-align: center; }
.hero-art img { max-height: 420px; filter: drop-shadow(0 24px 40px rgba(0,0,0,.35)); }

.store-badges { display: flex; gap: 14px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px;
  background: #0d0b1c; color: #fff; border: 1px solid rgba(255,255,255,.3);
  border-radius: 10px; text-decoration: none; line-height: 1.15;
  transition: transform .15s ease, background .15s ease;
}
.store-badge:hover { transform: translateY(-2px); background: #000; }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge small { display: block; font-size: .7rem; opacity: .8; }
.store-badge strong { font-size: 1.05rem; }

.hero-points { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 26px; font-size: .95rem; color: #e6e1ff; }
.hero-points span::before { content: "\2713"; margin-right: 6px; color: #ffc89e; font-weight: 700; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }

.card.lift { transition: transform .15s ease, box-shadow .15s ease; }
.card.lift:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(60,40,160,.12); }
.grid-3.six { grid-template-rows: auto auto; }

.showcase { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.showcase figure { margin: 0; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.showcase figcaption { padding: 14px 18px; color: var(--muted); font-size: .95rem; }
.showcase figcaption strong { color: var(--ink); display: block; }

.quotes .card { position: relative; }
.quotes blockquote { margin: 0 0 16px; font-size: 1.02rem; }
.quotes .who { display: flex; align-items: center; gap: 12px; font-size: .92rem; color: var(--muted); }
.quotes .who b { display: block; color: var(--ink); }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 8px; }

.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 760px; margin: 0 auto; }
.plan { text-align: center; }
.plan.featured { border: 2px solid var(--brand); box-shadow: 0 14px 30px rgba(91,61,245,.15); }
.plan .price { font-size: 2.4rem; font-weight: 800; margin: 8px 0; }
.plan .price small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 16px 0 22px; text-align: left; }
.plan li { padding: 6px 0 6px 26px; position: relative; color: var(--muted); }
.plan li::before { content: "\2713"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }

.cta-band { background: linear-gradient(135deg, #5b3df5, #8b6bff); color: #fff; text-align: center; }
.cta-band p { color: #e6e1ff; }
.cta-band .store-badges { justify-content: center; margin-top: 22px; }

.btn.light { background: #fff; color: var(--brand); }
.btn.light:hover { background: #f0edff; }
.btn.outline { background: transparent; border: 2px solid var(--brand); color: var(--brand); }
.btn.outline:hover { background: var(--brand); color: #fff; }

/* Footer */
.site-footer { background: var(--ink); color: #c9c7dc; padding: 28px 0; font-size: 0.95rem; }
.site-footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.site-footer a { color: #c9c7dc; margin-left: 16px; }

@media (max-width: 760px) {
  .page-hero .container, .two-col, .contact-layout, .grid-3, .stats,
  .hero .container, .showcase, .pricing { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
  .hero { padding: 48px 0; }
  .page-hero h1 { font-size: 1.9rem; }
  .site-header .container { flex-direction: column; gap: 10px; }
}
