:root {
  --navy-950: #0A1242;
  --navy-900: #0B1A4E;
  --navy-850: #0C2158;
  --navy-800: #0D2761;
  --teal-700: #0B7F68;
  --teal-600: #0E9E82;
  --cyan: #17C9A5;
  --cyan-soft: #6FD9CA;
  --white: #ffffff;
  --text: #0A1242;
  --muted: #5B6B80;
  --muted-2: #7C8BA0;
  --text-on-dark: #FBFAF7;
  --muted-on-dark: #C9D3E4;
  --muted2-on-dark: #9FB0C6;
  --surface-tint-bg: rgba(10, 18, 66, 0.05);
  --surface-tint-border: rgba(10, 18, 66, 0.16);
  --panel: #ffffff;
  --panel-strong: #ffffff;
  --border: rgba(10, 18, 66, 0.14);
  --border-soft: rgba(10, 18, 66, 0.10);
  --shadow: 0 20px 50px rgba(10, 18, 66, 0.12);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --container: 1240px;
  --header-h: 86px;
  --page-bg: #FBFAF7;
}
/* Containers that stay solid dark navy on purpose (nav, hero, emphasis/CTA panels, timeline
   steps) redeclare text/muted + the tint pair locally, so every var(--text)/var(--muted)/
   var(--surface-tint-*) rule nested inside auto-resolves to the on-dark values via cascade --
   no need to touch each individual nested selector. */
