/* ==========================================================
   PuqScr Share — website styles
   Theme taken from the app: deep navy base, neon green + cyan.
   ========================================================== */

:root {
  --bg: #030a12;
  --bg-2: #061320;
  --bg-3: #0a1c2c;
  --card: rgba(10, 28, 44, 0.62);
  --line: rgba(70, 210, 255, 0.2);
  --line-strong: rgba(70, 210, 255, 0.45);
  --green: #50e678;
  --lime: #9bf03a;
  --cyan: #46d2ff;
  --blue: #64beff;
  --text: #e8f6ff;
  --muted: #92b6cb;
  --ink: #02140a;
  --grad: linear-gradient(96deg, #9bf03a 0%, #50e678 38%, #46d2ff 100%);
  --grad-soft: linear-gradient(135deg, rgba(80, 230, 120, 0.16), rgba(70, 210, 255, 0.12));
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-glow: 0 0 0 1px var(--line), 0 24px 60px -24px rgba(70, 210, 255, 0.35);
  --font: "Segoe UI Variable Display", "SF Pro Display", "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.025em; font-weight: 750; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200; padding: 10px 16px;
  background: var(--green); color: var(--ink); border-radius: 10px; font-weight: 700; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Ambient background ---------- */
#net {
  position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0.75;
}
.bg-glow { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-glow::before, .bg-glow::after {
  content: ""; position: absolute; width: 60vw; height: 60vw; max-width: 780px; max-height: 780px; border-radius: 50%;
  filter: blur(90px); opacity: 0.38; animation: drift 22s ease-in-out infinite alternate;
}
.bg-glow::before { background: radial-gradient(circle, #1fa86a, transparent 65%); top: -18%; left: -14%; }
.bg-glow::after { background: radial-gradient(circle, #1b7fd0, transparent 65%); bottom: -22%; right: -16%; animation-delay: -9s; }
@keyframes drift { to { transform: translate3d(8vw, 5vh, 0) scale(1.15); } }
main, footer { position: relative; z-index: 1; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 1rem; letter-spacing: -0.005em; overflow: hidden;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, border-color .25s;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--grad); color: var(--ink); box-shadow: 0 10px 34px -10px rgba(80, 230, 120, 0.75); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 44px -8px rgba(80, 230, 120, 0.9); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { border-color: var(--line-strong); background: rgba(70, 210, 255, 0.06); color: var(--text); }
.btn-ghost:hover { background: rgba(70, 210, 255, 0.14); border-color: var(--cyan); transform: translateY(-3px); }
.btn-lg { min-height: 62px; padding: 0 34px; font-size: 1.15rem; }
.btn .icon { width: 1.4em; height: 1.4em; }

/* ---------- Navigation ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 100; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(3, 10, 18, 0.78); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand img, .brand svg { width: 38px; height: 38px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a:not(.btn) { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: 0.95rem; transition: color .2s, background .2s; }
.nav-links a:not(.btn):hover, .nav-links a.active { color: var(--text); background: rgba(70, 210, 255, 0.1); }
.nav-links .btn { min-height: 44px; padding: 0 20px; font-size: 0.95rem; margin-left: 8px; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line-strong); background: rgba(70,210,255,.06); align-items: center; justify-content: center; }
.menu-toggle .icon { width: 24px; height: 24px; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }
.menu-toggle[aria-expanded="true"] .i-menu { display: none; }

/* ---------- Section scaffolding ---------- */
section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.section-head p { margin-top: 18px; color: var(--muted); font-size: 1.15rem; max-width: 60ch; }
.section-head.center p { margin-inline: auto; }
.tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(70, 210, 255, 0.07); color: var(--cyan); font-weight: 600; font-size: 0.9rem; margin-bottom: 20px;
}
.tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.7); } }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { overflow-x: clip; padding-top: calc(var(--nav-h) + clamp(40px, 7vw, 90px)); padding-bottom: clamp(60px, 8vw, 100px); min-height: 100svh; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 4.1vw, 3.9rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; }
.hero h1 span { display: block; }
.hero-lead { margin-top: 26px; font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; color: var(--muted); font-size: 0.95rem; }
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .icon { color: var(--green); }

.stage { position: relative; display: grid; place-items: center; min-height: 600px; perspective: 1200px; }
.stage::before {
  content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(80,230,120,.0), rgba(80,230,120,.35), rgba(70,210,255,.35), rgba(80,230,120,.0));
  filter: blur(50px); animation: spin 14s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.orbit { position: absolute; border: 1px dashed rgba(70, 210, 255, 0.28); border-radius: 50%; animation: spin 40s linear infinite; }
.orbit.o1 { width: 92%; aspect-ratio: 1; }
.orbit.o2 { width: 118%; aspect-ratio: 1; animation-duration: 70s; animation-direction: reverse; border-color: rgba(80,230,120,.2); }
.orbit i { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 18px var(--cyan); top: 12%; left: 12%; }
.orbit.o2 i { background: var(--green); box-shadow: 0 0 18px var(--green); top: auto; bottom: 14%; left: 78%; }
.phone-wrap { position: relative; transform-style: preserve-3d; transition: transform .25s ease-out; animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 50% { translate: 0 -14px; } }

.float-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 16px;
  background: rgba(6, 19, 32, 0.82); border: 1px solid var(--line-strong); backdrop-filter: blur(10px);
  font-size: 0.9rem; font-weight: 600; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .8); z-index: 3;
  animation: floaty 6s ease-in-out infinite;
}
.float-chip .icon { color: var(--green); }
.float-chip.c1 { left: -6%; top: 16%; animation-delay: -1.5s; }
.float-chip.c2 { right: -4%; bottom: 20%; animation-delay: -3.5s; }
.float-chip.c2 .icon { color: var(--cyan); }

