/* Stelvio Home Hub landing page. Mobile-first; built on tokens.css. */

:root {
  --purple: #6c6fe0;
  --teal: #2cbab8;
  --teal-ink: #0f5f5e;
  --ink: #141414;
  --header-h: 68px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(72px, 10vw, 120px);
  --track-caps: 0.12em;
  --track-tight: -0.025em;
  --ease-out-soft: cubic-bezier(0, 0, .2, 1);
}
[dir="rtl"] { --track-caps: 0; --track-tight: 0; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font-family: var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; }
a { color: var(--indigo-600); }
a:hover { color: var(--indigo-700); }
h1, h2, h3, p, figure, blockquote { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

.ic {
  width: 1em; height: 1em; flex: none; display: block;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
[dir="rtl"] .ic-flip { transform: scaleX(-1); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: absolute; top: -60px; inset-inline-start: 16px; z-index: 200;
  padding: 10px 16px; border-radius: 999px; background: var(--indigo-500); color: #fff; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; scroll-margin-top: var(--header-h); }
.bg-ivory { background: var(--ivory); }
.bg-white { background: #fff; }

/* Section headings */
.eyebrow {
  font: 800 13px var(--font-body); letter-spacing: var(--track-caps);
  text-transform: uppercase; color: var(--indigo-600);
}
.h2 {
  font: 800 clamp(32px, 4.4vw, 52px)/1.08 var(--font-display);
  letter-spacing: var(--track-tight); text-wrap: balance;
}
.head { display: flex; flex-direction: column; gap: 14px; max-width: 680px; }
.head--center { align-items: center; text-align: center; max-width: none; }
.lead { font-size: 18px; line-height: 1.55; color: var(--gray-700); }

/* Animations */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-18px) rotate(1deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(70px, -50px) scale(1.12); }
  66% { transform: translate(-40px, 40px) scale(.94); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes pulseHero {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .6), 0 10px 30px rgba(20, 20, 60, .25); }
  70% { box-shadow: 0 0 0 18px rgba(255, 255, 255, 0), 0 10px 30px rgba(20, 20, 60, .25); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0), 0 10px 30px rgba(20, 20, 60, .25); }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .6); }
  70% { box-shadow: 0 0 0 18px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}
@keyframes pulseInk {
  0% { box-shadow: 0 0 0 0 rgba(108, 111, 224, .5); }
  70% { box-shadow: 0 0 0 16px rgba(108, 111, 224, 0); }
  100% { box-shadow: 0 0 0 0 rgba(108, 111, 224, 0); }
}
@keyframes orbitSpin { to { transform: rotate(360deg); } }
@keyframes orbitSpinRev { to { transform: rotate(-360deg); } }

/* Scroll reveal: only hides content once JS has confirmed it can reveal it again. */
.js [data-reveal]:not(.is-settled) {
  transition: opacity .7s var(--ease-out-soft) var(--rv-delay, 0ms), transform .7s var(--ease-out-soft) var(--rv-delay, 0ms);
}
.js [data-reveal]:not(.is-shown) { opacity: 0; transform: translateY(28px); }

/* ---------- Buttons & badges ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; text-decoration: none; cursor: pointer; border: 0;
  transition: background .2s, color .2s, transform .15s, border-color .2s;
}
.btn:active { transform: scale(.97); }
.btn-primary { min-height: 56px; padding: 0 28px; background: var(--indigo-500); color: #fff; font: 800 17px var(--font-body); }
.btn-primary:hover { background: var(--indigo-600); color: #fff; transform: translateY(-2px); }
.btn-primary .ic { font-size: 19px; }
.btn-pulse-ink { animation: pulseInk 2.4s cubic-bezier(.4, 0, .2, 1) infinite; }
.btn-light {
  min-height: 58px; padding: 0 30px; background: #fff; color: var(--indigo-700); font: 800 18px var(--font-body);
  box-shadow: 0 10px 30px rgba(20, 20, 60, .25);
}
.btn-light:hover { background: var(--indigo-50); color: var(--indigo-700); transform: translateY(-2px); }
.btn-light .ic { font-size: 20px; }
.btn-pulse { animation: pulse 2.4s cubic-bezier(.4, 0, .2, 1) infinite; }
.hero .btn-pulse { animation: pulseHero 2.4s cubic-bezier(.4, 0, .2, 1) 1.4s infinite; }
/* DS Button, secondary / md */
.btn-secondary {
  padding: 11px 22px; background: #fff; color: var(--color-brand-primary); border: 1px solid var(--color-brand-primary);
  font: 600 15px var(--font-body); transition: background var(--duration-fast) var(--ease-standard), transform var(--duration-fast);
}
.btn-secondary:hover { background: var(--surface-tint); }

