@font-face { font-family: "IBM Plex Sans Arabic"; src: url("ibm-plex-arabic-400.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("ibm-plex-arabic-500.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("ibm-plex-arabic-700.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }

:root {
  --ink: #111827;
  --muted: #667085;
  --paper: #f6f7fa;
  --white: #fff;
  --green: #0b1020;
  --green-2: #24385f;
  --gold: #ff385c;
  --gold-pale: #ffe7ed;
  --line: #e3e6ec;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, "Segoe UI", Arial, sans-serif; line-height: 1.72; text-rendering: optimizeLegibility; }
[lang="ar"] body, [lang="ar"] h1, [lang="ar"] h2, [lang="ar"] h3, [lang="ar"] .button, [lang="ar"] .brand { font-family: "IBM Plex Sans Arabic", Arial, sans-serif; }
[lang="ar"] h1, [lang="ar"] h2, [lang="ar"] h3, [lang="ar"] .button { font-weight: 700; }
a { color: inherit; text-decoration: none; }
.shell { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.progress { position: fixed; inset: 0 0 auto; z-index: 30; height: 4px; background: rgba(255,255,255,.14); }
.progress span { display: block; width: 0; height: 100%; background: var(--gold); }

.topbar { position: relative; z-index: 4; color: #fff; background: rgba(7,30,25,.96); border-bottom: 1px solid rgba(255,255,255,.12); }
.topbar__inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; font-weight: 700; }
.brand__logo { width: 128px; height: auto; display: block; }
.brand small { padding-inline-start: 14px; color: rgba(255,255,255,.58); font-size: 11px; line-height: 1.25; border-inline-start: 1px solid rgba(255,255,255,.18); }
.topbar__nav { display: flex; align-items: center; gap: 24px; color: rgba(255,255,255,.72); font-size: 13px; font-weight: 800; }
.topbar__nav a:hover { color: #fff; }
.topbar__nav .language { padding: 7px 12px; border: 1px solid rgba(255,255,255,.25); border-radius: 20px; }

.hero { position: relative; min-height: min(760px, calc(100svh - 72px)); display: grid; overflow: hidden; color: #fff; background: var(--green); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("erp-integration-hero.png") center / cover no-repeat; transform: scale(1.015); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,21,18,.05) 0%, rgba(5,21,18,.3) 42%, rgba(5,21,18,.93) 76%, rgba(5,21,18,.99) 100%), linear-gradient(0deg, rgba(5,21,18,.55), transparent 58%); }
[dir="ltr"] .hero::after { background: linear-gradient(270deg, rgba(5,21,18,.05) 0%, rgba(5,21,18,.3) 42%, rgba(5,21,18,.93) 76%, rgba(5,21,18,.99) 100%), linear-gradient(0deg, rgba(5,21,18,.55), transparent 58%); }
.hero__inner { min-height: inherit; display: grid; align-items: center; padding-block: 72px 82px; }
.hero__copy { width: min(660px, 100%); }
.eyebrow, .kicker { margin: 0 0 14px; color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .13em; }
h1 { margin: 0; max-width: 720px; font-size: clamp(43px, 6vw, 75px); line-height: 1.07; letter-spacing: -.04em; font-weight: 800; }
.hero__lead { max-width: 640px; margin: 24px 0 0; color: rgba(255,255,255,.82); font-size: clamp(18px, 2vw, 21px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { min-height: 50px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 7px; font-size: 14px; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--gold { color: #fff; background: var(--gold); }
.button--ghost { color: #fff; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.32); }
.button--light { color: #fff; border-color: rgba(255,255,255,.4); }
.hero__note { margin: 18px 0 0; color: rgba(255,255,255,.55); font-size: 13px; }
.hero__note a { color: #fff; font-weight: 800; border-bottom: 1px solid rgba(255,255,255,.35); }

.platform-story { padding-block: 112px 100px; overflow: hidden; }
.platform-story__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 100px; align-items: start; }
.platform-story__statement h2 { max-width: 650px; font-size: clamp(38px, 4.8vw, 64px); }
.platform-story__copy { padding-top: 28px; color: var(--muted); font-size: 16px; }
.platform-story__copy p { margin: 0; }
.platform-story__copy p + p { margin-top: 20px; }
.platform-story__lead { color: var(--ink); font-size: 19px; font-weight: 600; }
.platform-proof { margin-top: 72px; border-block: 1px solid var(--line); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid article { min-height: 164px; padding: 27px 24px; border-inline-end: 1px solid var(--line); }
.proof-grid article:first-child { border-inline-start: 1px solid var(--line); }
.proof-grid strong, .proof-grid span { display: block; }
.proof-grid strong { color: var(--green-2); font-size: 18px; line-height: 1.3; }
.proof-grid article:first-child strong { color: #112969; font-size: 34px; letter-spacing: -.04em; }
.proof-grid span { margin-top: 14px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.merchant-rail { min-height: 88px; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; gap: 30px; padding: 18px 24px; border-top: 1px solid var(--line); }
.merchant-rail img { width: 100%; max-width: 150px; max-height: 38px; margin-inline: auto; object-fit: contain; filter: grayscale(1); opacity: .68; }
.ecosystem { margin-top: 78px; padding-block: 34px 26px; display: grid; grid-template-columns: auto 1fr 1.8fr; gap: 38px; align-items: center; border-block: 1px solid var(--line); }
.ecosystem__matjrah { display: flex; align-items: center; }
.ecosystem__matjrah > img { width: 146px; height: auto; display: block; }
.ecosystem__bridge { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; color: var(--green-2); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.ecosystem__bridge span { height: 1px; background: var(--gold); }
.logo-rail { min-width: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; align-items: center; }
.logo-rail img { width: 100%; height: 34px; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .22s ease, opacity .22s ease, transform .22s ease; }
.logo-rail img:hover { filter: grayscale(0); opacity: 1; transform: translateY(-2px); }
.brand-wordmark { min-height: 34px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: #525b68; font-size: 13px; font-weight: 700; white-space: nowrap; opacity: .8; }
.brand-wordmark--dynamics i { width: 20px; height: 20px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.brand-wordmark--dynamics i b:nth-child(1) { background: #f25022; }
.brand-wordmark--dynamics i b:nth-child(2) { background: #7fba00; }
.brand-wordmark--dynamics i b:nth-child(3) { background: #00a4ef; }
.brand-wordmark--dynamics i b:nth-child(4) { background: #ffb900; }
.ecosystem__note { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 11px; }
.prototype-note { margin-top: 34px; padding: 30px 32px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; color: #fff; background: var(--green); border-radius: 8px; }
.prototype-note .kicker { margin-bottom: 9px; color: var(--gold); }
.prototype-note h3 { margin: 0; font-size: 22px; line-height: 1.4; }
.prototype-note > p { margin: 0; color: rgba(255,255,255,.68); font-size: 13px; }
.prototype-note a { color: #fff; font-weight: 850; border-bottom: 1px solid rgba(255,255,255,.35); }

.insights-section { padding-block: 104px; color: #fff; background: #112969; }
.insights-section .kicker { color: var(--gold); }
.insights-section .section__intro { color: rgba(255,255,255,.68); }
.insight-stories { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid rgba(255,255,255,.18); }
.insight-stories article { min-height: 340px; padding: 34px 32px; border-inline-end: 1px solid rgba(255,255,255,.18); }
.insight-stories article:first-child { border-inline-start: 1px solid rgba(255,255,255,.18); }
.insight-stories span { color: var(--gold); font: 700 10px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.insight-stories h3 { margin: 74px 0 13px; font-size: 24px; line-height: 1.35; }
.insight-stories p { margin: 0; color: rgba(255,255,255,.66); font-size: 14px; }
.insight-stories a { display: inline-block; margin-top: 24px; color: #fff; font-size: 13px; font-weight: 800; border-bottom: 1px solid rgba(255,255,255,.3); }

.section { padding-block: 104px; }
.section--white { background: #fff; }
.section--dark { color: #fff; background: var(--green); }
.section__head { max-width: 790px; margin-bottom: 48px; }
.kicker { color: var(--green-2); letter-spacing: .06em; }
.section--dark .kicker, .cta-section .kicker { color: var(--gold); }
h2 { margin: 0; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.2; letter-spacing: -.04em; }
.section__intro { max-width: 750px; margin: 17px 0 0; color: var(--muted); font-size: 17px; }
.section--dark .section__intro { color: rgba(255,255,255,.67); }

.journey { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); list-style: none; border-block: 1px solid var(--line); }
.journey li { min-height: 210px; padding: 26px 18px; border-inline-end: 1px solid var(--line); }
.journey li:first-child { border-inline-start: 1px solid var(--line); }
.journey span { color: var(--green-2); font: 800 12px ui-monospace, SFMono-Regular, Menlo, monospace; }
.journey strong { display: block; margin-top: 54px; font-size: 17px; }
.journey small { display: block; margin-top: 7px; color: var(--muted); font-size: 13px; }

.paths { display: grid; grid-template-columns: repeat(2, 1fr); border-block: 1px solid var(--line); }
.path { min-height: 500px; padding: 40px 44px; transition: background .22s ease, transform .22s ease; }
.path + .path { border-inline-start: 1px solid var(--line); }
.path:hover { background: #eef3ee; transform: translateY(-3px); }
.path__meta { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.path__meta b { color: var(--green-2); letter-spacing: 0; }
.path h3 { margin: 70px 0 13px; font-size: 30px; line-height: 1.25; }
.path p { margin: 0; color: var(--muted); }
.path ul { margin: 28px 0 0; padding: 0; list-style: none; }
.path li { position: relative; margin-top: 10px; padding-inline-start: 19px; font-size: 14px; font-weight: 750; }
.path li::before { content: ""; position: absolute; inset-inline-start: 0; top: .78em; width: 8px; height: 2px; background: var(--gold); }
.text-link { display: inline-flex; gap: 8px; margin-top: 28px; color: var(--green-2); font-size: 14px; font-weight: 950; border-bottom: 1px solid rgba(21,69,58,.35); }

.runtime-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.15); }
.runtime-card { min-height: 285px; padding: 38px; background: var(--green); }
.runtime-card__index { color: var(--gold); font: 800 11px ui-monospace, SFMono-Regular, Menlo, monospace; }
.runtime-card h3 { margin: 58px 0 10px; font-size: 28px; }
.runtime-card p { margin: 0; color: rgba(255,255,255,.68); }
.runtime-card code, .runtime-links code { color: #f8e3aa; }
.boundary { margin-top: 28px; padding: 27px 30px; display: grid; grid-template-columns: 180px 1fr; gap: 28px; color: #342812; background: var(--gold-pale); }
.boundary p { margin: 0; }
.runtime-links { margin-top: 28px; display: flex; justify-content: space-between; gap: 24px; color: rgba(255,255,255,.68); font-size: 13px; }
.runtime-links a { color: #fff; font-weight: 900; }

.systems-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.system-list { display: grid; grid-template-columns: repeat(2, 1fr); border-block: 1px solid var(--line); }
.system-list span { min-height: 76px; display: flex; align-items: center; gap: 13px; padding: 0 22px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 850; }
.system-list span > img { width: 28px; height: 22px; object-fit: contain; }
.system-list__dynamics i { width: 22px; height: 22px; background: conic-gradient(#7fba00 0 25%, #00a4ef 0 50%, #ffb900 0 75%, #f25022 0); }
.system-list span:nth-child(odd) { border-inline-end: 1px solid var(--line); }
.system-list span:nth-last-child(-n+2) { border-bottom: 0; }

.launch-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }
.checklist { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.checklist li { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.checklist strong { color: var(--green-2); }
.checklist span { color: var(--muted); font-size: 14px; }

.cta-section { padding-block: 90px; color: #fff; background: #112969; }
.cta { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; }
.cta h2 { max-width: 720px; }
.cta p:not(.kicker) { max-width: 720px; margin: 18px 0 0; color: rgba(255,255,255,.7); }
.cta p a { color: #fff; font-weight: 850; border-bottom: 1px solid rgba(255,255,255,.35); }
.cta__actions { display: flex; flex-direction: column; gap: 12px; }

footer { color: rgba(255,255,255,.62); background: #071e19; }
.footer__inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 12px; }
.footer__inner div { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 920px) {
  .platform-story__grid { grid-template-columns: 1fr; gap: 34px; }
  .platform-story__copy { padding-top: 0; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid article:nth-child(2) { border-inline-end: 0; }
  .proof-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .merchant-rail { grid-template-columns: repeat(3, 1fr); }
  .ecosystem { grid-template-columns: 1fr; gap: 25px; }
  .ecosystem__bridge { display: none; }
  .journey { grid-template-columns: repeat(3, 1fr); }
  .journey li:nth-child(4) { border-inline-start: 1px solid var(--line); }
  .insight-stories { grid-template-columns: 1fr; }
  .insight-stories article, .insight-stories article:first-child { min-height: 270px; border-inline: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
  .insight-stories article:last-child { border-bottom: 0; }
  .systems-layout, .launch-layout, .cta, .prototype-note { grid-template-columns: 1fr; gap: 25px; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, var(--max)); }
  .topbar__inner { min-height: 64px; }
  .topbar__nav > a:not(.language) { display: none; }
  .hero { min-height: 720px; }
  .hero::after, [dir="ltr"] .hero::after { background: linear-gradient(0deg, rgba(5,21,18,.99) 10%, rgba(5,21,18,.84) 60%, rgba(5,21,18,.3) 100%); }
  .hero__inner { align-items: end; padding-block: 110px 54px; }
  h1 { font-size: clamp(42px, 13vw, 58px); }
  [lang="ar"] h1 { font-size: clamp(38px, 10.8vw, 52px); line-height: 1.26; }
  .actions, .actions .button { width: 100%; }
  .platform-story { padding-block: 74px 68px; }
  .platform-proof { margin-top: 48px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid article, .proof-grid article:first-child { min-height: 0; border-inline: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .proof-grid article:last-child { border-bottom: 0; }
  .merchant-rail { grid-template-columns: repeat(2, 1fr); gap: 22px 28px; }
  .merchant-rail img:last-child { grid-column: 1 / -1; }
  .prototype-note { padding: 26px 22px; }
  .logo-rail { grid-template-columns: repeat(2, 1fr); gap: 28px 34px; }
  .logo-rail img { height: 30px; }
  .section { padding-block: 72px; }
  .journey { grid-template-columns: repeat(2, 1fr); }
  .journey li, .journey li:nth-child(4) { border-inline-start: 0; }
  .journey li:nth-child(odd) { border-inline-start: 1px solid var(--line); }
  .paths, .runtime-grid { grid-template-columns: 1fr; }
  .path { min-height: auto; padding: 34px 24px; }
  .path + .path { border-inline-start: 0; border-top: 1px solid var(--line); }
  .path h3 { margin-top: 48px; }
  .runtime-card { min-height: 240px; padding: 30px 24px; }
  .boundary { grid-template-columns: 1fr; gap: 10px; }
  .runtime-links, .footer__inner { align-items: flex-start; flex-direction: column; padding-block: 24px; }
  .system-list { grid-template-columns: 1fr; }
  .system-list span, .system-list span:nth-child(odd) { border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .system-list span:last-child { border-bottom: 0; }
  .checklist li { grid-template-columns: 1fr; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button, .path { transition: none; }
}