/* ---------- Phone mockup (app UI recreated from the app's screen) ---------- */
.phone {
  position: relative; width: 300px; height: 620px; border-radius: 46px; padding: 11px;
  background: linear-gradient(160deg, #16314a, #07121d 55%, #0f2a40);
  box-shadow: 0 0 0 1.5px rgba(70,210,255,.4), 0 40px 90px -30px rgba(0,0,0,.9), 0 0 80px -20px rgba(70,210,255,.35);
}
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 86px; height: 22px; border-radius: 99px; background: #02070d; transform: translateX(-50%); z-index: 5; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: var(--bg); display: flex; flex-direction: column; padding: 50px 18px 0; }
.screen::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 60% at 100% 0%, rgba(70,210,255,.14), transparent 60%); pointer-events: none; }
.app-title { font-size: 1.85rem; font-weight: 800; color: var(--green); letter-spacing: -0.03em; line-height: 1.1; }
.app-tag { margin-top: 6px; font-size: 0.8rem; color: var(--blue); }
.app-btn {
  margin-top: 16px; width: 100%; min-height: 52px; border-radius: 16px; border: 0; background: var(--grad); color: var(--ink);
  font-weight: 800; font-size: 1.02rem; letter-spacing: 0.02em; display: flex; align-items: center; justify-content: center; gap: 9px;
  box-shadow: 0 0 26px -6px rgba(80, 230, 120, .8); transition: transform .2s, filter .2s;
}
.app-btn:hover { transform: scale(1.025); filter: brightness(1.08); }
.app-btn:active { transform: scale(.96); }
.app-btn .icon { width: 18px; height: 18px; }
.app-h { display: flex; align-items: center; gap: 8px; margin-top: 20px; font-weight: 700; font-size: 0.98rem; color: #46d2ff; }
.app-h .icon { width: 17px; height: 17px; color: #ffd84a; }
.modes { display: flex; gap: 7px; margin-top: 10px; }
.mode-chip {
  flex: 1; min-height: 44px; padding: 6px 4px; border-radius: 13px; border: 1px solid var(--line); background: rgba(10, 28, 44, .7);
  font-size: 0.7rem; font-weight: 700; color: var(--muted); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; transition: all .2s;
}
.mode-chip .icon { width: 15px; height: 15px; }
.mode-chip:hover { border-color: var(--cyan); color: var(--text); }
.mode-chip.on { border-color: #82ff50; color: #82ff50; background: rgba(130, 255, 80, .1); box-shadow: 0 0 18px -6px #82ff50; }
.device-row {
  margin-top: 10px; padding: 13px 14px; border-radius: 15px; border: 1px solid var(--line); background: rgba(10,28,44,.7);
  display: flex; align-items: center; gap: 12px; font-size: 0.88rem; font-weight: 600;
}
.device-row .icon { width: 22px; height: 22px; color: var(--blue); }
.device-row small { display: block; font-weight: 500; font-size: 0.72rem; color: var(--muted); }
.device-row .live { margin-left: auto; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 1.8s infinite; }
.plan-line { margin-top: 14px; padding: 10px 12px; border-radius: 13px; text-align: center; font-size: 0.74rem; color: #bef0ff; background: var(--grad-soft); border: 1px solid var(--line); line-height: 1.35; }
.plan-line b { color: var(--green); }
.app-nav {
  margin: auto -6px 12px; padding: 9px 6px; border-radius: 22px; border: 1px solid var(--line-strong); background: rgba(6, 19, 32, .92);
  display: flex; justify-content: space-between; position: relative; z-index: 2;
}
.app-nav span { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 0.6rem; font-weight: 700; color: var(--blue); }
.app-nav .icon { width: 19px; height: 19px; }
.app-nav .on { color: var(--green); }
.app-nav .on .icon { filter: drop-shadow(0 0 6px var(--green)); }
.screen-flex { flex: 1; display: flex; flex-direction: column; position: relative; z-index: 1; }

/* hero live demo toast inside phone */
.phone-toast {
  position: absolute; left: 50%; bottom: 96px; transform: translate(-50%, 20px); z-index: 6; opacity: 0; pointer-events: none;
  padding: 10px 16px; border-radius: 14px; background: rgba(230, 246, 255, .96); color: #04121e; font-size: 0.72rem; font-weight: 700; text-align: center; width: 78%;
  transition: opacity .3s, transform .3s;
}
.phone-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* screen-specific */
.screen-title { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; margin-top: 6px; }
.screen-sub { font-size: 0.76rem; color: var(--muted); margin-top: 4px; }
.mode-card {
  margin-top: 11px; padding: 14px; border-radius: 17px; border: 1px solid var(--line); background: rgba(10,28,44,.75);
  display: flex; align-items: center; gap: 12px;
}
.mode-card .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--grad-soft); display: grid; place-items: center; color: var(--cyan); border: 1px solid var(--line); }
.mode-card b { display: block; font-size: 0.95rem; }
.mode-card small { color: var(--muted); font-size: 0.72rem; }
.mode-card .check { margin-left: auto; color: #82ff50; }
.mode-card.sel { border-color: #82ff50; background: rgba(130,255,80,.08); box-shadow: 0 0 22px -8px #82ff50; }
.empty-devices { margin: 22px 0 6px; display: grid; place-items: center; text-align: center; gap: 10px; padding: 26px 14px; border-radius: 20px; border: 1px dashed var(--line-strong); }
.empty-devices .big { width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-soft); color: var(--blue); position: relative; }
.empty-devices .big::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1px solid var(--cyan); opacity: .0; animation: ring 2.6s infinite; }
@keyframes ring { 0% { transform: scale(.7); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
.empty-devices .big .icon { width: 32px; height: 32px; }
.empty-devices b { font-size: 1rem; }
.empty-devices small { color: var(--muted); font-size: 0.74rem; }
.plan-card { margin-top: 12px; padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: rgba(10,28,44,.75); }
.plan-card h4 { font-size: 0.8rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.plan-card strong { display: block; font-size: 1.55rem; margin-top: 4px; letter-spacing: -0.02em; }
.plan-card.prem { border-color: rgba(130,255,80,.7); background: linear-gradient(150deg, rgba(130,255,80,.14), rgba(70,210,255,.1)); box-shadow: 0 0 30px -10px #82ff50; }
.plan-card.prem strong { color: #82ff50; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.about-copy p { color: var(--muted); font-size: 1.12rem; margin-top: 18px; max-width: 58ch; }
.about-copy p strong { color: var(--text); }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 34px; }
.fact { padding: 18px 20px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--card); transition: border-color .3s, transform .3s; }
.fact:hover { border-color: var(--green); transform: translateY(-4px); }
.fact b { display: block; font-size: 1.3rem; letter-spacing: -0.02em; }
.fact span { color: var(--muted); font-size: 0.92rem; }
.steps { position: relative; display: grid; gap: 18px; counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 27px; top: 30px; bottom: 30px; width: 2px; background: linear-gradient(var(--green), var(--cyan)); opacity: .45; }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); backdrop-filter: blur(8px); transition: transform .3s, border-color .3s; }
.step:hover { transform: translateX(8px); border-color: var(--cyan); }
.step::before {
  counter-increment: step; content: counter(step); width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center;
  background: var(--grad); color: var(--ink); font-weight: 800; font-size: 1.35rem; position: relative; z-index: 1;
}
.step h3 { font-size: 1.25rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 1rem; }

/* ---------- Features (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.feat {
  position: relative; padding: clamp(24px, 3vw, 34px); border-radius: 26px; border: 1px solid var(--line); background: var(--card); backdrop-filter: blur(10px);
  overflow: hidden; display: flex; flex-direction: column; gap: 14px; isolation: isolate;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s, box-shadow .35s;
}
.feat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(70,210,255,.16), transparent 60%); opacity: 0; transition: opacity .35s; }
.feat:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow-glow); }
.feat:hover::before { opacity: 1; }
.feat h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.feat p { color: var(--muted); font-size: 1.02rem; }
.feat ul { display: grid; gap: 8px; margin-top: 4px; }
.feat li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.97rem; color: #c7e3f2; }
.feat li .icon { color: var(--green); margin-top: 3px; width: 1.05em; height: 1.05em; }
.feat-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--line); color: var(--green); }
.feat-ic .icon { width: 26px; height: 26px; }
.s7 { grid-column: span 7; } .s5 { grid-column: span 5; } .s4 { grid-column: span 4; } .s6 { grid-column: span 6; }
.feat-mode .art { height: 150px; border-radius: 18px; background: rgba(3, 10, 18, .7); border: 1px solid var(--line); position: relative; overflow: hidden; display: grid; place-items: center; }
.badge-default { position: absolute; top: 14px; right: 14px; padding: 4px 11px; border-radius: 99px; font-size: 0.78rem; font-weight: 700; color: #82ff50; background: rgba(130,255,80,.1); border: 1px solid rgba(130,255,80,.5); display: inline-flex; gap: 6px; align-items: center; }
.badge-default .icon { width: 13px; height: 13px; }

/* start share demo */
.start-demo { margin-top: 6px; padding: 18px; border-radius: 20px; border: 1px solid var(--line); background: rgba(3,10,18,.7); }
.fake-btn {
  width: 100%; min-height: 60px; border-radius: 16px; border: 0; background: var(--grad); color: var(--ink); font-weight: 800; font-size: 1.2rem; letter-spacing: .03em;
  display: flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 0 40px -8px rgba(80,230,120,.8); position: relative; overflow: hidden; transition: transform .2s;
}
.fake-btn:hover { transform: scale(1.02); }
.fake-btn:active { transform: scale(.97); }
.fake-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.5) 50%, transparent 65%); transform: translateX(-130%); animation: sheen 3.6s infinite; }
@keyframes sheen { 60%, 100% { transform: translateX(130%); } }
.demo-note { margin-top: 12px; font-size: 0.88rem; color: var(--muted); min-height: 1.5em; transition: color .2s; }
.demo-note.flash { color: var(--green); }

