/* BackSnap — simple landing hero inspired layout */

:root {
  --indigo: #f1f0f7;
  --indigo-d: #ebeaf3;
  --mesh-1: #fff2cc;
  --mesh-2: #e8f4ff;
  --mesh-3: #efe6ff;
  --card: #ffffff;
  --text: #0f1220;
  --muted: #5c6479;
  --blue: #1e78ff;
  --gold: #f4b400;
  --shadow: 0 40px 80px rgba(40, 40, 80, .18);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--indigo);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
/* Shell background */
.shell { min-height: 100dvh; display: grid; place-items: center; padding: 28px; }
.shell .bg {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 0;
}
.shell .bg::after { content: none; }

/* Card */
.card {
  width: min(1200px, 94vw);
  background: var(--card);
  border-radius: 0;
  box-shadow: none;
  border: none;
  padding: 28px 32px 40px;
}
.card--lux { position: relative; overflow: visible; }
.card--lux::before { content: none; }
.pattern { display: none; }

/* Ensure content sits above fixed background */
.card, .footer { position: relative; z-index: 1; }

/* Footer */
.footer { justify-self: start; width: 100%; text-align: left; padding: 24px 32px 40px; color: var(--muted); font-size: 14px; }
.footer__brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.footer__content p { margin: 4px 0; }
.footer a { color: #3f475b; text-decoration: none; border-bottom: 1px solid #e7eaf2; padding-bottom: 1px; }
.footer a:hover { color: var(--blue); border-bottom-color: var(--blue); }

/* Nav */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 8px 4px 14px; }
.nav__brand { display: inline-flex; align-items: center; gap: 10px; }
.logo { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: linear-gradient(135deg, #6ad2ff, #8bffbf); font-size: 16px; }
.logo-img { width: 100%; height: 100%; border-radius: 8px; display: block; object-fit: cover; }
.name { font-weight: 800; letter-spacing: .2px; color: #151823; }
.nav__links { display: flex; align-items: center; gap: 24px; }
.nav__links a { text-decoration: none; font-weight: 600; }
.download-pill { color: #fff; background: #12151d; padding: 10px 16px; border-radius: 999px; box-shadow: none; }

/* Grid */
.hero--center { text-align: center; padding: 26px 6px 0; max-width: 900px; margin: 0 auto; }

.eyebrow { color: var(--muted); font-weight: 700; margin-bottom: 8px; font-size: 14px; }
.eyebrow--pill { display: inline-block; padding: 8px 12px; border: 1px solid #e7eaf2; border-radius: 999px; background: rgba(255,255,255,.8); backdrop-filter: blur(4px); }
.spark { color: var(--gold); margin-right: 8px; }

.hero__title { font-size: clamp(34px, 5.8vw, 60px); line-height: 1.08; margin: 0 0 12px; letter-spacing: -0.02em; font-weight: 900; color: #0e1220; }
.hero__title span { color: var(--blue); }
.hero__subtitle { color: #3f475b; margin: 0 auto 26px; font-size: 18px; max-width: 64ch; }

/* Store badges */
.store-row { display: inline-flex; gap: 12px; align-items: center; margin-top: 10px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; background: #0f121a; color: #fff; border-radius: 14px; text-decoration: none; box-shadow: 0 8px 18px rgba(0,0,0,.18); }
.store__logo { font-weight: 900; font-size: 18px; }
.store__text small { display: block; font-size: 10px; opacity: .85; }
.store__text strong { line-height: 1; font-size: 14px; }

.credit { color: #9aa3b2; font-size: 12px; margin-top: 26px; }

/* Device placeholder */
.device { position: relative; width: min(420px, 90%); aspect-ratio: 9 / 19.5; margin: 22px auto 0; background: #0c0f16; border-radius: 38px; box-shadow: none, inset 0 0 0 10px #0a0d14, inset 0 0 0 12px #1a1f2b; display: grid; place-items: center; z-index: 0; }
.device--center { display: grid; place-items: center; margin: 0 auto; width: 100%; }
.device--center .screenshot { display: block; max-width: min(900px, 100%); height: auto; }
.device__notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 40%; height: 24px; background: #0a0d14; border-bottom-left-radius: 16px; border-bottom-right-radius: 16px; }
.device__screen { width: calc(100% - 30px); height: calc(100% - 32px); border-radius: 28px; background: linear-gradient(180deg, #27324a, #141a27); color: #c8d0de; display: grid; place-items: center; text-align: center; padding: 16px; font-weight: 700; letter-spacing: .2px; }

/* Avatars */
.avatar { position: absolute; width: 44px; height: 44px; border-radius: 999px; background: linear-gradient(180deg, #e9ecf7, #d9def0); box-shadow: 0 6px 14px rgba(0,0,0,.08); }
.a1 { top: 22%; left: 7%; }
.a2 { top: 30%; right: 7%; }
.a3 { bottom: 18%; left: 18%; }
.a4 { bottom: 24%; right: 14%; }
.a5 { top: 48%; left: 44%; }
.badge--blue { background: #3a86ff; }

/* Responsive */
@media (max-width: 980px) {
  .nav__links { display: none; }
}

@media (max-width: 520px) {
  .card { padding: 22px 18px 28px; border-radius: 20px; }
  .signup { padding: 8px; }
  .notify { padding: 12px 14px; }
}
