/* ─── Tokens ─────────────────────────────────────────────────────────────────── */
:root {
  --bg:            #09080d;
  --surface:       rgba(20, 17, 32, 0.9);
  --surface-soft:  rgba(28, 24, 44, 0.6);
  --border:        rgba(176, 151, 243, 0.14);
  --border-strong: rgba(196, 177, 255, 0.28);
  --text:          #f2eeff;
  --text-secondary:#c4b9e8;
  --text-muted:    #8a809f;
  --accent:        #b89eff;
  --accent-strong: #d4c2ff;
  --accent-soft:   rgba(184, 158, 255, 0.12);
  --shadow:        rgba(4, 4, 10, 0.55);
  --radius-lg:     1.5rem;
  --radius-md:     1rem;
  --radius-pill:   999px;
}

/* ─── Reset ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { color-scheme: dark; scroll-behavior: smooth; }

body {
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 40% at 70% 0%,  rgba(140, 100, 255, 0.13), transparent),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(80, 160, 210, 0.09), transparent);
  color: var(--text);
  font-family: -apple-system, "Segoe UI", "Inter", "Helvetica Neue", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ─── Nav ────────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(9, 8, 13, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 56px;
}

.nav__logo {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: var(--accent-strong);
}

.nav__links {
  display: flex;
  gap: 1.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.nav__links a:hover { color: var(--text); }

/* ─── Shared layout ──────────────────────────────────────────────────────────── */
.hero__inner,
.features__inner,
.workflow__inner,
.cta-section__inner,
.footer__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 2.5rem;
}

/* ─── Hero ───────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 0 5rem;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero__glow--a {
  top: -6rem;
  right: -4rem;
  width: 36rem;
  height: 28rem;
  background: rgba(160, 110, 255, 0.2);
}

.hero__glow--b {
  bottom: -8rem;
  left: -6rem;
  width: 28rem;
  height: 22rem;
  background: rgba(80, 160, 220, 0.12);
}

.hero__inner { position: relative; }

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid var(--border-strong);
  background: var(--accent-soft);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.9rem;
  margin-bottom: 2rem;
}

.hero__tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4cff91;
  box-shadow: 0 0 6px rgba(76, 255, 145, 0.7);
  flex-shrink: 0;
}

.hero__h1 {
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.06em;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.hero__sub {
  max-width: 38rem;
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

.hero__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.store-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.25rem 0.65rem 0.9rem;
  opacity: 0.7;
}

.store-pill__icon {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex-shrink: 0;
}

.store-pill__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-pill__label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.store-pill__name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
}

/* ─── Features ───────────────────────────────────────────────────────────────── */
.features {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color 200ms, transform 200ms;
}

.feat-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.feat-card__icon {
  width: 44px;
  height: 44px;
  background: var(--accent-soft);
  border: 1px solid var(--border-strong);
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.feat-card__icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.feat-card__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.55rem;
  letter-spacing: -0.02em;
}

.feat-card__body {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ─── Workflow ───────────────────────────────────────────────────────────────── */
.workflow {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.step__divider {
  flex-shrink: 0;
  width: 2.5rem;
  height: 1px;
  background: linear-gradient(90deg, var(--border-strong), transparent);
  align-self: center;
}

.step__num {
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.step__title {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.step__body {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ─── CTA ────────────────────────────────────────────────────────────────────── */
.cta-section {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}

.cta-section__inner {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 2rem;
  padding: 4rem 3rem;
  overflow: hidden;
  max-width: 1140px;
  margin: 0 auto;
}

.cta-section__glow {
  position: absolute;
  top: -8rem;
  right: -6rem;
  width: 32rem;
  height: 24rem;
  background: rgba(160, 110, 255, 0.18);
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}

.cta-section__h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 1rem;
  max-width: 28rem;
  position: relative;
}

.cta-section__sub {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 42rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.cta-section__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
}

.store-badge-lg {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.4rem;
  opacity: 0.65;
}

.store-badge-lg__icon {
  width: 28px;
  height: 28px;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.store-badge-lg__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.store-badge-lg__label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
}

.store-badge-lg__name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
}

/* ─── Footer ─────────────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__logo {
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.footer__links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.footer__links a:hover { color: var(--text); }

.footer__copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ─── Legal pages ────────────────────────────────────────────────────────────── */
.page-shell--legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 1rem 1.5rem 4rem;
}

.simple-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.simple-header__back {
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
}

.simple-header__meta {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.legal-card h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0.5rem 0 0.5rem;
}

.legal-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.legal-card section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.legal-card section:first-of-type {
  border-top: none;
}

.legal-card h2 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.legal-card p,
.legal-card li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.legal-card ul {
  padding-left: 1.25rem;
  margin-top: 0.5rem;
}

.legal-card li + li { margin-top: 0.3rem; }

.legal-card strong { color: var(--text); }

/* ─── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    flex-direction: column;
    gap: 0.75rem;
  }
  .step__divider {
    display: none;
  }
  .cta-section__inner {
    padding: 2.5rem 1.75rem;
  }
}

@media (max-width: 600px) {
  .hero { padding: 4rem 0 3.5rem; }
  .hero__h1 { letter-spacing: -0.045em; }
  .features { padding: 3.5rem 0; }
  .features__grid { grid-template-columns: 1fr; }
  .workflow { padding: 3.5rem 0; }
  .cta-section { padding: 3rem 0; }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .legal-card { padding: 1.5rem; }
}
