/* The public website (Omar, 25 Nov 2026). Brand guide colours: navy about 40 %, indigo 15 %, the rest light neutrals;
   green / amber / red only for status. Inter (English) and Cairo (Arabic), self-hosted. Logical properties only, so the
   Arabic page mirrors by itself. Works from a 360 px phone to a wide screen without sideways scrolling. */
@font-face { font-family: Inter; src: url(/fonts/inter.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Cairo; src: url(/fonts/cairo.woff2) format("woff2"); font-weight: 200 1000; font-display: swap; }
:root {
  --navy: #0e1a35; --navy-2: #1b2a4e; --navy-3: #c9d2ea; --indigo: #3d5afe; --btn: #3751e5; --btn-h: #2c43c9; --light: #9db0ff;
  --cloud: #f4f5f7; --line: #e3e6eb; --line-2: #cfd5e0; --slate: #5b6475; --green: #1e9e6a; --amber: #b45309; --gold: #c9a227;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: Inter, "Segoe UI", Arial, sans-serif; color: var(--navy); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
html[lang="ar"] body { font-family: Cairo, Inter, Tahoma, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.num { font-variant-numeric: tabular-nums; unicode-bidi: isolate; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--light); outline-offset: 2px; border-radius: 6px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 16px; white-space: nowrap; }
.btn.sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn.pri { background: var(--btn); color: #fff; }
.btn.pri:hover { background: var(--btn-h); }
.btn.ghost { border: 1px solid var(--line-2); background: #fff; }
.btn.ghost:hover { border-color: var(--navy); }
.btn.ghostd { border: 1px solid rgba(255, 255, 255, .35); color: #fff; }
.btn.ghostd:hover { border-color: #fff; }
.btn.wide { width: 100%; margin-top: 22px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--btn); }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 15px; }
.eyebrow.light { color: var(--light); }
h1 { font-size: clamp(38px, 6vw, 66px); line-height: 1.06; letter-spacing: -.03em; font-weight: 750; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; letter-spacing: -.02em; font-weight: 720; margin-top: 12px; }
h3 { font-size: 20px; font-weight: 650; letter-spacing: -.01em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.35; }
.lead { font-size: 20px; line-height: 1.55; color: var(--slate); margin-top: 16px; }
.lead.light { color: var(--navy-3); }

/* hero: navy, cropped V, centred headline */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; padding-bottom: 330px; }
.vbar { position: absolute; width: 200px; height: 1100px; inset-inline-start: -40px; top: -120px; background: var(--navy-2); opacity: .7; transform: skewX(-24deg); }
html[dir="rtl"] .vbar { transform: skewX(24deg); }
.vwedge { position: absolute; inset-inline-end: -60px; top: -30px; width: 0; height: 0; border-left: 230px solid transparent; border-right: 230px solid transparent; border-top: 560px solid rgba(61, 90, 254, .35); }
.nav { position: relative; display: flex; align-items: center; gap: 28px; min-height: 76px; }
.nav .logo img { height: 30px; width: auto; }
.nav .links { display: flex; gap: 26px; font-size: 15px; font-weight: 500; color: var(--navy-3); }
.nav .links a:hover, .nav .lang:hover { color: #fff; }
.nav .sp { flex: 1; }
.nav .lang { font-size: 15px; color: var(--navy-3); }
.hero-text { position: relative; text-align: center; padding-top: 84px; }
.hero-text h1 { max-width: 920px; margin: 18px auto 0; }
.hero-text .lead { max-width: 720px; margin-inline: auto; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; justify-content: center; }

/* the back office and the payment window, overlapping the bottom of the navy */
.screens { position: relative; height: 600px; margin-top: -290px; }
.screens-bo { position: absolute; inset-inline-start: 0; width: 860px; }
.screens-pay { position: absolute; inset-inline-end: -20px; top: 200px; width: 640px; }
.chip { position: absolute; inset-inline-end: 40px; top: 150px; display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 10px 16px; font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px rgba(14, 26, 53, .18); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); display: inline-block; }

/* sections */
.sec { padding: 110px 0; }
.sec.grey { background: var(--cloud); }
.head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { border: 1px solid var(--line); border-radius: 16px; padding: 28px; background: #fff; }
.card p { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--slate); }
.card .step { margin: 0 0 12px; font-size: 14px; font-weight: 700; color: var(--btn); }
.ico { width: 44px; height: 44px; border-radius: 12px; background: var(--cloud); display: grid; place-items: center; margin-bottom: 18px; }
.split { display: grid; grid-template-columns: 440px 1fr; gap: 70px; align-items: center; }
.split.flip { grid-template-columns: 1fr 440px; }
.split.flip > :first-child { order: 2; }
.visual { min-width: 0; }

/* prices */
.plan { border: 1px solid var(--line); border-radius: 16px; padding: 32px; background: #fff; display: flex; flex-direction: column; }
.plan.pop { border: 2px solid var(--btn); }
.plan-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.plan-h em { font-style: normal; font-size: 12px; font-weight: 600; background: #eef1ff; color: var(--btn); border-radius: 999px; padding: 4px 10px; }
.price { font-size: 40px; font-weight: 750; margin-top: 14px; }
.price > span { font-size: 16px; font-weight: 500; color: var(--slate); }
.yearly { font-size: 14px; color: var(--slate); }
.limits { margin: 14px 0 18px; color: var(--slate); }
.plan ul { list-style: none; flex: 1; }
.plan li { display: flex; gap: 8px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; }
.plan li svg { color: var(--green); flex: none; }
.note { text-align: center; color: var(--slate); margin-top: 28px; font-size: 15px; }

/* questions */
.faq { max-width: 860px; margin-inline: auto; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-size: 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; min-height: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--slate); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 12px; color: var(--slate); line-height: 1.6; font-size: 16px; }

/* closing band */
.band { background: var(--navy); color: #fff; border-radius: 24px; padding: 72px; position: relative; overflow: hidden; }
.band .vbar { width: 120px; height: 600px; inset-inline-start: auto; inset-inline-end: 240px; top: -60px; }
.band .vwedge { inset-inline-end: -40px; top: 0; border-left-width: 170px; border-right-width: 170px; border-top-width: 400px; }
.band-in { position: relative; max-width: 660px; }
.band p { color: var(--navy-3); font-size: 18px; margin-top: 14px; line-height: 1.55; }
.band .ctas { justify-content: flex-start; }
.band .small { font-size: 15px; margin-top: 22px; }
.band .small a { text-decoration: underline; color: #fff; }

.foot { background: var(--navy); color: var(--navy-3); padding: 56px 0; font-size: 14px; }
.foot .cols { display: flex; flex-wrap: wrap; gap: 40px 80px; }
.foot .about { flex: 1 1 260px; }
.foot .about p { margin-top: 14px; max-width: 300px; line-height: 1.55; }
.foot b { color: #fff; display: block; margin-bottom: 12px; }
.foot .cols a, .foot .cols span { display: block; margin: 8px 0; }
.foot .cols a:hover { color: #fff; }
.foot .rights { margin-top: 40px; border-top: 1px solid var(--navy-2); padding-top: 20px; }

/* ------------------------------------------------ drawn product screens (decorative) */
.mock { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px rgba(14, 26, 53, .22), 0 0 0 1px rgba(14, 26, 53, .08); font-size: 13px; color: var(--navy); }
.mock .num { direction: ltr; }
.bo { display: grid; grid-template-columns: 64px 1fr; }
.bo .rail { background: var(--navy); display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: 18px; }
.bo .rail i { width: 26px; height: 26px; border-radius: 8px; background: var(--navy-2); }
.bo .rail i.on { background: var(--light); }
.bo-main { padding: 22px 26px; background: var(--cloud); }
.bo-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 8px; }
.bo-top b { font-size: 18px; }
.bo-top > span { color: var(--slate); }
.figs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fig { background: #fff; border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.fig > span, .fig > small { color: var(--slate); font-size: 12px; }
.fig b { font-size: 24px; font-weight: 750; letter-spacing: -.02em; }
.chart { background: #fff; border-radius: 14px; padding: 16px; margin-top: 12px; display: flex; align-items: flex-end; gap: 10px; height: 150px; }
.chart i { flex: 1; background: var(--navy-3); border-radius: 6px 6px 0 0; }
.chart i.hi { background: var(--indigo); }
.chart i:nth-child(1) { height: 40%; } .chart i:nth-child(2) { height: 55%; } .chart i:nth-child(3) { height: 48%; }
.chart i:nth-child(4) { height: 70%; } .chart i:nth-child(5) { height: 62%; } .chart i:nth-child(6) { height: 80%; } .chart i:nth-child(7) { height: 92%; }
.bo-rows { background: #fff; border-radius: 14px; margin-top: 12px; padding: 4px 16px; }
.bo-rows div { display: flex; justify-content: space-between; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); }
.bo-rows div:first-child { border: 0; }
.st { font-style: normal; font-size: 11px; font-weight: 600; border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.st.ok { background: #e4f4ec; color: #14724c; } .st.w { background: #fdf3dc; color: #8a5d00; } .st.t { background: #e0f4f4; color: #0f6b6b; }

.pay { display: grid; grid-template-columns: 1fr 230px; }
.pay-l { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.pay-h { font-weight: 700; font-size: 14px; }
.tots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tots div { background: var(--cloud); border-radius: 10px; padding: 8px 10px; display: flex; flex-direction: column; }
.tots div > span { font-size: 11px; color: var(--slate); } .tots b { font-size: 19px; }
.tabs, .s-chips, .opts { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs i, .s-chips i, .opts i { font-style: normal; border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 10px; font-size: 11px; font-weight: 600; }
.tabs i.on, .s-chips i.on, .opts i.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.pay-cols { display: grid; grid-template-columns: 1fr 150px; gap: 10px; }
.lbl { font-size: 10px; font-weight: 700; color: var(--slate); text-transform: uppercase; margin-bottom: 6px; }
.notes, .keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.notes i, .keys i { font-style: normal; border: 1px solid var(--line-2); border-radius: 8px; height: 34px; display: grid; place-items: center; font-weight: 700; font-size: 12px; }
.keys i { background: var(--cloud); border-color: transparent; height: 28px; }
.amt { border: 2px solid var(--indigo); border-radius: 8px; height: 30px; display: flex; align-items: center; justify-content: flex-end; padding: 0 8px; color: var(--slate); margin-bottom: 6px; font-size: 12px; }
.pay-r { background: var(--cloud); padding: 16px; display: flex; flex-direction: column; gap: 8px; border-inline-start: 1px solid var(--line); }
.pl { display: flex; justify-content: space-between; gap: 6px; border-bottom: 1px solid var(--line); padding-bottom: 6px; font-size: 12px; }
.gb { background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 8px 10px; display: flex; flex-direction: column; gap: 4px; }
.gb > span { font-size: 11px; color: var(--slate); } .gb b { font-size: 16px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: auto; }
.two i { font-style: normal; border: 1px solid var(--line-2); border-radius: 8px; padding: 6px 4px; text-align: center; font-size: 11px; font-weight: 600; background: #fff; }
.two i.on { border: 2px solid var(--navy); }
.go, .paybtn { background: var(--btn); color: #fff; border-radius: 10px; text-align: center; font-weight: 700; padding: 12px 8px; }

.sell .s-top { background: var(--navy); color: #fff; display: flex; align-items: center; gap: 10px; padding: 8px 12px; }
.sell .s-top img { height: 18px; width: auto; }
.s-search { flex: 1; background: #fff; color: var(--slate); border-radius: 8px; padding: 5px 10px; font-size: 11px; }
.s-pill { background: var(--navy-2); color: var(--navy-3); border-radius: 999px; padding: 4px 8px; font-size: 11px; }
.s-body { display: grid; grid-template-columns: 1fr 240px; height: 380px; }
.s-left { background: var(--cloud); padding: 10px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 70px; gap: 6px; flex: 1; align-content: start; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 7px; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.tile b { font-size: 11px; line-height: 1.2; overflow: hidden; }
.tile small { font-size: 10px; color: var(--slate); }
.tile small.low { color: var(--amber); font-weight: 600; }
.tile em { font-style: normal; font-weight: 700; font-size: 12px; }
.acts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.acts i { font-style: normal; background: #fff; border: 1px solid var(--line-2); border-radius: 8px; text-align: center; padding: 7px 2px; font-size: 10px; font-weight: 600; white-space: nowrap; overflow: hidden; }
.s-right { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-inline-start: 1px solid var(--line); min-width: 0; }
.cust { border: 1px solid var(--line); border-radius: 9px; padding: 6px 9px; display: flex; flex-direction: column; }
.cust small { font-size: 10px; color: var(--slate); }
.line { border-bottom: 1px solid var(--line); padding: 6px 4px; }
.line.sel { background: var(--cloud); border-radius: 8px; border: 0; }
.line div { display: flex; justify-content: space-between; gap: 6px; font-size: 11px; }
.line small { font-size: 10px; color: var(--slate); }
.grow { flex: 1; }
.tot2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tot2 div { background: var(--cloud); border-radius: 9px; padding: 6px 8px; display: flex; flex-direction: column; }
.tot2 div.back { background: #fff; border: 1px solid var(--navy); }
.tot2 div > span { font-size: 10px; color: var(--slate); } .tot2 b { font-size: 15px; }
.payrow { display: grid; grid-template-columns: 70px 1fr; gap: 6px; }
.payrow i { font-style: normal; border: 1px solid var(--line-2); border-radius: 10px; font-size: 10px; font-weight: 600; display: grid; place-items: center; text-align: center; }
.paybtn { font-size: 13px; padding: 10px 6px; }
.xchg { border: 1px dashed var(--line-2); background: var(--cloud); border-radius: 9px; padding: 7px 9px; display: flex; flex-direction: column; gap: 2px; font-size: 11px; }

/* ------------------------------------------------ smaller screens */
@media (max-width: 1260px) {
  .screens-pay { inset-inline-end: 0; }
}
@media (max-width: 1100px) {
  .nav .links { display: none; }
  .screens { height: auto; margin-top: -250px; display: grid; gap: 16px; }
  .screens-bo, .screens-pay { position: static; width: 100%; }
  .chip { display: none; }
  .split, .split.flip { grid-template-columns: 1fr; gap: 40px; }
  .split.flip > :first-child { order: 0; }
}
@media (max-width: 900px) {
  .grid3 { grid-template-columns: 1fr; }
  .sec { padding: 72px 0; }
  .band { padding: 40px 24px; }
}
@media (max-width: 760px) {
  .hide-s { display: none; }
  .nav { gap: 12px; }
  .hero { padding-bottom: 220px; }
  .hero-text { padding-top: 40px; }
  .lead { font-size: 17px; }
  .screens { margin-top: -180px; }
  /* the drawn screens keep their layout and shrink as a whole */
  .screens-pay, .visual { overflow: hidden; }
  .screens > *, .bo-main, .fig { min-width: 0; }
  .mock.bo { grid-template-columns: 1fr; }
  .bo .rail, .bo-top > span { display: none; }
  .bo-main { padding: 14px; }
  .fig b { font-size: 18px; }
  .mock.bo .figs { grid-template-columns: 1fr 1fr; }
  .mock.bo .fig:last-child { display: none; }
  .pay { grid-template-columns: 1fr; }
  .pay-r { display: none; }
  .s-body { grid-template-columns: 1fr; height: auto; }
  .s-right { display: none; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .acts { grid-template-columns: repeat(3, 1fr); }
  .acts i:nth-child(n+4) { display: none; }
  .bo-rows div span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
}
