/* ==========================================================================
   ZADEMI COMPONENT SYSTEM
   Same markup/class names as the live homepage (nothing renamed, nothing
   restructured) — every rule now reads from tokens.css instead of a
   hand-typed px/rem/rgba value. Physical left/right has been swapped for
   logical inline-start/inline-end wherever the property carries reading
   *meaning* (nav order, button icon direction, text alignment, list
   markers) so RTL gets it for free. Purely decorative art that has no
   reading-direction meaning (the giant background "Z" outlines, the
   diamond confetti, the orbit rings) is left exactly where it was placed —
   mirroring it would only make it look accidentally different, not correct.
   ========================================================================== */

/* -------------------------------------------------------------------------
   0. BASE / SKIP LINK
------------------------------------------------------------------------- */
.skip-link {
  position: fixed;
  top: var(--space-4);
  inset-inline-start: var(--space-4);
  z-index: 100;
  background: var(--color-navy);
  color: var(--color-paper);
  border-radius: var(--radius-xs);
  padding: var(--space-3) var(--space-4);
  font-weight: 800;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

/* -------------------------------------------------------------------------
   1. LAYOUT SHELL / CONTAINER
------------------------------------------------------------------------- */
.site-header, .hero, .section-shell, .signal-bar {
  width: min(100% - var(--container-gutter), var(--container-max));
  margin-inline: auto;
}
.section-shell { padding-block: var(--space-section); }

/* -------------------------------------------------------------------------
   2. HEADER
------------------------------------------------------------------------- */
.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-6);
  min-height: 84px;
  position: relative;
  z-index: 30;
  border-block-end: 1px solid rgba(11, 45, 91, 0.1);
}

/* -- 2a. Logo --
   Approved artwork only (Zademi Brand Identity Guidelines, "Logo System" /
   "Digital Brand Applications" pages): the layered-Z lockup exported as
   four fixed assets rather than redrawn in CSS/SVG, so the mark can never
   drift from the approved file again.
     assets/logo-primary.png   full-color horizontal lockup — light grounds
     assets/logo-reversed.png  white monochrome — dark grounds
     assets/logo-symbol.png    icon + Z, no wordmark — compact/square uses
     assets/favicon.png        favicon / app-icon source
   The wordmark is a brand asset, not translated copy: it never mirrors or
   re-renders for Arabic (see RTL EXCEPTIONS at the bottom). */
.brand-link { width: max-content; padding-block: var(--space-1); }

.brand-logo { display: block; height: 34px; width: auto; }

.footer-logo { display: block; height: 30px; width: auto; }

/* -- 2b. Navigation -- */
.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
  color: var(--ink-700);
  font-size: 0.9rem;
  font-weight: 750;
}
.primary-nav a { position: relative; padding-block: 0.65rem; }
.primary-nav a::after {
  content: "";
  position: absolute;
  bottom: 0.2rem;
  inset-inline: 0;
  height: 2px;
  background: var(--color-mint);
  transform-origin: 100% center;
  transform: scaleX(0);
  transition: transform 0.18s;
}
html[dir="rtl"] .primary-nav a::after { transform-origin: 0% center; }
.primary-nav a:hover::after { transform-origin: 0% center; transform: scaleX(1); }
html[dir="rtl"] .primary-nav a:hover::after { transform-origin: 100% center; }

/* -- 2c. Language switcher --
   Minimal two-state control living in the header. Toggling it flips
   <html lang/dir>, swaps the type tokens (see tokens.css) and re-renders
   copy from content.js — see app.js. */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid rgba(11, 45, 91, 0.14);
  border-radius: var(--radius-pill);
  padding: 3px;
  background: rgba(255, 255, 255, 0.6);
}
.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--ink-600);
  font: inherit;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.lang-switch button[aria-pressed="true"] {
  background: var(--color-navy);
  color: var(--color-paper);
}
.lang-switch button:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-turquoise);
  outline-offset: 2px;
}

