@import url("https://fonts.googleapis.com/css2?family=Readex+Pro:wght@300;400;500;600&display=swap");

/* 4Points customer site.
   Values come from the brand kit (4points-brand/tokens.css); nothing here
   invents a colour, a radius or a type size. One look, no dark mode. */
:root {
  color-scheme: light;
  --blue: #4292C6;        /* canvas, 60% */
  --deep: #2E6E99;        /* bands where text has to be readable at any size */
  --deeper: #1F4E6E;      /* nav, hero, footer */
  --white: #FFFFFF;       /* surfaces, 30% */
  --cherry: #D2042D;      /* actions and progress only, 10% */
  --cherry-pressed: #A50323;
  --cherry-wash: #FCE7EB;
  --ink: #12303F;
  --ink-2: #4A6B7C;
  --on-blue: #FFFFFF;
  --on-blue-2: rgba(255, 255, 255, .88);
  --line: #DCE8EF;
  --wash: #EEF4F8;
  --slot: #F4F7FA;
  --slot-border: #C9D6E0;
  --gold: linear-gradient(150deg, #F7D97E 0%, #E8BB55 48%, #D19E30 100%);
  --gold-ink: #141414;
  --ok-bg: #E3F4EA; --ok-ink: #1C7A45;
  --wait-bg: #FFF3D6; --wait-ink: #8A5A00; --wait-amt: #A26A00;
  --no-bg: #EEF1F4; --no-ink: #5A6B78;
  --f: "Readex Pro", "Segoe UI", system-ui, sans-serif;

  --r-slot: 11px; --r-btn: 14px; --r-panel: 18px; --r-card: 20px; --r-hero: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--blue);
  color: var(--on-blue);
  font-family: var(--f);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;           /* nothing scrolls sideways on a phone */
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }

/* Numbers keep their own direction inside Arabic, and the sign stays welded
   to the digits: "+45 نقطة", never "45+". */
.n { direction: ltr; unicode-bidi: isolate; }

/* Focus has to be visible on both the blue canvas and white cards. */
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 8px; }
.card :focus-visible, .faq :focus-visible { outline-color: var(--cherry); }

.wrap { max-width: 1160px; margin: 0 auto; padding-inline: 20px; }
[dir="rtl"] .flip { transform: scaleX(-1); }

