/* MyWallet landing. Plain CSS, logical properties throughout so the Arabic page mirrors correctly. */
:root {
  --brand: #10b981;
  --brand-600: #059669;
  --brand-700: #047857;
  --mint: #a7f3d0;
  --ink: #0b1220;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e5e9f0;
  --bg: #ffffff;
  --tint: #f4f8f6;
  --deep: #04231b;
  --deep-2: #063a2c;
  --red: #e11d48;
  --amber: #f59e0b;
  --radius: 24px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px -12px rgba(15, 23, 42, 0.12);
  --font: 'Plus Jakarta Sans', 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
:lang(ar) { --font: 'IBM Plex Sans Arabic', 'Plus Jakarta Sans', system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3 { letter-spacing: 0; line-height: 1.3; }
p { margin: 0; }
.num { direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.wrap-narrow { width: min(760px, 100% - 40px); }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { inset-inline-start: 8px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; border-radius: 14px; padding: 12px 20px; transition: transform .15s, background .2s, box-shadow .2s, border-color .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-sm { padding: 9px 16px; border-radius: 12px; font-size: .93rem; }
.btn-lg { padding: 16px 26px; font-size: 1.05rem; border-radius: 16px; }
.btn-block { width: 100%; }
.btn-brand { background: var(--brand); color: #032016; box-shadow: 0 10px 30px -10px rgba(16, 185, 129, .7); }
.btn-brand:hover { background: #34d399; }
.btn-glass { color: #e8fff6; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255, 255, 255, .14); }
.btn-outline { border: 1.5px solid var(--line); background: #fff; }
.btn-outline:hover { border-color: var(--ink-2); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset-inline: 0; top: 0; z-index: 50; transition: background .25s, box-shadow .25s, border-color .25s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; }
.logo img { width: 40px; height: 40px; }
.nav .logo, .nav .nav-links a, .nav .nav-login { color: #e8fff6; }
.nav.scrolled .logo, .nav.scrolled .nav-links a, .nav.scrolled .nav-login { color: var(--ink); }
.nav-links { display: none; gap: 28px; margin-inline-start: 24px; font-weight: 500; font-size: .95rem; }
.nav-links a { opacity: .85; }
.nav-links a:hover { opacity: 1; }
.nav-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 14px; }
.nav-login { display: none; font-weight: 600; font-size: .95rem; }
@media (min-width: 900px) { .nav-links { display: flex; } }
@media (min-width: 640px) { .nav-login { display: inline; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 75% -10%, #0b5a43 0%, transparent 60%), linear-gradient(180deg, var(--deep) 0%, var(--deep-2) 100%); color: #e8fff6; padding-block: 144px 72px; }
.hero::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(180deg, #000 30%, transparent 90%); pointer-events: none; }
.hero-glow { position: absolute; width: 640px; height: 640px; inset-inline-start: -200px; bottom: -320px; background: radial-gradient(circle, rgba(16, 185, 129, .35), transparent 65%); filter: blur(20px); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 64px; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-700); }
:lang(ar) .eyebrow { letter-spacing: 0; }
.eyebrow-dark { color: var(--mint); background: rgba(16, 185, 129, .12); border: 1px solid rgba(16, 185, 129, .3); padding: 6px 12px; border-radius: 999px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(16, 185, 129, .25); animation: pulse 2s infinite; }
.hero h1 { font-size: clamp(2.7rem, 6.4vw, 4.8rem); font-weight: 800; margin-block: 22px 22px; }
.grad { background: linear-gradient(90deg, #6ee7b7, #a7f3d0 45%, #fef08a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #b6dccd; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.trust { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .93rem; color: #9cc7b6; }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 16px; height: 16px; fill: var(--brand); }

/* Phone mock-up */
.hero-visual { position: relative; display: flex; justify-content: center; padding-block: 20px; }
/* On wide screens the phone sits towards the outer edge, leaving room for the cards beside it. */
/* The floating cards are positioned against the phone (.device), so they hug it at every width. */
.device { position: relative; }
/* Centre the phone, shifted to leave room for the cards on its start side. */
@media (min-width: 1000px) { .device { margin-inline-start: 110px; margin-inline-end: 90px; } }
.phone { position: relative; width: 300px; border-radius: 44px; padding: 12px; background: linear-gradient(145deg, #1f2937, #0b1220); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .6), 0 0 110px 6px rgba(52, 211, 153, .34), 0 0 0 1px rgba(255, 255, 255, .08) inset; transform: rotate(-2deg); }
[dir='rtl'] .phone { transform: rotate(2deg); }
/* The dark phone on the dark hero: a soft brand-green glow behind it, and a light metallic
   rim that is brightest at the top-left, as if lit from there. */
.phone::before {
  content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  border-radius: inherit; padding: 2px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .3) 28%, rgba(255, 255, 255, .16) 55%, rgba(255, 255, 255, .5));
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.phone-notch { position: absolute; top: 20px; left: 50%; translate: -50% 0; width: 90px; height: 24px; border-radius: 20px; background: #0b1220; z-index: 2; }
.screen { position: relative; border-radius: 34px; overflow: hidden; background: #f6f8fa; color: var(--ink); padding: 42px 14px 74px; font-size: 11.5px; min-height: 560px; }
.s-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-weight: 700; }
.s-logo { display: inline-flex; gap: 6px; align-items: center; color: var(--brand-700); }
.s-logo img { width: 18px; height: 18px; }
.s-sync { color: var(--brand-600); font-size: 10.5px; font-weight: 600; }
.s-balance { background: linear-gradient(135deg, var(--brand-600), var(--brand-700)); color: #fff; border-radius: 18px; padding: 14px; }
.s-balance > span { font-size: 10.5px; opacity: .85; }
.s-balance strong { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.s-balance em { font-style: normal; font-size: 11px; opacity: .8; }
.s-inout { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .2); }
.s-inout small { display: block; font-size: 9.5px; opacity: .8; }
.s-inout b { font-size: 13px; }
.s-label { margin: 14px 2px 6px; font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.s-wallets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.s-wallet { background: #fff; border-radius: 12px; padding: 8px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.s-wallet i, .s-row i { display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 10px; width: 22px; height: 22px; border-radius: 50%; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }
/* Official round app icons; Suyool ships only a transparent mark, so it gets a light tile. */
.s-wallet .s-brand { display: block; width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.s-wallet .s-brand-mark { object-fit: contain; padding: 3px; box-sizing: border-box; background: #e6f0f5; }
/* OMT: logo a little smaller, on a circle of its own yellow (#ffdd00). */
.s-wallet .s-brand-omt { object-fit: contain; padding: 3px; box-sizing: border-box; background: #ffdd00; }
.s-credits { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 6px; }
.s-credit { min-width: 0; display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: center; column-gap: 8px; background: #fff; border-radius: 12px; padding: 8px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.s-credit .s-brand { grid-row: span 2; width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.s-credit span { min-width: 0; font-size: 9.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-credit b { font-size: 12.5px; line-height: 1.2; }
.s-credit .s-brand-touch { object-fit: contain; padding: 2px; box-sizing: border-box; background: #e3f6f9; }
.s-wallet span { display: block; font-size: 9.5px; color: var(--muted); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-wallet b { font-size: 12.5px; }
/* Line icons (Lucide, the same set as the web app). */
.ic { display: block; flex: none; width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.s-row i .ic { width: 12px; height: 12px; }
.s-row { display: flex; align-items: center; gap: 8px; background: #fff; padding: 8px; border-radius: 12px; margin-bottom: 5px; }
.s-row span { flex: 1; font-weight: 600; }
.s-row b { font-size: 11.5px; }
.neg { color: var(--red); }
.pos { color: var(--brand-600); }
/* Bottom tab bar, as in the app: Home · Transactions · + · Reports · More */
.s-tabs { position: absolute; inset-inline: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; padding: 7px 6px 12px; background: #fff; border-top: 1px solid #e8edf2; }
.s-tab { display: flex; flex-direction: column; align-items: center; gap: 2px; color: #94a3b8; }
.s-tab svg { width: 17px; height: 17px; }
.s-tab em { font-style: normal; font-size: 8.5px; font-weight: 600; white-space: nowrap; }
.s-tab.active { color: var(--brand-600); }
.s-tab-add b { display: grid; place-items: center; width: 42px; height: 42px; margin-top: -24px; border-radius: 50%; background: var(--brand-600); color: #fff; font-size: 24px; font-weight: 400; line-height: 1; box-shadow: 0 8px 18px -6px rgba(5, 150, 105, .7); }
/* A drawn plus, so it sits in the exact centre whatever the font. */
.s-tab-add b svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }

/* Floating cards around the phone */
.float { position: absolute; z-index: 3; background: #fff; color: var(--ink); border-radius: 18px; padding: 14px 16px; box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .5), 0 0 0 1px rgba(15, 23, 42, .04); font-size: .85rem; animation: float 6s ease-in-out infinite; }
.float-split { inset-inline-start: -206px; top: 47%; width: 230px; animation-delay: -2s; }
.float-sync { inset-inline-start: -152px; top: 1%; display: grid; justify-items: center; gap: 4px; animation-delay: -4s; }
.float-rate { inset-inline-end: -118px; bottom: 21%; animation-delay: -1s; }
.f-title { display: flex; align-items: center; gap: 6px; font-weight: 700; margin-bottom: 8px; }
.f-title .ic { width: 15px; height: 15px; color: var(--brand-600); }
.f-line, .f-total { display: flex; justify-content: space-between; gap: 12px; padding-block: 3px; color: var(--ink-2); }
.f-total { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 8px; font-weight: 800; color: var(--ink); }
.f-total b { color: var(--brand-700); font-size: 1.05rem; }
.f-arrow { display: flex; justify-content: center; color: var(--muted); }
.f-arrow .ic { width: 14px; height: 14px; }
.float-rate small { display: block; color: var(--muted); font-size: .75rem; }
.float-rate b { font-size: 1.25rem; font-weight: 800; }
.float-rate b span { font-size: .75rem; color: var(--muted); font-weight: 600; }
.pill .ic { width: 12px; height: 12px; stroke-width: 3; }
.pill { display: inline-flex; align-items: center; gap: 4px; border-radius: 999px; padding: 4px 10px; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.pill-amber { background: #fef3c7; color: #92400e; }
.pill-green { background: #d1fae5; color: #065f46; }
@media (max-width: 560px) {
  .float-split { inset-inline-start: -44px; width: 196px; top: auto; bottom: 10%; font-size: .78rem; }
  .float-sync, .float-rate { display: none; }
  .cta-row .btn { width: 100%; white-space: normal; text-align: center; }
  .nav-inner { gap: 12px; }
}

/* ---------- Money strip ---------- */
.strip { border-bottom: 1px solid var(--line); padding-block: 30px; }
.strip p { text-wrap: balance; text-align: center; color: var(--muted); font-weight: 600; font-size: .9rem; margin-bottom: 16px; }
/* Chips flow as inline boxes so text-wrap: balance can split them into even rows (no single chip left alone). */
.strip ul { list-style: none; margin: 0; padding: 0; text-align: center; text-wrap: balance; font-size: 0; }
.strip li { display: inline-flex; vertical-align: middle; margin: 5px 4px; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .95rem; }
[dir='rtl'] .strip li { padding: 8px 8px 8px 14px; }
/* Brand chips show the official logo alone, at the same height as the other chips. */
.strip li.brand, [dir='rtl'] .strip li.brand { padding: 8px 11px; min-height: 46px; }
.strip li.brand img { display: block; height: var(--h, 22px); width: auto; }
/* White logos (made for dark backgrounds) sit on a tile in the brand colour, inside the same white chip as the others. */
.strip li.brand-dark img { box-sizing: content-box; padding: 4px 9px; border-radius: 8px; background: var(--bg); }
.chip-logo { display: block; width: 28px; height: 28px; padding: 1px; }
/* Narrow phones: slightly smaller chips so two fit per row in every language. */
@media (max-width: 400px) {
  .strip li { margin: 4px 3px; gap: 6px; font-size: .86rem; padding-inline-end: 11px; }
  [dir='rtl'] .strip li { padding: 8px 8px 8px 11px; }
  .strip li.brand, [dir='rtl'] .strip li.brand { padding: 8px 10px; }
}

/* ---------- Sections ---------- */
.section { padding-block: 104px; }
/* A section that is a single card (privacy, final call to action): the section above already
   ends in 104px of padding, so it adds none on top and less below. */
.section-card { padding-block: 0 64px; }
.section-tint { background: var(--tint); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; margin-top: 12px; }
.section-head p { color: var(--muted); font-size: 1.12rem; margin-top: 16px; }
/* A longer heading: wider, one sentence per line, while the paragraph keeps its reading width. */
.section-head-wide { max-width: 1000px; }
.section-head-wide p { max-width: 760px; margin-inline: auto; }
.section-head-wide h2 span { display: block; }

/* Compare */
.compare { display: grid; gap: 20px; max-width: 920px; margin-inline: auto; }
@media (min-width: 760px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare-col { border-radius: var(--radius); padding: 30px; }
.compare-col h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin-bottom: 18px; }
.compare-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.compare-col li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.compare-before { background: #f8fafc; border: 1px solid var(--line); color: var(--ink-2); }
.compare-after { background: linear-gradient(160deg, var(--deep), var(--deep-2)); color: #e8fff6; box-shadow: 0 30px 60px -30px rgba(4, 35, 27, .6); }
.x, .v { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; }
.x .ic, .v .ic { width: 14px; height: 14px; stroke-width: 3; }
.x { background: #fee2e2; color: #b91c1c; }
.v { background: var(--brand); color: #032016; }

/* Bento */
/* Quick convert: copy beside a mock of the converter sheet. */
.convert { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .convert { grid-template-columns: 1fr 1fr; gap: 72px; } }
.convert-copy .eyebrow .ic { width: 16px; height: 16px; }
.convert-copy h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; margin-top: 12px; text-wrap: balance; }
.convert-copy p { color: var(--muted); font-size: 1.12rem; margin-top: 16px; max-width: 34em; }
.convert-points { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.convert-points li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.convert-points .ic { box-sizing: content-box; width: 14px; height: 14px; padding: 5px; border-radius: 50%; background: var(--tint); color: var(--brand-700); stroke-width: 3; }
.convert-visual { position: relative; display: grid; place-items: center; padding: 28px 0; }
.convert-visual::before { content: ''; position: absolute; inset: 8% 6%; border-radius: 40px; background: radial-gradient(closest-side, rgba(16, 185, 129, .22), transparent); filter: blur(10px); }
.cv { position: relative; width: min(100%, 380px); background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 22px; box-shadow: 0 40px 80px -30px rgba(4, 35, 27, .35), var(--shadow); }
.cv-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.cv-head .ic { width: 18px; height: 18px; color: var(--muted); }
.cv-label { font-size: .85rem; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.cv-input { display: flex; justify-content: space-between; align-items: center; border: 2px solid var(--brand); border-radius: 14px; padding: 12px 16px; box-shadow: 0 0 0 4px rgba(16, 185, 129, .15); }
.cv-input .num { font-size: 1.6rem; font-weight: 700; }
.cv-input em { font-style: normal; font-weight: 700; font-size: .85rem; color: var(--muted); }
.cv-swap { display: flex; justify-content: center; margin: 14px 0; }
.cv-swap span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--tint); color: var(--brand-700); }
.cv-swap .ic { width: 18px; height: 18px; }
.cv-result { text-align: center; background: #f8fafc; border-radius: 18px; padding: 16px; }
.cv-result .cv-label { color: var(--muted); font-weight: 500; }
.cv-result b { display: block; font-size: 2.3rem; font-weight: 800; color: var(--ink); line-height: 1.1; }
.cv-rate { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; font-size: .85rem; color: var(--muted); }
.cv-rate b { color: var(--ink-2); }
.cv-rate em { font-style: normal; font-weight: 700; color: var(--brand-700); white-space: nowrap; }
.bento { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .bento { grid-template-columns: repeat(3, 1fr); } .tile-split, .tile-wide { grid-column: span 2; } }
.tile.tile-wide { display: grid; gap: 24px; align-items: center; }
@media (min-width: 720px) { .tile.tile-wide { grid-template-columns: 1fr 1fr; } .tile-wide .ui { margin: 0; } }

.ui-langs { display: grid; gap: 10px; }
.lang-bubble { display: flex; align-items: center; gap: 12px; background: var(--tint); border-radius: 16px; padding: 12px 14px; }
.lang-bubble b { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #fff; font-size: .78rem; color: var(--brand-700); box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.lang-bubble span { font-weight: 600; }
.lang-bubble[dir='rtl'] { font-family: 'IBM Plex Sans Arabic', var(--font); }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.tile h3 { font-size: 1.22rem; font-weight: 800; }
.tile p { color: var(--muted); }
.tile .ui { margin-bottom: 14px; }
.tile-split { display: grid; gap: 28px; align-items: center; }
@media (min-width: 720px) { .tile-split { grid-template-columns: 1fr 1fr; } }
.tile-split h3 { font-size: 1.6rem; }
.tile-split p { font-size: 1.08rem; margin-top: 10px; }
.tile-dark { background: linear-gradient(160deg, var(--deep), var(--deep-2)); border-color: transparent; color: #e8fff6; }
.tile-dark p { color: #9cc7b6; }

.ui-receipt { background: var(--tint); border-radius: 20px; padding: 18px; display: grid; gap: 6px; margin: 0 !important; }
.r-head { display: flex; align-items: center; gap: 7px; font-weight: 800; margin-bottom: 6px; }
.r-head .ic { width: 17px; height: 17px; color: #16a34a; }
.r-line { display: flex; justify-content: space-between; align-items: center; background: #fff; border-radius: 12px; padding: 10px 12px; font-weight: 700; }
.r-wallet { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink-2); }
.r-wallet::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.r-plus { text-align: center; color: var(--muted); font-weight: 800; line-height: 1; }
.r-eq { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; padding-top: 10px; border-top: 2px dashed #cfe3da; color: var(--muted); }
.r-eq b { font-size: 1.5rem; color: var(--brand-700); }

.ui-rate { background: var(--tint); border-radius: 18px; padding: 16px; }
.ui-rate small { color: var(--muted); font-weight: 600; }
.rate-input { display: flex; align-items: center; gap: 2px; font-size: 1.7rem; font-weight: 800; margin-block: 4px 10px; }
.caret { width: 2px; height: 1.4rem; background: var(--brand-600); animation: blink 1s steps(1) infinite; }
.rate-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.rate-chips span { padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .82rem; font-weight: 600; color: var(--muted); }
.rate-chips .active { background: var(--brand-600); color: #fff; border-color: var(--brand-600); }

.ui-offline { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; padding: 12px; display: grid; gap: 8px; }
.q-item { display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .07); border-radius: 12px; padding: 9px 12px; font-weight: 600; font-size: .92rem; }
.q-item span:nth-child(2) { flex: 1; }
.q-dot { width: 8px; height: 8px; border-radius: 50%; }
.q-dot.amber { background: var(--amber); animation: pulse-amber 1.6s infinite; }
.q-status { display: flex; justify-content: space-between; align-items: center; padding-top: 4px; }
.wifi .ic { width: 18px; height: 18px; color: #34d399; }

.ui-bills { display: grid; gap: 8px; }
.b-row { display: flex; align-items: center; gap: 10px; background: var(--tint); border-radius: 14px; padding: 10px 12px; font-weight: 600; }
.b-row i { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 9px; color: var(--c); background: #fff; }
.b-row i .ic { width: 16px; height: 16px; }
.b-row span { flex: 1; }
.due { font-style: normal; font-size: .78rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #e2e8f0; color: var(--ink-2); }
.due.soon { background: #fef3c7; color: #92400e; }
.due.now { background: #ffe4e6; color: #9f1239; }

.ui-debt { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; align-items: center; background: var(--tint); border-radius: 18px; padding: 16px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.ui-debt small { display: block; color: var(--muted); }
.ui-debt > b.num { font-size: 1.4rem; }
.debt-bar { grid-column: 1 / -1; height: 8px; border-radius: 999px; background: #dbe7e1; overflow: hidden; margin-top: 8px; }
.debt-bar span { display: block; height: 100%; background: var(--brand); border-radius: inherit; }

.ui-chart { background: var(--tint); border-radius: 18px; padding: 16px 16px 12px; }
.chart-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.chart-head b { font-size: 1.6rem; font-weight: 800; }
.chip-down .ic { width: 14px; height: 14px; stroke-width: 2.5; }
.chip-down { display: inline-flex; align-items: center; gap: 4px; font-size: .8rem; font-weight: 700; color: #065f46; background: #d1fae5; padding: 3px 9px; border-radius: 999px; }
.bar-labels { display: flex; gap: 10px; margin-top: 8px; font-size: .75rem; color: var(--muted); font-weight: 600; }
.bar-labels span { flex: 1; text-align: center; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 130px; direction: ltr; }
.bars span { flex: 1; height: var(--h); border-radius: 8px 8px 4px 4px; background: #c5e8d8; transform-origin: bottom; }
.bars .hi { background: linear-gradient(180deg, var(--brand), var(--brand-700)); }
.reveal.in .bars span { animation: grow .9s cubic-bezier(.2, .8, .2, 1) both; }
.reveal.in .bars span:nth-child(2) { animation-delay: .06s; } .reveal.in .bars span:nth-child(3) { animation-delay: .12s; }
.reveal.in .bars span:nth-child(4) { animation-delay: .18s; } .reveal.in .bars span:nth-child(5) { animation-delay: .24s; } .reveal.in .bars span:nth-child(6) { animation-delay: .3s; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; counter-reset: s; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { position: relative; padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.step-n { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--deep); color: var(--mint); font-weight: 800; font-size: 1.2rem; margin-bottom: 18px; }
.steps h3 { font-size: 1.2rem; margin-bottom: 8px; }
.steps p { color: var(--muted); }

/* Privacy */
.privacy { display: grid; gap: 28px; align-items: center; background: linear-gradient(135deg, #ecfdf5, #f0fdfa); border: 1px solid #ccefe0; border-radius: 32px; padding: clamp(28px, 5vw, 56px); }
@media (min-width: 760px) { .privacy { grid-template-columns: auto 1fr; } }
.privacy-icon { width: 96px; height: 96px; border-radius: 28px; display: grid; place-items: center; color: var(--brand-600); background: #fff; box-shadow: var(--shadow); }
.privacy-icon .ic { width: 44px; height: 44px; stroke-width: 1.75; }
.privacy h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; }
.privacy p { color: var(--ink-2); font-size: 1.08rem; margin-top: 12px; max-width: 46em; }
.privacy-points { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.privacy-points li { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #ccefe0; border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: .93rem; }
.privacy-points li::before { content: ''; flex: none; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Pricing */
.billing { display: inline-flex; gap: 4px; margin-top: 28px; padding: 5px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.billing button { border: 0; background: transparent; font: inherit; font-weight: 700; font-size: .95rem; padding: 9px 18px; border-radius: 999px; cursor: pointer; color: var(--muted); }
.billing button[aria-checked='true'] { background: var(--deep); color: #fff; }
.save { font-size: .72rem; background: var(--brand); color: #032016; padding: 2px 7px; border-radius: 999px; margin-inline-start: 4px; }
.plans { display: grid; gap: 22px; max-width: 880px; margin-inline: auto; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 34px; box-shadow: var(--shadow); }
.plan h3 { font-size: 1.3rem; }
.plan-desc { color: var(--muted); margin-top: 6px; min-height: 3.2em; }
.price { margin-block: 18px 22px; display: flex; align-items: baseline; gap: 6px; }
.price .num { font-size: 3rem; font-weight: 800; letter-spacing: -.03em; }
.price small { color: var(--muted); font-weight: 600; }
.plan ul { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li::before { content: ''; flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23047857' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; margin-top: 2px; }
.plan-pro { background: linear-gradient(170deg, var(--deep), var(--deep-2)); color: #e8fff6; border-color: transparent; box-shadow: 0 40px 80px -30px rgba(4, 35, 27, .55); }
.plan-pro .plan-desc, .plan-pro .price small { color: #9cc7b6; }
.plan-pro li::before { background: var(--brand); color: #032016; }
.badge { position: absolute; top: -13px; inset-inline-end: 28px; background: linear-gradient(90deg, #6ee7b7, #fef08a); color: #032016; font-weight: 800; font-size: .78rem; padding: 5px 12px; border-radius: 999px; }
[data-billing-mode='year'] [data-price-month], [data-billing-mode='month'] [data-price-year] { display: none; }

/* FAQ */
/* FAQ: heading and a contact line on the start side, questions in one column beside it. */
.faq-layout { display: grid; gap: 28px; }
.faq-side h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; margin-top: 12px; }
.faq-side p { color: var(--muted); font-size: 1.08rem; margin-top: 14px; max-width: 26em; }
.faq-mail { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 700; color: var(--brand-700); text-decoration: none; }
.faq-mail:hover { text-decoration: underline; }
.faq-mail .ic { width: 18px; height: 18px; }
@media (min-width: 900px) {
  .faq-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.85fr); gap: 72px; align-items: start; }
  .faq-side { position: sticky; top: 120px; }
}
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 18px; padding: 4px 22px; background: #fff; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: #cfe3da; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 700; font-size: 1.06rem; padding-block: 16px; }
.faq summary::-webkit-details-marker { display: none; }
/* Lucide chevron-down, centred in the circle; it turns to point up when the answer is open. */
.faq summary::after { content: ''; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23047857' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq p { color: var(--ink-2); padding-bottom: 18px; }

/* Final CTA */
.final { position: relative; overflow: hidden; text-align: center; border-radius: 36px; padding: clamp(40px, 6vw, 72px) 24px; color: #e8fff6; background: radial-gradient(800px 400px at 50% 0%, #0b5a43, transparent 70%), linear-gradient(180deg, var(--deep), var(--deep-2)); }
.final .hero-glow { inset-inline-start: auto; inset-inline-end: -220px; bottom: -380px; }
.final h2 { position: relative; font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; max-width: 16em; margin-inline: auto; }
.final p { position: relative; color: #9cc7b6; font-size: 1.12rem; margin-block: 16px 34px; }
.final .btn { position: relative; }

/* Footer: dark band that mirrors the hero */
.footer { position: relative; overflow: hidden; margin-top: 24px; color: #9cc7b6; background: radial-gradient(900px 420px at 15% 0%, #0b5a43, transparent 65%), linear-gradient(180deg, var(--deep-2), var(--deep)); }
.footer::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(180deg, #000, transparent 80%); pointer-events: none; }
.footer-grid { position: relative; display: grid; gap: 40px; padding-block: 72px 48px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr repeat(3, 1fr); } }
.footer .logo { color: #fff; font-size: 1.3rem; }
.footer .logo img { width: 34px; height: 34px; }
.footer-brand p { margin-top: 14px; max-width: 22em; font-size: 1.02rem; color: #b6dccd; }
.footer-made { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 6px 12px 6px 8px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #e8fff6; font-weight: 600; font-size: .88rem; }
[dir="rtl"] .footer-made { padding: 6px 8px 6px 12px; }
.footer-made img { width: 22px; height: 15px; border-radius: 3px; }
.footer-cta { display: flex; width: fit-content; margin-top: 22px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h3 { color: #fff; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
:lang(ar) .footer-col h3 { letter-spacing: 0; font-size: .95rem; }
.footer-col a { width: fit-content; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding-block: 24px 32px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .9rem; }
.powered { display: inline-flex; align-items: baseline; gap: 5px; transition: color .15s; }
.powered strong { color: #fff; font-weight: 700; }
.powered:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.footer-langs { display: flex; gap: 4px; }
.footer-langs a { padding: 4px 10px; border-radius: 8px; font-weight: 600; transition: color .15s, background .15s; }
.footer-langs a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.footer-langs a[aria-current="page"] { color: #fff; background: rgba(16, 185, 129, .22); }
.footer-langs .l-short { display: none; }
.footer-langs .l-long { display: inline; }
@media (max-width: 759px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } .footer-bottom { flex-direction: column; align-items: flex-start; } }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(16, 185, 129, .25); } 50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, .05); } }
@keyframes pulse-amber { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
.tile-wide h3, .tile-split h3 { margin-bottom: 10px; }
/* Lebanese flag beside the logo */
.logo .flag { width: 24px; height: 16px; border-radius: 3px; margin-inline-start: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 2px 6px rgba(0, 0, 0, .25); }
.nav.scrolled .logo .flag { box-shadow: 0 0 0 1px rgba(15, 23, 42, .1), 0 1px 3px rgba(0, 0, 0, .12); }

/* ---------- Top bar (above the navbar): flag + "Made for the Lebanese", language switcher at the end ---------- */
.topbar { background: #fff; color: var(--ink-2); font-size: .85rem; border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 36px; padding-inline: clamp(12px, 2vw, 24px); }
.made-for { display: inline-flex; align-items: center; gap: 9px; font-size: .8rem; font-weight: 500; color: var(--muted); letter-spacing: .01em; white-space: nowrap; }
.made-for img { width: 24px; height: 16px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(15, 23, 42, .12); }
.topbar-langs { display: flex; align-items: center; gap: 4px; }
.topbar-langs a { padding: 3px 9px; border-radius: 8px; color: var(--muted); font-weight: 600; }
.topbar-langs a:hover { color: var(--ink); background: var(--tint); }
.topbar-langs a[aria-current='page'] { color: var(--brand-700); background: #d1fae5; }
.topbar-langs a:lang(ar) { font-family: 'IBM Plex Sans Arabic', var(--font); }
.l-short { display: none; }
@media (max-width: 520px) {
  .topbar-langs .l-long { display: none; }
  .topbar-langs .l-short { display: inline; font-family: var(--font); }
  /* The line next to the flag may wrap onto two short lines; the language buttons keep their size. */
  .topbar-inner { height: auto; min-height: 36px; padding-block: 5px; }
  .made-for { flex: 1; min-width: 0; font-size: .74rem; line-height: 1.25; white-space: normal; text-wrap: balance; }
  .made-for img { flex: none; }
  .topbar-langs { flex: none; }
}

/* ---------- Legal pages ---------- */
.legal-main { padding-block: 148px 88px; background: var(--tint); }
.legal-tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: #fff; border: 1px solid var(--line); margin-bottom: 22px; }
.legal-tabs a { padding: 8px 18px; border-radius: 999px; font-weight: 700; font-size: .95rem; color: var(--muted); }
.legal-tabs a:hover { color: var(--ink); }
.legal-tabs a[aria-current='page'] { background: var(--deep); color: #fff; }
.legal { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 5vw, 56px); box-shadow: var(--shadow); font-size: 1.02rem; color: var(--ink-2); line-height: 1.75; }
.legal h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); font-weight: 800; color: var(--ink); }
.legal .updated { color: var(--muted); font-size: .92rem; margin: 8px 0 28px; }
.legal h2 { font-size: 1.35rem; font-weight: 800; color: var(--ink); margin: 40px 0 12px; padding-top: 28px; border-top: 1px solid var(--line); }
.legal h3 { font-size: 1.05rem; font-weight: 700; color: var(--ink); margin: 22px 0 8px; }
.legal p { margin-block: 12px; }
.legal ul { padding-inline-start: 22px; margin-block: 10px; }
.legal li { margin-block: 8px; }
.legal li::marker { color: var(--brand-600); }
.legal strong { color: var(--ink); }
.legal a { color: var(--brand-700); text-decoration: underline; text-underline-offset: 3px; }
.legal mark { background: #fef3c7; color: #78350f; padding: 1px 6px; border-radius: 6px; }

/* Short screens (e.g. 1366x768, 1280x720 laptops): shrink the hero graphic so the whole hero fits. */
@media (min-width: 1000px) and (max-height: 860px) { .hero-visual { zoom: .88; } .hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.2rem); margin-block: 18px; } }
@media (min-width: 1000px) and (max-height: 760px) { .hero-visual { zoom: .78; } .hero { padding-block: 132px 56px; } .cta-row { margin-top: 26px; } }
