@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Instrument+Sans:wght@400;500;600;700&display=swap");

:root {
  --ink: #0c0e12;
  --brand: #5b4bff;
  --brand-2: #7c6bff;
  --bg: #f6f6f7;
  --muted: #71767f;
  --line: #edeef1;
  --card: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Instrument Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
h1, h2, h3, .grotesk { font-family: "Space Grotesk", sans-serif; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
::selection { background: var(--brand); color: #fff; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 12px; padding: 14px 22px; font-size: 15px; font-weight: 600;
  font-family: "Space Grotesk", sans-serif; cursor: pointer; border: none;
  transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 24px rgba(91, 75, 255, 0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(91, 75, 255, 0.45); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: rgba(255, 255, 255, 0.12); color: #fff; border: 1px solid rgba(255, 255, 255, 0.25); backdrop-filter: blur(6px); }
.btn-light:hover { background: rgba(255, 255, 255, 0.2); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(246, 246, 247, 0.8); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 20px; }
.brand .mark { width: 30px; height: 30px; border-radius: 8px; background: var(--brand); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; color: var(--muted); font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* Hero */
.hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(#20242c 1px, transparent 1px); background-size: 24px 24px; opacity: 0.5; }
.hero::after { content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%; background: var(--brand); opacity: 0.28; filter: blur(120px); right: -160px; top: -200px; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; padding: 80px 0 96px; }
.hero h1 { font-size: clamp(38px, 5vw, 62px); line-height: 1.02; letter-spacing: -0.035em; margin: 18px 0 0; text-wrap: balance; }
.hero p.lead { font-size: 19px; line-height: 1.55; color: #aab0b8; max-width: 500px; margin: 22px 0 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 30px; margin-top: 44px; }
.hero-stats .n { font-family: "Space Grotesk", sans-serif; font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; }
.hero-stats .l { font-size: 13px; color: #6b7280; }
.hero-stats .div { width: 1px; background: #20242c; }

/* Wheel visual */
.wheel-stage { display: flex; align-items: center; justify-content: center; }
.wheel-box { position: relative; width: min(420px, 90%); aspect-ratio: 1; }
.wheel-pointer { position: absolute; top: -6px; left: 50%; transform: translateX(-50%); z-index: 3; width: 0; height: 0; border-left: 16px solid transparent; border-right: 16px solid transparent; border-top: 28px solid #fff; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.4)); }
.wheel-spin {
  width: 100%; height: 100%; border-radius: 50%; position: relative;
  animation: wobble 3s ease-in-out infinite; transform-origin: 50% 50%;
  filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.5));
  background: conic-gradient(#ef4444 0 60deg, #f59e0b 60deg 120deg, #22c55e 120deg 180deg, #3b82f6 180deg 240deg, #8b5cf6 240deg 300deg, #ec4899 300deg 360deg);
  border: 6px solid #fff;
}
.wheel-hub { position: absolute; inset: 36%; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px #edeef1; display: flex; align-items: center; justify-content: center; }
.wheel-dot { width: 40%; height: 40%; border-radius: 50%; background: var(--brand); }
@keyframes wobble { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } }

/* Sections */
section { padding: 88px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.08; margin: 10px 0 0; }
.section-head p { color: var(--muted); font-size: 17px; margin: 14px 0 0; }

/* Feature grid */
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(12, 14, 18, 0.08); }
.card .ico { width: 46px; height: 46px; border-radius: 12px; background: #ecebff; color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; }
.card h3 { font-size: 18px; margin: 0 0 6px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { text-align: left; }
.step .num { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font-family: "Space Grotesk", sans-serif; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.step h3 { margin: 0 0 6px; font-size: 19px; }
.step p { color: var(--muted); margin: 0; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.plan { background: var(--card); border: 1.5px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--brand); box-shadow: 0 20px 50px rgba(91, 75, 255, 0.18); position: relative; }
.plan .tag { position: absolute; top: -12px; left: 28px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; padding: 5px 12px; border-radius: 999px; }
.plan .pname { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 20px; }
.plan .price { font-family: "Space Grotesk", sans-serif; font-size: 40px; font-weight: 700; margin: 8px 0 2px; }
.plan .price span { font-size: 15px; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; display: flex; flex-direction: column; gap: 11px; }
.plan li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.plan li .ck { color: var(--brand); font-weight: 700; }
.plan .btn { justify-content: center; width: 100%; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; border-radius: 28px; padding: 56px; text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { font-size: clamp(28px, 3.6vw, 42px); margin: 0 0 12px; }
.cta-band p { font-size: 18px; opacity: 0.9; margin: 0 0 28px; }

/* Footer */
footer { background: var(--ink); color: #aab0b8; padding: 56px 0 40px; }
.foot { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.foot a { color: #aab0b8; }
.foot a:hover { color: #fff; }
.foot-links { display: flex; gap: 26px; font-size: 15px; flex-wrap: wrap; }
.foot-copy { color: #5b616b; font-size: 13px; margin-top: 36px; border-top: 1px solid #1c1f26; padding-top: 24px; }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 64px 24px 96px; }
.legal h1 { font-size: clamp(30px, 4vw, 44px); }
.legal .updated { color: var(--muted); font-size: 14px; margin-top: 6px; }
.legal h2 { font-size: 22px; margin: 40px 0 10px; }
.legal p, .legal li { color: #3a3f47; font-size: 16px; line-height: 1.7; }
.legal ul { padding-left: 20px; }
.legal .note { background: #fff8e6; border: 1px solid #f4e2b0; border-radius: 12px; padding: 14px 16px; font-size: 14px; color: #7a5b00; margin: 24px 0; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding: 56px 0 64px; }
  .wheel-stage { order: -1; }
  .grid-3, .steps, .plans { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .cta-band { padding: 40px 24px; }
}