.skip {
  position: absolute; inset-inline-start: -9999px; top: 10px; z-index: 60;
  background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.skip:focus { inset-inline-start: 20px; }

/* ---------------------------------------------------------------- nav --- */
nav {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--deeper) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
nav .row { display: flex; align-items: center; gap: 14px; height: 66px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 19px; letter-spacing: -.01em; white-space: nowrap; }
.grow { flex: 1; }
.nl { color: var(--on-blue-2); font-size: 14px; font-weight: 500; padding: 8px 10px; border-radius: 10px; display: none; }
.nl:hover { color: #fff; background: rgba(255, 255, 255, .08); }
@media (min-width: 880px) { .nl { display: inline-block; } }
.lang {
  font: inherit; font-size: 13px; font-weight: 600; color: #fff;
  background: transparent; border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px; padding: 7px 13px; cursor: pointer;
}
.lang:hover { background: rgba(255, 255, 255, .12); }
.cta {
  font-weight: 600; font-size: 14px; background: var(--cherry); color: #fff;
  border-radius: 999px; padding: 10px 17px; white-space: nowrap;
  transition: transform .15s, background .15s;
}
.cta:hover { background: var(--cherry-pressed); transform: translateY(-1px); }

/* --------------------------------------------------------------- hero --- */
.hero {
  background:
    radial-gradient(900px 520px at 85% 0%, rgba(66, 146, 198, .30) 0%, transparent 60%),
    linear-gradient(180deg, var(--deeper) 0%, var(--deep) 100%);
  overflow: hidden;
}
.hgrid { display: grid; gap: 40px; align-items: center; padding-block: 60px 80px; }
@media (min-width: 940px) { .hgrid { grid-template-columns: 1.05fr .95fr; padding-block: 84px 100px; } }

h1 {
  font-weight: 600; font-size: clamp(2.3rem, 5.6vw, 4rem); line-height: 1.08;
  letter-spacing: -.025em; margin: 0; text-wrap: balance;
}
[dir="rtl"] h1 { line-height: 1.24; letter-spacing: 0; }
h1 mark {
  background: none; color: inherit; position: relative; z-index: 0; white-space: nowrap;
}
h1 mark::after {
  content: ""; position: absolute; inset-inline: 0; bottom: .04em;
  height: .14em; background: var(--cherry); border-radius: 99px; z-index: -1;
}
.lede { font-size: 1.15rem; font-weight: 300; color: var(--on-blue); max-width: 36ch; margin: 20px 0 30px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.b {
  font: inherit; font-weight: 600; font-size: 15.5px; border-radius: var(--r-btn);
  padding: 14px 22px; display: inline-flex; align-items: center; gap: 9px;
  border: 0; min-height: 48px; transition: transform .15s, background .15s;
}
.b.p { background: var(--cherry); color: #fff; }
.b.p:hover { background: var(--cherry-pressed); transform: translateY(-2px); }
.b.g { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
.b.g:hover { background: rgba(255, 255, 255, .16); }

.stage { position: relative; display: flex; justify-content: center; padding-block: 20px 56px; }

/* the one gold surface */
.pc {
  width: min(360px, 88vw); border-radius: var(--r-hero); padding: 24px 24px 20px;
  display: flex; flex-direction: column; min-height: 226px;
  background: var(--gold); color: var(--gold-ink);
  box-shadow: 0 34px 70px rgba(5, 25, 40, .45), inset 0 1px 0 rgba(255, 255, 255, .6);
  transform: rotate(-4deg);
}
.pc .ct { display: flex; justify-content: space-between; align-items: center; }
.pc .wm { font-weight: 600; font-size: 18px; }
.pc .wm .f { color: var(--cherry); }
.pc .lbl { font-size: 13px; opacity: .66; margin-top: auto; font-weight: 500; }
.pc .bal { display: flex; align-items: baseline; gap: 9px; }
.pc .bal .v { font-size: 54px; font-weight: 600; letter-spacing: -.02em; line-height: 1.05; }
.pc .bal small { font-size: 17px; opacity: .6; font-weight: 500; }
.pc .ft { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 13px; }
.pc .pill { background: rgba(20, 20, 20, .12); padding: 4px 11px; border-radius: 999px; font-weight: 600; }

.toast {
  position: absolute; bottom: -10px; inset-inline-start: max(0px, calc(50% - 230px));
  background: #fff; color: var(--ink); border-radius: var(--r-panel);
  padding: 12px 16px; display: flex; align-items: center; gap: 11px;
  box-shadow: 0 18px 40px rgba(5, 25, 40, .35); font-size: 14px;
}
.toast b { font-weight: 600; color: var(--deep); }
.toast small { display: block; color: var(--ink-2); font-size: 12.5px; }
@media (prefers-reduced-motion: no-preference) {
  .toast { animation: tin .7s 1s cubic-bezier(.2, .8, .2, 1) both; }
  @keyframes tin { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}

/* ----------------------------------------------------------- sections --- */
section { padding-block: 72px; scroll-margin-top: 70px; }
.sh { text-align: center; max-width: 680px; margin: 0 auto 42px; display: grid; justify-items: center; gap: 14px; }
.kick {
  font-size: 15px; font-weight: 600; color: var(--cherry); background: #fff;
  border-radius: 999px; padding: 8px 20px; box-shadow: 0 8px 22px rgba(10, 40, 60, .14);
}
h2 { font-weight: 600; font-size: clamp(1.9rem, 4.4vw, 2.8rem); line-height: 1.15; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
[dir="rtl"] h2 { letter-spacing: 0; line-height: 1.3; }

/* A deck on the brand-blue canvas has to be large text: white on #4292C6 is
   3.4:1, which the brand guide allows only at 24px and up. Short one-liners,
   so this reads as a deck rather than a wall of big type. */
.deck { margin: 0; font-size: clamp(1.5rem, 2.2vw, 1.6rem); font-weight: 400; line-height: 1.45; color: #fff; max-width: 30ch; }
/* Inside a deep-blue band any size is readable, so it can be quieter. */
.band .deck { font-size: 1.08rem; font-weight: 300; color: var(--on-blue-2); max-width: 52ch; }

.band { background: linear-gradient(160deg, var(--deeper), var(--deep)); }

.card { background: #fff; color: var(--ink); border-radius: var(--r-card); padding: 24px 22px; }
.card h3 { font-size: 1.15rem; font-weight: 600; margin: 16px 0 6px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--ink-2); font-size: .97rem; line-height: 1.6; }

.steps { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
/* the step number: the mark's own dots, filling one per step */
.nd { width: 44px; height: 44px; border-radius: 13px; background: var(--wash); display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 9px; }
.nd i { border-radius: 50%; background: #C9D9E4; }
.nd i.on { background: var(--cherry); }

.whys { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .whys { grid-template-columns: repeat(3, 1fr); } }
.ic { width: 48px; height: 48px; border-radius: 14px; background: var(--wash); color: var(--deep); display: grid; place-items: center; }
.pays { display: flex; gap: 8px; align-items: center; margin-top: 16px; flex-wrap: wrap; }
.pay { height: 34px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: inline-grid; place-items: center; padding: 0 8px; }
.pay img { display: block; }
.paynote { font-size: 12px; color: var(--ink-2); margin: 10px 0 0; }

.strip {
  background: linear-gradient(135deg, var(--deep), var(--deeper)); border-radius: 28px;
  padding: 36px 26px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 14px 24px; font-weight: 600; font-size: clamp(1.4rem, 3.6vw, 2.1rem); letter-spacing: -.01em;
}
.strip .chip { background: #fff; color: var(--deep); padding: 6px 18px; border-radius: 14px; }
.strip .ar { color: #fff; opacity: .7; display: inline-flex; }

/* ------------------------------------------------------------- phones --- */
.phones { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; align-items: flex-end; }
.ph { display: grid; justify-items: center; gap: 12px; margin: 0; }
.ph figcaption { font-size: 14px; color: var(--on-blue-2); text-align: center; max-width: 250px; }
.phone { width: 260px; max-width: 100%; border-radius: 40px; padding: 8px; background: #0B1116; box-shadow: 0 30px 60px rgba(5, 25, 40, .35); }
.ph.mid .phone { width: 280px; }
.scr { position: relative; height: 540px; border-radius: 33px; overflow: hidden; background: var(--blue); color: #fff; font-size: 14px; }
.ph.mid .scr { height: 580px; }
.sbar { display: flex; justify-content: space-between; padding: 12px 22px 0; font-size: 12px; font-weight: 600; direction: ltr; }
.ptop { display: flex; align-items: center; gap: 9px; padding: 12px 16px 8px; }
.ptop .hi { display: grid; line-height: 1.2; }
.ptop .hi small { font-size: 11.5px; opacity: .88; }
.ptop .hi b { font-size: 16px; font-weight: 600; }
.round { margin-inline-start: auto; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: grid; place-items: center; }
.pbody { padding: 2px 12px; display: grid; gap: 10px; }
.scr .pc { width: auto; transform: none; min-height: 150px; padding: 14px 15px 13px; border-radius: var(--r-panel); box-shadow: 0 12px 26px rgba(10, 40, 60, .22); }
.scr .pc .wm { font-size: 13.5px; }
.scr .pc .lbl { font-size: 10.5px; }
.scr .pc .bal .v { font-size: 36px; }
.scr .pc .bal small { font-size: 12px; }
.scr .pc .ft { font-size: 10.5px; margin-top: 6px; }
.panel { background: #fff; color: var(--ink); border-radius: 16px; padding: 11px 12px; }
.prow { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; color: var(--ink-2); }
.prow b { color: var(--ink); font-weight: 600; white-space: nowrap; }
.dots { display: flex; gap: 3.5px; margin-top: 8px; }
.dots i { flex: 1; aspect-ratio: 1; border-radius: 50%; background: rgba(18, 48, 63, .12); max-width: 9px; }
.dots i.on { background: var(--cherry); }
.dots i.nx { background: transparent; box-shadow: inset 0 0 0 1.4px var(--cherry); }
.lrow { display: flex; align-items: center; gap: 9px; padding: 7px 0; border-top: 1px solid var(--line); }
.lrow:first-of-type { border-top: 0; }
/* merchant logo slot: empty and dashed until a real logo exists, never initials */
.av { width: 30px; height: 30px; border-radius: var(--r-slot); background: var(--slot); border: 1.5px dashed var(--slot-border); flex: none; }
.lt { display: grid; gap: 2px; min-width: 0; flex: 1; line-height: 1.25; }
.lt b { font-size: 12.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st { display: inline-block; font-size: 10px; font-weight: 600; padding: 1px 7px; border-radius: 999px; justify-self: start; }
.st.ok { background: var(--ok-bg); color: var(--ok-ink); }
.st.wait { background: var(--wait-bg); color: var(--wait-ink); }
.st.no { background: var(--no-bg); color: var(--no-ink); }
.amt { font-size: 12.5px; font-weight: 600; white-space: nowrap; color: var(--deep); }
.amt small { font-size: 10px; font-weight: 500; color: var(--ink-2); }
.amt.wait { color: var(--wait-amt); }
.amt.used { color: var(--ink-2); }
.tabbar { position: absolute; inset-inline: 0; bottom: 0; background: #fff; color: var(--ink-2); display: flex; justify-content: space-around; padding: 8px 4px 18px; border-top: 1px solid var(--line); }
.tabbar span { display: grid; justify-items: center; gap: 2px; font-size: 9.5px; }
.tabbar span.on { color: var(--cherry); font-weight: 600; }
.scrim { position: absolute; inset: 0; background: rgba(6, 20, 30, .55); }
.sheet { position: absolute; inset-inline: 10px; bottom: 12px; background: #fff; color: var(--ink); border-radius: 24px; padding: 18px 16px 14px; display: grid; justify-items: center; gap: 5px; text-align: center; }
.burst { position: relative; width: 130px; height: 92px; display: grid; place-items: center; }
.burst i { position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; border-radius: 50%; margin: -3.5px 0 0 -3.5px; }
.plus { display: flex; align-items: baseline; gap: 6px; font-size: 34px; font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.plus small { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.from { font-size: 12px; color: var(--ink-2); }
.sheet .sbtn { width: 100%; margin-top: 8px; border-radius: 13px; padding: 11px; background: var(--cherry); color: #fff; font-weight: 600; font-size: 14px; }
.ttl { padding: 10px 16px 0; font-size: 20px; font-weight: 600; }
.sub { padding: 0 16px 8px; font-size: 12px; color: var(--on-blue-2); }
.grp { font-size: 10.5px; color: var(--ink-2); font-weight: 600; padding: 4px 0 0; }
.illnote { text-align: center; color: var(--on-blue-2); font-size: 13px; margin: 28px 0 0; }

/* ---------------------------------------------------------------- faq --- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: #fff; color: var(--ink); border-radius: var(--r-panel); padding: 0 20px; }
.faq details[open] { box-shadow: 0 14px 34px rgba(10, 40, 60, .16); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 18px 0; font-weight: 500; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { margin-inline-start: auto; width: 30px; height: 30px; border-radius: 50%; background: var(--wash); color: var(--deep); display: grid; place-items: center; flex: none; transition: transform .2s; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--cherry-wash); color: var(--cherry); }
.faq .a { padding: 0 0 18px; color: var(--ink-2); line-height: 1.7; max-width: 68ch; }

/* ----------------------------------------------------------- download --- */
.final { background: linear-gradient(135deg, var(--deeper), var(--deep)); border-radius: 32px; padding: 60px 26px; text-align: center; position: relative; overflow: hidden; }
.final .bigdisc { position: absolute; inset-inline-end: -60px; top: -60px; opacity: .12; pointer-events: none; }
.final h2, .final p, .final .badges, .final .soon { position: relative; }
.final p { color: var(--on-blue-2); margin: 14px auto 26px; max-width: 46ch; font-weight: 300; font-size: 1.08rem; }
/* Store badges always read left-to-right, Google Play first, in both languages. */
.badges { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; direction: ltr; }
.sb { display: inline-flex; align-items: center; gap: 12px; background: #000; color: #fff; border: 1px solid rgba(255, 255, 255, .25); border-radius: 9px; padding: 8px 16px; opacity: .72; }
.sb .tx { text-align: left; display: grid; line-height: 1.15; }
.sb small { font-size: 10px; letter-spacing: .03em; }
.sb .big { font-size: 18.5px; font-weight: 600; }
.final p.soon { margin: 18px auto 0; font-size: 1.02rem; color: #fff; font-weight: 500; max-width: none; }

footer { background: var(--deeper); }
footer .row { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; padding-block: 28px; font-size: 14px; color: var(--on-blue-2); }