.site-header, .hero-cover, .page-hero, .feature-panel, .contact-card, .cta-panel,
.footer, .site-footer, .nav-wrap, .lifecycle-step, .floating-card, .hero-mini-visual {
  --text: var(--text-on-dark);
  --muted: var(--muted-on-dark);
  --muted-2: var(--muted2-on-dark);
  --surface-tint-bg: rgba(255, 255, 255, 0.07);
  --surface-tint-border: rgba(255, 255, 255, 0.18);
  /* color inherits as a resolved literal, not a live var() -- body's `color: var(--text)`
     only re-evaluates where var(--text) is actually used, so a bare h1/p with no color rule
     of its own would otherwise keep body's light-page ink instead of picking up the override
     above. Setting color here (using that same override) makes plain inheritance work too. */
  color: var(--text);
}

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap');
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "IBM Plex Sans Arabic", "IBM Plex Sans", "Segoe UI", Tahoma, Arial, sans-serif;
  font-weight: 500;
  background:
    radial-gradient(circle at 90% 7%, rgba(14, 158, 130, 0.05), transparent 20rem),
    radial-gradient(circle at 12% 83%, rgba(10, 18, 66, 0.04), transparent 22rem),
    var(--page-bg);
  overflow-x: hidden;
}
body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -1;
}
body::before {
  width: 760px;
  height: 760px;
  top: -230px;
  inset-inline-end: -150px;
  background-image: radial-gradient(circle, rgba(14, 158, 130, 0.45) 1.6px, transparent 1.8px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 70%);
  mask-image: radial-gradient(circle, #000 0%, transparent 70%);
  opacity: 0.55;
}
body::after {
  width: 270px;
  height: 300px;
  bottom: 90px;
  inset-inline-start: 0;
  background-image: radial-gradient(circle, rgba(14, 158, 130, 0.40) 1.4px, transparent 1.6px);
  background-size: 15px 15px;
  opacity: 0.50;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }
.skip-link { position: absolute; top: 10px; left: -9999px; z-index: 999; padding: 10px 14px; color: #00192e; background: #fff; border-radius: 10px; }
.skip-link:focus { left: 10px; }
.lang-ar, .lang-en { display: none; }
.lang-inline-ar, .lang-inline-en { display: none; }
body.lang-ar-active .lang-ar { display: block; }
body.lang-en-active .lang-en { display: block; }
body.lang-ar-active .lang-inline-ar { display: inline; }
body.lang-en-active .lang-inline-en { display: inline; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(10, 18, 66, 0.94);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
}
.header-inner {
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: 230px 1fr 252px;
  align-items: center;
  gap: 18px;
}
.brand { display: inline-flex; align-items: center; width: fit-content; }
.brand img { width: 188px; height: auto; }
.nav-wrap { display: flex; justify-content: center; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 8px; }
.main-nav a {
  padding: 12px 17px;
  color: var(--muted);
  font-weight: 700;
  border-radius: 999px;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}
.main-nav a:hover,
.main-nav a.active { color: var(--white); background: rgba(255,255,255,0.10); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05); }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 21px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  line-height: 1;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #0A1242; background: linear-gradient(135deg, var(--cyan-soft), var(--cyan)); box-shadow: 0 14px 26px rgba(14,158,130,0.24); }
.btn-secondary { color: var(--text); background: var(--surface-tint-bg); border: 1px solid var(--surface-tint-border); }
.btn-small { min-height: 42px; padding: 0 16px; font-size: .94rem; }
.lang-toggle, .menu-toggle { min-width: 104px; color: var(--text); background: var(--surface-tint-bg); border: 1px solid var(--surface-tint-border); }
.menu-toggle { display: none; min-width: 46px; font-size: 1.25rem; }

.hero {
  position: relative;
  padding: 0 0 54px;
}
.hero-cover {
  min-height: calc(100vh - var(--header-h));
  max-height: 820px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(2, 18, 38, .98) 0%, rgba(3, 28, 52, .95) 37%, rgba(6, 76, 98, .82) 70%, rgba(10, 125, 145, .72) 100%),
    radial-gradient(circle at 84% 22%, rgba(14,158,130,.28), transparent 20rem),
    linear-gradient(135deg, var(--navy-950), var(--navy-800) 55%, var(--teal-600));
  border-bottom: 1px solid rgba(23,201,165,.18);
}
.hero-cover::before,
.page-hero::before,
.cta-panel::before {
  content: "";
  position: absolute;
  width: 680px;
  height: 680px;
  top: -160px;
  inset-inline-end: -120px;
  background-image: radial-gradient(circle, rgba(23,201,165,.55) 1.7px, transparent 1.9px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 68%);
  mask-image: radial-gradient(circle, #000 0%, transparent 68%);
  opacity: .6;
}
.hero-cover::after,
.page-hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 380px;
  inset-inline-start: 0;
  top: 18%;
  background-image: radial-gradient(circle, rgba(14,158,130,.42) 1.5px, transparent 1.7px);
  background-size: 15px 15px;
  opacity: .46;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, .98fr);
  align-items: center;
  gap: clamp(26px, 4vw, 58px);
  padding: clamp(50px, 8vw, 90px) 0;
}
.hero-copy { max-width: 730px; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  color: var(--cyan-soft);
  border: 1px solid rgba(14,158,130,.25);
  background: rgba(14,158,130,.10);
  border-radius: 999px;
  font-weight: 800;
}
h1, h2, h3, p { margin-top: 0; }
.hero h1 {
  margin: 20px 0 16px;
  font-size: clamp(2.65rem, 5.8vw, 5.5rem);
  line-height: 1.08;
  letter-spacing: -1px;
}
.accent { color: var(--cyan); }
.hero p, .lead {
  color: var(--muted);
  line-height: 1.95;
  font-size: clamp(1.06rem, 1.55vw, 1.27rem);
  max-width: 800px;
}
.hero-actions,
.cta-row,
.quick-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.pill-list span {
  padding: 11px 15px;
  color: var(--muted);
  background: rgba(255,255,255,.065);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  font-weight: 700;
}
.hero-visual { position: relative; }
.device-stage { position: relative; transform: perspective(1200px) rotateY(-4deg); }
body.lang-ar-active .device-stage { transform: perspective(1200px) rotateY(4deg); }
.device-stage::before {
  content: "";
  position: absolute;
  left: 6%; right: 6%; bottom: 2%; height: 28px;
  border-radius: 50%;
  background: rgba(14,158,130,.32);
  filter: blur(18px);
}
.device-stage img { position: relative; z-index: 1; width: 100%; filter: drop-shadow(0 30px 70px rgba(0,0,0,.42)); }
.floating-card {
  position: absolute;
  z-index: 2;
  bottom: 10%;
  inset-inline-start: -8%;
  width: min(260px, 42%);
  padding: 18px;
  border-radius: 22px;
  background: rgba(3, 28, 52, .80);
  border: 1px solid rgba(23,201,165,.26);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.floating-card strong { display: block; color: var(--white); margin-bottom: 8px; font-size: 1.04rem; }
.floating-card span { color: var(--muted); line-height: 1.6; font-size: .92rem; }

.section { position: relative; padding: 68px 0; }
.section.alt { background: rgba(10, 18, 66, .035); border-block: 1px solid rgba(10,18,66,.07); }
.section-title { max-width: 860px; margin-bottom: 30px; }
.section-title.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-block; color: var(--cyan-soft); font-weight: 900; margin-bottom: 10px; }
.section-title h2, .page-hero h1 { font-size: clamp(2rem, 4vw, 3.75rem); line-height: 1.15; margin-bottom: 12px; }
.section-title p { color: var(--muted); font-size: 1.08rem; line-height: 1.9; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card, .panel, .resource-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.card { padding: 24px; }
.card::after, .resource-card::after {
  content: "";
  position: absolute;
  inset-inline-end: -60px;
  top: -60px;
  width: 170px;
  height: 170px;
  background: radial-gradient(circle, rgba(14,158,130,.18), transparent 66%);
  pointer-events: none;
}
.card h3, .resource-card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.card p, .resource-card p, .check-list li { color: var(--muted); line-height: 1.85; }
.icon-badge {
  width: 54px; height: 54px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--cyan-soft);
  font-weight: 900;
  border-radius: 18px;
  border: 1px solid rgba(14,158,130,.30);
  background: rgba(14,158,130,.10);
  margin-bottom: 18px;
}
.problem-card { min-height: 260px; }
.feature-band {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 24px;
  align-items: stretch;
}
.feature-panel {
  padding: clamp(26px, 4vw, 44px);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(10,18,66,.97), rgba(11,127,104,.55)),
    radial-gradient(circle at 15% 85%, rgba(23,201,165,.16), transparent 22rem);
  border: 1px solid rgba(23,201,165,.22);
  box-shadow: var(--shadow);
}
.feature-panel h2 { font-size: clamp(2rem, 4vw, 4rem); line-height: 1.18; margin-bottom: 14px; }
.check-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-inline-start: 34px; }
.check-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .55em;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(14,158,130,.12);
}
.lifecycle { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.lifecycle-step {
  padding: 22px 16px;
  min-height: 124px;
  text-align: center;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(10,18,66,.97), rgba(11,127,104,.5));
  border: 1px solid rgba(23,201,165,.20);
}
.lifecycle-step strong { display: block; color: var(--cyan-soft); font-size: 1.25rem; margin-bottom: 8px; }
.lifecycle-step span { color: var(--muted); line-height: 1.6; }
.page-hero { position: relative; overflow: hidden; padding: 88px 0 56px; background: linear-gradient(135deg, rgba(10,18,66,.97), rgba(11,127,104,.55)); border-bottom: 1px solid rgba(255,255,255,.07); }
.page-hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 34px; }
.page-hero p { color: var(--muted); line-height: 1.9; font-size: 1.12rem; max-width: 780px; }
.hero-mini-visual { border-radius: 32px; padding: 26px; border: 1px solid rgba(23,201,165,.22); background: rgba(255,255,255,.055); box-shadow: var(--shadow); }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.metric { padding: 18px; border-radius: 20px; background: rgba(255,255,255,.065); border: 1px solid rgba(255,255,255,.12); }
.metric strong { display: block; color: var(--cyan-soft); font-size: 1.18rem; margin-bottom: 8px; }
.metric span { display: block; color: var(--muted); line-height: 1.55; }
.table-wrap { overflow-x: auto; border-radius: 24px; border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; min-width: 760px; background: #ffffff; }
th, td { padding: 18px 20px; text-align: start; border-bottom: 1px solid rgba(10,18,66,.08); vertical-align: top; }
th { color: var(--navy-950); font-weight: 900; background: rgba(14,158,130,.08); }
td { color: var(--muted); line-height: 1.75; }
tr:last-child td { border-bottom: 0; }
.cta-panel { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 46px); border-radius: var(--radius-xl); border: 1px solid rgba(23,201,165,.24); background: linear-gradient(120deg, rgba(10,18,66,.97), rgba(11,127,104,.6)); box-shadow: var(--shadow); }
.cta-panel > * { position: relative; z-index: 2; }
.resource-card { padding: 26px; }
.qr-box { width: min(260px, 100%); padding: 16px; border-radius: 22px; background: #fff; margin-top: 18px; }
.qr-box img { width: 100%; height: auto; }
.footer { padding: 34px 0; border-top: 1px solid rgba(255,255,255,.08); background: rgba(10,18,66,.92); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--muted); font-size: .96rem; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); font-weight: 900; }
.footer-brand img { width: 38px; height: 38px; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

body.lang-en-active { direction: ltr; }
body.lang-ar-active { direction: rtl; }
body.lang-ar-active .main-nav,
body.lang-ar-active .header-actions,
body.lang-ar-active .hero-actions,
body.lang-ar-active .cta-row,
body.lang-ar-active .quick-actions { direction: rtl; }
body.lang-en-active .main-nav,
body.lang-en-active .header-actions,
body.lang-en-active .hero-actions,
body.lang-en-active .cta-row,
body.lang-en-active .quick-actions { direction: ltr; }

@media (max-width: 1080px) {
  .header-inner { grid-template-columns: 185px 1fr 214px; }
  .brand img { width: 160px; }
  .main-nav a { padding: 11px 12px; }
  .hero-inner, .page-hero-inner, .feature-band { grid-template-columns: 1fr; }
  .hero-cover { min-height: auto; }
  .hero-visual { max-width: 720px; margin-inline: auto; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lifecycle { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 840px) {
  :root { --header-h: 74px; }
  .header-inner { grid-template-columns: 1fr auto; min-height: var(--header-h); }
  .brand img { width: 148px; }
  .nav-wrap {
    position: absolute;
    top: calc(var(--header-h) + 1px);
    inset-inline: 16px;
    display: none;
    padding: 12px;
    border-radius: 22px;
    background: rgba(2, 19, 38, .97);
    border: 1px solid rgba(23,201,165,.18);
    box-shadow: var(--shadow);
  }
  .nav-wrap.open { display: block; }
  .main-nav { display: grid; gap: 6px; justify-items: stretch; }
  .main-nav a { display: block; text-align: center; }
  .header-actions { grid-column: 2; }
  .header-actions .btn-secondary { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero-inner { padding: 42px 0 52px; }
  .hero h1 { font-size: clamp(2.25rem, 10vw, 4.1rem); }
  .floating-card { position: static; width: auto; margin-top: 16px; }
  .device-stage, body.lang-ar-active .device-stage { transform: none; }
  .section { padding: 52px 0; }
  .grid-2, .grid-3, .grid-4, .metrics { grid-template-columns: 1fr; }
  .lifecycle { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .container { width: min(calc(100% - 22px), var(--container)); }
  .brand img { width: 132px; }
  .lang-toggle { min-width: 86px; }
  .btn { width: 100%; min-height: 48px; padding-inline: 14px; }
  .header-actions .btn, .menu-toggle, .lang-toggle { width: auto; }
  .hero-cover::before, .page-hero::before, .cta-panel::before { width: 420px; height: 420px; }
  .pill-list span { width: 100%; text-align: center; }
  .lifecycle { grid-template-columns: 1fr; }
  .card, .resource-card, .feature-panel, .cta-panel { border-radius: 22px; padding: 22px; }
  .page-hero { padding: 54px 0 38px; }
}

/* v8 LinkedIn-style visual sections */
.cover-hero {
  padding: 34px 0 54px;
  background: radial-gradient(circle at 70% 0%, rgba(14,158,130,.18), transparent 28rem);
}
.cover-card {
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #ffffff;
}
.cover-card img {
  width: 100%;
  height: auto;
  display: none;
}
body.lang-ar-active .cover-card img.lang-ar,
body.lang-en-active .cover-card img.lang-en { display: block; }
.cover-cta-panel {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 26px;
  border-radius: 26px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow);
}
.cover-cta-panel h1 {
  margin: 0 0 10px;
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1.2;
}
.cover-cta-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
  font-size: 1.05rem;
}
.visual-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.visual-showcase {
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #ffffff;
}
.visual-showcase.square {
  max-width: 760px;
  margin-inline: auto;
}
.visual-showcase img {
  width: 100%;
  height: auto;
  display: none;
}
body.lang-ar-active .visual-showcase img.lang-ar,
body.lang-en-active .visual-showcase img.lang-en { display: block; }
.resource-qr-img {
  width: min(100%, 360px);
  border-radius: 26px;
  background: #fff;
  padding: 14px;
}
@media (max-width: 900px) {
  .cover-cta-panel { grid-template-columns: 1fr; }
  .cover-cta-panel .hero-actions { margin-top: 0; }
}
@media (max-width: 640px) {
  .cover-hero { padding-top: 18px; }
  .cover-card, .visual-showcase { border-radius: 18px; }
  .cover-cta-panel { padding: 18px; border-radius: 18px; }
}

/* v9 production refinements */
.resource-card .btn { margin-top: 18px; }
.resources-hero-panel { margin-top: 0; }
.contact-card {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 4vw, 48px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(23,201,165,.24);
  background: linear-gradient(120deg, rgba(10,18,66,.97), rgba(11,127,104,.6));
  box-shadow: var(--shadow);
}
.contact-card::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  top: -180px;
  inset-inline-end: -130px;
  background-image: radial-gradient(circle, rgba(23,201,165,.5) 1.6px, transparent 1.8px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 68%);
  mask-image: radial-gradient(circle, #000 0%, transparent 68%);
  opacity: .55;
  pointer-events: none;
}
.contact-card > * { position: relative; z-index: 2; }
.contact-card h2 { margin: 10px 0 12px; font-size: clamp(1.9rem, 3.2vw, 3rem); line-height: 1.22; }
.contact-card p { margin: 0; color: var(--muted); line-height: 1.9; max-width: 760px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
body.lang-ar-active .contact-actions { direction: rtl; }
body.lang-en-active .contact-actions { direction: ltr; }
.site-footer { padding: 28px 0 36px; border-top: 1px solid rgba(255,255,255,.08); background: rgba(10,18,66,.92); }
@media (max-width: 640px) {
  .contact-actions .btn { width: 100%; }
}

/* v10 responsive and browser-consistency refinements */
.cover-card img.mobile-cover { display: none !important; }
.cover-cta-panel { grid-template-columns: minmax(0, 1fr) max-content; }
.cover-cta-panel h1 {
  font-size: clamp(1.65rem, 2.35vw, 2.45rem);
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
}
@media (min-width: 1181px) {
  .cover-cta-panel h1 { white-space: nowrap; }
}
@media (max-width: 1180px) {
  .cover-cta-panel { grid-template-columns: 1fr; }
  .cover-cta-panel h1 { white-space: normal; }
}
@media (max-width: 840px) {
  .site-header { position: sticky; }
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }
  .brand img { width: 138px; }
  .header-actions { gap: 8px; }
  .lang-toggle { min-width: 82px; }
  .menu-toggle { min-width: 42px; }
  .cover-hero { padding: 20px 0 38px; }
  .cover-card { border-radius: 22px; }
  .cover-cta-panel {
    margin-top: 16px;
    padding: 20px;
    border-radius: 22px;
    gap: 14px;
  }
  .cover-cta-panel h1 {
    font-size: clamp(1.55rem, 7vw, 2.35rem);
    line-height: 1.22;
  }
  .cover-cta-panel p { font-size: .98rem; line-height: 1.8; }
  .section-title h2, .page-hero h1 { font-size: clamp(1.7rem, 7vw, 2.7rem); }
  .section-title p { font-size: 1rem; }
  .visual-showcase.square { max-width: 100%; }
}
@media (max-width: 640px) {
  :root { --header-h: 70px; }
  body::before { width: 520px; height: 520px; top: -210px; inset-inline-end: -250px; }
  body::after { width: 180px; height: 240px; opacity: .30; }
  .container { width: min(calc(100% - 20px), var(--container)); }
  .header-inner { min-height: var(--header-h); }
  .brand img { width: 118px; }
  .header-actions { gap: 6px; }
  .lang-toggle { min-width: 76px; min-height: 38px; padding-inline: 12px; font-size: .86rem; }
  .menu-toggle { min-width: 40px; min-height: 38px; padding-inline: 10px; }
  .nav-wrap { inset-inline: 10px; top: calc(var(--header-h) + 1px); }
  .main-nav a { padding: 12px 10px; font-size: .98rem; }
  .cover-hero { padding: 14px 0 30px; }
  .cover-card,
  .visual-showcase { border-radius: 18px; }
  .cover-card:not(.home-cover) img,
  .visual-showcase img { width: 100%; height: auto; }
  .cover-cta-panel { padding: 18px; }
  .hero-actions, .cta-row, .quick-actions, .contact-actions { gap: 10px; }
  .btn { min-height: 46px; padding-inline: 14px; font-size: .94rem; }
  .cover-cta-panel .btn,
  .cta-panel .btn,
  .contact-card .btn,
  .resource-card .btn { width: 100%; }
  .section { padding: 40px 0; }
  .section-title { margin-bottom: 20px; }
  .grid-2, .grid-3, .grid-4 { gap: 14px; }
  .card, .resource-card { padding: 18px; border-radius: 18px; }
  .card h3, .resource-card h3 { font-size: 1.12rem; }
  .card p, .resource-card p { font-size: .96rem; line-height: 1.75; }
  .icon-badge { width: 46px; height: 46px; border-radius: 15px; margin-bottom: 12px; }
  .visual-showcase.square { border-radius: 18px; }
  .resource-qr-img { width: min(100%, 280px); margin-inline: auto; padding: 10px; border-radius: 18px; }
  .contact-card { padding: 22px; border-radius: 22px; }
  .contact-card h2 { font-size: clamp(1.55rem, 7vw, 2.15rem); }
  .footer-inner { align-items: center; text-align: center; }
}
@media (max-width: 390px) {
  .brand img { width: 108px; }
  .lang-toggle { min-width: 70px; font-size: .82rem; }
  .cover-cta-panel h1 { font-size: 1.45rem; }
}


/* v11 production mobile layout fix
   Keep the document canvas LTR to avoid Chrome mobile RTL horizontal anchoring.
   Arabic reading direction is applied to content blocks only. */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

html {
  direction: ltr;
}

body {
  direction: ltr;
  position: relative;
}

.site-header,
main,
.site-footer,
.cover-hero,
.section,
.container,
.cover-card,
.cover-cta-panel,
.visual-showcase,
.card,
.resource-card,
.contact-card,
.cta-panel {
  max-width: 100%;
}

body.lang-ar-active .header-inner,
body.lang-ar-active .main-nav,
body.lang-ar-active .header-actions,
body.lang-ar-active .hero-actions,
body.lang-ar-active .cta-row,
body.lang-ar-active .quick-actions,
body.lang-ar-active .contact-actions,
body.lang-ar-active .cover-cta-panel,
body.lang-ar-active .section-title,
body.lang-ar-active .card,
body.lang-ar-active .resource-card,
body.lang-ar-active .contact-card,
body.lang-ar-active .cta-panel,
body.lang-ar-active .footer-inner,
body.lang-ar-active .footer-copy,
body.lang-ar-active .lang-ar {
  direction: rtl;
}

body.lang-en-active .header-inner,
body.lang-en-active .main-nav,
body.lang-en-active .header-actions,
body.lang-en-active .hero-actions,
body.lang-en-active .cta-row,
body.lang-en-active .quick-actions,
body.lang-en-active .contact-actions,
body.lang-en-active .cover-cta-panel,
body.lang-en-active .section-title,
body.lang-en-active .card,
body.lang-en-active .resource-card,
body.lang-en-active .contact-card,
body.lang-en-active .cta-panel,
body.lang-en-active .footer-inner,
body.lang-en-active .footer-copy,
body.lang-en-active .lang-en {
  direction: ltr;
}

body.lang-ar-active .lang-ar,
body.lang-ar-active .card,
body.lang-ar-active .resource-card,
body.lang-ar-active .contact-card,
body.lang-ar-active .cta-panel,
body.lang-ar-active .cover-cta-panel {
  text-align: right;
}

body.lang-en-active .lang-en,
body.lang-en-active .card,
body.lang-en-active .resource-card,
body.lang-en-active .contact-card,
body.lang-en-active .cta-panel,
body.lang-en-active .cover-cta-panel {
  text-align: left;
}

.section-title.center,
.section-title.center .lang-ar,
.section-title.center .lang-en {
  text-align: center !important;
}

@media (max-width: 640px) {
  html,
  body {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  body::before,
  body::after {
    display: none;
  }

  .site-header {
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding-inline: 12px;
    margin-inline: auto;
  }

  .header-inner {
    width: 100%;
    max-width: 100%;
    padding-inline: 0;
  }

  .nav-wrap {
    left: 10px;
    right: 10px;
    inset-inline: auto;
    width: auto;
    max-width: calc(100vw - 20px);
  }

  .cover-hero,
  .section {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .cover-card,
  .cover-cta-panel,
  .visual-showcase,
  .card,
  .resource-card,
  .contact-card,
  .cta-panel {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
  }

  .cover-cta-panel,
  .grid-2,
  .grid-3,
  .grid-4,
  .feature-band,
  .metrics {
    display: grid;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .hero-actions,
  .cta-row,
  .quick-actions,
  .contact-actions {
    width: 100%;
    max-width: 100%;
  }

  .cover-card img,
  .visual-showcase img {
    max-width: 100%;
  }

  .resource-qr-img {
    display: block;
    max-width: min(100%, 280px);
  }
}

/* v12 production enhancements */
.header-demo-btn,
.header-demo-btn span {
  white-space: nowrap !important;
}
.header-demo-btn {
  min-width: 144px;
  flex: 0 0 auto;
  line-height: 1;
}
body.lang-ar-active .lang-en,
body.lang-en-active .lang-ar {
  display: none !important;
}
body.lang-ar-active .btn.lang-ar,
body.lang-en-active .btn.lang-en,
body.lang-ar-active .lang-flex.lang-ar,
body.lang-en-active .lang-flex.lang-en {
  display: inline-flex !important;
}
body.lang-ar-active img.lang-ar,
body.lang-en-active img.lang-en {
  display: block !important;
}
.quick-nav-section {
  padding-top: 18px;
}
.quick-nav-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 3.2vw, 38px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow);
}
.quick-nav-card h2 {
  margin: 8px 0 0;
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
  line-height: 1.25;
}
.quick-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
body.lang-en-active .quick-nav-links {
  justify-content: flex-start;
}
.quick-nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--navy-950);
  background: var(--surface-tint-bg);
  border: 1px solid var(--surface-tint-border);
  font-weight: 800;
  white-space: nowrap;
}
.quick-nav-links a:hover {
  background: rgba(14,158,130,.12);
  border-color: rgba(14,158,130,.32);
}
.compact-hero {
  padding-bottom: 18px;
}
.flyer-hero-panel {
  margin-top: 0;
}
.flyer-preview-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow);
}
.flyer-toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: clamp(22px, 3vw, 34px);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.flyer-toolbar h2 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
}
.flyer-toolbar p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}
.flyer-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.flyer-frame-wrap {
  width: 100%;
  overflow: hidden;
  background: rgba(10,18,66,.92);
  padding: 18px 0 26px;
}
.flyer-frame {
  display: none;
  width: 100%;
  min-height: 900px;
  border: 0;
  background: transparent;
}
body.lang-ar-active .flyer-frame.lang-ar,
body.lang-en-active .flyer-frame.lang-en {
  display: block !important;
}
.resource-qr-img.lang-ar,
.resource-qr-img.lang-en {
  margin-inline: auto;
}
@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: 204px 1fr 294px;
  }
  .brand img { width: 172px; }
  .main-nav { gap: 4px; }
  .main-nav a { padding-inline: 12px; font-size: .95rem; }
}
@media (max-width: 980px) {
  .quick-nav-card,
  .flyer-toolbar {
    grid-template-columns: 1fr;
  }
  .quick-nav-links,
  body.lang-en-active .quick-nav-links {
    justify-content: center;
  }
  .flyer-toolbar-actions {
    justify-content: center;
  }
}
@media (max-width: 640px) {
  .header-demo-btn {
    min-width: 112px;
    padding-inline: 11px;
    font-size: .82rem;
  }
  .quick-nav-card {
    padding: 20px;
    border-radius: 22px;
  }
  .quick-nav-links {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }
  .quick-nav-links a {
    width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
    padding-block: 10px;
  }
  .flyer-toolbar {
    padding: 20px;
  }
  .flyer-toolbar-actions,
  .flyer-toolbar-actions .btn {
    width: 100%;
  }
  .flyer-frame-wrap {
    padding: 12px 0 18px;
  }
  .flyer-frame {
    min-height: 1200px;
  }
}


