/* ==========================================================================
   Azeel — V4 "The Interactive App Story"
   Light SaaS-product aesthetic · Bricolage Grotesque + Manrope + Tajawal
   ========================================================================== */

:root {
  /* Brand */
  --blue: #4340FF;
  --blue-70: #F5F5FF;
  --blue-100: #D0CFFF;
  --blue-300: #7270FF;
  --blue-600: #3230BF;
  --blue-700: #222080;
  --gold: #FFCE51;
  --gold-deep: #FFB700;
  --ink: #1A1819;
  --paper: #F9F9F9;
  --mist: #F1F3F4;
  --white: #FCFEFF;
  --success: #02873E;

  /* Type */
  --font-display: "Bricolage Grotesque", "Tajawal", sans-serif;
  --font-body: "Manrope", "Tajawal", sans-serif;
  --font-ar: "Tajawal", sans-serif;

  /* Rhythm */
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --shadow-soft: 0 2px 6px rgba(26, 24, 25, 0.04), 0 18px 40px -18px rgba(26, 24, 25, 0.14);
  --shadow-pop: 0 4px 10px rgba(26, 24, 25, 0.06), 0 30px 60px -24px rgba(67, 64, 255, 0.28);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.34, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: inline-block; vertical-align: middle; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
[lang="ar"] { font-family: var(--font-ar); }
::selection { background: var(--gold); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 18px;
  border-radius: 999px; text-decoration: none; font-weight: 700;
  transition: top 0.25s var(--ease-out);
}
.skip-link:focus { top: 14px; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }

/* ---------- Shared section headings ---------- */
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-70);
  border: 1px solid var(--blue-100);
  padding: 7px 14px; border-radius: 999px;
  margin: 0 0 18px;
}
.section-title {
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 800;
  max-width: 16em;
  margin-bottom: 14px;
}
.section-lede {
  font-size: clamp(16px, 1.5vw, 19px);
  color: #4c4a4b;
  max-width: 34em;
  margin-bottom: 8px;
}
.accent-blue { color: var(--blue); }
.accent-ink { color: var(--blue); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 800; text-decoration: none; cursor: pointer;
  border: none; border-radius: 999px;
  font-family: var(--font-body);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out), background 0.25s;
  will-change: transform;
}
.btn--primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 10px 26px -10px rgba(67, 64, 255, 0.55);
}
.btn--primary:hover { background: var(--blue-600); transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(67, 64, 255, 0.6); }
.btn--gold {
  background: var(--gold); color: var(--ink);
  box-shadow: 0 12px 30px -10px rgba(255, 183, 0, 0.55);
}
.btn--gold:hover { background: var(--gold-deep); transform: translateY(-2px); }
.btn--sm { padding: 10px 20px; font-size: 14.5px; }
.btn--lg { padding: 17px 30px; font-size: 17px; }
.btn__arrow { display: inline-block; transition: transform 0.3s var(--ease-spring); }
.btn:hover .btn__arrow { transform: translateY(3px); }

/* ---------- App store badges ---------- */
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff; text-decoration: none;
  padding: 9px 16px 9px 13px; border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}
