:root {
  color-scheme: dark;
  --canvas: #050414;
  --panel: rgba(255, 255, 255, 0.022);
  --panel-border: rgba(140, 110, 240, 0.16);
  --purple: #6d47e2;
  --purple-2: #7c4dff;
  --accent: #9c7bff;
  --text: #f3f1fb;
  --muted: #9a96b6;
  --muted-2: #837fa0;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  background:
    radial-gradient(60rem 40rem at 50% -6%, rgba(108, 67, 226, 0.28), transparent 60%),
    radial-gradient(50rem 36rem at 88% 92%, rgba(108, 67, 226, 0.16), transparent 60%),
    var(--canvas);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

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

.eyebrow {
  text-align: center;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-title {
  text-align: center;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 12px 0 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 12px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.12s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn .ic { width: 17px; height: 17px; }
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(180deg, #7b54ec, #6336d8);
  color: #fff;
  box-shadow: 0 10px 26px -10px rgba(108, 67, 226, 0.8);
}
.btn-outline {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--text);
}
.btn-outline:hover { border-color: rgba(255, 255, 255, 0.32); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text);
}
.btn-sm { padding: 9px 18px; font-size: 14px; border-radius: 10px; }

/* ---------- Nav ---------- */
.nav { width: 100%; }
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 40px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand img { height: 48px; display: block; }
.nav-links {
  display: flex;
  gap: 34px;
  margin-left: 26px;
}
.nav-links a {
  color: #cfcbe6;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a:hover { color: #fff; }
.nav-cta { margin-left: auto; display: flex; gap: 12px; }

/* ---------- Hero ---------- */
.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 40px 10px;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  align-items: center;
  gap: 20px;
}
.hero-title {
  font-size: 66px;
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
}
.hero-title .accent { color: var(--accent); }
.hero-sub {
  color: var(--muted);
  font-size: 17px;
  margin: 0 0 30px;
}
.hero-sub strong { color: #efeefb; font-weight: 600; }
.hero-actions { display: flex; gap: 14px; margin-bottom: 34px; }
.social-proof { display: flex; align-items: center; gap: 14px; }
.avatars { height: 38px; display: block; }
.stars { color: var(--accent); letter-spacing: 3px; font-size: 15px; }
.proof-sub { color: var(--muted); font-size: 14px; margin-top: 2px; }
.hero-art {
  position: relative;
  justify-self: end;
  width: 100%;
  height: 560px;
}
.phone-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1700px;
}
.hero-bg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 108%;
  max-width: none;
  z-index: 0;
  opacity: 0.85;
  pointer-events: none;
  mix-blend-mode: screen;
  filter: saturate(1.3) brightness(1.1) blur(2px);
  -webkit-mask-image: radial-gradient(closest-side, #000 34%, transparent 74%);
  mask-image: radial-gradient(closest-side, #000 34%, transparent 74%);
}
/* ground shadow + fade the bottom into the page */
.phone-stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 100%, rgba(0, 0, 0, 0.55), transparent 70%),
    linear-gradient(to bottom, transparent 0%, var(--canvas) 94%);
}
#phone-canvas {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}
/* purple glow + sparkle backdrop */
.phone-stage::before {
  content: "";
  position: absolute;
  inset: -8% -4%;
  z-index: 0;
  background:
    radial-gradient(30% 34% at 52% 54%, rgba(168, 92, 255, 0.85), rgba(150, 80, 255, 0.35) 45%, transparent 70%),
    radial-gradient(55% 60% at 50% 52%, rgba(120, 60, 235, 0.45), transparent 72%),
    radial-gradient(1.5px 1.5px at 18% 30%, rgba(214, 150, 255, 0.9), transparent),
    radial-gradient(2px 2px at 12% 62%, rgba(190, 120, 255, 0.8), transparent),
    radial-gradient(1.5px 1.5px at 26% 78%, rgba(230, 160, 255, 0.7), transparent),
    radial-gradient(2px 2px at 76% 22%, rgba(200, 130, 255, 0.85), transparent),
    radial-gradient(1.5px 1.5px at 88% 44%, rgba(225, 150, 255, 0.8), transparent),
    radial-gradient(2.5px 2.5px at 82% 70%, rgba(205, 130, 255, 0.75), transparent),
    radial-gradient(1.5px 1.5px at 68% 86%, rgba(220, 150, 255, 0.7), transparent),
    radial-gradient(1.5px 1.5px at 34% 16%, rgba(210, 140, 255, 0.7), transparent),
    radial-gradient(2px 2px at 58% 12%, rgba(200, 130, 255, 0.7), transparent),
    radial-gradient(1.5px 1.5px at 92% 84%, rgba(215, 145, 255, 0.65), transparent),
    radial-gradient(2px 2px at 8% 88%, rgba(205, 135, 255, 0.6), transparent);
  filter: drop-shadow(0 0 8px rgba(150, 90, 255, 0.4));
  transition: opacity 0.4s ease;
}
/* pulsing / moving glow while the phone spins */
.phone-stage.phone-spinning::before {
  animation: phoneGlowPulse 0.9s ease-in-out;
}
@keyframes phoneGlowPulse {
  0% { transform: scale(1); filter: drop-shadow(0 0 8px rgba(150, 90, 255, 0.4)); }
  50% {
    transform: scale(1.18);
    filter: drop-shadow(0 0 26px rgba(160, 100, 255, 0.85)) brightness(1.5) saturate(1.3);
  }
  100% { transform: scale(1); filter: drop-shadow(0 0 8px rgba(150, 90, 255, 0.4)); }
}
.phone-device {
  position: relative;
  z-index: 1;
  height: 100%;
  aspect-ratio: 1284 / 2778;
  border-radius: 38px;
  padding: 11px;
  transform: rotateY(-15deg) rotateX(4deg);
  transform-style: preserve-3d;
  background: linear-gradient(150deg, #4a4658 0%, #1c1a24 26%, #0c0b12 52%, #1f1d28 78%, #46424f 100%);
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.8),
    0 0 70px -10px rgba(140, 80, 255, 0.45),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.06);
}
.phone-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
  display: block;
}
.phone-island {
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 30px;
  background: #000;
  border-radius: 16px;
  z-index: 2;
}
/* iOS-style notification banners */
.float-card {
  position: absolute;
  z-index: 3;
  width: 244px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(38, 33, 58, 0.42);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.6);
  transition: opacity 0.35s ease;
}
/* fade floaters out during the spin so their content swaps unseen */
.phone-stage.phone-spinning .float-card { opacity: 0; }
.fc-icon {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 9px;
  display: block;
}
.fc-text { flex: 1; min-width: 0; }
.fc-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.fc-title { font-size: 13px; font-weight: 600; color: #fff; line-height: 1.2; }
.fc-time { font-size: 11px; color: rgba(255, 255, 255, 0.55); white-space: nowrap; flex: none; }
.fc-msg {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.3;
  margin-top: 2px;
}
.float-card { align-items: flex-start; }
.fc-1 { top: 22%; left: 8%; }
.fc-2 { top: 60%; left: 5%; }
.fc-3 { top: 46%; right: 6%; }

/* ---------- Features ---------- */
.features { max-width: 1180px; margin: -20px auto 0; padding: 0 40px 30px; position: relative; z-index: 2; }
.features-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.01));
  padding: 34px 20px;
}
.feature {
  text-align: center;
  padding: 0 18px;
  position: relative;
}
.feature + .feature::before {
  content: "";
  position: absolute;
  left: 0; top: 6px; bottom: 6px;
  width: 1px;
  background: rgba(255,255,255,0.07);
}
.feature-ic { color: var(--accent); display: flex; justify-content: center; margin-bottom: 16px; }
.feature-ic svg { width: 30px; height: 30px; }
.feature h3 { font-size: 18px; font-weight: 700; margin: 0 0 9px; }
.feature p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.55; }