/* v13 production refinements */
/* Mobile header alignment: logo at page edge, menu/language group at opposite edge */
@media (max-width: 640px) {
  .site-header .container {
    padding-inline: 12px;
  }
  .header-inner {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: var(--header-h);
  }
  body.lang-ar-active .brand { order: 2; }
  body.lang-ar-active .header-actions { order: 1; }
  body.lang-en-active .brand { order: 1; }
  body.lang-en-active .header-actions { order: 2; }
  .brand img { width: 128px; }
  .header-actions {
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    flex: 0 0 auto;
  }
  body.lang-en-active .header-actions { justify-content: flex-end; }
  .menu-toggle {
    width: 42px !important;
    min-width: 42px !important;
    height: 42px;
    min-height: 42px;
    padding: 0 !important;
    flex: 0 0 42px;
  }
  .lang-toggle {
    width: auto !important;
    min-width: 86px !important;
    height: 42px;
    min-height: 42px;
    padding: 0 14px !important;
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .nav-wrap {
    left: 10px;
    right: 10px;
    max-width: calc(100vw - 20px);
  }
}

/* Header demo button: keep Arabic label on one line in Chrome */
.header-demo-btn {
  min-width: 154px;
  white-space: nowrap !important;
}
.header-demo-btn span,
.header-demo-btn .lang-inline-ar,
.header-demo-btn .lang-inline-en {
  white-space: nowrap !important;
  line-height: 1 !important;
}
@media (max-width: 840px) {
  .header-demo-btn { display: none !important; }
}

/* Compact quick navigation */
.quick-nav-card {
  grid-template-columns: .64fr 1.36fr;
  gap: 18px;
}
.quick-nav-links {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}
body.lang-en-active .quick-nav-links { justify-content: flex-start; }
.quick-nav-links a {
  min-height: 40px;
  padding: 0 12px;
  font-size: .90rem;
  flex: 0 1 auto;
  white-space: nowrap;
}
@media (max-width: 1180px) {
  .quick-nav-card { grid-template-columns: 1fr; }
  .quick-nav-links,
  body.lang-en-active .quick-nav-links { justify-content: center; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .quick-nav-card {
    padding: 18px;
    gap: 14px;
  }
  .quick-nav-card h2 {
    font-size: 1.15rem;
    line-height: 1.35;
  }
  .quick-nav-links {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }
  .quick-nav-links a {
    width: 100%;
    min-height: 38px;
    padding: 7px 8px;
    font-size: .84rem;
    line-height: 1.2;
    white-space: nowrap;
  }
  .quick-nav-links a:last-child {
    grid-column: 1 / -1;
  }
}

/* Normal flyer page: no iframe, no zoomed embedded page */
.flyer-page-section,
.flyer-preview-card,
.flyer-toolbar,
.flyer-frame-wrap,
.flyer-frame {
  display: none !important;
}
.flyer-normal-hero .cover-cta-panel {
  margin-top: 0;
}
.flyer-normal-section .card h3 {
  line-height: 1.35;
}
.flyer-capability-grid .card,
.flyer-feature-grid .card {
  min-height: 100%;
}
.flyer-lifecycle {
  margin-bottom: 22px;
}
.flyer-table-wrap {
  margin-top: 24px;
}
.flyer-final-cta {
  margin-top: 24px;
}
@media (max-width: 640px) {
  .flyer-normal-hero .cover-cta-panel {
    padding: 20px;
  }
  .flyer-normal-hero h1 {
    font-size: 1.55rem;
  }
  .flyer-normal-section .section-title h2 {
    font-size: 1.55rem;
  }
  .flyer-normal-section .card {
    padding: 18px;
  }
  .flyer-table-wrap table {
    min-width: 720px;
  }
}


/* v14 mobile header stability fix
   Keep the hamburger/menu placement predictable after language changes.
   Arabic: logo on the right, controls on the left, hamburger at the far-left edge.
   English: logo on the left, controls on the right, hamburger at the far-right edge. */
@media (max-width: 640px) {
  .header-inner,
  body.lang-ar-active .header-inner,
  body.lang-en-active .header-inner {
    direction: ltr !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .header-actions,
  body.lang-ar-active .header-actions,
  body.lang-en-active .header-actions {
    direction: ltr !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex: 0 0 auto !important;
  }

  body.lang-ar-active .brand {
    order: 2 !important;
    margin-inline-start: auto !important;
    margin-inline-end: 0 !important;
  }

  body.lang-ar-active .header-actions {
    order: 1 !important;
    margin-inline-start: 0 !important;
    margin-inline-end: auto !important;
    flex-direction: row-reverse !important;
  }

  body.lang-en-active .brand {
    order: 1 !important;
    margin-inline-start: 0 !important;
    margin-inline-end: auto !important;
  }

  body.lang-en-active .header-actions {
    order: 2 !important;
    margin-inline-start: auto !important;
    margin-inline-end: 0 !important;
    flex-direction: row !important;
  }

  .menu-toggle {
    order: 2 !important;
  }

  .lang-toggle {
    order: 1 !important;
  }

  body.lang-ar-active .menu-toggle {
    order: 2 !important;
  }

  body.lang-ar-active .lang-toggle {
    order: 1 !important;
  }

  .nav-wrap,
  body.lang-ar-active .nav-wrap,
  body.lang-en-active .nav-wrap {
    direction: ltr !important;
    left: 10px !important;
    right: 10px !important;
    width: auto !important;
    max-width: calc(100vw - 20px) !important;
  }

  .main-nav,
  body.lang-ar-active .main-nav,
  body.lang-en-active .main-nav {
    direction: inherit !important;
  }

  body.lang-ar-active .main-nav {
    direction: rtl !important;
    text-align: right !important;
  }

  body.lang-en-active .main-nav {
    direction: ltr !important;
    text-align: left !important;
  }
}

/* v15 mobile header mirror override
   User-requested mirrored mobile header alignment.
   Arabic: logo left, controls right, hamburger at far-right.
   English: logo right, controls left, hamburger at far-left. */
@media (max-width: 640px) {
  body.lang-ar-active .brand {
    order: 1 !important;
    margin-inline-start: 0 !important;
    margin-inline-end: auto !important;
  }

  body.lang-ar-active .header-actions {
    order: 2 !important;
    margin-inline-start: auto !important;
    margin-inline-end: 0 !important;
    flex-direction: row !important;
  }

  body.lang-en-active .brand {
    order: 2 !important;
    margin-inline-start: auto !important;
    margin-inline-end: 0 !important;
  }

  body.lang-en-active .header-actions {
    order: 1 !important;
    margin-inline-start: 0 !important;
    margin-inline-end: auto !important;
    flex-direction: row-reverse !important;
  }
}


/* v16 lead form, analytics-friendly CTA, and request-demo section */
.lead-form {
  position: relative;
  z-index: 2;
  margin-top: 28px;
  display: grid;
  gap: 18px;
}
.lead-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 800;
}
.lead-form input,
.lead-form textarea {
  width: 100%;
  color: var(--navy-950);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  outline: none;
  padding: 14px 16px;
  line-height: 1.4;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.lead-form textarea {
  resize: vertical;
  min-height: 118px;
}
.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: rgba(198, 216, 230, 0.72);
}
.lead-form input:focus,
.lead-form textarea:focus {
  border-color: rgba(23, 201, 165, 0.62);
  box-shadow: 0 0 0 4px rgba(14, 158, 130, 0.12);
  background: #ffffff;
}
.lead-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.lead-form button[disabled] {
  cursor: wait;
  opacity: .72;
  transform: none;
}
.lead-form-message {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.6;
}
.lead-form-message.is-success {
  color: var(--cyan-soft);
}
.lead-form-message.is-error {
  color: #ffd2d2;
}
.lead-submit-frame {
  position: absolute;
  width: 1px;
  height: 1px;
  border: 0;
  opacity: 0;
  pointer-events: none;
}
body.lang-ar-active .lead-form,
body.lang-ar-active .lead-form input,
body.lang-ar-active .lead-form textarea {
  direction: rtl;
  text-align: right;
}
body.lang-en-active .lead-form,
body.lang-en-active .lead-form input,
body.lang-en-active .lead-form textarea {
  direction: ltr;
  text-align: left;
}
@media (max-width: 640px) {
  .lead-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .lead-form-actions,
  .lead-form-actions .btn {
    width: 100%;
  }
}


/* v17 SEO content and LinkedIn additions */
.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--cyan-soft);
  font-weight: 900;
  text-decoration: none;
}
.text-link:hover { color: var(--cyan); }
.seo-content-section .card { min-height: 100%; }
.solution-content-section { padding-top: 76px; }
.solution-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 28px;
  align-items: start;
}
.solution-article {
  display: grid;
  gap: 22px;
}
.solution-text-block,
.solution-toc-card,
.faq-item {
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 28px;
  padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 18px 45px rgba(0,0,0,.15);
}
.solution-text-block h2,
.faq-item h2 { font-size: clamp(1.35rem, 2.4vw, 2rem); margin-bottom: 12px; }
.solution-text-block p,
.solution-toc-card p,
.faq-item p { color: var(--muted); line-height: 1.95; margin-bottom: 0; }
.solution-sidebar { position: sticky; top: calc(var(--header-h) + 20px); }
.solution-toc-card .btn { margin-top: 22px; width: 100%; }
.solution-related { width: 100%; }
.solution-related h2 { margin-bottom: 18px; }
.solution-related-links { justify-content: center; }
.faq-list { display: grid; gap: 18px; }
.faq-item { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 18px; align-items: start; }
.footer-inner-extended {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.footer-links a {
  color: var(--muted);
  font-weight: 800;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.08);
}
.footer-links a:hover { color: var(--white); background: rgba(255,255,255,0.09); }