.store-badge:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 14px 28px -12px rgba(26, 24, 25, 0.5); }
.store-badge__glyph { font-size: 22px; line-height: 1; display: inline-flex; }
.store-badge__glyph svg { display: block; }
.store-badge__text { display: flex; flex-direction: column; line-height: 1.15; }
.store-badge__text small { font-size: 10px; opacity: 0.75; letter-spacing: 0.04em; }
.store-badge__text strong { font-size: 15px; }
.store-badges--dark .store-badge { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); }
.store-badges--dark .store-badge:hover { background: rgba(255, 255, 255, 0.14); }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding: 14px clamp(16px, 3vw, 32px);
  transition: padding 0.3s var(--ease-out);
}
.nav__inner {
  max-width: var(--container); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: rgba(252, 254, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(26, 24, 25, 0.07);
  border-radius: 999px;
  padding: 8px 10px 8px 22px;
  box-shadow: 0 4px 24px -12px rgba(26, 24, 25, 0.12);
  transition: box-shadow 0.3s;
}
.nav.is-scrolled .nav__inner { box-shadow: 0 10px 34px -12px rgba(26, 24, 25, 0.22); }
.nav__logo { display: inline-flex; color: var(--blue); }
.nav__logo-svg { width: 86px; height: 49px; }
.nav__links { display: flex; gap: clamp(12px, 2vw, 28px); }
.nav__links a {
  text-decoration: none; font-weight: 700; font-size: 14.5px; color: #444;
  position: relative; padding: 6px 2px;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2.5px; background: var(--gold-deep); border-radius: 2px;
  transition: right 0.3s var(--ease-out);
}
.nav__links a:hover::after { right: 0; }
.nav__cta-wrap { display: flex; align-items: center; gap: 12px; }
.nav__cta-wrap .btn--sm { height: 40px; padding-block: 0; display: inline-flex; align-items: center; }
.nav__soon { font-size: 13px; font-weight: 700; color: var(--blue); white-space: nowrap; }

@media (max-width: 900px) {
  .nav__links, .nav__soon { display: none; }
  .nav__logo-svg { width: 70px; height: 40px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(120px, 16vh, 170px) 0 90px;
  overflow: clip;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.hero__glow--blue { width: 620px; height: 620px; background: var(--blue-100); top: -180px; right: -120px; }
.hero__glow--gold { width: 460px; height: 460px; background: #ffedbd; bottom: -160px; left: -140px; opacity: 0.7; }
.hero__grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(67, 64, 255, 0.13) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 0%, transparent 70%);
}
.hero__inner {
  position: relative;
  max-width: var(--container); margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(30px, 5vw, 70px); align-items: center;
  width: 100%;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--blue-100);
  color: var(--blue-700); font-weight: 800; font-size: 13.5px;
  padding: 8px 16px; border-radius: 999px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 26px;
}
.hero__eyebrow .i-star { width: 14px; height: 14px; color: var(--gold-deep); }
.hero__eyebrow-ar { color: var(--blue); }
.hero__title {
  font-size: clamp(46px, 7.4vw, 96px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 0.98;
  margin-bottom: 26px;
}
.hero__title-accent {
  color: var(--blue);
  position: relative; display: inline-block;
  z-index: 0; /* contain the ::after underline's negative z-index */
}
.hero__title-accent::after {
  content: "";
  position: absolute; left: 2%; right: 4%; bottom: 0.04em; height: 0.16em;
  background: var(--gold); border-radius: 999px; z-index: -1;
  transform-origin: left center;
}
.hero__title-sub {
  display: block;
  font-size: 0.42em;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #5a585a;
  margin-top: 0.5em;
}
.hero__lede { font-size: clamp(16.5px, 1.6vw, 19.5px); color: #4c4a4b; max-width: 33em; margin-bottom: 34px; }
.hero__lede strong { color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-bottom: 22px; }
.hero__trustline {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  font-size: 13.5px; font-weight: 700; color: #77757a;
}
.hero__trustline .dot { color: var(--blue-100); }

/* Hero visual — notification stack + bubble + stars */
.hero__visual { position: relative; min-height: 420px; }
.hero__bubble {
  position: absolute; top: -8px; right: 4%;
  width: clamp(170px, 16vw, 220px); aspect-ratio: 200 / 141;
  display: grid; place-items: center;
  filter: drop-shadow(0 18px 30px rgba(255, 183, 0, 0.35));
  z-index: 3;
  transform: rotate(4deg);
}
.hero__bubble-shape { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--gold); }
.hero__bubble-text {
  margin-bottom: 20px;
  position: relative; z-index: 1;
  font-weight: 800; font-size: clamp(18px, 1.8vw, 24px);
  color: var(--ink);
  transform: translateY(-12%);
}
.hero__notif-stack {
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
  margin-top: 120px;
  z-index: 2;
}
.ios-notif {
  display: flex; gap: 12px; align-items: flex-start;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(26, 24, 25, 0.06);
  border-radius: 20px;
  padding: 14px 16px;
  box-shadow: var(--shadow-soft);
  max-width: 400px;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s;
}
.ios-notif:hover { transform: translateY(-3px) rotate(-0.5deg); box-shadow: var(--shadow-pop); }
.ios-notif:nth-child(2) { margin-inline-start: 34px; }
.ios-notif:nth-child(3) { margin-inline-start: 10px; opacity: 0.88; }
.ios-notif__icon {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center; font-size: 20px;
  background: linear-gradient(140deg, var(--blue) 0%, var(--blue-300) 100%);
}
.ios-notif__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ios-notif__row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.ios-notif__row strong { font-weight: 800; }
.ios-notif__row time { color: #8b898c; font-size: 12px; }
.ios-notif__msg { font-size: 14px; line-height: 1.4; color: #333; }
.hero__star { position: absolute; color: var(--gold); }
.hero__star--1 { width: 34px; height: 34px; top: 40px; left: 4%; }
.hero__star--2 { width: 20px; height: 20px; top: 180px; right: -6px; color: var(--blue-300); }
.hero__star--3 { width: 26px; height: 26px; bottom: -10px; left: 26%; }

.hero__scrollcue {
  position: relative;
  display: flex; align-items: center; gap: 12px; justify-content: center;
  margin-top: clamp(40px, 7vh, 80px);
  font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #8b898c;
}
.hero__scrollcue-track {
  width: 24px; height: 40px; border: 2px solid var(--blue-100); border-radius: 999px;
  display: flex; justify-content: center; padding-top: 7px;
}
.hero__scrollcue-dot {
  width: 5px; height: 9px; border-radius: 999px; background: var(--blue);
  animation: cue-drop 1.8s var(--ease-out) infinite;
}
@keyframes cue-drop {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

@media (max-width: 980px) {
  .hero { min-height: 0; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { min-height: 0; margin-top: 10px; }
  .hero__notif-stack { margin-top: 90px; }
  .hero__bubble { top: -22px; }
}

/* ---------- Load reveal ---------- */
.reveal-load { opacity: 0; transform: translateY(26px); }
body.is-loaded .reveal-load {
  animation: rise 0.9s var(--ease-out) forwards;
  animation-delay: calc(var(--d, 0) * 120ms);
}
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Scroll reveal (IO) ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.in-view { opacity: 1; transform: none; }

/* ---------- Floating idle animations ---------- */
.float-a { animation: float-a 5.5s ease-in-out infinite; }
.float-b { animation: float-b 7s ease-in-out infinite; }
@keyframes float-a { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-12px) rotate(8deg); } }
@keyframes float-b { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(10px) rotate(-10deg); } }

/* ==========================================================================
   Toast rack — scroll-triggered iOS-style notifications
   ========================================================================== */
.toast-rack {
  position: fixed; top: 92px; right: 18px; z-index: 150;
  display: flex; flex-direction: column; gap: 10px;
  width: min(360px, calc(100vw - 36px));
  pointer-events: none;
}
.toast {
  display: flex; gap: 12px; align-items: flex-start;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(26, 24, 25, 0.08);
  border-radius: 18px;
  padding: 13px 15px;
  box-shadow: 0 8px 20px rgba(26, 24, 25, 0.10), 0 24px 54px -18px rgba(26, 24, 25, 0.28);
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.6s var(--ease-spring), opacity 0.4s;
}
.toast.is-in { transform: translateX(0); opacity: 1; }
.toast.is-out { transform: translateY(-16px) scale(0.94); opacity: 0; transition: transform 0.4s var(--ease-out), opacity 0.35s; }
.toast__icon {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center; font-size: 19px;
  background: linear-gradient(140deg, var(--blue) 0%, var(--blue-300) 100%);
}
.toast__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.toast__row { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; }
.toast__row strong { font-weight: 800; }
.toast__row time { color: #8b898c; font-size: 11.5px; }
.toast__msg { font-size: 13.5px; line-height: 1.4; color: #333; }

@media (max-width: 700px) {
  .toast-rack { top: auto; bottom: 16px; right: 50%; transform: translateX(50%); }
  .toast { transform: translateY(120%); }
  .toast.is-in { transform: translateY(0); }
}

/* ==========================================================================
   Demo — sticky phone + scroll-driven screens
   ========================================================================== */
.demo { position: relative; background: linear-gradient(180deg, var(--paper) 0%, var(--blue-70) 18%, var(--blue-70) 82%, var(--paper) 100%); }
.demo__intro { text-align: center; padding: clamp(70px, 9vw, 120px) 20px 10px; }
.demo__intro .section-title { margin-inline: auto; }
.demo__intro .section-lede { margin-inline: auto; }

.demo__track { position: relative; height: 380vh; }
.demo__stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: flex; align-items: center;
  overflow: clip;
}
.demo__layout {
  max-width: var(--container); margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
  display: grid;
  grid-template-columns: minmax(320px, 460px) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
  width: 100%;
}

/* Step rail */
.demo__steps {
  position: relative;
  display: flex; flex-direction: column; gap: 12px;
  padding-inline-start: 22px;
}
.demo__progress {
  position: absolute; left: 0; top: 8px; bottom: 8px;
  width: 4px; border-radius: 999px; background: var(--blue-100);
  overflow: hidden;
}
.demo__progress-fill {
  display: block; width: 100%; height: 100%;
  background: linear-gradient(180deg, var(--blue) 0%, var(--gold-deep) 130%);
  border-radius: inherit;
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.2s linear;
}
.step-card {
  display: flex; gap: 16px; align-items: flex-start; text-align: start;
  background: transparent; border: 1px solid transparent;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  cursor: pointer;
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s, transform 0.4s var(--ease-out), opacity 0.4s;
  opacity: 0.55;
}
.step-card:hover { opacity: 0.85; transform: translateX(4px); }
.step-card.is-active {
  opacity: 1;
  background: #fff;
  border-color: rgba(67, 64, 255, 0.14);
  box-shadow: var(--shadow-soft);
  transform: translateX(0);
}
.step-card__num {
  font-family: var(--font-display);
  font-weight: 800; font-size: 15px;
  color: var(--blue);
  background: var(--blue-70);
  border: 1px solid var(--blue-100);
  border-radius: 10px;
  padding: 4px 8px;
  transition: background 0.4s, color 0.4s;
}
.step-card.is-active .step-card__num { background: var(--blue); color: #fff; border-color: var(--blue); }
.step-card__body { display: flex; flex-direction: column; gap: 4px; }
.step-card__title { font-family: var(--font-display); font-weight: 800; font-size: 18.5px; letter-spacing: -0.01em; }
.step-card__text { font-size: 14px; line-height: 1.5; color: #5a585a; }

/* Phone */
.demo__phone-wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.demo__hint { font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #918fa0; display: none; }

.phone {
  position: relative;
  width: min(360px, 82vw, 44svh);
  aspect-ratio: 460 / 1000; /* matches the real app screenshots (920×2000) */
  background: linear-gradient(160deg, #2b292a, var(--ink) 60%);
  border-radius: 58px;
  padding: 11px;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.08),
    0 3px 8px rgba(26, 24, 25, 0.2),
    0 46px 90px -30px rgba(34, 32, 128, 0.55);
}
.phone__buttons::before,
.phone__buttons::after {
  content: ""; position: absolute; background: #39373a; border-radius: 4px;
}
.phone__buttons::before { left: -3px; top: 22%; width: 4px; height: 88px; } /* volume */
.phone__buttons::after { right: -3px; top: 27%; width: 4px; height: 64px; } /* power */
.phone__screen {
  position: relative;
  width: 100%; height: 100%;
  background: var(--paper);
  border-radius: 47px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.phone__statusbar {
  position: relative; z-index: 6;
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 26px 6px;
  color: var(--ink);
}
.phone__time { font-weight: 800; font-size: 15px; letter-spacing: 0.02em; }
.phone__island {
  position: absolute; z-index: 10; left: 50%; top: 10px; transform: translateX(-50%);
  width: 92px; height: 26px; border-radius: 999px; background: var(--ink);
}
.phone__signals { display: inline-flex; align-items: center; gap: 6px; }
.phone__screens { position: relative; flex: 1; min-height: 0; }
.phone__homebar {
  position: absolute; z-index: 6; left: 50%; bottom: 8px; transform: translateX(-50%);
  width: 120px; height: 5px; border-radius: 999px; background: rgba(26, 24, 25, 0.9);
}

/* App screens */
.app-screen {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  padding: 6px 18px 26px;
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  visibility: hidden;
  transition:
    opacity 0.55s var(--ease-out),
    transform 0.55s var(--ease-out),
    visibility 0s linear 0.55s;
}
.app-screen.is-active {
  opacity: 1; transform: none; visibility: visible;
  transition:
    opacity 0.55s var(--ease-out) 0.08s,
    transform 0.55s var(--ease-out) 0.08s,
    visibility 0s;
}
.app-screen.is-before { transform: translateY(-30px) scale(0.985); }

.app-header {
  flex: 0 0 auto;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 2px 12px;
}
.app-header__back {
  width: 32px; height: 32px; border-radius: 11px;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--mist);
  font-size: 20px; font-weight: 700; color: var(--ink);
  padding-bottom: 2px;
}
.app-header__title { flex: 1; text-align: center; font-family: var(--font-display); font-weight: 800; font-size: 16.5px; }
.app-header__dots { display: inline-flex; gap: 4px; }
.app-header__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-100); }
.app-header__dots i.on { background: var(--blue); }
.app-header__badge {
  font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--success); background: #e2f4e9;
  padding: 4px 10px; border-radius: 999px;
  animation: badge-pulse 2s ease-in-out infinite;
}
.app-header__badge--gold { color: #8a6400; background: #fff3d1; animation: none; }
@keyframes badge-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(2, 135, 62, 0.35); } 55% { box-shadow: 0 0 0 6px rgba(2, 135, 62, 0); } }

.app-body { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 9px; overflow: hidden; }
.app-body--center { justify-content: center; align-items: center; text-align: center; gap: 12px; padding-bottom: 20px; }
.app-greet { font-weight: 800; font-size: 14.5px; display: flex; justify-content: space-between; align-items: baseline; color: var(--ink); }
.app-greet [lang="ar"] { color: #8b898c; font-size: 13px; font-weight: 500; }
.app-sublabel { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #918fa0; margin-top: 4px; }

/* Service options */
.svc-option {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1.6px solid var(--mist);
  border-radius: 16px; padding: 11px 12px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-spring);
}
.svc-option.is-picked {
  border-color: var(--blue);
  box-shadow: 0 8px 20px -8px rgba(67, 64, 255, 0.35);
}
.svc-option__icon {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; overflow: hidden;
  background: var(--blue-70); color: var(--blue);
}
.svc-option__icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.svc-option__icon--iron { background: #fff3d1; color: #a97c00; }
.svc-option__icon--dry { background: #ffe9f4; color: #d1447f; }
/* Real app icons already ship as tiles — drop the tinted backer for them */
.svc-option__icon:has(img) { background: transparent; }
.locker-status__icon--img { background: transparent !important; padding: 0; overflow: hidden; }
.locker-status__icon--img img { width: 100%; height: 100%; object-fit: contain; display: block; }
/* Real app illustration shown at the top of a tracking screen */
.app-hero-img { display: flex; justify-content: center; padding: 2px 0 4px; }
.app-hero-img img { width: 72px; height: 72px; object-fit: contain; display: block; }
.done-burst__img { position: relative; z-index: 1; width: 88px; height: 88px; object-fit: contain; display: block; }
.app-screen.is-active .done-burst__img { animation: check-pop 0.7s var(--ease-spring) 0.15s backwards; }
.svc-option__body { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.svc-option__body strong { font-size: 14.5px; font-weight: 800; }
.svc-option__body small { font-size: 12px; color: #77757a; }
.svc-option__check {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: grid; place-items: center; font-size: 12px; font-weight: 800;
}
.app-screen.is-active .svc-option.is-picked { animation: pick-pop 0.6s var(--ease-spring) 0.35s backwards; }
@keyframes pick-pop { 0% { transform: scale(0.96); } 60% { transform: scale(1.02); } 100% { transform: scale(1); } }

/* Piece rows */
.piece-row {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--mist);
  border-radius: 13px; padding: 8px 12px;
  font-size: 13.5px;
}
.piece-row__name { flex: 1; font-weight: 700; }
.piece-row__name [lang="ar"] { color: #8b898c; font-weight: 500; margin-inline-start: 4px; }
.piece-row__price { font-weight: 800; color: var(--blue); font-size: 12.5px; }
.piece-row__stepper { display: inline-flex; align-items: center; gap: 8px; }
.piece-row__stepper i {
  width: 22px; height: 22px; border-radius: 8px;
  display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 13px;
  background: var(--blue-70); color: var(--blue);
}
.piece-row__stepper b { min-width: 12px; text-align: center; font-size: 13.5px; }

/* In-app CTA */
.app-cta { flex: 0 0 auto; padding-top: 10px; }
.app-cta__btn {
  display: flex; align-items: center; justify-content: center;
  background: var(--blue); color: #fff;
  font-weight: 800; font-size: 15px;
  border-radius: 999px; padding: 13px 18px;
  box-shadow: 0 10px 22px -8px rgba(67, 64, 255, 0.5);
}
.app-cta__btn--ghost {
  background: #fff; color: var(--blue);
  border: 1.6px solid var(--blue-100);
  box-shadow: none;
  padding: 11px 26px;
  display: inline-flex;
}

/* Schedule screen */
.addr-card {
  display: flex; align-items: center; gap: 11px;
  background: #fff; border: 1px solid var(--mist);
  border-radius: 15px; padding: 11px 13px;
}
.addr-card__pin { color: var(--blue); display: grid; place-items: center; }
.addr-card__body { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.addr-card__body strong { font-size: 14px; font-weight: 800; }
.addr-card__body small { font-size: 12px; color: #77757a; }
.addr-card__change { font-size: 12.5px; font-weight: 800; color: var(--blue); }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip-row--stack { flex-direction: column; }
.chip {
  background: #fff; border: 1.6px solid var(--mist);
  border-radius: 999px; padding: 8px 14px;
  font-size: 13px; font-weight: 700; color: #444;
  transition: border-color 0.3s, background 0.3s, color 0.3s;
}
.chip--wide { text-align: center; }
.chip.is-picked { border-color: var(--blue); background: var(--blue); color: #fff; box-shadow: 0 8px 18px -8px rgba(67, 64, 255, 0.5); }
.app-screen.is-active .chip.is-picked { animation: pick-pop 0.6s var(--ease-spring) 0.4s backwards; }
.locker-hint {
  display: flex; gap: 10px; align-items: flex-start;
  background: #fff8e6; border: 1px dashed var(--gold-deep);
  border-radius: 14px; padding: 10px 12px;
  font-size: 12.5px; line-height: 1.45; color: #6b5410;
  margin-top: 2px;
}

/* Tracking screen */
.eta-card {
  display: flex; flex-direction: column; gap: 2px;
  background: linear-gradient(130deg, var(--blue) 0%, var(--blue-600) 100%);
  color: #fff; border-radius: 16px; padding: 12px 16px;
}
.eta-card__label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.75; }
.eta-card__value { font-family: var(--font-display); font-size: 17px; font-weight: 800; }
.track { list-style: none; margin: 4px 0 0; padding: 2px 0 0 6px; display: flex; flex-direction: column; }
.track__item {
  position: relative;
  display: flex; gap: 14px; align-items: flex-start;
  padding: 0 0 15px 0;
}
.track__item::before {
  content: ""; position: absolute; left: 7px; top: 18px; bottom: -2px;
  width: 2.5px; background: var(--blue-100); border-radius: 2px;
}
.track__item:last-child::before { display: none; }
.track__item.is-done::before { background: var(--blue); }
.track__dot {
  flex: 0 0 auto; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 2.5px solid var(--blue-100);
  margin-top: 2px;
  transition: background 0.4s, border-color 0.4s;
}
.track__item.is-done .track__dot { background: var(--blue); border-color: var(--blue); }
.track__item.is-now .track__dot {
  background: var(--gold); border-color: var(--gold-deep);
  animation: now-pulse 1.6s ease-in-out infinite;
}
@keyframes now-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 183, 0, 0.45); }
  55% { box-shadow: 0 0 0 8px rgba(255, 183, 0, 0); }
}
.track__body { display: flex; flex-direction: column; line-height: 1.3; }
.track__body strong { font-size: 13.5px; font-weight: 800; }
.track__body small { font-size: 11.5px; color: #8b898c; }
.track__item.is-now .track__body strong { color: var(--blue-600); }
.app-screen.is-active .track__item { animation: track-in 0.5s var(--ease-out) backwards; }
.app-screen.is-active .track__item:nth-child(1) { animation-delay: 0.15s; }
.app-screen.is-active .track__item:nth-child(2) { animation-delay: 0.24s; }
.app-screen.is-active .track__item:nth-child(3) { animation-delay: 0.33s; }
.app-screen.is-active .track__item:nth-child(4) { animation-delay: 0.42s; }
.app-screen.is-active .track__item:nth-child(5) { animation-delay: 0.51s; }
.app-screen.is-active .track__item:nth-child(6) { animation-delay: 0.6s; }
@keyframes track-in {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: none; }
}

/* Invoice / payment screen */
.invoice {
  background: #fff; border: 1px solid var(--mist);
  border-radius: 16px; padding: 13px 15px;
  font-size: 13.5px;
}
.invoice__line { display: flex; justify-content: space-between; padding: 3.5px 0; font-weight: 600; }
.invoice__line--muted { color: #8b898c; font-weight: 500; }
.invoice__total {
  display: flex; justify-content: space-between;
  border-top: 1.6px dashed var(--blue-100);
  margin-top: 7px; padding-top: 9px;
  font-family: var(--font-display); font-weight: 800; font-size: 16px;
}
.invoice__total span:last-child { color: var(--blue); }
.invoice__note { font-size: 11.5px; color: #8b898c; margin-top: 7px; line-height: 1.4; }
.pay-sheet {
  margin-top: auto;
  background: #fff; border: 1px solid var(--mist);
  border-radius: 20px 20px 24px 24px; padding: 13px;
  display: flex; flex-direction: column; gap: 9px;
  box-shadow: 0 -10px 30px -18px rgba(26, 24, 25, 0.25);
}
.app-screen.is-active .pay-sheet { animation: sheet-up 0.65s var(--ease-spring) 0.25s backwards; }
@keyframes sheet-up { from { opacity: 0; transform: translateY(46px); } to { opacity: 1; transform: none; } }
.pay-apple {
  display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: #fff;
  font-weight: 700; font-size: 16px;
  border-radius: 12px; padding: 12px;
  letter-spacing: 0.01em;
}
.pay-alt {
  display: flex; align-items: center; gap: 10px;
  border: 1.6px solid var(--mist); border-radius: 12px; padding: 10px 12px;
  font-size: 13.5px;
}
.pay-alt__brand { font-weight: 800; color: #16775e; font-style: italic; }
.pay-alt__num { flex: 1; color: #77757a; letter-spacing: 0.06em; }
.pay-alt__check { width: 20px; height: 20px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.pay-secure { text-align: center; font-size: 11.5px; font-weight: 700; color: #8b898c; }

/* Delivered screen */
.app-screen--done { background: radial-gradient(120% 70% at 50% 0%, var(--blue-70) 0%, var(--paper) 60%); border-radius: inherit; }
.done-burst { position: relative; width: 118px; height: 118px; display: grid; place-items: center; }
.done-burst__check {
  width: 86px; height: 86px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--blue) 0%, var(--blue-300) 100%);
  color: #fff; font-size: 40px; font-weight: 800;
  box-shadow: 0 20px 40px -12px rgba(67, 64, 255, 0.55);
}
.app-screen.is-active .done-burst__check { animation: check-pop 0.7s var(--ease-spring) 0.15s backwards; }
@keyframes check-pop { 0% { transform: scale(0); } 70% { transform: scale(1.12); } 100% { transform: scale(1); } }
.done-burst__star { position: absolute; color: var(--gold); }
.done-burst__star--1 { width: 26px; height: 26px; top: -4px; left: -6px; }
.done-burst__star--2 { width: 16px; height: 16px; top: 12px; right: -10px; }
.done-burst__star--3 { width: 20px; height: 20px; bottom: -2px; right: 4px; color: var(--blue-300); }
.done-burst__star--4 { width: 13px; height: 13px; bottom: 16px; left: -14px; }
.app-screen.is-active .done-burst__star { animation: star-burst 0.9s var(--ease-spring) backwards; }
.app-screen.is-active .done-burst__star--1 { animation-delay: 0.4s; }
.app-screen.is-active .done-burst__star--2 { animation-delay: 0.5s; }
.app-screen.is-active .done-burst__star--3 { animation-delay: 0.6s; }
.app-screen.is-active .done-burst__star--4 { animation-delay: 0.7s; }
@keyframes star-burst { 0% { transform: scale(0) rotate(-40deg); opacity: 0; } 100% { transform: scale(1) rotate(0); opacity: 1; } }
.done-title { font-size: 23px; font-weight: 800; }
.done-text { font-size: 14px; color: #5a585a; line-height: 1.5; }
.done-stars { display: inline-flex; gap: 5px; }
.done-star { width: 26px; height: 26px; color: var(--gold-deep); }
.app-screen.is-active .done-star { animation: star-burst 0.6s var(--ease-spring) backwards; }
.app-screen.is-active .done-star:nth-child(1) { animation-delay: 0.55s; }
.app-screen.is-active .done-star:nth-child(2) { animation-delay: 0.63s; }
.app-screen.is-active .done-star:nth-child(3) { animation-delay: 0.71s; }
.app-screen.is-active .done-star:nth-child(4) { animation-delay: 0.79s; }
.app-screen.is-active .done-star:nth-child(5) { animation-delay: 0.87s; }
.done-relax { font-size: 12.5px; color: #8b898c; }

/* --- Demo: mobile & reduced-motion fallback (tap-through) --- */
@media (max-width: 980px) {
  .demo__track { height: auto; }
  .demo__stage { position: static; height: auto; overflow: visible; padding: 30px 0 70px; }
  .demo__layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .demo__phone-wrap { order: -1; }
  .demo__hint { display: block; }
  .demo__steps { padding-inline-start: 18px; max-width: 560px; margin-inline: auto; width: 100%; }
  .demo__progress { top: 6px; bottom: 6px; }
  .phone { width: min(320px, 84vw); }
}

/* ==========================================================================
   Services
   ========================================================================== */
.services { padding: clamp(80px, 10vw, 140px) 0 30px; }
.services__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px; margin-top: 44px;
}
.svc-card {
  position: relative;
  background: #fff; border: 1px solid rgba(26, 24, 25, 0.06);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s, border-color 0.4s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-pop); border-color: rgba(67, 64, 255, 0.2); }
.svc-card__icon {
  display: inline-grid; place-items: center;
  width: 54px; height: 54px; border-radius: 16px;
  background: var(--blue-70); font-size: 26px;
  margin-bottom: 16px;
  transition: transform 0.4s var(--ease-spring);
}
.svc-card:hover .svc-card__icon { transform: rotate(-8deg) scale(1.1); }
.svc-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.svc-card p { font-size: 14.5px; color: #5a585a; line-height: 1.55; }
.svc-card__tag {
  position: absolute; top: 18px; right: 18px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--gold); color: var(--ink);
  padding: 5px 10px; border-radius: 999px;
}
.svc-card__prices { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.svc-card__prices span {
  font-size: 11.5px; font-weight: 700; color: var(--blue-700);
  background: var(--blue-70); border: 1px solid var(--blue-100);
  padding: 4px 9px; border-radius: 999px;
}
@media (max-width: 1020px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Who it's for
   ========================================================================== */
.who { padding: clamp(70px, 9vw, 120px) 0 30px; }
.who__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.who-card {
  background: linear-gradient(170deg, #fff 0%, var(--blue-70) 140%);
  border: 1px solid rgba(26, 24, 25, 0.06);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s;
}
.who-card:hover { transform: translateY(-6px) rotate(-0.4deg); box-shadow: var(--shadow-pop); }
.who-card__emoji { font-size: 34px; display: inline-block; margin-bottom: 14px; }
.who-card h3 { font-size: 21px; font-weight: 800; margin-bottom: 10px; }
.who-card p { font-size: 15px; color: #4c4a4b; line-height: 1.6; }
.who-card__link {
  display: inline-block; margin-top: 14px;
  font-weight: 800; font-size: 14.5px; color: var(--blue);
  text-decoration: none;
}
.who-card__link:hover { text-decoration: underline; }
@media (max-width: 900px) { .who__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Feature bento
   ========================================================================== */
.features { padding: clamp(70px, 9vw, 120px) 0 30px; }
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 44px;
}
.bento__cell {
  background: #fff;
  border: 1px solid rgba(26, 24, 25, 0.06);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: 8px;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s, border-color 0.4s;
  overflow: hidden;
}
.bento__cell:hover { transform: translateY(-5px); box-shadow: var(--shadow-pop); border-color: rgba(67, 64, 255, 0.18); }
.bento__cell h3 { font-size: 19px; font-weight: 800; }
.bento__cell p { font-size: 14px; color: #5a585a; line-height: 1.55; }
.bento__cell--track { grid-column: span 4; }
.bento__cell--pricing { grid-column: span 2; }
.bento__cell--pay { grid-column: span 2; }
.bento__cell--locker { grid-column: span 2; }
.bento__cell--assistant { grid-column: span 2; background: linear-gradient(160deg, var(--blue) 0%, var(--blue-700) 120%); color: #fff; border: none; }
.bento__cell--assistant h3 { color: #fff; }
.bento__cell--assistant p { color: rgba(255, 255, 255, 0.8); }
.bento__cell--notes { grid-column: span 3; }
.bento__cell--lang { grid-column: span 3; }

/* mini live tracker */
.mini-track { margin-top: auto; padding-top: 26px; }
.mini-track__rail { position: relative; height: 5px; border-radius: 999px; background: var(--blue-100); overflow: hidden; }
.mini-track__fill {
  position: absolute; inset: 0 100% 0 0;
  background: linear-gradient(90deg, var(--blue), var(--blue-300));
  border-radius: inherit;
}
.mini-track.is-live .mini-track__fill { animation: mini-fill 7s linear infinite; }
@keyframes mini-fill {
  0% { inset: 0 100% 0 0; } 12% { inset: 0 80% 0 0; }
  22% { inset: 0 80% 0 0; } 34% { inset: 0 60% 0 0; }
  44% { inset: 0 60% 0 0; } 56% { inset: 0 40% 0 0; }
  64% { inset: 0 40% 0 0; } 74% { inset: 0 20% 0 0; }
  82% { inset: 0 20% 0 0; } 92% { inset: 0 0 0 0; }
  100% { inset: 0 0 0 0; }
}
.mini-track__stops { display: flex; justify-content: space-between; margin-top: 12px; }
.mini-track__stop { position: relative; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 2.5px solid var(--blue-100); }
.mini-track__stop::after {
  content: attr(data-label);
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  font-size: 10.5px; font-weight: 700; color: #8b898c; white-space: nowrap;
}
.mini-track__stop:first-child::after { transform: none; left: -2px; }
.mini-track__stop:last-child::after { transform: none; left: auto; right: -2px; }
.mini-track { padding-bottom: 26px; }

/* price flip */
.price-flip {
  margin-top: auto;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 13px; font-weight: 800;
}
.price-flip__from { color: #918fa0; background: var(--mist); padding: 6px 11px; border-radius: 999px; text-decoration: line-through dashed 1px; }
.price-flip__arrow { color: var(--gold-deep); font-size: 17px; }
.price-flip__to { color: #fff; background: var(--blue); padding: 6px 11px; border-radius: 999px; box-shadow: 0 8px 16px -8px rgba(67, 64, 255, 0.6); }

/* pay chips */
.pay-chips { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.pay-chip {
  font-size: 13px; font-weight: 800;
  border: 1.6px solid var(--mist); border-radius: 999px;
  padding: 7px 13px; background: #fff;
}
.pay-chip--dark { background: var(--ink); color: #fff; border-color: var(--ink); }

/* locker art */
.locker-art { margin-top: auto; display: flex; gap: 10px; }
.locker-art__door {
  flex: 1; aspect-ratio: 1; border-radius: 14px;
  background: var(--blue-70); border: 1.8px solid var(--blue-100);
  display: grid; place-items: center; overflow: hidden; padding: 10px;
  transition: transform 0.35s var(--ease-spring), background 0.35s, box-shadow 0.35s;
}
.locker-art__door img { width: 100%; height: 100%; object-fit: contain; display: block; }
.locker-art__door.is-open { background: #fff; border-color: var(--blue); box-shadow: 0 8px 20px -10px rgba(67, 64, 255, 0.55); }
.bento__cell--locker:hover .locker-art__door.is-open { transform: translateY(-5px) rotate(-4deg); }

/* assistant chat */
.chat-demo { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.chat-bubble {
  max-width: 90%;
  font-size: 12.5px; line-height: 1.45; font-weight: 600;
  padding: 9px 13px; border-radius: 15px;
}
.chat-bubble--user { align-self: flex-end; background: rgba(255, 255, 255, 0.16); color: #fff; border-bottom-right-radius: 5px; }
.chat-bubble--bot { align-self: flex-start; background: var(--gold); color: var(--ink); border-bottom-left-radius: 5px; }

/* note chips */
.note-chips { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.note-chip {
  font-size: 13px; font-weight: 700;
  background: var(--blue-70); color: var(--blue-700);
  border: 1px dashed var(--blue-300);
  padding: 7px 13px; border-radius: 999px;
  transition: transform 0.3s var(--ease-spring), background 0.3s, color 0.3s;
}
.note-chip:hover { transform: scale(1.06) rotate(-1.5deg); background: var(--blue); color: #fff; }

/* language toggle */
.lang-toggle {
  margin-top: auto;
  display: inline-flex; align-self: flex-start;
  background: var(--mist); border-radius: 999px; padding: 4px;
}
.lang-toggle__opt { font-size: 13.5px; font-weight: 800; padding: 7px 17px; border-radius: 999px; color: #77757a; }
.lang-toggle__opt.is-on { background: #fff; color: var(--ink); box-shadow: var(--shadow-soft); }

@media (max-width: 1020px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__cell--track, .bento__cell--pricing, .bento__cell--pay,
  .bento__cell--locker, .bento__cell--assistant, .bento__cell--notes,
  .bento__cell--lang { grid-column: span 2; }
  .bento__cell--pricing, .bento__cell--pay { grid-column: span 1; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .bento__cell--pricing, .bento__cell--pay { grid-column: span 1; }
  .mini-track__stop:nth-child(even)::after { content: ""; }
}

/* ==========================================================================
   Stats
   ========================================================================== */
.stats { padding: clamp(70px, 9vw, 110px) 0 20px; }
.stats__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  background: var(--blue-70); border: 1px solid var(--blue-100);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 4vw, 54px);
  color: var(--ink);
}
.stat { display: flex; flex-direction: column; gap: 6px; padding-inline: 8px; }
.stat + .stat { border-inline-start: 1px solid var(--blue-100); padding-inline-start: 24px; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.6vw, 62px); font-weight: 800; line-height: 1;
  color: var(--blue);
  /* Keep "10+", "24/7", "100%" rendering left-to-right even in RTL,
     while the element itself still aligns to the start edge. */
  direction: ltr; unicode-bidi: isolate;
  text-align: start;
}
[dir="rtl"] .stat__num { text-align: right; }
.stat__label { font-size: 14px; color: #56545a; line-height: 1.45; max-width: 21em; }
@media (max-width: 900px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .stat + .stat { border-inline-start: none; padding-inline-start: 8px; }
}

/* ==========================================================================
   Trust
   ========================================================================== */
.trust { padding: clamp(80px, 10vw, 140px) 0 30px; }
.trust__layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.trust__steps { list-style: none; margin: 34px 0 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.trust-step { display: flex; gap: 18px; align-items: flex-start; }
.trust-step__num {
  flex: 0 0 auto;
  width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 19px;
  background: var(--blue); color: #fff;
  box-shadow: 0 10px 20px -8px rgba(67, 64, 255, 0.5);
}
.trust-step strong { font-family: var(--font-display); font-size: 18.5px; font-weight: 800; display: block; margin-bottom: 4px; }
.trust-step p { font-size: 14.5px; color: #5a585a; line-height: 1.55; }
.trust__badges { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.trust-badge {
  background: #fff; border: 1px solid rgba(26, 24, 25, 0.06);
  border-radius: var(--radius-md); padding: 22px 20px;
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: 6px;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s;
}
.trust-badge:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }
.trust-badge--gold { background: linear-gradient(160deg, #fff8e6, #ffedbd); border-color: rgba(255, 183, 0, 0.35); }
.trust-badge__icon { font-size: 26px; }
.trust-badge strong { font-family: var(--font-display); font-size: 16px; font-weight: 800; }
.trust-badge p { font-size: 13.5px; color: #5a585a; line-height: 1.5; }
@media (max-width: 900px) {
  .trust__layout { grid-template-columns: 1fr; }
  .trust__badges { margin-top: 10px; }
}
@media (max-width: 560px) { .trust__badges { grid-template-columns: 1fr; } }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.quotes { padding: clamp(70px, 9vw, 120px) 0 30px; }
.quotes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; align-items: start; }
.quote-card {
  margin: 0;
  background: #fff; border: 1px solid rgba(26, 24, 25, 0.06);
  border-radius: var(--radius-lg); padding: 28px 26px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s;
}
.quote-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-pop); }
.quote-card--featured {
  background: linear-gradient(165deg, var(--blue) 0%, var(--blue-700) 130%);
  color: #fff; border: none;
  transform: translateY(-10px);
}
.quote-card--featured:hover { transform: translateY(-16px); }
.quote-card__stars { display: inline-flex; gap: 3px; margin-bottom: 14px; }
.q-star { width: 17px; height: 17px; color: var(--gold-deep); }
.quote-card--featured .q-star { color: var(--gold); }
.quote-card blockquote { margin: 0 0 18px; font-size: 15.5px; line-height: 1.6; font-weight: 600; }
.quote-card figcaption { display: flex; flex-direction: column; }
.quote-card figcaption strong { font-family: var(--font-display); font-weight: 800; font-size: 15px; }
.quote-card figcaption span { font-size: 13px; color: #8b898c; }
.quote-card--featured figcaption span { color: rgba(255, 255, 255, 0.7); }
@media (max-width: 900px) {
  .quotes__grid { grid-template-columns: 1fr; }
  .quote-card--featured { transform: none; }
  .quote-card--featured:hover { transform: translateY(-5px); }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding: clamp(80px, 10vw, 140px) 0 60px; }
.faq__layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.faq__head { position: sticky; top: 110px; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff; border: 1px solid rgba(26, 24, 25, 0.06);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-item:has(.faq-item__btn[aria-expanded="true"]) { border-color: rgba(67, 64, 255, 0.3); box-shadow: var(--shadow-pop); }
.faq-item h3 { margin: 0; }
.faq-item__btn {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  text-align: start;
  background: none; border: none; cursor: pointer;
  padding: 19px 22px;
  font-family: var(--font-display); font-weight: 800; font-size: 16.5px;
  letter-spacing: -0.01em;
}
.faq-item__icon {
  flex: 0 0 auto;
  width: 30px; height: 30px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--blue-70); color: var(--blue);
  font-size: 19px; font-weight: 700;
  transition: transform 0.4s var(--ease-spring), background 0.3s, color 0.3s;
}
.faq-item__btn[aria-expanded="true"] .faq-item__icon { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq-item__panel {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease-out);
}
.faq-item__btn[aria-expanded="true"] + .faq-item__panel,
.faq-item h3:has(.faq-item__btn[aria-expanded="true"]) + .faq-item__panel { grid-template-rows: 1fr; }
.faq-item__inner { overflow: hidden; min-height: 0; }
.faq-item__inner p { padding: 0 22px 20px; font-size: 14.5px; line-height: 1.65; color: #4c4a4b; }
@media (max-width: 900px) {
  .faq__layout { grid-template-columns: 1fr; }
  .faq__head { position: static; }
}

/* ==========================================================================
   Coming soon band
   ========================================================================== */
.soon {
  position: relative;
  background:
    radial-gradient(90% 120% at 50% 120%, rgba(67, 64, 255, 0.5) 0%, transparent 60%),
    linear-gradient(170deg, var(--blue-700) 0%, var(--ink) 90%);
  color: #fff;
  padding: clamp(80px, 10vw, 140px) 0;
  overflow: clip;
  text-align: center;
}
.soon__bg { position: absolute; inset: 0; pointer-events: none; }
.soon__star { position: absolute; color: var(--gold); opacity: 0.9; }
.soon__star--1 { width: 42px; height: 42px; top: 14%; left: 10%; }
.soon__star--2 { width: 22px; height: 22px; top: 24%; right: 14%; color: var(--blue-300); }
.soon__star--3 { width: 30px; height: 30px; bottom: 16%; right: 8%; }
.soon__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.soon__machine {
  width: 110px; height: auto; border-radius: 24px;
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.55);
}
.soon__ar { font-size: clamp(26px, 3.6vw, 42px); font-weight: 800; color: var(--gold); }
.soon__title { font-size: clamp(34px, 5.4vw, 64px); font-weight: 800; letter-spacing: -0.02em; }
.soon__lede { font-size: clamp(15.5px, 1.6vw, 18.5px); color: rgba(255, 255, 255, 0.75); max-width: 32em; }
.soon__actions { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: 14px; }
.soon__tag { margin-top: 18px; font-size: 17px; font-weight: 700; color: rgba(255, 255, 255, 0.55); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--mist); color: #56545a; border-top: 1px solid var(--blue-100); }
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: clamp(26px, 4vw, 60px);
  padding-top: 64px; padding-bottom: 44px;
}
.footer__logo { width: 108px; height: 62px; color: var(--blue); margin-bottom: 14px; }
.footer__brand p { font-size: 14px; line-height: 1.6; color: #56545a; max-width: 26em; }
.footer__lang { margin-top: 12px; font-weight: 700; color: var(--blue) !important; font-size: 13px !important; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { color: var(--ink); font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.footer__col a { text-decoration: none; font-size: 14px; color: #56545a; transition: color 0.25s; width: fit-content; }
.footer__col a:hover { color: var(--blue); }
.footer__socials { display: flex; gap: 10px; }
.footer__socials a {
  width: 40px; height: 40px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff;
  border: 1px solid var(--blue-100);
  color: var(--ink);
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease-spring);
}
.footer__socials a svg { display: block; width: 18px; height: 18px; }
.footer__socials a:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-3px); }
.footer__soon { margin-top: 16px; font-size: 15px; font-weight: 700; color: #56545a; }
.footer__base {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--blue-100);
  padding-top: 22px; padding-bottom: 26px;
  font-size: 13px; color: #918fa0;
}
@media (max-width: 900px) { .footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__inner { grid-template-columns: 1fr; } }

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-load { opacity: 1 !important; transform: none !important; }
  /* collapse the scroll track — demo becomes tap-through */
  .demo__track { height: auto !important; }
  .demo__stage { position: static; height: auto; overflow: visible; padding: 30px 0 70px; }
  .demo__hint { display: block; }
  .toast { display: none; }
}

/* ==========================================================================
   Multi-page additions (official-copy site)
   ========================================================================== */

/* Secondary (ghost) button */
.btn--ghost {
  background: #fff; color: var(--blue);
  border: 2px solid var(--blue-100);
  box-shadow: var(--shadow-soft);
}
.btn--ghost:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-pop); }

/* Nav active state */
.nav__links a.is-active { color: var(--blue); }
.nav__links a.is-active::after { right: 0; background: var(--blue); }

/* Official hero title sizing (longer official line) */
.hero__title--official { font-size: clamp(38px, 5.6vw, 72px); line-height: 1.04; }

/* Page hero (subpages) */
.page-hero {
  position: relative;
  padding: clamp(150px, 20vh, 210px) 0 clamp(50px, 7vw, 90px);
  overflow: clip;
  text-align: center;
}
.page-hero__bg { position: absolute; inset: 0; pointer-events: none; }
.page-hero__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.6vw, 66px);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.05;
  max-width: 17em; margin-bottom: 18px;
}
.page-hero__sub { font-size: clamp(16px, 1.6vw, 19.5px); color: #4c4a4b; max-width: 36em; }
.page-hero__link { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.page-hero__link:hover { color: var(--blue-600); }
.page-hero__star { position: absolute; color: var(--gold); }
.page-hero__star--1 { width: 34px; height: 34px; top: 34%; left: 8%; }
.page-hero__star--2 { width: 22px; height: 22px; top: 22%; right: 10%; color: var(--blue-300); }

/* Why-choose bento: 4 equal cells (2×2) */
.bento--why .bento__cell { grid-column: span 3; }
@media (max-width: 1020px) { .bento--why .bento__cell { grid-column: span 2; } }
@media (max-width: 640px) { .bento--why .bento__cell { grid-column: span 1; } }

/* "Full control" tap chips */
.tap-chips { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.tap-chip {
  font-size: 13.5px; font-weight: 800; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 36px;
  background: rgba(255, 255, 255, 0.14); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0 16px; border-radius: 999px;
  transition: background 0.3s, transform 0.3s var(--ease-spring);
}
.bento__cell:hover .tap-chip { background: rgba(255, 255, 255, 0.22); }
.tap-chip:hover { transform: scale(1.06); }

/* Quality sparkles */
.sparkle-row { margin-top: auto; display: flex; gap: 12px; align-items: flex-end; }
.sparkle { width: 26px; height: 26px; color: var(--gold); }
.sparkle:nth-child(2) { width: 36px; height: 36px; color: var(--gold-deep); }
.sparkle:nth-child(3) { width: 20px; height: 20px; color: var(--blue-300); }
.bento__cell:hover .sparkle { animation: star-burst 0.6s var(--ease-spring); }

/* Contactless flow */
.flow-row { margin-top: auto; display: flex; align-items: center; gap: 10px; }
.flow-row__step {
  width: 50px; height: 50px; border-radius: 14px;
  display: grid; place-items: center; overflow: hidden; padding: 8px;
  background: var(--blue-70); border: 1.6px solid var(--blue-100);
  transition: transform 0.35s var(--ease-spring);
}
.flow-row__step img { width: 100%; height: 100%; object-fit: contain; display: block; }
.bento__cell:hover .flow-row__step { transform: translateY(-4px); }
.bento__cell:hover .flow-row__step:nth-child(3) { transition-delay: 0.06s; }
.bento__cell:hover .flow-row__step:nth-child(5) { transition-delay: 0.12s; }
.flow-row__arrow { color: var(--gold-deep); font-weight: 800; font-size: 17px; }

/* Phone: locker status card */
.locker-status {
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(130deg, var(--blue) 0%, var(--blue-600) 100%);
  color: #fff; border-radius: 16px; padding: 12px 14px;
}
.locker-status__icon {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; font-size: 19px;
  background: rgba(255, 255, 255, 0.16);
}
.locker-status__body { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.locker-status__body strong { font-size: 14px; font-weight: 800; }
.locker-status__body small { font-size: 12px; opacity: 0.8; }
.locker-status__state {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--gold); color: var(--ink);
  display: grid; place-items: center; font-size: 13px; font-weight: 800;
}
.app-screen.is-active .locker-status { animation: pick-pop 0.6s var(--ease-spring) 0.25s backwards; }

/* Phone: generic payment confirmation (no brands) */
.pay-confirm {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: #fff; border: 1px solid var(--mist);
  border-radius: 14px; padding: 11px 14px;
  font-size: 13px;
}
.pay-confirm__label { font-weight: 700; color: #77757a; }
.pay-confirm__value { font-weight: 800; color: var(--success); }
.app-screen.is-active .pay-confirm { animation: sheet-up 0.6s var(--ease-spring) 0.5s backwards; }

/* Phone: in-screen notification card (done screen) */
.screen-notif {
  display: flex; gap: 10px; align-items: flex-start; text-align: start;
  background: #fff; border: 1px solid var(--mist);
  border-radius: 16px; padding: 12px 14px;
  box-shadow: var(--shadow-soft);
  max-width: 250px;
}
.app-screen.is-active .screen-notif { animation: sheet-up 0.65s var(--ease-spring) 0.35s backwards; }
.screen-notif__icon {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center; font-size: 17px;
  background: linear-gradient(140deg, var(--blue) 0%, var(--blue-300) 100%);
}
.screen-notif__body { display: flex; flex-direction: column; gap: 2px; }
.screen-notif__app { font-size: 11px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: #8b898c; }
.screen-notif__msg { font-size: 12.5px; line-height: 1.45; color: var(--ink); font-weight: 600; }

/* Stats: label split */
.stat__strong { font-family: var(--font-display); font-weight: 800; font-size: 17px; color: var(--ink); }

/* Smart solutions (services) */
.solutions { padding: clamp(70px, 9vw, 120px) 0 30px; }
.solutions__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.sol-card {
  background: linear-gradient(170deg, #fff 0%, var(--blue-70) 140%);
  border: 1px solid rgba(26, 24, 25, 0.06);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s;
}
.sol-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-pop); }
.sol-card--featured { background: linear-gradient(160deg, var(--blue) 0%, var(--blue-700) 120%); color: #fff; border: none; }
.sol-card--featured h3 { color: #fff; }
.sol-card.sol-card--featured p { color: #fff; }
.sol-card__icon {
  display: inline-grid; place-items: center;
  width: 54px; height: 54px; border-radius: 16px;
  background: var(--blue-70); font-size: 26px;
  margin-bottom: 16px;
}
.sol-card--featured .sol-card__icon { background: rgba(255, 255, 255, 0.14); }
.sol-card h3 { font-size: 21px; font-weight: 800; margin-bottom: 10px; }
.sol-card p { font-size: 14.5px; color: #5a585a; line-height: 1.6; }
@media (max-width: 900px) { .solutions__grid { grid-template-columns: 1fr; } }

/* 3 simple steps as a row (services) */
.trust__steps--row {
  flex-direction: row; gap: 18px; margin-top: 44px;
}
.trust__steps--row .trust-step {
  flex: 1;
  flex-direction: column;
  background: #fff; border: 1px solid rgba(26, 24, 25, 0.06);
  border-radius: var(--radius-lg); padding: 28px 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s;
}
.trust__steps--row .trust-step:hover { transform: translateY(-5px); box-shadow: var(--shadow-pop); }
@media (max-width: 900px) { .trust__steps--row { flex-direction: column; } }

/* Quality assurance checklist */
.quality { padding: clamp(70px, 9vw, 120px) 0 60px; }
.quality__list {
  list-style: none; margin: 40px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 14px;
}
.quality__item {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid rgba(26, 24, 25, 0.06);
  border-radius: 999px; padding: 14px 24px 14px 14px;
  font-weight: 700; font-size: 15.5px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s, border-color 0.35s;
}
.quality__item:hover { transform: translateY(-3px); border-color: rgba(67, 64, 255, 0.25); box-shadow: var(--shadow-pop); }
.quality__check {
  flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blue); color: #fff; font-weight: 800; font-size: 15px;
}

/* About: vision & identity */
.about { padding: clamp(60px, 8vw, 100px) 0 20px; }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.about-block {
  background: #fff; border: 1px solid rgba(26, 24, 25, 0.06);
  border-radius: var(--radius-lg); padding: clamp(28px, 3.4vw, 44px);
  box-shadow: var(--shadow-soft);
}
.about-block__title { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin-bottom: 14px; }
.about-block__body { font-size: 16px; color: #4c4a4b; line-height: 1.7; }
.quote-block {
  position: relative;
  margin: 22px 0 0;
  background: var(--blue-70);
  border-inline-start: 4px solid var(--gold-deep);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 18px 22px 18px 24px;
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  color: var(--blue-700); line-height: 1.5;
}
.quote-block__star { position: absolute; top: -12px; right: 14px; width: 24px; height: 24px; color: var(--gold); }
.pillars { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pillar {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 15px;
  background: var(--paper); border: 1px dashed var(--blue-100);
  border-radius: 999px; padding: 10px 18px;
}
.pillar::before {
  content: ""; flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%;
  background: var(--gold-deep);
}
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; } }

/* About: business model */
.model { padding: clamp(70px, 9vw, 120px) 0 60px; }
.model__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; align-items: start; }
.model-card {
  background: #fff; border: 1px solid rgba(26, 24, 25, 0.06);
  border-radius: var(--radius-lg); padding: 30px 26px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s;
}
.model-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-pop); }
.model-card--featured { background: linear-gradient(160deg, #fff8e6, #ffedbd); border-color: rgba(255, 183, 0, 0.35); }
.model-card__icon {
  display: inline-grid; place-items: center;
  width: 54px; height: 54px; border-radius: 16px;
  background: var(--blue-70); font-size: 26px;
  margin-bottom: 16px;
}
.model-card--featured .model-card__icon { background: rgba(255, 183, 0, 0.22); }
.model-card h3 { font-size: 21px; font-weight: 800; margin-bottom: 10px; }
.model-card p { font-size: 14.5px; color: #5a585a; line-height: 1.6; }
.model-card__sub {
  margin-top: 14px; padding-top: 14px;
  border-top: 1.6px dashed rgba(255, 183, 0, 0.5);
  font-size: 13.5px !important; color: #6b5410 !important; font-weight: 600;
}
@media (max-width: 900px) { .model__grid { grid-template-columns: 1fr; } }

/* Team */
.team { padding: clamp(50px, 7vw, 90px) 0 60px; }
.team__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.team-card {
  background: #fff; border: 1px solid rgba(26, 24, 25, 0.06);
  border-radius: var(--radius-lg); padding: 30px 24px;
  box-shadow: var(--shadow-soft);
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-pop); }
.team-card__avatar {
  width: 84px; height: 84px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--blue) 0%, var(--blue-300) 100%);
  color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 27px; letter-spacing: 0.02em;
  box-shadow: 0 14px 28px -10px rgba(67, 64, 255, 0.5);
  margin-bottom: 18px;
  border: 3px solid #fff; outline: 2px solid var(--blue-100);
  transition: transform 0.4s var(--ease-spring), outline-color 0.4s;
}
.team-card:hover .team-card__avatar { transform: scale(1.07) rotate(-3deg); outline-color: var(--gold); }
.team-card__name { font-size: 19px; font-weight: 800; }
.team-card__role {
  margin: 8px 0 12px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-70); border: 1px solid var(--blue-100);
  padding: 5px 12px; border-radius: 999px;
}
.team-card__bio { font-size: 13.5px; color: #5a585a; line-height: 1.6; }
@media (max-width: 1020px) { .team__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team__grid { grid-template-columns: 1fr; } }

/* FAQ page: single centered column */
.faq__single { max-width: 760px; }
.faq__single .section-eyebrow { margin-bottom: 26px; }

/* Contact page */
.contact-hero {
  position: relative;
  min-height: 72svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(150px, 20vh, 210px) 0 clamp(50px, 7vw, 90px);
  overflow: clip; text-align: center;
}
.contact-hero__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.contact-hero__actions { margin-top: 10px; }
.contact-hero__badges { justify-content: center; margin-top: 22px; }
.contact-hero__ar { margin-top: 26px; font-size: 17px; font-weight: 700; color: #77757a; }
.contact { padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 10vw, 130px); }
.contact__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.contact-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  background: #fff; border: 1px solid rgba(26, 24, 25, 0.06);
  border-radius: var(--radius-lg); padding: 26px 24px;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s, border-color 0.4s;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-pop); border-color: rgba(67, 64, 255, 0.2); }
.contact-card__icon {
  width: 50px; height: 50px; border-radius: 15px;
  display: grid; place-items: center; font-size: 23px;
  background: var(--blue-70);
  margin-bottom: 10px;
}
.contact-card__label { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #918fa0; }
.contact-card__value { font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--ink); }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }

/* Footer address line */
.footer__addr { font-size: 14px; color: #56545a; }


/* ==========================================================================
   Bilingual — Arabic fonts, language toggle, mobile nav, RTL mirroring
   ========================================================================== */

/* --- Language switcher: ghost link naming the target language (header) --- */
.lang-ghost {
  display: inline-flex; align-items: center; gap: 7px;
  height: 40px; padding: 0 15px; box-sizing: border-box;
  background: #fff; border: 1px solid var(--blue-100); border-radius: 999px;
  color: var(--blue-700); cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: 13.5px; line-height: 1;
  white-space: nowrap;
  transition: background .25s, border-color .25s, color .25s;
}
.lang-ghost svg { display: block; flex: none; color: var(--blue); }
.lang-ghost:hover { background: var(--blue-70); border-color: var(--blue-300); color: var(--blue); }
/* Arabic label: Tajawal, plus the ~0.07em optical nudge so it centres */
.lang-ghost span[lang="ar"] {
  font-family: "Tajawal", sans-serif; font-size: 14.5px;
  transform: translateY(0.07em);
}
.lang-link {
  background: none; border: none; cursor: pointer; padding: 0; font: inherit;
  text-decoration: underline; text-underline-offset: 3px; text-align: start;
}

/* --- Mobile nav (burger + dropdown panel) --- */
.nav__inner { position: relative; }
.nav__burger {
  display: none;
  width: 42px; height: 42px; border-radius: 999px;
  background: #fff; border: 1px solid var(--blue-100); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 0;
}
.nav__burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease-out), opacity .25s; }
.nav.nav-open .nav__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.nav-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.nav-open .nav__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav__burger { display: flex; order: 3; }
  .nav__cta-wrap .btn--sm { display: none; }  /* keep header compact; app CTA reachable via menu + page CTAs */
  .nav__cta-wrap { order: 2; }
  .nav__links {
    position: absolute; inset-inline: 4px; top: calc(100% + 10px);
    display: none; flex-direction: column; gap: 4px;
    background: rgba(252, 254, 255, 0.98);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(26, 24, 25, 0.08); border-radius: 22px;
    padding: 12px; box-shadow: 0 22px 44px -16px rgba(26, 24, 25, 0.3);
  }
  .nav.nav-open .nav__links { display: flex; }
  .nav__links a { padding: 12px 16px; border-radius: 14px; font-size: 15.5px; }
  .nav__links a:hover { background: var(--blue-70); }
  .nav__links a::after { display: none; }
  .nav__links a.is-active { background: var(--blue-70); }
  .lang-btn #langToggleLabel { display: inline; }
}

/* --- Arabic typography: Bricolage has no Arabic glyphs -> Tajawal --- */
[dir="rtl"] body { font-family: var(--font-ar); }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4,
[dir="rtl"] .hero__title, [dir="rtl"] .section-title, [dir="rtl"] .page-hero__title,
[dir="rtl"] .step-card__title, [dir="rtl"] .step-card__num, [dir="rtl"] .about-block__title,
[dir="rtl"] .done-title, [dir="rtl"] .faq-item__btn, [dir="rtl"] .stat__num, [dir="rtl"] .stat__strong,
[dir="rtl"] .quote-block, [dir="rtl"] .team-card__name, [dir="rtl"] .contact-card__value,
[dir="rtl"] .app-header__title, [dir="rtl"] .eta-card__value, [dir="rtl"] .btn,
[dir="rtl"] .nav__links, [dir="rtl"] .soon__title, [dir="rtl"] .trust-step strong,
[dir="rtl"] .trust-step__num, [dir="rtl"] .app-cta__btn, [dir="rtl"] .lang-btn,
[dir="rtl"] .hero__bubble-text {
  font-family: var(--font-ar);
}
/* tight Latin tracking looks wrong on Arabic */
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4,
[dir="rtl"] .hero__title, [dir="rtl"] .section-title, [dir="rtl"] .page-hero__title,
[dir="rtl"] .faq-item__btn, [dir="rtl"] .step-card__title, [dir="rtl"] .hero__title-accent { letter-spacing: 0; }

/* --- RTL directional fixes for elements positioned with physical left/right --- */
[dir="rtl"] .nav__inner { padding: 8px 22px 8px 10px; }
[dir="rtl"] .nav__links a::after { right: 0; left: 100%; transition: left .3s var(--ease-out); }
[dir="rtl"] .nav__links a:hover::after { left: 0; }
[dir="rtl"] .nav__links a.is-active::after { left: 0; right: 0; }

[dir="rtl"] .toast-rack { right: auto; left: 18px; }
[dir="rtl"] .toast { transform: translateX(-120%); }
[dir="rtl"] .toast.is-in { transform: translateX(0); }
@media (max-width: 700px) {
  [dir="rtl"] .toast-rack { left: 50%; right: auto; transform: translateX(-50%); }
  [dir="rtl"] .toast { transform: translateY(120%); }
  [dir="rtl"] .toast.is-in { transform: translateY(0); }
}

[dir="rtl"] .hero__bubble { right: auto; left: 4%; }
[dir="rtl"] .demo__progress { left: auto; right: 0; }
[dir="rtl"] .track__item::before { left: auto; right: 7px; }
[dir="rtl"] .app-header__back { transform: scaleX(-1); }
[dir="rtl"] .flow-row__arrow { display: inline-block; transform: scaleX(-1); }
[dir="rtl"] .btn__arrow { display: inline-block; }
[dir="rtl"] .quote-block { border-radius: var(--radius-md) 0 0 var(--radius-md); }
[dir="rtl"] .step-card:hover { transform: translateX(-4px); }
[dir="rtl"] .step-card.is-active { transform: translateX(0); }

/* ==========================================================================
   Arabic optical vertical centering
   Tajawal's ink center sits ~0.07em ABOVE the font metrics-box center, so
   Arabic text reads high inside pills/buttons even when the line box is
   geometrically centered. Nudge the glyphs DOWN ~0.07em by making block
   padding asymmetric. Total block padding is preserved (or height is fixed
   via border-box), so element heights never change. Applied only where the
   visible text is Arabic.
   ========================================================================== */
[dir="rtl"] .btn--lg        { padding-block: calc(17px + 0.07em) calc(17px - 0.07em); }
[dir="rtl"] .btn--sm        { padding-block: calc(10px + 0.07em) calc(10px - 0.07em); }
[dir="rtl"] .nav__cta-wrap .btn--sm { padding-block: 0.14em 0; }
[dir="rtl"] .hero__eyebrow  { padding-block: calc(8px + 0.07em) calc(8px - 0.07em); }
[dir="rtl"] .section-eyebrow{ padding-block: calc(7px + 0.07em) calc(7px - 0.07em); }
[dir="rtl"] .app-cta__btn   { padding-block: calc(13px + 0.07em) calc(13px - 0.07em); }
[dir="rtl"] .app-cta__btn--ghost { padding-block: calc(11px + 0.07em) calc(11px - 0.07em); }
[dir="rtl"] .faq-item__btn  { padding-block: calc(19px + 0.07em) calc(19px - 0.07em); }
[dir="rtl"] .tap-chip       { padding-block: 0.14em 0; }
/* The "ع" segment is Arabic in BOTH page directions */

/* ==========================================================================
   Animated decorative stars (quality card, hero, download section, eyebrow)
   twinkle = scale+rotate+opacity (for static stars); glow = opacity only
   (composes with the download-section float animations).
   ========================================================================== */
@keyframes twinkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.82; }
  50%      { transform: scale(1.22) rotate(16deg); opacity: 1; }
}
@keyframes glow {
  0%, 100% { opacity: 0.5; }
  50%      { opacity: 1; }
}

.sparkle { transform-origin: center; animation: twinkle 3.2s ease-in-out infinite; }
.sparkle:nth-child(2) { animation-duration: 4.1s; animation-delay: 0.45s; }
.sparkle:nth-child(3) { animation-duration: 2.6s; animation-delay: 0.9s; }

.hero__star { transform-origin: center; animation: twinkle 4s ease-in-out infinite; }
.hero__star--2 { animation-duration: 3s; animation-delay: 0.6s; }
.hero__star--3 { animation-duration: 4.8s; animation-delay: 1.1s; }

.hero__eyebrow .i-star { transform-origin: center; animation: twinkle 3s ease-in-out infinite; }

/* Download-section stars already float via transform — add opacity glow so
   both animations compose without fighting over `transform`. */
.soon__star.float-a { animation: float-a 5.5s ease-in-out infinite, glow 2.8s ease-in-out infinite; }
.soon__star.float-b { animation: float-b 7s ease-in-out infinite, glow 3.6s ease-in-out infinite; }
.soon__star--2 { animation-delay: 0.5s, 0.5s; }
.soon__star--3 { animation-delay: 1s, 1.1s; }

@media (prefers-reduced-motion: reduce) {
  .sparkle, .hero__star, .hero__eyebrow .i-star,
  .soon__star.float-a, .soon__star.float-b { animation: none; }
}

/* ==========================================================================
   Real app screenshots inside the phone frame (Three-steps demo)
   Each .app-screen holds a full-bleed screenshot that swaps on scroll.
   ========================================================================== */
.app-screen--shot { padding: 0; }
.app-shot {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
}