/* -------------------------------------------------------------------------
   3. BUTTONS (primary / secondary)
------------------------------------------------------------------------- */
.header-cta, .primary-action, .final-action {
  height: var(--btn-height-md);
  padding-inline: var(--btn-pad-md);
  border-radius: var(--radius-pill);
  background: var(--color-navy);
  color: var(--color-paper);
  font-weight: 850;
  box-shadow: var(--shadow-sm);
  justify-self: end;
}
.header-cta:hover, .primary-action:hover, .final-action:hover {
  background: #123d72;
  transform: translateY(-1px);
}
.primary-action, .secondary-action { height: var(--btn-height-lg); padding-inline: var(--btn-pad-lg); font-size: 0.95rem; }
.primary-action { background: var(--color-navy); }
.secondary-action {
  height: var(--btn-height-lg);
  padding-inline: var(--btn-pad-lg);
  border: 1px solid rgba(11, 45, 91, 0.19);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.78);
  color: var(--color-navy);
  font-weight: 850;
  font-size: 0.95rem;
  box-shadow: var(--shadow-xs);
}
.secondary-action:hover { background: var(--color-ice); color: var(--color-navy); }
.final-action { background: var(--color-mint); color: var(--color-navy-deep); box-shadow: none; }
.final-action:hover { background: #52dfa0; color: var(--color-navy-deep); }

/* CTA arrow icons carry directional meaning ("go forward") — they must
   flip in RTL, unlike the decorative shapes above. */
html[dir="rtl"] .header-cta svg,
html[dir="rtl"] .primary-action svg,
html[dir="rtl"] .final-action svg {
  transform: scaleX(-1);
}

/* -------------------------------------------------------------------------
   4. SECTION EYEBROW
------------------------------------------------------------------------- */
.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-turquoise);
  font-size: var(--fs-micro);
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.eyebrow-mark { display: grid; gap: 2px; }
.eyebrow-mark span { width: 6px; height: 6px; border-radius: 1px; transform: rotate(45deg); }
.eyebrow-mark span:first-child  { background: var(--color-mint); }
.eyebrow-mark span:nth-child(2) { background: var(--color-turquoise); }
.eyebrow-mark span:nth-child(3) { background: var(--color-navy); }

/* -------------------------------------------------------------------------
   5. HERO
------------------------------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(510px, 1.06fr);
  align-items: center;
  gap: clamp(2.5rem, 4vw, 4.5rem);
  min-height: 700px;
  padding-block: 4.2rem 3.4rem;
  position: relative;
}
html[dir="rtl"] .hero { grid-template-columns: minmax(510px, 1.06fr) minmax(0, 0.94fr); }
html[dir="rtl"] .hero .hero-copy { order: 2; }
html[dir="rtl"] .hero .hero-product { order: 1; }

.hero-backdrop { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
/* Decorative — position unchanged in RTL on purpose. */
.z-outline {
  position: absolute;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 179, 164, 0.1);
  font-family: "Arial Black", sans-serif;
  font-size: 21rem;
  font-weight: 900;
  line-height: 1;
}
.z-outline--one { top: 12rem; left: -12rem; transform: rotate(-8deg); }
.z-outline--two { top: -2rem; right: -11rem; transform: rotate(13deg); }
.diamond-grid {
  position: absolute; bottom: 7%; right: 46%;
  width: 8px; height: 8px; background: var(--color-mint);
  box-shadow: 14px 14px 0 var(--color-turquoise), 28px 28px 0 var(--color-navy);
  opacity: 0.6; transform: rotate(45deg);
}
@media (prefers-reduced-motion: no-preference) {
  .diamond-grid { animation: diamond-drift 7s ease-in-out infinite; }
}
@keyframes diamond-drift { 0%, 100% { transform: rotate(45deg) translateY(0); } 50% { transform: rotate(45deg) translateY(-8px); } }

.hero-copy, .hero-product { position: relative; z-index: 2; }

.hero h1 {
  max-width: 650px;
  margin: 1.2rem 0 1.25rem;
  color: var(--color-navy-deep);
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 950;
  line-height: var(--lh-hero);
  letter-spacing: -0.062em;
}
html[lang="ar"] .hero h1 { letter-spacing: 0; }
.hero h1 > span, .hero h1 > em { display: block; }
.hero h1 em {
  position: relative;
  color: var(--color-mint);
  font-style: normal;
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  bottom: -0.09em;
  inset-inline-end: 0.03em;
  width: 61%; height: 5px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--color-mint), var(--color-turquoise));
  transform: rotate(-1deg);
}

.hero-lede {
  max-width: 590px;
  margin: 0;
  color: var(--ink-600);
  font-size: var(--fs-body-lg);
  line-height: var(--lh-body);
  text-wrap: pretty;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }

.hero-assurances {
  display: flex; flex-wrap: wrap; gap: 0.8rem 1.25rem;
  margin: 1.35rem 0 0; padding: 0; list-style: none;
  color: var(--ink-500); font-size: var(--fs-label); font-weight: 700;
}
.hero-assurances li { display: flex; align-items: center; gap: 0.35rem; }
.hero-assurances svg { width: 19px; height: 19px; color: var(--color-mint); stroke-width: 3px; }

