:root {
  --bg: #050b15;
  --bg-2: #071426;
  --surface: rgba(15, 31, 53, 0.72);
  --surface-strong: rgba(11, 24, 42, 0.94);
  --text: #f8fbff;
  --muted: #aebbd0;
  --line: rgba(157, 181, 220, 0.18);
  --blue: #6da3ff;
  --blue-2: #8fb7ff;
  --purple: #b392ff;
  --max: 1180px;
  --radius: 28px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(1000px 620px at 10% -5%, rgba(62, 94, 164, .36), transparent 65%),
    radial-gradient(880px 700px at 88% 10%, rgba(80, 54, 141, .27), transparent 66%),
    linear-gradient(180deg, #06101f 0%, #040911 58%, #03070d 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  opacity: .5;
  background-image:
    radial-gradient(circle at 15% 18%, rgba(255,255,255,.95) 0 1px, transparent 1.6px),
    radial-gradient(circle at 70% 12%, rgba(255,255,255,.72) 0 1px, transparent 1.8px),
    radial-gradient(circle at 44% 33%, rgba(167,196,255,.8) 0 1px, transparent 1.7px),
    radial-gradient(circle at 88% 42%, rgba(255,255,255,.65) 0 1px, transparent 1.5px),
    radial-gradient(circle at 26% 64%, rgba(255,255,255,.64) 0 1px, transparent 1.5px),
    radial-gradient(circle at 63% 78%, rgba(179,150,255,.65) 0 1px, transparent 1.6px);
  background-size: 190px 180px, 260px 230px, 220px 240px, 300px 260px, 240px 210px, 290px 250px;
}

button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.shell { width: min(var(--max), calc(100% - 42px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 74px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(5, 12, 24, .72);
  backdrop-filter: blur(22px) saturate(130%);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 18px; font-weight: 750; justify-self: start; }
.brand img { border-radius: 12px; box-shadow: 0 8px 24px rgba(42,94,176,.28); }
.desktop-nav { display: flex; gap: 30px; color: #cfdaea; font-size: 14px; }
.desktop-nav a, .header-cta { transition: color .2s ease, transform .2s ease, background .2s ease; }
.desktop-nav a:hover { color: white; }
.header-cta { justify-self: end; font-size: 13px; font-weight: 700; padding: 11px 16px; background: #2d71e8; border-radius: 999px; box-shadow: 0 8px 24px rgba(45,113,232,.28); }
.header-cta:hover { transform: translateY(-1px); background: #3d80f3; }

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 72px;
  align-items: center;
  padding-block: 64px 76px;
}
.hero-copy { position: relative; z-index: 2; }
.hero-icon { width: 132px; height: 132px; border-radius: 29px; box-shadow: 0 26px 70px rgba(49,89,166,.38), 0 0 0 1px rgba(255,255,255,.08); margin-bottom: 26px; }
.hero h1 { margin: 0; font-size: clamp(62px, 8vw, 104px); line-height: .92; letter-spacing: -.055em; }
.tagline { margin: 18px 0 20px; font-size: clamp(26px, 3vw, 39px); color: #9fc0ff; font-weight: 650; letter-spacing: -.025em; }
.hero-text { max-width: 620px; margin: 0; font-size: 18px; line-height: 1.65; color: #c4cede; }
.store-row { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 32px; align-items: center; }
.store-badge { display: inline-flex; border: 0; padding: 0; margin: 0; background: transparent; cursor: pointer; border-radius: 13px; transition: transform .2s ease, filter .2s ease; }
.store-badge:hover { transform: translateY(-2px); filter: brightness(1.07); }
.store-badge:focus-visible { outline: 3px solid rgba(128,178,255,.9); outline-offset: 4px; }
.store-badge img { height: 58px; width: auto; border-radius: 12px; }
.availability { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 17px 0 0; color: #9eacc0; font-size: 13px; }
.status-dot { width: 8px; height: 8px; background: #61d787; border-radius: 50%; box-shadow: 0 0 0 5px rgba(97,215,135,.08); }
.separator { opacity: .45; }

.hero-media { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-media .glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(94,117,255,.26) 0, rgba(157,77,226,.12) 42%, transparent 70%); filter: blur(18px); }
.hero-media img { position: relative; width: min(480px, 100%); border-radius: 29px; box-shadow: 0 44px 100px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08); transform: rotate(1deg); }

.intro { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: end; padding: 92px 0 42px; border-top: 1px solid var(--line); }
.section-label { color: #91b5ff; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 800; margin: 0 0 14px; }
.intro h2, .download h2 { margin: 0; font-size: clamp(36px, 4.4vw, 58px); line-height: 1.03; letter-spacing: -.045em; }
.intro > p { margin: 0; color: #b8c3d5; font-size: 17px; line-height: 1.7; max-width: 540px; }

.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; padding: 26px 0 112px; }
.feature-card { overflow: hidden; position: relative; border-radius: var(--radius); background: linear-gradient(180deg, rgba(16,33,57,.84), rgba(7,18,33,.86)); border: 1px solid rgba(156,182,220,.14); box-shadow: 0 24px 60px rgba(0,0,0,.18); }
.feature-copy { padding: 27px 30px 24px; min-height: 175px; }
.feature-copy span { display: inline-flex; color: #84adff; font-size: 12px; font-weight: 800; letter-spacing: .16em; margin-bottom: 10px; }
.feature-copy h3 { margin: 0 0 10px; font-size: 29px; letter-spacing: -.03em; }
.feature-copy p { margin: 0; color: #aebbd0; line-height: 1.55; font-size: 15px; max-width: 520px; }
.feature-card > img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center top;
  border-top: 1px solid rgba(255,255,255,.06);
  background: #03070d;
}
.feature-card:nth-child(8) > img { object-position: center top; }

.download { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; margin-bottom: 72px; padding: 34px; border: 1px solid rgba(126,160,211,.24); border-radius: 30px; background: linear-gradient(110deg, rgba(21,44,74,.82), rgba(9,22,39,.88)); box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 26px 70px rgba(0,0,0,.24); }
.download-icon-wrap img { width: 108px; height: 108px; border-radius: 24px; box-shadow: 0 16px 38px rgba(39,83,151,.28); }
.download-copy h2 { font-size: clamp(30px, 3.2vw, 48px); }
.download-copy p { margin: 12px 0 0; color: #b9c5d8; line-height: 1.55; }
.download-actions { display: flex; flex-direction: column; gap: 10px; }
.download-actions .store-badge img { height: 50px; }

.site-footer { border-top: 1px solid var(--line); min-height: 130px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #91a0b7; font-size: 13px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 44px; height: 44px; border-radius: 12px; }
.footer-brand div { display: flex; flex-direction: column; gap: 4px; }
.footer-brand strong { color: white; font-size: 15px; }

.google-modal { width: min(540px, calc(100% - 34px)); color: var(--text); border: 1px solid rgba(159,190,237,.28); border-radius: 30px; background: radial-gradient(circle at 50% 0%, rgba(50,120,237,.18), transparent 42%), rgba(8,20,37,.985); box-shadow: 0 40px 120px rgba(0,0,0,.68), inset 0 1px 0 rgba(255,255,255,.04); padding: 36px; text-align: center; overflow: hidden; }
.google-modal::backdrop { background: rgba(0,6,15,.78); backdrop-filter: blur(12px); }
.google-modal[open] { animation: googleModalIn .22s ease-out; }
@keyframes googleModalIn { from { opacity: 0; transform: translateY(12px) scale(.975); } to { opacity: 1; transform: translateY(0) scale(1); } }
.modal-close { position: absolute; top: 14px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.06); color: white; font-size: 25px; line-height: 1; cursor: pointer; transition: background .18s ease, transform .18s ease; }
.modal-close:hover { background: rgba(255,255,255,.12); transform: scale(1.04); }
.modal-app-lockup { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 4px auto 22px; }
.modal-icon { width: 78px; height: 78px; border-radius: 20px; box-shadow: 0 14px 32px rgba(0,0,0,.32); }
.modal-store-mark { display: flex; align-items: center; height: 78px; padding: 0 12px; border-left: 1px solid rgba(255,255,255,.11); }
.modal-store-mark img { width: 188px; height: auto; display: block; }
.modal-kicker { margin: 0 0 8px; text-transform: uppercase; letter-spacing: .16em; color: #91b5ff; font-size: 12px; font-weight: 800; }
.google-modal h2 { margin: 0; font-size: clamp(29px, 5vw, 36px); line-height: 1.08; letter-spacing: -.04em; }
.google-modal > p:not(.modal-kicker) { margin: 15px auto 0; max-width: 430px; color: #b6c3d5; line-height: 1.6; }
.coming-soon-status { width: fit-content; max-width: 100%; margin: 20px auto 0; padding: 9px 13px; border: 1px solid rgba(98,154,255,.24); border-radius: 999px; background: rgba(50,120,237,.10); color: #c9dbff; font-size: 13px; font-weight: 700; }
.coming-soon-status span { margin-right: 5px; color: #73a6ff; }
.modal-actions { margin-top: 28px; display: grid; grid-template-columns: 1fr 1.25fr; gap: 11px; }
.primary-button, .secondary-button { border: 0; border-radius: 14px; min-height: 50px; padding: 14px 16px; font-weight: 750; cursor: pointer; display: inline-flex; justify-content: center; align-items: center; text-decoration: none; }
.primary-button { background: #3278ed; color: white; box-shadow: 0 10px 26px rgba(50,120,237,.24); }
.primary-button:hover { background: #3c82f7; }
.secondary-button { background: rgba(255,255,255,.08); color: white; border: 1px solid rgba(255,255,255,.08); }
.secondary-button:hover { background: rgba(255,255,255,.12); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: .08s; }

@media (max-width: 940px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 50px; padding-top: 56px; }
  .hero-copy { text-align: center; }
  .hero-icon { margin-inline: auto; }
  .hero-text { margin-inline: auto; }
  .store-row, .availability { justify-content: center; }
  .hero-media img { width: min(560px, 92%); }
  .intro { grid-template-columns: 1fr; gap: 24px; }
  .download { grid-template-columns: auto 1fr; }
  .download-actions { grid-column: 1 / -1; flex-direction: row; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 26px, var(--max)); }
  .site-header { height: 66px; padding-inline: 14px; }
  .brand span { font-size: 16px; }
  .brand img { width: 40px; height: 40px; }
  .header-cta { padding: 10px 12px; font-size: 12px; }
  .hero { padding: 44px 0 58px; }
  .hero-icon { width: 106px; height: 106px; border-radius: 24px; }
  .hero h1 { font-size: clamp(56px, 18vw, 76px); }
  .tagline { font-size: 26px; }
  .hero-text { font-size: 16px; }
  .store-row { flex-direction: column; align-items: center; }
  .store-badge img { height: 54px; }
  .hero-media img { width: 100%; border-radius: 22px; transform: none; }
  .intro { padding-top: 72px; }
  .feature-grid { grid-template-columns: 1fr; gap: 18px; padding-bottom: 86px; }
  .feature-copy { min-height: 0; padding: 24px 22px 22px; }
  .feature-copy h3 { font-size: 26px; }
  .feature-card { border-radius: 22px; }
  .download { grid-template-columns: 1fr; text-align: center; padding: 28px 20px; }
  .download-icon-wrap img { margin-inline: auto; }
  .download-actions { grid-column: auto; flex-direction: column; align-items: center; }
  .site-footer { padding: 28px 0; flex-direction: column; text-align: center; }
  .modal-app-lockup { flex-direction: column; gap: 12px; }
  .modal-store-mark { height: auto; border-left: 0; border-top: 1px solid rgba(255,255,255,.11); padding: 14px 0 0; }
  .modal-store-mark img { width: 176px; }
  .modal-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .store-badge, .header-cta { transition: none; }
}

.store-button[aria-busy="true"] {
  opacity: .72;
  cursor: progress;
}