/* connected devices card */
.dev-list { display: grid; gap: 10px; margin-top: 6px; }
.dev { display: flex; align-items: center; gap: 14px; padding: 15px 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(3,10,18,.7); font-weight: 600; }
.dev .icon { width: 26px; height: 26px; color: var(--blue); }
.dev small { display: block; color: var(--muted); font-weight: 500; font-size: 0.86rem; }
.dev .live { margin-left: auto; width: 11px; height: 11px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); animation: pulse 1.8s infinite; }

/* mode graphics */
.art svg { width: 100%; height: 100%; }
.a-pulse { transform-origin: center; transform-box: fill-box; animation: aPulse 2.4s ease-in-out infinite; }
@keyframes aPulse { 50% { transform: scale(1.18); opacity: .55; } }
.a-dash { stroke-dasharray: 6 8; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }
.a-radar { transform-origin: center; transform-box: fill-box; animation: radar 3s ease-out infinite; opacity: 0; }
.a-radar.r2 { animation-delay: 1s; } .a-radar.r3 { animation-delay: 2s; }
@keyframes radar { 0% { transform: scale(.2); opacity: .9; } 100% { transform: scale(1); opacity: 0; } }
.a-blink { animation: pulse 2s infinite; }

/* plans + nav feature cards */
.plan-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }
.plan-mini > div { padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: rgba(3,10,18,.7); }
.plan-mini > div.p { border-color: rgba(130,255,80,.6); background: rgba(130,255,80,.07); }
.plan-mini small { color: var(--muted); display: block; font-size: 0.86rem; }
.plan-mini b { font-size: 1.3rem; letter-spacing: -0.02em; display: block; margin-top: 2px; }
.nav-demo { display: flex; justify-content: space-between; gap: 4px; padding: 10px 8px; border-radius: 24px; border: 1px solid var(--line-strong); background: rgba(3,10,18,.7); margin-top: 6px; }
.nav-demo button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; border-radius: 16px; background: none; border: 1px solid transparent; font-size: 0.82rem; font-weight: 700; color: var(--blue); transition: all .25s; }
.nav-demo button:hover { background: rgba(70,210,255,.1); }
.nav-demo button.on { color: var(--green); border-color: rgba(80,230,120,.5); background: rgba(80,230,120,.08); }
.nav-demo .icon { width: 24px; height: 24px; }
.nav-caption { color: var(--muted); font-size: 0.95rem; min-height: 3em; margin-top: 8px; }