/* -------------------------------------------------------------------------
   6. PRODUCT MOCKUP (hero wallet / loyalty pass)
------------------------------------------------------------------------- */
.hero-product { padding-top: 0.4rem; }
.product-caption {
  display: flex; align-items: center; gap: 0.55rem;
  width: max-content; margin: 0 0 -0.35rem auto; padding: 0.55rem 0.85rem;
  border: 1px solid rgba(11, 45, 91, 0.12); border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(10px);
  color: var(--ink-600); font-size: 0.75rem; font-weight: 800;
  box-shadow: var(--shadow-xs);
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--color-mint);
  box-shadow: 0 0 0 5px rgba(46, 212, 122, 0.14);
  animation: live-pulse 2.4s ease-in-out infinite;
}
.card-stage { position: relative; min-height: 560px; }
.journey-path { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.journey-path path { fill: none; stroke: rgba(0, 179, 164, 0.2); stroke-width: 1.5px; stroke-dasharray: 7 11; stroke-linecap: round; }

.wallet-window {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-48%, -47%) rotate(1.4deg);
  width: min(430px, 78%);
  padding: 1rem 1rem 0.7rem;
  border: 1px solid rgba(11, 45, 91, 0.13); border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(18px);
  box-shadow: var(--shadow-2xl), 0 8px 24px rgba(6, 30, 67, 0.08), inset 0 1px #fff;
  animation: fade-in 0.7s ease-out both;
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.wallet-bar, .wallet-footer {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 40px; padding-inline: 0.55rem;
  color: var(--ink-400); font-size: 0.72rem; font-weight: 800;
}
.wallet-status { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--color-turquoise); }
.wallet-status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--color-mint); }
.loyalty-stack { position: absolute; inset: 61px 30px auto; height: 70px; }
.stack-card { position: absolute; inset: 0; border-radius: 30px; }
.stack-card--mint { background: var(--color-mint); opacity: 0.34; transform: translate(8px, -22px) rotate(2deg); }
.stack-card--teal { background: var(--color-turquoise); opacity: 0.52; transform: translate(4px, -11px) rotate(1deg); }

