:root {
  --bg-top: #0e1326;
  --bg-bottom: #05060d;
  --blue: #2196f3;
  --purple: #7c4dff;
  --ink: #0a0d16;
  --card: #141a2e;
  --line: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.62);
  --faint: rgba(255, 255, 255, 0.4);
  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg-bottom);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Aurora background */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
}
.bg::before, .bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}
.bg::before {
  width: 520px; height: 520px;
  top: -160px; left: -120px;
  background: radial-gradient(circle, var(--blue), transparent 70%);
}
.bg::after {
  width: 600px; height: 600px;
  top: 10%; right: -180px;
  background: radial-gradient(circle, var(--purple), transparent 70%);
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Nav */
nav {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(5, 6, 13, 0.55);
  border-bottom: 1px solid var(--line);
}
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand {
  font-weight: 800; font-size: 22px; letter-spacing: 0.5px;
  color: #fff; text-decoration: none;
  text-shadow: 0 0 22px rgba(33, 150, 243, 0.8), 0 0 38px rgba(33, 150, 243, 0.45);
}
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; transition: color .2s; }
.nav-links a:hover { color: #fff; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--ink);
  font-weight: 700; font-size: 15px;
  padding: 11px 20px; border-radius: 14px;
  text-decoration: none; border: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255,255,255,.15); }
.btn.ghost { background: rgba(255,255,255,.06); color: #fff; border: 1px solid var(--line); }

/* Hero */
.hero { padding: 80px 0 60px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero h1 {
  font-size: 56px; line-height: 1.04; font-weight: 800; letter-spacing: -1px;
  margin-bottom: 18px;
}
.hero h1 .grad {
  background: linear-gradient(90deg, #64b5f6, var(--purple));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p.lead { font-size: 19px; color: var(--muted); margin-bottom: 30px; max-width: 520px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #000; border: 1px solid var(--line);
  border-radius: 14px; padding: 10px 18px; text-decoration: none; color: #fff;
  transition: transform .15s, border-color .2s;
}
.store-badge:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.25); }
.store-badge .sb-sub { font-size: 11px; color: var(--muted); line-height: 1; }
.store-badge .sb-main { font-size: 17px; font-weight: 700; line-height: 1.2; }
.store-badge svg { width: 26px; height: 26px; }
.soon { font-size: 12px; color: var(--faint); margin-top: 12px; }

/* Phone mockup (pure CSS, mirrors the app login) */
.phone-col { display: flex; justify-content: center; }
.phone {
  width: 270px; height: 560px; border-radius: 42px;
  background: linear-gradient(180deg, #0e1326, #05060d);
  border: 10px solid #11121a;
  box-shadow: 0 40px 90px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.04);
  position: relative; overflow: hidden;
  padding: 26px 22px; display: flex; flex-direction: column; justify-content: flex-end;
}
.phone::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 120px; height: 22px; background: #11121a; border-radius: 0 0 14px 14px;
}
.phone .glow1, .phone .glow2 { position: absolute; border-radius: 50%; filter: blur(40px); }
.phone .glow1 { width: 180px; height: 180px; top: 30px; left: -40px; background: rgba(33,150,243,.45); }
.phone .glow2 { width: 200px; height: 200px; top: 120px; right: -60px; background: rgba(124,77,255,.4); }
.phone .pbrand {
  position: relative; text-align: center; font-weight: 800; font-size: 22px; margin-bottom: auto; margin-top: 40px;
  text-shadow: 0 0 18px rgba(33,150,243,.9);
}
.phone h3 { position: relative; font-size: 28px; font-weight: 800; letter-spacing: -.5px; margin-bottom: 8px; }
.phone .psub { position: relative; color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.phone .pfield {
  position: relative; background: var(--card); border: 1.5px solid var(--blue);
  border-radius: 14px; padding: 14px 16px; font-weight: 700; font-size: 15px;
  box-shadow: 0 0 22px rgba(33,150,243,.3); margin-bottom: 12px;
}
.phone .pfield .pdim { color: var(--faint); font-weight: 500; }
.phone .pcta {
  position: relative; background: #fff; color: var(--ink); text-align: center;
  border-radius: 14px; padding: 14px; font-weight: 700; font-size: 15px;
}

/* Sections */
section { padding: 64px 0; }
.section-title { font-size: 34px; font-weight: 800; letter-spacing: -.5px; text-align: center; margin-bottom: 12px; }
.section-sub { color: var(--muted); text-align: center; max-width: 560px; margin: 0 auto 42px; font-size: 17px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px;
  transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(33,150,243,.4); }
.card .ic {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  margin-bottom: 16px; font-size: 24px;
}
.card h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { text-align: center; padding: 10px; }
.step .num {
  width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 16px;
  display: grid; place-items: center; font-weight: 800; font-size: 22px;
  background: linear-gradient(135deg, var(--blue), var(--purple)); color: #fff;
  box-shadow: 0 10px 30px rgba(33,150,243,.35);
}
.step h4 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }

/* CTA band */
.cta-band {
  text-align: center; background: var(--card); border: 1px solid var(--line);
  border-radius: 28px; padding: 54px 24px; margin: 20px 0;
}
.cta-band h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; letter-spacing: -.5px; }
.cta-band p { color: var(--muted); margin-bottom: 26px; font-size: 17px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 40px 0; margin-top: 40px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
footer .f-links { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { color: var(--muted); text-decoration: none; font-size: 14px; }
footer a:hover { color: #fff; }
footer .copy { color: var(--faint); font-size: 14px; }

/* Legal pages */
.legal { padding: 60px 0; max-width: 820px; }
.legal h1 { font-size: 38px; font-weight: 800; margin-bottom: 8px; letter-spacing: -.5px; }
.legal .updated { color: var(--faint); margin-bottom: 32px; }
.legal h2 { font-size: 22px; font-weight: 700; margin: 30px 0 10px; }
.legal p, .legal li { color: var(--muted); font-size: 16px; margin-bottom: 10px; }
.legal ul { padding-left: 22px; }
.legal a { color: #64b5f6; }
.back { display: inline-block; margin-bottom: 24px; color: var(--muted); text-decoration: none; font-weight: 600; }
.back:hover { color: #fff; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero { padding: 48px 0 32px; }
  .hero h1 { font-size: 40px; }
  .cta-row { justify-content: center; }
  .phone-col { margin-top: 30px; }
  .grid, .steps { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
}