.cta-stack { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.badges { display: flex; gap: 8px; flex-wrap: wrap; }
.badge {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 168px; height: 48px; border-radius: 10px; overflow: hidden; transition: transform .15s;
}
.badge:hover { transform: translateY(-2px); }
.badge img { width: 168px; height: 48px; display: block; }
.badge--play { padding: 0 12px; background: #000; color: #fff; text-decoration: none; }
.badge--play:hover { color: #fff; }
.badge--play svg { display: block; flex: none; }
.badge__txt { display: flex; flex-direction: column; line-height: 1.05; text-align: start; }
.badge__small { font-size: 10px; text-transform: uppercase; letter-spacing: .04em; }
.badge__big { font: 700 17px "Plus Jakarta Sans", sans-serif; letter-spacing: -.01em; }

/* QR blocks only render on desktop (html.qr-on is set by JS). */
[data-qr-block] { display: none !important; }
.qr-on [data-qr-block] { display: flex !important; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(20, 20, 20, .06); transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(30, 32, 70, .08); }
.header__bar {
  max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px);
  height: var(--header-h); display: flex; align-items: center; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand__icon { width: 36px; height: 36px; border-radius: 10px; display: block; }
.brand__word { width: 105px; height: 43px; display: block; }
.nav { display: none; gap: 4px; margin-inline-start: auto; }
.nav a {
  padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: 15px;
  color: var(--ink); text-decoration: none; transition: background .2s;
}
.nav a:hover { background: var(--indigo-50); color: var(--indigo-600); }
.header__actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.pill-btn {
  display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--gray-300); background: #fff; color: var(--ink); font: 600 14px var(--font-body); cursor: pointer;
}
.pill-btn:hover { border-color: var(--indigo-500); color: var(--indigo-600); }
.pill-btn .ic { font-size: 16px; }
.lang-label[lang="ar"] { font-family: "Noto Sans Arabic", sans-serif; }
.lang-label[lang="en"] { font-family: "Karla", sans-serif; }
.header__dl {
  display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px;
  background: var(--indigo-500); color: #fff; font: 700 14px var(--font-body); text-decoration: none;
  transition: background .2s, transform .12s;
}
.header__dl:hover { background: var(--indigo-600); color: #fff; }
.header__dl:active { transform: scale(.97); }
.header__dl .ic { font-size: 16px; }
.menu-btn {
  width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--gray-300); background: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); padding: 0;
}
.menu-btn .ic { font-size: 18px; }
.menu-btn .ic-close, .menu-btn[aria-expanded="true"] .ic-open { display: none; }
.menu-btn[aria-expanded="true"] .ic-close { display: block; }
.mnav { display: flex; flex-direction: column; padding: 8px clamp(16px, 4vw, 40px) 16px; gap: 2px; border-top: 1px solid var(--gray-200); }
.mnav[hidden] { display: none; }
.mnav a { padding: 14px 8px; font-weight: 600; font-size: 17px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--gray-100); }

