:root {
  --bg: #05060a;
  --bg-elev: #0b0f1a;
  --bg-card: #111627;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f5f7ff;
  --text-dim: #aab2c5;
  --text-muted: #6b7280;
  --violet: #6d5cff;
  --violet-2: #7c5cff;
  --blue: #4f7cff;
  --blue-2: #3a5cff;
  --gradient-cta: linear-gradient(135deg, #6d5cff 0%, #3a5cff 100%);
  --radius: 14px;
  --radius-lg: 20px;
  --max: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ------- Nav ------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 6, 10, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
}
.brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(109, 92, 255, 0.45);
}
.brand__mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand__mark svg { width: 20px; height: 20px; }
.brand__text { letter-spacing: -0.01em; }
.brand__accent { color: var(--violet-2); }

.nav__links {
  display: flex;
  gap: 36px;
}
.nav__links a {
  color: var(--text-dim);
  font-weight: 500;
  transition: color 0.15s;
}
.nav__links a:hover { color: var(--text); }

/* ------- Buttons ------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}
.btn--primary {
  background: var(--violet);
  color: #fff;
  box-shadow: 0 8px 24px rgba(109, 92, 255, 0.35);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(109, 92, 255, 0.5); }
.btn--white {
  background: #fff;
  color: var(--violet);
}
.btn--white:hover { transform: translateY(-1px); }
.btn--lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 12px;
}
.btn__icon { font-size: 14px; }

/* ------- Store badges ------- */
.store-badges {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.store-badges--stacked {
  flex-direction: column;
  align-items: stretch;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 12px;
  background: #000;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  min-width: 200px;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.store-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}
.store-badge svg { width: 28px; height: 28px; flex: 0 0 auto; }
.store-badge__icon {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  object-fit: contain;
  display: block;
}
.store-badge__icon[src*="apple"] {
  transform: scale(1.25);
}
.store-badge .store-badge__icon[src*="apple"] {
  filter: brightness(0) invert(1);
}
.store-badge--light .store-badge__icon[src*="apple"] {
  filter: none;
}
.store-badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}
.store-badge__text small {
  font-size: 11px;
  opacity: 0.85;
  font-weight: 500;
}
.store-badge__text strong {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.store-badge--light {
  background: #fff;
  color: #111;
  border-color: rgba(0, 0, 0, 0.08);
}
.store-badge--light:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

/* ------- Download grid (QR + badges) ------- */
.download-grid {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  margin-top: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.qr-card {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}
.qr-card img {
  width: 168px;
  height: 168px;
  display: block;
}
.qr-card__label {
  color: #111;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ------- Hero ------- */
.hero {
  position: relative;
  padding: 120px 0 140px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(109, 92, 255, 0.18), transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 40%, rgba(79, 124, 255, 0.08), transparent 70%),
    var(--bg);
}
.hero__inner { max-width: 820px; margin: 0 auto; }
.pill {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(109, 92, 255, 0.15);
  border: 1px solid rgba(109, 92, 255, 0.3);
  color: #b9aeff;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 32px;
}
.hero__title {
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 24px;
}
.accent { color: var(--violet-2); }
.hero__tagline {
  color: var(--violet-2);
  font-weight: 600;
  font-size: 18px;
  margin: 0 0 16px;
}
.hero__desc {
  color: var(--text-dim);
  font-size: 17px;
  max-width: 640px;
  margin: 0 auto 40px;
}

/* ------- Sections ------- */
.section {
  padding: 100px 0;
}
.section--split { background: var(--bg-elev); }
.section__title {
  text-align: center;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.section__desc {
  text-align: center;
  color: var(--text-dim);
  max-width: 680px;
  margin: 0 auto 64px;
  font-size: 17px;
}

/* ------- Feature cards ------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(109, 92, 255, 0.3);
}
.card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.card__icon--violet {
  background: rgba(109, 92, 255, 0.15);
  color: var(--violet-2);
}
.card__icon--blue {
  background: rgba(79, 124, 255, 0.15);
  color: var(--blue);
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 14px;
}
.card p {
  color: var(--text-dim);
  font-size: 15px;
  margin: 0;
}

/* ------- Split (Beacon System) ------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split__copy h2 {
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
}
.bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 28px;
}
.bullets li { display: flex; gap: 14px; }
.bullets h4 { margin: 0 0 6px; font-size: 17px; }
.bullets p { margin: 0; color: var(--text-dim); font-size: 15px; }
.bullet-check {
  flex: 0 0 auto;
  width: 24px; height: 24px;
  color: var(--violet-2);
}
.bullet-check svg { width: 24px; height: 24px; }

/* Radar visual */
.split__visual {
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at center, #161c30 0%, #0b0f1a 70%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.radar {
  position: absolute; inset: 0;
  display: grid; place-items: center;
}
.radar__ring, .radar__ring--mid, .radar__ring--sm {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(109, 92, 255, 0.25);
  width: 70%; height: 70%;
}
.radar__ring--mid { width: 45%; height: 45%; border-color: rgba(109, 92, 255, 0.35); }
.radar__ring--sm { width: 22%; height: 22%; border-color: rgba(109, 92, 255, 0.5); }
.radar__dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--violet-2);
  box-shadow: 0 0 24px 6px rgba(109, 92, 255, 0.7);
  position: absolute;
}
.radar__sweep {
  position: absolute;
  inset: 0;
  background: conic-gradient(from 0deg at 50% 50%, rgba(109, 92, 255, 0.45) 0deg, rgba(109, 92, 255, 0.15) 40deg, transparent 90deg, transparent 360deg);
  border-radius: 50%;
  mask: radial-gradient(circle at center, black 0, black 100%);
  animation: sweep 4s linear infinite;
  transform-origin: 50% 50%;
}
@keyframes sweep {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

/* ------- Steps ------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.step { text-align: center; }
.step__num {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--violet);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 12px 32px rgba(109, 92, 255, 0.4);
}
.step h3 { font-size: 20px; font-weight: 700; margin: 0 0 14px; }
.step p { color: var(--text-dim); font-size: 15px; margin: 0; max-width: 300px; margin: 0 auto; }

/* ------- Stats ------- */
.section--stats { background: var(--bg-elev); }
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
}
.stat { text-align: center; }
.stat__value {
  font-size: clamp(42px, 5vw, 56px);
  font-weight: 800;
  color: var(--violet-2);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat__label {
  color: var(--text-dim);
  font-size: 16px;
  margin-top: 12px;
}

/* ------- CTA band ------- */
.cta {
  background: var(--gradient-cta);
  padding: 100px 0;
  text-align: center;
}
.cta__inner { max-width: 780px; margin: 0 auto; }
.cta h2 {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: #fff;
}
.cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  max-width: 640px;
  margin: 0 auto 40px;
}
.cta__fineprint {
  margin-top: 28px !important;
  font-size: 14px !important;
  color: rgba(255, 255, 255, 0.8) !important;
}

/* ------- Legal / long-form pages ------- */
.legal {
  padding: 64px 0 96px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(109, 92, 255, 0.12), transparent 60%),
    var(--bg);
  min-height: calc(100vh - 80px);
}
.legal__inner {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}
.legal__card {
  background: rgba(17, 22, 39, 0.6);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 56px 56px 48px;
}
.legal__title {
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--text);
}
.legal__effective {
  color: var(--text-dim);
  font-size: 15px;
  margin: 0 0 32px;
}
.legal__section {
  margin-bottom: 32px;
}
.legal__section h2 {
  color: var(--text);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}
