/* ==========================================================================
   DARA PAY — landing page styles
   Structure: tokens · base · layout · components · sections · mockups · wall · footer · responsive
   Logical properties (inline-start/end) are used throughout so RTL/LTR share one stylesheet.
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 400; font-display: swap; src: url("/assets/fonts/plex-arabic-400.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 500; font-display: swap; src: url("/assets/fonts/plex-arabic-500.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 600; font-display: swap; src: url("/assets/fonts/plex-arabic-600.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 700; font-display: swap; src: url("/assets/fonts/plex-arabic-700.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/inter-var-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokens ---------- */
:root {
  --bg: #000;
  --bg-2: #0a0a0c;
  --bg-3: #111114;
  --card: #131316;
  --card-2: #1a1a1f;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);
  --text: #fff;
  --muted: #a3a3ad;
  --yellow: #facc15;
  --yellow-2: #ffc107;
  --green: #10b981;
  --radius: 20px;
  --radius-lg: 28px;
  --font: "Inter", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --flip: 1;
  --header-h: 72px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
html[dir="rtl"] { --flip: -1; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 1rem; line-height: 1.7; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
html.i18n-pending body { opacity: 0; }
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
em { font-style: normal; color: var(--yellow); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 8px; }
.skip-link { position: fixed; inset-block-start: -60px; inset-inline-start: 16px; z-index: 200; background: var(--yellow); color: #111; padding: 10px 16px; border-radius: 10px; font-weight: 700; transition: inset-block-start .2s; }
.skip-link:focus { inset-block-start: 12px; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.ico-arrow { transform: scaleX(var(--flip)); flex: none; }

/* Brand logos rendered from SVG files as a colourable mask */
.logo-m { display: block; background: currentColor; color: #fff; -webkit-mask: var(--u) center / contain no-repeat; mask: var(--u) center / contain no-repeat; }
.logo-m.dark { color: #0b0b0c; }

/* ---------- Typography ---------- */
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: 1.12; font-weight: 700; }
html[lang="en"] h1 { line-height: 1.04; letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.2; font-weight: 700; }
html[lang="en"] h2 { line-height: 1.1; letter-spacing: -.03em; }
h2.big { font-size: clamp(2.2rem, 5vw, 4rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #d4d4db; max-width: 36em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--yellow); font-weight: 600; font-size: .95rem; margin-block-end: 18px; }
html[lang="en"] .eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .82rem; }
.eyebrow b { display: inline-grid; place-items: center; min-width: 38px; height: 28px; padding-inline: 8px; border: 1px solid rgba(250, 204, 21, .5); border-radius: 999px; font-weight: 700; font-size: .8rem; letter-spacing: .04em; }
.steps { font-size: clamp(1.1rem, 1.8vw, 1.4rem); font-weight: 600; margin-block: 20px 12px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255, 255, 255, .04); font-size: .9rem; color: #e4e4ea; margin-block-end: 22px; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(16, 185, 129, .2); }
.illustrative { font-size: .8rem; color: var(--muted); }
.fineprint { font-size: .82rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 22px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: .95rem; line-height: 1.2; white-space: nowrap; transition: transform .25s var(--ease), background .2s, box-shadow .25s, border-color .2s; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--yellow); color: #111; box-shadow: 0 8px 28px -8px rgba(250, 204, 21, .55); }
.btn-primary:hover { background: #ffd93d; transform: translateY(-2px); box-shadow: 0 14px 34px -8px rgba(250, 204, 21, .65); }
.btn-ghost { background: transparent; color: #fff; border-color: var(--line-strong); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-outline:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-dark { background: #0b0b0d; color: #fff; }
.btn-dark:hover { background: #222; }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn-sm { padding: 9px 16px; font-size: .85rem; }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; inset-block-start: 0; z-index: 100; height: var(--header-h); display: flex; align-items: center; border-block-end: 1px solid transparent; transition: border-color .3s; }
.site-header::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, .55); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); transition: background .3s; }
.site-header.scrolled { border-block-end-color: var(--line); }
.site-header.scrolled::before { background: rgba(0, 0, 0, .78); }
.nav { display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand-logo { height: 36px; width: auto; }
.lockup-en { display: none; }
html[lang="en"] .lockup-en { display: block; }
html[lang="en"] .lockup-ar { display: none; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav-links a { padding: 8px 14px; border-radius: 999px; font-size: .95rem; color: #d4d4db; transition: color .2s, background .2s; }
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions--mobile { display: none; }
.lang-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; font-size: .9rem; font-weight: 600; transition: background .2s, border-color .2s; }
.lang-toggle:hover { background: rgba(255, 255, 255, .08); border-color: var(--yellow); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: transparent; position: relative; }
.menu-btn span { position: absolute; inset-inline-start: 12px; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.menu-btn span:nth-child(1) { inset-block-start: 15px; }
.menu-btn span:nth-child(2) { inset-block-start: 21px; }
.menu-btn span:nth-child(3) { inset-block-start: 27px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(32px, 6vw, 72px) 0; background: radial-gradient(120% 80% at 80% 0%, #17140a 0%, #000 55%); }
.hero-glow { position: absolute; inset-block-start: -20%; inset-inline-end: -10%; width: 60vw; height: 60vw; background: radial-gradient(closest-side, rgba(250, 204, 21, .16), transparent); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: 24px; min-height: min(680px, calc(100svh - var(--header-h) - 60px)); }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.hero-copy h1 { margin-block-end: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-block-start: 32px; }
.store-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 14px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .03); opacity: .5; filter: grayscale(1); cursor: not-allowed; }
.store-badge .logo-m { width: 24px; height: 24px; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.15; }
.store-badge small { font-size: .68rem; color: var(--muted); }
.store-badge b { font-size: .95rem; font-weight: 600; }

/* Gift-card waterfall (CSS 3D) */
.waterfall { position: relative; height: min(660px, 92vw); perspective: 1200px; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%), linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%), linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%); mask-composite: intersect; }
.wf-stage { position: absolute; inset: -10% 0; display: flex; justify-content: center; gap: 20px; transform-style: preserve-3d; transform: rotateX(54deg) rotateZ(-28deg) scale(1.02); }
html[dir="rtl"] .wf-stage { transform: rotateX(54deg) rotateZ(28deg) scale(1.02); }
.wf-col { width: 156px; transform-style: preserve-3d; translate: 0 calc(var(--sy, 0) * var(--k, .2) * 1px); }
.wf-col:nth-child(1) { --k: .22; --t: 26s; margin-block-start: -60px; }
.wf-col:nth-child(2) { --k: .1; --t: 33s; margin-block-start: 80px; }
.wf-col:nth-child(3) { --k: .3; --t: 22s; margin-block-start: -140px; }
.wf-col:nth-child(4) { --k: .14; --t: 30s; margin-block-start: 30px; }
.wf-fall { display: flex; flex-direction: column; gap: 22px; padding-block-end: 22px; transform-style: preserve-3d; animation: wf-fall var(--t, 26s) linear infinite; will-change: transform; }
@keyframes wf-fall { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.gc { position: relative; flex: none; width: 156px; height: 98px; padding: 12px 14px; border-radius: 14px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; transform: translateZ(var(--z, 0px)); background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 55%, #000)); box-shadow: 0 18px 30px -12px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .25); overflow: hidden; }
.gc::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, .22), transparent 38%); pointer-events: none; }
.gc.on-light { color: #0b0b0c; }
.gc-top { display: flex; align-items: center; justify-content: space-between; }
.gc-top .logo-m { width: 26px; height: 26px; }
.gc-name { font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em; line-height: 1.1; }
.gc-top em { color: inherit; opacity: .6; font-size: .52rem; font-weight: 700; letter-spacing: .14em; }
.gc-chip { position: absolute; inset-inline-end: 14px; inset-block-start: 44px; width: 22px; height: 16px; border-radius: 4px; background: linear-gradient(135deg, #f5d98a, #c79a2b); opacity: .85; }
.gc-amt { font-weight: 700; font-size: .95rem; letter-spacing: .02em; }
.tagline-strip { margin-block-start: clamp(20px, 3vw, 40px); padding-block: 22px; border-block: 1px solid var(--line); text-align: center; }
.tagline { font-size: clamp(1.1rem, 2.4vw, 1.7rem); font-weight: 600; color: #e9e9ef; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 140px); position: relative; }
.section-tight { padding-block: clamp(56px, 8vw, 100px) 0; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), #000); border-block: 1px solid var(--line); }
.section-head { margin-block-end: 40px; }
.section-head.center { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.split { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: clamp(32px, 6vw, 80px); }
.split-copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.split-copy h2 + .lead { margin-block-start: 18px; }
.ticks { display: grid; gap: 14px; margin-block-start: 28px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: #d4d4db; }
.ticks svg { color: #000; background: var(--green); border-radius: 50%; padding: 3px; flex: none; margin-block-start: 3px; }

.three-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-block-start: 8px; }
.channel-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); overflow: hidden; transition: transform .4s var(--ease), border-color .3s; }
.channel-card:hover { transform: translateY(-6px); border-color: rgba(250, 204, 21, .5); }
.channel-no { font-size: 3.2rem; font-weight: 800; line-height: 1; color: rgba(250, 204, 21, .9); letter-spacing: -.04em; }
.channel-card p { color: var(--muted); }
.more { display: inline-flex; align-items: center; gap: 8px; margin-block-start: auto; padding-block-start: 14px; color: var(--yellow); font-weight: 600; }

/* ---------- Mockup: platform ---------- */
.platform-stage { position: relative; height: 640px; }
.float-slow { animation: floaty 9s ease-in-out infinite; }
.float-mid { animation: floaty 7s ease-in-out -2s infinite; }
.float-fast { animation: floaty 5.5s ease-in-out -1s infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.dash { position: absolute; inset-block-start: 56px; inset-inline-start: 0; width: min(520px, 82%); border-radius: 20px; background: #0e0e11; border: 1px solid var(--line-strong); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9); overflow: hidden; }
.dash-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-block-end: 1px solid var(--line); background: #141417; }
.dash-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a42; }
.dash-bar span { margin-inline: auto; font-size: .72rem; color: var(--muted); background: #0b0b0d; padding: 3px 14px; border-radius: 999px; }
.dash-body { display: grid; grid-template-columns: 54px 1fr; min-height: 300px; }
.dash-side { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 16px 0; border-inline-end: 1px solid var(--line); }
.dash-side i { width: 22px; height: 22px; border-radius: 7px; background: #26262c; }
.dash-side i.on { background: var(--yellow); }
.dash-logo { margin-block-end: 6px; }
.dash-main { padding: 18px; display: grid; gap: 16px; align-content: start; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dash-kpis div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.dash-kpis small { color: var(--muted); font-size: .68rem; line-height: 1.3; }
.dash-kpis b { font-size: .95rem; }
.green { color: var(--green); }
.dash-list { display: grid; gap: 8px; }
.dash-list li { display: grid; grid-template-columns: 26px 1fr auto 8px; align-items: center; gap: 10px; padding: 10px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; font-size: .82rem; }
.dash-list .logo-m { width: 20px; height: 20px; }
.dash-list em { color: #e4e4ea; font-size: .8rem; }
.dash-list u { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

.phone { position: absolute; inset-block-start: 0; inset-inline-end: 3%; width: 272px; height: 560px; padding: 9px; border-radius: 46px; background: linear-gradient(145deg, #2c2c33, #101013); border: 1px solid var(--line-strong); box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .95), 0 0 0 1px #000, 0 0 80px -20px rgba(250, 204, 21, .18); }
.phone-notch { position: absolute; inset-block-start: 18px; inset-inline: 0; margin-inline: auto; width: 84px; height: 22px; border-radius: 99px; background: #000; z-index: 2; }
.phone-screen { height: 100%; border-radius: 38px; background: linear-gradient(180deg, #121215, #07070a); padding: 52px 16px 14px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.app-top { display: flex; align-items: center; justify-content: space-between; }
.app-top small { color: var(--muted); font-size: .78rem; display: block; line-height: 1.2; }
.app-top b { font-size: 1.25rem; line-height: 1.2; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--yellow); color: #111; display: grid; place-items: center; font-weight: 800; }
.app-search { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: #1a1a1f; color: var(--muted); font-size: .78rem; }
.app-pills { display: flex; gap: 6px; overflow: hidden; }
.app-pills span { flex: none; padding: 6px 12px; border-radius: 999px; background: #1a1a1f; font-size: .72rem; color: #cfcfd6; }
.app-pills span.on { background: var(--yellow); color: #111; font-weight: 700; }
.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.app-card { position: relative; padding: 12px; border-radius: 16px; background: linear-gradient(140deg, var(--c), color-mix(in srgb, var(--c) 50%, #000)); display: flex; flex-direction: column; gap: 2px; min-height: 92px; overflow: hidden; }
.app-card .logo-m { width: 26px; height: 26px; margin-block-end: 8px; }
.app-card b { font-size: .8rem; line-height: 1.2; }
.app-card small { font-size: .68rem; opacity: .75; }
.app-nav { margin-block-start: auto; display: flex; justify-content: space-around; padding: 10px; border-radius: 18px; background: #17171b; }
.app-nav i { width: 22px; height: 22px; border-radius: 7px; background: #2a2a30; }
.app-nav i.on { background: var(--yellow); }

.success-card { position: absolute; inset-inline-start: 2%; inset-block-end: 26px; width: min(360px, 94%); display: grid; grid-template-columns: auto 1fr; gap: 12px 14px; align-items: center; padding: 18px; border-radius: 22px; background: rgba(22, 22, 26, .92); backdrop-filter: blur(14px); border: 1px solid rgba(16, 185, 129, .45); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9), 0 0 60px -18px rgba(16, 185, 129, .45); z-index: 3; }
.success-check { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; box-shadow: 0 0 0 8px rgba(16, 185, 129, .18); animation: pop 3.6s ease-in-out infinite; }
@keyframes pop { 0%, 100% { box-shadow: 0 0 0 6px rgba(16, 185, 129, .2); } 50% { box-shadow: 0 0 0 12px rgba(16, 185, 129, .06); } }
.success-text { display: flex; flex-direction: column; min-width: 0; }
.success-text small { color: var(--green); font-weight: 700; font-size: .85rem; line-height: 1.3; }
b.code { font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-weight: 700; font-size: 1.25rem; letter-spacing: .04em; color: #fff; white-space: nowrap; }
.success-meta { color: var(--muted); font-size: .76rem; line-height: 1.4; }
.copy-btn { grid-column: 1 / -1; width: 100%; }
.copy-btn.done { background: var(--green); color: #fff; box-shadow: 0 8px 28px -8px rgba(16, 185, 129, .6); }

/* ---------- Mockup: POS ---------- */
.stats-card { width: 100%; max-width: 440px; margin-block-start: 28px; padding: 22px; border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); }
.stats-top { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-block-end: 18px; }
.stats-top small { display: block; color: var(--muted); font-size: .72rem; font-weight: 600; }
html[lang="en"] .stats-top small { letter-spacing: .12em; }
.stats-top b { font-size: 1.7rem; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
.stats-top b.accent { color: var(--yellow); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 110px; }
.bars i { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--yellow), #b98f08); opacity: .8; transform-origin: bottom; transform: scaleY(0); transition: transform .9s var(--ease); }
.in .bars i, .bars.in i { transform: scaleY(1); }
.bars i:nth-child(2) { transition-delay: .05s; } .bars i:nth-child(3) { transition-delay: .1s; } .bars i:nth-child(4) { transition-delay: .15s; } .bars i:nth-child(5) { transition-delay: .2s; } .bars i:nth-child(6) { transition-delay: .25s; }
.bars i:nth-child(7) { transition-delay: .3s; } .bars i:nth-child(8) { transition-delay: .35s; } .bars i:nth-child(9) { transition-delay: .4s; } .bars i:nth-child(10) { transition-delay: .45s; } .bars i:nth-child(11) { transition-delay: .5s; } .bars i:nth-child(12) { transition-delay: .55s; }
.bars i.peak { opacity: 1; box-shadow: 0 0 24px rgba(250, 204, 21, .5); }
.bars-axis { display: flex; justify-content: space-between; margin-block: 8px 10px; color: var(--muted); font-size: .7rem; }
.js .stats-card:not(.in) .bars i { transform: scaleY(0); }
.js .stats-card.in .bars i { transform: scaleY(1); }

.pos-stage { position: relative; display: grid; justify-items: center; min-height: 640px; padding-block-start: 190px; }
.receipt-wrap { position: absolute; inset-block-start: 0; width: 190px; height: 238px; overflow: hidden; z-index: 1; }
.receipt { position: absolute; inset-inline: 10px; inset-block-end: 0; padding: 14px 14px 18px; background: #fafaf7; color: #1b1b1b; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .7rem; line-height: 1.5; text-align: center; border-radius: 4px 4px 0 0; box-shadow: 0 -4px 20px rgba(0, 0, 0, .4); animation: print 8s ease-in-out infinite; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), 94% 100%, 88% calc(100% - 6px), 82% 100%, 76% calc(100% - 6px), 70% 100%, 64% calc(100% - 6px), 58% 100%, 52% calc(100% - 6px), 46% 100%, 40% calc(100% - 6px), 34% 100%, 28% calc(100% - 6px), 22% 100%, 16% calc(100% - 6px), 10% 100%, 4% calc(100% - 6px), 0 100%); }
.receipt b { display: block; font-size: .85rem; letter-spacing: .12em; }
.receipt hr { border: 0; border-block-start: 1px dashed #999; margin-block: 6px; }
.receipt div { display: flex; justify-content: space-between; }
.receipt .code-line { justify-content: center; font-weight: 700; letter-spacing: .06em; margin-block: 4px; }
.receipt small { color: #777; }
@keyframes print { 0%, 52% { transform: translateY(104%); } 72%, 92% { transform: translateY(8%); opacity: 1; } 100% { transform: translateY(8%); opacity: 0; } }
.pos-device { position: relative; z-index: 2; width: 286px; padding: 16px 16px 22px; border-radius: 38px; background: linear-gradient(160deg, #2a2a31, #0f0f12); border: 1px solid var(--line-strong); box-shadow: 0 50px 90px -30px #000, 0 0 90px -30px rgba(250, 204, 21, .25); }
.pos-slot { position: absolute; inset-block-start: -2px; inset-inline: 0; margin-inline: auto; width: 210px; height: 10px; border-radius: 0 0 10px 10px; background: #000; }
.pos-screen { position: relative; margin-block-start: 8px; padding: 14px; height: 318px; border-radius: 22px; background: #08080a; border: 1px solid #000; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.pos-head { display: flex; justify-content: space-between; font-size: .75rem; font-weight: 700; letter-spacing: .08em; }
.online { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-size: .7rem; font-weight: 600; letter-spacing: 0; }
.online i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.pos-item { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 12px; border-radius: 14px; background: #17171b; border: 1px solid var(--yellow); box-shadow: 0 0 0 4px rgba(250, 204, 21, .1); }
.pos-item b { display: block; font-size: .88rem; line-height: 1.3; }
.pos-item small { color: var(--muted); font-size: .68rem; }
.pos-item strong { font-size: 1rem; color: var(--yellow); }
.tile-du { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, #00a1e0, #005b86); font-weight: 800; font-size: 1rem; }
.pos-amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pos-amounts span { text-align: center; padding: 8px 0; border-radius: 10px; background: #17171b; font-size: .8rem; font-weight: 600; }
.pos-amounts span.on { background: var(--yellow); color: #111; }
.pos-pay { margin-block-start: auto; display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--yellow); color: #111; font-weight: 700; }
.nfc-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: rgba(0, 0, 0, .78); backdrop-filter: blur(5px); animation: tap 8s ease-in-out infinite; opacity: 0; font-size: .9rem; text-align: center; padding: 0 12px; }
@keyframes tap { 0%, 16% { opacity: 0; } 24%, 44% { opacity: 1; } 50%, 100% { opacity: 0; } }
.nfc-rings { position: relative; width: 84px; height: 84px; display: grid; place-items: center; color: var(--yellow); }
.nfc-rings i { position: absolute; inset: 0; border: 2px solid var(--yellow); border-radius: 50%; opacity: 0; animation: ring 2.2s ease-out infinite; }
.nfc-rings i:nth-child(2) { animation-delay: .5s; } .nfc-rings i:nth-child(3) { animation-delay: 1s; }
.nfc-rings.small { width: 56px; height: 56px; }
@keyframes ring { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
.pos-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-block-start: 14px; }
.pos-keys i { height: 18px; border-radius: 8px; background: #1d1d22; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-block-start: clamp(40px, 6vw, 72px); padding-block-start: 36px; border-block-start: 1px solid var(--line); text-align: center; }
.stat-row b { display: block; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.1; font-weight: 800; color: var(--yellow); letter-spacing: -.03em; }
.stat-row span { color: var(--muted); font-weight: 600; font-size: .9rem; }
html[lang="en"] .stat-row span { letter-spacing: .14em; }

/* ---------- Mockup: kiosk ---------- */
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; margin-block-start: 28px; }
.specs li { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.specs svg { color: var(--yellow); margin-block-end: 6px; }
.specs b { font-size: 1.05rem; line-height: 1.3; }
.specs span { color: var(--muted); font-size: .85rem; line-height: 1.5; }
.kiosk-stage { position: relative; height: 680px; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; border: 1px solid var(--line); }
.street { position: absolute; inset: 0; background: linear-gradient(180deg, #05070f 0%, #0b1226 52%, #080b16 100%); z-index: -1; }
.skyline { position: absolute; inset-inline: 0; inset-block-end: 24%; height: 48%; background: #0a0f20; clip-path: polygon(0 100%, 0 52%, 8% 52%, 8% 28%, 17% 28%, 17% 44%, 25% 44%, 25% 12%, 35% 12%, 35% 50%, 43% 50%, 43% 33%, 53% 33%, 53% 18%, 63% 18%, 63% 46%, 72% 46%, 72% 26%, 82% 26%, 82% 50%, 91% 50%, 91% 36%, 100% 36%, 100% 100%); }
.skyline::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(250, 204, 21, .5) 1.6px, transparent 2.2px); background-size: 19px 26px; opacity: .55; }
.lamp { position: absolute; inset-inline-start: 11%; inset-block-end: 6%; width: 4px; height: 56%; background: #1c2133; }
.lamp i { position: absolute; inset-block-start: -8px; inset-inline-start: -42px; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 220, 120, .55), rgba(255, 200, 80, .12) 60%, transparent); animation: flicker 6s infinite; }
@keyframes flicker { 0%, 100% { opacity: 1; } 47% { opacity: .85; } 50% { opacity: .6; } 53% { opacity: .95; } }
.ground { position: absolute; inset-inline: 0; inset-block-end: 0; height: 26%; background: linear-gradient(180deg, #0c1022, #040508); }
.ground::before { content: ""; position: absolute; inset-inline: 22%; inset-block-start: 0; height: 60%; background: radial-gradient(closest-side, rgba(250, 204, 21, .38), transparent); filter: blur(10px); }
.kiosk { position: absolute; inset-inline: 0; margin-inline: auto; inset-block-end: 34px; width: 236px; height: 590px; border-radius: 26px 26px 14px 14px; background: linear-gradient(90deg, #2a2c32 0%, #7b7f89 14%, #4a4d55 32%, #8d919b 50%, #4a4d55 70%, #7b7f89 86%, #2a2c32 100%); padding: 10px; box-shadow: 0 50px 80px -20px #000, 0 0 70px -10px rgba(250, 204, 21, .2); display: flex; flex-direction: column; gap: 10px; }
.kiosk-led { display: grid; place-items: center; height: 24px; border-radius: 8px; background: var(--yellow); color: #111; font-size: .68rem; font-weight: 800; letter-spacing: .2em; box-shadow: 0 0 22px rgba(250, 204, 21, .6); }
.kiosk-screen { flex: 1; border-radius: 14px; background: #060608; border: 3px solid #0c0c0f; padding: 12px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; box-shadow: inset 0 0 30px rgba(250, 204, 21, .06); }
.k-head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: .7rem; letter-spacing: .1em; }
.k-selected { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; padding: 10px; border-radius: 12px; background: #17171b; border: 1px solid var(--yellow); }
.k-selected .logo-m { width: 32px; height: 32px; padding: 4px; border-radius: 9px; background-color: #F4B942; -webkit-mask: none; mask: none; position: relative; }
.k-selected .logo-m { background: #F4B942 var(--u) center / 70% no-repeat; }
.k-selected b { display: block; font-size: .78rem; line-height: 1.25; }
.k-selected small { color: var(--muted); font-size: .64rem; }
.k-selected strong { color: var(--yellow); font-size: .85rem; }
.k-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.k-opts span { text-align: center; padding: 7px 0; border-radius: 9px; background: #17171b; font-size: .68rem; font-weight: 600; }
.k-opts span.on { background: var(--yellow); color: #111; }
.k-pay { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 6px; }
.k-pay span { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 7px 0; border-radius: 9px; background: #17171b; font-size: .65rem; font-weight: 700; color: #cfcfd6; }
.k-pay span.on { color: var(--yellow); border: 1px solid rgba(250, 204, 21, .5); }
.k-tap { margin-block-start: auto; display: grid; place-items: center; padding-block: 6px; }
.kiosk-panel { height: 112px; border-radius: 12px; background: linear-gradient(180deg, #1c1e23, #101114); padding: 10px; display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: auto 1fr; gap: 8px; position: relative; }
.k-slot-card, .k-slot-receipt { position: relative; height: 16px; border-radius: 6px; background: #000; box-shadow: inset 0 -2px 4px rgba(255, 255, 255, .06); }
.k-card-out, .k-paper { position: absolute; inset-inline: 6px; inset-block-start: 8px; z-index: 2; animation: dispense 8s ease-in-out infinite; }
.k-card-out { display: flex; align-items: center; gap: 6px; height: 56px; padding: 8px; border-radius: 8px; background: linear-gradient(135deg, #F4B942, #a8741a); color: #111; font-size: .55rem; font-weight: 800; }
.k-card-out .logo-m { width: 22px; height: 22px; color: #111; flex: none; }
.k-paper { padding: 6px 8px; background: #fafaf7; color: #222; font-size: .5rem; border-radius: 0 0 3px 3px; display: flex; flex-direction: column; gap: 3px; height: 62px; animation-delay: .4s; }
.k-paper i { height: 3px; background: #bbb; border-radius: 2px; }
.k-paper i.s { width: 60%; }
.k-paper b { letter-spacing: .1em; font-size: .55rem; }
@keyframes dispense { 0%, 55% { transform: translateY(-62px); opacity: 0; } 58% { opacity: 1; } 78%, 94% { transform: translateY(2px); opacity: 1; } 100% { transform: translateY(2px); opacity: 0; } }
.k-cash { grid-column: 1 / -1; border-radius: 6px; background: repeating-linear-gradient(90deg, #0a0a0c 0 8px, #15161a 8px 10px); height: 100%; }

/* ---------- Merchant API ---------- */
.code-window { width: 100%; border-radius: 18px; background: #0b0b0e; border: 1px solid var(--line-strong); box-shadow: 0 50px 90px -40px #000, 0 0 100px -40px rgba(250, 204, 21, .25); overflow: hidden; min-width: 0; }
.code-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; background: #16161a; border-block-end: 1px solid var(--line); }
.code-bar i { width: 12px; height: 12px; border-radius: 50%; }
.code-bar .r { background: #ff5f57; } .code-bar .y { background: #febc2e; } .code-bar .g { background: #28c840; }
.code-bar span { margin-inline: auto; padding-inline-end: 44px; color: var(--muted); font-size: .78rem; font-family: ui-monospace, Menlo, Consolas, monospace; }
pre.code { margin: 0; padding: 22px 24px; min-height: 480px; overflow-x: auto; font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .86rem; line-height: 1.75; color: #e6e6ec; white-space: pre; }
.caret { display: inline-block; width: 8px; height: 1.1em; background: var(--yellow); vertical-align: text-bottom; animation: blink 1s steps(1) infinite; }
.typed .caret { opacity: .0; animation: none; }
.tk-cmd { color: var(--yellow); font-weight: 700; } .tk-flag { color: #7dd3fc; } .tk-kw { color: #f472b6; font-weight: 700; } .tk-url { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 4px; }
.tk-str { color: #86efac; } .tk-key { color: #fde68a; } .tk-num { color: #fb923c; } .tk-code { color: var(--green); font-weight: 700; background: rgba(16, 185, 129, .12); border-radius: 4px; } .tk-com { color: #6b7280; } .tk-p { color: #9ca3af; }
.center-note { margin-block-start: 22px; text-align: center; }

/* ---------- One platform diagram ---------- */
.diagram { max-width: 920px; margin-inline: auto; display: grid; gap: 0; justify-items: center; }
.dg-platform { display: flex; align-items: center; gap: 16px; width: min(560px, 100%); padding: 20px 24px; border-radius: var(--radius-lg); background: linear-gradient(180deg, #1c1a10, var(--card)); border: 1px solid rgba(250, 204, 21, .45); box-shadow: 0 0 80px -30px rgba(250, 204, 21, .5); }
.dg-platform b { display: block; font-size: 1.2rem; letter-spacing: .06em; }
.dg-platform small { color: var(--muted); line-height: 1.5; display: block; }
.dg-lines { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; height: 48px; }
.dg-lines i { justify-self: center; width: 2px; height: 100%; background: linear-gradient(180deg, var(--yellow), transparent); opacity: .6; position: relative; }
.dg-channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: 100%; }
.dg-node { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 26px 16px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .3s; }
.dg-node:hover { transform: translateY(-5px); border-color: var(--yellow); }
.dg-node svg { color: var(--yellow); margin-block-end: 6px; }
.dg-node small { color: var(--muted); }
.dg-api { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 14px; width: 100%; margin-block-start: 16px; padding: 18px 24px; border-radius: var(--radius); border: 1.5px dashed rgba(250, 204, 21, .6); background: rgba(250, 204, 21, .05); transition: background .3s; }
.dg-api:hover { background: rgba(250, 204, 21, .1); }
.dg-api span { font-family: ui-monospace, Menlo, monospace; color: var(--yellow); font-weight: 700; }
.dg-api small { color: var(--muted); }
.made-simple { margin-block-start: clamp(48px, 7vw, 88px); text-align: center; font-size: clamp(2.2rem, 6vw, 4.6rem); font-weight: 800; line-height: 1.2; color: var(--yellow); }
.made-simple-en { text-align: center; color: var(--muted); font-size: clamp(1.1rem, 2.4vw, 1.6rem); font-weight: 500; margin-block-start: 6px; }

/* ---------- Brand wall (white) ---------- */
.wall { background: #fff; color: #0a0a0b; padding-block: clamp(64px, 9vw, 120px) clamp(48px, 6vw, 80px); position: relative; }
.wall-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; margin-block-end: clamp(36px, 5vw, 64px); }
.wall-head h2 { margin-block-end: 12px; }
.muted-dark { color: #5d5d68; max-width: 38em; }
.marquees { display: grid; gap: 14px; direction: ltr; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-label { padding-inline: max(20px, (100vw - 1200px) / 2); margin-block-end: 8px; font-size: .78rem; font-weight: 700; color: #85858f; }
html[dir="rtl"] .marquee-label { direction: rtl; text-align: right; }
.track { display: flex; width: max-content; animation: marquee var(--dur, 120s) linear infinite; }
.marquee.reverse .track { animation-direction: reverse; }
.marquee:hover .track, .marquee:focus-within .track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.set { display: flex; gap: 14px; padding-inline-end: 14px; }
.chip { flex: none; display: grid; place-items: center; width: 150px; height: 80px; padding: 12px 16px; border-radius: 18px; background: #fff; border: 1px solid #e8e8ee; box-shadow: 0 6px 18px -12px rgba(0, 0, 0, .25); transition: transform .3s var(--ease), box-shadow .3s; }
.chip:hover { transform: translateY(-4px); box-shadow: 0 14px 26px -14px rgba(0, 0, 0, .35); }
.logo-img { width: auto; max-width: 100%; height: 32px; object-fit: contain; }
.name-tile { display: grid; place-items: center; align-content: center; width: 100%; height: 100%; padding: 6px 8px; border-radius: 12px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 14%, #fff), #fff); border-inline-start: 4px solid var(--accent); text-align: center; overflow: hidden; }
.name-tile b { color: #111; font-size: .92rem; line-height: 1.25; font-weight: 700; }
html[dir="rtl"] .marquees .name-tile b { direction: rtl; }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .track { animation: none; }
}

/* Country tabs */
.countries { margin-block-start: clamp(64px, 8vw, 110px); }
.section-head-dark { margin-block-end: 26px; }
.section-head-dark h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; margin-block-end: 8px; }
.tabs { display: flex; gap: 10px; overflow-x: auto; padding-block: 6px 14px; scrollbar-width: thin; }
.tab { flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; border: 1px solid #dcdce3; background: #fff; color: #0a0a0b; font-weight: 600; font-size: .95rem; transition: background .2s, border-color .2s, color .2s, transform .2s; }
.tab:hover { border-color: #0a0a0b; }
.tab[aria-selected="true"] { background: #0a0a0b; color: #fff; border-color: #0a0a0b; }
.tab:focus-visible, .chip-btn:focus-visible { outline-color: #0a0a0b; }
.flag { width: 24px; height: 16px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.flag-lg { width: 42px; height: 28px; border-radius: 5px; }
.tab-panel { padding: clamp(18px, 3vw, 32px); border-radius: var(--radius-lg); background: #f6f6f9; border: 1px solid #ececf2; animation: fadeIn .45s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } }
.cty-head { display: flex; align-items: center; gap: 14px; margin-block-end: 22px; }
.cty-head h4 { font-size: 1.5rem; font-weight: 700; }
.currency { padding: 3px 12px; border-radius: 999px; background: #0a0a0b; color: var(--yellow); font-size: .78rem; font-weight: 700; letter-spacing: .08em; }
.cty-group + .cty-group { margin-block-start: 28px; }
.cty-group h5 { display: flex; align-items: center; gap: 10px; margin-block-end: 14px; font-size: 1.05rem; font-weight: 700; }
.count { display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding-inline: 8px; border-radius: 999px; background: var(--yellow); color: #111; font-size: .75rem; font-weight: 700; }
.cc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.cc { display: flex; flex-direction: column; border-radius: 16px; background: #fff; border: 1px solid #e8e8ee; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.cc:hover { transform: translateY(-3px); box-shadow: 0 16px 28px -16px rgba(0, 0, 0, .3); }
.cc-face { display: grid; place-items: center; height: 84px; padding: 12px; }
.cc-face .name-tile { border-radius: 10px; }
.cc-meta { display: flex; flex-direction: column; gap: 1px; padding: 10px 12px 12px; border-block-start: 1px solid #f0f0f4; }
.cc-meta b { font-size: .85rem; line-height: 1.3; font-weight: 600; }
.cc-meta small { color: #7b7b86; font-size: .72rem; }
.fineprint { margin-block-start: 14px; }
.wall .fineprint, .site-footer .fineprint { color: #7b7b86; }

/* All brands */
.all-brands { margin-block-start: clamp(64px, 8vw, 110px); }
.brand-tools { display: grid; gap: 14px; margin-block-end: 20px; }
.search-box { display: flex; align-items: center; gap: 10px; padding: 0 18px; height: 52px; border-radius: 999px; border: 1px solid #dcdce3; background: #fff; color: #6b6b76; max-width: 520px; }
.search-box:focus-within { border-color: #0a0a0b; box-shadow: 0 0 0 3px rgba(250, 204, 21, .6); }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; color: #0a0a0b; height: 100%; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn { padding: 7px 16px; border-radius: 999px; border: 1px solid #dcdce3; background: #fff; color: #333; font-size: .85rem; font-weight: 600; transition: background .2s, color .2s; }
.chip-btn:hover { border-color: #0a0a0b; }
.chip-btn[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: #111; }
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-block-end: 26px; min-height: 120px; }
.bg-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 18px 10px 12px; border-radius: 16px; background: #fff; border: 1px solid #e8e8ee; text-align: center; transition: transform .25s var(--ease), box-shadow .25s; }
.bg-item:hover { transform: translateY(-3px); box-shadow: 0 14px 24px -16px rgba(0, 0, 0, .3); }
.bg-item img { height: 34px; max-width: 80%; }
.bg-item span { font-size: .72rem; color: #6b6b76; line-height: 1.3; }
.all-brands .center { display: flex; justify-content: center; }
[hidden] { display: none !important; }

/* ---------- Footer ---------- */
.site-footer { background: #f6f6f9; color: #0a0a0b; border-block-start: 1px solid #e8e8ee; padding-block: 64px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 36px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer-brand p { color: #5d5d68; max-width: 24em; }
.footer-brand .brand-logo { height: 44px; }
.mail { font-weight: 600; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.mail:hover { color: #000; background: var(--yellow); }
.site-footer h4 { font-size: .85rem; margin-block-end: 16px; color: #0a0a0b; }
html[lang="en"] .site-footer h4 { letter-spacing: .14em; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer nav a { color: #5d5d68; transition: color .2s; }
.site-footer nav a:hover { color: #000; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-block-start: 48px; padding-block-start: 22px; border-block-start: 1px solid #e3e3ea; color: #5d5d68; font-size: .9rem; }
.footer-bottom a:hover { text-decoration: underline; }
.footer-bottom .fineprint { margin: 0; max-width: 46em; }

/* ---------- Modal ---------- */
.modal { padding: 0; border: 0; background: transparent; color: #fff; max-width: min(440px, 100% - 32px); width: 100%; margin: auto; }
.modal::backdrop { background: rgba(0, 0, 0, .72); backdrop-filter: blur(6px); }
.modal[open] { animation: modalIn .4s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.modal-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 40px 32px 32px; border-radius: 28px; background: linear-gradient(180deg, #1a1a1f, #0d0d10); border: 1px solid var(--line-strong); box-shadow: 0 40px 100px -20px #000, 0 0 90px -30px rgba(250, 204, 21, .4); }
.modal-card .pill { margin: 0; }
.modal-card h2 { font-size: 1.7rem; }
.modal-text { color: #cfcfd6; }
.modal-card .fineprint { margin: 0; }
.modal-card .btn { margin-block-start: 8px; min-width: 160px; }
.modal-close { position: absolute; inset-block-start: 14px; inset-inline-end: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); background: transparent; }
.modal-close:hover { background: rgba(255, 255, 255, .1); }

/* ---------- Legal placeholder pages ---------- */
.legal-page { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 100px 20px 60px; background: radial-gradient(100% 70% at 50% 0%, #17140a, #000 60%); }
.legal-card { max-width: 520px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.legal-card h1 { font-size: clamp(2rem, 5vw, 3rem); }
.legal-card .big-soon { font-size: clamp(2.4rem, 8vw, 4.5rem); font-weight: 800; color: var(--yellow); line-height: 1.1; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 959px) {
  .menu-btn { display: block; }
  .nav-hide-sm { display: none; }
  .nav { gap: 12px; }
  .nav-actions { margin-inline-start: auto; }
  .nav-links { position: fixed; inset: var(--header-h) 0 0 0; margin: 0; padding: 24px 20px 40px; flex-direction: column; align-items: stretch; gap: 4px; background: #050507; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s var(--ease), visibility .3s; overflow-y: auto; }
  .menu-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 16px 12px; font-size: 1.25rem; border-block-end: 1px solid var(--line); border-radius: 0; }
  .nav-actions--mobile { display: flex; flex-direction: column; margin-block-start: 22px; gap: 12px; }
  .nav-actions--mobile .btn { width: 100%; padding: 15px; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .waterfall { height: 460px; margin-block-start: 8px; }
  .hero-copy { align-items: center; text-align: center; }
  .hero-cta { justify-content: center; }
  .split { grid-template-columns: 1fr; }
  .split-reverse .split-copy { order: -1; }
  .split-copy { align-items: center; text-align: center; }
  .split-copy .hero-cta { justify-content: center; }
  .ticks li { text-align: start; }
  .stats-card { margin-inline: auto; }
  .three-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .brand-logo { height: 30px; }
  .platform-stage { height: 700px; }
  .dash { display: none; }
  .phone { inset-inline: 0; margin-inline: auto; width: 252px; height: 520px; }
  .success-card { inset-inline: 0; margin-inline: auto; width: 100%; inset-block-end: 0; }
  pre.code { font-size: .74rem; padding: 16px; min-height: 420px; }
  .specs { grid-template-columns: 1fr; }
  .dg-channels { grid-template-columns: 1fr; }
  .dg-lines { display: none; }
  .dg-platform { margin-block-end: 16px; }
  .kiosk-stage { height: 640px; }
  .stat-row { gap: 8px; }
  .wall-head { flex-direction: column; align-items: flex-start; }
  .chip { width: 128px; height: 70px; }
  .cc-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
  .lang-toggle span { font-size: .82rem; }
  .lang-toggle { padding: 9px 11px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .wf-fall { animation: none; }
  .nfc-overlay { opacity: 0; }
  .receipt, .k-card-out, .k-paper { animation: none; transform: translateY(8%); opacity: 1; }
  .k-card-out, .k-paper { transform: none; }
  .bars i { transform: scaleY(1); }
}

/* company details */
.site-co { display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; margin-block-start: 40px; padding-block-start: 28px; border-block-start: 1px solid #e3e3ea; }
.site-co h4 { margin-block-end: 10px; }
.site-co p, .site-co li { font-size: .88rem; line-height: 1.65; color: #5d5d68; }
.site-co .co-name { display: flex; flex-direction: column; gap: 2px; margin-block-end: 6px; } .site-co .co-name b { font-size: .86rem; letter-spacing: .03em; color: #0a0a0b; } .site-co .co-name span { font-weight: 600; color: #0a0a0b; align-self: flex-start; }
.site-co .co-dl { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 6px 36px; margin: 10px 0; } .site-co .co-dl > div { display: flex; flex-direction: column; gap: 2px; } .site-co .co-dl dt { font-size: .72rem; color: #8a8a96; } .site-co .co-dl dd { margin: 0; font-weight: 600; color: #0a0a0b; }
.site-co .co-ct { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-block-start: 8px; } .site-co .co-ct a { border-bottom: 1px solid currentColor; }
.site-co .co-act ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; } .site-co .co-act li { position: relative; padding-inline-start: 18px; } .site-co .co-act li::before { content: ""; position: absolute; inset-inline-start: 0; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: #ffba00; }
@media (max-width: 860px) { .site-co { grid-template-columns: 1fr; gap: 24px; } .site-co .co-dl { grid-template-columns: 1fr; gap: 8px; } .site-co .co-dl > div { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 16px; border-bottom: 1px dashed #e3e3ea; padding-bottom: 6px; } .site-co .co-name b { overflow-wrap: anywhere; } }
