:root {
  --bg: #08040f;
  --bg2: #0d0718;
  --card: rgba(255, 255, 255, 0.035);
  --card-brd: rgba(168, 85, 247, 0.18);
  --txt: #ece9f4;
  --muted: #9b93ad;
  --p1: #8b5cf6;
  --p2: #c084fc;
  --p3: #6d28d9;
  --ok: #34d399;
  --radius: 18px;
  --max: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: Inter, "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--txt);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------- animated background (transform-only, cheap) ---------- */
.bg-blobs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-blobs span {
  position: absolute; width: 46vw; height: 46vw; border-radius: 50%;
  filter: blur(90px); opacity: .30; will-change: transform;
}
.bg-blobs span:nth-child(1) { background: #7c3aed; top: -12vw; left: -10vw; animation: drift1 26s ease-in-out infinite alternate; }
.bg-blobs span:nth-child(2) { background: #a855f7; top: 24vh; right: -16vw; animation: drift2 32s ease-in-out infinite alternate; opacity: .22; }
.bg-blobs span:nth-child(3) { background: #4c1d95; bottom: -20vw; left: 20vw; animation: drift3 38s ease-in-out infinite alternate; opacity: .28; }
@keyframes drift1 { to { transform: translate3d(9vw, 7vh, 0) scale(1.15); } }
@keyframes drift2 { to { transform: translate3d(-11vw, -6vh, 0) scale(1.2); } }
@keyframes drift3 { to { transform: translate3d(6vw, -9vh, 0) scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .bg-blobs span { animation: none; } }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
section { padding: 92px 0; position: relative; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: clamp(34px, 6vw, 62px); }
h2 { font-size: clamp(26px, 3.6vw, 40px); margin-bottom: 14px; }
h3 { font-size: 19px; margin-bottom: 8px; }
p { color: var(--muted); }
a { color: var(--p2); text-decoration: none; }
a:hover { color: #e9d5ff; }

.grad {
  background: linear-gradient(100deg, #c084fc 0%, #8b5cf6 40%, #6d28d9 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(8, 4, 15, 0.72);
  border-bottom: 1px solid rgba(168, 85, 247, 0.12);
}
.nav-in { display: flex; align-items: center; gap: 26px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--txt); }
.brand-note { font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: .05em; margin-left: 8px; }
.logo svg { width: 24px; height: 24px; }
.nav nav { display: flex; gap: 22px; margin-left: auto; font-size: 14.5px; }
.nav nav a { color: var(--muted); }
.nav nav a:hover { color: var(--txt); }
@media (max-width: 860px) { .nav nav { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 12px; font-weight: 650; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-primary {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  color: #fff; box-shadow: 0 10px 30px -10px rgba(139, 92, 246, .7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(168, 85, 247, .85); color: #fff; }
.btn-ghost { border-color: rgba(168, 85, 247, .3); color: var(--txt); background: rgba(168, 85, 247, .06); }
.btn-ghost:hover { background: rgba(168, 85, 247, .14); transform: translateY(-2px); color: #fff; }

/* ---------- hero ---------- */
.hero { padding-top: 84px; text-align: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; border-radius: 999px; font-size: 13px; color: #d8c7ff;
  background: rgba(139, 92, 246, .12); border: 1px solid rgba(168, 85, 247, .3);
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.hero h1 { margin: 22px 0 18px; }
.lead { max-width: 690px; margin: 0 auto 30px; font-size: clamp(15.5px, 1.7vw, 18px); }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 54px; }
.stat {
  padding: 20px 16px; border-radius: var(--radius); background: var(--card);
  border: 1px solid var(--card-brd); text-align: center;
}
.stat b { display: block; font-size: 24px; color: #fff; }
.stat span { font-size: 13px; color: var(--muted); }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- cards ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }
.card {
  padding: 26px 22px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(168, 85, 247, .07), rgba(255, 255, 255, .02));
  border: 1px solid var(--card-brd);
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(192, 132, 252, .45); }
.card p { font-size: 14.5px; }
.icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(139, 92, 246, .16); border: 1px solid rgba(168, 85, 247, .3); margin-bottom: 16px;
}
.icon svg { width: 20px; height: 20px; stroke: #c084fc; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; counter-reset: s; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 26px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--card-brd); position: relative; }
.step::before {
  counter-increment: s; content: counter(s);
  position: absolute; top: -16px; left: 22px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, #8b5cf6, #4c1d95); border: 1px solid rgba(192, 132, 252, .5);
}

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }
.plan {
  padding: 30px 24px; border-radius: var(--radius); background: var(--card);
  border: 1px solid var(--card-brd); display: flex; flex-direction: column; transition: transform .2s ease, border-color .2s ease;
}
.plan:hover { transform: translateY(-4px); border-color: rgba(192, 132, 252, .4); }
.plan.featured {
  background: linear-gradient(180deg, rgba(139, 92, 246, .16), rgba(139, 92, 246, .04));
  border-color: rgba(168, 85, 247, .55); box-shadow: 0 18px 50px -25px rgba(139, 92, 246, .8);
}
.plan h3 { font-size: 17px; color: var(--muted); font-weight: 600; }
.price { font-size: 40px; font-weight: 800; color: #fff; margin: 10px 0 2px; }
.price small { font-size: 15px; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; margin: 20px 0 24px; display: grid; gap: 10px; font-size: 14.5px; color: #cfc8dd; }
.plan li::before { content: "✓"; color: var(--ok); margin-right: 9px; font-weight: 800; }
.plan .btn { margin-top: auto; width: 100%; }

/* ---------- legal / numbered blocks ---------- */
.legal {
  max-width: 920px; margin: 0 auto;
  padding: 34px 30px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .025); border: 1px solid var(--card-brd);
}
.legal h2 { font-size: 24px; }
.legal h3 { margin-top: 26px; color: #e5dcf7; }
.legal ol { margin: 12px 0 0 22px; display: grid; gap: 10px; color: var(--muted); font-size: 15px; }
.legal li strong { color: #e9e3f5; }
.legal p { margin-top: 12px; font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 28px auto 0; }
.faq-item {
  border: 1px solid var(--card-brd); border-radius: 14px; background: var(--card);
  margin-bottom: 12px; overflow: hidden; transition: border-color .2s ease, background .2s ease;
}
.faq-item:hover { border-color: rgba(192, 132, 252, .35); }
.faq-q {
  width: 100%; text-align: left; padding: 19px 22px; background: none; border: 0; color: #efe9f8;
  font-size: 16px; font-weight: 650; cursor: pointer; display: flex; gap: 14px; align-items: center;
  font-family: inherit;
}
.faq-q span { margin-left: auto; color: var(--p2); transition: transform .25s ease; font-size: 20px; line-height: 1; }
.faq-item.open .faq-q span { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .32s ease; }
.faq-a > div { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }
.faq-a ol, .faq-a ul { margin: 8px 0 0 20px; display: grid; gap: 7px; }

/* ---------- contact ---------- */
.contact-card {
  max-width: 720px; margin: 28px auto 0; padding: 36px 30px; text-align: center;
  border-radius: var(--radius); border: 1px solid var(--card-brd);
  background: linear-gradient(160deg, rgba(139, 92, 246, .14), rgba(255, 255, 255, .02));
}
.contact-links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid rgba(168, 85, 247, .12); padding: 40px 0; margin-top: 40px; font-size: 14px; color: var(--muted); }
.foot-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- legal pages ---------- */
.doc { max-width: 860px; margin: 0 auto; padding: 60px 0 20px; }
.doc h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 10px; }
.doc .meta { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.doc h2 { font-size: 22px; margin: 34px 0 10px; }
.doc h3 { font-size: 17px; margin: 22px 0 8px; color: #e5dcf7; }
.doc ol, .doc ul { margin: 10px 0 0 22px; display: grid; gap: 9px; color: var(--muted); font-size: 15px; }
.doc p { margin-top: 10px; font-size: 15px; }
.doc li strong { color: #e9e3f5; }
.back { display: inline-block; margin-bottom: 22px; font-size: 14.5px; }