@media (min-width: 960px) {
  .nav { display: flex; }
  .header__actions { margin-inline-start: 8px; }
  .menu-btn, .mnav { display: none !important; }
}
@media (max-width: 400px) {
  .header__bar { gap: 10px; }
  .brand__word { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: clamp(100px, 14vw, 120px) 0 clamp(48px, 7vw, 72px); color: #fff;
  background: linear-gradient(140deg, var(--indigo-700) 0%, var(--indigo-600) 38%, var(--purple) 72%, var(--teal) 128%);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 1.2s; }
.hero__tint { position: absolute; inset: 0; background: rgba(90, 91, 211, .7); }
.blob { position: absolute; border-radius: 50%; filter: blur(10px); }
.blob--teal {
  width: 520px; height: 520px; bottom: -220px; inset-inline-end: -120px;
  background: radial-gradient(circle, rgba(44, 186, 184, .55), rgba(44, 186, 184, 0) 68%);
  animation: drift 22s ease-in-out infinite;
}
.blob--lilac {
  width: 460px; height: 460px; bottom: -160px; inset-inline-start: -120px;
  background: radial-gradient(circle, rgba(160, 163, 255, .55), rgba(160, 163, 255, 0) 68%);
  animation: drift 28s ease-in-out -8s infinite reverse;
}
.hero__grid {
  position: relative; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: clamp(32px, 5vw, 56px); align-items: center;
}
.hero__copy { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero h1 {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 6.4vw, 72px); line-height: 1.04;
  letter-spacing: var(--track-tight); text-wrap: balance; text-shadow: 0 2px 28px rgba(30, 28, 110, .35);
  animation: rise .8s var(--ease-out-soft) .15s both;
}
.hero__sub {
  font-size: clamp(18px, 2vw, 21px); line-height: 1.5; max-width: 520px;
  text-shadow: 0 1px 16px rgba(30, 28, 110, .4); animation: rise .8s var(--ease-out-soft) .28s both;
}
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; animation: rise .8s var(--ease-out-soft) .42s both; }
.qr-card {
  align-items: center; gap: 14px; padding: 12px; padding-inline-end: 18px; border-radius: 18px;
  background: #fff; color: var(--ink); box-shadow: 0 12px 32px rgba(20, 20, 60, .22);
}
.qr-card img { width: 96px; height: 96px; border-radius: 8px; display: block; background: var(--ivory); }
.qr-card__txt { display: flex; flex-direction: column; gap: 4px; max-width: 120px; text-align: start; }
.qr-card__txt .ic { font-size: 20px; color: var(--indigo-500); }
.qr-card__title { font: 800 16px/1.2 var(--font-display); }
.qr-card__sub { font-size: 13px; color: var(--gray-600); }

