:root {
  --bg: #f7f5ff;
  --ink: #1d1b2e;
  --muted: #5d5a75;
  --card: rgba(255, 255, 255, 0.72);
  --line: rgba(110, 90, 220, 0.14);
  --brand: #6c4cf5;
  --brand-2: #ff6fb1;
  --brand-3: #36c9f2;
  --mint: #4fe3b5;
  --radius: 28px;
  --shadow: 0 20px 50px -20px rgba(80, 50, 200, 0.28);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; max-width: 100%; }

/* ---------- floating bubbles ---------- */
.bubbles { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bubbles span {
  position: absolute; border-radius: 50%;
  filter: blur(2px); opacity: 0.55;
  animation: float 18s ease-in-out infinite;
}
.bubbles span:nth-child(1) { width: 420px; height: 420px; top: -120px; left: -100px; background: radial-gradient(circle at 30% 30%, #c9b8ff, #8a6cff 70%); }
.bubbles span:nth-child(2) { width: 300px; height: 300px; top: 30%; right: -80px; background: radial-gradient(circle at 30% 30%, #ffd1e6, #ff6fb1 75%); animation-delay: -4s; }
.bubbles span:nth-child(3) { width: 220px; height: 220px; bottom: -60px; left: 20%; background: radial-gradient(circle at 30% 30%, #c8f3ff, #36c9f2 75%); animation-delay: -8s; }
.bubbles span:nth-child(4) { width: 120px; height: 120px; top: 55%; left: 6%; background: radial-gradient(circle at 30% 30%, #d4fff0, #4fe3b5 75%); animation-delay: -2s; }
.bubbles span:nth-child(5) { width: 80px; height: 80px; top: 18%; left: 55%; background: radial-gradient(circle at 30% 30%, #fff, #b9a6ff 80%); animation-delay: -10s; }
.bubbles span:nth-child(6) { width: 160px; height: 160px; bottom: 10%; right: 12%; background: radial-gradient(circle at 30% 30%, #ffe9c9, #ffb36b 75%); animation-delay: -6s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-25px, 25px) scale(0.96); }
}
@media (prefers-reduced-motion: reduce) { .bubbles span { animation: none; } }

/* ---------- layout ---------- */
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
main { flex: 1; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 14px; z-index: 10;
  margin: 14px auto 0; width: min(1120px, 100% - 32px);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 20px;
  background: var(--card); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow);
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--ink); }
.logo:hover { text-decoration: none; }
.logo-dot {
  width: 30px; height: 30px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff 0 12%, transparent 13%), linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 6px 16px -4px rgba(108, 76, 245, 0.6);
}
.nav-links { display: flex; gap: 4px; list-style: none; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: var(--muted); font-weight: 600; font-size: 0.92rem;
}
.nav-links a:hover, .nav-links a.active { background: rgba(108, 76, 245, 0.1); color: var(--brand); text-decoration: none; }
.nav-links a.cta { background: linear-gradient(135deg, var(--brand), #8f6bff); color: #fff; }
.nav-links a.cta:hover { filter: brightness(1.08); color: #fff; }

/* ---------- buttons / pills ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; border: 0; cursor: pointer;
  font: inherit; font-weight: 700; transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 14px 30px -12px rgba(108, 76, 245, 0.7); }
.btn-ghost { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.pill {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(108, 76, 245, 0.1); color: var(--brand); font-weight: 700; font-size: 0.82rem; letter-spacing: .02em;
}

/* ---------- hero ---------- */
.hero { padding: 90px 0 60px; text-align: center; }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); line-height: 1.08; letter-spacing: -0.03em; margin: 18px auto 18px; max-width: 14ch; }
.grad { background: linear-gradient(120deg, var(--brand), var(--brand-2) 60%, #ff9a6b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--muted); font-size: 1.15rem; max-width: 56ch; margin: 0 auto 32px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.stats { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 54px; }
.stat {
  width: 128px; height: 128px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: blur(12px);
}
.stat b { font-size: 1.6rem; display: block; line-height: 1.1; }
.stat small { color: var(--muted); font-weight: 600; font-size: .78rem; }

/* ---------- sections ---------- */
section { padding: 60px 0; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -0.02em; margin-top: 12px; }
.section-head p { color: var(--muted); max-width: 58ch; margin: 10px auto 0; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card {
  background: var(--card); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); transition: transform .25s;
}
.card:hover { transform: translateY(-4px); }
.card h3 { margin: 16px 0 8px; font-size: 1.18rem; }
.card p { color: var(--muted); font-size: .96rem; }
.icon {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem;
  background: linear-gradient(135deg, rgba(108,76,245,.16), rgba(255,111,177,.16));
}
.icon.b { background: linear-gradient(135deg, rgba(54,201,242,.2), rgba(79,227,181,.2)); }
.icon.c { background: linear-gradient(135deg, rgba(255,179,107,.22), rgba(255,111,177,.18)); }

.steps { counter-reset: s; }
.steps .card::before {
  counter-increment: s; content: counter(s);
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 800;
}

.cta-band {
  text-align: center; padding: 56px 28px; border-radius: 48px;
  background: linear-gradient(135deg, var(--brand), #9b6bff 50%, var(--brand-2)); color: #fff;
  box-shadow: 0 30px 60px -25px rgba(108, 76, 245, .7); position: relative; overflow: hidden;
}
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.14); }
.cta-band::before { width: 240px; height: 240px; top: -90px; right: -60px; }
.cta-band::after { width: 140px; height: 140px; bottom: -50px; left: 8%; }
.cta-band h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); position: relative; }
.cta-band p { opacity: .9; margin: 10px auto 26px; max-width: 50ch; position: relative; }
.cta-band .btn { background: #fff; color: var(--brand); position: relative; }

/* ---------- legal / doc pages ---------- */
.page-hero { padding: 70px 0 30px; text-align: center; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -0.03em; margin-top: 14px; }
.page-hero p { color: var(--muted); margin-top: 8px; }
.doc { max-width: 820px; margin: 0 auto 60px; padding: clamp(24px, 5vw, 48px); }
.doc:hover { transform: none; }
.doc h2 { font-size: 1.25rem; margin: 32px 0 10px; display: flex; align-items: center; gap: 10px; }
.doc h2:first-child { margin-top: 0; }
.doc h2::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-2)); flex: none; }
.doc p, .doc li { color: var(--muted); }
.doc p + p { margin-top: 10px; }
.doc ul { padding-left: 22px; margin: 8px 0; }
.doc li { margin: 4px 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 auto 28px; max-width: 820px; }
.toc a { padding: 6px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--muted); }
.toc a:hover { color: var(--brand); text-decoration: none; }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 20px; grid-template-columns: 1fr 1.4fr; margin-bottom: 60px; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.info-bubble { display: flex; gap: 14px; align-items: center; margin-top: 18px; }
.info-bubble b { display: block; }
.info-bubble span { color: var(--muted); font-size: .92rem; }
form { display: grid; gap: 14px; }
label { font-weight: 700; font-size: .9rem; }
input, select, textarea {
  width: 100%; margin-top: 6px; font: inherit; color: var(--ink);
  padding: 14px 18px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255,255,255,.85);
  outline: none; transition: border-color .2s, box-shadow .2s;
}
input, select { border-radius: 999px; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(108, 76, 245, .14); }
textarea { min-height: 140px; resize: vertical; }
.row2 { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.note { font-size: .85rem; color: var(--muted); }

/* ---------- footer ---------- */
footer { padding: 40px 0 30px; }
.foot {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
  padding: 22px 28px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); backdrop-filter: blur(12px);
}
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot nav a { color: var(--muted); font-weight: 600; font-size: .9rem; }
.foot small { color: var(--muted); }
@media (max-width: 720px) {
  .foot { border-radius: 28px; flex-direction: column; text-align: center; }
  .nav { border-radius: 28px; flex-direction: column; padding: 12px; }
  .nav-links { justify-content: center; }
  .nav-links a { padding: 6px 11px; font-size: .86rem; }
}
