/* Charrjli landing page
   Palette: the app's navy + gold, deepened for depth, plus the logo's neon blue for "instant" moments. */
:root {
  --night: #081129;      /* page base, deeper than the app's #0B1633 */
  --app: #0B1633;        /* the app's own background, used inside the phone */
  --navy: #13244B;       /* raised surfaces */
  --navy-2: #1B3163;     /* raised surface highlight */
  --line: #253C70;       /* hairlines and outlines */
  --gold: #EBC266;       /* primary action, refined from #E8BE62 */
  --gold-hi: #FFE3A1;    /* hover and highlights */
  --gold-lo: #B8862C;    /* depth in gold gradients */
  --volt: #5B9BFF;       /* logo neon blue: focus and "instant" signals */
  --text: #EEF1F7;
  --muted: #A3AEC4;

  --g1: linear-gradient(150deg, #1E4A55, #12333C);
  --g2: linear-gradient(150deg, #3A2F5C, #251E42);
  --g3: linear-gradient(150deg, #2A3447, #1C2433);
  --g4: linear-gradient(150deg, #3D4530, #2A3022);
  --g5: linear-gradient(150deg, #1A2540, #121A2E);
  --g6: linear-gradient(150deg, #4A2A3D, #301A28);
  --g7: linear-gradient(150deg, #1F3D4F, #152A38);
  --g8: linear-gradient(150deg, #2E3A5C, #1E2840);

  --display: "Alexandria", "Cairo", system-ui, sans-serif;
  --body: "Cairo", system-ui, sans-serif;
  --section: clamp(72px, 9vw, 128px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font: 400 1.0625rem/1.7 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

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

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 640px) { .wrap { padding-inline: 28px; } }

.skip {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 50;
  background: var(--gold); color: var(--night); padding: 10px 16px; border-radius: 10px;
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Buttons and badges ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 1rem/1.2 var(--body); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .95rem; }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 1.06rem; }
.btn--gold { background: var(--gold); color: var(--night); }
.btn--gold:hover { background: var(--gold-hi); }
.btn--ghost { border-color: var(--line); color: var(--text); background: rgba(255, 255, 255, .02); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-hi); }

.badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 16px 6px 12px;
  border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03);
  text-decoration: none; transition: border-color .2s, background-color .2s;
}
[dir="rtl"] .badge { padding: 6px 12px 6px 16px; }
.badge:hover { border-color: var(--gold); background: rgba(235, 194, 102, .06); }
.badge svg { width: 24px; height: 24px; flex: none; color: var(--gold); }
.badge span { display: grid; line-height: 1.15; }
.badge small { font-size: .72rem; color: var(--muted); }
.badge b { font: 700 1rem var(--display); }
.badge[aria-disabled="true"], .btn[aria-disabled="true"] { opacity: .55; cursor: default; pointer-events: none; }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(8, 17, 41, .78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(37, 60, 112, .55);
}
.top__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand span { font: 800 1.3rem var(--display); color: var(--gold); letter-spacing: -.01em; }
.brand--small img { width: 32px; height: 32px; }
.brand--small span { font-size: 1.05rem; }
.top__nav { display: flex; align-items: center; gap: 6px; }
.lang {
  min-height: 40px; padding: 0 12px; border: 0; background: none; cursor: pointer; border-radius: 999px;
  font: 600 .95rem var(--body); color: var(--muted);
}
.lang:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.top__login {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 999px;
  text-decoration: none; font-weight: 700; font-size: .95rem;
}
.top__login:hover { color: var(--gold-hi); }
@media (max-width: 520px) {
  .top__login { display: none; }
  .brand span { font-size: 1.15rem; }
  .brand img { width: 38px; height: 38px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 104px); }
.hero__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 32px; }
}
.hero__title {
  font-weight: 800; font-size: clamp(2.55rem, 1.7rem + 3.8vw, 4.7rem);
  line-height: 1.02; letter-spacing: -.03em; max-width: 13.5ch;
}
.hero__text { margin-top: 24px; max-width: 34rem; font-size: clamp(1.06rem, 1rem + .3vw, 1.2rem); color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__platforms { margin-top: 40px; margin-bottom: 12px; font-size: .95rem; color: var(--muted); }

[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] .brand span, [dir="rtl"] .badge b { letter-spacing: 0; }
[dir="rtl"] .hero__title { line-height: 1.28; max-width: 16ch; font-size: clamp(2.3rem, 1.6rem + 3.3vw, 4.1rem); }

.hero__stage { position: relative; display: grid; place-items: center; min-height: 640px; }
.hero__stage::before {
  content: ""; position: absolute; inset: 6% 4%;
  background:
    radial-gradient(closest-side at 40% 38%, rgba(91, 155, 255, .42), transparent 72%),
    radial-gradient(closest-side at 64% 70%, rgba(235, 194, 102, .28), transparent 72%);
  filter: blur(10px); pointer-events: none;
}
.bolt {
  position: absolute; width: min(118%, 460px); top: 50%; left: 50%; translate: -50% -50%;
  fill: rgba(235, 194, 102, .04); stroke: var(--gold); stroke-width: 1.6; stroke-linejoin: round; opacity: .38; pointer-events: none;
}
.hero__stage.is-struck .bolt { animation: strike 1.2s var(--ease); }
@keyframes strike {
  0% { opacity: .38; }
  18% { opacity: 1; fill: rgba(235, 194, 102, .3); filter: drop-shadow(0 0 24px rgba(255, 227, 161, .9)); }
  100% { opacity: .38; }
}

/* Page-load sequence: copy rises line by line, then the phone arrives and the demo starts. */
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: rise .8s var(--ease) both; }
  .hero__copy > :nth-child(2) { animation-delay: .08s; }
  .hero__copy > :nth-child(3) { animation-delay: .16s; }
  .hero__copy > :nth-child(4) { animation-delay: .24s; }
  .hero__copy > :nth-child(5) { animation-delay: .3s; }
  .demo { animation: phone-in 1.1s .2s var(--ease) both; }
  .bolt { animation: bolt-in 1.4s .5s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes phone-in { from { opacity: 0; transform: translateY(40px) rotate(-3deg) scale(.96); } }
@keyframes bolt-in { from { opacity: 0; stroke-dasharray: 900; stroke-dashoffset: 900; } to { stroke-dasharray: 900; stroke-dashoffset: 0; } }

/* ---------- Phone demo ---------- */
.demo { position: relative; margin: 0; display: grid; justify-items: center; gap: 14px; }
.phone {
  position: relative; width: 296px; height: 612px; padding: 10px; border-radius: 50px;
  background: linear-gradient(160deg, #2a3a62, #070d22 40%, #1a2850);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, .14),
    0 40px 80px -24px rgba(0, 0, 0, .8),
    0 0 0 1px rgba(91, 155, 255, .12);
}
.phone__island {
  position: absolute; z-index: 5; top: 20px; left: 50%; translate: -50% 0;
  width: 88px; height: 25px; border-radius: 20px; background: #000;
}
.phone__screen {
  position: relative; height: 100%; border-radius: 40px; overflow: hidden;
  background: var(--app); font-family: var(--body); line-height: 1.3; isolation: isolate;
}

.scr { position: absolute; inset: 0; padding-bottom: 60px; transition: transform .5s var(--ease), filter .5s; }
.scr--items { transform: translateX(100%); background: var(--app); z-index: 2; }
[dir="rtl"] .scr--items { transform: translateX(-100%); }
.phone[data-screen="items"] .scr--home { transform: translateX(-22%); filter: brightness(.6); }
[dir="rtl"] .phone[data-screen="items"] .scr--home { transform: translateX(22%); }
.phone[data-screen="items"] .scr--items { transform: none; }

.app-bar {
  display: flex; align-items: flex-end; justify-content: center; height: 78px; padding-bottom: 12px;
  background: #16284D; border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.app-bar__title { font: 700 1.1rem var(--display); color: var(--gold); }
.app-bar--sub { justify-content: flex-start; gap: 10px; padding-inline: 16px; font: 700 .98rem var(--display); }
.chev { width: 9px; height: 9px; border-inline-start: 2px solid var(--text); border-bottom: 2px solid var(--text); transform: rotate(45deg); margin-bottom: 5px; }
[dir="rtl"] .chev { transform: rotate(-45deg); }

.bal {
  display: flex; align-items: center; justify-content: space-between; margin: 12px 12px 8px; padding: 12px 14px;
  border-radius: 18px; background: linear-gradient(140deg, #223A6B, #16284D); border: 1px solid rgba(255, 255, 255, .08);
}
.bal > div { display: grid; }
.bal__label { font-size: .68rem; color: var(--muted); }
.bal__amount { font: 800 1.35rem var(--display); }
.bal__toggle { display: flex; padding: 3px; border-radius: 999px; background: rgba(0, 0, 0, .25); font-size: .62rem; }
.bal__toggle b, .bal__toggle i { padding: 3px 7px; border-radius: 999px; font-style: normal; }
.bal__toggle b { background: var(--gold); color: var(--night); }

.ticker { margin: 0 12px; overflow: hidden; white-space: nowrap; font-size: .7rem; color: var(--gold-hi); }
.ticker span { display: inline-block; padding-inline-start: 100%; animation: ticker 9s linear infinite; }
[dir="rtl"] .ticker span { animation-name: ticker-rtl; }
@keyframes ticker { to { transform: translateX(-100%); } }
@keyframes ticker-rtl { to { transform: translateX(100%); } }

.row-title { margin: 12px 14px 7px; font: 700 .8rem var(--display); }
.tiles, .packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-inline: 12px; }
.tile, .pack {
  position: relative; display: grid; place-content: center; justify-items: center; gap: 2px; text-align: center;
  border-radius: 14px; border: 1px solid rgba(255, 255, 255, .08);
}
.tile { aspect-ratio: 1 / 1.02; }
.tile em, .pack em { font: 800 .95rem var(--display); font-style: normal; color: var(--gold-hi); }
.tile small { font-size: .58rem; color: var(--text); opacity: .85; }
.packs { margin-top: 14px; }
.pack { aspect-ratio: 1; }
.pack em { font-size: 1.15rem; color: var(--text); }
.pack small { font-size: .62rem; color: var(--gold); font-weight: 700; }
.g1 { background: var(--g1); } .g2 { background: var(--g2); } .g3 { background: var(--g3); } .g4 { background: var(--g4); }
.g5 { background: var(--g5); } .g6 { background: var(--g6); } .g7 { background: var(--g7); } .g8 { background: var(--g8); }
.pack--target { transition: box-shadow .3s; }
.phone:not([data-sheet="closed"]) .pack--target { box-shadow: 0 0 0 2px var(--gold); }

.touch {
  position: absolute; z-index: 6; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%;
  background: rgba(255, 227, 161, .55); opacity: 0; pointer-events: none;
}
.touch.is-on { animation: touch .65s var(--ease); }
@keyframes touch { 0% { opacity: 0; transform: scale(.4); } 30% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.7); } }

.scr--items::after {
  content: ""; position: absolute; inset: 0; background: rgba(3, 8, 22, .55); opacity: 0; transition: opacity .35s; pointer-events: none;
}
.phone:not([data-sheet="closed"]) .scr--items::after { opacity: 1; }

.sheet {
  position: absolute; z-index: 4; inset-inline: 0; bottom: 0; height: 64%; padding: 12px 18px 22px;
  border-radius: 26px 26px 0 0; background: #16284D; border-top: 1px solid rgba(235, 194, 102, .35);
  display: flex; flex-direction: column; transform: translateY(105%); transition: transform .5s var(--ease);
}
.phone:not([data-sheet="closed"]) .sheet { transform: none; }
.sheet__grip { align-self: center; width: 38px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .25); margin-bottom: 14px; }
.sheet__title { font: 800 1.5rem var(--display); }
.sheet__sub { font-size: .78rem; color: var(--muted); }
.field {
  display: grid; gap: 2px; margin-top: 18px; padding: 10px 12px; border-radius: 12px;
  border: 1.5px solid var(--line); background: rgba(0, 0, 0, .18); transition: border-color .3s;
}
.phone[data-sheet="typing"] .field { border-color: var(--gold); }
.field span { font-size: .66rem; color: var(--muted); }
.field b { min-height: 1.3em; font: 700 .98rem var(--display); letter-spacing: .04em; direction: ltr; text-align: start; }
.phone[data-sheet="typing"] .field b::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-inline-start: 2px; vertical-align: -2px; background: var(--gold); animation: caret .8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.buy {
  position: relative; display: grid; place-items: center; margin-top: auto; height: 46px; border-radius: 999px;
  background: var(--gold); color: var(--night); font: 700 .95rem var(--body); transition: transform .2s, background-color .2s;
}
.phone[data-sheet="press"] .buy { transform: scale(.95); background: var(--gold-hi); }
.buy__spin { position: absolute; width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(8, 17, 41, .25); border-top-color: var(--night); opacity: 0; }
.phone[data-sheet="loading"] .buy__text { opacity: 0; }
.phone[data-sheet="loading"] .buy__spin { opacity: 1; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }

.done {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center;
  border-radius: inherit; background: #16284D; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.phone[data-sheet="done"] .done { opacity: 1; visibility: visible; }
.done__check { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(91, 155, 255, .16); box-shadow: 0 0 0 1.5px var(--volt); margin-bottom: 8px; }
.done__check svg { width: 34px; fill: none; stroke: var(--volt); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; }
.phone[data-sheet="done"] .done__check svg { transition: stroke-dashoffset .5s .15s var(--ease); stroke-dashoffset: 0; }
.done__title { font: 800 1.25rem var(--display); }
.done__text { max-width: 20ch; font-size: .78rem; color: var(--muted); }

.tabbar {
  position: absolute; z-index: 3; inset-inline: 0; bottom: 0; height: 60px; padding: 0 12px 10px;
  display: flex; align-items: center; justify-content: space-around; background: var(--app);
  border-top: 1px solid rgba(255, 255, 255, .05); font-size: .64rem; color: var(--muted);
}
.tabbar__on { padding: 5px 12px; border-radius: 999px; background: var(--gold); color: var(--night); font-weight: 700; }

.demo__pause {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(8, 17, 41, .6); color: var(--muted); font-size: .85rem; cursor: pointer;
}
.demo__pause:hover { color: var(--text); border-color: var(--muted); }
.ico-pause { position: relative; width: 10px; height: 11px; border-inline: 3px solid currentColor; }
[aria-pressed="true"] > .ico-pause { width: 0; height: 0; border: 0; border-block: 6px solid transparent; border-inline-start: 10px solid currentColor; }

@media (max-width: 380px) {
  .hero__stage { min-height: 600px; }
  .phone { transform: scale(.92); margin-block: -24px; }
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative; overflow: hidden; padding-block: 22px;
  border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(19, 36, 75, .4), rgba(19, 36, 75, .9), rgba(19, 36, 75, .4));
}
.marquee__track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
[dir="rtl"] .marquee__track { animation-name: marquee-rtl; }
.marquee.is-paused .marquee__track, .marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; }
.marquee__item { display: inline-flex; align-items: center; gap: 22px; padding-inline-end: 22px; font: 600 clamp(1.05rem, .9rem + .6vw, 1.4rem) var(--display); color: var(--muted); white-space: nowrap; }
.marquee__item svg { width: 12px; height: 18px; fill: var(--gold); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
.marquee__pause {
  position: absolute; inset-block: 0; inset-inline-end: 0; display: grid; place-items: center; width: 56px; border: 0; cursor: pointer; color: var(--muted);
  background: linear-gradient(90deg, transparent, var(--night) 45%);
}
[dir="rtl"] .marquee__pause { background: linear-gradient(-90deg, transparent, var(--night) 45%); }
.marquee__pause:hover { color: var(--gold); }

/* ---------- Section heads ---------- */
.section-head { max-width: 42rem; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head h2, .wallet h2, .shops h2, .final h2 {
  font-weight: 700; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); line-height: 1.08; letter-spacing: -.02em;
}
[dir="rtl"] .section-head h2, [dir="rtl"] .wallet h2, [dir="rtl"] .shops h2, [dir="rtl"] .final h2 { line-height: 1.35; }
.section-head p, .lede { margin-top: 16px; color: var(--muted); font-size: 1.1rem; max-width: 38rem; }

/* ---------- Store ---------- */
.store, .steps, .wallet, .platforms { padding-block: var(--section) 0; }
.store__grid { display: grid; gap: 20px; }
@media (min-width: 880px) { .store__grid { grid-template-columns: 250px minmax(0, 1fr); gap: 40px; align-items: start; } }

.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 4px 16px 8px; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line);
  background: none; cursor: pointer; font: 600 .98rem var(--display); color: var(--muted); text-align: start;
  transition: color .2s, border-color .2s, background-color .2s;
}
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { color: var(--night); background: var(--gold); border-color: var(--gold); }
@media (min-width: 880px) {
  .tabs { flex-direction: column; gap: 2px; margin: 0; padding: 0; overflow: visible; position: sticky; top: 96px; }
  .tab {
    min-height: 54px; padding: 0 18px; border: 0; border-radius: 0; border-inline-start: 3px solid var(--line); font-size: 1.12rem;
  }
  .tab[aria-selected="true"] { background: linear-gradient(90deg, rgba(235, 194, 102, .12), transparent); color: var(--gold-hi); border-inline-start-color: var(--gold); }
  [dir="rtl"] .tab[aria-selected="true"] { background: linear-gradient(-90deg, rgba(235, 194, 102, .12), transparent); }
}

.store__panel {
  min-height: 380px; padding: clamp(24px, 4vw, 48px); border-radius: 28px;
  background: linear-gradient(160deg, var(--navy), #0E1B3C); border: 1px solid var(--line);
}
.store__panel:focus-visible { outline-offset: 4px; border-radius: 28px; }
.panel__title { font-weight: 800; font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.6rem); line-height: 1.05; letter-spacing: -.025em; color: var(--gold); }
[dir="rtl"] .panel__title { line-height: 1.35; }
.panel__text { margin-top: 12px; max-width: 34rem; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip {
  padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .1);
  font-weight: 600; font-size: .98rem; line-height: 1.3;
}
.panel__foot { margin-top: 28px; font-size: .95rem; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .store__panel.is-swapping .panel__title, .store__panel.is-swapping .panel__text { animation: rise .45s var(--ease) both; }
  .store__panel.is-swapping .chip { animation: rise .45s var(--ease) both; animation-delay: calc(var(--i) * 22ms + 60ms); }
}

/* ---------- Steps ---------- */
.steps__list { position: relative; display: grid; gap: 36px; counter-reset: none; }
.steps__list::before {
  content: ""; position: absolute; inset-inline-start: 27px; top: 28px; bottom: 28px; width: 2px;
  background: linear-gradient(var(--gold), var(--volt));
}
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; row-gap: 6px; }
.step__num {
  grid-row: span 2; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--night); border: 2px solid var(--gold); font: 800 1.4rem var(--display); color: var(--gold);
}
.step:last-child .step__num { border-color: var(--volt); color: var(--volt); }
.step h3 { align-self: end; font-size: 1.35rem; font-weight: 700; }
.step p { color: var(--muted); max-width: 30rem; }
@media (min-width: 880px) {
  .steps__list { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .steps__list::before { inset-inline: 28px calc(33.333% - 28px); top: 27px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--gold), var(--volt)); }
  [dir="rtl"] .steps__list::before { background: linear-gradient(-90deg, var(--gold), var(--volt)); }
  .step { grid-template-columns: 1fr; row-gap: 12px; align-content: start; }
  .step h3 { align-self: start; }
  .step__num { grid-row: auto; margin-bottom: 12px; }
}