.footer-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.linkedin-icon {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: #0a66c2;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: -0.5px;
}

.linkedin-section .cta-panel { overflow: hidden; }
@media (max-width: 1180px) {
  .main-nav { gap: 4px; }
  .main-nav a { padding: 10px 10px; font-size: .9rem; }
}
@media (max-width: 920px) {
  .solution-layout { grid-template-columns: 1fr; }
  .solution-sidebar { position: static; }
  .footer-inner-extended { flex-direction: column; align-items: flex-start; }
  .footer-links { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .faq-item { grid-template-columns: 1fr; }
  .solution-text-block,
  .solution-toc-card,
  .faq-item { border-radius: 22px; }
}


/* v18 navigation and lead-form UX refinements */
.header-inner {
  grid-template-columns: minmax(150px, 190px) minmax(0, 1fr) max-content;
  gap: 12px;
}
.brand img { width: 174px; }
.nav-wrap { min-width: 0; }
.header-actions { flex: 0 0 auto; min-width: max-content; }
.main-nav { min-width: 0; gap: 5px; }
.main-nav a,
.nav-dropdown-trigger {
  min-height: 40px;
  padding: 10px 11px;
  font-size: .91rem;
}
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-dropdown-trigger {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-weight: 700;
  border-radius: 999px;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger.active,
.nav-dropdown:focus-within .nav-dropdown-trigger {
  color: var(--white);
  background: rgba(255,255,255,0.10);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}
.nav-caret {
  font-size: .72rem;
  opacity: .78;
  transform: translateY(1px);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-start: 0;
  z-index: 120;
  display: none;
  min-width: 278px;
  padding: 10px;
  border-radius: 20px;
  background: rgba(2, 19, 38, .98);
  border: 1px solid rgba(23,201,165,.20);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: grid;
  gap: 4px;
}
.nav-dropdown-menu a {
  display: flex !important;
  justify-content: flex-start;
  width: 100%;
  min-height: 40px;
  padding: 10px 13px !important;
  border-radius: 14px !important;
  font-size: .9rem !important;
  color: var(--muted);
  text-align: start;
}
.nav-dropdown-menu a:hover {
  color: var(--white);
  background: rgba(14,158,130,.12);
  box-shadow: none;
}
body.lang-ar-active .nav-dropdown-menu {
  direction: rtl;
  text-align: right;
}
body.lang-en-active .nav-dropdown-menu {
  direction: ltr;
  text-align: left;
}
.header-demo-btn { min-width: 138px; padding-inline: 13px; }
.lang-toggle { min-width: 94px; }
.phone-input-group {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}
.phone-input-group select {
  width: 100%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  outline: none;
  padding: 14px 12px;
  line-height: 1.4;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.phone-input-group select:focus {
  border-color: rgba(23, 201, 165, 0.62);
  box-shadow: 0 0 0 4px rgba(14, 158, 130, 0.12);
  background: rgba(255, 255, 255, 0.10);
}
.phone-input-group select option {
  color: #061c32;
  background: #ffffff;
}
body.lang-ar-active .phone-input-group {
  direction: ltr;
}
body.lang-ar-active .phone-input-group input {
  direction: rtl;
  text-align: right;
}
body.lang-en-active .phone-input-group {
  direction: ltr;
}
@media (min-width: 841px) and (max-width: 1380px) {
  .header-inner {
    grid-template-columns: minmax(130px, 160px) minmax(0, 1fr) max-content;
    gap: 8px;
  }
  .brand img { width: 150px; }
  .main-nav { gap: 3px; }
  .main-nav a,
  .nav-dropdown-trigger {
    padding-inline: 8px;
    font-size: .82rem;
  }
  .header-demo-btn {
    min-width: 124px;
    padding-inline: 10px;
    font-size: .82rem;
  }
  .lang-toggle {
    min-width: 82px;
    padding-inline: 10px;
    font-size: .82rem;
  }
}
@media (max-width: 840px) {
  .nav-dropdown {
    display: grid;
    width: 100%;
  }
  .nav-dropdown-trigger {
    display: flex !important;
    justify-content: center;
    width: 100%;
    text-align: center;
  }
  .nav-dropdown-menu {
    position: static;
    display: grid;
    min-width: 0;
    width: 100%;
    margin-top: 4px;
    padding: 6px 0 4px;
    border-radius: 16px;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.06);
    box-shadow: none;
    backdrop-filter: none;
  }
  .nav-dropdown-menu a {
    justify-content: center;
    text-align: center;
    min-height: 38px;
    font-size: .88rem !important;
  }
}
@media (max-width: 640px) {
  .phone-input-group {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 8px;
  }
  .phone-input-group select {
    padding-inline: 10px;
  }
}

/* v19 header, dropdown, and phone-country refinements */
.header-inner {
  grid-template-columns: minmax(140px, 170px) minmax(0, 1fr) max-content;
  gap: 10px;
}
.brand img { width: 158px; }
.nav-wrap,
body.lang-ar-active .nav-wrap,
body.lang-en-active .nav-wrap {
  justify-content: flex-start;
}
.main-nav,
body.lang-ar-active .main-nav,
body.lang-en-active .main-nav {
  justify-content: flex-start;
}
.main-nav { gap: 4px; }
.main-nav a,
.nav-dropdown-trigger {
  min-height: 40px;
  padding: 10px 10px;
  font-size: .88rem;
}
.header-demo-btn {
  min-width: 132px;
  padding-inline: 12px;
}
.lang-toggle { min-width: 86px; }
.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  inset-inline: 0;
  height: 14px;
}
.nav-dropdown-menu {
  top: calc(100% - 1px);
  margin-top: 0;
}
body.lang-ar-active .nav-dropdown-menu {
  inset-inline-start: auto;
  inset-inline-end: 0;
}
body.lang-en-active .nav-dropdown-menu {
  inset-inline-start: 0;
  inset-inline-end: auto;
}
.phone-input-group {
  display: flex;
  align-items: stretch;
  gap: 10px;
  direction: ltr;
}
.country-code-combo {
  flex: 0 0 260px;
  min-width: 0;
}
.country-code-display,
.phone-input-group input,
.phone-input-group select {
  width: 100%;
  min-height: 52px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  outline: none;
  padding: 14px 14px;
  line-height: 1.4;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.country-code-display:focus,
.phone-input-group input:focus,
.phone-input-group select:focus {
  border-color: rgba(23, 201, 165, 0.62);
  box-shadow: 0 0 0 4px rgba(14, 158, 130, 0.12);
  background: rgba(255, 255, 255, 0.10);
}
.country-code-display {
  direction: ltr;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.phone-input-group > input[name="phone"] {
  flex: 1 1 auto;
  min-width: 0;
}
body.lang-ar-active .phone-input-group {
  flex-direction: row-reverse;
}
body.lang-ar-active .phone-input-group > input[name="phone"] {
  direction: rtl;
  text-align: right;
}
body.lang-en-active .phone-input-group {
  flex-direction: row;
}
body.lang-en-active .phone-input-group > input[name="phone"] {
  direction: ltr;
  text-align: left;
}
@media (min-width: 841px) and (max-width: 1380px) {
  .header-inner {
    grid-template-columns: minmax(120px, 150px) minmax(0, 1fr) max-content;
    gap: 7px;
  }
  .brand img { width: 142px; }
  .main-nav { gap: 2px; }
  .main-nav a,
  .nav-dropdown-trigger {
    padding-inline: 7px;
    font-size: .80rem;
  }
  .header-demo-btn {
    min-width: 118px;
    padding-inline: 9px;
    font-size: .80rem;
  }
  .lang-toggle {
    min-width: 78px;
    padding-inline: 9px;
    font-size: .80rem;
  }
}
@media (max-width: 840px) {
  .nav-dropdown::after { display: none; }
  .nav-dropdown-menu { top: auto; }
}
@media (max-width: 720px) {
  .phone-input-group,
  body.lang-ar-active .phone-input-group,
  body.lang-en-active .phone-input-group {
    flex-direction: column;
  }
  .country-code-combo { flex-basis: auto; width: 100%; }
}


/* v20 header/menu and country-code refinements */
@media (min-width: 841px) {
  .header-inner {
    grid-template-columns: minmax(148px, 180px) minmax(0, 1fr) max-content;
    gap: 16px;
  }
  .nav-wrap,
  body.lang-ar-active .nav-wrap,
  body.lang-en-active .nav-wrap {
    justify-content: center !important;
  }
  .main-nav,
  body.lang-ar-active .main-nav,
  body.lang-en-active .main-nav {
    gap: 10px !important;
  }
  .main-nav a,
  .nav-dropdown-trigger {
    padding-inline: 13px !important;
  }
  body.lang-ar-active .main-nav a,
  body.lang-ar-active .nav-dropdown-trigger {
    padding-inline: 15px !important;
  }
}

@media (min-width: 841px) and (max-width: 1380px) {
  .header-inner {
    grid-template-columns: minmax(130px, 154px) minmax(0, 1fr) max-content;
    gap: 8px;
  }
  .main-nav,
  body.lang-ar-active .main-nav,
  body.lang-en-active .main-nav {
    gap: 5px !important;
  }
  .main-nav a,
  .nav-dropdown-trigger,
  body.lang-ar-active .main-nav a,
  body.lang-ar-active .nav-dropdown-trigger {
    padding-inline: 8px !important;
    font-size: .80rem !important;
  }
}

body.lang-ar-active .nav-dropdown-menu {
  left: auto !important;
  right: 0 !important;
  inset-inline-start: auto !important;
  inset-inline-end: auto !important;
}
body.lang-en-active .nav-dropdown-menu {
  left: 0 !important;
  right: auto !important;
  inset-inline-start: auto !important;
  inset-inline-end: auto !important;
}

.phone-input-group,
body.lang-en-active .phone-input-group {
  direction: ltr !important;
  flex-direction: row !important;
}
body.lang-ar-active .phone-input-group {
  direction: rtl !important;
  flex-direction: row !important;
}
.country-code-combo {
  flex: 0 0 218px !important;
}
.country-code-display {
  font-size: .92rem;
}
body.lang-ar-active .country-code-display {
  direction: rtl !important;
  text-align: right !important;
}
body.lang-en-active .country-code-display {
  direction: ltr !important;
  text-align: left !important;
}
body.lang-ar-active .phone-input-group > input[name="phone"] {
  direction: rtl !important;
  text-align: right !important;
}
body.lang-en-active .phone-input-group > input[name="phone"] {
  direction: ltr !important;
  text-align: left !important;
}
@media (max-width: 720px) {
  .phone-input-group,
  body.lang-ar-active .phone-input-group,
  body.lang-en-active .phone-input-group {
    flex-direction: column !important;
  }
  .country-code-combo { flex: 0 0 auto !important; width: 100% !important; }
}

/* v23 phone country dropdown and flyer CTA refinements */
.country-code-combo {
  position: relative;
  flex: 0 0 230px !important;
  min-width: 0;
}
.country-code-trigger {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  outline: none;
  padding: 12px 13px;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
  font: inherit;
  font-size: .88rem;
}
.country-code-trigger:hover,
.country-code-trigger:focus,
.country-code-combo.is-open .country-code-trigger {
  border-color: rgba(23, 201, 165, 0.62);
  box-shadow: 0 0 0 4px rgba(14, 158, 130, 0.12);
  background: rgba(255, 255, 255, 0.10);
}
.country-code-selected,
.country-option-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.country-selected-text {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.country-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.country-dial {
  direction: ltr;
  unicode-bidi: isolate;
  white-space: nowrap;
  opacity: .96;
}
.country-code-arrow {
  flex: 0 0 auto;
  opacity: .8;
  font-size: .85rem;
}
.country-code-menu {
  position: absolute;
  top: calc(100% + 8px);
  width: min(320px, 92vw);
  max-height: 330px;
  z-index: 60;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(23, 201, 165, 0.25);
  background: rgba(7, 18, 31, 0.98);
  box-shadow: 0 18px 45px rgba(0,0,0,.35);
  padding: 8px;
}
body.lang-en-active .country-code-menu { left: 0; right: auto; direction: ltr; }
body.lang-ar-active .country-code-menu { right: 0; left: auto; direction: rtl; }
.country-code-search-wrap { padding: 4px 4px 8px; }
.country-code-search {
  width: 100%;
  min-height: 42px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  outline: none;
  padding: 10px 12px;
  font: inherit;
  font-size: .86rem;
}
.country-code-search:focus {
  border-color: rgba(23, 201, 165, 0.55);
  box-shadow: 0 0 0 3px rgba(14, 158, 130, 0.10);
}
.country-code-list {
  max-height: 255px;
  overflow-y: auto;
  padding: 2px;
}
.country-code-option {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 9px;
  border-radius: 10px;
  cursor: pointer;
  text-align: start;
  font: inherit;
  font-size: .88rem;
}
.country-code-option:hover,
.country-code-option[aria-selected="true"] {
  background: rgba(23, 201, 165, 0.12);
}
.country-code-empty {
  color: var(--muted);
  padding: 12px 10px;
  font-size: .88rem;
}
.country-flag {
  width: 22px;
  height: 15px;
  flex: 0 0 22px;
  display: inline-block;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.28) inset, 0 1px 4px rgba(0,0,0,.25);
  background: #2fd36b;
  position: relative;
  overflow: hidden;
}
/* Simplified CSS flags to avoid Windows/Chrome emoji flags showing as initials */
.flag-sa { background: #087a3a; }
.flag-ae { background: linear-gradient(to bottom,#009a44 0 33%,#fff 33% 66%,#000 66%); }
.flag-ae::before { content:""; position:absolute; inset:0 auto 0 0; width:6px; background:#ce1126; }
.flag-kw { background: linear-gradient(to bottom,#007a3d 0 33%,#fff 33% 66%,#ce1126 66%); }
.flag-kw::before { content:""; position:absolute; inset:0 auto 0 0; width:7px; background:#000; clip-path: polygon(0 0,100% 26%,100% 74%,0 100%); }
.flag-qa { background:#8a1538; }
.flag-qa::before { content:""; position:absolute; inset:0 auto 0 0; width:7px; background:#fff; }
.flag-bh { background:#ce1126; }
.flag-bh::before { content:""; position:absolute; inset:0 auto 0 0; width:8px; background:#fff; }
.flag-om { background: linear-gradient(to bottom,#fff 0 33%,#db161b 33% 66%,#00843d 66%); }
.flag-om::before { content:""; position:absolute; inset:0 auto 0 0; width:6px; background:#db161b; }
.flag-eg,.flag-iq,.flag-sy,.flag-ye { background: linear-gradient(to bottom,#ce1126 0 33%,#fff 33% 66%,#000 66%); }
.flag-jo,.flag-ps,.flag-sd { background: linear-gradient(to bottom,#000 0 33%,#fff 33% 66%,#009a44 66%); }
.flag-jo::before,.flag-ps::before,.flag-sd::before { content:""; position:absolute; inset:0 auto 0 0; width:9px; background:#ce1126; clip-path: polygon(0 0,100% 50%,0 100%); }
.flag-lb { background: linear-gradient(to bottom,#ce1126 0 28%,#fff 28% 72%,#ce1126 72%); }
.flag-ma { background:#c1272d; }
.flag-dz { background: linear-gradient(to right,#006233 0 50%,#fff 50%); }
.flag-tn,.flag-tr { background:#e30a17; }
.flag-ly { background: linear-gradient(to bottom,#e70013 0 25%,#000 25% 75%,#239e46 75%); }
.flag-gb { background: linear-gradient(45deg,#012169 0 40%,#fff 40% 45%,#c8102e 45% 55%,#fff 55% 60%,#012169 60%); }
.flag-us { background: repeating-linear-gradient(to bottom,#b22234 0 2px,#fff 2px 4px); }
.flag-us::before { content:""; position:absolute; inset:0 auto auto 0; width:10px; height:8px; background:#3c3b6e; }
.flag-fr { background: linear-gradient(to right,#0055a4 0 33%,#fff 33% 66%,#ef4135 66%); }
.flag-de { background: linear-gradient(to bottom,#000 0 33%,#dd0000 33% 66%,#ffce00 66%); }
.flag-in { background: linear-gradient(to bottom,#ff9933 0 33%,#fff 33% 66%,#138808 66%); }
.flag-pk { background:#01411c; }
.flag-pk::before { content:""; position:absolute; inset:0 auto 0 0; width:5px; background:#fff; }

body.lang-ar-active .country-code-trigger,
body.lang-ar-active .country-code-option,
body.lang-ar-active .country-code-search { text-align: right; }
body.lang-en-active .country-code-trigger,
body.lang-en-active .country-code-option,
body.lang-en-active .country-code-search { text-align: left; }
@media (max-width: 720px) {
  .country-code-combo { width: 100% !important; flex: 0 0 auto !important; }
  .country-code-menu { width: 100%; max-height: 300px; }
  .country-code-list { max-height: 220px; }
}

/* v25 footer and quick links refinement */
.quick-nav-links {
  flex-wrap: wrap !important;
  overflow: visible !important;
}
.quick-nav-links a {
  flex: 0 1 auto;
}
body.lang-en-active .quick-nav-links,
body.lang-ar-active .quick-nav-links {
  justify-content: flex-start;
}
body.lang-ar-active .quick-nav-links {
  direction: rtl;
}
body.lang-en-active .quick-nav-links {
  direction: ltr;
}
.footer-linkedin {
  direction: ltr !important;
  flex-direction: row !important;
  unicode-bidi: isolate;
}
.footer-linkedin .linkedin-icon {
  order: 0;
}
.footer-linkedin .lang-inline-ar,
.footer-linkedin .lang-inline-en {
  order: 1;
}

/* v27 contact-purpose, dropdown reachability, and mobile quick links refinements */
.contact-card {
  overflow: visible;
}
.contact-card::before {
  z-index: 0;
}
.lead-purpose-field {
  border: 0;
  margin: 0 0 2px;
  padding: 0;
  display: grid;
  gap: 10px;
  color: var(--text);
}
.lead-purpose-field legend {
  padding: 0;
  margin-bottom: 2px;
  font-weight: 900;
  color: var(--text);
}
.purpose-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.purpose-option {
  display: inline-flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 9px !important;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.065);
  color: var(--text);
  font-weight: 900;
  cursor: pointer;
}
.purpose-option input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  box-sizing: border-box !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  padding: 0 !important;
  flex: none;
  margin: 0;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.08);
  cursor: pointer;
  position: relative;
  transition: border-color .18s ease, background .18s ease;
}
.purpose-option input:checked {
  border-color: #0A1242;
  background: #0A1242;
}
.purpose-option input:checked::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--cyan-soft);
}
.purpose-option input:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
body.lang-ar-active .purpose-options { direction: rtl; }
body.lang-en-active .purpose-options { direction: ltr; }
.country-code-combo.open-up .country-code-menu {
  top: auto;
  bottom: calc(100% + 8px);
}
.country-code-list {
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding-bottom: 12px;
}
.country-code-menu {
  overflow: hidden;
}
@media (max-width: 640px) {
  .quick-nav-links {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px !important;
    width: 100%;
  }
  .quick-nav-links a {
    width: 100%;
    min-width: 0;
    justify-content: center;
    text-align: center;
    white-space: normal;
    line-height: 1.25;
    padding-inline: 10px;
  }
}
@media (max-width: 430px) {
  .quick-nav-card {
    padding-inline: 18px;
  }
  .quick-nav-links {
    gap: 9px !important;
  }
  .quick-nav-links a {
    font-size: .88rem;
  }
}


/* v28 security messaging and subtle motion */
.card, .resource-card, .quick-nav-card, .security-highlight-panel, .security-detail-card {
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease, background .28s ease;
}
.card:hover, .resource-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 158, 130, .35);
  box-shadow: 0 22px 55px rgba(0, 0, 0, .22);
}
.btn-primary {
  animation: softCtaGlow 3.8s ease-in-out infinite;
}
@keyframes softCtaGlow {
  0%, 100% { box-shadow: 0 10px 24px rgba(14, 158, 130, .18); }
  50% { box-shadow: 0 14px 34px rgba(14, 158, 130, .32); }
}
.security-highlight-panel,
.security-detail-card {
  margin-top: 28px;
  padding: 28px;
  border: 1px solid rgba(14, 158, 130, .25);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(14,158,130,.12), rgba(255,255,255,.045));
  box-shadow: 0 22px 55px rgba(0,0,0,.18);
  position: relative;
  overflow: hidden;
}
.security-highlight-panel::before,
.security-detail-card::before {
  content: "";
  position: absolute;
  inset: auto -80px -110px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,158,130,.20), transparent 65%);
  pointer-events: none;
}
.security-highlight-panel,
.security-detail-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 24px;
  align-items: center;
}
.security-highlight-copy,
.security-detail-copy,
.security-flow,
.security-diagram { position: relative; z-index: 1; }
.security-highlight-panel h3,
.security-detail-card h2 { margin: 8px 0 12px; }
.security-highlight-panel p,
.security-detail-card p { color: var(--muted); line-height: 1.9; }
.security-flow,
.security-diagram {
  display: grid;
  gap: 12px;
}
.security-flow-step,
.security-diagram-node {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 13px 15px;
  border-radius: 18px;
  background: rgba(0, 17, 34, .35);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--text);
}
.security-flow-step span,
.security-diagram-node span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #001928;
  font-weight: 950;
  background: linear-gradient(135deg, var(--cyan), #9CEDD9);
}
.security-detail-section { padding-top: 36px; }
body.lang-ar-active .security-flow-step,
body.lang-ar-active .security-diagram-node { direction: rtl; }
body.lang-en-active .security-flow-step,
body.lang-en-active .security-diagram-node { direction: ltr; }
@media (max-width: 820px) {
  .security-highlight-panel,
  .security-detail-card {
    grid-template-columns: 1fr;
    padding: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .btn-primary { animation: none; }
  .card, .resource-card { transition: none; }
  .card:hover, .resource-card:hover { transform: none; }
}

/* v30: clean application-layer encryption highlight panels */
.security-feature-panel {
  margin-top: 34px;
  margin-bottom: 10px;
}
.security-benefit-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.security-benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(0, 17, 34, .32);
  border: 1px solid rgba(255,255,255,.14);
  color: var(--text);
}
.security-benefit span:first-child {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #001928;
  font-weight: 950;
  background: linear-gradient(135deg, var(--cyan), #9CEDD9);
}
.security-benefit strong {
  color: var(--text);
  font-weight: 900;
  line-height: 1.45;
}
body.lang-ar-active .security-benefit { direction: rtl; text-align: right; }
body.lang-en-active .security-benefit { direction: ltr; text-align: left; }
.compliance-core-grid { margin-top: 28px; }
@media (max-width: 820px) {
  .security-feature-panel { margin-top: 24px; }
  .security-benefit { min-height: 52px; }
}


/* v31 layout refinements: clean security highlights, numeric resource badges, lifecycle arrows */
.security-feature-panel,
.security-highlight-panel.security-feature-panel,
.security-detail-card.security-feature-panel {
  display: block !important;
  margin-top: 34px;
  padding: clamp(24px, 3vw, 36px);
  overflow: hidden;
}
.security-highlight-copy,
.security-detail-copy {
  max-width: 900px;
  position: relative;
  z-index: 1;
}
body.lang-ar-active .security-highlight-copy,
body.lang-ar-active .security-detail-copy { margin-inline-start: auto; text-align: right; }
body.lang-en-active .security-highlight-copy,
body.lang-en-active .security-detail-copy { margin-inline-end: auto; text-align: left; }
.security-benefit-list {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  position: relative;
  z-index: 1;
}
.security-benefit {
  min-height: 74px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(0, 17, 34, .30);
  border: 1px solid rgba(255,255,255,.14);
  display: flex;
  align-items: center;
  gap: 14px;
  overflow: hidden;
}
body.lang-ar-active .security-benefit { direction: rtl; flex-direction: row; text-align: right; }
body.lang-en-active .security-benefit { direction: ltr; flex-direction: row; text-align: left; }
.security-benefit span:first-child {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  color: #001928;
  font-weight: 950;
  background: linear-gradient(135deg, var(--cyan), #9CEDD9);
}
.security-benefit strong {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--text);
  font-weight: 900;
  line-height: 1.45;
  word-break: normal;
  overflow-wrap: anywhere;
}
.solution-card-grid .icon-badge {
  font-size: .95rem;
  letter-spacing: .02em;
}
.flyer-lifecycle {
  margin-bottom: 24px;
  gap: 18px;
  align-items: stretch;
}
.flyer-lifecycle > div {
  position: relative;
  min-height: 118px;
  padding: 20px 16px;
  text-align: center;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(10,18,66,.97), rgba(11,127,104,.5));
  border: 1px solid rgba(23,201,165,.20);
  box-shadow: 0 14px 34px rgba(10,18,66,.15);
}
.flyer-lifecycle > div strong {
  display: block;
  color: var(--cyan-soft);
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.flyer-lifecycle > div span { color: var(--muted-on-dark); line-height: 1.6; }
.flyer-lifecycle > div:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(23,201,165,.18);
  border: 1px solid rgba(23,201,165,.35);
  color: var(--cyan-soft);
  font-weight: 900;
  z-index: 2;
}
body.lang-en-active .flyer-lifecycle > div:not(:last-child)::after { inset-inline-end: -25px; content: "→"; }
body.lang-ar-active .flyer-lifecycle > div:not(:last-child)::after { inset-inline-start: -25px; content: "←"; }
@media (max-width: 980px) {
  .security-benefit-list { grid-template-columns: 1fr; }
  .flyer-lifecycle > div:not(:last-child)::after { display: none; }
}
@media (max-width: 640px) {
  .security-feature-panel,
  .security-highlight-panel.security-feature-panel,
  .security-detail-card.security-feature-panel { padding: 22px; }
  .security-benefit { min-height: 58px; padding: 14px 15px; }
}


/* v32 fixes: remove broken security mini cards and lifecycle arrows */
.security-feature-panel,
.security-highlight-panel.security-feature-panel,
.security-detail-card.security-feature-panel {
  display: block !important;
  padding: clamp(28px, 3.5vw, 42px);
}
.security-highlight-copy,
.security-detail-copy {
  max-width: 980px;
}
.security-check-list {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}
.security-check-list li {
  color: var(--text);
  line-height: 1.8;
}
body.lang-ar-active .security-check-list {
  direction: rtl;
  text-align: right;
}
body.lang-en-active .security-check-list {
  direction: ltr;
  text-align: left;
}
.flyer-lifecycle > div:not(:last-child)::after {
  display: none !important;
}
.flyer-lifecycle {
  gap: 18px;
}


/* v33 refinements: platform 9-card grid, aligned encryption highlights, combined flyer card */
body.lang-ar-active .security-highlight-copy,
body.lang-ar-active .security-detail-copy {
  max-width: none;
  width: 100%;
  margin-inline: 0;
  text-align: right;
}
body.lang-en-active .security-highlight-copy,
body.lang-en-active .security-detail-copy {
  max-width: none;
  width: 100%;
  margin-inline: 0;
  text-align: left;
}
.security-feature-panel .check-list {
  max-width: 820px;
}
body.lang-ar-active .security-feature-panel .check-list {
  margin-inline-start: auto;
  margin-inline-end: 0;
}
body.lang-en-active .security-feature-panel .check-list {
  margin-inline-start: 0;
  margin-inline-end: auto;
}
.resource-flyer-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
  gap: 26px;
  align-items: center;
}
body.lang-ar-active .resource-flyer-card {
  direction: rtl;
}
body.lang-en-active .resource-flyer-card {
  direction: ltr;
}
body.lang-ar-active .resource-flyer-copy,
body.lang-ar-active .resource-flyer-qr {
  text-align: right;
}
body.lang-en-active .resource-flyer-copy,
body.lang-en-active .resource-flyer-qr {
  text-align: left;
}
.resource-flyer-qr {
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,17,34,.22);
}
.resource-flyer-qr .resource-qr-img {
  display: block;
  max-width: min(260px, 100%);
  margin: 16px auto 0;
}
@media (max-width: 820px) {
  .resource-flyer-card {
    grid-template-columns: 1fr;
  }
  .resource-flyer-qr .resource-qr-img {
    margin-inline: auto;
  }
  body.lang-ar-active .resource-flyer-qr,
  body.lang-en-active .resource-flyer-qr {
    text-align: center;
  }
}


/* v34 security highlight alignment and numbering */
.security-inline-badge {
  display: flex;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
}
body.lang-ar-active .security-inline-badge {
  margin-inline-start: auto;
  margin-inline-end: 0;
}
body.lang-en-active .security-inline-badge {
  margin-inline-start: 0;
  margin-inline-end: auto;
}
.security-feature-panel .check-list {
  width: 100%;
  max-width: none !important;
  margin-inline: 0 !important;
}
body.lang-ar-active .security-feature-panel .check-list {
  direction: rtl;
  text-align: right;
  justify-items: end;
}
body.lang-en-active .security-feature-panel .check-list {
  direction: ltr;
  text-align: left;
  justify-items: start;
}
body.lang-ar-active .security-feature-panel .check-list li {
  width: fit-content;
  max-width: 100%;
  padding-inline-start: 0;
  padding-inline-end: 34px;
  text-align: right;
}
body.lang-ar-active .security-feature-panel .check-list li::before {
  inset-inline-start: auto;
  inset-inline-end: 0;
}
body.lang-en-active .security-feature-panel .check-list li {
  width: fit-content;
  max-width: 100%;
  padding-inline-start: 34px;
  padding-inline-end: 0;
  text-align: left;
}
body.lang-en-active .security-feature-panel .check-list li::before {
  inset-inline-start: 0;
  inset-inline-end: auto;
}
.security-detail-card.security-feature-panel {
  margin-top: 28px;
}
@media (max-width: 640px) {
  .security-inline-badge {
    width: 46px;
    height: 46px;
    border-radius: 15px;
  }
  body.lang-ar-active .security-feature-panel .check-list,
  body.lang-en-active .security-feature-panel .check-list {
    justify-items: stretch;
  }
  body.lang-ar-active .security-feature-panel .check-list li,
  body.lang-en-active .security-feature-panel .check-list li {
    width: auto;
  }
}

/* v35 checklist alignment fix: respect text direction */
body.lang-ar-active .security-feature-panel .check-list {
  direction: rtl !important;
  text-align: right !important;
  justify-items: start !important;
}
body.lang-en-active .security-feature-panel .check-list {
  direction: ltr !important;
  text-align: left !important;
  justify-items: start !important;
}
body.lang-ar-active .security-feature-panel .check-list li {
  margin-inline-start: auto !important;
  margin-inline-end: 0 !important;
  text-align: right !important;
}
body.lang-en-active .security-feature-panel .check-list li {
  margin-inline-start: 0 !important;
  margin-inline-end: auto !important;
  text-align: left !important;
}

/* v36 strict RTL/LTR alignment for security highlight badge and checklist */
body.lang-ar-active .security-feature-panel .security-inline-badge {
  display: flex !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  margin-inline-start: 0 !important;
  margin-inline-end: 0 !important;
}
body.lang-en-active .security-feature-panel .security-inline-badge {
  display: flex !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  margin-inline-start: 0 !important;
  margin-inline-end: 0 !important;
}
body.lang-ar-active .security-feature-panel .security-check-list {
  direction: rtl !important;
  text-align: right !important;
  justify-items: end !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.lang-en-active .security-feature-panel .security-check-list {
  direction: ltr !important;
  text-align: left !important;
  justify-items: start !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.lang-ar-active .security-feature-panel .security-check-list li {
  direction: rtl !important;
  text-align: right !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 34px !important;
}
body.lang-en-active .security-feature-panel .security-check-list li {
  direction: ltr !important;
  text-align: left !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  padding-left: 34px !important;
  padding-right: 0 !important;
}
body.lang-ar-active .security-feature-panel .security-check-list li::before {
  right: 0 !important;
  left: auto !important;
  inset-inline-start: auto !important;
  inset-inline-end: 0 !important;
}
body.lang-en-active .security-feature-panel .security-check-list li::before {
  left: 0 !important;
  right: auto !important;
  inset-inline-start: 0 !important;
  inset-inline-end: auto !important;
}
@media (max-width: 640px) {
  body.lang-ar-active .security-feature-panel .security-check-list li,
  body.lang-en-active .security-feature-panel .security-check-list li {
    width: auto !important;
  }
}

/* v37 final physical bullet alignment for security checklist */
.security-feature-panel .security-check-list {
  list-style: none !important;
  padding: 0 !important;
  gap: 12px !important;
}
.security-feature-panel .security-check-list li {
  position: relative !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
  padding: 0 !important;
  max-width: 100% !important;
  line-height: 1.85 !important;
}
.security-feature-panel .security-check-list li::before {
  content: "" !important;
  position: static !important;
  display: inline-block !important;
  flex: 0 0 14px !important;
  width: 14px !important;
  height: 14px !important;
  margin-top: .55em !important;
  border-radius: 50% !important;
  background: var(--cyan) !important;
  box-shadow: 0 0 0 5px rgba(14,158,130,.12) !important;
}
.security-feature-panel .security-check-list li span {
  display: block !important;
  min-width: 0 !important;
}
body.lang-ar-active .security-feature-panel .security-check-list {
  direction: rtl !important;
  text-align: right !important;
  justify-items: end !important;
}
body.lang-en-active .security-feature-panel .security-check-list {
  direction: ltr !important;
  text-align: left !important;
  justify-items: start !important;
}
body.lang-ar-active .security-feature-panel .security-check-list li {
  direction: rtl !important;
  text-align: right !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  flex-direction: row !important;
}
body.lang-en-active .security-feature-panel .security-check-list li {
  direction: ltr !important;
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  flex-direction: row !important;
}
body.lang-ar-active .security-feature-panel .security-check-list li span {
  text-align: right !important;
}
body.lang-en-active .security-feature-panel .security-check-list li span {
  text-align: left !important;
}

/* v38: single product-screenshot hero at all widths */
.cover-card.home-cover img.mobile-cover { display: none !important; }
body.lang-ar-active .cover-card.home-cover img.desktop-cover.lang-ar { display: block !important; }
body.lang-en-active .cover-card.home-cover img.desktop-cover.lang-en { display: block !important; }

/* v38: AI-Powered emblem overlay on the hero banner (no lang class -> force show) */
.home-cover img[alt="AI Powered"] { display: block !important; }

/* ============================================================
   Homepage hero -- live, animated hero replacing the old flattened
   banner-image + redundant white text card. Dark ink->teal panel,
   real typography (not baked into a raster image), laptop mockup
   with a soft floating animation, entrance reveal on load.
   ============================================================ */
.home-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 64px;
  background:
    radial-gradient(circle at 88% 12%, rgba(23,201,165,.18), transparent 32rem),
    radial-gradient(circle at 8% 90%, rgba(23,201,165,.10), transparent 26rem),
    linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 42%, #0C3E52 72%, var(--teal-700) 100%);
  color: var(--text-on-dark);
}
.home-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(23,201,165,.30) 1.5px, transparent 1.7px);
  background-size: 26px 26px;
  opacity: .35;
  pointer-events: none;
}
.home-hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 40px;
  align-items: center;
}
.home-hero-copy { --text: var(--text-on-dark); --muted: var(--muted-on-dark); }
.home-hero-copy h1 { font-size: clamp(2.5rem, 5vw, 4.1rem); font-weight: 800; line-height: 1.14; margin: 26px 0 18px; color: var(--text-on-dark); }
.home-hero-copy h1 .accent {
  color: var(--cyan-soft);
  text-shadow: 0 0 28px rgba(23,201,165,.45);
}
.home-hero-copy p { font-size: 1.15rem; line-height: 1.75; color: var(--muted-on-dark); max-width: 640px; margin-bottom: 28px; }
.home-hero-brand { display: flex; align-items: center; gap: 16px; }
.home-hero-logo { height: 58px; width: auto; display: block; }
.ai-badge { height: 58px; width: 58px; display: block; filter: drop-shadow(0 6px 14px rgba(0,0,0,.35)); animation: aiPulse 3.2s ease-in-out infinite; }
@keyframes aiPulse {
  0%, 100% { filter: drop-shadow(0 6px 14px rgba(23,201,165,.3)); }
  50% { filter: drop-shadow(0 8px 24px rgba(23,201,165,.65)); }
}
.home-hero-pills { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.home-hero-pills .pill {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 14px 22px;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.18);
  color: var(--text-on-dark);
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
  transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.home-hero-pills .pill:hover { background: rgba(23,201,165,.20); border-color: rgba(23,201,165,.55); transform: translateY(-3px); box-shadow: 0 12px 26px rgba(23,201,165,.25); }
.home-hero-pills .pill svg { width: 22px; height: 22px; color: var(--cyan-soft); flex: none; }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.home-hero-actions .btn { min-height: 58px; padding: 0 34px; font-size: 1.08rem; }
.home-hero-actions .btn-primary { box-shadow: 0 12px 30px rgba(23,201,165,.35); animation: heroCtaGlow 3.6s ease-in-out infinite; }
@keyframes heroCtaGlow {
  0%, 100% { box-shadow: 0 12px 30px rgba(23,201,165,.30); }
  50% { box-shadow: 0 16px 42px rgba(23,201,165,.55); }
}
.home-hero-actions .btn-secondary { color: var(--text-on-dark); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); }
.home-hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.home-hero-visual img { width: 100%; max-width: 680px; display: block; animation: heroFloat 5.5s ease-in-out infinite; filter: drop-shadow(0 34px 60px rgba(0,0,0,.4)); }
.home-hero-glow {
  position: absolute; inset: 4% 0%;
  background: radial-gradient(circle, rgba(23,201,165,.38), transparent 68%);
  filter: blur(14px);
  z-index: -1;
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.home-hero-copy.reveal, .home-hero-visual.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.home-hero-copy.reveal.visible, .home-hero-visual.reveal.visible { opacity: 1; transform: translateY(0); }
.home-hero-visual.reveal { transition-delay: .12s; }

@media (max-width: 900px) {
  .home-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .home-hero-visual { order: -1; }
  .home-hero-visual img { max-width: 460px; }
  .home-hero { padding: 32px 0 40px; }
  .home-hero-copy h1 { font-size: clamp(2.1rem, 6vw, 2.9rem); }
}
@media (max-width: 640px) {
  .home-hero-logo { height: 42px; }
  .ai-badge { height: 42px; width: 42px; }
  .home-hero-brand { gap: 12px; }
  .home-hero-copy h1 { font-size: clamp(1.9rem, 8.5vw, 2.5rem); margin: 20px 0 14px; }
  .home-hero-copy p { font-size: 1.02rem; }
  .home-hero-pills { gap: 10px; margin-bottom: 26px; }
  .home-hero-pills .pill { padding: 11px 16px; font-size: .92rem; }
  .home-hero-pills .pill svg { width: 19px; height: 19px; }
  .home-hero-actions { gap: 12px; }
  .home-hero-actions .btn { min-height: 52px; padding: 0 24px; font-size: 1rem; flex: 1 1 auto; justify-content: center; }
  .home-hero-visual img { max-width: 340px; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-badge, .home-hero-visual img { animation: none; }
  .home-hero-copy.reveal, .home-hero-visual.reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Polish pass: quick-nav card teal accent, contact-card decorative
   glow + a filled active state for the purpose selector (was a flat
   pill with no visual feedback for which option is actually chosen).
   ============================================================ */
.quick-nav-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #ffffff 0%, rgba(14,158,130,.055) 100%) !important;
  border: 1px solid rgba(14,158,130,.18) !important;
}
.quick-nav-card::before {
  content: "";
  position: absolute;
  inset: auto -60px -80px auto;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,158,130,.14), transparent 70%);
  pointer-events: none;
}
.quick-nav-links a {
  position: relative; z-index: 1;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.quick-nav-links a:hover { transform: translateY(-2px); }

.contact-card { isolation: isolate; }
.contact-card::after {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23,201,165,.22), transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.purpose-option { transition: background .2s ease, border-color .2s ease, transform .15s ease; }
.purpose-option:hover { background: rgba(255,255,255,.11); transform: translateY(-1px); }
.purpose-option:has(input:checked) {
  background: linear-gradient(135deg, var(--cyan-soft), var(--cyan));
  border-color: transparent;
  color: #0A1242;
}
.purpose-option:has(input:checked) svg,
.purpose-option:has(input:checked) .purpose-icon { color: #0A1242; }

.lead-form input:focus, .lead-form textarea:focus {
  border-color: var(--cyan) !important;
  box-shadow: 0 0 0 4px rgba(23,201,165,.18) !important;
}

/* ============================================================
   Site-wide "de-flatten the white cards" pass. Every plain-white
   card component (.card/.resource-card, .cover-card, .cover-cta-panel,
   .visual-showcase, .flyer-preview-card, table, qr boxes) gets the
   same warm teal-tinted gradient + corner glow + top accent line
   instead of flat #fff, so the brand color actually shows up outside
   the dark panels. One shared treatment = visually consistent site.
   ============================================================ */
.card, .panel, .resource-card,
.cover-card, .cover-cta-panel, .visual-showcase, .flyer-preview-card,
.qr-box, .resource-qr-img {
  background: linear-gradient(160deg, #ffffff 0%, rgba(14,158,130,.14) 100%) !important;
  position: relative;
}
.card::before, .resource-card::before, .panel::before,
.cover-card::before, .cover-cta-panel::before, .visual-showcase::before, .flyer-preview-card::before {
  content: "";
  position: absolute;
  inset-inline-start: 0; top: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-600), var(--cyan));
  opacity: .85;
  z-index: 1;
}
.card::after, .resource-card::after, .panel::after {
  background: radial-gradient(circle, rgba(14,158,130,.28), transparent 66%) !important;
  width: 210px !important; height: 210px !important;
}
.cover-card::after, .cover-cta-panel::after, .visual-showcase::after, .flyer-preview-card::after {
  content: "";
  position: absolute;
  inset-inline-end: -70px; top: -70px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,158,130,.22), transparent 66%);
  pointer-events: none;
  z-index: 0;
}
.cover-cta-panel > * { position: relative; z-index: 2; }
table { background: linear-gradient(160deg, #ffffff 0%, rgba(14,158,130,.03) 100%) !important; }
.qr-box, .resource-qr-img { border: 1px solid rgba(14,158,130,.28) !important; box-shadow: 0 14px 34px rgba(14,158,130,.16); }
/* the QR sub-panel stays a distinct dark ink-to-teal block (not the shared white-card tint) so it
   reads as its own frame inside the paler flyer-preview-card, instead of blending into flat white */
.resource-flyer-qr {
  background: linear-gradient(135deg, rgba(10,18,66,.95), rgba(11,127,104,.65)) !important;
  border: 1px solid rgba(23,201,165,.28) !important;
  box-shadow: 0 14px 34px rgba(10,18,66,.18);
}
.resource-flyer-qr h3, .resource-flyer-qr p { color: var(--text-on-dark); }
.resource-flyer-qr p { color: var(--muted-on-dark); }

/* subtle lift + shadow-bloom on hover for every card, reinforcing interactivity */
.card, .resource-card, .cover-card, .visual-showcase, .flyer-preview-card, .quick-nav-card {
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.card:hover, .resource-card:hover, .visual-showcase:hover, .flyer-preview-card:hover, .quick-nav-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 60px rgba(14,158,130,.16);
  border-color: rgba(14,158,130,.35);
}

/* v39: rebalance the footer "quick links" card -- give the heading column enough width that
   "انتقل مباشرة إلى صفحات MetaVault ECM" doesn't break word-by-word, and lay the links out as a
   grid so they distribute evenly across rows instead of leaving one chip stranded alone. */
.quick-nav-card {
  grid-template-columns: minmax(240px, .95fr) minmax(0, 1.3fr) !important;
}
.quick-nav-card > .quick-nav-links {
  display: grid !important;
  flex-wrap: unset !important;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px !important;
}
.quick-nav-card > .quick-nav-links a {
  width: 100%;
  min-width: 0;
  white-space: normal;
  text-align: center;
  line-height: 1.3;
}
@media (max-width: 1180px) {
  .quick-nav-card { grid-template-columns: 1fr !important; }
}
@media (max-width: 640px) {
  .quick-nav-card > .quick-nav-links { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