.legal__section h3 {
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
  margin: 20px 0 12px;
}
.legal__section p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 16px;
}
.legal__section ul {
  list-style: disc;
  padding-left: 22px;
  margin: 0 0 16px;
  color: var(--text-dim);
}
.legal__section li {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 8px;
}
.legal__section li strong,
.legal__section p strong {
  color: var(--text);
  font-weight: 600;
}
.legal__section a {
  color: var(--violet-2);
}
.legal__section a:hover { text-decoration: underline; }

.legal__callout {
  background: rgba(109, 92, 255, 0.08);
  border: 1px solid rgba(109, 92, 255, 0.3);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 16px;
}
.legal__callout p {
  margin: 0;
  color: #e6e3ff;
  font-weight: 500;
}

.legal__contact {
  background: rgba(11, 15, 26, 0.6);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
}
.legal__contact p { margin: 0 0 4px; }
.legal__contact-name {
  color: var(--text);
  font-weight: 700;
}

.legal__footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.legal__footer p {
  color: var(--text-dim);
  font-size: 14px;
  margin: 0;
}
.legal__tagline {
  color: var(--violet-2) !important;
  font-weight: 600;
  margin-top: 8px !important;
}

@media (max-width: 720px) {
  .legal { padding: 32px 0 64px; }
  .legal__card { padding: 32px 24px; border-radius: 16px; }
}

/* ------- Footer ------- */
.footer {
  background: var(--bg-elev);
  padding: 72px 0 24px;
  color: var(--text-dim);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer__brand p { margin: 16px 0 0; font-size: 14px; max-width: 280px; }
.footer__col h5 {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 18px;
  text-transform: none;
}
.footer__col a {
  display: block;
  color: var(--text-dim);
  margin-bottom: 12px;
  font-size: 14px;
  transition: color 0.15s;
}
.footer__col a:hover { color: var(--text); }
.footer__bottom {
  max-width: var(--max);
  margin: 48px auto 0;
  padding: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 14px;
}
.footer__bottom p { margin: 0; }

/* ------- Responsive ------- */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .cards, .steps, .stats { grid-template-columns: 1fr; gap: 24px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero { padding: 80px 0 100px; }
  .section { padding: 72px 0; }
}
@media (max-width: 520px) {
  .footer__inner { grid-template-columns: 1fr; }
  .nav__cta { padding: 8px 14px; font-size: 14px; }
  .store-badges { flex-direction: column; width: 100%; }
  .store-badge { width: 100%; justify-content: center; }
  .download-grid { gap: 24px; }
  .qr-card img { width: 148px; height: 148px; }
}