/* Orbit + phone. Sizes follow the design: 560 box / 244 radius on wide, viewport-fit below. */
.orbit {
  --box: min(calc(100vw - 16px), 560px);
  --r: calc(var(--box) / 2 - 36px);
  --phone-scale: 1;
  position: relative; width: var(--box); max-width: 100%; height: 640px; margin: 0 auto;
  animation: rise 1s var(--ease-out-soft) .35s both;
}
@media (max-width: 475px) { .orbit { --phone-scale: .78; height: max(var(--box), 508px); } }
@media (min-width: 960px) { .orbit { --box: 560px; --r: 244px; } }
.orbit__ring, .orbit__glow { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; }
.orbit__ring { width: calc(var(--r) * 2); height: calc(var(--r) * 2); border: 1px dashed rgba(255, 255, 255, .4); }
.orbit__glow { width: calc(var(--r) * 1.3); height: calc(var(--r) * 1.3); background: radial-gradient(circle, rgba(44, 186, 184, .4), rgba(44, 186, 184, 0) 70%); }
.phone-slot {
  position: absolute; left: 50%; top: 50%; width: 272px; height: 560px; margin: -280px 0 0 -136px; z-index: 2;
  transition: transform .4s var(--ease-out-soft);
}
.phone-slot__scale { width: 100%; height: 100%; transform: scale(var(--phone-scale)); }
.phone-slot__float { width: 100%; height: 100%; animation: float 7s ease-in-out infinite; }
.phone-slot .phone { width: 100%; height: 100%; border-radius: 46px; padding: 9px; box-shadow: 0 50px 90px rgba(10, 10, 50, .45), inset 0 0 0 2px #2a2a2a; }
.phone-slot .phone__screen { position: relative; height: 100%; border-radius: 38px; }
.phone-slot .phone__notch { height: 34px; }
.phone-slot .phone__notch::after { width: 88px; height: 24px; }
.phone-slot .phone__screen img { flex: 1; min-height: 0; width: 100%; object-fit: cover; object-position: top; }

.orbit__spin { position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: 3; animation: orbitSpin 48s linear infinite; }
.orbit__pos { position: absolute; left: 0; top: 0; transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(-1 * var(--a))); }
.orbit__center { width: max-content; transform: translate(-50%, -50%); }
.orbit__upright { animation: orbitSpinRev 48s linear infinite; }
.chip {
  display: flex; align-items: center; gap: 8px; padding: 8px; padding-inline-end: 14px; border-radius: 999px;
  background: #fff; color: var(--ink); box-shadow: 0 14px 34px rgba(20, 20, 60, .25); white-space: nowrap;
}
.chip img { max-width: none; flex: none; width: 40px; height: 40px; border-radius: 50%; background: #fff; object-fit: cover; display: block; box-shadow: inset 0 0 0 1px var(--indigo-100); }
.chip span { font: 700 13px var(--font-body); }
@media (max-width: 475px) {
  .orbit { --r: calc(var(--box) / 2 - 58px); }
  .chip { gap: 6px; padding: 5px; padding-inline-end: 10px; }
  .chip img { width: 30px; height: 30px; }
  .chip span { font-size: 11.5px; }
}

/* Shared phone frame */
.phone { background: var(--ink); }
.phone__screen { overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.phone__notch { flex: none; display: flex; justify-content: center; align-items: center; }
.phone__notch::after { content: ""; border-radius: 999px; background: var(--ink); }
.phone__screen img { display: block; }

/* ---------- Trust strip ---------- */
.trust { background: #fff; border-bottom: 1px solid var(--gray-200); }
.trust__grid {
  padding-top: clamp(20px, 3vw, 28px); padding-bottom: clamp(20px, 3vw, 28px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px 28px;
}
.trust__item { display: flex; align-items: center; gap: 12px; }
.trust__icon {
  width: 44px; height: 44px; flex: none; border-radius: 14px; background: rgba(44, 186, 184, .16); color: var(--teal-ink);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.trust__item > span:last-child { font: 700 16px/1.3 var(--font-body); }

/* ---------- Services ---------- */
.stack { display: flex; flex-direction: column; gap: clamp(36px, 5vw, 56px); }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.svc {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 20px;
  background: #fff; border: 1px solid rgba(20, 20, 20, .06); box-shadow: 0 1px 2px rgba(30, 32, 70, .06);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1), box-shadow .3s, border-color .3s;
}
.svc:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(30, 32, 70, .12); border-color: rgba(108, 111, 224, .35); }
.svc__icon {
  width: 84px; height: 84px; border-radius: 20px; background: #fff; border: 1px solid var(--indigo-100); color: var(--indigo-600);
  display: flex; align-items: center; justify-content: center; overflow: hidden; font-size: 30px;
}
.svc__icon img { width: 72px; height: 72px; object-fit: contain; display: block; }
.svc__txt { display: flex; flex-direction: column; gap: 6px; }
.svc h3 { font: 700 19px/1.25 var(--font-display); }
.svc p { font-size: 15px; line-height: 1.5; color: var(--gray-700); }

.mkt {
  grid-column: 1 / -1; position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px;
  padding: clamp(24px, 4vw, 36px); border-radius: 24px; color: #fff;
  background: linear-gradient(120deg, var(--indigo-600), var(--purple) 55%, var(--teal));
  transition: transform .3s cubic-bezier(.4, 0, .2, 1), box-shadow .3s;
}
.mkt:hover { transform: translateY(-4px); box-shadow: 0 22px 48px rgba(30, 32, 70, .22); }
.pattern { position: absolute; inset: 0; background-image: url(../assets/pattern-white.png); pointer-events: none; }
.mkt .pattern { background-size: 200px; opacity: .07; }
.mkt__icon {
  position: relative; width: 88px; height: 88px; flex: none; border-radius: 22px; background: #fff;
  display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: 0 10px 24px rgba(20, 20, 60, .2);
}
.mkt__icon img { width: 76px; height: 76px; object-fit: contain; display: block; }
.mkt__txt { position: relative; flex: 1 1 320px; display: flex; flex-direction: column; gap: 8px; }
.mkt h3 { font: 800 clamp(22px, 2.6vw, 28px)/1.2 var(--font-display); }
.mkt p { font-size: 16px; line-height: 1.5; max-width: 620px; }
.mkt__cta {
  position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px;
  background: #fff; color: var(--indigo-700); font: 700 15px var(--font-body); text-decoration: none;
}
.mkt__cta:hover { background: var(--indigo-50); color: var(--indigo-700); }
.mkt__cta .ic { font-size: 16px; }

/* ---------- How it works ---------- */
.how { display: flex; flex-direction: column; gap: clamp(40px, 6vw, 64px); }
.steps { position: relative; display: grid; grid-template-columns: 1fr; gap: 40px; }
.steps__track {
  position: absolute; top: 40px; bottom: 40px; inset-inline-start: 39px; width: 3px; border-radius: 3px; background: var(--gray-200);
}
.steps__fill {
  position: absolute; inset: 0; border-radius: 3px; background: linear-gradient(180deg, var(--purple), var(--teal));
  transform: scaleY(var(--p, 0)); transform-origin: top;
}
.step { position: relative; display: flex; flex-direction: row; align-items: flex-start; text-align: start; gap: 20px; }
.step__icon {
  position: relative; width: 80px; height: 80px; flex: none; border-radius: 50%; background: var(--indigo-50);
  box-shadow: 0 10px 28px rgba(30, 32, 70, .12); display: flex; align-items: center; justify-content: center;
  color: var(--indigo-600); font-size: 30px;
}
.step__n {
  position: absolute; top: -4px; inset-inline-end: -4px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--teal); color: var(--ink); font: 800 14px var(--font-display);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 3px #fff;
}
.step__txt { display: flex; flex-direction: column; gap: 8px; max-width: 320px; padding-top: 14px; }
.step h3 { font: 800 22px/1.25 var(--font-display); }
.step p { font-size: 16px; line-height: 1.55; color: var(--gray-700); }
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .steps__track { top: 39px; bottom: auto; left: 16.66%; right: 16.66%; width: auto; height: 3px; }
  .steps__fill { background: linear-gradient(90deg, var(--purple), var(--teal)); transform: scaleX(var(--p, 0)); transform-origin: left; }
  [dir="rtl"] .steps__fill { background: linear-gradient(270deg, var(--purple), var(--teal)); transform-origin: right; }
  .step { flex-direction: column; align-items: center; text-align: center; }
  .step__txt { padding-top: 0; }
}

.mid-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(24px, 4vw, 32px) clamp(24px, 4vw, 40px); border-radius: 28px; background: var(--ivory);
}
.mid-cta__txt { display: flex; flex-direction: column; gap: 6px; flex: 1 1 280px; }
.mid-cta h3 { font: 800 clamp(24px, 3vw, 32px)/1.15 var(--font-display); letter-spacing: var(--track-tight); }
.mid-cta p { font-size: 17px; color: var(--gray-700); }
.mid-cta__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.qr-mini { align-items: center; gap: 10px; }
.qr-mini img { width: 72px; height: 72px; border-radius: 8px; display: block; border: 1px solid var(--gray-200); padding: 4px; background: #fff; }
.qr-mini span { font: 700 14px/1.3 var(--font-body); max-width: 90px; }

/* ---------- Why us ---------- */
.why {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(36px, 6vw, 72px); align-items: start;
}
.why__head { position: sticky; top: 110px; }
.why__head .lead { max-width: 420px; }
.why__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.why-card { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 20px; background: #fff; transition: background .3s, transform .3s; }
.why-card:hover { background: var(--indigo-50); transform: translateY(-3px); }
.why-card__icon {
  width: 44px; height: 44px; border-radius: 14px; background: #fff; color: var(--indigo-600); font-size: 21px;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 2px rgba(30, 32, 70, .08);
}
.why-card h3 { font: 700 18px/1.3 var(--font-display); }
.why-card p { font-size: 15px; line-height: 1.5; color: var(--gray-700); }

/* ---------- Rewards ---------- */
.rewards { position: relative; overflow: hidden; }
.rewards__glow {
  position: absolute; width: 560px; height: 560px; border-radius: 50%; top: -200px; inset-inline-end: -180px;
  background: radial-gradient(circle, rgba(44, 186, 184, .22), rgba(44, 186, 184, 0) 70%);
}
.rewards .container { position: relative; }
.rw-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(24px, 4vw, 40px); align-items: center;
}
.rw-list { display: flex; flex-direction: column; gap: 14px; }
.rw-card {
  display: flex; align-items: center; gap: 18px; padding: 22px; border-radius: 20px; background: var(--ivory);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1), box-shadow .3s;
}
.rw-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(30, 32, 70, .12); }
.rw-card__icon { width: 60px; height: 60px; flex: none; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 26px; }
.rw-card__icon--earn { background: var(--indigo-500); color: #fff; }
.rw-card__icon--redeem { background: var(--teal); color: var(--ink); }
.rw-card__icon--refer { background: var(--indigo-50); color: var(--indigo-600); }
.rw-card__txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rw-card__kicker { font: 800 12px var(--font-body); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--indigo-600); }
.rw-card h3 { font: 800 19px/1.3 var(--font-display); }
.rw-card p { font-size: 15px; color: var(--gray-700); }
.rw-foot { margin-top: 4px; font-size: 14px; color: var(--gray-600); }