.loyalty-pass {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 342px; padding: 1.35rem; border-radius: var(--radius-xl);
  color: var(--color-paper);
  background: radial-gradient(circle at 82% 12%, rgba(46, 212, 122, 0.32), transparent 29%),
              linear-gradient(145deg, #103b70 0%, #092951 52%, #061d40 100%);
  box-shadow: 0 22px 54px rgba(5, 28, 62, 0.3), inset 0 1px rgba(255, 255, 255, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  animation: pass-settle 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) 0.12s both;
}
@keyframes pass-settle { 0% { opacity: 0; transform: scale(0.94) translateY(10px); } 100% { opacity: 1; transform: scale(1) translateY(0); } }
/* Subtle glossy sheen for a more "real card" feel — purely decorative, never mirrored/re-flowed for RTL. */
.loyalty-pass::before {
  content: "";
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 26%, rgba(255, 255, 255, 0) 74%, rgba(255, 255, 255, 0.05) 100%);
}
.pass-glow {
  position: absolute; bottom: -135px; right: -110px; z-index: -1;
  width: 300px; height: 300px; border: 62px solid rgba(0, 179, 164, 0.12);
  border-radius: 55px; transform: rotate(45deg);
}
.pass-header { display: flex; justify-content: space-between; align-items: flex-start; }
.pass-logo { display: block; height: 26px; width: auto; }
.pass-label { margin-top: 0.3rem; color: rgba(255, 255, 255, 0.62); font-size: 0.56rem; font-weight: 900; letter-spacing: 0.19em; }
.pass-message { margin-top: 2.25rem; }
.pass-message span { color: #8ae8ca; font-size: 0.76rem; font-weight: 800; }
.pass-message h2 { margin: 0.22rem 0 0; font-family: var(--font-display); font-size: 1.66rem; font-weight: 900; letter-spacing: -0.04em; }

/* -- Loyalty progress (stamps + bar) — reused on the hero pass and the
   business-section industry cards below. -- */
.stamp-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.55rem; margin-top: 1.5rem; }
.stamp { aspect-ratio: 1; display: grid; place-items: center; border: 1px dashed rgba(255, 255, 255, 0.45); border-radius: 50%; }
.stamp svg { width: 20px; height: 20px; }
.stamp--earned { background: linear-gradient(145deg, #44e6a0, #08b991); border-color: transparent; box-shadow: 0 8px 16px rgba(0, 179, 164, 0.22); }
.stamp--reward { animation: reward-ring 2.8s ease-in-out infinite; }
.pass-progress { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-top: 1.25rem; }
.pass-progress div { display: grid; gap: 0.12rem; }
.pass-progress strong { font-size: 0.84rem; }
.pass-progress span { color: rgba(255, 255, 255, 0.6); font-size: 0.66rem; }
.pass-progress b { color: #75e7c0; font-size: 0.8rem; }
.progress-track { height: 5px; margin-top: 0.6rem; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.15); overflow: hidden; }
.progress-track span { display: block; height: 100%; width: 80%; border-radius: inherit; background: linear-gradient(90deg, var(--color-mint), #7ce9c3); animation: progress-in 4.8s cubic-bezier(0.2, 0.8, 0.2, 1) infinite; }
.wallet-footer { padding-top: 0.55rem; }
.wallet-home { width: 56px; height: 4px; border-radius: var(--radius-pill); background: rgba(11, 45, 91, 0.18); }

/* Floating chips — decorative positions kept fixed in RTL (see note above);
   the copy inside them still switches language via app.js. */
.event-chip {
  position: absolute; z-index: 8; display: flex; align-items: center; gap: 0.7rem;
  min-width: 190px; padding: 0.7rem 0.8rem;
  border: 1px solid rgba(11, 45, 91, 0.1); border-radius: 1.125rem;
  background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(6, 30, 67, 0.12);
}
.event-chip--visit  { top: 17%; left: -4%;  animation: chip-float 5.2s ease-in-out infinite, fade-in 0.6s ease-out 0.42s both; }
.event-chip--reward { top: 47%; right: -7%; animation: chip-float 5.2s ease-in-out 1.1s infinite, fade-in 0.6s ease-out 0.6s both; }
.event-chip--growth { bottom: 9%; left: 3%; animation: chip-float 5.2s ease-in-out 2.2s infinite, fade-in 0.6s ease-out 0.78s both; }
.event-icon { display: grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--color-ice); color: var(--color-turquoise); }
.event-icon svg { width: 22px; }
.event-chip span:not(.event-icon) { display: grid; }
.event-chip small { color: #8090a2; font-size: 0.6rem; font-weight: 750; }
.event-chip strong { color: var(--color-navy); font-size: 0.76rem; line-height: 1.3; }
.event-chip b { margin-inline-start: auto; color: var(--color-mint); font-size: 0.95rem; }

.mini-journey {
  display: flex; justify-content: center; align-items: center; gap: 0.6rem;
  margin-top: -1.35rem; color: #8391a0; font-size: 0.67rem; font-weight: 850;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.mini-step { white-space: nowrap; }
.mini-step.is-active { color: var(--color-turquoise); }
.mini-line { width: 48px; height: 1px; background: #cbdcde; }

/* -------------------------------------------------------------------------
   7. SIGNAL BAR (stat strip)
------------------------------------------------------------------------- */
.signal-bar {
  display: grid; grid-template-columns: auto 1fr auto 1fr auto 1fr auto 1fr auto;
  align-items: center; gap: 1rem; min-height: 68px;
  border-block: 1px solid var(--color-line);
  color: #6b7b8e; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
}
.signal-bar p { margin: 0; white-space: nowrap; }
.signal-bar span { position: relative; height: 1px; background: #cfe0df; }
.signal-bar span::after { content: ""; position: absolute; top: -3px; inset-inline-end: -3px; width: 7px; height: 7px; background: var(--color-mint); transform: rotate(45deg); }
.signal-bar strong { color: var(--color-navy); white-space: nowrap; }

/* -------------------------------------------------------------------------
   8. SECTION HEADING
------------------------------------------------------------------------- */
.section-heading {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.45fr);
  align-items: end; gap: 1.5rem 4.5rem; margin-bottom: 1.9rem;
}
.section-heading .section-kicker { grid-column: 1 / -1; }
.section-heading h2, .business-copy h2, .return-copy h2, .final-cta h2 {
  margin: 0; color: var(--color-navy-deep); font-family: var(--font-display);
  font-weight: 950; line-height: var(--lh-h2); letter-spacing: -0.052em; text-wrap: balance;
}
html[lang="ar"] .section-heading h2,
html[lang="ar"] .business-copy h2,
html[lang="ar"] .return-copy h2,
html[lang="ar"] .final-cta h2 { letter-spacing: 0; }
.section-heading h2 { font-size: var(--fs-h2); }
.business-copy h2, .return-copy h2, .final-cta h2 { font-size: var(--fs-h2-sm); }
.section-heading h2 span, .business-copy h2 span, .return-copy h2 span { display: block; }
.section-heading p, .business-copy > p, .return-copy > p, .final-cta p {
  margin: 0; color: var(--ink-500); font-size: var(--fs-body); line-height: var(--lh-body-loose);
}

/* -------------------------------------------------------------------------
   9. FEATURE CARD ("journey card" — How it works)
------------------------------------------------------------------------- */
.journey-section { background: linear-gradient(180deg, #f5faf9 0%, #fbfefd 100%); }

.journey-cards { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-card-gap); }
/* Connecting thread behind the three steps — reinforces Create -> Collect -> Reward progression. */
.journey-cards::before {
  content: "";
  position: absolute; top: 2.35rem; inset-inline: 12%;
  height: 2px; z-index: 0;
  background: linear-gradient(90deg, var(--color-mint), var(--color-turquoise), var(--color-navy));
  opacity: 0.28;
}
.journey-card {
  position: relative; z-index: 1;
  min-height: 200px; padding: 1.35rem 1.5rem 1.5rem;
  border: 1px solid var(--color-line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff 0%, #fcfefe 100%); box-shadow: var(--shadow-md);
  transition: transform 0.22s, box-shadow 0.22s;
}
.journey-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.journey-card__top { display: flex; justify-content: space-between; align-items: center; }
.journey-card__top > span { color: var(--ink-300); font-size: 0.7rem; font-weight: 900; letter-spacing: 0.16em; }
.journey-card__top i { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--radius-sm); background: var(--color-ice); color: var(--color-turquoise); box-shadow: 0 8px 18px -8px var(--color-turquoise); transition: transform 0.22s; }
.journey-card:hover .journey-card__top i { transform: scale(1.06); }
.journey-card__top svg { width: 26px; }
.journey-card h3 { margin: 1.3rem 0 0.4rem; color: var(--color-navy); font-size: var(--fs-h3); font-weight: 900; }
.journey-card p { max-width: 29ch; margin: 0; color: #687991; font-size: var(--fs-body-sm); line-height: 1.6; }
html[lang="ar"] .journey-card p { max-width: none; }
.journey-card__rail { display: flex; gap: 0.35rem; margin-top: 1.1rem; }
.journey-card__rail span { width: 28px; height: 5px; border-radius: var(--radius-pill); background: #e1e9eb; }
.journey-card__rail span.filled { background: linear-gradient(90deg, var(--color-mint), var(--color-turquoise)); }

/* -------------------------------------------------------------------------
   10. BUSINESS USE-CASE CARD ("industry card")
------------------------------------------------------------------------- */
.business-section { background: linear-gradient(180deg, var(--color-mist) 0%, #eef7f6 100%); border-block: 1px solid #e5efef; }
.business-grid { display: grid; grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.3fr); align-items: center; gap: clamp(3rem, 6vw, 5.5rem); }
.business-copy h2 { margin-top: 1rem; }
.business-copy > p { margin-top: 1.4rem; }

.industry-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-card-gap); }
.industry-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  min-height: 288px; padding: 0 var(--space-card-pad-sm) var(--space-card-pad-sm);
  border: 1px solid rgba(11, 45, 91, 0.1); border-radius: var(--radius-lg);
  background: var(--color-paper); box-shadow: var(--shadow-md), 0 1px 0 rgba(255,255,255,0.6) inset;
  transition: transform 0.22s, box-shadow 0.22s;
}
.industry-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.industry-card:nth-child(3) { grid-column: 1 / -1; min-height: 250px; }
.industry-card::after { content: ""; position: absolute; bottom: -76px; right: -46px; width: 160px; height: 160px; border: 14px solid; border-radius: 2rem; opacity: 0.055; transform: rotate(45deg); }
.industry-card--mint { color: var(--color-mint); }
.industry-card--turquoise { color: var(--color-turquoise); }
.industry-card--navy { color: var(--color-navy); }

/* -- Photo band -- a small, real-world crop grounds each use-case in an
   actual place rather than an abstract icon alone. Purely atmospheric
   (duotone/blurred), so it never competes with the loyalty-card visual
   language, which stays the primary UI. */
.industry-card__photo {
  position: relative; height: 96px; margin: 0 calc(var(--space-card-pad-sm) * -1) 1.1rem;
  background-size: cover; background-position: center;
}
.industry-card__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 20, 40, 0.05) 0%, rgba(6, 20, 40, 0.38) 100%);
}
.industry-card__head { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; margin: 0 calc(var(--space-card-pad-sm) * -1); padding: 0 var(--space-card-pad-sm); margin-top: -2.6rem; }
.industry-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius-sm); background: currentColor; box-shadow: 0 8px 18px -6px currentColor, 0 0 0 3px rgba(255,255,255,0.85); }
.industry-icon svg { width: 24px; color: #fff; }
.industry-live { display: inline-flex; align-items: center; gap: 0.4rem; color: #fff; font-size: 0.68rem; font-weight: 850; letter-spacing: 0.04em; padding: 0.3rem 0.6rem; border-radius: var(--radius-pill); background: rgba(6, 20, 40, 0.32); backdrop-filter: blur(6px); }
.industry-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--color-mint); box-shadow: 0 0 0 4px rgba(46, 212, 122, 0.25); }
.industry-card__identity { margin-top: 0.5rem; }
.industry-card__identity > span { color: #8290a0; font-size: 0.68rem; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.industry-card h3 { margin: 0.15rem 0 0; color: var(--color-navy); font-size: var(--fs-h4); font-weight: 900; letter-spacing: -0.025em; }
.industry-card__progress { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-top: 1.25rem; }
.industry-card__progress div { display: grid; gap: 0.12rem; }
.industry-card__progress strong { color: var(--color-navy); font-size: 0.82rem; }
.industry-card__progress span { color: #718195; font-size: 0.72rem; }
.industry-card__progress b { color: currentColor; font-size: 0.76rem; }
.industry-card__meter { height: 5px; margin-top: 0.55rem; border-radius: var(--radius-pill); background: rgba(11, 45, 91, 0.08); overflow: hidden; }
.industry-card__meter span { display: block; height: 100%; border-radius: inherit; background: currentColor; }

/* Punch/stamp marks — the loyalty-progress motif reused here */
.punches { display: flex; gap: 0.4rem; margin-top: 0.9rem; }
.punches span { display: grid; place-items: center; width: 27px; height: 27px; border: 1px dashed; border-radius: 50%; opacity: 0.6; }
.punches span.filled { background: currentColor; border-style: solid; opacity: 1; box-shadow: 0 4px 10px -3px currentColor; }
.punches svg { width: 14px; height: 14px; color: #fff; stroke-width: 3.2px; }

.industry-card__foot {
  position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center;
  margin-top: auto; padding-top: 0.85rem; border-block-start: 1px solid #edf2f2;
  color: #8a98a7; font-size: 0.65rem; font-weight: 800;
}
.micro-diamonds { display: inline-flex; align-items: center; gap: 4px; }
.micro-diamonds i { width: 5px; height: 5px; background: var(--color-navy); border-radius: 1px; transform: rotate(45deg); }
.micro-diamonds i:nth-child(2) { width: 6px; height: 6px; background: var(--color-turquoise); }
.micro-diamonds i:nth-child(3) { width: 7px; height: 7px; background: var(--color-mint); }

/* -------------------------------------------------------------------------
   11. RETURN / WHY-ZADEMI SECTION
------------------------------------------------------------------------- */
.return-section { display: grid; grid-template-columns: minmax(380px, 0.9fr) minmax(0, 0.8fr); align-items: center; gap: clamp(3rem, 7vw, 6.5rem); }
.return-visual { position: relative; display: grid; place-items: center; min-height: 360px; }
.return-orbit { position: absolute; border: 1px dashed rgba(0, 179, 164, 0.32); border-radius: 50%; }
.return-orbit--outer { width: 380px; height: 380px; }
.return-orbit--inner { width: 254px; height: 254px; border-color: rgba(46, 212, 122, 0.28); }
@media (prefers-reduced-motion: no-preference) {
  .orbit-node--one { animation: chip-float 6s ease-in-out infinite; }
  .orbit-node--two { animation: chip-float 6s ease-in-out 1.4s infinite; }
  .orbit-node--three { animation: chip-float 6s ease-in-out 2.8s infinite; }
  /* Ambient, near-imperceptible drift — a premium "alive" feel, not a spin. */
  .return-orbit--outer { animation: orbit-drift 46s linear infinite; }
  .return-orbit--inner { animation: orbit-drift 34s linear infinite reverse; }
}
@keyframes orbit-drift { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.return-logo { display: grid; place-items: center; width: 190px; height: 150px; border-radius: 2.375rem; background: #fff; box-shadow: var(--shadow-xl); }
.return-logo img { width: 132px; height: auto; }
.orbit-node { position: absolute; display: grid; place-items: center; width: 64px; height: 64px; border: 7px solid #fff; border-radius: 1.375rem; background: var(--color-navy); color: #fff; box-shadow: 0 16px 35px rgba(11, 45, 91, 0.15); }
.orbit-node svg { width: 25px; }
.orbit-node--one { top: 18%; left: 9%; background: var(--color-mint); }
.orbit-node--two { top: 28%; right: 6%; background: var(--color-turquoise); }
.orbit-node--three { bottom: 8%; left: 20%; }

.return-copy h2 { margin-top: 1rem; }
.return-copy > p { margin-top: 1.4rem; }
.return-copy ul { display: grid; gap: 1rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.return-copy li { display: grid; grid-template-columns: 30px 1fr; gap: 0.65rem; color: var(--ink-500); line-height: 1.55; }
.return-copy li > svg { width: 28px; height: 28px; padding: 6px; border-radius: var(--radius-sm); background: var(--color-ice); color: var(--color-turquoise); stroke-width: 3px; }
.return-copy li strong { color: var(--color-navy); }

/* -------------------------------------------------------------------------
   12. CTA BLOCK (final-cta)
------------------------------------------------------------------------- */
.final-cta {
  position: relative; overflow: hidden; display: grid;
  grid-template-columns: 1fr auto; align-items: center; gap: clamp(2rem, 5vw, 5rem);
  margin-bottom: 3.5rem; padding: clamp(2.75rem, 5vw, 4.25rem);
  border-radius: var(--radius-2xl); background: var(--color-navy-deep); color: #fff;
  box-shadow: var(--shadow-cta);
}
.final-cta .section-kicker { color: #69e3ba; }
.final-cta h2 { max-width: 680px; margin-top: 0.8rem; color: #fff; }
.final-cta p { max-width: 670px; margin-top: 0.8rem; color: rgba(255, 255, 255, 0.68); }
.final-cta__copy ul { display: flex; flex-wrap: wrap; gap: 0.7rem 1.15rem; margin: 1.35rem 0 0; padding: 0; list-style: none; color: rgba(255, 255, 255, 0.78); font-size: 0.76rem; font-weight: 750; }
.final-cta__copy li { display: inline-flex; align-items: center; gap: 0.35rem; }
.final-cta__copy li svg { width: 17px; height: 17px; color: var(--color-mint); stroke-width: 3px; }
.final-cta__action { position: relative; z-index: 2; display: grid; justify-items: center; gap: 0.65rem; }
.final-cta__action > span { color: rgba(255, 255, 255, 0.52); font-size: 0.67rem; font-weight: 700; }
.final-cta__mark { position: absolute; bottom: -85px; right: -60px; width: 340px; opacity: 0.065; transform: rotate(-9deg); }
.final-cta__mark img { display: block; width: 100%; height: auto; }

/* -------------------------------------------------------------------------
   13. FOOTER
------------------------------------------------------------------------- */
.site-footer {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem;
  padding-block: 2rem; border-block-start: 1px solid var(--color-line);
  color: #808fa2; font-size: 0.76rem;
}
.site-footer p { margin: 0; }
.site-footer p:last-child { justify-self: end; }
html[dir="rtl"] .site-footer p:last-child { justify-self: start; }

/* -------------------------------------------------------------------------
   14. KEYFRAMES
------------------------------------------------------------------------- */
@keyframes chip-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes live-pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(46, 212, 122, 0.13); } 50% { box-shadow: 0 0 0 8px rgba(46, 212, 122, 0.04); } }
@keyframes reward-ring {
  0%, 62%, 100% { background-position: 0 0; border-color: rgba(255, 255, 255, 0.42); transform: scale(1); }
  72% { border-color: var(--color-mint); background: rgba(46, 212, 122, 0.18); transform: scale(1.08); }
  82% { background-position: 0 0; border-color: rgba(255, 255, 255, 0.42); transform: scale(1); }
}
@keyframes progress-in { 0%, 12% { width: 60%; } 28%, 82% { width: 80%; } 100% { width: 60%; } }

/* -- Scroll-reveal utility --
   Applied by app.js to below-the-fold generated cards only (never the
   hero, which must stay immediately visible/understandable). Inert by
   default; the hidden/animated state only exists when the visitor has
   not asked for reduced motion, so nothing ever gets stuck invisible. */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0; transform: translateY(16px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }
  .reveal.is-visible { opacity: 1; transform: none; }
}

@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;
  }
}

/* -------------------------------------------------------------------------
   15. RESPONSIVE — same breakpoints as the approved homepage, now named
   via the --bp-* tokens in tokens.css (kept as literal @media values here
   since CSS media queries cannot read custom properties directly).
------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .site-header { grid-template-columns: 1fr auto; }
  .primary-nav { display: none; }
  .hero, html[dir="rtl"] .hero { grid-template-columns: 1fr; gap: 1.5rem; padding-top: 3.8rem; }
  .hero-copy { text-align: center; max-width: 790px; margin-inline: auto; }
  .hero-lede { margin-inline: auto; }
  .eyebrow, .hero-actions, .hero-assurances { justify-content: center; }
  .hero-product { width: min(100%, 680px); margin-inline: auto; }
  .signal-bar { grid-template-columns: auto 1fr auto 1fr auto; }
  .signal-bar p:nth-of-type(3), .signal-bar p:nth-of-type(4),
  .signal-bar span:nth-of-type(3), .signal-bar span:nth-of-type(4) { display: none; }
  .business-grid { grid-template-columns: 1fr; }
  .business-copy { max-width: 720px; }
}

@media (max-width: 820px) {
  .site-header { min-height: 76px; }
  .header-cta { height: var(--btn-height-sm); padding-inline: var(--btn-pad-sm); }
  .hero { min-height: auto; padding-block: 3.35rem 2.75rem; }
  .section-heading { grid-template-columns: 1fr; margin-bottom: 2rem; }
  .journey-cards { grid-template-columns: 1fr; }
  .journey-card, .journey-card:nth-child(2) { min-height: 240px; transform: none; }
  .journey-card:nth-child(2):hover { transform: translateY(-4px); }
  .journey-card h3 { margin-top: 2.2rem; }
  .section-shell { padding-block: var(--space-section-tight); }
  .return-section { grid-template-columns: 1fr; }
  .return-visual { min-height: 430px; }
  .return-orbit--outer { width: 390px; height: 390px; }
  .return-orbit--inner { width: 250px; height: 250px; }
  .final-cta { grid-template-columns: 1fr; }
  .final-action { justify-self: start; }
  html[dir="rtl"] .final-action { justify-self: end; }
}

@media (max-width: 620px) {
  .site-header { gap: 0.5rem; }
  .brand-logo { height: 28px; }
  .header-cta { width: auto; padding-inline: 0.9rem; font-size: 0.72rem; }
  .header-cta svg { width: 18px; height: 18px; }
  .hero { gap: 0.5rem; }
  .hero h1 { margin-top: 1rem; }
  .hero-lede { font-size: 1rem; line-height: 1.65; }
  .hero-actions { flex-direction: column; }
  .hero-actions a { width: 100%; }
  .hero-assurances { display: grid; justify-content: start; text-align: start; }
  .product-caption { margin: 1.2rem auto -0.3rem; }
  .card-stage { min-height: 525px; }
  .wallet-window { width: 92%; top: 48%; border-radius: 1.875rem; transform: translate(-50%, -47%) rotate(0.8deg); }
  .loyalty-pass { min-height: 310px; padding: 1.1rem; border-radius: 1.5625rem; }
  .pass-message { margin-top: 1.5rem; }
  .pass-message h2 { font-size: 1.35rem; }
  .stamp-row { gap: 0.35rem; }
  .stamp svg { width: 16px; height: 16px; }
  .event-chip { min-width: 156px; padding: 0.55rem; }
  .event-icon { width: 32px; height: 32px; border-radius: 0.625rem; }
  .event-chip--visit { top: 7%; left: -2%; }
  .event-chip--reward { top: auto; bottom: 8%; right: -2%; }
  .event-chip--growth { display: none; }
  .mini-journey { margin-top: -0.7rem; }
  .signal-bar { grid-template-columns: auto 1fr auto; gap: 0.6rem; font-size: 0.65rem; }
  .signal-bar p:nth-of-type(2), .signal-bar span:nth-of-type(2) { display: none; }
  .section-shell { padding-block: 4.25rem; }
  .industry-grid { grid-template-columns: 1fr; }
  .industry-card:nth-child(3) { grid-column: auto; }
  .industry-card, .industry-card:nth-child(3) { min-height: 260px; }
  .return-visual { min-height: 360px; margin-inline: -2rem; transform: scale(0.86); }
  .final-cta { width: min(100% - 1rem, var(--container-max)); margin-bottom: 2.5rem; padding: 2rem; border-radius: 1.75rem; }
  .final-cta__copy ul { display: grid; gap: 0.55rem; }
  .final-cta__action { justify-items: stretch; }
  .final-action { width: 100%; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer > p:first-of-type { display: none; }
}

@media (max-width: 390px) {
  .brand-link { transform: none; }
  .eyebrow { font-size: 0.64rem; letter-spacing: 0.14em; }
  .event-chip--visit { left: -3%; }
  html[dir="rtl"] .event-chip--visit { left: auto; right: -3%; }
  .event-chip--reward { right: -3%; }
  html[dir="rtl"] .event-chip--reward { right: auto; left: -3%; }
  .pass-label { display: none; }
  .return-copy h2, .business-copy h2, .section-heading h2, .final-cta h2 { font-size: 2.2rem; }
}

/* -------------------------------------------------------------------------
   16. RTL — text-alignment defaults not covered by logical properties
------------------------------------------------------------------------- */
html[dir="rtl"] body { direction: rtl; text-align: start; }
html[dir="rtl"] .hero-copy,
html[dir="rtl"] .journey-card,
html[dir="rtl"] .industry-card,
html[dir="rtl"] .return-copy,
html[dir="rtl"] .final-cta__copy { text-align: start; }
