/* youcloud UAE — shared styles for Home, Solutions and Enterprise */

:root {
  --coral: #f96067;
  --coral-d: #e8464f;
  --coral-soft: #fcd3d2;
  --coral-tint: #fff1f0;
  --navy: #0a1c3a;
  --navy-2: #122a52;
  --navy-line: rgba(255, 255, 255, 0.22);
  --bg: #fbfbf8;
  --white: #ffffff;
  --ink: #0a1c3a;
  --text: #4b5671;
  --muted: #7c869d;
  --line: #c9cedb;
  --line-soft: #e3e6ee;
  --sky: #f6f9fe;
  --mist: #f7f9fc;
  --sand: #f7f6f2;
  --pink-img: #dcc3c9;
  --green: #22c55e;

  --f-display: 'Poppins', system-ui, sans-serif;
  --f-body: Calibri, 'Carlito', 'Segoe UI', system-ui, sans-serif;
  --f-ar: 'Noto Kufi Arabic', 'Noto Sans Arabic', Tahoma, sans-serif;

  --radius: 16px;
  --radius-lg: 24px;
  --nav-h: 104px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: calc(var(--nav-h) + 12px); }

/* Arabic */
html[lang="ar"] body,
html[lang="ar"] button,
html[lang="ar"] input,
html[lang="ar"] textarea,
html[lang="ar"] select { font-family: var(--f-ar); }
html[lang="ar"] body { line-height: 1.6; }
html[lang="ar"] .display { font-family: var(--f-ar); line-height: 1.35; letter-spacing: 0; }
html[lang="ar"] .upper, html[lang="ar"] .tag { letter-spacing: 0; }
[dir="rtl"] .arr { display: inline-block; transform: scaleX(-1); }
.ar { font-family: var(--f-ar); }
html[lang="ar"] p, html[lang="ar"] li, html[lang="ar"] .lead { line-height: 1.7 !important; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] blockquote { line-height: 1.45 !important; }
html[lang="ar"] .split-cta h2, html[lang="ar"] .brand-split h2 { line-height: 1.35 !important; }
html[lang="ar"] .hero-grid .btn, html[lang="ar"] .page-hero-grid .btn { padding-inline: 22px; font-size: 16px; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

.container { width: min(1280px, calc(100% - 48px)); margin-inline: auto; }
.section { padding-block: clamp(28px, 3.5vw, 53px); }
.upper { text-transform: uppercase; }

/* ---------- Type ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 400;
  color: var(--ink);
  font-size: clamp(40px, 5.4vw, 62px);
  line-height: 1.18;
  letter-spacing: -0.01em;
}
.eyebrow { color: var(--coral); font-weight: 700; font-size: 18px; display: block; margin-bottom: 22px; }
.h2 { color: var(--ink); font-weight: 700; font-size: clamp(26px, 2.6vw, 30px); line-height: 1.22; max-width: 640px; }
.h2.xl { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.2; }
.lead { margin-top: 24px; font-size: 18px; line-height: 1.25; max-width: 600px; color: var(--text); }
.section-head { margin-bottom: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 56px; padding-inline: 32px; border-radius: 8px;
  font-weight: 700; font-size: 18px; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, color .25s, box-shadow .25s, border-color .25s;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 6px 18px -8px rgba(249, 96, 103, .7); }
.btn-primary:hover { background: var(--coral-d); transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(249, 96, 103, .8); }
.btn-outline { border: 1.5px solid var(--coral); color: var(--coral); background: transparent; }
.btn-outline:hover { background: var(--coral); color: #fff; transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--coral); }
.btn-white:hover { background: var(--navy); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 20px; }
.link-coral { color: var(--coral); font-weight: 700; display: inline-flex; gap: 6px; align-items: center; transition: gap .25s var(--ease); }
.link-coral:hover { gap: 12px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 251, 248, .86);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  transition: box-shadow .3s, background-color .3s;
}
.nav.bordered { border-bottom: 1px solid var(--line-soft); }
.nav.scrolled { box-shadow: 0 8px 30px -12px rgba(10, 28, 58, .18); background: rgba(251, 251, 248, .94); }
.nav-inner { display: flex; align-items: center; height: var(--nav-h); gap: 24px; transition: height .3s var(--ease); }
.nav.scrolled .nav-inner { height: 80px; }
.brand img { height: 34px; width: auto; }
.nav-links { display: flex; gap: clamp(20px, 3vw, 52px); margin-inline: auto; }
.nav-links a { color: var(--ink); font-size: 18px; position: relative; padding-block: 6px; }
.nav-links a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--coral);
  transform: scaleX(0); transform-origin: center; transition: transform .3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--coral); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.lang {
  display: inline-flex; padding: 4px; border-radius: 8px; border: 1px solid var(--line-soft); background: #fff;
  position: relative;
}
.lang button { position: relative; z-index: 1; height: 44px; min-width: 64px; padding-inline: 14px; border-radius: 6px; font-weight: 700; font-size: 16px; color: var(--muted); transition: color .3s; }
.lang button.on { color: #fff; }
.lang button[data-lang="ar"] { font-family: var(--f-ar); font-weight: 500; font-size: 15px; }
.lang .pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; border-radius: 6px; background: var(--coral); transition: inset-inline-start .35s var(--ease), width .35s var(--ease), left .35s var(--ease); }
.nav .btn { height: 56px; padding-inline: 32px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 10px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.nav.open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .burger span:nth-child(2) { opacity: 0; }
.nav.open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu {
  display: none; position: absolute; inset-inline: 0; top: 100%;
  background: var(--bg); border-bottom: 1px solid var(--line-soft);
  padding: 8px 24px 28px; box-shadow: 0 24px 40px -20px rgba(10, 28, 58, .25);
  clip-path: inset(0 0 100% 0); transition: clip-path .45s var(--ease);
}
.nav.open .mobile-menu { clip-path: inset(0 0 0 0); }
.mobile-menu a.m-link { display: block; padding: 16px 0; font-size: 20px; color: var(--ink); border-bottom: 1px solid var(--line-soft); opacity: 0; transform: translateY(-8px); transition: opacity .3s, transform .4s var(--ease); }
.nav.open .mobile-menu a.m-link { opacity: 1; transform: none; }
.nav.open .mobile-menu a.m-link:nth-child(2) { transition-delay: .04s; }
.nav.open .mobile-menu a.m-link:nth-child(3) { transition-delay: .08s; }
.nav.open .mobile-menu a.m-link:nth-child(4) { transition-delay: .12s; }
.nav.open .mobile-menu a.m-link:nth-child(5) { transition-delay: .16s; }
.mobile-menu .btn { width: 100%; margin-top: 20px; }

/* ---------- Hero (home) ---------- */
.hero { padding-top: 0; }
.hero-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1280 / 622; background: #e9e4dd; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform-origin: center; }
.hero-grid { display: grid; grid-template-columns: 1fr minmax(0, 528px); gap: 32px; align-items: start; padding-block: 18px 28px; }
.hero-grid p { font-size: 18px; line-height: 1.22; margin-bottom: 32px; }
.hero-grid .btn-row { gap: 12px; }
.hero-grid .btn { height: 56px; padding-inline: 32px; }

/* Trust band */
.band { background: var(--coral); color: #fff; overflow: hidden; }
.band-track { display: flex; align-items: center; justify-content: space-between; gap: 48px; height: 80px; padding-inline: 24px; white-space: nowrap; font-weight: 700; font-size: 20px; }
.band-track span { display: inline-flex; align-items: center; gap: 8px; }
.band.thin .band-track { height: 56px; font-weight: 400; font-size: 18px; }

/* ---------- Headache comparison ---------- */
.stack-card { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-soft); background: #fff; box-shadow: 0 30px 60px -40px rgba(10, 28, 58, .25); }
.stack-col { padding: 32px 25px 26px; display: flex; flex-direction: column; }
.stack-col.dark { background: var(--navy); color: #fff; }
.tag { color: var(--coral); font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: .01em; }
.stack-col h3 { font-size: 24px; font-weight: 700; color: var(--ink); text-transform: uppercase; margin: 22px 0 22px; }
.stack-col.dark h3 { color: #fff; }
.stack-logo { margin: 14px 0 14px !important; line-height: 0; }
.stack-logo img { height: 30px; width: auto; }
.stack-col > p { margin-bottom: 14px; }
.stack-col.dark > p { color: #fff; }
.cost-list li { display: flex; justify-content: space-between; padding: 12px 0 12px; border-bottom: 1px solid var(--line); color: var(--ink); }
.cost-list li b { font-weight: 700; }
.stack-total { display: flex; justify-content: space-between; padding: 26px 0 12px; border-bottom: 1px solid var(--line); margin-top: 10px; color: var(--ink); font-weight: 700; }
.module-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; margin-top: 52px; }
.module-grid span { border: 1px solid var(--navy-line); border-radius: 8px; height: 48px; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 18px; transition: background-color .3s, border-color .3s, transform .3s var(--ease); }
.module-grid svg { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: var(--coral); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.module-grid b { font-weight: 400; }
.module-grid span:hover svg { transform: scale(1.12); }
.module-grid span:hover { background: rgba(249, 96, 103, .15); border-color: var(--coral); transform: translateY(-2px); }
.stack-col.dark .stack-total { border: 0; margin-top: auto; color: #fff; padding-bottom: 6px; }

/* ---------- Live in 60 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.step { position: relative; border-radius: var(--radius); padding: 20px 20px 64px; min-height: 0; border: 1px solid var(--line); background: #fff; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.step:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(10, 28, 58, .35); }
.step.dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.step h3 { margin: 12px 0 10px; font-size: 20px; font-weight: 700; color: var(--ink); text-transform: uppercase; }
.step.dark h3 { color: #fff; }
.step p { max-width: 560px; font-size: 18px; line-height: 1.22; }
.step .num { position: absolute; inset-inline-end: 18px; bottom: 8px; font-family: var(--f-display); font-size: 62px; line-height: 1; color: var(--coral-soft); font-weight: 300; }
.step.dark .num { color: #5b6a86; }
.sixty { margin-top: 12px; display: grid; grid-template-columns: 236px 1fr; background: var(--coral); border-radius: var(--radius); color: #fff; overflow: hidden; min-height: 200px; position: relative; }
.sixty .big { font-family: var(--f-display); font-weight: 700; font-size: 150px; line-height: 1; display: grid; place-items: center; border-inline-end: 1.5px solid rgba(255, 255, 255, .45); color: #f1f3fa; }
.sixty .copy { padding: 58px 56px 40px; }
.sixty h3 { font-size: 24px; font-weight: 700; text-transform: uppercase; margin-bottom: 20px; }
.sixty p { font-size: 24px; line-height: 1.2; }
.sixty .ar-mark { position: absolute; top: 24px; inset-inline-end: 24px; font-size: 16px; }

/* ---------- How it works ---------- */
.how { position: relative; }
.how-rows { position: relative; }
.how-rows::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--line-soft); }
.how-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; position: relative; }
.how-row + .how-row { margin-top: 40px; }
.how-row .media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 660 / 410; }
.how-row .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.how-row:hover .media img { transform: scale(1.04); }
.how-row.flip .media { order: 2; }
.how-row .copy { padding-inline: 20px 0; }
.how-row.flip .copy { padding-inline: 0 20px; }
.step-label { display: flex; align-items: center; gap: 12px; color: var(--ink); margin-bottom: 36px; }
.step-label i { font-style: normal; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--coral); color: var(--coral); display: grid; place-items: center; font-size: 18px; }
.how-row h3 { color: #000; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.22; font-weight: 700; margin-bottom: 34px; max-width: 560px; }
.how-row p { line-height: 1.22; }
.flow-line { display: flex; align-items: center; margin-top: 40px; color: var(--ink); font-size: 16px; }
.flow-line span { flex: 0 0 auto; }
.flow-line i { flex: 1; height: 1px; background: var(--coral); position: relative; margin-inline: 8px; transform-origin: left; }
[dir="rtl"] .flow-line i { transform-origin: right; }
.flow-line i::after { content: ""; position: absolute; inset-inline-end: -3px; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.live-stock { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 22px; }
.live-stock small { font-size: 16px; display: block; text-transform: uppercase; margin-bottom: 8px; }
.live-stock div { display: flex; justify-content: space-between; align-items: baseline; color: var(--ink); font-size: 20px; }
.live-stock b { color: var(--coral); font-weight: 400; font-size: 24px; }
.recon { margin-top: 40px; background: var(--navy); color: #fff; border-radius: 8px; padding: 22px 16px 16px; display: grid; grid-template-columns: 1fr 1fr; }
.recon > div { padding-inline: 0 16px; }
.recon > div:nth-child(2) { border-inline-start: 1px solid rgba(255, 255, 255, .2); padding-inline: 0 0; text-align: end; }
.recon small { font-size: 14px; display: block; margin-bottom: 8px; text-transform: uppercase; }
.recon b { font-size: 18px; }
.recon .ok { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .2); margin-top: 18px; padding-top: 16px; color: var(--green); font-size: 16px; text-transform: uppercase; }
.oua { margin-top: 30px; border-top: 1px solid var(--line); padding-top: 16px; color: var(--ink); font-size: 16px; display: flex; gap: 10px; align-items: center; text-transform: uppercase; }
.oua .arr { color: var(--coral); }

/* How it works: first six as a 3-column card grid */
.how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.how-card { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s; }
.how-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -34px rgba(10, 28, 58, .4); }
.how-card .media { aspect-ratio: 16 / 10; overflow: hidden; }
.how-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.how-card:hover .media img { transform: scale(1.05); }
.how-card .body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.how-card .step-label { margin-bottom: 18px; }
.how-card h3 { color: #000; font-size: 24px; line-height: 1.22; font-weight: 700; margin-bottom: 14px; }
.how-card p { line-height: 1.35; font-size: 17px; }
.how-card .flow-line, .how-card .live-stock, .how-card .oua, .how-card .recon { margin-top: auto; }
.how-card .flow-line { padding-top: 22px; font-size: 13px; }
.how-card .live-stock, .how-card .oua { padding-top: 16px; }
.how-card p + .recon { margin-top: 22px; }
.how-card .recon { padding: 16px 14px 12px; }
.how-feature { margin-top: 40px; }
.how-feature .step-label { margin-bottom: 24px; color: var(--coral); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
html[lang="ar"] .how-feature .step-label { letter-spacing: 0; }

/* How it works: extras for the Payments and Lending rows */
.how-row .tender-chips { margin-top: 28px; }
.how-row .rates { margin-top: 16px; font-size: 15px; color: var(--muted); }
.lend-mini { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 32px; border-top: 1px solid var(--line); }
.lend-mini > div { padding: 18px 12px 4px 0; }
.lend-mini > div + div { border-inline-start: 1px solid var(--line); padding-inline-start: 16px; }
.lend-mini b { display: block; color: var(--coral); font-family: var(--f-display); font-weight: 500; font-size: 30px; line-height: 1.1; }
.lend-mini small { display: block; margin-top: 6px; font-size: 15px; color: var(--text); line-height: 1.3; }
.lend-link { margin-top: 24px; }

/* ---------- Hardware ---------- */
.dark-section { background: var(--navy); color: #fff; }
.dark-section .h2 { color: #fff; }
.dark-section .lead { color: #fff; }
.hw-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.hw-card { grid-column: span 2; background: #fff; border-radius: var(--radius); padding: 24px 24px 22px; color: var(--text); transition: transform .45s var(--ease), box-shadow .45s; }
.hw-card.wide { grid-column: span 3; }
.hw-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .6); }
.hw-card h3 { margin: 20px 0 14px; color: var(--ink); font-size: 24px; text-transform: uppercase; font-weight: 700; }
.hw-price { color: var(--ink); font-size: 24px; font-weight: 700; }
.hw-price small { font-size: 16px; text-transform: uppercase; font-weight: 700; color: var(--text); margin-inline-start: 4px; }
.hw-img { margin: 22px 0 20px; border-radius: 6px; overflow: hidden; background: var(--pink-img); aspect-ratio: 361 / 227; }
.hw-card.wide .hw-img { aspect-ratio: 578 / 380; }
.hw-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.hw-card:hover .hw-img img { transform: scale(1.05); }
.hw-card > p { font-size: 18px; line-height: 1.22; min-height: 44px; }
.hw-link { margin-top: 10px; font-size: 16px; }
.specs { margin-top: 18px; }
.hw-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.hw-top .badge { margin: -6px 0 0; padding: 10px 12px; font-size: 14px; }
.hw-card.pop { background: var(--coral); color: #fff; margin-top: -10px; padding-top: 30px; box-shadow: 0 30px 60px -30px rgba(249, 96, 103, .8); }
.hw-card.pop .tag, .hw-card.pop h3, .hw-card.pop .hw-price, .hw-card.pop .hw-price small, .hw-card.pop .specs b { color: #fff; }
.hw-card.pop .specs div + div { border-color: rgba(255, 255, 255, .6); }
.hw-card.pop:hover { box-shadow: 0 36px 64px -28px rgba(249, 96, 103, .9); }
.specs div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 12px 0; font-size: 16px; }
.specs div + div { border-top: 1px solid var(--line); }
.specs b { color: var(--ink); font-size: 18px; font-weight: 700; text-align: end; }
.pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.pills span { flex: 1 1 200px; display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border: 1px solid rgba(255, 255, 255, .85); border-radius: 6px; font-size: 18px; padding-inline: 12px; white-space: nowrap; transition: background-color .3s, color .3s; }
.pills span:hover { background: #fff; color: var(--navy); }

/* ---------- Industries ---------- */
.sky { background: var(--sky); }
.ind-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ind-hero { position: relative; border-radius: var(--radius-lg) 80px var(--radius-lg) var(--radius-lg); overflow: hidden; min-height: 600px; color: #fff; display: flex; align-items: flex-end; }
.ind-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.ind-hero:hover img { transform: scale(1.04); }
.ind-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 28, 58, 0) 45%, rgba(10, 28, 58, .9) 100%); }
.ind-hero .copy { position: relative; z-index: 1; padding: 24px; }
.ind-hero .tag { text-transform: none; font-size: 18px; font-weight: 400; }
.ind-hero h3 { font-size: 30px; font-weight: 700; margin: 12px 0 14px; }
.ind-hero p { font-size: 18px; line-height: 1.22; max-width: 560px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips span { border: 1px solid var(--line); border-radius: 6px; padding: 7px 8px; font-size: 18px; color: var(--ink); background: #fff; }
.ind-hero .chips span { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .85); padding: 9px 12px; }
.ind-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ind-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 12px 14px; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s; }
.ind-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(10, 28, 58, .35); }
.ind-card .tag { font-size: 16px; }
.ind-card h3 { font-size: 24px; color: var(--ink); text-transform: uppercase; font-weight: 700; margin: 24px 0 18px; }
.ind-card p { line-height: 1.55; }
.ind-card .chips { margin-top: auto; padding-top: 18px; }
.ind-card .chips { flex-wrap: nowrap; gap: 6px; }
.ind-card .chips span { font-size: 14px; padding: 6px 7px; white-space: nowrap; }
.ind-card.coral { background: var(--coral); border-color: var(--coral); color: #fff; }
.ind-card.coral .tag { color: #fff; }
.ind-card.coral h3 { color: #fff; margin-bottom: 14px; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); margin-inline-start: 4px; vertical-align: middle; animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(249, 96, 103, .6); } 70% { box-shadow: 0 0 0 8px rgba(249, 96, 103, 0); } 100% { box-shadow: 0 0 0 0 rgba(249, 96, 103, 0); } }

/* ---------- Compare ---------- */
.compare { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); }
.compare th, .compare td { text-align: start; padding: 22px 10px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare th { color: var(--ink); font-weight: 700; font-size: 18px; padding-block: 28px 20px; }
.compare td:first-child { color: var(--ink); width: 38%; }
.compare td:first-child small { display: block; font-size: 16px; margin-top: 2px; color: var(--ink); }
.compare td { color: var(--muted); }
.compare td.yc { color: var(--coral); }
.compare td.yes { color: var(--coral); }
.compare td.ink { color: var(--ink); }
.compare tbody tr { transition: background-color .25s; }
.compare tbody tr:hover { background: #fff; }


.compare th .cmp-logo { height: 22px; width: auto; display: inline-block; vertical-align: middle; }
.compare th .cmp-ni { height: 24px; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.footnote { font-size: 16px; margin-top: 22px; line-height: 1.3; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; align-items: stretch; }
.price-card { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 14px 22px; display: flex; flex-direction: column; min-height: 100%; transition: transform .4s var(--ease), box-shadow .4s; }
.price-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -34px rgba(10, 28, 58, .45); }
.price-card.pop { background: var(--coral); border-color: var(--coral); color: #fff; margin-top: -10px; padding-top: 24px; box-shadow: 0 30px 60px -30px rgba(249, 96, 103, .7); }
.price-card .tag { font-size: 16px; }
.price-card.pop .tag { color: #fff; }
.badge { align-self: flex-end; background: #fff; color: var(--coral); font-weight: 700; font-size: 16px; text-transform: uppercase; padding: 12px 12px; border-radius: 2px; margin-bottom: 8px; }
.price-card > p { margin-top: 18px; line-height: 1.22; min-height: 66px; }
.price { margin-top: 26px; color: var(--ink); font-size: 24px; font-weight: 700; }
.price small { font-size: 16px; font-weight: 400; text-transform: uppercase; margin-inline-start: 4px; }
.price-card.pop .price { color: #fff; }
.price-meta { margin-top: 24px; line-height: 1.22; min-height: 44px; }
.feat { margin-top: 22px; }
.feat li { padding: 12px 0 10px; border-bottom: 1px solid var(--line); color: var(--ink); line-height: 1.25; }
.feat li:first-child { font-weight: 700; padding-top: 0; }
.price-card.pop .feat li { color: #fff; border-color: rgba(255, 255, 255, .7); }
.price-card .btn { margin-top: 36px; width: 100%; height: 52px; }
.price-card.pop .btn { height: 52px; }
.price-card:last-child .btn { width: auto; align-self: flex-start; }

/* Pricing segment toggle */
.seg-toggle { position: relative; display: flex; width: fit-content; margin-inline: auto; padding: 5px; margin-bottom: 36px; border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: 0 10px 24px -18px rgba(10, 28, 58, .35); }
.seg-toggle button { position: relative; z-index: 1; height: 48px; padding-inline: 28px; border-radius: 999px; font-weight: 700; font-size: 17px; color: var(--ink); transition: color .3s; white-space: nowrap; }
.seg-toggle button.on { color: #fff; }
.seg-toggle .pill { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; border-radius: 999px; background: var(--navy); transition: left .4s var(--ease), width .4s var(--ease); }
.plans[hidden] { display: none !important; }
.plans.seg-in { animation: segIn .5s var(--ease); }
@keyframes segIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Pricing: per-order note + self-service extras */
.price-note { margin-top: 8px; color: var(--coral); font-weight: 700; font-size: 16px; }
.price-card.pop .price-note { color: #fff; }
.price-card .price-note + p { margin-top: 14px; min-height: 44px; }
.price-grid.compact .price-card > p:not(.price-note):not(.price-meta) { min-height: 44px; }
.ss-extras { display: grid; grid-template-columns: 1fr 1.25fr; gap: 18px; margin-top: 18px; align-items: stretch; }
.ss-right { display: grid; gap: 18px; grid-template-rows: 1fr auto; }
.ss-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.ss-card .tag { font-size: 14px; }
.ss-hw-top { display: flex; gap: 16px; align-items: center; margin: 16px 0 6px; }
.ss-hw-top img { width: 120px; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--pink-img); flex: 0 0 auto; }
.ss-hw-top h3 { color: var(--ink); font-size: 26px; font-weight: 700; }
.ss-hw-top p { font-size: 16px; }
.ss-hw-top .hw-price { margin-top: 8px; color: var(--coral); font-size: 26px; font-weight: 700; }
.ss-hw-top .hw-price small { color: var(--text); font-size: 14px; font-weight: 700; text-transform: uppercase; margin-inline-start: 6px; }
.ss-hw .specs div { padding: 9px 0; }
.ss-ft .ticks { margin-top: 12px; }
.ss-ft .ticks li { font-size: 16px; padding: 9px 0 8px; }
.ss-pay { background: var(--navy); border-color: var(--navy); color: #fff; display: grid; grid-template-columns: auto 1fr; column-gap: 28px; align-items: center; }
.ss-pay .tag { grid-column: 1 / -1; }
.ss-pay .tag { color: var(--coral); }
.ss-rate { margin: 10px 0 0; white-space: nowrap; font-family: var(--f-display); font-size: 52px; font-weight: 500; line-height: 1; color: #fff; }
.ss-rate small { font-family: var(--f-body); font-size: 18px; font-weight: 700; color: var(--coral); }
.ss-pay p { color: rgba(255, 255, 255, .85); line-height: 1.4; }

.setup { margin-top: 0; }
.setup-head { margin-bottom: 18px; }
.setup-head .eyebrow { margin-bottom: 10px; }
.setup-head h3 { color: var(--ink); font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; }
.setup-table td.strong { font-weight: 700; }
.setup-table td small { display: block; }
.setup-table th:last-child, .setup-table td:last-child { text-align: start; }
.setup-table th:nth-child(2), .setup-table td:nth-child(2) { padding-inline-start: 10px; }

/* ---------- Add-ons ---------- */

/* ---------- FAQ ---------- */
.faq-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; margin-bottom: 32px; }
.faq-head .h2 { font-size: clamp(28px, 3vw, 36px); }
.wa-card { background: var(--coral); color: #fff; border-radius: var(--radius); padding: 24px 24px 22px; box-shadow: 0 30px 50px -34px rgba(249, 96, 103, .9); }
.wa-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 18px; }
.wa-card p { font-size: 20px; line-height: 1.2; margin-bottom: 18px; }
.wa-card a { font-weight: 700; display: inline-flex; gap: 6px; transition: gap .25s var(--ease); }
.wa-card a:hover { gap: 12px; }
.faq-list { border-top: 0; }
.faq-item { border-bottom: 1px solid var(--line); border-radius: 0; transition: background-color .35s, border-radius .35s; }
.faq-item.open { background: var(--sand); border-radius: var(--radius); border-bottom-color: transparent; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 32px 32px 32px; text-align: start; color: var(--ink); font-size: clamp(20px, 2vw, 24px); font-weight: 700; }
.faq-q .ico { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--ink); position: relative; transition: transform .4s var(--ease), background-color .3s; }
.faq-q .ico::before, .faq-q .ico::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .4s var(--ease); }
.faq-q .ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .ico::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-q:hover .ico { background: #fff; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 32px 28px; line-height: 1.22; color: var(--text); max-width: 1180px; }

/* ---------- CTA split ---------- */
.split-cta { display: grid; grid-template-columns: 640fr 800fr; background: var(--mist); min-height: 566px; }
.split-cta .media { position: relative; overflow: hidden; margin-inline-start: clamp(24px, 5.6vw, 80px); border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.split-cta .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-cta .copy { padding: clamp(40px, 7vw, 96px) clamp(24px, 4vw, 32px); align-self: center; }
.split-cta .copy .ar-eyebrow { color: var(--coral); font-size: 16px; display: block; margin-bottom: 20px; }
.split-cta h4 { color: var(--ink); font-size: 24px; font-weight: 700; margin-bottom: 20px; text-transform: uppercase; }
.split-cta h2 { color: var(--ink); font-size: clamp(30px, 3vw, 40px); line-height: 1.02; font-weight: 700; text-transform: uppercase; }
.split-cta p { margin-top: 26px; max-width: 700px; line-height: 1.22; }
.split-cta .btn-row { margin-top: 36px; align-items: center; }
.split-cta .btn { height: 56px; padding-inline: 34px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #fff; padding: 80px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 540px repeat(4, auto); justify-content: space-between; gap: 40px; }
.footer-brand img { height: 48px; width: auto; margin-bottom: 22px; }
.footer-brand p { max-width: 460px; line-height: 1.22; }
.footer .chips { gap: 8px; margin-top: 20px; flex-wrap: nowrap; }
.footer .chips span { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .85); font-size: 14px; padding: 5px 9px; white-space: nowrap; }
.footer h5 { margin: 0 0 20px; color: var(--coral); font-size: 18px; font-weight: 700; }
.footer ul, .footer-brand p, .footer-bottom { font-size: 16px; }
.footer ul li + li { margin-top: 18px; }
.footer ul a { opacity: .95; transition: color .25s, opacity .25s; }
.footer ul a:hover { color: var(--coral); }
.footer-bottom { margin-top: 80px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--coral); }

/* ---------- Page hero (solutions / enterprise) ---------- */
.page-hero { padding-block: 56px 48px; }
.page-hero-grid { display: grid; grid-template-columns: 1fr minmax(0, 528px); gap: 40px; align-items: start; }
.page-hero-grid p { line-height: 1.22; margin-bottom: 32px; padding-top: 10px; }
.page-hero-grid .btn-row { gap: 12px; }
.ar-tag { margin-top: 46px; text-align: end; color: var(--text); font-family: var(--f-ar); font-size: 16px; direction: rtl; }

/* Solutions tab strip */
.sol-tabs { background: #fff; position: sticky; top: 80px; z-index: 50; border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.sol-tabs.stuck { border-color: var(--line-soft); box-shadow: 0 10px 24px -18px rgba(10, 28, 58, .3); }
.sol-tabs .container { display: flex; justify-content: space-between; gap: 24px; overflow-x: auto; scrollbar-width: none; padding-inline: 4%; }
.sol-tabs .container::-webkit-scrollbar { display: none; }
.sol-tabs a { flex: 0 0 auto; padding-block: 14px 16px; font-size: 20px; color: var(--ink); font-weight: 700; position: relative; }
.sol-tabs a small { display: block; color: var(--coral); font-weight: 400; font-size: 20px; margin-bottom: 2px; }
.sol-tabs a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: var(--coral); transform: scaleX(0); transition: transform .35s var(--ease); }
.sol-tabs a.active::after, .sol-tabs a:hover::after { transform: scaleX(1); }

/* Operating models */
.ops { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.ops-left { background: var(--navy); color: #fff; padding: 32px 25px 32px; display: flex; flex-direction: column; }
.ops-left .ar { color: var(--coral); font-size: 20px; }
.ops-left h3 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.22; font-weight: 700; text-transform: uppercase; margin: 22px 0 40px; }
.ops-left p { line-height: 1.22; }
.ops-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; padding-top: 48px; }
.ops-flow span { border: 1px solid var(--navy-line); height: 48px; padding-inline: 8px; display: grid; place-items: center; font-size: 18px; border-radius: 2px; transition: border-color .3s, background-color .3s; }
.ops-flow span:hover { border-color: var(--coral); background: rgba(249, 96, 103, .12); }
.ops-flow .arr { color: var(--coral); }
.ops-list { padding: 4px 25px 16px; }
.ops-list a { display: grid; grid-template-columns: 35px 1fr auto; align-items: center; padding: 26px 0 20px; border-bottom: 1px solid var(--line); color: var(--ink); transition: padding .3s var(--ease), color .3s; }
.ops-list a:hover { padding-inline-start: 8px; color: var(--coral); }
.ops-list a span:first-child { color: var(--coral); }
.ops-list a b { font-weight: 700; }

/* Solution blocks */
.sol { border-top: 1px solid var(--line-soft); padding-block: 72px 72px; }
.sol.dark { background: var(--navy); color: #fff; border-top: 0; }
.sol-grid { display: grid; grid-template-columns: 112px 1fr; }
.sol-num { font-family: var(--f-body); font-weight: 700; font-size: clamp(56px, 5.4vw, 78px); line-height: 1; color: var(--coral-soft); margin-top: 6px; }
.sol.dark .sol-num { color: #5b6a86; }
.sol .tag { text-transform: none; font-size: 16px; letter-spacing: 0; }
.sol h2 { color: var(--ink); font-size: clamp(32px, 3.4vw, 48px); line-height: 1.22; font-weight: 700; margin: 22px 0 28px; max-width: 640px; }
.sol.dark h2 { color: #fff; }
.sol p { line-height: 1.22; max-width: 1160px; }
.sol-flow { margin-top: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0 22px; color: var(--ink); font-weight: 700; display: flex; flex-wrap: wrap; gap: 6px 6px; align-items: center; }
.sol.dark .sol-flow { color: #fff; border-color: rgba(255, 255, 255, .7); }
.sol-flow .arr { color: var(--coral); }
.sol-meta { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; padding: 22px 0 6px; border-bottom: 1px solid var(--line); }
.sol.dark .sol-meta { border-color: rgba(255, 255, 255, .35); }
.sol-meta small { display: block; color: var(--coral); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
html[lang="ar"] .sol-meta small { letter-spacing: 0; }
.sol-fixes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.sol-fixes li { position: relative; padding-inline-start: 16px; font-size: 16px; line-height: 1.3; }
.sol-fixes li::before { content: ""; position: absolute; inset-inline-start: 0; top: .45em; width: 7px; height: 7px; background: var(--coral); border-radius: 2px; }
.sol-meta .chips { margin-top: 0; }
.sol-meta .chips span { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 700; font-size: 15px; }
.sol.dark .sol-meta .chips span { background: #fff; border-color: #fff; color: var(--navy); }
@media (max-width: 680px) { .sol-meta, .sol-fixes { grid-template-columns: 1fr; } }
.sol-foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 22px; }
.sol.dark .sol-foot > span { color: #fff; }
.brand-split { display: grid; grid-template-columns: 688fr 752fr; background: var(--mist); min-height: 540px; }
.brand-split .media { position: relative; overflow: hidden; }
.brand-split .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.brand-split .copy { align-self: center; padding: 48px 32px; }
.brand-split .ar { color: var(--coral); font-size: 16px; display: block; margin-bottom: 20px; }
.brand-split h2 { color: var(--ink); font-size: clamp(32px, 3.9vw, 56px); line-height: 1.2; text-transform: uppercase; font-weight: 700; }
.brand-split p { margin-top: 26px; }
.split-cta.alt .copy .tag { display: block; margin-bottom: 18px; }
.split-cta.alt h2 { line-height: 1.2; }
.split-cta.alt p.small { margin-top: 18px; }

/* ---------- Enterprise ---------- */
.ent-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1280 / 633; }
.ent-media img { width: 100%; height: 100%; object-fit: cover; }
.ent-label { position: absolute; inset-inline-start: 24px; bottom: 24px; background: #fff; border-radius: 8px; padding: 14px 18px; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .35); }
.ent-label small { color: var(--coral); font-size: 16px; display: block; }
.ent-label b { color: var(--ink); font-size: 18px; }
.stats { display: grid; grid-template-columns: repeat(4, auto); border-top: 1px solid var(--line); margin-top: 32px; }
.stats > div { padding: 24px 24px 26px 70px; border-inline-end: 1px solid var(--line); }
.stats > div:last-child { border-inline-end: 0; }
.stats b { color: var(--ink); font-size: 24px; font-weight: 400; display: block; margin-bottom: 18px; }
.stats > div > span { font-size: 16px; color: var(--text); }
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.prod { padding: 36px 22px 44px; }
.prod + .prod { border-inline-start: 1px solid var(--line); }
.prod .tag { font-size: 16px; }
.prod h3 { color: var(--ink); font-size: 24px; font-weight: 700; text-transform: uppercase; margin: 26px 0 26px; }
.prod > p { line-height: 1.22; margin-bottom: 18px; min-height: 44px; }
.ticks li { display: flex; gap: 8px; padding: 12px 0 10px; border-bottom: 1px solid var(--line); color: var(--ink); line-height: 1.22; }
.ticks li::before { content: "✓"; color: var(--coral); font-weight: 700; flex: 0 0 auto; }
.arch { display: grid; grid-template-columns: 450px 1fr; gap: 60px; }
.arch .eyebrow { font-size: 16px; text-transform: uppercase; }
.arch h3 { font-size: 24px; font-weight: 700; text-transform: uppercase; line-height: 1.6; margin-bottom: 30px; }
.arch p { line-height: 1.22; }
.data-path { border-top: 1px solid rgba(255, 255, 255, .3); margin-top: 48px; padding-top: 24px; line-height: 1.5; }
.data-path b { color: var(--coral); }
.layers > div { display: grid; grid-template-columns: 145px 270px 1fr; gap: 0; align-items: center; padding: 24px 0 22px; border-bottom: 1px solid rgba(255, 255, 255, .25); transition: background-color .3s; }
.layers > div:first-child { padding-top: 0; }
.layers > div:hover { background: rgba(255, 255, 255, .03); }
.layers span { color: var(--coral); }
.layers b { font-weight: 700; }
.layers p { line-height: 1.22; }
.sec-grid { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; }
.sec-grid h2 { color: var(--ink); font-size: clamp(32px, 3.4vw, 48px); line-height: 1.22; font-weight: 700; }
.sec-intro { padding-bottom: 14px; border-bottom: 1px solid var(--line); max-width: 760px; }
.sec-rows { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.sec-rows > div { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 18px 0 14px; border-bottom: 1px solid var(--line); align-items: center; }
.sec-rows b { color: var(--ink); font-weight: 700; }
.sec-rows p { line-height: 1.22; }
.white-section { background: #fff; }
.roll { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.roll > div { padding: 24px 24px 24px; border-inline-start: 1px solid var(--line); }
.roll > div:first-child { border-inline-start: 0; }
.roll .n { color: var(--coral); font-size: 24px; display: block; margin-bottom: 20px; }
.roll small { font-size: 16px; display: block; margin-bottom: 18px; color: var(--text); }
.roll h4 { color: var(--ink); font-size: 18px; font-weight: 700; margin-bottom: 18px; }
.roll p { font-size: 16px; line-height: 1.25; }
.quote-section { background: #f4f6f8; }
.two-col { display: grid; grid-template-columns: 474px 1fr; gap: 0; align-items: start; }
.two-col h2 { color: var(--ink); font-size: clamp(32px, 3.4vw, 48px); line-height: 1.22; font-weight: 700; }
blockquote { color: var(--ink); font-size: clamp(22px, 2.3vw, 32px); font-weight: 700; line-height: 1.22; }
.cite { margin-top: 24px; color: var(--coral); font-size: 16px; }
.contact-section { background: var(--mist); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; }
.contact-grid > div:last-child { border-inline-start: 1px solid var(--line); padding-inline-start: 32px; }
.contact-grid .eyebrow { font-size: 16px; text-transform: uppercase; }
.contact-grid h2 { color: var(--ink); font-size: clamp(30px, 3vw, 40px); line-height: 1.2; font-weight: 700; text-transform: uppercase; margin-bottom: 32px; }
.contact-grid p { line-height: 1.22; max-width: 600px; }
.contact-grid .btn-row { margin-top: 44px; }
.lines-label { display: block; margin-bottom: 30px; }
.lines > div { padding: 0 0 18px; border-bottom: 1px solid var(--line); }
.lines > div + div { margin-top: 30px; }
.lines b { color: var(--ink); display: block; }
.lines p { color: var(--ink); }
.lines a { color: var(--ink); transition: color .25s; }
.lines a:hover { color: var(--coral); }

/* ---------- Demo modal ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.modal.open { visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10, 28, 58, .55); opacity: 0; transition: opacity .35s; backdrop-filter: blur(4px); }
.modal.open .modal-backdrop { opacity: 1; }
.modal-card { position: relative; width: min(520px, 100%); max-height: calc(100dvh - 32px); overflow: auto; background: #fff; border-radius: 20px; padding: 32px; transform: translateY(24px) scale(.97); opacity: 0; transition: transform .45s var(--ease), opacity .3s; }
.modal.open .modal-card { transform: none; opacity: 1; }
.modal-card h3 { color: var(--ink); font-size: 26px; font-weight: 700; margin-bottom: 6px; padding-inline-end: 40px; }
.modal-card > p { margin-bottom: 22px; }
.modal-close { position: absolute; top: 16px; inset-inline-end: 16px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; color: var(--ink); transition: background-color .2s; }
.modal-close:hover { background: var(--sand); }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: 15px; color: var(--ink); font-weight: 700; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; height: 48px; border: 1px solid var(--line); border-radius: 8px; padding: 0 14px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
.field textarea { height: 90px; padding-top: 10px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--coral); box-shadow: 0 0 0 3px rgba(249, 96, 103, .18); }
.modal-card .btn { width: 100%; margin-top: 8px; }
.form-done { text-align: center; padding: 20px 0; }
.form-done .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; font-size: 30px; margin: 0 auto 16px; animation: pop .5s var(--ease); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Chatbot ---------- */
.chat-launch {
  position: fixed; right: 24px; bottom: 24px; z-index: 200;
  width: 64px; height: 64px; border-radius: 50%; background: var(--coral); color: #fff;
  display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(249, 96, 103, .9);
  transition: transform .35s var(--ease), background-color .3s;
}
.chat-launch:hover { transform: scale(1.07); background: var(--coral-d); }
.chat-launch svg { width: 28px; height: 28px; transition: transform .35s var(--ease), opacity .25s; position: absolute; }
.chat-launch .i-close { opacity: 0; transform: rotate(-90deg); }
.chat-open .chat-launch .i-chat { opacity: 0; transform: rotate(90deg); }
.chat-open .chat-launch .i-close { opacity: 1; transform: none; }
.chat-launch::before { content: ""; position: absolute; inset: 0; border-radius: 50%; animation: ring 2.6s infinite; }
.chat-open .chat-launch::before { animation: none; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(249, 96, 103, .5); } 70% { box-shadow: 0 0 0 16px rgba(249, 96, 103, 0); } 100% { box-shadow: 0 0 0 0 rgba(249, 96, 103, 0); } }
.chat-hint { position: fixed; right: 100px; bottom: 36px; z-index: 199; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 12px; font-size: 15px; box-shadow: 0 12px 30px -12px rgba(10, 28, 58, .35); opacity: 0; transform: translateX(8px); transition: opacity .4s, transform .4s var(--ease); pointer-events: none; }
.chat-hint.show { opacity: 1; transform: none; }
.chat-open .chat-hint { opacity: 0; }
.chat-panel {
  position: fixed; right: 24px; bottom: 100px; z-index: 200;
  width: min(380px, calc(100vw - 32px)); height: min(580px, calc(100dvh - 130px));
  background: #fff; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 30px 70px -20px rgba(10, 28, 58, .45);
  transform-origin: bottom right; transform: translateY(16px) scale(.92); opacity: 0; visibility: hidden;
  transition: transform .4s var(--ease), opacity .3s, visibility 0s .4s;
}
.chat-open .chat-panel { transform: none; opacity: 1; visibility: visible; transition: transform .4s var(--ease), opacity .3s, visibility 0s; }
.chat-head { background: var(--navy); color: #fff; padding: 18px 18px 16px; display: flex; align-items: center; gap: 12px; }
.chat-av { width: 42px; height: 42px; border-radius: 50%; background: var(--coral); display: grid; place-items: center; flex: 0 0 auto; position: relative; }
.chat-av::after { content: ""; position: absolute; right: 0; bottom: 1px; width: 11px; height: 11px; border-radius: 50%; background: var(--green); border: 2px solid var(--navy); }
.chat-head b { display: block; font-size: 17px; }
.chat-head small { font-size: 13px; opacity: .75; }
.chat-body { flex: 1; overflow-y: auto; padding: 18px 16px; background: var(--bg); display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 14px; font-size: 15.5px; line-height: 1.42; animation: msgIn .35s var(--ease); word-wrap: break-word; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.msg.bot { background: #fff; color: var(--ink); border: 1px solid var(--line-soft); border-end-start-radius: 4px; align-self: flex-start; }
.msg.user { background: var(--coral); color: #fff; border-end-end-radius: 4px; align-self: flex-end; }
.msg a { color: var(--coral); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.msg ul { list-style: disc; padding-inline-start: 18px; margin-top: 4px; }
.msg li + li { margin-top: 2px; }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; background: var(--bg); }
.chat-chips button { border: 1px solid var(--coral); color: var(--coral); border-radius: 999px; padding: 6px 12px; font-size: 13.5px; background: #fff; transition: background-color .2s, color .2s; }
.chat-chips button:hover { background: var(--coral); color: #fff; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line-soft); background: #fff; }
.chat-form input { flex: 1; min-width: 0; height: 44px; border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; font: inherit; font-size: 16px; color: var(--ink); }
.chat-form input:focus { outline: 0; border-color: var(--coral); }
.chat-form button { width: 44px; height: 44px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; flex: 0 0 auto; transition: background-color .2s, transform .2s; }
.chat-form button:hover { background: var(--coral-d); }
.chat-form button:active { transform: scale(.92); }
[dir="rtl"] .chat-form button svg { transform: scaleX(-1); }

/* ---------- Motion ---------- */
.page-fade { animation: pageIn .6s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
body.leaving main, body.leaving footer { opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.from-left { transform: translateX(-36px); }
.reveal.from-right { transform: translateX(36px); }
.reveal.zoom { transform: scale(.96); }
.reveal.in { opacity: 1; transform: none; }
.hero-media img { animation: heroZoom 1.8s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.line-draw i { transform: scaleX(0); transition: transform .9s var(--ease); }
.line-draw i:nth-of-type(2) { transition-delay: .25s; }
.line-draw i:nth-of-type(3) { transition-delay: .5s; }
.line-draw.in i { transform: scaleX(1); }
.lang-swap main, .lang-swap .nav-links, .lang-swap footer { animation: langFade .45s var(--ease); }
@keyframes langFade { from { opacity: .2; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Page fit: render desktop slightly zoomed out ---------- */
@media (min-width: 1025px) { html { zoom: 0.9; } }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .nav-links { gap: 22px; }
  .nav-links a { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .band-track { font-size: 17px; gap: 32px; }
  .layers > div { grid-template-columns: 70px 200px 1fr; }
  .arch { grid-template-columns: 1fr 1.4fr; }
  .stats > div { padding-inline-start: 24px; }
  .two-col { grid-template-columns: 1fr 1.4fr; gap: 40px; }
}

@media (max-width: 1024px) {
  :root { --nav-h: 76px; }
  .nav.scrolled .nav-inner { height: 68px; }
  .nav-links, .nav-actions .btn { display: none; }
  .nav-actions { margin-inline-start: auto; }
  .burger { display: block; }
  .mobile-menu { display: block; }
  .lang button { height: 38px; min-width: 52px; padding-inline: 10px; font-size: 14px; }
  .sol-tabs { top: 68px; }

  .hero-grid, .page-hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .ar-tag { margin-top: 24px; text-align: start; }
  .band-track { justify-content: flex-start; width: max-content; animation: marquee 28s linear infinite; }
  [dir="rtl"] .band-track { animation-name: marqueeRtl; }
  .band:hover .band-track { animation-play-state: paused; }
  .stack-card { grid-template-columns: 1fr; }
  .module-grid { margin-top: 24px; }
  .stack-col.dark .stack-total { margin-top: 28px; }
  .how-rows::before { display: none; }
  .reveal.from-left:not(.in), .reveal.from-right:not(.in) { transform: translateY(28px); }
  .how-grid { grid-template-columns: 1fr 1fr; }
  .how-feature { margin-top: 64px; }
  .how-row, .how-row.flip { grid-template-columns: 1fr; gap: 28px; }
  .how-row.flip .media { order: 0; }
  .how-row .copy, .how-row.flip .copy { padding: 0; }
  .how-row + .how-row { margin-top: 64px; }
  .hw-grid { grid-template-columns: 1fr 1fr; }
  .hw-card, .hw-card.wide { grid-column: span 1; }
  .hw-card.pop { margin-top: 0; }
  .hw-card.wide .hw-img { aspect-ratio: 361 / 227; }
  .ind-grid { grid-template-columns: 1fr; }
  .ind-hero { min-height: 480px; }
  .price-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .ss-extras { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .price-card.pop { margin-top: 0; }
  .price-card > p, .price-meta { min-height: 0; }
          .faq-head { grid-template-columns: 1fr; margin-bottom: 40px; }
  .split-cta, .brand-split { grid-template-columns: minmax(0, 1fr); }
  .split-cta .media, .brand-split .media { min-height: 340px; }
  .split-cta .media { margin-inline: 16px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .ops { grid-template-columns: 1fr; }
  .sol-grid { grid-template-columns: 1fr; }
  .sol-num { margin-bottom: 10px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(2) { border-inline-end: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .prod-grid { grid-template-columns: 1fr; }
  .prod + .prod { border-inline-start: 0; border-top: 1px solid var(--line); }
  .prod { padding: 40px 4px; }
  .arch, .sec-grid, .two-col, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .sec-rows { grid-template-columns: 1fr; }
  .contact-grid > div:last-child { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--line); padding-top: 32px; }
  .roll { grid-template-columns: 1fr 1fr; }
  .roll > div:nth-child(3) { border-inline-start: 0; }
  .roll > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marqueeRtl { from { transform: translateX(0); } to { transform: translateX(50%); } }

@media (max-width: 680px) {
  body { font-size: 17px; }
  .container { width: calc(100% - 32px); }
  .brand img { height: 28px; }
  .display { font-size: clamp(36px, 10vw, 44px); }
  .btn-row .btn { flex: 1 1 100%; }
  .seg-toggle { width: auto; }
  .seg-toggle button { flex: 1; padding-inline: 12px; font-size: 15px; }
  .btn { white-space: normal; height: auto; min-height: 52px; padding-block: 12px; text-align: center; line-height: 1.25; }
  .hero-media { aspect-ratio: 4 / 3; }
  .hero-grid { padding-bottom: 32px; }
  .steps { grid-template-columns: 1fr; }
  .sec-rows { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .lend-mini b { font-size: 24px; }
  .step { padding-bottom: 56px; }
  .step .num { font-size: 48px; }
  .sixty { grid-template-columns: 1fr; }
  .sixty .big { font-size: 110px; border-inline-end: 0; border-bottom: 1.5px solid rgba(255, 255, 255, .45); padding: 30px 0 18px; }
  .sixty .copy { padding: 28px 24px 30px; }
  .sixty p { font-size: 20px; }
  .flow-line { font-size: 13px; }
  .recon { grid-template-columns: 1fr; gap: 14px; }
  .recon > div:nth-child(2) { border-inline-start: 0; text-align: start; border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 14px; }
  .hw-grid { grid-template-columns: 1fr; }
  .pills span { flex-basis: calc(50% - 6px); font-size: 15px; }
  .ind-cards { grid-template-columns: 1fr; }
  .ind-card.coral { min-height: 160px; }
  .compare { min-width: 680px; }
      .faq-q { padding: 22px 16px; }
  .faq-q .ico { width: 40px; height: 40px; }
  .faq-a p { padding: 0 16px 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .footer .chips { flex-wrap: wrap; }
  .footer-bottom { margin-top: 48px; flex-direction: column; }
  .sol-tabs a, .sol-tabs a small { font-size: 16px; }
  .ops-flow span { height: 40px; font-size: 15px; }
  .ops-list a { grid-template-columns: 30px 1fr; row-gap: 4px; }
  .ops-list a span:last-child { grid-column: 2; color: var(--text); font-size: 15px; }
  .sol { padding-block: 52px; }
  .stats { grid-template-columns: 1fr; }
  .stats > div { border-inline-end: 0 !important; border-top: 1px solid var(--line); }
  .stats > div:first-child { border-top: 0; }
  .layers > div { grid-template-columns: 44px 1fr; row-gap: 8px; }
  .layers p { grid-column: 2; }
  .sec-rows > div { grid-template-columns: 1fr; gap: 6px; }
  .roll { grid-template-columns: 1fr; }
  .roll > div { border-inline-start: 0 !important; }
  .roll > div + div { border-top: 1px solid var(--line); }
  .ent-label { inset-inline-start: 12px; bottom: 12px; padding: 10px 12px; }
  .ent-media { aspect-ratio: 4 / 3; }
  .chat-launch { right: 16px; bottom: 16px; width: 58px; height: 58px; }
  .chat-panel { right: 16px; bottom: 86px; height: min(560px, calc(100dvh - 110px)); }
  .chat-hint { display: none; }
}

/* ---------- Legal pages ---------- */
.legal-hero { padding-bottom: 0; }
.legal-title { font-size: clamp(34px, 4.4vw, 54px); max-width: 900px; }
.legal-meta { margin-top: 20px; font-size: 16px; color: var(--muted); }
.legal-tabs { display: flex; gap: 8px; margin-top: 36px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.legal-tabs::-webkit-scrollbar { display: none; }
.legal-tabs a { flex: 0 0 auto; padding: 12px 18px 14px; color: var(--ink); font-weight: 700; position: relative; transition: color .25s; }
.legal-tabs a small { color: var(--coral); font-weight: 400; margin-inline-end: 8px; }
.legal-tabs a::after { content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 3px; background: var(--coral); transform: scaleX(0); transition: transform .35s var(--ease); }
.legal-tabs a:hover::after, .legal-tabs a.active::after { transform: scaleX(1); }
.legal-tabs a.active { color: var(--coral); }
.legal-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; }
.legal-toc { position: sticky; top: 104px; font-size: 16px; }
.legal-toc > span { display: block; color: var(--muted); text-transform: uppercase; font-size: 14px; margin-bottom: 14px; }
.legal-toc li + li { margin-top: 10px; }
.legal-toc a { color: var(--ink); border-inline-start: 2px solid var(--line-soft); padding-inline-start: 12px; display: block; transition: color .25s, border-color .25s; }
.legal-toc a:hover, .legal-toc a.active { color: var(--coral); border-color: var(--coral); }
.legal-article { max-width: 820px; }
.legal-summary { background: var(--coral-tint); border: 1px solid var(--coral-soft); border-inline-start: 4px solid var(--coral); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 44px; }
.legal-summary p { margin-top: 10px; color: var(--ink); font-size: 19px; line-height: 1.45; }
.legal-sec + .legal-sec { margin-top: 40px; }
.legal-sec h2 { color: var(--ink); font-size: 24px; font-weight: 700; margin-bottom: 14px; }
.legal-sec p, .legal-list li { line-height: 1.55; }
.legal-sec p + p, .legal-sec ul + p { margin-top: 14px; }
.legal-sec p + ul { margin-top: 12px; }
.legal-list li { position: relative; padding-inline-start: 22px; }
.legal-list li + li { margin-top: 10px; }
.legal-list li::before { content: ""; position: absolute; inset-inline-start: 4px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.legal-list b { color: var(--ink); }
.legal-contact { margin-top: 40px; padding: 18px 20px; background: #fff; border: 1px solid var(--line-soft); border-radius: 12px; }
.legal-contact a, .legal-sec a { color: var(--coral); font-weight: 700; }
.legal-pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); }
.legal-pager a { color: var(--coral); font-weight: 700; display: inline-flex; gap: 8px; transition: gap .25s var(--ease); }
.legal-pager a:hover { gap: 14px; }
.legal-top { display: inline-flex; gap: 6px; margin-top: 24px; font-size: 15px; color: var(--muted); }
.legal-top:hover { color: var(--coral); }
.legal-cta { padding-top: 0; }
.legal-cta-inner { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 44px 40px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.legal-cta-inner h2 { font-size: clamp(26px, 2.6vw, 32px); font-weight: 700; margin: 10px 0 12px; }
.legal-cta-inner p { max-width: 640px; line-height: 1.45; opacity: .9; }
.btn-outline-white { border: 1.5px solid rgba(255, 255, 255, .85); color: #fff; }
.btn-outline-white:hover { background: #fff; color: var(--navy); transform: translateY(-2px); }
@media (max-width: 1024px) {
  .legal-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .legal-toc { display: none; }
  .legal-cta-inner { grid-template-columns: 1fr; padding: 32px 24px; }
}

/* ---------- Book-a-demo lead form (modal) ---------- */
.lf-modal [hidden] { display: none !important; }
.lf-modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.lf-modal.open { visibility: visible; }
.lf-backdrop { position: absolute; inset: 0; background: rgba(10, 28, 58, .55); backdrop-filter: blur(4px); opacity: 0; transition: opacity .35s; }
.lf-modal.open .lf-backdrop { opacity: 1; }
.lf-sheet { position: relative; width: min(768px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; background: #fff; border-radius: 24px; box-shadow: 0 30px 80px -20px rgba(10, 28, 58, .5); transform: translateY(24px) scale(.97); opacity: 0; transition: transform .45s var(--ease), opacity .3s; color: var(--ink); font-family: var(--f-body); }
.lf-modal.open .lf-sheet { transform: none; opacity: 1; }
.lf-sheet[dir="rtl"] { font-family: var(--f-ar); }
.lf-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 26px 0; }
.lf-logo { height: 30px; width: auto; }
.lf-head-right { display: flex; align-items: center; gap: 8px; }
.lf-langs { display: flex; padding: 3px; border: 1px solid var(--line-soft); border-radius: 999px; background: var(--sky); }
.lf-lang { min-height: 32px; padding: 0 12px; border-radius: 999px; color: var(--muted); font-size: 12px; font-weight: 800; }
.lf-lang.active { color: var(--ink); background: #fff; box-shadow: 0 1px 5px rgba(19, 33, 58, .12); }
.lf-x { width: 38px; height: 38px; border-radius: 50%; font-size: 24px; line-height: 1; color: var(--ink); transition: background-color .2s; }
.lf-x:hover { background: var(--sand); }
.lf-progress-wrap { padding: 14px 26px 6px; }
.lf-progress-head { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.lf-meta { color: var(--muted); font-size: 12px; font-weight: 700; }
.lf-progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.lf-progress i { height: 5px; border-radius: 99px; background: #eee9f5; transition: background-color .4s; }
.lf-progress i.done, .lf-progress i.now { background: var(--coral); }
.lf-step { padding: 22px 26px 0; animation: lfIn .4s var(--ease); }
@keyframes lfIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.lf-back { margin-bottom: 10px; }
.lf-text { padding: 6px 0; color: var(--ink); font-size: 14px; font-weight: 800; }
.lf-text::before { content: "← "; }
[dir="rtl"] .lf-text::before { content: "→ "; }
.lf-eyebrow { margin: 0 0 10px; color: var(--coral); font-size: 11px; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
[dir="rtl"] .lf-eyebrow { letter-spacing: 0; font-size: 13px; }
.lf-step h2, .lf-complete h2 { color: var(--ink); font-size: clamp(28px, 6vw, 38px); line-height: 1.08; letter-spacing: -.03em; font-weight: 700; outline: none; }
[dir="rtl"] .lf-step h2, [dir="rtl"] .lf-complete h2 { line-height: 1.4; letter-spacing: 0; }
.lf-accent { color: var(--coral); font-style: italic; font-weight: 500; }
[dir="rtl"] .lf-accent { font-style: normal; }
.lf-sub { margin-top: 10px; color: var(--muted); font-size: 16px; line-height: 1.45; }
.lf-hero { margin: 18px 0 22px; padding: 12px; display: flex; justify-content: center; border: 1px solid var(--line-soft); border-radius: 16px; background: linear-gradient(135deg, #f3f5f9, #fdeeee); }
.lf-hero img { width: 100%; max-height: 200px; object-fit: contain; border-radius: 10px; }
.lf-field { display: grid; gap: 8px; margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.lf-label, .lf-field legend { color: var(--ink); font-size: 15px; font-weight: 800; padding: 0; }
.lf-field legend { margin-bottom: 10px; }
.lf-req { color: var(--coral); }
.lf-sheet input[type=text], .lf-sheet input[type=tel], .lf-sheet textarea { width: 100%; min-height: 54px; padding: 14px 15px; color: var(--ink); border: 1px solid var(--line); border-radius: 13px; background: #fff; font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.lf-sheet textarea { min-height: 100px; resize: vertical; line-height: 1.35; }
.lf-sheet input::placeholder, .lf-sheet textarea::placeholder { color: #a39cae; }
.lf-sheet input:focus, .lf-sheet textarea:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(10, 28, 58, .09); }
.lf-phone { display: flex; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: #fff; direction: ltr; }
.lf-phone:focus-within { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(10, 28, 58, .09); }
.lf-prefix { display: flex; align-items: center; padding: 0 13px; border-inline-end: 1px solid var(--line); color: var(--ink); background: #fcfbff; font-weight: 800; white-space: nowrap; }
.lf-phone input { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; min-width: 0; }
.lf-err { min-height: 16px; margin-top: -2px; color: #b42318; font-size: 12px; font-weight: 700; }
.lf-same { display: flex; align-items: center; gap: 9px; margin: -4px 0 18px; font-size: 13px; font-weight: 800; cursor: pointer; }
.lf-same input, .lf-consent input { width: 18px; height: 18px; margin: 0; accent-color: var(--navy); flex: 0 0 auto; }
.lf-choices { display: grid; gap: 9px; }
.lf-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lf-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lf-choice, .lf-card { position: relative; display: block; cursor: pointer; }
.lf-choice input, .lf-card input { position: absolute; opacity: 0; pointer-events: none; }
.lf-choice span { min-height: 54px; padding: 10px 12px; display: flex; align-items: center; justify-content: center; color: var(--ink); border: 1px solid var(--line); border-radius: 13px; background: #fff; font-size: 14px; font-weight: 800; line-height: 1.22; text-align: center; transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s; }
.lf-choice:hover span, .lf-card:hover .lf-card-body { border-color: var(--navy); }
.lf-choice.selected span, .lf-choice input:checked + span { color: #fff; border-color: var(--navy); background: var(--navy); box-shadow: 0 5px 12px rgba(10, 28, 58, .16); }
.lf-choice input:focus-visible + span, .lf-card input:focus-visible + .lf-card-body { outline: 3px solid rgba(249, 96, 103, .4); outline-offset: 2px; }
.lf-long span { justify-content: flex-start; text-align: start; padding-inline-start: 15px; }
.lf-long.selected span::before { content: "✓"; margin-inline-end: 8px; }
.lf-stack { display: grid; gap: 9px; }
.lf-card-body { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: 13px; background: #fff; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.lf-card-body strong { display: block; font-size: 15px; font-weight: 800; }
.lf-card-body small { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; font-weight: 600; }
.lf-card input:checked + .lf-card-body { border-color: var(--navy); background: #f1f3f7; box-shadow: 0 5px 12px rgba(10, 28, 58, .14); }
.lf-prio-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.lf-counter { color: var(--muted); font-size: 12px; font-weight: 700; white-space: nowrap; }
.lf-consent { display: flex; align-items: flex-start; gap: 9px; margin: 16px 0 6px; color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.lf-consent a { color: var(--ink); font-weight: 800; text-decoration: underline; }
.lf-actions { position: sticky; bottom: 0; z-index: 2; display: grid; gap: 9px; margin: 8px -26px 0; padding: 14px 26px max(16px, env(safe-area-inset-bottom)); border-top: 1px solid #ece6f0; background: rgba(255, 255, 255, .95); backdrop-filter: blur(12px); }
.lf-nudge { color: var(--muted); font-size: 12px; line-height: 1.4; text-align: center; }
.lf-btn { min-height: 52px; padding: 12px 16px; border-radius: 13px; font-size: 15px; font-weight: 900; transition: transform .2s, background-color .2s; }
.lf-btn:hover { transform: translateY(-1px); }
.lf-btn:disabled { cursor: wait; opacity: .62; transform: none; }
.lf-primary { color: #fff; background: var(--coral); box-shadow: 0 8px 18px rgba(249, 96, 103, .24); }
.lf-primary:hover { background: var(--coral-d); }
.lf-secondary { color: var(--ink); border: 1px solid #c6ccd8; background: #fff; }
.lf-status { min-height: 18px; font-size: 13px; font-weight: 700; line-height: 1.35; text-align: center; }
.lf-status.error { color: #b42318; }
.lf-status a { color: var(--coral); text-decoration: underline; text-underline-offset: 2px; }
.lf-complete { min-height: 420px; padding: 42px 26px 36px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.lf-mark { width: 62px; height: 62px; margin-bottom: 18px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #10a37f; font-size: 30px; animation: pop .5s var(--ease); }
.lf-complete p { margin-top: 14px; color: var(--muted); line-height: 1.45; }
.lf-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
@media (max-width: 620px) {
  .lf-modal { padding: 0; place-items: end center; }
  .lf-sheet { max-height: 100dvh; border-radius: 20px 20px 0 0; }
  .lf-head, .lf-progress-wrap, .lf-step { padding-inline: 18px; }
  .lf-actions { margin-inline: -18px; padding-inline: 18px; }
}
@media (max-width: 380px) { .lf-three { grid-template-columns: 1fr; } }

/* ---------- UAE Dirham symbol (CBUAE) ---------- */
/* Drawn from assets/dirham.svg as a mask, so it takes the colour of the text around it. */
.dh {
  display: inline-block;
  width: 0.92em;
  height: 0.8em;
  background-color: currentColor;
  -webkit-mask: url(../assets/dirham.svg) no-repeat center / contain;
  mask: url(../assets/dirham.svg) no-repeat center / contain;
  vertical-align: -0.04em;
  margin-inline-end: 0.14em;
}

/* Enterprise: business case + ERP */
.bc-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; }
.bc-table td:first-child { color: var(--ink); font-weight: 700; width: 34%; }
.bc-table th:last-child, .bc-table td:last-child { text-align: start; }
.bc-table td.yc { font-weight: 700; }
.bc-table th:last-child .cmp-logo { margin-inline-start: 0; display: inline-block; }
.erp-card { background: var(--coral); color: #fff; border-radius: var(--radius); padding: 26px 24px; }
.erp-card .tag { color: #fff; }
.erp-card .chips { flex-wrap: nowrap; gap: 6px; }
.erp-card .chips span { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .55); color: #fff; font-weight: 700; font-size: 13px; padding: 6px 8px; white-space: nowrap; }
@media (max-width: 520px) { .erp-card .chips { flex-wrap: wrap; } }
.erp-card p { margin-top: 18px; line-height: 1.4; }
@media (max-width: 1024px) { .bc-grid { grid-template-columns: 1fr; } }

/* Full-bleed split sections: keep the slide-in copy from widening the page before it reveals */
.split-cta, .brand-split { overflow: hidden; }

/* Compare: three equal brand columns, everything centred */
#compare .compare { table-layout: fixed; }
#compare .compare td:first-child, #compare .compare th:first-child { width: 37%; }
#compare .compare th:not(:first-child), #compare .compare td:not(:first-child) { text-align: center; }
#compare .compare th .cmp-logo { display: block; margin-inline: auto; }

/* Which package fits you: centred columns, 30% tighter rows */
.setup-table th, .setup-table td { padding-block: 15px 11px; }
.setup-table th { padding-block: 18px 14px; }
.setup-table th:not(:first-child), .setup-table td:not(:first-child) { text-align: center; }

/* Pricing: badge no longer pushes the Most popular card's text down */
.price-card { position: relative; }
.price-card .badge { position: absolute; top: 14px; inset-inline-end: 14px; margin: 0; padding: 8px 10px; font-size: 13px; }
.price-card.pop { margin-top: 0; padding-top: 30px; }
.price-card > p:not(.price-note):not(.price-meta) { min-height: 66px; }

/* Add-ons: icon + heading + one line on the left, price on the right */
.addons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border: 0; background: none; overflow: visible; }
.addon { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 16px; padding: 16px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s, background-color .3s, transform .3s var(--ease); }
.addon:hover { border-color: var(--coral); background: var(--coral-tint); transform: translateY(-2px); }
.addon-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--coral-tint); display: grid; place-items: center; }
.addon-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--coral); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.addon h4 { color: var(--ink); font-size: 18px; font-weight: 700; margin: 0 0 2px; }
.addon p { color: var(--text); font-size: 15px; line-height: 1.3; }
.addon-price { color: var(--coral); font-weight: 700; font-size: 16px; text-align: end; white-space: nowrap; }
@media (max-width: 1024px) { .addons { grid-template-columns: minmax(0, 1fr); } }
.addon, .addon-body { min-width: 0; }
@media (max-width: 520px) { .addon { grid-template-columns: 40px minmax(0, 1fr); } .addon-price { grid-column: 2; text-align: start; white-space: normal; } }

/* FAQ: 50% tighter rows */
.faq-q { padding: 16px 24px; }
.faq-a p { padding: 0 24px 16px; }
.faq-q .ico { width: 40px; height: 40px; }

/* Last section never touches the footer */
main > section:last-child { margin-bottom: clamp(40px, 5vw, 72px); }

/* Group card: stat + description fill the card */
.ind-card.coral .g-stat { font-weight: 700; font-size: 18px; }
.ind-card.coral .g-desc { margin-top: 10px; font-size: 16px; line-height: 1.4; opacity: .92; }

/* Fit to screen: hero image sized so headline and buttons stay in view */
.hero-media { aspect-ratio: auto; height: clamp(240px, calc(100svh - 380px), 622px); }
.ent-media { aspect-ratio: auto; height: clamp(240px, calc(100svh - 360px), 633px); }
.price-card > p.price-note { min-height: 0; margin-top: 8px; }
.price-card > p.price-meta { min-height: 0; margin-top: 12px; }
.price-card > p:not(.price-note):not(.price-meta) { margin-top: 14px; min-height: 44px; }

/* The headache: costs in two columns so both totals sit higher; modules fill the youcloud side */
.cost-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.cost-list li { padding: 15px 0; font-size: 19px; }
.stack-col { padding: 34px 30px 28px; }
.stack-total { align-items: baseline; padding: 22px 0 4px; border-bottom: 0; margin-top: 6px; font-size: 20px; }
.stack-total > span:last-child { font-family: var(--f-display); font-weight: 500; font-size: 40px; line-height: 1; color: var(--coral); }
.stack-col.dark .stack-total > span:last-child { color: #fff; font-size: 46px; }
.module-grid { flex: 1; grid-auto-rows: 1fr; gap: 12px; margin-top: 22px; margin-bottom: 8px; }
.module-grid span { height: auto; min-height: 58px; font-size: 19px; border-radius: 10px; }
.module-grid svg { width: 22px; height: 22px; }
@media (max-width: 680px) { .cost-list { grid-template-columns: 1fr; } .stack-total > span:last-child { font-size: 32px; } }

/* Compare: tint the youcloud column */
#compare .compare th:nth-child(2), #compare .compare td:nth-child(2) { background: var(--coral-tint); }
#compare .compare thead th:nth-child(2) { border-radius: 14px 14px 0 0; }
#compare .compare tbody tr:last-child td:nth-child(2) { border-radius: 0 0 14px 14px; }

/* Which package fits you: thumbnails, tighter rows */
.setup-table th, .setup-table td { padding-block: 9px 8px; }
.setup-table th { padding-block: 14px 12px; }
.su-biz { display: flex; align-items: center; gap: 14px; }
.su-biz img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: 0 0 auto; }
.su-biz small { display: block; }

/* Lending photo: show the whole frame (head, loan pop-up and the device) */
#lending .media { aspect-ratio: 1147 / 959; }
#lending .media img { object-position: center top; }
@media (max-width: 1024px) { .ss-extras { grid-template-columns: 1fr; } .ss-pay { grid-template-columns: 1fr; } }
.cost-list li { gap: 12px; align-items: baseline; }
.cost-list li b { white-space: nowrap; flex: 0 0 auto; }

/* Headache totals: "/month" suffix */
.stack-total > span:last-child small { font-family: var(--f-body); font-size: 18px; font-weight: 700; margin-inline-start: 4px; }

/* Compare: tighter rows */
#compare .compare th, #compare .compare td { padding-block: 11px 9px; }
#compare .compare th { padding-block: 16px 14px; }

/* Which package fits you: thumbnail column between business and package */
.setup-table .su-thumb { width: 76px; text-align: center; padding-inline: 8px; }
.setup-table .su-thumb img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; display: block; margin-inline: auto; }
.setup-table td:first-child small { display: block; }

/* Payment rates note: navy highlight */
.rates-note { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 16px 20px; margin-top: 16px; font-size: 16px; line-height: 1.45; }

/* Compare: single-line rows (sub-label beside the feature name) */
#compare .compare th, #compare .compare td { padding-block: 9px 8px; }
#compare .compare th { padding-block: 13px 12px; }
#compare .compare td:first-child small { display: inline; margin: 0; margin-inline-start: 10px; font-size: 15px; color: var(--muted); }

/* Which package fits you: even columns, thumbnail centred in its own column */
.setup-table { table-layout: fixed; }
.setup-table th:nth-child(1), .setup-table td:nth-child(1) { width: 25%; }
.setup-table .su-thumb { width: 13%; padding-inline: 0; text-align: center; }
.setup-table th:nth-child(3), .setup-table td:nth-child(3) { width: 21%; }
.setup-table th:nth-child(4), .setup-table td:nth-child(4) { width: 18%; }
.setup-table th:nth-child(5), .setup-table td:nth-child(5) { width: 23%; }
.setup-table .su-thumb img { margin-inline: auto; }
.setup-table td.su-thumb, .setup-table th.su-thumb { padding-left: 0; padding-right: 0; }
.setup-table td.su-thumb img { margin-left: auto; margin-right: auto; }

/* Tighter rhythm on the Solutions blocks and the closing gap */
.sol { padding-block: 50px; }
main > section:last-child { margin-bottom: clamp(28px, 3.5vw, 50px); }
.footer { padding: 56px 0 36px; }
.footer-bottom { margin-top: 48px; justify-content: center; text-align: center; }

/* Enterprise: product lists on one line each; compact table and security rows */
.prod { padding-inline: 20px; }
.prod .ticks li { font-size: 16px; padding: 10px 0 9px; }
@media (min-width: 1025px) { html:not([lang="ar"]) .prod .ticks li { white-space: nowrap; } }
.bc-table th, .bc-table td { padding-block: 9px 8px; }
.bc-table th { padding-block: 13px 12px; }
.sec-rows > div { padding: 9px 0 8px; }
@media (max-width: 1024px) { .prod .ticks li { white-space: normal; } }

/* Side slide-ins need page margins wider than the slide; below that, slide up instead */
@media (max-width: 1400px) { .reveal.from-left:not(.in), .reveal.from-right:not(.in) { transform: translateY(28px); } }

/* Trust band: show items once when they fit; otherwise loop (class set by fitBands in main.js) */
.band-track .band-dup { display: none; }
.band-track.marquee { justify-content: flex-start; width: max-content; animation: marquee 30s linear infinite; }
.band-track.marquee .band-dup { display: inline-flex; }
[dir="rtl"] .band-track.marquee { animation-name: marqueeRtl; }
.band:hover .band-track.marquee { animation-play-state: paused; }
@media (max-width: 1024px) { .band-track .band-dup { display: inline-flex; } }
html[lang="ar"] .band-track { font-size: 17px; gap: 28px; }
html[lang="ar"] .band.thin .band-track { font-size: 16px; }