/* ---------- Screens gallery ---------- */
.gallery { display: flex; gap: clamp(20px, 3vw, 40px); justify-content: center; align-items: flex-start; }
.shot { display: grid; gap: 22px; justify-items: center; text-align: center; flex: none; }
.shot .phone { transform: scale(.86); transform-origin: top center; margin-inline: -21px; margin-bottom: -80px; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.shot:hover .phone { transform: scale(.9) translateY(-8px); }
.shot:nth-child(odd) .phone { margin-top: 0; }
.shot:nth-child(even) .phone { margin-top: 36px; }
.shot h3 { font-size: 1.15rem; }
.shot p { color: var(--muted); font-size: 0.95rem; max-width: 240px; margin-top: 4px; }
.shot figcaption { margin-top: 0; position: relative; }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 920px; margin: 0 auto; }
.plan { position: relative; padding: clamp(28px, 4vw, 44px); border-radius: 30px; border: 1px solid var(--line); background: var(--card); backdrop-filter: blur(10px); display: grid; gap: 18px; overflow: hidden; transition: transform .35s, box-shadow .35s; }
.plan:hover { transform: translateY(-8px); box-shadow: var(--shadow-glow); }
.plan.premium { border-color: rgba(130,255,80,.65); background: linear-gradient(155deg, rgba(130,255,80,.13), rgba(70,210,255,.08) 60%, rgba(10,28,44,.6)); box-shadow: 0 0 60px -26px #82ff50; }
.plan .label { font-weight: 700; color: var(--cyan); font-size: 1rem; }
.plan.premium .label { color: #82ff50; }
.plan .big { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.plan .ring { width: 130px; height: 130px; position: relative; }
.plan .ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.plan .ring circle { fill: none; stroke-width: 9; stroke-linecap: round; }
.plan .ring .track { stroke: rgba(70,210,255,.15); }
.plan .ring .prog { stroke: url(#ringGrad); stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset 2.2s cubic-bezier(.3,.7,.2,1) .3s; }
.plan.in .ring .prog { stroke-dashoffset: 82; }
.plan .ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.5rem; letter-spacing: -0.02em; }
.plan .inf { width: 130px; height: 130px; display: grid; place-items: center; }
.plan .inf svg { width: 130px; height: 80px; }
.plan .inf path { animation: infGlow 3.2s ease-in-out infinite; }
@keyframes infGlow { 0%, 100% { filter: drop-shadow(0 0 0 rgba(130,255,80,0)); } 50% { filter: drop-shadow(0 0 10px rgba(130,255,80,.85)); } }
.plan ul { display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; color: #c7e3f2; }
.plan li .icon { color: var(--green); margin-top: 4px; width: 1.05em; height: 1.05em; }
.ribbon { position: absolute; top: 20px; right: 20px; padding: 5px 13px; border-radius: 99px; font-size: 0.8rem; font-weight: 800; background: var(--grad); color: var(--ink); }

/* ---------- Download ---------- */
.dl-card {
  position: relative; margin: clamp(60px, 8vw, 100px) auto 0; max-width: 1000px; padding: clamp(30px, 5vw, 60px); border-radius: 36px; overflow: hidden;
  border: 1px solid var(--line-strong); background: linear-gradient(140deg, rgba(80,230,120,.14), rgba(70,210,255,.1) 55%, rgba(6,19,32,.8));
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 56px); align-items: center;
}
.dl-card::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(130,255,80,.35), transparent 65%); filter: blur(30px); z-index: 0; }
.dl-card > * { position: relative; z-index: 1; }
.dl-card h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.dl-card p.lead { color: var(--muted); margin-top: 14px; }
.dl-card .btn { margin-top: 28px; }
.spec { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.spec li { padding: 6px 13px; border-radius: 99px; border: 1px solid var(--line); background: rgba(3,10,18,.5); font-size: 0.88rem; color: var(--muted); }
.install { display: grid; gap: 12px; padding: 24px; border-radius: 24px; background: rgba(3,10,18,.62); border: 1px solid var(--line); }
.install h3 { font-size: 1.1rem; }
.install ol { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 12px; counter-reset: i; }
.install li { counter-increment: i; display: flex; gap: 12px; color: #c7e3f2; font-size: 0.97rem; }
.install li::before { content: counter(i); flex: none; width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; background: var(--grad); color: var(--ink); font-weight: 800; font-size: 0.85rem; margin-top: 2px; }
.dl-card .btn .android-fill { color: var(--ink); }

/* ---------- Stores ---------- */
.stores { padding-top: clamp(50px, 7vw, 80px); padding-bottom: clamp(70px, 9vw, 110px); }
.store-panel { max-width: 1000px; margin: 0 auto; padding: clamp(30px, 5vw, 56px); border-radius: 34px; border: 1px solid var(--line); background: var(--card); backdrop-filter: blur(10px); text-align: center; }
.store-panel h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.store-panel > p { color: var(--muted); margin: 14px auto 0; max-width: 54ch; }
.store-row { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; align-items: stretch; margin-top: 38px; }
.store-item { display: grid; gap: 12px; justify-items: center; }
.store-item .cap { font-size: 0.9rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.appstore-btn { display: block; border: 0; background: none; padding: 0; border-radius: 12px; transition: transform .3s, filter .3s; }
.appstore-btn img { height: 62px; width: auto; }
.appstore-btn:hover { transform: translateY(-5px) scale(1.03); filter: drop-shadow(0 12px 22px rgba(70,210,255,.35)); }
.play-badge {
  position: relative; display: flex; align-items: center; gap: 13px; height: 62px; padding: 0 22px 0 16px; border-radius: 12px; background: #000; border: 1.5px solid #8a8a8a; color: #fff; cursor: default; user-select: none;
}
.play-badge img { width: 34px; height: 34px; }
.play-badge small { display: block; font-size: 0.66rem; letter-spacing: .08em; opacity: .85; line-height: 1; }
.play-badge b { display: block; font-size: 1.45rem; font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; }
.soon-pill { padding: 4px 14px; border-radius: 99px; font-weight: 800; font-size: 0.82rem; background: var(--grad); color: var(--ink); animation: glowPill 2.4s ease-in-out infinite; }
@keyframes glowPill { 50% { box-shadow: 0 0 22px rgba(80,230,120,.7); } }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); background: rgba(3, 10, 18, .85); padding: 56px 0 34px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot-grid p { color: var(--muted); margin-top: 14px; max-width: 38ch; font-size: 0.97rem; }
.foot-grid h4 { font-size: 0.98rem; margin-bottom: 14px; color: var(--text); letter-spacing: 0; }
.foot-grid li + li { margin-top: 9px; }
.foot-grid a { color: var(--muted); transition: color .2s; font-size: 0.97rem; }
.foot-grid a:hover { color: var(--green); }
.foot-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--muted); font-size: 0.9rem; }

/* ---------- Toast + to-top ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 300; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; padding: 13px 22px; border-radius: 16px;
  background: rgba(232, 246, 255, .97); color: #04121e; font-weight: 700; font-size: 0.96rem; max-width: calc(100% - 40px); text-align: center; box-shadow: 0 20px 50px -10px rgba(0,0,0,.7); transition: opacity .3s, transform .3s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(6,19,32,.9); display: grid; place-items: center; opacity: 0; transform: translateY(20px); pointer-events: none; transition: all .3s; color: var(--green); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--green); color: var(--ink); }

/* ---------- Legal pages ---------- */
.legal-hero { padding: calc(var(--nav-h) + 70px) 0 30px; }
.legal-hero h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); letter-spacing: -0.035em; }
.legal-hero p { color: var(--muted); margin-top: 16px; font-size: 1.1rem; }
.legal-wrap > * { min-width: 0; }
.legal-wrap { padding: 20px 0 100px; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 50px; align-items: start; }
.toc { position: sticky; top: calc(var(--nav-h) + 24px); padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); backdrop-filter: blur(10px); }
.toc h2 { font-size: 0.98rem; margin-bottom: 12px; letter-spacing: 0; }
.toc a { display: block; padding: 7px 10px; border-radius: 10px; color: var(--muted); font-size: 0.93rem; line-height: 1.35; transition: all .2s; }
.toc a:hover, .toc a.active { color: var(--text); background: rgba(70,210,255,.1); }
.legal-body { padding: clamp(26px, 4vw, 46px); border-radius: 28px; border: 1px solid var(--line); background: var(--card); backdrop-filter: blur(10px); }
.legal-body section { padding: 0; margin-bottom: 40px; scroll-margin-top: calc(var(--nav-h) + 24px); }
.legal-body section:last-child { margin-bottom: 0; }
.legal-body h2 { font-size: 1.5rem; margin-bottom: 14px; }
.legal-body h3 { font-size: 1.1rem; margin: 20px 0 8px; letter-spacing: -0.01em; }
.legal-body p, .legal-body li { color: #bcd8e8; font-size: 1.02rem; }
.legal-body p + p { margin-top: 12px; }
.legal-body ul { display: grid; gap: 8px; margin: 12px 0; padding-left: 4px; }
.legal-body li { position: relative; padding-left: 24px; }
.legal-body li::before { content: ""; position: absolute; left: 4px; top: 0.7em; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.legal-body a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.callout { margin: 18px 0; padding: 18px 20px; border-radius: 16px; border: 1px solid rgba(80,230,120,.45); background: rgba(80,230,120,.07); color: #d4f6e0; }
.callout strong { color: var(--green); }
.table-wrap { overflow-x: auto; margin: 14px 0; border-radius: 16px; border: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; min-width: 520px; }
th, td { padding: 13px 16px; text-align: left; font-size: 0.97rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: rgba(70,210,255,.08); color: var(--text); font-weight: 700; }
td { color: #bcd8e8; }
tr:last-child td { border-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .gallery { flex-wrap: wrap; row-gap: 20px; }
  .shot:nth-child(even) .phone { margin-top: 0; }
}
@media (min-width: 961px) { .hero h1 span { white-space: nowrap; } }
@media (max-width: 960px) {
  .hero h1 { font-size: clamp(2.3rem, 8.5vw, 4rem); }
  .hero { min-height: auto; }
  .hero-grid, .about-grid, .dl-card { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-cta, .hero-meta { justify-content: center; }
  .stage { min-height: 560px; margin-top: 20px; }
  .float-chip.c1 { left: 0; } .float-chip.c2 { right: 0; }
  .s7, .s5, .s6 { grid-column: span 12; }
  .s4 { grid-column: span 6; }
  .s4:last-of-type { grid-column: span 12; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: span 2; }
  .legal-wrap { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
  .toc nav { display: flex; flex-wrap: wrap; gap: 4px; }
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 6px; padding: 16px 20px 24px;
    background: rgba(3, 10, 18, .97); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all .3s;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a:not(.btn) { padding: 14px 16px; font-size: 1.05rem; }
  .nav-links .btn { margin: 8px 0 0; min-height: 52px; }
}
@media (max-width: 680px) {
  .bento { gap: 16px; }
  .s4 { grid-column: span 12; }
  .plans { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-grid > :first-child { grid-column: auto; }
  .float-chip { display: none; }
  .stage { min-height: 520px; }
  .phone { transform: scale(.92); }
  .phone-wrap .phone { transform: scale(.9); }
  .hero-cta .btn { width: 100%; }
  .gallery { gap: 4px; }
  .shot .phone { transform: scale(.8); margin-inline: -30px; margin-bottom: -118px; }
  .shot:hover .phone { transform: scale(.8); }
  .step { grid-template-columns: 1fr; gap: 14px; }
  .steps::before { display: none; }
  .nav-demo button { font-size: 0.7rem; }
  .plan-mini { grid-template-columns: 1fr; }
  .store-row { flex-direction: column; align-items: center; }
}
@media (max-width: 380px) {
  .facts { grid-template-columns: 1fr; }
  .container { width: calc(100% - 28px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  #net { display: none; }
}