/* ---------- Wallet ---------- */
.wallet__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 880px) { .wallet__grid { grid-template-columns: 1.1fr .9fr; gap: 64px; } }
.methods { display: grid; gap: 4px; margin-top: 32px; }
.methods li { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(37, 60, 112, .6); }
.methods img { width: 48px; height: 48px; padding: 7px; border-radius: 14px; background: #fff; object-fit: contain; flex: none; }
.methods div { display: grid; line-height: 1.45; }
.methods b { font: 700 1.05rem var(--display); }
.methods span { color: var(--muted); font-size: .98rem; }

.wallet__demo { display: grid; justify-items: center; gap: 14px; }
.card {
  width: 100%; max-width: 420px; padding: 26px 28px 28px; border-radius: 28px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(235, 194, 102, .18), transparent 55%),
    linear-gradient(145deg, #223A6B, #13244B);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9);
}
.card__top { display: flex; align-items: center; justify-content: space-between; }
.card__label { color: var(--muted); font-weight: 600; }
.card__wa { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #25D366; background: rgba(37, 211, 102, .12); }
.card__wa svg { width: 22px; height: 22px; }
.card__amount { display: block; margin-top: 6px; font: 800 clamp(2.4rem, 2rem + 2vw, 3.3rem)/1.1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; direction: ltr; text-align: start; }
.seg { display: inline-flex; margin-top: 22px; padding: 4px; border-radius: 999px; background: rgba(0, 0, 0, .28); }
.seg__btn { min-width: 72px; min-height: 40px; border: 0; border-radius: 999px; background: none; cursor: pointer; font-weight: 700; color: var(--muted); transition: background-color .25s, color .25s; }
.seg__btn[aria-pressed="true"] { background: var(--gold); color: var(--night); }
.note { max-width: 420px; font-size: .88rem; color: var(--muted); text-align: center; }

/* ---------- Platforms ---------- */
.plat { border-bottom: 1px solid var(--line); }
.plat__row { display: grid; grid-template-columns: 56px 1fr; gap: 8px 20px; align-items: center; padding-block: 26px; border-top: 1px solid var(--line); }
.plat__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--navy); color: var(--gold); }
.plat__icon svg { width: 28px; height: 28px; }
.plat__body h3 { font-size: 1.35rem; font-weight: 700; }
.plat__body p { color: var(--muted); }
.plat__row .btn { grid-column: 1 / -1; justify-self: stretch; margin-top: 8px; }
@media (min-width: 720px) {
  .plat__row { grid-template-columns: 56px 1fr auto; }
  .plat__row .btn { grid-column: auto; justify-self: end; margin-top: 0; min-width: 240px; }
}