.rw-visual { position: relative; width: 100%; max-width: 440px; height: 560px; margin: 0 auto; }
.rw-visual__bg {
  position: absolute; inset: 40px 0; border-radius: 40px; transform: rotate(-4deg);
  background: linear-gradient(135deg, rgba(108, 111, 224, .22), rgba(44, 186, 184, .28));
}
.rw-phone { position: absolute; }
.rw-phone .phone { border-radius: 44px; padding: 8px; box-shadow: 0 36px 70px rgba(30, 32, 70, .26); }
.rw-phone .phone__screen { border-radius: 36px; background: #f9f9f9; }
.rw-phone .phone__notch { height: 30px; }
.rw-phone .phone__notch::after { width: 78px; height: 20px; }
.rw-phone img { width: 100%; height: auto; aspect-ratio: 824 / 1600; }
.rw-phone--back { top: 8px; inset-inline-end: 0; transform: rotate(6deg); transition: transform .4s; }
.rw-phone--back:hover { transform: rotate(3deg) translateY(-8px); }
.rw-phone--back .phone { width: 236px; }
.rw-phone--front { top: 44px; inset-inline-start: 0; animation: float 8s ease-in-out infinite; }
.rw-phone--front .phone { width: 250px; }
.float-chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px; padding-inline-end: 16px;
  border-radius: 999px; background: #fff; box-shadow: 0 14px 34px rgba(20, 20, 60, .18);
}
.float-chip__icon { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.float-chip > span:last-child { font: 800 15px var(--font-display); color: var(--ink); }
.float-chip--earn { top: 30%; inset-inline-start: -14px; animation: bob 5.5s ease-in-out infinite; }
.float-chip--earn .float-chip__icon { background: var(--teal); color: var(--ink); }
.float-chip--refer { bottom: 40px; inset-inline-end: -10px; animation: bob 6.5s ease-in-out -2s infinite; }
.float-chip--refer .float-chip__icon { background: var(--indigo-500); color: #fff; }
@media (max-width: 400px) {
  .float-chip--earn { inset-inline-start: 0; }
  .float-chip--refer { inset-inline-end: 0; }
}

/* ---------- App showcase ---------- */
.showcase { overflow: hidden; }
.showcase .stack { gap: clamp(28px, 4vw, 40px); }
.showcase .h2 { max-width: 720px; }
.shots {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 48px 20px 24px; margin: 0 -20px; scrollbar-width: none;
}
.shots::-webkit-scrollbar { display: none; }
.shot { flex: none; scroll-snap-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; width: 204px; }
.shot .phone {
  width: 204px; border-radius: 38px; padding: 7px; box-shadow: 0 30px 60px rgba(30, 32, 70, .22);
  transform: var(--tilt, none); transition: transform .4s cubic-bezier(.4, 0, .2, 1);
}
.shot .phone:hover { transform: translateY(-12px); }
.shot .phone__screen { border-radius: 31px; }
.shot .phone__notch { height: 26px; }
.shot .phone__notch::after { width: 64px; height: 18px; }
.shot img { width: 100%; height: auto; aspect-ratio: 824 / 1600; }
.shot figcaption { display: flex; flex-direction: column; gap: 6px; text-align: center; padding-top: var(--cap, 0); }
.shot strong { font: 800 17px/1.3 var(--font-display); }
.shot figcaption span { font-size: 14px; line-height: 1.5; color: var(--gray-700); }
@media (min-width: 960px) {
  /* Centre the fan while keeping every phone reachable if the row ever overflows. */
  .shot:first-child { margin-inline-start: auto; }
  .shot:last-child { margin-inline-end: auto; }
  .shot:nth-child(1) { --tilt: rotate(-6deg) translateY(44px); --cap: 44px; }
  .shot:nth-child(2) { --tilt: rotate(-3deg) translateY(14px); --cap: 14px; }
  .shot:nth-child(3) { --tilt: translateY(0); }
  .shot:nth-child(4) { --tilt: rotate(3deg) translateY(14px); --cap: 14px; }
  .shot:nth-child(5) { --tilt: rotate(6deg) translateY(44px); --cap: 44px; }
}

/* ---------- Social proof ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.stat { display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: 20px; background: linear-gradient(135deg, #fff, var(--indigo-50)); }
.stat__num { display: flex; align-items: baseline; gap: 2px; justify-content: flex-start; }
[dir="rtl"] .stat__num { justify-content: flex-end; }
.stat__val {
  font: 800 clamp(40px, 5vw, 56px)/1 "Plus Jakarta Sans", sans-serif; color: var(--indigo-600);
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.stat__suffix { font: 800 clamp(28px, 3.5vw, 40px)/1 "Plus Jakarta Sans", sans-serif; color: var(--teal); }
.stat__label { font: 700 16px var(--font-body); color: var(--gray-700); }

.stars { display: flex; gap: 2px; color: #f5b50a; font-size: 17px; }
.g-bar {
  align-self: flex-start; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 18px; border-radius: 999px;
  background: #fff; border: 1px solid var(--gray-200); color: var(--ink); text-decoration: none; box-shadow: 0 1px 2px rgba(30, 32, 70, .06);
}
.g-bar:hover { border-color: var(--indigo-300); color: var(--ink); }
.g-bar svg { display: block; flex: none; }
.g-bar__score { font: 800 20px "Plus Jakarta Sans", sans-serif; }
.g-bar__txt { font: 600 15px var(--font-body); color: var(--gray-700); }
.g-bar > .ic { font-size: 16px; color: var(--indigo-600); }
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; align-items: start; }
.review { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 20px; background: var(--ivory); transition: transform .3s, box-shadow .3s; }
.review:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(30, 32, 70, .1); }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review__avatar {
  width: 42px; height: 42px; flex: none; border-radius: 50%; color: var(--ink);
  font: 800 14px "Plus Jakarta Sans", sans-serif; display: flex; align-items: center; justify-content: center;
}
.review__who { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.review__who strong { font-size: 15px; }
.review__who span { font-size: 13px; color: var(--gray-600); }
.review blockquote { font: 500 16px/1.55 Karla, sans-serif; color: var(--ink); text-align: left; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 840px; }
.faq-wrap .stack { gap: clamp(32px, 5vw, 48px); }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq { border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(30, 32, 70, .06); transition: box-shadow .3s; }
.faq.is-open { box-shadow: 0 12px 32px rgba(30, 32, 70, .1); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; min-height: 64px;
  background: none; border: 0; cursor: pointer; text-align: start; font: 700 17px/1.35 var(--font-display); color: var(--ink);
}
.faq__icon {
  width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--indigo-50); color: var(--indigo-600); font-size: 17px;
  display: flex; align-items: center; justify-content: center; transition: transform .3s, background .3s;
}
.faq.is-open .faq__icon { transform: rotate(45deg); background: var(--indigo-500); color: #fff; }
.faq__a { padding: 0 22px 22px; font-size: 16px; line-height: 1.6; color: var(--gray-700); }
.faq__a[hidden] { display: none; }
.faq.is-open .faq__a { animation: rise .35s var(--ease-out-soft) both; }

/* ---------- Final CTA ---------- */
.final { padding: clamp(56px, 8vw, 96px) clamp(16px, 4vw, 40px); background: #fff; }
.final__card {
  position: relative; overflow: hidden; max-width: 1200px; margin: 0 auto; border-radius: clamp(24px, 4vw, 40px);
  padding: clamp(40px, 7vw, 80px) clamp(24px, 6vw, 72px); color: #fff;
  background: linear-gradient(135deg, var(--indigo-700), var(--indigo-600) 40%, var(--purple) 80%, var(--teal) 130%);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 36px; align-items: center;
}
.final .pattern { background-size: 240px; opacity: .06; }
.final__blob {
  position: absolute; width: 420px; height: 420px; border-radius: 50%; bottom: -200px; inset-inline-end: -100px;
  background: radial-gradient(circle, rgba(44, 186, 184, .6), rgba(44, 186, 184, 0) 70%); animation: drift 20s ease-in-out infinite;
}
.final__copy { position: relative; display: flex; flex-direction: column; gap: 18px; }
.final h2 { font: 800 clamp(34px, 5vw, 60px)/1.05 var(--font-display); letter-spacing: var(--track-tight); text-wrap: balance; }
.final__sub { font-size: clamp(17px, 2vw, 20px); line-height: 1.5; }
.final .cta-stack { margin-top: 8px; }
.final .btn-light { box-shadow: none; }
.qr-big {
  position: relative; justify-self: center; flex-direction: column; align-items: center; gap: 14px; padding: 22px; border-radius: 28px;
  background: #fff; color: var(--ink); box-shadow: 0 24px 60px rgba(10, 10, 50, .35);
}
.qr-big img { width: 200px; height: 200px; display: block; border-radius: 10px; background: var(--ivory); }
.qr-big span { display: flex; align-items: center; gap: 8px; font: 800 18px var(--font-display); }
.qr-big .ic { font-size: 20px; color: var(--indigo-500); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #fff; }
.footer__inner {
  padding-top: clamp(48px, 7vw, 72px); padding-bottom: 28px; display: flex; flex-direction: column; gap: 40px;
}
.footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 36px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__brand { display: flex; align-items: center; gap: 10px; }
.footer__brand img:first-child { width: 40px; height: 40px; border-radius: 11px; }
.footer__brand img:last-child { height: 40px; width: auto; }
.footer__slogan { font: 700 17px/1.35 var(--font-display); color: #fff; margin-top: 4px; }
.footer__title { font: 800 13px var(--font-body); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--gray-400); }
.footer a { color: #fff; text-decoration: none; font-size: 15px; }
.footer a:hover { color: var(--teal); }
.footer__col > a { padding: 4px 0; }
.footer__contact { display: flex; align-items: center; gap: 8px; }
.footer__contact .ic { font-size: 16px; }
.footer__addr { font-size: 15px; color: var(--gray-300); display: flex; align-items: flex-start; gap: 8px; }
.footer__addr .ic { font-size: 16px; margin-top: 3px; }
.socials { display: flex; gap: 8px; flex-wrap: wrap; }
.footer .social, .footer__lang {
  display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .2); color: #fff; font-size: 14px; font-weight: 600; background: transparent;
}
.footer .social:hover { background: #fff; color: var(--ink); }
.footer .social .ic { font-size: 17px; }
.footer__lang { align-self: flex-start; gap: 8px; padding: 0 16px; cursor: pointer; font-family: var(--font-body); margin-top: 4px; }
.footer__lang:hover { border-color: var(--teal); }
.footer__lang .ic { font-size: 16px; }
.footer__bottom { padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: var(--gray-400); }

/* ---------- QR modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100; background: rgba(20, 20, 20, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 20px; animation: rise .25s var(--ease-out-soft) both;
}
.modal[hidden] { display: none; }
.modal__card {
  position: relative; width: min(100%, 380px); padding: 32px 28px 26px; border-radius: 28px; background: #fff;
  box-shadow: 0 30px 80px rgba(10, 10, 50, .35); display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center;
}
.modal__x {
  position: absolute; top: 14px; inset-inline-end: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; padding: 0;
  background: var(--ivory); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--ink); font-size: 18px;
}
.modal__icon { width: 52px; height: 52px; border-radius: 14px; }
.modal h2 { font: 800 26px/1.2 var(--font-display); }
.modal p { font-size: 15px; line-height: 1.5; color: var(--gray-700); }
.modal__qr { padding: 14px; border-radius: 20px; background: linear-gradient(135deg, var(--indigo-50), rgba(44, 186, 184, .18)); }
.modal__qr img { width: 220px; height: 220px; display: block; border-radius: 10px; background: #fff; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal]:not(.is-shown) { opacity: 1; transform: none; }
}