/* ---------- Steps ---------- */
.steps { max-width: 1180px; margin: 0 auto; padding: 56px 40px 20px; }
.steps-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}
.step { width: 240px; text-align: center; }
.step-circle {
  width: 72px; height: 72px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #2b2150, #1a1336);
  border: 1px solid rgba(140, 110, 240, 0.28);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.step-circle svg { width: 30px; height: 30px; }
.step-circle-lg {
  background: radial-gradient(circle at 50% 35%, #5a3bd0, #3a2496);
  border-color: rgba(160, 130, 255, 0.5);
  box-shadow: 0 12px 30px -12px rgba(108, 67, 226, 0.9);
  color: #fff;
}
.step-circle-lg svg { width: 34px; height: 34px; }
.step-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 16px; margin-bottom: 12px;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--purple); color: #fff; font-size: 11px; font-weight: 700;
}
.step p { color: var(--muted); font-size: 14px; margin: 0; }
.arrow { color: #5b4f86; flex: 1; max-width: 110px; margin-top: 28px; }
.arrow svg { width: 100%; height: 22px; display: block; }
.steps-cta { display: flex; margin: 50px auto 0; width: fit-content; }

/* ---------- Business ---------- */
.business { max-width: 1180px; margin: 0 auto; padding: 60px 40px 30px; }
.business-panel {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  border: 1px solid var(--panel-border);
  border-radius: 22px;
  background-image: url("./assets/img/business-bg.png");
  background-size: cover;
  background-position: center right;
  overflow: hidden;
}
/* fade so the left-side copy stays readable over the photo */
.business-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, rgba(7, 5, 22, 0.97) 0%, rgba(7, 5, 22, 0.88) 30%, rgba(7, 5, 22, 0.45) 55%, rgba(7, 5, 22, 0.15) 80%, rgba(7, 5, 22, 0.05) 100%),
    linear-gradient(0deg, rgba(7, 5, 22, 0.55), transparent 45%);
}
.business-copy { position: relative; z-index: 1; padding: 48px 44px; max-width: 56%; }
.eyebrow-left { text-align: left; margin-bottom: 16px; }
.business-title { font-size: 38px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 16px; line-height: 1.1; }
.business-copy p { color: #cfccdf; font-size: 16px; margin: 0 0 28px; }

/* recreated review card */
.biz-card {
  position: absolute;
  right: 30px;
  bottom: 30px;
  z-index: 2;
  width: 290px;
  padding: 14px 15px;
  border-radius: 16px;
  background: rgba(18, 14, 34, 0.55);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 44px -18px rgba(0, 0, 0, 0.75);
}
.biz-card-head { display: flex; gap: 11px; align-items: center; }
.biz-thumb {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 10px;
  background-image: url("./assets/img/business-bg.png");
  background-size: 300% auto;
  background-position: 40% 40%;
}
.biz-name { font-size: 14px; font-weight: 700; color: #fff; line-height: 1.25; }
.biz-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(140, 110, 240, 0.18);
  border-radius: 5px;
  padding: 1px 6px;
  vertical-align: middle;
  margin-left: 0;
}
.biz-stars { color: var(--accent); font-size: 12px; letter-spacing: 2px; margin-top: 4px; }
.biz-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 13px;
}
.biz-status { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #d7d4e6; }
.biz-dot { width: 7px; height: 7px; border-radius: 50%; background: #36d399; box-shadow: 0 0 6px #36d399; }
.biz-quote { font-size: 12px; color: var(--muted); margin-top: 4px; }
.biz-chart { display: flex; align-items: flex-end; gap: 3px; height: 30px; }
.biz-chart span {
  width: 5px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--accent), var(--purple));
}

