:root {
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --text: #0e1222;
  --muted: #5b6478;
  --line: #e7e9f0;
  --card: #ffffff;
  --accent: #5b4cf5;
  --accent-2: #8b7bff;
  --accent-soft: #eeecff;
  --on-accent: #ffffff;
  --ink: #0b0f1e;
  --ink-2: #141a30;
  --ink-text: #e8eaf4;
  --ink-muted: #9aa3bd;
  --good: #16b67f;
  --warn: #f5a524;
  --bad: #f0566a;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(14,18,34,.04), 0 8px 28px rgba(14,18,34,.06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1020;
    --bg-soft: #12162a;
    --text: #eceef6;
    --muted: #a0a8c0;
    --line: #232944;
    --card: #141933;
    --accent: #8b7bff;
    --accent-2: #b3a8ff;
    --accent-soft: #1d1f45;
    --on-accent: #0d1020;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 28px rgba(0,0,0,.25);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
img, svg { display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.15; }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--text); text-decoration: none; letter-spacing: -0.03em; }
.mark {
  width: 32px; height: 32px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #c06bff);
  color: #fff; display: grid; place-items: center; font-size: 17px; font-weight: 800;
  box-shadow: 0 4px 14px rgba(91,76,245,.35);
}
.menu { display: flex; align-items: center; gap: 6px; }
.menu a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; padding: 8px 12px; border-radius: 10px; }
.menu a:hover { color: var(--text); background: var(--bg-soft); }
.menu a.cta { background: var(--text); color: var(--bg); margin-left: 6px; }
.menu a.cta:hover { background: var(--accent); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff;
  padding: 14px 22px; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: 15px;
  box-shadow: 0 6px 20px rgba(91,76,245,.35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(91,76,245,.45); }
.btn.ghost { background: rgba(255,255,255,.08); color: #fff; box-shadow: none; border: 1px solid rgba(255,255,255,.18); }
.btn.ghost:hover { background: rgba(255,255,255,.14); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--ink-text);
  padding: 88px 0 96px;
}
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 820px; height: 820px;
  background: radial-gradient(closest-side, rgba(124,104,255,.55), rgba(124,104,255,0));
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: -200px; bottom: -380px; width: 700px; height: 700px;
  background: radial-gradient(closest-side, rgba(192,107,255,.28), rgba(192,107,255,0));
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: #d9d6ff;
  background: rgba(139,123,255,.14); border: 1px solid rgba(139,123,255,.35);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 22px;
}
.pill i { width: 7px; height: 7px; border-radius: 50%; background: #5ee3a8; box-shadow: 0 0 0 4px rgba(94,227,168,.18); }
.hero h1 { font-size: clamp(36px, 5.6vw, 60px); margin: 0 0 20px; color: #fff; font-weight: 800; }
.hero h1 span { background: linear-gradient(90deg, #a99cff, #e19bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: var(--ink-muted); max-width: 52ch; margin: 0 0 32px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 40px; color: var(--ink-muted); font-size: 14px; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { color: #5ee3a8; }

/* Phone mockup */
.phone-wrap { display: flex; justify-content: center; }
.phone {
  width: 280px; border-radius: 42px; padding: 12px;
  background: linear-gradient(160deg, #2a3050, #11152a);
  box-shadow: 0 40px 80px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.08);
  transform: rotate(3deg);
}
.screen { border-radius: 32px; background: #f7f7fc; color: #0e1222; padding: 22px 18px 20px; position: relative; overflow: hidden; }
.notch { width: 90px; height: 22px; border-radius: 0 0 14px 14px; background: #11152a; margin: -22px auto 14px; }
.s-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #6a7188; font-weight: 600; }
.s-avatar { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #5b4cf5, #c06bff); }
.s-balance { margin: 14px 0 4px; font-size: 12px; color: #6a7188; }
.s-amount { font-size: 32px; font-weight: 800; letter-spacing: -0.03em; margin: 0; }
.s-sub { font-size: 12px; color: #16b67f; font-weight: 700; margin-bottom: 16px; }
.s-card { background: #fff; border-radius: 16px; padding: 12px 14px; margin-bottom: 10px; box-shadow: 0 2px 10px rgba(14,18,34,.06); }
.s-row { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; margin-bottom: 7px; }
.s-row small { color: #6a7188; font-weight: 600; }
.bar { height: 8px; border-radius: 99px; background: #eceef5; overflow: hidden; }
.bar b { display: block; height: 100%; border-radius: 99px; }
.s-nav { display: flex; justify-content: space-around; margin-top: 14px; padding-top: 12px; border-top: 1px solid #eceef5; }
.s-nav i { width: 22px; height: 6px; border-radius: 99px; background: #d9dcea; }
.s-nav i.on { background: #5b4cf5; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section.soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 640px; margin-bottom: 44px; }
.head h2 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 12px; font-weight: 800; }
.head p { color: var(--muted); font-size: 17px; margin: 0; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.plan.featured { border: 2px solid var(--accent); box-shadow: 0 18px 48px rgba(91,76,245,.18); }
.tag {
  position: absolute; top: -13px; left: 28px;
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: 999px;
}
.plan-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.plan h3 { margin: 0 0 6px; font-size: 20px; }
.plan .desc { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.price { font-size: 40px; font-weight: 800; margin: 0; letter-spacing: -0.035em; line-height: 1; }
.price small { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.per { color: var(--muted); font-size: 14px; margin: 8px 0 22px; }
.checks { list-style: none; margin: 0 0 26px; padding: 0; font-size: 15px; flex: 1; }
.checks li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b4cf5' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/11px no-repeat;
}
.plan .btn-line {
  display: block; text-align: center; text-decoration: none; font-weight: 700; font-size: 15px;
  padding: 12px; border-radius: 12px; border: 1px solid var(--line); color: var(--text);
}
.plan .btn-line:hover { border-color: var(--accent); color: var(--accent); }
.plan.featured .btn-line { background: var(--accent); border-color: var(--accent); color: #fff; }
.note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 28px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.steps li {
  counter-increment: s; position: relative;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px;
}
.steps li::before {
  content: counter(s); display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px; margin-bottom: 16px;
  background: var(--text); color: var(--bg); font-weight: 800; font-size: 15px;
}
.steps h3 { font-size: 16px; margin: 0 0 6px; }
.steps p { font-size: 14px; color: var(--muted); margin: 0; }

/* Features */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 4px 0; }
.f-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.feature h3 { font-size: 19px; margin: 0 0 8px; }
.feature p { color: var(--muted); margin: 0; }

/* App showcase */
.showcase {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 32px; box-shadow: var(--shadow);
}
.app-icon {
  width: 88px; height: 88px; border-radius: 24px;
  background: linear-gradient(135deg, #16b67f, #0e8f8f); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 40px;
  box-shadow: 0 12px 28px rgba(22,182,127,.35);
}
.showcase h3 { font-size: 24px; margin: 0 0 6px; }
.showcase p { color: var(--muted); margin: 0 0 14px; }
.badge { display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent); background: var(--accent-soft); padding: 5px 12px; border-radius: 999px; }

/* CTA + contact */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--ink-text);
  border-radius: 28px; padding: 56px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
}
.cta-band::before {
  content: ""; position: absolute; right: -160px; top: -200px; width: 520px; height: 520px;
  background: radial-gradient(closest-side, rgba(124,104,255,.5), rgba(124,104,255,0));
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 4vw, 38px); margin: 0 0 12px; font-weight: 800; }
.cta-band p { color: var(--ink-muted); margin: 0 0 26px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact-list li {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 14px 16px;
}
.contact-list svg { flex: none; color: #a99cff; margin-top: 2px; }
.contact-list small { display: block; color: var(--ink-muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.contact-list a, .contact-list span { color: #fff; text-decoration: none; font-weight: 600; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 32px 0; color: var(--muted); font-size: 14px; margin-top: 96px; }
.foot .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot .links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot .links a { color: var(--muted); text-decoration: none; }
.foot .links a:hover { color: var(--text); }
.home .foot { margin-top: 0; }

/* ---------- Policy pages ---------- */
.page-head { background: var(--ink); color: var(--ink-text); padding: 64px 0 56px; position: relative; overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; right: -120px; top: -260px; width: 620px; height: 620px;
  background: radial-gradient(closest-side, rgba(124,104,255,.45), rgba(124,104,255,0));
}
.page-head .wrap { position: relative; }
.page-head h1 { color: #fff; font-size: clamp(32px, 5vw, 46px); margin: 0 0 8px; font-weight: 800; }
.page-head p { color: var(--ink-muted); margin: 0; }
.doc { max-width: 760px; padding-top: 56px; }
.doc h2 { font-size: 21px; margin: 40px 0 10px; }
.doc p { margin: 0 0 14px; color: var(--text); }
.doc ul { padding-left: 22px; margin: 0 0 14px; }
.doc li { margin-bottom: 8px; }
.doc .muted, .muted { color: var(--muted); font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .phone-wrap { margin-top: 8px; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr 1fr; }
  .grid3 { grid-template-columns: 1fr; gap: 32px; }
  .cta-band { grid-template-columns: 1fr; padding: 40px 28px; }
}
@media (max-width: 640px) {
  .menu a:not(.cta) { display: none; }
  .hero { padding: 64px 0 72px; }
  .section { padding: 72px 0; }
  .steps { grid-template-columns: 1fr; }
  .showcase { grid-template-columns: 1fr; padding: 24px; }
  .phone { width: 250px; }
}