/* ---------- Shops ---------- */
.shops { margin-top: var(--section); }
.shops__row {
  display: grid; gap: 24px; align-items: center; padding-block: clamp(32px, 5vw, 56px);
  border-block: 1px dashed rgba(235, 194, 102, .4);
}
.shops h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); }
.shops p { margin-top: 10px; max-width: 40rem; color: var(--muted); }
@media (min-width: 880px) { .shops__row { grid-template-columns: 1fr auto; gap: 48px; } }

/* ---------- Final ---------- */
.final { padding-block: var(--section); }
.final__grid { display: grid; gap: 24px; align-items: center; }
.final__logo { display: none; width: 300px; height: auto; justify-self: center; filter: drop-shadow(0 0 48px rgba(91, 155, 255, .35)); }
@media (min-width: 880px) {
  .final__grid { grid-template-columns: 1fr auto; }
  .final__logo { display: block; }
}
.final h2 { font-size: clamp(2.3rem, 1.5rem + 3.4vw, 4.2rem); font-weight: 800; max-width: 16ch; }
.final p { margin-top: 16px; font-size: 1.15rem; color: var(--muted); max-width: 34rem; }
.final__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }
.final .final__login { margin: 0; font-size: 1rem; }
.final__login a { color: var(--gold); font-weight: 700; text-underline-offset: 4px; }
.final__login a:hover { color: var(--gold-hi); }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding-block: 28px 36px; }
.foot__row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-inline-start: auto; }
.foot__links a { display: inline-flex; min-height: 44px; align-items: center; color: var(--muted); text-decoration: none; font-size: .95rem; }
.foot__links a:hover { color: var(--gold-hi); }
.foot__copy { width: 100%; font-size: .88rem; color: var(--muted); }
@media (max-width: 640px) { .foot__links { margin-inline-start: 0; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .marquee__track { animation: none; }
  .ticker span { animation: none; padding-inline-start: 0; }
}
