/* NavGlass app page (mockup v06): scroll-reveal story, in the spirit of an Apple product page. */
.mock-banner { background: var(--glacier); color: #fff; text-align: center; font-size: .85rem; font-weight: 600; padding: 6px 12px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .phone-wrap.reveal { transform: translateY(60px) rotate(var(--tilt, 3deg)) scale(.94); }
.js .phone-wrap.reveal.in { transform: translateY(var(--py, 0px)) rotate(0) scale(1); }

/* ---------- Header of the page: icon, name, store cards ---------- */
.app-top { padding: 72px 0 56px; text-align: center; background: radial-gradient(900px 420px at 50% -80px, rgba(31,142,224,.16), transparent 70%), linear-gradient(#f4f6f9, #fff); }
.app-top .app-icon { width: 148px; height: 148px; border-radius: 34px; margin: 0 auto 24px; box-shadow: 0 24px 50px -22px rgba(18,24,34,.55), 0 0 0 1px rgba(18,24,34,.06); }
.app-top h1 { font-size: clamp(2.6rem, 7vw, 4.4rem); letter-spacing: -.03em; margin-bottom: .1em; }
.app-top .subtitle { font: 600 1.15rem var(--head); color: var(--muted); }
.app-top .dev { margin-top: 6px; font-size: .95rem; color: var(--muted); }
.store-row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.store-btn { display: inline-flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; text-decoration: none; border-radius: 14px; padding: 10px 22px 10px 16px; min-width: 200px; transition: transform .15s, box-shadow .15s; box-shadow: 0 14px 30px -18px rgba(18,24,34,.8); }
.store-btn:hover { transform: translateY(-2px); }
.store-btn svg { width: 30px; height: 30px; flex: none; }
.store-btn span { text-align: left; line-height: 1.15; }
.store-btn small { display: block; font-size: .72rem; opacity: .85; }
.store-btn b { font: 600 1.15rem var(--head); }
.soon-note { margin-top: 14px; font-size: .85rem; color: var(--muted); }
.facts { display: flex; justify-content: center; gap: 0; flex-wrap: wrap; margin-top: 38px; }
.facts div { padding: 4px 28px; border-left: 1px solid var(--line); text-align: center; }
.facts div:first-child { border-left: 0; }
.facts small { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts b { display: block; font: 700 1.15rem var(--head); color: var(--ink); }

/* ---------- Intro paragraph ---------- */
.intro { padding: 96px 0 40px; text-align: center; }
.intro p { font: 600 clamp(1.4rem, 3.2vw, 2.1rem)/1.35 var(--head); color: var(--ink); max-width: 28em; margin: 0 auto; letter-spacing: -.01em; }
.intro p span { color: var(--glacier); }
.scroll-hint { margin-top: 28px; font-size: .85rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.scroll-hint i { display: block; width: 2px; height: 34px; margin: 10px auto 0; background: linear-gradient(var(--glacier), transparent); animation: hint 1.8s ease-in-out infinite; }
@keyframes hint { 0%, 100% { transform: scaleY(.4); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }

/* ---------- Feature rows: phone and paragraph, alternating ---------- */
.feature { padding: 88px 0; }
.feature .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature.flip .phone-wrap { order: 2; }
.feature .copy .eyebrow { margin-bottom: .6em; }
.feature h2 { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -.02em; }
.feature .copy p { font-size: 1.12rem; color: var(--muted); max-width: 30em; }
.feature ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.feature li { padding-left: 28px; position: relative; color: var(--text); }
.feature li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 2.5px solid var(--glacier); border-bottom: 2.5px solid var(--glacier); transform: rotate(-45deg) scale(.9); }
.pro-tag { display: inline-block; font: 700 .65rem var(--head); letter-spacing: .1em; padding: 2px 7px; border-radius: 6px; background: #fbbc2d; color: #3b2a00; vertical-align: middle; margin-left: 6px; }
.feature.tint { background: var(--soft); }

.phone-wrap { justify-self: center; position: relative; }
.phone-wrap::before { content: ""; position: absolute; inset: 8% -12% 4%; background: radial-gradient(closest-side, rgba(31,142,224,.22), transparent 72%); z-index: 0; }
.phone { position: relative; z-index: 1; width: min(300px, 78vw); border-radius: 44px; border: 9px solid #0d121c; background: #0a0f1d; overflow: hidden; box-shadow: 0 0 0 1.5px #2a3550, 0 50px 70px -30px rgba(18,24,34,.55); }
.phone img { width: 100%; display: block; }

/* ---------- Dark bands with the animated demos ---------- */
.band { position: relative; overflow: hidden; background: #0a0f1d; color: #e8edf5; padding: 100px 0; text-align: center; }
.band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 360px at 50% 40%, rgba(31,142,224,.22), transparent 70%); pointer-events: none; }
.band .wrap { position: relative; }
.band .eyebrow { color: #62b4ff; }
.band h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.3rem); letter-spacing: -.02em; }
.band p.lead { color: #aab6c8; margin: 0 auto; }
.band .caption { margin-top: 26px; font-size: .8rem; color: #7d8aa0; }
.demo-note { display: inline-block; margin-top: 10px; font-size: .75rem; padding: 3px 10px; border-radius: 999px; border: 1px dashed #4a5873; color: #93a1b8; }

/* ---------- Free and Pro ---------- */
.plans { padding: 96px 0; }
.plans h2 { text-align: center; font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -.02em; }
.plans .lead { text-align: center; margin: 0 auto 40px; }
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin: 0 auto; }
.plan { border: 1px solid var(--line); border-radius: 24px; padding: 30px; background: #fff; }
.plan.pro { background: linear-gradient(#0f1830, #0a0f1d); color: #dfe7f3; border-color: #1d2a46; }
.plan.pro h3 { color: #fff; }
.plan h3 { font-size: 1.5rem; }
.plan p { color: var(--muted); font-size: .95rem; }
.plan.pro p { color: #93a1b8; }
.plan ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; font-size: .96rem; }
.plan li { padding-left: 26px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px; border-left: 2.5px solid var(--glacier); border-bottom: 2.5px solid var(--glacier); transform: rotate(-45deg); }
.plan.pro li::before { border-color: #5fd0ff; }

/* ---------- Final call ---------- */
.final { padding: 90px 0 100px; text-align: center; background: var(--soft); }
.final .app-icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 18px; box-shadow: 0 18px 36px -18px rgba(18,24,34,.5); }
.final h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -.02em; }
.final .safety { max-width: 40em; margin: 34px auto 0; font-size: .88rem; color: var(--muted); }

@media (max-width: 820px) {
  .feature { padding: 56px 0; }
  .feature .wrap { grid-template-columns: 1fr; gap: 34px; }
  .feature.flip .phone-wrap { order: 0; }
  .plan-grid { grid-template-columns: 1fr; }
  .facts div { padding: 4px 16px; }
  .app-top { padding-top: 48px; }
  .g-num { font-size: 3.6rem; }
}

/* ---------- v07: ten speedometer designs, drawn like the app ---------- */
.dial { position: relative; width: min(340px, 78vw); aspect-ratio: 1; margin: 40px auto 0; }
.sty { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; pointer-events: none; display: grid; place-items: center; }
.sty.on { opacity: 1; }
.sty svg { width: 100%; height: 100%; overflow: visible; }
.numeral { text-align: center; position: relative; width: 100%; }
.numeral b { display: block; font: 700 9.5rem/1 var(--head); color: #ff5468; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.numeral span { display: block; font: 600 1rem var(--head); letter-spacing: .3em; color: #4fd8ff; margin-top: 6px; }
.numeral i { position: absolute; left: 6%; top: 8%; width: 22px; height: 22px; border-left: 4px solid #4fd8ff; border-bottom: 4px solid #4fd8ff; transform: rotate(135deg); }
.numeral i.down { border-color: #ffc83d; transform: rotate(-45deg); }
.numeral em, .numeral u { position: absolute; bottom: -34px; font: 700 .7rem var(--head); letter-spacing: .08em; padding: 3px 10px; border-radius: 999px; font-style: normal; text-decoration: none; }
.numeral em { left: 4%; color: #ffc83d; border: 1px solid #7a5d12; }
.numeral u { right: 4%; color: #ff5468; border: 1px solid #7a2733; }
.bars { width: 100%; text-align: center; }
.bars b { display: block; font: 700 6.4rem/1 var(--head); color: #fff; font-variant-numeric: tabular-nums; }
.bars b small { font: 600 .9rem var(--head); color: #4fd8ff; letter-spacing: .2em; margin-left: 8px; }
.bars .row { display: flex; gap: 3px; margin-top: 18px; height: 44px; }
.bars .row i { flex: 1; border: 1.5px solid #2a3858; border-radius: 3px; }
.bars .row i.on { background: #4fd8ff; border-color: #4fd8ff; }
.bars .row i.on.hot { background: #ff5468; border-color: #ff5468; }
.bars .lab { display: flex; justify-content: space-between; font-size: .72rem; color: #7d8aa0; margin-top: 6px; }
.tape { display: flex; align-items: center; gap: 22px; width: 100%; justify-content: center; }
.tape .scale { position: relative; width: 112px; height: 260px; overflow: hidden; background: #0b1226; border: 1px solid #25314c; border-radius: 10px; }
.tape .ticks { position: absolute; left: 0; right: 0; top: 0; }
.tape .ticks div { height: 31px; border-bottom: 2px solid #4a5873; width: 26px; margin-left: 78px; position: relative; }
.tape .ticks div span { position: absolute; right: 32px; top: 18px; font: 600 .78rem var(--head); color: #9aa8c4; }
.tape .box { position: absolute; left: 6px; top: 109px; width: 74px; height: 42px; background: #0b1226; border: 2px solid #ff5468; border-radius: 6px; color: #ff5468; font: 700 1.5rem/38px var(--head); text-align: center; }
.tape .info { text-align: left; line-height: 1.5; }
.tape .info small { display: block; font: 700 .65rem var(--head); letter-spacing: .12em; color: #7d8aa0; }
.tape .info span { display: block; font: 700 1.4rem var(--head); color: #4fd8ff; }
.tape .info em, .tape .info u { display: block; font: 700 .85rem var(--head); font-style: normal; text-decoration: none; margin-top: 10px; }
.tape .info em { color: #ffc83d; } .tape .info u { color: #ff5468; }
.odo { width: 100%; text-align: center; }
.odo .cards { display: inline-flex; gap: 8px; padding: 16px; border: 3px solid #ff5468; border-radius: 22px; background: #0f5e63; }
.odo .cards b { width: 78px; height: 118px; display: grid; place-items: center; background: linear-gradient(#f4f7fb 0 49%, #cdd6e3 51% 100%); border-radius: 10px; color: #d63b4d; font: 700 4.4rem/1 var(--head); font-variant-numeric: tabular-nums; box-shadow: inset 0 -2px 0 rgba(0,0,0,.18); }
.odo .foot { display: flex; justify-content: center; gap: 22px; margin-top: 18px; align-items: center; }
.odo .foot span { font: 700 .85rem var(--head); color: #4fd8ff; border: 1px solid #25598a; border-radius: 999px; padding: 4px 18px; letter-spacing: .15em; }
.odo .foot em { font: 700 .72rem var(--head); font-style: normal; color: #ff5468; } .odo .foot em:last-child { color: #ffc83d; }

/* ---------- v07: Navigating-to card, like the Waypoints screen ---------- */
.nav-card { width: min(520px, 92vw); margin: 0 auto; border-radius: 26px; padding: 22px 22px 18px; background: linear-gradient(#141c30, #0f1626); border: 1px solid #25314c; box-shadow: 0 40px 60px -30px rgba(0,0,0,.6); text-align: left; color: #e8edf5; }
.nav-card .top { display: flex; justify-content: space-between; align-items: center; }
.nav-card .lbl { font: 600 .7rem var(--head); letter-spacing: .2em; color: #8b98b2; }
.nav-card .stop { font: 700 .85rem var(--head); color: #ff5468; border: 1px solid #7a2733; border-radius: 10px; padding: 5px 14px; }
.nav-card .name { font: 700 1.5rem var(--head); color: #fff; margin: 8px 0 14px; display: flex; gap: 10px; align-items: center; }
.nav-card .name svg { width: 22px; height: 22px; }
.nav-card .body { display: flex; gap: 18px; align-items: stretch; }
.compass { position: relative; width: 150px; height: 150px; flex: none; }
.compass svg { position: absolute; inset: 0; width: 100%; height: 100%; }
#rose { transition: transform .25s linear; }
.nav-card .stats { flex: 1; border: 1px solid #25314c; border-radius: 14px; background: #0b1120; overflow: hidden; }
.nav-card .stats .d { padding: 12px 16px 10px; border-bottom: 1px solid #25314c; }
.nav-card .stats .d small, .nav-card .stats .r small { font: 600 .62rem var(--head); letter-spacing: .18em; color: #8b98b2; display: block; }
.nav-card .stats .d b { font: 700 2.5rem/1.1 var(--head); color: #fff; }
.nav-card .stats .d b span { font-size: .85rem; color: #4fd8ff; margin-left: 6px; }
.nav-card .stats .r { display: flex; }
.nav-card .stats .r div { flex: 1; padding: 10px 16px; }
.nav-card .stats .r div + div { border-left: 1px solid #25314c; }
.nav-card .stats .r b { font: 700 1.3rem var(--head); color: #fff; }
.nav-card .warn { margin-top: 12px; font-size: .78rem; color: #8b98b2; text-align: right; }
@media (max-width: 520px) { .nav-card .body { flex-direction: column; align-items: center; } .nav-card .stats { width: 100%; } }

/* ---------- v07: scrolling sheet, three-phone fan, small tags ---------- */
.phone.sheet { aspect-ratio: 720 / 1460; }
.phone.sheet img { animation: sheet 14s ease-in-out infinite; }
@keyframes sheet { 0%, 8% { transform: translateY(0); } 48%, 58% { transform: translateY(-17.8%); } 98%, 100% { transform: translateY(0); } }
.trio { position: relative; width: min(470px, 92vw); height: min(560px, 118vw); }
.trio .phone { position: absolute; width: 52%; top: 0; border-width: 7px; border-radius: 34px; }
.trio .phone:nth-child(1) { left: 0; top: 7%; transform: rotate(-6deg); z-index: 1; }
.trio .phone:nth-child(2) { left: 24%; z-index: 3; }
.trio .phone:nth-child(3) { right: 0; top: 7%; transform: rotate(6deg); z-index: 2; }
.tag { display: inline-block; font: 700 .62rem var(--head); letter-spacing: .1em; padding: 2px 7px; border-radius: 6px; vertical-align: middle; margin-left: 8px; }
.tag.pro { background: #fbbc2d; color: #3b2a00; } .tag.free { background: #d9f3e3; color: #14532d; } .tag.android { background: #e1f0ff; color: #0b4a85; }

/* style-name chips under the dial */
.chips-row { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 34px; }
.chips-row span { font: 600 .8rem var(--head); padding: 6px 14px; border-radius: 999px; border: 1px solid #2c3a56; color: #93a1b8; transition: all .3s; }
.chips-row span.on { background: #1f8ee0; border-color: #1f8ee0; color: #fff; }

/* v11: black link buttons (Privacy Policy, Terms of Use, FAQ) above the intro, in the style of the store badges */
.legal-links { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 0 0 38px; }
.legal-links a { background: var(--ink); color: #fff; text-decoration: none; font: 600 1rem var(--head); padding: 13px 26px; border-radius: 14px; min-width: 170px; text-align: center; transition: transform .15s; box-shadow: 0 14px 30px -18px rgba(18,24,34,.8); }
.legal-links a:hover { transform: translateY(-2px); }

/* Coming soon pill (v15) */
.soon { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 12px 24px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 1.05rem var(--head); }
.soon i { width: 9px; height: 9px; border-radius: 50%; background: #5fe3c0; box-shadow: 0 0 0 4px rgba(95,227,192,.25); }
.soon-sub { margin-top: 10px; font-size: .9rem; color: var(--muted); }
