/* ==========================================================================
   NearBuyGoods — landing page stylesheet
   Design framework: same tokens as the app (public/css/app.css) so the site,
   the PWA and the Android shell read as one product.
   Layout/animation language: Appzen-style app landing page
   (hero + mockups, marquee, feature grid, alternating benefits, screens
   slider, counters, testimonials, steps, pricing, FAQ, download CTA).
   ========================================================================== */

/* ---------------------------------------------------------------- tokens */
:root {
  --navy: #232c5c;
  --navy-2: #2e3a75;
  --navy-3: #1a2145;
  --navy-soft: #eef0fa;
  --orange: #e87b29;
  --orange-dark: #c9661a;
  --orange-soft: #fdefe3;
  --teal: #2fbcc7;
  --teal-dark: #0d7f88;
  --teal-soft: #e3f7f8;
  --pink: #e56a8c;
  --pink-soft: #fdeaf1;
  --purple: #7c6bc8;
  --purple-soft: #eeecfa;
  --bg: #f6f7fb;
  --bg-2: #ffffff;
  --card: #ffffff;
  --line: #e5e8f2;
  --text: #1d2433;
  --muted: #68718a;
  --ok: #0a7d5c;
  --ok-soft: #e2f4ee;

  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 12px;
  --shadow: 0 2px 10px rgba(29, 36, 51, .06), 0 8px 24px rgba(29, 36, 51, .06);
  --shadow-md: 0 6px 18px rgba(29, 36, 51, .08), 0 16px 40px rgba(29, 36, 51, .09);
  --shadow-lg: 0 10px 26px rgba(29, 36, 51, .12), 0 30px 70px rgba(29, 36, 51, .16);
  --glow-orange: 0 10px 30px rgba(232, 123, 41, .35);
  --glow-navy: 0 18px 44px rgba(35, 44, 92, .28);

  --wrap: 1200px;
  --gutter: clamp(18px, 4vw, 32px);

  /* Typography — the wordmark is a high-contrast serif, so display type leans
     on the elegant serifs every platform already ships (Didot/Bodoni on Apple,
     Georgia on Windows, Noto Serif on Android). Zero webfont downloads. */
  --font-display: Didot, "Bodoni 72", "Playfair Display", Baskerville, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --top-h: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.62 var(--font-ui);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--navy-2); text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--orange-soft); color: var(--navy); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
section[id] { scroll-margin-top: calc(var(--top-h) + 14px); }
.skip {
  position: absolute; left: 50%; top: -60px; transform: translateX(-50%); z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 0 0 14px 14px; font-weight: 700;
  transition: top .2s;
}
.skip:focus { top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ------------------------------------------------------------ typography */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -.015em;
  line-height: 1.05;
  color: var(--navy);
}
.display em { font-style: italic; color: var(--orange); }
.h1 { font-size: clamp(2.35rem, 6.4vw, 4.4rem); }
.h2 { font-size: clamp(1.85rem, 4.4vw, 3rem); }
.h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-family: var(--font-display); font-weight: 500; color: var(--navy); }
.h4 { font-size: 1.06rem; font-weight: 800; letter-spacing: -.01em; color: var(--navy); }
.lead { font-size: clamp(1rem, 1.35vw, 1.12rem); color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.tiny { font-size: .78rem; }
.bold { font-weight: 800; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; border-radius: 999px;
  background: var(--orange-soft); color: var(--orange-dark);
  font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); animation: pulseDot 1.8s infinite; }
