:root {
  --purple-90: #06062b;
  --purple-80: #3d1397;
  --purple-60: #8453ed;
  --purple-40: #a27cf1;
  --purple-20: #bfa6f6;
  --purple-10: #e1d6fb;
  --n-100: #121212;
  --n-90: #161617;
  --n-80: #1f1f24;
  --n-60: #262832;
  --n-40: #5c5e65;
  --n-20: #c9c9cc;
  --n-10: #f2f2f2;
  --white: #fff;
  --positive: #00b284;
  --negative: #ff3a2f;
  --warning: #ffee03;
  --font: "Figtree", system-ui, sans-serif;
  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --mono: "Roboto Mono", ui-monospace, Menlo, monospace;
  --border: rgba(255, 255, 255, 0.1);
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  background: var(--n-100);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 80px; }

/* Typography */
.display-xl { font: 800 72px/76px var(--display); letter-spacing: -0.02em; }
.display-l { font: 800 48px/54px var(--display); letter-spacing: -0.02em; }
.display-m { font: 800 32px/38px var(--display); letter-spacing: -0.015em; }
.lead { font-size: 20px; line-height: 30px; font-weight: 500; color: var(--n-20); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; line-height: 16px; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--purple-40); background: var(--n-60);
  padding: 6px 12px; border-radius: 999px;
}
.muted { color: var(--n-20); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 28px; border-radius: 999px;
  font: 700 16px/1 var(--font); cursor: pointer;
  border: 1px solid transparent; transition: transform .15s, background .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--purple-60); color: var(--white); }