/* ---------- Download ---------- */
.download { max-width: 1180px; margin: 0 auto; padding: 30px 40px 60px; }
.download-panel {
  position: relative;
  display: grid;
  grid-template-columns: 300px 1fr auto;
  align-items: center;
  gap: 26px;
  border-radius: 24px;
  background:
    radial-gradient(20rem 12rem at 13% 98%, rgba(150, 90, 255, 0.5), transparent 62%),
    linear-gradient(102deg, #0b0922 0%, #120c2f 24%, #2a1758 52%, #20123f 82%, #1b1036 100%);
  border: 1px solid rgba(150, 110, 255, 0.22);
  padding: 22px 40px;
  overflow: hidden;
}
.dl-phone {
  position: relative;
  align-self: stretch;
  pointer-events: none;
  z-index: 0;
}
/* glow pooled under the phone */
.dl-phone::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 250px;
  height: 130px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(155, 95, 255, 0.6), rgba(155, 95, 255, 0.18) 45%, transparent 72%);
  filter: blur(12px);
  z-index: 0;
}
.phone {
  position: absolute;
  z-index: 1;
  left: 22px;
  bottom: -78px;
  width: 184px;
  height: 360px;
  border-radius: 42px;
  background: linear-gradient(155deg, #14121d 0%, #0a0912 60%, #07060d 100%);
  border: 7px solid #1c1a26;
  box-shadow:
    0 34px 60px -22px rgba(0, 0, 0, 0.75),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 14px rgba(150, 110, 255, 0.12);
  transform: rotate(-23deg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-island {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 15px;
  border-radius: 10px;
  background: #050409;
}
.phone-logo {
  width: 96px;
  height: auto;
  opacity: 0.96;
}
.dl-copy { text-align: left; }
.dl-eyebrow { color: var(--accent); font-weight: 600; font-size: 18px; }
.dl-title { font-size: 28px; font-weight: 800; margin: 2px 0 18px; letter-spacing: -0.01em; }
.dl-badges { display: flex; gap: 14px; }
.dl-badges img { height: 44px; display: block; }
.dl-qr { display: flex; align-items: center; gap: 12px; }
.dl-qr img { width: 64px; height: 64px; border-radius: 8px; }
.dl-qr span { color: #fff; font-size: 14px; font-weight: 500; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid rgba(255,255,255,0.06); }
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 54px 40px 30px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.1fr;
  gap: 30px;
}
.footer-brand img { height: 28px; display: block; margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.socials { display: flex; gap: 16px; color: var(--muted); }
.socials svg { width: 19px; height: 19px; }
.socials a:hover { color: #fff; }
.footer-col h4 { font-size: 15px; font-weight: 700; margin: 0 0 16px; }
.footer-col a { display: block; color: var(--muted); font-size: 14px; margin-bottom: 11px; }
.footer-col a:hover { color: #fff; }
.footer-badges { display: flex; flex-direction: column; gap: 10px; }
.footer-badges img { height: 40px; display: block; }
.footer-bottom {
  text-align: center;
  color: var(--muted-2);
  font-size: 13px;
  padding: 22px 40px 40px;
}

/* ---------- Legal pages ---------- */
.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 20px 28px 90px;
}
.legal h1 {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 12px 0 6px;
}
.legal .legal-meta {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 36px;
}
.legal h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 40px 0 12px;
  color: #fff;
}
.legal h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 24px 0 8px;
  color: #efeefb;
}
.legal p,
.legal li {
  color: #c6c3da;
  font-size: 15px;
  line-height: 1.75;
}
.legal p { margin: 0 0 14px; }
.legal ul { padding-left: 20px; margin: 0 0 16px; }
.legal li { margin-bottom: 9px; }
.legal strong { color: #fff; font-weight: 600; }
.legal a { color: var(--accent); }
.legal a:hover { text-decoration: underline; }
.legal .legal-intro {
  font-size: 16px;
  color: #d6d3e8;
  border-left: 2px solid var(--purple);
  padding-left: 18px;
  margin-bottom: 28px;
}
.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 22px;
  font-size: 13px;
}
.legal th,
.legal td {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 9px 11px;
  text-align: left;
  vertical-align: top;
  color: #c6c3da;
}
.legal th { background: rgba(255, 255, 255, 0.04); color: #fff; font-weight: 600; }
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 8px;
}
.legal-back:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .legal h1 { font-size: 34px; }
  .hero-inner { grid-template-columns: 1fr; }
  .business-copy { max-width: 100%; }
  .biz-card { position: static; width: auto; margin: 0 24px 28px; align-self: stretch; }
  .business-panel { flex-direction: column; align-items: stretch; min-height: 0; }
  .features-panel { grid-template-columns: 1fr; gap: 28px 0; }
  .feature + .feature::before { display: none; }
  .steps-row { flex-direction: column; align-items: center; gap: 30px; }
  .arrow { display: none; }
  .download-panel { grid-template-columns: 1fr; text-align: center; padding: 34px 24px; gap: 22px; }
  .dl-phone { display: none; }
  .dl-copy { text-align: center; }
  .dl-badges { justify-content: center; flex-wrap: wrap; }
  .dl-qr { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