.eyebrow.on-dark { background: rgba(255, 255, 255, .12); color: #ffd9b8; }
.sechead { max-width: 760px; margin: 0 auto clamp(34px, 5vw, 58px); text-align: center; }
.sechead .display { margin: 16px 0 14px; }

.rule { width: 62px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--orange), var(--teal)); }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-weight: 800; font-size: .95rem;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .18s cubic-bezier(.2, .8, .2, 1), box-shadow .22s, background .22s, color .22s, border-color .22s;
}
.btn svg { width: 19px; height: 19px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn.primary { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); color: #fff; box-shadow: var(--glow-orange); }
.btn.primary:hover { box-shadow: 0 16px 38px rgba(232, 123, 41, .45); }
.btn.navy { background: var(--navy); color: #fff; box-shadow: var(--glow-navy); }
.btn.navy:hover { background: var(--navy-2); }
.btn.light { background: #fff; color: var(--navy); box-shadow: var(--shadow); }
.btn.ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--navy); background: #fff; }
.btn.on-dark { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(6px); }
.btn.on-dark:hover { background: rgba(255, 255, 255, .2); }
.btn.sm { padding: 11px 18px; font-size: .86rem; }
.btn.lg { padding: 17px 32px; font-size: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link { color: var(--orange-dark); font-weight: 800; display: inline-flex; align-items: center; gap: 7px; }
.link svg { width: 16px; height: 16px; transition: transform .2s; }
.link:hover svg { transform: translateX(4px); }

/* store buttons */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.storebtn {
  display: inline-flex; align-items: center; gap: 12px; padding: 11px 20px 11px 16px;
  border-radius: 16px; background: var(--navy); color: #fff; border: 1.5px solid var(--navy);
  transition: transform .18s, box-shadow .22s, background .22s, border-color .22s;
}
.storebtn:hover { transform: translateY(-2px); box-shadow: var(--glow-navy); }
.storebtn svg { width: 26px; height: 26px; flex: none; }
.storebtn .st { display: flex; flex-direction: column; line-height: 1.15; }
.storebtn .st small { font-size: .64rem; letter-spacing: .06em; text-transform: uppercase; opacity: .78; font-weight: 700; }
.storebtn .st b { font-size: .98rem; font-weight: 800; letter-spacing: -.01em; }
.storebtn.light { background: #fff; color: var(--navy); border-color: var(--line); }
.storebtn.light:hover { border-color: var(--navy); box-shadow: var(--shadow-md); }
.storebtn.soon { position: relative; }
.storebtn.soon .tag {
  position: absolute; top: -9px; right: -8px; padding: 3px 9px; border-radius: 999px;
  background: var(--teal); color: #04343a; font-size: .6rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase;
}

/* --------------------------------------------------------------- badges */
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 9px;
  font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
}
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.orange { background: var(--orange-soft); color: var(--orange-dark); }
.badge.navy { background: var(--navy-soft); color: var(--navy); }
.badge.teal { background: var(--teal-soft); color: var(--teal-dark); }
.badge.pink { background: var(--pink-soft); color: #b6385c; }
.badge.line { background: #fff; border: 1px solid var(--line); color: var(--muted); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.itile {
  width: 56px; height: 56px; flex: none; border-radius: 18px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy-soft), #fff); border: 1px solid var(--line); color: var(--navy);
}
.itile svg { width: 26px; height: 26px; }
.itile.orange { background: linear-gradient(135deg, var(--orange-soft), #fff); color: var(--orange-dark); border-color: #f6dcc6; }
.itile.teal { background: linear-gradient(135deg, var(--teal-soft), #fff); color: var(--teal-dark); border-color: #cdeef1; }
.itile.pink { background: linear-gradient(135deg, var(--pink-soft), #fff); color: #b6385c; border-color: #f8d7e2; }
.itile.purple { background: linear-gradient(135deg, var(--purple-soft), #fff); color: #5a49ab; border-color: #ded9f6; }

/* ------------------------------------------------------------- preloader */
#preload {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; gap: 18px;
  background: var(--navy); transition: opacity .45s ease, visibility .45s;
}
#preload.done { opacity: 0; visibility: hidden; }
#preload .pl { display: grid; justify-items: center; gap: 20px; }
#preload .pl svg { width: 92px; height: 92px; animation: float 2.4s ease-in-out infinite; }
#preload .bar { width: 168px; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .18); overflow: hidden; }
#preload .bar i { display: block; width: 42%; height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--orange), var(--teal)); animation: slide 1.05s infinite ease-in-out; }
#preload p { margin: 0; color: rgba(255, 255, 255, .72); font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; }

/* --------------------------------------------------------- scroll + chrome */
#progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%; z-index: 120;
  background: linear-gradient(90deg, var(--orange), var(--pink), var(--teal));
  transition: width .12s linear;
}
#totop {
  position: fixed; right: 20px; bottom: 22px; z-index: 110;
  width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center;
  background: var(--navy); color: #fff; box-shadow: var(--glow-navy);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .25s;
}
#totop.show { opacity: 1; visibility: visible; transform: translateY(0); }
#totop:hover { background: var(--orange); }
#totop svg { width: 22px; height: 22px; }

/* ---------------------------------------------------------------- header */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--top-h); display: flex; align-items: center;
  background: rgba(246, 247, 251, .72); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, box-shadow .3s, height .3s;
}
.top.stuck { background: rgba(255, 255, 255, .92); border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(29, 36, 51, .06); height: 96px; }
.top .wrap { display: flex; align-items: center; gap: 22px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand .mark { width: 44px; height: 44px; flex: none; }
.brand .bar { width: 2px; height: 34px; border-radius: 2px; background: var(--line); }
.brand .word { display: flex; flex-direction: column; font-family: var(--font-display); color: var(--orange); line-height: .92; letter-spacing: .005em; }
.brand .word b { font-weight: 500; font-size: 1.16rem; }
.brand .word i { font-style: normal; font-size: 1.16rem; }
.brand.on-dark .word { color: #ffa45c; }
.brand.on-dark .bar { background: rgba(255, 255, 255, .22); }
.top .nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.top .nav a {
  position: relative; padding: 9px 13px; border-radius: 10px; color: var(--navy);
  font-size: .92rem; font-weight: 700; transition: color .2s, background .2s;
}
.top .nav a::after {
  content: ''; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.top .nav a:hover { background: rgba(35, 44, 92, .05); }
.top .nav a:hover::after, .top .nav a.active::after { transform: scaleX(1); }
.top .nav a.active { color: var(--orange-dark); }
/* Header action cluster. Deliberately NOT `.cta`: that class is the dark download
   card (navy gradient + large padding + radius), and matching it gave the bar an
   ~106px tall dark panel behind the burger instead of a 66px top bar. */
.hdr-cta { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; place-items: center; }
.burger svg { width: 22px; height: 22px; }
.burger .i2 { display: none; }
body.menu-open .burger .i1 { display: none; }
body.menu-open .burger .i2 { display: block; }
.drawer {
  position: fixed; inset: var(--top-h) 0 auto 0; z-index: 99; padding: 18px var(--gutter) 26px;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
  transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .26s cubic-bezier(.2, .8, .2, 1);
}
.drawer.show { transform: translateY(0); opacity: 1; visibility: visible; }
.drawer a { display: flex; align-items: center; justify-content: space-between; padding: 15px 4px; border-bottom: 1px solid var(--line); font-weight: 800; color: var(--navy); }
.drawer a:last-of-type { border-bottom: 0; }
.drawer .btn { width: 100%; margin-top: 14px; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; padding: calc(var(--top-h) + clamp(30px, 6vw, 66px)) 0 clamp(50px, 7vw, 96px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg .grad {
  position: absolute; inset: 0;
  background:
    radial-gradient(1100px 620px at 78% -8%, rgba(232, 123, 41, .16), transparent 62%),
    radial-gradient(900px 520px at 4% 12%, rgba(47, 188, 199, .15), transparent 60%),
    radial-gradient(760px 520px at 52% 108%, rgba(124, 107, 200, .14), transparent 62%),
    linear-gradient(180deg, #fbfcff 0%, var(--bg) 55%, #eef1fa 100%);
}
.hero-bg .grid-lines {
  position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(35, 44, 92, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(35, 44, 92, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(75% 62% at 50% 30%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(75% 62% at 50% 30%, #000 20%, transparent 78%);
}
.blob { position: absolute; border-radius: 46% 54% 58% 42% / 50% 44% 56% 50%; filter: blur(6px); opacity: .5; animation: blob 16s ease-in-out infinite; }
.blob.b1 { width: 320px; height: 300px; left: -80px; top: 60px; background: radial-gradient(circle at 40% 40%, rgba(232, 123, 41, .35), transparent 68%); }
.blob.b2 { width: 380px; height: 340px; right: -110px; top: 180px; background: radial-gradient(circle at 60% 40%, rgba(47, 188, 199, .32), transparent 68%); animation-delay: -5s; }
.blob.b3 { width: 300px; height: 280px; right: 32%; bottom: -120px; background: radial-gradient(circle at 50% 50%, rgba(124, 107, 200, .3), transparent 68%); animation-delay: -9s; }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: clamp(28px, 4vw, 54px); align-items: center; }
.hero-copy .display { margin: 20px 0 18px; }
.hero-copy .lead { font-size: clamp(1.02rem, 1.45vw, 1.16rem); }
.hero-actions { margin: 26px 0 18px; }
.hero-note { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .86rem; }
.hero-note svg { width: 17px; height: 17px; color: var(--ok); flex: none; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(35, 44, 92, .1); }
.hero-stats .st b { display: block; font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--navy); line-height: 1; }
.hero-stats .st span { display: block; margin-top: 6px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.hero-avatars { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.hero-avatars .stack { display: flex; }
.hero-avatars .av {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; margin-left: -12px;
  border: 3px solid #fff; color: #fff; font-weight: 800; font-size: .82rem; box-shadow: var(--shadow);
}
.hero-avatars .av:first-child { margin-left: 0; }
.hero-avatars .who { font-size: .86rem; color: var(--muted); }
.hero-avatars .who b { color: var(--navy); }
.stars { color: #f2a71b; letter-spacing: 2px; font-size: .92rem; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 520px; }
.hero-ring {
  position: absolute; width: 470px; height: 470px; border-radius: 50%; border: 2px dashed rgba(35, 44, 92, .16);
  animation: spin 44s linear infinite;
}
.hero-ring.r2 { width: 590px; height: 590px; border-style: solid; border-color: rgba(47, 188, 199, .2); animation-duration: 62s; animation-direction: reverse; }
.hero-visual .float { position: absolute; z-index: 4; animation: float 5.5s ease-in-out infinite; }
.float.alertcard {
  left: -6%; top: 16%; padding: 13px 16px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-lg);
  display: flex; gap: 11px; align-items: center; max-width: 250px;
}
.float.alertcard .ic { width: 38px; height: 38px; border-radius: 12px; background: var(--orange-soft); color: var(--orange-dark); display: grid; place-items: center; flex: none; }
.float.alertcard .ic svg { width: 20px; height: 20px; }
.float.alertcard b { display: block; font-size: .84rem; }
.float.alertcard span { font-size: .74rem; color: var(--muted); }
.float.pricecard {
  right: -4%; bottom: 16%; padding: 14px 16px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-lg);
  max-width: 210px; animation-delay: -2.4s;
}
.float.pricecard .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.float.pricecard .big { font-family: var(--font-display); font-size: 1.5rem; color: var(--navy); line-height: 1; }
.float.pricecard .dash { font-size: .74rem; color: var(--muted); }
.float.camfab {
  width: 62px; height: 62px; border-radius: 22px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark)); box-shadow: var(--glow-orange);
  left: 16%; bottom: 4%; animation-delay: -1.2s;
}
.float.camfab svg { width: 28px; height: 28px; }
.float.ratingchip {
  right: 10%; top: 4%; padding: 10px 14px; border-radius: 999px; background: var(--navy); color: #fff;
  display: flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 800; box-shadow: var(--glow-navy); animation-delay: -3.4s;
}
.float.ratingchip svg { width: 16px; height: 16px; }

/* ------------------------------------------------------- phone mockups */
.phone {
  position: relative; width: 292px; flex: none;
  aspect-ratio: 9 / 19.2; padding: 11px; border-radius: 46px;
  background: linear-gradient(160deg, #101733, #232c5c 45%, #101733);
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, .12);
}
.phone::after { /* side buttons */
  content: ''; position: absolute; right: -3px; top: 24%; width: 3px; height: 62px; border-radius: 3px; background: rgba(255, 255, 255, .18);
}
.phone .screen {
  position: relative; height: 100%; border-radius: 36px; overflow: hidden;
  background: var(--bg); display: flex; flex-direction: column;
}
.phone .island {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 78px; height: 20px; border-radius: 999px; background: #0b1024; z-index: 20;
}
.hero-phone { width: 306px; animation: float 7s ease-in-out infinite; }
.hero-visual .phone { z-index: 3; }
.phone.tilt-r { transform: rotate(2.2deg); }
.phone.tilt-l { transform: rotate(-2.2deg); }

/* status bar */
.a-status { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px 4px; font-size: .62rem; font-weight: 800; color: #fff; }
.a-status.on-light { color: var(--navy); }
.a-status .dots { display: flex; gap: 3px; align-items: center; }
.a-status .dots i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .75; }
.a-status .dots i:first-child { width: 12px; height: 6px; border-radius: 3px; }

/* app chrome */
.a-top {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: var(--navy); color: #fff;
}
.a-top .m { width: 22px; height: 22px; flex: none; }
.a-top .t { font-weight: 800; font-size: .74rem; letter-spacing: -.01em; }
.a-top .loc {
  margin-left: auto; display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 999px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .16); font-size: .6rem; font-weight: 700;
}
.a-top .loc svg { width: 11px; height: 11px; color: var(--teal); }
.a-top .bell { position: relative; margin-left: 2px; }
.a-top .bell svg { width: 16px; height: 16px; }
.a-top .bell b { position: absolute; top: -3px; right: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); border: 1.5px solid var(--navy); }
.a-body { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.a-body.tight { padding: 10px; gap: 8px; }
.a-hi b { font-size: .94rem; font-weight: 800; color: var(--navy); display: block; letter-spacing: -.01em; }
.a-hi span { font-size: .66rem; color: var(--muted); }
.a-search {
  display: flex; align-items: center; gap: 7px; background: #fff; border: 1.5px solid var(--line);
  border-radius: 13px; padding: 8px 9px; box-shadow: var(--shadow);
}
.a-search svg { width: 15px; height: 15px; color: var(--muted); flex: none; }
.a-search span { font-size: .68rem; color: #9aa2b8; flex: 1; }
.a-search .cam { width: 26px; height: 26px; border-radius: 9px; background: linear-gradient(135deg, var(--orange), var(--orange-dark)); display: grid; place-items: center; flex: none; }
.a-search .cam svg { width: 14px; height: 14px; color: #fff; }
.a-cta {
  display: flex; align-items: center; gap: 10px; padding: 11px; border-radius: 16px; color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
}
.a-cta .ic { width: 38px; height: 38px; border-radius: 12px; background: rgba(255, 255, 255, .14); display: grid; place-items: center; flex: none; }
.a-cta .ic svg { width: 20px; height: 20px; }
.a-cta b { display: block; font-size: .76rem; font-weight: 800; }
.a-cta span { display: block; font-size: .62rem; opacity: .82; line-height: 1.35; }
.a-sec { display: flex; align-items: baseline; justify-content: space-between; margin-top: 2px; }
.a-sec b { font-size: .74rem; font-weight: 800; color: var(--navy); }
.a-sec span { font-size: .6rem; font-weight: 700; color: var(--orange-dark); }
.a-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.a-cat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 7px 3px; text-align: center; }
.a-cat i { display: block; font-style: normal; font-size: .95rem; }
.a-cat span { display: block; font-size: .5rem; font-weight: 700; color: var(--muted); margin-top: 2px; }
.a-deal {
  border-radius: 14px; padding: 10px 12px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
}
.a-deal .pct { position: absolute; right: -4px; top: -12px; font-size: 2.2rem; font-weight: 900; opacity: .16; }
.a-deal b { display: block; font-size: .72rem; }
.a-deal span { font-size: .58rem; opacity: .85; }
.a-offer { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 8px; }
.a-offer .em { width: 32px; height: 32px; border-radius: 10px; background: linear-gradient(135deg, var(--navy-soft), #fff); border: 1px solid var(--line); display: grid; place-items: center; font-size: .95rem; flex: none; }
.a-offer .tx { flex: 1; min-width: 0; }
.a-offer .tx b { display: block; font-size: .64rem; font-weight: 800; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-offer .tx span { display: block; font-size: .55rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-offer .pr { text-align: right; flex: none; }
.a-offer .pr b { display: block; font-size: .68rem; font-weight: 800; color: var(--navy); }
.a-offer .pr span { font-size: .5rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.a-offer .pr span.ok { color: var(--ok); }
.a-offer .pr span.warn { color: var(--orange-dark); }
.a-nav {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center; background: #fff;
  border-top: 1px solid var(--line); padding: 7px 6px 9px;
}
.a-nav .it { display: grid; justify-items: center; gap: 3px; font-size: .46rem; font-weight: 800; color: var(--muted); }
.a-nav .it svg { width: 15px; height: 15px; }
.a-nav .it.on { color: var(--navy); }
.a-nav .fab {
  width: 38px; height: 38px; border-radius: 13px; margin-top: -18px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark)); box-shadow: 0 6px 16px rgba(232, 123, 41, .45);
}
.a-nav .fab svg { width: 19px; height: 19px; }
.a-toast {
  position: absolute; left: 12px; right: 12px; z-index: 12; display: flex; gap: 8px; align-items: center;
  background: var(--navy); color: #fff; border-radius: 13px; padding: 9px 11px; box-shadow: var(--shadow-lg);
  font-size: .62rem; font-weight: 700;
}
.a-toast svg { width: 14px; height: 14px; flex: none; color: #7ff0c4; }
.a-toast.top { top: 44px; animation: drop 4.5s ease-in-out infinite; }

/* camera / recognition screen */
.a-cam { flex: 1; position: relative; background: radial-gradient(120% 90% at 50% 10%, #2b3568, #0d1226 70%); overflow: hidden; }
.a-cam .frame { position: absolute; inset: 26% 14% 30%; border: 2px dashed rgba(255, 255, 255, .75); border-radius: 16px; }
.a-cam .scan { position: absolute; left: 14%; right: 14%; height: 3px; border-radius: 3px; background: var(--teal); box-shadow: 0 0 16px var(--teal); animation: scan 2.6s ease-in-out infinite alternate; }
.a-cam .hint {
  position: absolute; left: 0; right: 0; bottom: 16%; text-align: center; color: rgba(255, 255, 255, .82);
  font-size: .6rem; font-weight: 700; letter-spacing: .04em;
}
.a-cam .chips { position: absolute; left: 10px; right: 10px; bottom: 8px; display: flex; gap: 6px; justify-content: center; }
.a-cam .chips span { padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; font-size: .55rem; font-weight: 800; }
.a-sheet { background: #fff; border-radius: 20px 20px 0 0; padding: 10px 12px 14px; }
.a-sheet .grab { width: 34px; height: 4px; border-radius: 3px; background: var(--line); margin: 0 auto 10px; }
.a-sheet h5 { margin: 0 0 8px; font-size: .72rem; font-weight: 800; color: var(--navy); }
.a-cand { display: flex; gap: 8px; align-items: center; padding: 7px 0; border-top: 1px solid var(--line); }
.a-cand:first-of-type { border-top: 0; }
.a-cand .em { width: 30px; height: 30px; border-radius: 10px; background: var(--navy-soft); display: grid; place-items: center; font-size: .9rem; flex: none; }
.a-cand .cx { flex: 1; min-width: 0; }
.a-cand .cx b { display: block; font-size: .62rem; font-weight: 800; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-cand .bar { height: 4px; border-radius: 4px; background: var(--navy-soft); margin-top: 5px; overflow: hidden; }
.a-cand .bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--teal), var(--ok)); }
.a-cand .pc { font-size: .58rem; font-weight: 800; color: var(--ok); flex: none; }

/* product / compare screen */
.a-hero-em { display: grid; place-items: center; gap: 4px; padding: 12px; border-radius: 16px; background: linear-gradient(135deg, var(--navy-soft), #fff); border: 1px solid var(--line); }
.a-hero-em i { font-style: normal; font-size: 2rem; }
.a-hero-em b { font-size: .7rem; font-weight: 800; color: var(--navy); text-align: center; }
.a-hero-em span { font-size: .56rem; color: var(--muted); }
.a-chart { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 9px 10px; }
.a-chart .hd { display: flex; align-items: baseline; justify-content: space-between; }
.a-chart .hd b { font-size: .62rem; font-weight: 800; color: var(--navy); }
.a-chart .hd span { font-size: .54rem; color: var(--muted); }
.a-chart svg { width: 100%; height: 46px; margin-top: 6px; overflow: visible; }
.a-chart .line { fill: none; stroke: var(--orange); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.a-chart .area { fill: url(#chartFill); }
.a-chart .dot { fill: #fff; stroke: var(--orange); stroke-width: 2; }
.a-price { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.a-price.best { border-color: #bfe9dd; background: linear-gradient(135deg, var(--ok-soft), #fff); }
.a-price .st { min-width: 0; }
.a-price .st b { display: block; font-size: .62rem; font-weight: 800; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-price .st span { font-size: .54rem; color: var(--muted); }
.a-price .amt { text-align: right; flex: none; }
.a-price .amt b { display: block; font-size: .7rem; font-weight: 800; color: var(--navy); }
.a-price .amt span { font-size: .5rem; font-weight: 800; color: var(--ok); }
.a-btnrow { display: flex; gap: 7px; }
.a-btnrow .b { flex: 1; text-align: center; padding: 9px 6px; border-radius: 12px; font-size: .62rem; font-weight: 800; }
.a-btnrow .b.p { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); color: #fff; }
.a-btnrow .b.g { background: var(--navy-soft); color: var(--navy); }

/* alerts screen */
.a-notif { display: flex; gap: 8px; padding: 9px; border-radius: 13px; background: #fff; border: 1px solid var(--line); }
.a-notif.unread { border-color: #f6d6b8; background: var(--orange-soft); }
.a-notif .ic { width: 30px; height: 30px; border-radius: 10px; background: #fff; display: grid; place-items: center; font-size: .85rem; flex: none; }
.a-notif b { display: block; font-size: .63rem; font-weight: 800; color: var(--navy); }
.a-notif span { display: block; font-size: .56rem; color: var(--muted); line-height: 1.4; }

/* business dashboard screen */
.a-kpis { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
.a-kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 9px; }
.a-kpi b { display: block; font-family: var(--font-display); font-size: .95rem; color: var(--navy); line-height: 1; }
.a-kpi span { display: block; font-size: .5rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.a-bars { display: flex; align-items: flex-end; gap: 5px; height: 52px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 13px; }
.a-bars i { flex: 1; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, var(--teal), rgba(47, 188, 199, .35)); animation: grow 2.4s ease-in-out infinite alternate; transform-origin: bottom; }
.a-bars i:nth-child(2n) { background: linear-gradient(180deg, var(--orange), rgba(232, 123, 41, .35)); }
.a-row { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px; }
.a-row .ic { width: 28px; height: 28px; border-radius: 9px; background: var(--navy-soft); display: grid; place-items: center; flex: none; }
.a-row .ic svg { width: 15px; height: 15px; color: var(--navy); }
.a-row b { display: block; font-size: .62rem; font-weight: 800; color: var(--navy); }
.a-row span { font-size: .54rem; color: var(--muted); }

/* --------------------------------------------------------------- marquee */
.marquee { position: relative; overflow: hidden; padding: 16px 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee .track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee .set { display: flex; align-items: center; }
.marquee .item {
  display: inline-flex; align-items: center; gap: 10px; padding: 0 26px; white-space: nowrap;
  font-family: var(--font-display); font-size: clamp(1.05rem, 1.7vw, 1.4rem); color: var(--navy);
}
.marquee .item svg { width: 20px; height: 20px; color: var(--orange); flex: none; }
.marquee .item:nth-child(2n) svg { color: var(--teal); }
.marquee .item:nth-child(3n) svg { color: var(--purple); }
.marquee.grey { background: var(--bg); border-color: transparent; }

/* -------------------------------------------------------------- sections */
/* overflow-x: clip (not hidden) keeps decorative glows from adding page-level
   horizontal overflow while still letting card shadows render. `hidden` would
   also turn the section into a scroll container and break sticky children. */
.sec { position: relative; overflow-x: clip; padding: clamp(58px, 8vw, 112px) 0; }
.sec.tight { padding: clamp(44px, 6vw, 78px) 0; }
.sec.white { background: #fff; }
.sec.tint { background: linear-gradient(180deg, var(--bg), #eef1fa); }
.sec.soft { background: var(--navy-soft); }
.sec.dark { background: radial-gradient(1200px 600px at 80% 0%, rgba(232, 123, 41, .22), transparent 60%), radial-gradient(900px 520px at 4% 100%, rgba(47, 188, 199, .2), transparent 62%), linear-gradient(160deg, var(--navy-3), var(--navy) 55%, #2b3468); color: #fff; }
.sec.dark .display, .sec.dark h3 { color: #fff; }
.sec.dark .lead, .sec.dark p { color: rgba(255, 255, 255, .78); }
.sec.dark .rule { background: linear-gradient(90deg, var(--orange), var(--teal)); }
.deco { position: absolute; pointer-events: none; z-index: 0; }
.deco.r { right: -70px; top: 60px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(232, 123, 41, .16), transparent 68%); }
.deco.l { left: -80px; bottom: 40px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(47, 188, 199, .16), transparent 68%); }
.sec > .wrap { position: relative; z-index: 1; }

/* ----------------------------------------------------------------- about */
.about-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.about-visual { position: relative; display: grid; place-items: center; padding: 26px 0; }
.about-visual .phone { transform: rotate(-3deg); }
.about-visual .stackcard {
  position: absolute; right: -8px; bottom: 34px; width: 214px; padding: 14px; border-radius: 20px;
  background: #fff; box-shadow: var(--shadow-lg); animation: float 6s ease-in-out infinite;
}
.about-visual .stackcard .t { display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; color: var(--navy); }
.about-visual .stackcard .t svg { width: 16px; height: 16px; color: var(--orange); }
.about-visual .stackcard .p { margin-top: 8px; font-size: .7rem; color: var(--muted); }
.about-visual .stackcard .prog { height: 6px; border-radius: 6px; background: var(--navy-soft); overflow: hidden; margin-top: 10px; }
.about-visual .stackcard .prog i { display: block; height: 100%; width: 64%; border-radius: 6px; background: linear-gradient(90deg, var(--teal), var(--ok)); }
.mini-feats { display: grid; gap: 16px; margin: 26px 0 30px; }
.minifeat { display: flex; gap: 15px; align-items: flex-start; }
.minifeat .h4 { margin-bottom: 4px; }
.minifeat p { margin: 0; font-size: .92rem; color: var(--muted); }
.checks { display: grid; gap: 11px; margin: 0 0 28px; }
.checks li { display: flex; gap: 11px; align-items: flex-start; font-size: .95rem; }
.checks li svg { width: 20px; height: 20px; color: var(--ok); flex: none; margin-top: 2px; }

/* --------------------------------------------------------------- features */
.fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: clamp(16px, 2vw, 24px); }
.fcard {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 24px 22px; overflow: hidden; box-shadow: var(--shadow);
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), box-shadow .28s, border-color .28s;
}
.fcard::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; border-radius: 4px 4px 0 0;
  background: linear-gradient(90deg, var(--orange), var(--teal)); transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.fcard:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.fcard:hover::before { transform: scaleX(1); }
.fcard .itile { margin-bottom: 18px; transition: transform .3s; }
.fcard:hover .itile { transform: rotate(-6deg) scale(1.06); }
.fcard h3 { font-size: 1.08rem; font-family: var(--font-ui); font-weight: 800; color: var(--navy); letter-spacing: -.01em; margin-bottom: 8px; }
.fcard p { font-size: .89rem; color: var(--muted); margin: 0 0 16px; min-height: 62px; }
.fcard .link { font-size: .82rem; }
.fcard .corner { position: absolute; right: -30px; bottom: -30px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, var(--navy-soft), transparent 70%); opacity: 0; transition: opacity .3s; }
.fcard:hover .corner { opacity: 1; }

/* --------------------------------------------------------------- benefits */
.benefit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.benefit + .benefit { margin-top: clamp(50px, 7vw, 104px); }
.benefit.flip .benefit-copy { order: 2; }
.benefit-copy .display { font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin: 14px 0 16px; }
.benefit-copy p { color: var(--muted); max-width: 52ch; }
.benefit-visual { position: relative; display: grid; place-items: center; }
.benefit-visual .phone { width: 272px; }
.blist { display: grid; gap: 12px; margin: 22px 0 26px; }
.blist li { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; }
.blist li svg { width: 19px; height: 19px; color: var(--orange); flex: none; margin-top: 3px; }
.benefit-visual .glowring { position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(35, 44, 92, .09), transparent 68%); }
.benefit-visual .cardfloat {
  position: absolute; z-index: 5; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 13px 15px; animation: float 6s ease-in-out infinite;
}
.benefit-visual .cardfloat.tl { left: -4%; top: 8%; }
.benefit-visual .cardfloat.br { right: -4%; bottom: 8%; animation-delay: -3s; }
.cardfloat .ln { display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; color: var(--navy); }
.cardfloat .ln svg { width: 16px; height: 16px; color: var(--ok); }
.cardfloat .sm { font-size: .7rem; color: var(--muted); margin-top: 3px; }

/* ----------------------------------------------------------- screens slider */
.screens-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.slider-nav { display: flex; gap: 10px; }
.snav {
  width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: #fff;
  border: 1.5px solid var(--line); color: var(--navy); transition: all .22s;
}
.snav:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-2px); }
.snav svg { width: 20px; height: 20px; }
.snav:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.screens-track {
  display: flex; gap: clamp(18px, 3vw, 34px); overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 12px 4px 30px; scrollbar-width: none; -ms-overflow-style: none;
}
.screens-track::-webkit-scrollbar { display: none; }
.screens-track > * { scroll-snap-align: center; }
.screen-item { display: grid; justify-items: center; gap: 16px; }
.screen-item .cap { text-align: center; max-width: 260px; }
.screen-item .cap b { display: block; font-weight: 800; color: var(--navy); font-size: .95rem; }
.screen-item .cap span { font-size: .82rem; color: var(--muted); }
.screen-item .phone { transition: transform .3s, box-shadow .3s; }
.screen-item:hover .phone { transform: translateY(-10px); }
.dots { display: flex; gap: 8px; justify-content: center; }
.dots button { width: 9px; height: 9px; border-radius: 50%; background: rgba(35, 44, 92, .2); transition: all .25s; }
.dots button.on { width: 28px; border-radius: 6px; background: var(--orange); }

/* ------------------------------------------------------------------ facts */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.fact { text-align: center; padding: 26px 18px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); }
.fact b { display: block; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); line-height: 1; color: #fff; }
.fact b i { font-style: normal; color: var(--orange); }
.fact span { display: block; margin-top: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: rgba(255, 255, 255, .74); }

/* ----------------------------------------------------------- testimonials */
.tst-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(24px, 4vw, 54px); align-items: center; }
.scorecard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 30px 28px; box-shadow: var(--shadow-md); text-align: center; }
.scorecard .big { font-family: var(--font-display); font-size: 3.6rem; line-height: 1; color: var(--navy); }
.scorecard .of { color: var(--muted); font-weight: 700; }
.scorecard .stars { font-size: 1.05rem; }
.scorecard .who { display: flex; justify-content: center; gap: 10px; margin: 18px 0 4px; }
.scorecard .who .av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .82rem; border: 3px solid #fff; box-shadow: var(--shadow); }
.scorecard p { font-size: .84rem; color: var(--muted); margin: 14px 0 0; }
.tst-viewport { overflow: hidden; }
.tst-track { display: flex; transition: transform .55s cubic-bezier(.2, .8, .2, 1); }
/* flex-basis (not min-width) so each slide is exactly one viewport-width of the
   track; min-width:100% let wide content stretch the slide and blow out the grid. */
.tst { flex: 0 0 100%; padding: 4px 6px; }
.tst .quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 30px 30px 26px;
  box-shadow: var(--shadow); position: relative;
}
.tst .quote::before {
  content: '\201C'; position: absolute; right: 24px; top: 6px; font-family: var(--font-display); font-size: 5.4rem; color: var(--orange-soft); line-height: 1;
}
.tst .text { font-size: 1rem; color: var(--text); margin: 14px 0 20px; position: relative; }
.tst .who { display: flex; align-items: center; gap: 12px; }
.tst .who .av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; flex: none; }
.tst .who b { display: block; font-weight: 800; color: var(--navy); font-size: .95rem; }
.tst .who span { font-size: .8rem; color: var(--muted); }
.tst-ctrl { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.demo-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; padding: 14px 16px; border-radius: 16px; background: var(--navy-soft); border: 1px solid #dde2f4; font-size: .82rem; color: var(--muted); }
.demo-note svg { width: 18px; height: 18px; color: var(--navy-2); flex: none; margin-top: 2px; }

/* ------------------------------------------------------------ why choose */
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 66px); align-items: center; }
.why-list { display: grid; gap: 18px; margin: 28px 0 30px; }
.why-item { display: flex; gap: 16px; padding: 18px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.why-item:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.why-item .h4 { margin-bottom: 5px; }
.why-item p { margin: 0; font-size: .88rem; color: var(--muted); }
.why-visual { position: relative; display: grid; place-items: center; }
.why-visual .ring { position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 2px dashed rgba(35, 44, 92, .14); animation: spin 48s linear infinite; }
.why-visual .arrow { position: absolute; left: -14px; top: 44%; color: var(--orange); animation: floatX 5s ease-in-out infinite; }
.why-visual .arrow svg { width: 54px; height: 54px; }

/* ----------------------------------------------------------------- steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 26px); position: relative; }
.steps::before {
  content: ''; position: absolute; left: 6%; right: 6%; top: 46px; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(35, 44, 92, .18) 0 10px, transparent 10px 20px);
}
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 22px 24px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step .num {
  width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 18px;
  font-family: var(--font-display); font-size: 1.35rem; color: #fff; background: linear-gradient(135deg, var(--navy), var(--navy-2));
  box-shadow: var(--glow-navy); position: relative; z-index: 1;
}
.step:nth-child(2) .num { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); box-shadow: var(--glow-orange); }
.step:nth-child(3) .num { background: linear-gradient(135deg, var(--teal), var(--teal-dark)); }
.step:nth-child(4) .num { background: linear-gradient(135deg, var(--purple), #5a49ab); }
.step .h4 { margin-bottom: 8px; }
.step p { font-size: .88rem; color: var(--muted); margin: 0; }

/* --------------------------------------------------------------- pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 26px); align-items: stretch; }
.price {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 30px 26px; box-shadow: var(--shadow); transition: transform .28s, box-shadow .28s;
}
.price:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.price .plan { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.price .plan .itile { width: 46px; height: 46px; border-radius: 14px; }
.price .plan .itile svg { width: 22px; height: 22px; }
.price .plan b { font-size: 1.06rem; font-weight: 800; color: var(--navy); display: block; }
.price .plan span { font-size: .8rem; color: var(--muted); }
.price .amt { display: flex; align-items: flex-end; gap: 6px; margin-bottom: 4px; }
.price .amt b { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--navy); }
.price .amt span { font-size: .85rem; color: var(--muted); padding-bottom: 5px; }
.price .per { font-size: .8rem; color: var(--muted); margin-bottom: 20px; }
.price ul { display: grid; gap: 11px; margin: 0 0 26px; flex: 1; }
.price li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.price li svg { width: 18px; height: 18px; color: var(--ok); flex: none; margin-top: 3px; }
.price li.off { color: #a7adc0; }
.price li.off svg { color: #cfd4e2; }
.price .btn { width: 100%; }
.price.featured { background: linear-gradient(165deg, var(--navy-3), var(--navy) 60%, #2c366e); border-color: transparent; box-shadow: var(--glow-navy); }
.price.featured .plan b, .price.featured .amt b, .price.featured h4 { color: #fff; }
.price.featured .plan span, .price.featured .per, .price.featured li { color: rgba(255, 255, 255, .8); }
.price.featured li svg { color: #7ff0c4; }
.price.featured .itile { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .2); color: #fff; }
.price.featured .ribbon { position: absolute; top: 18px; right: 18px; }
.price-note { margin-top: 26px; text-align: center; display: grid; gap: 10px; justify-items: center; }
.price-note .pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.price-note .pillx { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .82rem; font-weight: 700; color: var(--navy); box-shadow: var(--shadow); }
.price-note .pillx svg { width: 16px; height: 16px; color: var(--orange); }

/* ------------------------------------------------------------------- faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(26px, 4vw, 56px); align-items: start; }
.faq { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .25s, border-color .25s; }
.faq-item.open { box-shadow: var(--shadow-md); border-color: #d9dff2; }
.faq-q { display: flex; align-items: center; gap: 16px; width: 100%; padding: 19px 20px; text-align: left; font-weight: 800; color: var(--navy); font-size: .98rem; }
.faq-q .pm { margin-left: auto; width: 32px; height: 32px; border-radius: 10px; background: var(--navy-soft); display: grid; place-items: center; flex: none; transition: background .25s, transform .25s; }
.faq-q .pm svg { width: 16px; height: 16px; }
.faq-item.open .faq-q .pm { background: var(--orange); color: #fff; transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a .inner { padding: 0 20px 20px; color: var(--muted); font-size: .93rem; }
.faq-side { padding: 30px; border-radius: var(--r-xl); background: linear-gradient(165deg, #fff, var(--navy-soft)); border: 1px solid var(--line); box-shadow: var(--shadow); }
.faq-side .h3 { margin: 16px 0 10px; }
.faq-side p { color: var(--muted); font-size: .92rem; }
.faq-side .cta-list { display: grid; gap: 10px; margin-top: 18px; }

/* ------------------------------------------------------------ download cta */
.cta {
  position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(34px, 5vw, 62px);
  background: radial-gradient(700px 380px at 88% 10%, rgba(232, 123, 41, .34), transparent 62%), linear-gradient(150deg, var(--navy-3), var(--navy) 55%, #2b3468);
  color: #fff; box-shadow: var(--shadow-lg); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 50px); align-items: center;
}
.cta .display { color: #fff; margin: 16px 0 14px; }
.cta p { color: rgba(255, 255, 255, .8); }
.cta .stores { margin-top: 24px; }
.cta .stores .storebtn.light { border-color: transparent; }
.cta-visual { position: relative; display: grid; place-items: center; }
.cta-visual .phone { width: 238px; transform: rotate(5deg); }
.cta-visual .markbig { position: absolute; right: -18px; bottom: -30px; width: 150px; height: 150px; opacity: .9; animation: float 7s ease-in-out infinite; }
.cta .fineprint { margin: 18px 0 0; font-size: .8rem; color: rgba(255, 255, 255, .62); }

/* ---------------------------------------------------------------- footer */
footer.site { background: var(--navy-3); color: rgba(255, 255, 255, .74); padding: clamp(48px, 6vw, 76px) 0 30px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(26px, 4vw, 48px); }
footer.site .brand .word { color: #ffa45c; }
footer.site .cols h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
footer.site .cols a { display: block; padding: 6px 0; color: rgba(255, 255, 255, .74); font-size: .92rem; transition: color .2s, transform .2s; }
footer.site .cols a:hover { color: #fff; transform: translateX(3px); }
footer.site p { font-size: .92rem; max-width: 34ch; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: rgba(255, 255, 255, .09); color: #fff; transition: background .22s, transform .22s; }
.socials a:hover { background: var(--orange); transform: translateY(-3px); }
.socials a svg { width: 19px; height: 19px; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .84rem; }
.foot-bottom .row { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.motion-toggle { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .16); color: #fff; font-size: .8rem; font-weight: 700; }
.motion-toggle .sw { width: 38px; height: 22px; border-radius: 999px; background: rgba(255, 255, 255, .24); position: relative; transition: background .2s; }
.motion-toggle .sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .2s; }
.motion-toggle.on .sw { background: var(--orange); }
.motion-toggle.on .sw::after { left: 19px; }

/* --------------------------------------------------------------- motion */
@keyframes slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(300%); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes floatX { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(10px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blob {
  0%, 100% { border-radius: 46% 54% 58% 42% / 50% 44% 56% 50%; transform: translate(0, 0) scale(1); }
  33% { border-radius: 60% 40% 42% 58% / 44% 58% 42% 56%; transform: translate(14px, -16px) scale(1.06); }
  66% { border-radius: 40% 60% 56% 44% / 58% 42% 58% 42%; transform: translate(-12px, 12px) scale(.96); }
}
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulseDot { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: .55; } }
@keyframes drop { 0%, 8% { transform: translateY(-16px); opacity: 0; } 14%, 78% { transform: translateY(0); opacity: 1; } 92%, 100% { transform: translateY(-16px); opacity: 0; } }
@keyframes scan { from { top: 24%; } to { top: 70%; } }
@keyframes grow { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { transform: scale(.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.reveal.left { transform: translateX(-30px); }
.reveal.right { transform: translateX(30px); }
.reveal.scale { transform: scale(.94); }
.reveal.left.in, .reveal.right.in, .reveal.scale.in { transform: none; }
.chart-line { stroke-dasharray: 320; stroke-dashoffset: 320; }
.reveal.in .chart-line, .in .chart-line { animation: draw 1.6s ease-out forwards; animation-delay: calc(var(--d, 0ms) + 200ms); }

html.reduce-motion * { animation: none !important; transition: none !important; }
html.reduce-motion .reveal { opacity: 1 !important; transform: none !important; }
html.reduce-motion .chart-line { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* -------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  /* Narrow screens keep the header to brand + burger only: the section nav and
     the desktop CTA buttons move into the drawer (the drawer carries the
     "Download the app" action), so the bar never wraps or crowds the brand. */
  .top .nav { display: none; }
  .top .hdr-cta { margin-left: auto; }
  .top .hdr-cta .btn { display: none; }
  .burger { display: grid; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { min-height: 470px; order: 2; }
  .hero-copy { order: 1; }
  .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-grid, .benefit, .why-grid, .faq-grid, .tst-layout, .cta { grid-template-columns: minmax(0, 1fr); }
  .benefit.flip .benefit-copy { order: 0; }
  .benefit-visual { order: 2; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps::before { display: none; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .float.alertcard { left: 0; }
  .float.pricecard { right: 0; }
  .hero-ring, .hero-ring.r2 { width: 430px; height: 430px; }
}
@media (max-width: 900px) {
  .price-grid { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; }
}
@media (max-width: 720px) {
  :root { --top-h: 92px; }
  .brand .word b, .brand .word i { font-size: 1rem; }
  .hero { padding-top: calc(var(--top-h) + 24px); }
  .hero-visual { min-height: 400px; }
  .hero-ring, .hero-ring.r2 { display: none; }
  .hero-phone { width: 250px; }
  .float.alertcard { left: -2%; top: 4%; max-width: 200px; padding: 11px 13px; }
  .float.pricecard { right: -2%; bottom: 6%; max-width: 176px; }
  .float.camfab { width: 52px; height: 52px; left: 8%; }
  .hero-stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fcard p { min-height: 0; }
  .screens-head { flex-direction: column; align-items: flex-start; }
  .screens-track { padding-left: 2px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .cta { padding: 30px 22px; }
  .cta-visual { display: none; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .storebtn { flex: 1 1 100%; }
  .brand .mark { width: 38px; height: 38px; }
}
@media (max-width: 420px) {
  .phone { width: 252px; }
  .hero-phone { width: 226px; }
  .btn { padding: 14px 20px; }
}

/* ------------------------------------------------------------ utilities */
.ic { width: 20px; height: 20px; }
.ic.sm { width: 16px; height: 16px; }
.ic.lg { width: 24px; height: 24px; }
.ic.xl { width: 30px; height: 30px; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; background: var(--navy-soft); border-radius: 6px; padding: 2px 6px; color: var(--navy); }
.sec.dark code, footer.site code { background: rgba(255, 255, 255, .14); color: #fff; }
.storebtn.pulse { animation: pulseGlow 2.4s ease-out infinite; }
@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(232, 123, 41, .45); }
  70% { box-shadow: 0 0 0 16px rgba(232, 123, 41, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 123, 41, 0); }
}
/* the sprite <use> elements inherit currentColor; make sure stroked icons do too */
svg use { pointer-events: none; }

/* ------------------------------------------------ intl / switcher & logo */
.brand .brand-logo,
footer.site .brand .brand-logo,
.footer-logo {
  height: 80px;
  min-height: 80px;
  max-height: 84px;
  width: auto;
  object-fit: contain;
  display: block;
}

footer.site .brand {
  display: inline-block;
  margin-bottom: 8px;
}

.top .brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}

.intl-picker {
  position: relative;
  display: inline-block;
  z-index: 1000;
}

.intl-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #ffffff;
  color: var(--navy);
  font-size: .84rem;
  font-weight: 700;
  transition: all .2s ease;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.intl-btn:hover,
.intl-btn[aria-expanded="true"],
.intl-btn.active {
  border-color: var(--orange);
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(35, 44, 92, .12);
}

.intl-btn .ic {
  width: 16px;
  height: 16px;
  color: var(--navy-2);
}

.intl-btn .chev {
  width: 12px;
  height: 12px;
  color: var(--muted);
  transition: transform .2s ease;
}

.intl-btn[aria-expanded="true"] .chev {
  transform: rotate(180deg);
}

.intl-current-flag {
  font-size: 1.05rem;
  line-height: 1;
}

.intl-label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy);
}

/* Dropdown popover */
.intl-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 330px;
  max-width: calc(100vw - 24px);
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(29, 36, 51, .22);
  padding: 16px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: intlFade .2s cubic-bezier(.16, 1, .3, 1);
}

.intl-dropdown[hidden] {
  display: none !important;
}

@keyframes intlFade {
  from { opacity: 0; transform: translateY(-8px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.intl-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.intl-title {
  font-size: .92rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.01em;
}

.intl-close {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: none;
  background: transparent;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: all .2s;
}

.intl-close:hover {
  background: rgba(35, 44, 92, .08);
  color: var(--navy);
}

.intl-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.intl-sec-label {
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
}

.intl-select-wrap {
  position: relative;
}

.intl-select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  color: var(--navy);
  font-size: .86rem;
  font-weight: 600;
  appearance: auto;
  cursor: pointer;
  outline: none;
  transition: border-color .2s;
}

.intl-select:focus {
  border-color: var(--orange);
}

.intl-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.intl-pill {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .18s ease;
  text-align: left;
  user-select: none;
}

.intl-pill:hover {
  border-color: var(--orange-soft);
  background: rgba(232, 123, 41, .04);
}

.intl-pill.active,
.intl-pill[aria-checked="true"] {
  border-color: var(--orange);
  background: var(--orange-soft);
  color: var(--navy);
  font-weight: 800;
}

.intl-pill .pill-flag {
  font-size: 1rem;
  line-height: 1;
}

.intl-pill .pill-badge {
  margin-left: auto;
  font-size: .62rem;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 6px;
  background: rgba(35, 44, 92, .08);
  color: var(--navy-2);
}

.intl-curr-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.intl-curr-grid .intl-pill {
  justify-content: center;
}

.curr-sym {
  color: var(--muted);
  font-weight: 500;
}

/* Mobile drawer localization */
.drawer-intl {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 0 16px;
  margin-bottom: 8px;
  border-bottom: 1.5px solid var(--line);
}

.drawer-intl-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.drawer-intl-row label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .86rem;
  font-weight: 800;
  color: var(--navy);
}

.drawer-select {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  color: var(--navy);
  font-size: .84rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

@media (max-width: 720px) {
  .brand .brand-logo,
  footer.site .brand .brand-logo,
  .footer-logo {
    height: 80px;
    min-height: 80px;
    max-height: 80px;
    width: auto;
  }
  .top .wrap {
    gap: 12px;
  }
  .top .hdr-cta {
    gap: 8px;
  }
  .intl-btn {
    padding: 7px 10px;
    font-size: .8rem;
    gap: 5px;
  }
  .intl-label {
    font-size: .78rem;
  }
  .intl-btn .ic:not(.chev) {
    display: none;
  }
}

@media (max-width: 420px) {
  .brand .brand-logo,
  footer.site .brand .brand-logo,
  .footer-logo {
    height: 80px;
    min-height: 80px;
    max-height: 80px;
    width: auto;
  }
  .intl-btn {
    padding: 6px 8px;
  }
  .intl-label {
    font-size: .74rem;
  }
}