.btn-primary:hover { background: #9568f0; }
.btn-outline { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn-outline:hover { border-color: var(--white); }
.btn-white { background: var(--white); color: var(--purple-90); }
.btn-sm { height: 40px; padding: 0 20px; font-size: 14px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(18,18,18,.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo img { height: 28px; width: auto; }
.nav-links { display: flex; gap: 32px; font-size: 14px; font-weight: 500; }
.nav-links a { color: var(--n-20); }
.nav-links a:hover { color: var(--white); }
.nav-cta { display: flex; gap: 12px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(900px 600px at 78% 40%, rgba(132,83,237,.35), transparent 70%), linear-gradient(180deg, #0b0b30 0%, var(--n-100) 100%); }
.hero .container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 80px; padding-bottom: 96px; min-height: 740px; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; max-width: 640px; }
.hero-copy .lead { max-width: 560px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { font-size: 13px; line-height: 20px; color: var(--n-20); }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual .phone { width: 360px; filter: drop-shadow(0 40px 60px rgba(0,0,0,.5)); }
.code-card.hero-code { position: absolute; left: 0; bottom: 70px; width: 330px; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.pill-paid {
  position: absolute; left: 120px; bottom: 6px;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--n-80); border: 1px solid var(--border); border-radius: 999px;
  padding: 10px 18px; font-size: 13px; font-weight: 700;
}
.pill-paid i { width: 8px; height: 8px; border-radius: 50%; background: var(--positive); }

/* Code card */
.code-card { background: var(--n-90); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; text-align: left; }
.code-head { display: flex; align-items: center; gap: 6px; padding: 10px 14px; font: 400 11px/16px var(--mono); color: var(--n-40); border-bottom: 1px solid var(--border); }
.code-head i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.code-head i:nth-child(1) { background: #ff5f57; }
.code-head i:nth-child(2) { background: #febc2e; }
.code-head i:nth-child(3) { background: #28c840; }
.code-head span { margin-left: 8px; }
.code-body { padding: 14px 16px; font: 400 12px/20px var(--mono); color: var(--n-20); white-space: pre-wrap; word-break: break-word; }
.code-body .m { color: var(--purple-40); }
.code-body .s { color: var(--positive); }
.code-body .d { color: var(--n-40); }

/* Sections */
.section { padding: 120px 0 0; }
.section-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; margin-bottom: 56px; }

/* Product cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card { background: var(--n-80); border: 1px solid var(--border); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.card h3 { font: 700 20px/28px var(--font); }
.card p { color: var(--n-20); font-size: 14px; line-height: 22px; }
.icon-box { width: 48px; height: 48px; border-radius: 12px; background: var(--purple-80); display: grid; place-items: center; }
.icon-box svg { width: 24px; height: 24px; stroke: var(--purple-10); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { font-size: 12px; line-height: 16px; padding: 5px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: var(--n-20); }

/* Steps */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-num { width: 32px; height: 32px; border-radius: 50%; background: var(--purple-60); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.card .code-card { margin-top: auto; background: var(--n-100); }

/* Security */
.security { background: var(--n-80); border: 1px solid var(--border); border-radius: 24px; padding: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.security-copy { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.checks { display: flex; flex-direction: column; gap: 24px; }
.check { display: flex; gap: 16px; }
.check-icon { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--purple-80); display: grid; place-items: center; margin-top: 2px; }
.check-icon svg { width: 12px; height: 12px; stroke: var(--purple-10); fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.check b { display: block; font-size: 16px; line-height: 24px; }
.check span { color: var(--n-20); font-size: 14px; line-height: 22px; }

/* App strip */
.strip { margin-top: 80px; border: 1px solid var(--border); border-radius: 24px; padding: 32px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.strip h3 { font: 700 20px/28px var(--font); margin-bottom: 4px; }
.strip p { color: var(--n-20); font-size: 14px; }
.badges { display: flex; gap: 12px; flex-wrap: wrap; }
.badges img { height: 44px; width: auto; }

/* Final CTA */
.final { margin-top: 80px; border-radius: 32px; padding: 96px 40px; text-align: center; background: linear-gradient(135deg, var(--purple-60) 0%, var(--purple-80) 100%); display: flex; flex-direction: column; align-items: center; gap: 20px; }
.final p { color: var(--purple-10); font-size: 20px; line-height: 30px; }
.final .hero-ctas { justify-content: center; margin-top: 12px; }

/* Footer */
.footer { margin-top: 80px; border-top: 1px solid var(--border); }
.footer .container { display: flex; align-items: center; justify-content: space-between; height: 96px; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--n-40); }
.footer-brand img { height: 24px; width: auto; }
.footer-links { display: flex; gap: 32px; font-size: 13px; color: var(--n-20); }
.footer-links a:hover { color: var(--white); }

/* Tablet */
@media (max-width: 991px) {
  .container { padding: 0 40px; }
  .display-xl { font-size: 56px; line-height: 60px; }
  .display-l { font-size: 40px; line-height: 46px; }
  .nav-links { display: none; }
  .hero .container { grid-template-columns: minmax(0, 1fr); padding-top: 56px; padding-bottom: 72px; min-height: 0; }
  .hero-visual { margin-top: 24px; }
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .security { grid-template-columns: minmax(0, 1fr); padding: 40px; gap: 40px; }
  .footer .container { flex-direction: column; height: auto; padding-top: 32px; padding-bottom: 32px; }
}

/* Mobile */
@media (max-width: 767px) {
  .container { padding: 0 20px; }
  .display-xl { font-size: 42px; line-height: 48px; }
  .display-l { font-size: 32px; line-height: 38px; }
  .display-m { font-size: 26px; line-height: 32px; }
  .lead { font-size: 16px; line-height: 24px; }
  .nav .container { height: 64px; }
  .nav-cta .btn-outline { display: none; }
  .hero .container { padding-top: 40px; padding-bottom: 56px; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { width: 100%; }
  .hero-visual .phone { width: 280px; margin-left: auto; }
  .code-card.hero-code { position: relative; left: auto; bottom: auto; width: 100%; margin-top: -64px; position: relative; z-index: 1; }
  .pill-paid { position: relative; left: auto; bottom: auto; align-self: flex-start; margin-top: -16px; margin-left: 16px; }
  .hero-visual { flex-direction: column; min-width: 0; }
  .section { padding-top: 80px; }
  .section-head { margin-bottom: 36px; }
  .grid-2 { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .card { padding: 24px; border-radius: 20px; }
  .security { padding: 28px 24px; }
  .strip { flex-direction: column; align-items: flex-start; padding: 24px; margin-top: 56px; }
  .final { padding: 56px 24px; margin-top: 56px; border-radius: 24px; }
  .final p { font-size: 16px; line-height: 24px; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 16px 24px; }
}
