:root {
  --purple: #9134C5;
  --purple-dark: #6a1f99;
  --orange: #FF8A3D;
  --ink: #1d1530;
  --muted: #5d5670;
  --bg: #ffffff;
  --soft: #f7f2fb;
  --line: #e9e1f0;
  --grad: linear-gradient(135deg, #9134C5 0%, #C2459A 50%, #FF8A3D 100%);
  --radius: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
a { color: var(--purple); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { font-weight: 800; font-size: 1.2rem; text-decoration: none; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.brand .dot { width: 22px; height: 22px; border-radius: 6px 6px 6px 50%; background: var(--grad); display: inline-block; }
nav.top { display: flex; align-items: center; gap: 18px; }
nav.top a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; }
nav.top a:hover { color: var(--ink); }

.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 12px 22px; border-radius: 999px; transition: transform .15s, box-shadow .15s;
}
.btn-primary { background: var(--grad); color: #fff !important; box-shadow: 0 8px 24px rgba(145,52,197,.28); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(145,52,197,.36); }
.btn-ghost { color: var(--purple) !important; border: 2px solid var(--line); }
.btn-ghost:hover { border-color: var(--purple); }
.btn-sm { padding: 8px 16px; font-size: .9rem; }

/* Hero */
.hero { padding: 80px 0 64px; background: radial-gradient(1200px 400px at 80% -10%, rgba(255,138,61,.14), transparent), radial-gradient(900px 400px at 0% 0%, rgba(145,52,197,.12), transparent); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--purple); background: var(--soft); padding: 6px 12px; border-radius: 999px; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.1; margin: 16px 0; letter-spacing: -.02em; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 540px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; align-items: center; }
.cta-note { color: var(--muted); font-size: .9rem; }

/* Mock site with widget */
.mock { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 60px rgba(29,21,48,.12); aspect-ratio: 4/3; overflow: hidden; }
.mock .bar { height: 32px; background: var(--soft); display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.mock .bar i { width: 10px; height: 10px; border-radius: 50%; background: #d9cfe3; display: block; }
.mock .lines { padding: 24px; }
.mock .lines span { display: block; height: 12px; border-radius: 6px; background: #f0eaf5; margin-bottom: 12px; }
.bubble { position: absolute; right: 20px; bottom: 20px; width: 38%; aspect-ratio: 9/14; border-radius: 18px; background: var(--grad); box-shadow: 0 16px 36px rgba(145,52,197,.4); display: flex; align-items: flex-end; padding: 12px; color: #fff; font-weight: 700; font-size: .85rem; }
.bubble .play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-60%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.9); }
.bubble .play::after { content: ""; position: absolute; left: 17px; top: 13px; border-left: 14px solid var(--purple); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }

/* Sections */
section { padding: 72px 0; }
section.alt { background: var(--soft); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); letter-spacing: -.01em; margin: 0 0 12px; }
.section-lead { color: var(--muted); max-width: 640px; margin: 0 0 40px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 12px 0 6px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); }
.icon { width: 40px; height: 40px; border-radius: 10px; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 24px; border-left: 3px solid var(--purple); background: #fff; border-radius: 0 var(--radius) var(--radius) 0; }
.step::before { counter-increment: s; content: "Step " counter(s); font-size: .8rem; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: .08em; }
.step h3 { margin: 6px 0; }
.step p { margin: 0; color: var(--muted); }

/* Pricing */
.price-card { max-width: 440px; margin: 0 auto; background: #fff; border-radius: 20px; padding: 36px; border: 2px solid transparent; background-image: linear-gradient(#fff,#fff), var(--grad); background-origin: border-box; background-clip: padding-box, border-box; text-align: center; box-shadow: 0 24px 48px rgba(145,52,197,.15); }
.price-card .plan { font-weight: 700; color: var(--purple); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.price { font-size: 3.2rem; font-weight: 800; margin: 8px 0 0; }
.price small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.price-card ul { text-align: left; list-style: none; padding: 0; margin: 24px 0; }
.price-card li { padding: 8px 0 8px 28px; position: relative; border-bottom: 1px solid var(--line); }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--purple); font-weight: 800; }

/* Docs pages */
.doc { padding: 56px 0 80px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.doc h2 { font-size: 1.35rem; margin-top: 36px; }
.doc h3 { font-size: 1.1rem; margin-top: 24px; }
.doc p, .doc li { color: #3a3350; }
.meta { color: var(--muted); font-size: .95rem; }
.notice { background: #fff6ee; border: 1px solid #ffd3b3; border-left: 4px solid var(--orange); padding: 14px 18px; border-radius: 10px; margin: 20px 0; font-size: .95rem; }
details { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin: 10px 0; background: #fff; }
details summary { cursor: pointer; font-weight: 600; }
details[open] summary { margin-bottom: 8px; }
.contact-box { background: var(--soft); border-radius: var(--radius); padding: 24px; margin: 24px 0; }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 32px 0; color: var(--muted); font-size: .9rem; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer.site a { color: var(--muted); text-decoration: none; margin-right: 16px; }
footer.site a:hover { color: var(--ink); }

@media (max-width: 820px) {
  .hero { padding: 48px 0; }
  .hero .wrap, .grid3, .steps { grid-template-columns: 1fr; }
  nav.top .hide-sm { display: none; }
  section { padding: 56px 0; }
}
@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  nav.top { gap: 12px; }
}
