/* ── RESET & BASE ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* zinki-derived palette */
  --indigo:       #17093A;
  --indigo-2:     #1A154C;
  --indigo-3:     #1E1A5E;
  --indigo-light: #221460;

  --blue:         #3B6FAD;   /* jazyl steel blue */
  --blue-bright:  #7EC3C9;   /* jazyl teal */
  --blue-tile-a:  #1E3A6B;
  --blue-tile-b:  #2B5E9C;
  --blue-glow:    rgba(126,195,201,0.23);
  --blue-glow-2:  rgba(59,111,173,0.22);

  --gold:         #F0B600;
  --gold-muted:   rgba(240,182,0,0.15);
  --gold-border:  rgba(240,182,0,0.35);
  --red:          #ff375e;
  --purple:       #4f008c;

  --text:         #FFFFFF;
  --text-dim:     rgba(255,255,255,0.56);
  --text-muted:   rgba(255,255,255,0.35);

  --glass-bg:     rgba(23,9,58,0.75);
  --glass-border: rgba(255,255,255,0.08);
  --card-bg:      rgba(26,21,76,0.80);
  --card-border:  rgba(59,111,173,0.45);

  --radius:       16px;
  --radius-sm:    10px;
  --transition:   0.3s cubic-bezier(0.4,0,0.2,1);

  /* background diamond pattern as inline SVG data-uri */
  --diamond-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='714' height='251' viewBox='0 0 714 251'%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Crect width='251' height='714' fill='none'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(714) rotate(90)' clip-path='url(%23a)'%3E%3Cg opacity='0.18'%3E%3Crect width='95' height='46' transform='translate(97 234) rotate(-135)' fill='%233e8dfb'/%3E%3Crect width='48' height='46' transform='translate(163 235) rotate(-135)' fill='%233e8dfb'/%3E%3Crect width='190' height='46' transform='translate(199 401) rotate(-135)' fill='%233e8dfb'/%3E%3Crect width='95' height='95' transform='translate(264 336) rotate(-135)' fill='%233e8dfb'/%3E%3Crect width='91' height='91' transform='translate(251 129) rotate(-135)' fill='%233e8dfb'/%3E%3Crect width='91' height='139' transform='translate(231 498) rotate(-135)' fill='%233e8dfb'/%3E%3Crect width='190' height='46' transform='translate(237 633) rotate(-135)' fill='%233e8dfb'/%3E%3Crect width='143' height='117' transform='translate(251 618) rotate(-135)' fill='%233e8dfb'/%3E%3Crect width='48' height='46' transform='translate(34 364) rotate(-135)' fill='%233e8dfb'/%3E%3Crect width='95' height='46' transform='translate(135 465) rotate(-135)' fill='%233e8dfb'/%3E%3Crect width='48' height='46' transform='translate(71 596) rotate(-135)' fill='%233e8dfb'/%3E%3Crect width='117' height='103' transform='translate(254 714) rotate(-135)' fill='%233e8dfb'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

html { scroll-behavior: smooth; }

body {
  background: var(--indigo);
  color: var(--text);
  font-family: 'Tajawal', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

html[dir="rtl"] body { font-family: 'Tajawal', sans-serif; }

a { color: inherit; text-decoration: none; }
img, svg { display: block; }

/* ── TYPOGRAPHY ───────────────────────────────────────── */
.text-gradient {
  background: linear-gradient(135deg, #83C8CA 0%, #4379B9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── SCROLLBAR ───────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--indigo); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue-bright); }

/* ── SECTION COMMONS ──────────────────────────────────── */
.section-inner {
  max-width: min(1560px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 32px;
}

section { padding: 100px 0; }

/* zinki-style section label: small muted text, right-aligned */
.section-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
  text-align: right;
}
html[dir="ltr"] .section-label { text-align: left; }

.section-title {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-sub {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 600px;
  margin-bottom: 60px;
  line-height: 1.7;
}

/* ── REVEAL ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── DIAMOND BG DECORATORS ───────────────────────────── */
.diamond-bg {
  position: absolute;
  transform: rotate(45deg);
  background: rgba(33,78,177,0.14);
  border: 1px solid rgba(62,141,251,0.12);
  pointer-events: none;
}

/* ── NAVBAR ──────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: rgba(23,9,58,0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(62,141,251,0.15);
}

.nav-inner {
  max-width: min(1560px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-mark { width: 40px; height: 40px; flex-shrink: 0; }
.logo-mark.small { width: 32px; height: 32px; }
.nav-logo-img { height: 44px; width: auto; display: block; }
.logo-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: white;
}
.logo-arabic {
  font-family: 'Tajawal', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--gold);
  margin-inline-start: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: auto;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  padding: 6px 14px;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--text); background: rgba(62,141,251,0.08); }
.nav-links a.nav-cta {
  background: var(--gold);
  color: var(--indigo);
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 8px;
}
.nav-links a.nav-cta:hover { background: #ffd84d; }

.lang-toggle {
  background: rgba(62,141,251,0.1);
  border: 1px solid rgba(62,141,251,0.25);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
}
.lang-toggle:hover { color: white; border-color: var(--blue-bright); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-inline-start: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px 32px 20px;
  background: rgba(23,9,58,0.98);
  border-top: 1px solid var(--card-border);
}
.mobile-menu a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dim);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--blue-bright); }
.mobile-menu.open { display: flex; }

/* ── HERO ────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 32px 80px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--indigo-2) 0%, var(--indigo) 100%);
}

/* hero diamond background shapes - cloned from zinki */
.hero-diamond { position: absolute; transform: rotate(45deg); pointer-events: none; }
.hd-1 { width: 420px; height: 420px; top: -100px; right: -80px; background: rgba(33,78,177,0.18); border: 1px solid rgba(62,141,251,0.1); }
.hd-2 { width: 280px; height: 280px; top: 60px; right: 80px; background: rgba(42,48,114,0.25); border: 1px solid rgba(62,141,251,0.15); }
.hd-3 { width: 320px; height: 320px; bottom: -60px; left: -60px; background: rgba(33,78,177,0.14); border: 1px solid rgba(62,141,251,0.08); }
.hd-4 { width: 180px; height: 180px; bottom: 120px; left: 120px; background: rgba(42,48,114,0.2); border: 1px solid rgba(62,141,251,0.12); }
.hd-5 { width: 120px; height: 120px; top: 180px; left: 40%; background: rgba(240,182,0,0.06); border: 1px solid rgba(240,182,0,0.12); }

html[dir="rtl"] .hd-1 { right: auto; left: -80px; }
html[dir="rtl"] .hd-2 { right: auto; left: 80px; }
html[dir="rtl"] .hd-3 { left: auto; right: -60px; }
html[dir="rtl"] .hd-4 { left: auto; right: 120px; }

/* hero bottom mountain silhouette (zinki-style) */
#hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--indigo));
  pointer-events: none;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.5;
}

/* hero main visual — full-section background video */
.hero-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-visual video,
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.18;
  object-position: center;
  animation: none !important;
}
.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(23,9,58,0.78) 0%,
    rgba(23,9,58,0.52) 45%,
    rgba(23,9,58,0.70) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(62,141,251,0.1);
  border: 1px solid rgba(62,141,251,0.3);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--blue-bright);
  margin-bottom: 32px;
  animation: fadeUp 0.8s ease both;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 8px var(--blue-bright);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.5; transform:scale(1.5); }
}

.hero-headline {
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}
.headline-line-1 { display: block; color: white; animation: fadeUp 0.8s 0.1s ease both; }
.headline-line-2 {
  display: block;
  background: linear-gradient(135deg, var(--blue-bright), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-sub {
  font-size: clamp(15px, 2vw, 19px);
  color: var(--text-dim);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.75;
  animation: fadeUp 0.8s 0.3s ease both;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  animation: fadeUp 0.8s 0.4s ease both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--indigo);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 10px;
  transition: all var(--transition);
  box-shadow: 0 0 32px rgba(240,182,0,0.25);
}
.btn-primary:hover {
  background: #ffd84d;
  transform: translateY(-2px);
  box-shadow: 0 0 48px rgba(240,182,0,0.45);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 10px;
  border: 1px solid rgba(62,141,251,0.35);
  transition: all var(--transition);
}
.btn-ghost:hover {
  background: rgba(62,141,251,0.1);
  border-color: var(--blue-bright);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(26,21,76,0.7);
  backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 24px 32px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.5s ease both;
  box-shadow: var(--blue-glow) 0 4px 24px 0;
}

.stat { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0 30px; }
.stat-num { font-size: 30px; font-weight: 900; letter-spacing: -0.02em; color: white; line-height: 1; }
.stat-label { font-size: 11px; font-weight: 500; color: var(--text-dim); text-align: center; }
.stat-div { width: 1px; height: 36px; background: rgba(62,141,251,0.2); flex-shrink: 0; }

.hero-scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  animation: fadeUp 1s 0.8s ease both;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, var(--blue-bright));
  animation: scrollPulse 2s ease infinite;
}
.hero-scroll-hint span { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); }

@keyframes scrollPulse {
  0% { opacity:0; transform:scaleY(0); transform-origin:top; }
  50% { opacity:1; transform:scaleY(1); }
  100% { opacity:0; transform:scaleY(0); transform-origin:bottom; }
}
@keyframes fadeUp {
  from { opacity:0; transform:translateY(24px); }
  to   { opacity:1; transform:translateY(0); }
}

/* ── OPPORTUNITY BAND ────────────────────────────────── */
#opportunity {
  padding: 0;
  background: linear-gradient(90deg, var(--indigo-2), var(--indigo-light), var(--indigo-2));
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  position: relative;
  overflow: hidden;
}
#opportunity::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--diamond-pattern);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.3;
}

.opp-inner {
  max-width: min(1560px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.opp-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 40px 32px;
}
.opp-num { font-size: clamp(34px,4vw,52px); font-weight: 900; letter-spacing: -0.03em; line-height: 1; }
.opp-num.gold { color: var(--gold); }
.opp-num.blue { color: var(--blue-bright); }
.opp-label { font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.4; }
.opp-source { font-size: 11px; color: var(--text-muted); }
.opp-divider { width: 1px; background: var(--card-border); flex-shrink: 0; }

/* ── PROBLEM ─────────────────────────────────────────── */
#problem {
  background: var(--indigo);
  position: relative;
  overflow: hidden;
}
#problem .deco-diamond-r { top: -100px; right: -80px; width: 400px; height: 400px; }
#problem .deco-diamond-l { bottom: -80px; left: -60px; width: 260px; height: 260px; }

/* problem section full-width archive visual */
.problem-visual-strip {
  position: relative;
  width: 100%;
  height: 300px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 48px;
}
.problem-visual-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  filter: brightness(0.65) saturate(0.9);
  transition: filter 0.6s ease, transform 0.6s ease;
}
.problem-visual-strip:hover img {
  filter: brightness(0.75) saturate(1.1);
  transform: scale(1.02);
}
/* gradient overlays: dark top + dark bottom, clear in middle */
.problem-visual-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    var(--indigo) 0%,
    transparent 18%,
    transparent 72%,
    var(--indigo) 100%);
  z-index: 1;
  pointer-events: none;
}
.problem-visual-caption {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  white-space: nowrap;
}
.problem-visual-caption span {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.problem-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-bright), var(--gold));
  opacity: 0;
  transition: opacity var(--transition);
}
.problem-card:hover {
  border-color: var(--blue-bright);
  transform: translateY(-4px);
  box-shadow: var(--blue-glow-2) 0 16px 32px 0;
}
.problem-card:hover::before { opacity: 1; }

.problem-icon { width: 48px; height: 48px; margin-bottom: 20px; }
.problem-num { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.15em; color: var(--blue-bright); margin-bottom: 10px; }
.problem-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.problem-card p { font-size: 14px; color: var(--text-dim); line-height: 1.7; }

/* ── PILLARS ─────────────────────────────────────────── */
#expertise {
  background: linear-gradient(180deg, var(--indigo-2) 0%, var(--indigo) 100%);
  position: relative;
  overflow: hidden;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.pillar-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 40px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.pillar-card:hover {
  border-color: var(--blue-bright);
  transform: translateY(-6px);
  box-shadow: var(--blue-glow) 0 24px 36px 0;
}

/* featured pillar — gold theme */
.pillar-featured {
  border-color: var(--gold-border);
  background: linear-gradient(145deg, rgba(26,21,76,0.9), rgba(30,18,8,0.5));
}
.pillar-featured:hover {
  border-color: var(--gold);
  box-shadow: rgba(240,182,0,0.2) 0 24px 36px 0;
}

.pillar-num {
  font-size: 64px;
  font-weight: 900;
  color: rgba(255,255,255,0.04);
  position: absolute;
  top: 12px; right: 20px;
  line-height: 1;
  pointer-events: none;
}
html[dir="rtl"] .pillar-num { right: auto; left: 20px; }

.pillar-icon-wrap { width: 56px; height: 56px; margin-bottom: 24px; }
.pillar-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 14px; }
.pillar-card p { font-size: 14px; color: var(--text-dim); line-height: 1.7; margin-bottom: 24px; }

.pillar-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pillar-tags span {
  font-size: 11px; font-weight: 600;
  color: var(--blue-bright);
  background: rgba(62,141,251,0.1);
  border: 1px solid rgba(62,141,251,0.2);
  border-radius: 6px;
  padding: 3px 10px;
}
.gold-tags span {
  color: var(--gold);
  background: var(--gold-muted);
  border-color: var(--gold-border);
}

/* ── TECHNOLOGY EDGE ─────────────────────────────────── */
#edge {
  background: var(--indigo);
  position: relative;
  overflow: hidden;
}
/* zinki-style: blue diamond-pattern tiles */
.edge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 60px;
}

.edge-tile {
  background: linear-gradient(160deg, var(--blue-tile-a) 0%, var(--blue-tile-b) 100%);
  background-image: var(--diamond-pattern), linear-gradient(160deg, var(--blue-tile-a) 0%, var(--blue-tile-b) 100%);
  background-blend-mode: overlay, normal;
  border: 1px solid rgba(62,141,251,0.3);
  border-radius: var(--radius-sm);
  padding: 28px 22px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.edge-tile:hover {
  transform: translateY(-4px);
  box-shadow: rgba(62,141,251,0.26) 0 16px 32px 0;
  border-color: var(--blue-bright);
}
.edge-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.edge-icon { width: 36px; height: 36px; margin-bottom: 14px; }
.edge-tile h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.edge-tile p { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.6; }

/* ── PRODUCTS ────────────────────────────────────────── */
#products {
  background: linear-gradient(180deg, var(--indigo) 0%, var(--indigo-2) 100%);
  position: relative;
  overflow: hidden;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.product-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
/* inner diamond pattern overlay */
.product-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background-image: var(--diamond-pattern);
  background-size: 200px auto;
  opacity: 0.12;
  pointer-events: none;
}
html[dir="rtl"] .product-card::before { right: auto; left: -40px; }

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--blue-glow) 0 20px 40px 0;
  border-color: var(--blue-bright);
}

.product-card-wide { grid-column: span 1; }

.product-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.product-icon { width: 44px; height: 44px; flex-shrink: 0; }

.product-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(62,141,251,0.12);
  border: 1px solid rgba(62,141,251,0.25);
  color: var(--blue-bright);
  white-space: nowrap;
}
.gold-badge { background: var(--gold-muted); border-color: var(--gold-border); color: var(--gold); }
.blue-badge { background: rgba(62,141,251,0.1); border-color: rgba(62,141,251,0.3); color: var(--blue-bright); }
.red-badge { background: rgba(255,55,94,0.1); border-color: rgba(255,55,94,0.25); color: #ff375e; }

/* product card diamond image */
.product-visual {
  overflow: hidden;
  height: 160px;
  margin: -28px -28px 20px;
  border-radius: var(--radius) var(--radius) 0 0;
  position: relative;
}
.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease, filter 0.4s ease;
  filter: brightness(0.85) saturate(0.95);
}
.product-card:hover .product-visual img {
  transform: scale(1.06);
  filter: brightness(1) saturate(1.1);
}
/* gradient blending into card background at bottom */
.product-visual::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--card-bg));
  pointer-events: none;
}
.product-visual-wide { height: 160px; }
.product-visual-wide img { object-position: center 30%; }

.product-card h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.product-card > p { font-size: 13px; color: var(--text-dim); line-height: 1.65; flex: 1; }

.product-features { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.product-features li {
  font-size: 12px;
  color: var(--text-dim);
  padding-inline-start: 14px;
  position: relative;
}
.product-features li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 6px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--blue-bright);
}

.ecm-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 6px;
}
.ecm-feat {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-muted);
  border: 1px solid var(--gold-border);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  transition: border-color var(--transition);
}
.ecm-feat:hover { border-color: var(--gold); color: white; }
.ecm-feat-icon { font-size: 15px; width: 20px; text-align: center; }

/* ── SECTORS ─────────────────────────────────────────── */
#sectors {
  background: var(--indigo-2);
  position: relative;
  overflow: hidden;
}

/* zinki-style diamond shapes behind sector section */
#sectors::before {
  content: '';
  position: absolute;
  top: -160px; left: -80px;
  width: 500px; height: 500px;
  transform: rotate(45deg);
  background: rgba(33,78,177,0.08);
  border: 1px solid rgba(62,141,251,0.06);
  pointer-events: none;
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 20px;
  margin-top: 60px;
}

/* sector card photo header */
.sector-img {
  height: 140px;
  margin: -32px -28px 24px;
  overflow: hidden;
  position: relative;
}
.sector-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
  filter: brightness(0.7) saturate(0.8);
}
.sector-card:hover .sector-img img { transform: scale(1.06); filter: brightness(0.85) saturate(1); }
.sector-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, var(--card-bg) 100%);
}

.sector-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.sector-card::after {
  content: '';
  position: absolute;
  inset-inline-start: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--blue-bright), var(--gold));
  opacity: 0;
  transition: opacity var(--transition);
}
.sector-card:hover { border-color: var(--blue-bright); transform: translateY(-3px); }
.sector-card:hover::after { opacity: 1; }

.sector-num { font-size: 11px; font-weight: 700; letter-spacing: 0.15em; color: var(--text-muted); margin-bottom: 14px; display: block; }
.sector-icon { width: 44px; height: 44px; margin-bottom: 14px; }
.sector-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.sector-card p { font-size: 13px; color: var(--text-dim); line-height: 1.65; margin-bottom: 18px; }
.sector-stats { display: flex; gap: 10px; flex-wrap: wrap; }
.sector-stat {
  font-size: 12px; color: var(--text-dim);
  background: rgba(62,141,251,0.07);
  border: 1px solid rgba(62,141,251,0.18);
  border-radius: 6px;
  padding: 4px 10px;
}
.sector-stat strong { color: var(--gold); }

/* ── TRUST ───────────────────────────────────────────── */
#trust {
  background: var(--indigo);
  position: relative;
  overflow: hidden;
}
/* zinki background pattern overlay */
#trust::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--diamond-pattern);
  background-repeat: no-repeat;
  background-position: left center;
  opacity: 0.15;
  pointer-events: none;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 16px;
  margin-top: 60px;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.award-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.award-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-4px);
  box-shadow: rgba(240,182,0,0.15) 0 12px 28px 0;
}
.patent-card { border-color: rgba(62,141,251,0.3); }
.patent-card:hover { border-color: var(--blue-bright); box-shadow: var(--blue-glow) 0 12px 28px 0; }

.award-icon { width: 52px; height: 52px; }
.award-card h4 { font-size: 13px; font-weight: 700; }
.award-card p { font-size: 11px; color: var(--text-dim); }

/* zinki-style diamond icon containers */
.diamond-icon {
  width: 64px; height: 64px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--blue-tile-a), var(--blue-tile-b));
  border: 1px solid rgba(62,141,251,0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.diamond-icon > * { transform: rotate(-45deg); }

.offices-band {
  background: rgba(26,21,76,0.8);
  backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 36px;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.offices-label { font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); flex-shrink: 0; }
.offices-list { display: flex; gap: 28px; flex-wrap: wrap; flex: 1; justify-content: flex-end; }
html[dir="rtl"] .offices-list { justify-content: flex-start; }
.office-item { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--text-dim); }
.office-item svg { width: 14px; height: 14px; }
.office-item:hover { color: var(--text); }

/* ── CTA ─────────────────────────────────────────────── */
#contact {
  position: relative;
  background: linear-gradient(160deg, var(--indigo-2) 0%, var(--indigo) 100%);
  overflow: hidden;
  padding: 120px 0;
}
#contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 100%, rgba(62,141,251,0.1) 0%, transparent 70%);
}
/* large diamond behind CTA */
#contact::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  background: transparent;
  border: 1px solid rgba(62,141,251,0.08);
  pointer-events: none;
}

.cta-inner { position: relative; z-index: 1; }
.cta-headline { font-size: clamp(34px,5vw,64px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 20px; text-align: center; }
.cta-sub { font-size: 17px; color: var(--text-dim); max-width: 580px; margin: 0 auto 56px; text-align: center; line-height: 1.7; }

.contact-cards { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 18px 24px;
  min-width: 200px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.contact-card:hover {
  border-color: var(--blue-bright);
  transform: translateY(-3px);
  box-shadow: var(--blue-glow) 0 12px 32px 0;
}
.contact-card svg { width: 22px; height: 22px; flex-shrink: 0; }
.contact-card > div { display: flex; flex-direction: column; gap: 2px; }
.contact-label { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.contact-val { font-size: 14px; font-weight: 600; color: var(--text); }

/* ── FOOTER ──────────────────────────────────────────── */
footer {
  background: var(--indigo-2);
  border-top: 1px solid var(--card-border);
  padding: 64px 0 0;
}

.footer-inner {
  max-width: min(1560px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 32px 48px;
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-brand { flex: 1; min-width: 240px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-logo-img { height: 36px; width: auto; }
.footer-tagline { display: block; font-size: 11px; font-family: 'Tajawal',sans-serif; color: var(--gold); font-weight: 500; }
.footer-desc { font-size: 13px; color: var(--text-dim); line-height: 1.7; max-width: 300px; }

.footer-links-group { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h5 { font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.footer-col a { font-size: 13px; color: var(--text-dim); transition: color var(--transition); }
.footer-col a:hover { color: var(--blue-bright); }

.footer-bottom {
  max-width: min(1560px, calc(100% - 48px));
  margin: 0 auto;
  padding: 18px 32px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11px;
  color: var(--text-muted);
}

/* ── FLOATING WHATSAPP (zinki-style) ─────────────────── */
.float-wa {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: #1a1a2e;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px 10px 14px;
  border-radius: 100px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  transition: all var(--transition);
  text-decoration: none;
}
html[dir="rtl"] .float-wa { left: auto; right: 28px; }
.float-wa:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.float-wa-icon { width: 28px; height: 28px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.float-wa-icon svg { width: 16px; height: 16px; }
.float-wa span { white-space: nowrap; }

/* ── MONO UTILITY ────────────────────────────────────── */
.mono { font-family: 'Tajawal', sans-serif; }

/* ── SECTION EYEBROW ─────────────────────────────────── */
.section-eyebrow {
  display: inline-block;
  font-family: 'Tajawal', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 20px;
  padding: 4px 12px;
  background: rgba(126,195,201,0.07);
  border: 1px solid rgba(126,195,201,0.18);
  border-radius: 4px;
}

/* ── SECTION TITLE XL ────────────────────────────────── */
.section-title-xl {
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 0;
}

/* ── TRUST BAR ───────────────────────────────────────── */
#trust-bar {
  padding: 0;
  background: rgba(26,21,76,0.5);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}
.trust-bar-inner {
  max-width: min(1560px, calc(100% - 48px));
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.trust-bar-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.trust-bar-items {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  white-space: nowrap;
}
.trust-item svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: var(--blue-bright);
  opacity: 0.7;
}
.trust-sep {
  color: var(--text-muted);
  font-size: 14px;
  opacity: 0.35;
  line-height: 1;
}
.trust-bar-region {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  letter-spacing: 0.06em;
  flex-shrink: 0;
  padding-inline-start: 12px;
  border-inline-start: 1px solid var(--card-border);
}

/* ── PROBLEM SECTION ADDITIONS ───────────────────────── */
.problem-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
  margin-bottom: 40px;
}
.problem-intro {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.78;
  padding-top: 12px;
}
.problem-visual-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 24px;
}
.problem-stat-row {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(23,9,58,0.88);
  backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 20px 32px;
}
.prob-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.prob-stat-num {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 900;
  line-height: 1;
  color: var(--blue-bright);
  letter-spacing: -0.02em;
}
.prob-stat-label {
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.4;
  max-width: 120px;
}
.prob-stat-div {
  width: 1px;
  height: 44px;
  background: rgba(62,141,251,0.2);
  flex-shrink: 0;
  margin: 0 8px;
}

/* ── HOW IT WORKS SECTION ────────────────────────────── */
#how-it-works {
  background: linear-gradient(180deg, var(--indigo) 0%, var(--indigo-2) 100%);
  position: relative;
  overflow: hidden;
}
.pipeline-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 56px;
}
.pipeline-steps {
  display: flex;
  flex-direction: column;
}
.pipeline-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.pipeline-step-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-bright);
  opacity: 0.7;
  min-width: 28px;
  padding-top: 5px;
  letter-spacing: 0.05em;
}
.pipeline-step-content h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.pipeline-step-content p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.72;
  margin-bottom: 14px;
}
.pipeline-connector {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, rgba(126,195,201,0.35), rgba(126,195,201,0.05));
  margin: 8px 0 8px 13px;
}
.pipeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pipeline-tags span {
  font-family: 'Tajawal', sans-serif;
  font-size: 10px;
  color: var(--blue-bright);
  background: rgba(126,195,201,0.07);
  border: 1px solid rgba(126,195,201,0.18);
  border-radius: 4px;
  padding: 2px 8px;
  letter-spacing: 0.02em;
}
.pipeline-visual {
  position: sticky;
  top: 100px;
  border-radius: var(--radius);
  overflow: hidden;
}
.pipeline-visual img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  filter: brightness(0.88) saturate(0.9);
  transition: filter var(--transition);
}
.pipeline-visual:hover img { filter: brightness(1) saturate(1); }
.pipeline-visual-badge {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(23,9,58,0.92);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 11px;
  color: var(--blue-bright);
  white-space: nowrap;
  backdrop-filter: blur(12px);
}

/* ── PLATFORM SECTION ADDITIONS ──────────────────────── */
.product-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}
.product-tagline {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.62;
}
.ecm-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ── ENTERPRISE SECTION ──────────────────────────────── */
#enterprise {
  background: var(--indigo-2);
  position: relative;
  overflow: hidden;
}
.enterprise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.enterprise-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.enterprise-card:hover {
  border-color: var(--blue-bright);
  transform: translateY(-4px);
  box-shadow: var(--blue-glow) 0 16px 32px 0;
}
.enterprise-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(126,195,201,0.07);
  border: 1px solid rgba(126,195,201,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue-bright);
}
.enterprise-icon svg { width: 22px; height: 22px; }
.enterprise-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.enterprise-card p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.72;
}

/* ── SECTOR BODY (wrapper inside sector-card) ─────────── */
.sector-body { display: flex; flex-direction: column; }

/* ── RECOGNITION SECTION ─────────────────────────────── */
#recognition {
  background: var(--indigo);
  position: relative;
  overflow: hidden;
}
#recognition::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--diamond-pattern);
  background-repeat: no-repeat;
  background-position: right center;
  opacity: 0.12;
  pointer-events: none;
}
.recognition-stats {
  display: flex;
  align-items: center;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px 48px;
  margin: 48px 0;
  flex-wrap: wrap;
  gap: 0;
  position: relative;
  z-index: 1;
}
.rec-stat {
  flex: 1;
  min-width: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.rec-stat-num {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  color: white;
  line-height: 1;
  letter-spacing: -0.03em;
}
.rec-stat-label {
  font-size: 11px;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.45;
  max-width: 100px;
}
.rec-stat-div {
  width: 1px;
  height: 48px;
  background: rgba(62,141,251,0.18);
  flex-shrink: 0;
}
.award-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.award-icon svg { width: 30px; height: 30px; }
.gold-icon {
  background: rgba(240,182,0,0.1);
  border: 1px solid rgba(240,182,0,0.22);
  color: var(--gold);
}
.blue-icon {
  background: rgba(126,195,201,0.1);
  border: 1px solid rgba(126,195,201,0.2);
  color: var(--blue-bright);
}
.award-content { text-align: center; }

/* offices strip */
.offices-strip {
  display: flex;
  align-items: center;
  gap: 40px;
  border-top: 1px solid var(--card-border);
  padding-top: 32px;
  margin-top: 4px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.office-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-bright);
  flex-shrink: 0;
}
.gold-dot { background: var(--gold); }

/* ── CTA ADDITIONS ───────────────────────────────────── */
.cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(126,195,201,0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.cta-eyebrow {
  font-family: 'Tajawal', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-bright);
  text-align: center;
  margin-bottom: 20px;
  display: block;
}

/* ── FOOTER BADGES ───────────────────────────────────── */
.footer-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.footer-badge {
  font-family: 'Tajawal', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 4px 10px;
}

/* ── RTL OVERRIDES ───────────────────────────────────── */
html[dir="rtl"] .nav-links { margin-inline-start: auto; margin-inline-end: 0; }
html[dir="rtl"] .hero-scroll-hint { left: auto; right: 50%; transform: translateX(50%); }
html[dir="rtl"] .footer-desc { max-width: 300px; }
html[dir="rtl"] .section-sub { direction: rtl; }
html[dir="rtl"] .problem-header { direction: rtl; }
html[dir="rtl"] .pipeline-connector { margin: 8px 13px 8px 0; }
html[dir="rtl"] .trust-bar-region { border-inline-start: none; border-inline-end: 1px solid var(--card-border); padding-inline-start: 0; padding-inline-end: 12px; }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .awards-grid { grid-template-columns: repeat(3,1fr); }
  .edge-grid { grid-template-columns: repeat(2,1fr); }
  .products-grid { grid-template-columns: repeat(2,1fr); }
  .product-card-wide { grid-column: span 1; }
  .enterprise-grid { grid-template-columns: repeat(2,1fr); }
  .pipeline-layout { gap: 40px; }
}

@media (max-width: 768px) {
  section { padding: 72px 0; }
  .section-inner { padding: 0 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .lang-toggle { margin-inline-start: auto; }
  .hero-stats { padding: 16px; }
  .stat { padding: 10px 14px; }
  .stat-num { font-size: 24px; }
  .stat-div { height: 28px; }
  .hd-1, .hd-2, .hd-3, .hd-4, .hd-5 { opacity: 0.4; }
  .problem-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .edge-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .product-card-wide { grid-column: span 1; }
  .sectors-grid { grid-template-columns: 1fr; }
  .awards-grid { grid-template-columns: repeat(2,1fr); }
  .opp-inner { flex-direction: column; }
  .opp-divider { width: auto; height: 1px; }
  .opp-item { padding: 24px 20px; }
  .contact-cards { flex-direction: column; align-items: center; }
  .contact-card { width: 100%; max-width: 320px; }
  .footer-inner { flex-direction: column; gap: 36px; }
  .footer-links-group { gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .ecm-features-grid { grid-template-columns: 1fr; }
  .offices-band { flex-direction: column; align-items: flex-start; gap: 16px; }
  .offices-list { justify-content: flex-start; gap: 16px; }
  .float-wa span { display: none; }
  .float-wa { padding: 10px; }
  /* new sections */
  .problem-header { grid-template-columns: 1fr; gap: 24px; }
  .pipeline-layout { grid-template-columns: 1fr; }
  .pipeline-visual { position: static; }
  .enterprise-grid { grid-template-columns: 1fr; }
  .recognition-stats { padding: 24px 20px; gap: 0; }
  .rec-stat { min-width: 60px; padding: 8px 0; }
  .rec-stat-div { height: 32px; }
  .trust-bar-items { gap: 6px; }
  .trust-sep { display: none; }
  .offices-strip { gap: 20px; }
  .awards-grid { grid-template-columns: repeat(2,1fr); }
  .prob-stat-row { flex-direction: column; gap: 16px; padding: 20px; }
  .prob-stat-div { width: 100%; height: 1px; margin: 0; }
}


/* ══════════════════════════════════════════════════════
   DYNAMIC ANIMATIONS
   ══════════════════════════════════════════════════════ */

/* ── KEYFRAMES ─────────────────────────────────────────── */
@keyframes shimmerSweep {
  0%   { left: -80%; opacity: 0; }
  25%  { opacity: 1; }
  100% { left: 160%; opacity: 0; }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-16px); }
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes lineGrow {
  from { height: 0; opacity: 0; }
  to   { height: 32px; opacity: 1; }
}
@keyframes rippleExpand {
  0%   { transform: scale(0); opacity: 0.55; }
  100% { transform: scale(6); opacity: 0; }
}
@keyframes ringExpand {
  0%   { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(3.2); opacity: 0; }
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(22px, -28px) scale(1.06); }
  66%       { transform: translate(-16px, 14px) scale(0.97); }
}
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 0 32px rgba(240,182,0,0.25); }
  50%       { box-shadow: 0 0 64px rgba(240,182,0,0.6); }
}
@keyframes gradientBorderSpin {
  0%   { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}
@keyframes awardPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(126,195,201,0.25), rgba(240,182,0,0.1) 0 12px 28px 0; }
  50%       { box-shadow: 0 0 0 3px rgba(126,195,201,0.15), rgba(126,195,201,0.25) 0 16px 36px 0; }
}
@keyframes scannerLine {
  0%   { top: -2px; opacity: 0.7; }
  100% { top: 100%; opacity: 0; }
}

/* ── SCROLL PROGRESS BAR ────────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, #7EC3C9, #4379B9 50%, #F0B600);
  z-index: 10000;
  box-shadow: 0 0 12px rgba(126,195,201,0.8);
  pointer-events: none;
  transition: width 0.08s linear;
}

/* ── CURSOR GLOW ────────────────────────────────────────── */
.cursor-glow {
  position: fixed;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126,195,201,0.055) 0%, transparent 62%);
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  will-change: left, top;
  transition: left 0.09s ease-out, top 0.09s ease-out;
}

/* ── ANIMATED GRADIENT TEXT (override) ─────────────────── */
.text-gradient {
  background: linear-gradient(135deg, #83C8CA 0%, #4379B9 30%, #F0B600 60%, #83C8CA 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 5s ease infinite;
}

/* ── HERO BADGE RING PULSE ──────────────────────────────── */
.hero-badge { position: relative; }
.hero-badge::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 100px;
  border: 1px solid rgba(126,195,201,0.45);
  animation: ringExpand 2.8s ease-out 0.8s infinite;
  pointer-events: none;
}

/* ── HERO VISUAL FLOAT ──────────────────────────────────── */
.hero-visual video,
.hero-visual img {
  animation: floatY 8s ease-in-out infinite;
}

/* ── HERO AMBIENT ORBS ──────────────────────────────────── */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  animation: orbFloat 14s ease-in-out infinite;
  z-index: 0;
}

/* ── TRUST BAR MARQUEE ──────────────────────────────────── */
.trust-bar-items {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.trust-marquee {
  display: flex;
  align-items: center;
  gap: 10px;
  animation: marqueeScroll 28s linear infinite;
  width: max-content;
}
.trust-marquee:hover { animation-play-state: paused; }

/* ── PIPELINE CONNECTOR DRAW ────────────────────────────── */
.pipeline-connector { height: 0; opacity: 0; }
.pipeline-connector.drawn {
  animation: lineGrow 0.5s 0.1s ease forwards;
}

/* ── ENTERPRISE ICON HOVER GLOW ─────────────────────────── */
.enterprise-icon {
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}
.enterprise-card:hover .enterprise-icon {
  background: rgba(126,195,201,0.18);
  box-shadow: 0 0 28px rgba(126,195,201,0.3);
  transform: scale(1.12) rotate(6deg);
}
.enterprise-icon svg { transition: transform 0.35s ease; }
.enterprise-card:hover .enterprise-icon svg { transform: scale(1.1); }

/* ── OVERFLOW FOR SHIMMER ───────────────────────────────── */
.enterprise-card { overflow: hidden; }
.award-card      { overflow: hidden; }

/* ── SHIMMER ON CARD HOVER ──────────────────────────────── */
.product-card::after,
.enterprise-card::after,
.problem-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 55%;
  height: 100%;
  background: linear-gradient(105deg,
    transparent 30%,
    rgba(255,255,255,0.055) 50%,
    transparent 70%);
  transform: skewX(-15deg);
  pointer-events: none;
  z-index: 6;
  opacity: 0;
}
.product-card:hover::after,
.enterprise-card:hover::after,
.problem-card:hover::after {
  animation: shimmerSweep 0.75s ease forwards;
}

/* ── AWARD CARD ANIMATED GLOW ───────────────────────────── */
.award-card:hover {
  animation: awardPulse 1.8s ease-in-out infinite;
}

/* ── BUTTON RIPPLE ──────────────────────────────────────── */
.btn-primary,
.btn-ghost { position: relative; overflow: hidden; }
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  width: 120px; height: 120px;
  background: rgba(255,255,255,0.16);
  animation: rippleExpand 0.65s ease-out forwards;
  pointer-events: none;
  margin-left: -60px;
  margin-top: -60px;
}

/* ── CTA CONTACT CARD GLOW ──────────────────────────────── */
#contact .contact-card {
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition), animation 0s;
}
#contact .contact-card:first-child {
  animation: ctaGlow 3.5s ease-in-out infinite;
}

/* ── STAT HOVER GLOW ────────────────────────────────────── */
.hero-stats:hover .stat-num {
  text-shadow: 0 0 28px rgba(126,195,201,0.6);
  transition: text-shadow 0.4s;
}
.recognition-stats:hover .rec-stat-num {
  text-shadow: 0 0 30px rgba(255,255,255,0.35);
  transition: text-shadow 0.4s;
}

/* ── 3D TILT WILL-CHANGE ────────────────────────────────── */
.product-card,
.enterprise-card,
.award-card,
.problem-card { will-change: transform; }

/* ── SECTION EYEBROW ENTRANCE ───────────────────────────── */
.section-eyebrow {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.section-eyebrow.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── PIPELINE VISUAL BADGE PULSE ────────────────────────── */
.pipeline-visual-badge {
  animation: awardPulse 4s ease-in-out infinite;
}

/* ── PRODUCT CARD SCAN LINE (on hover) ──────────────────── */
.product-card:hover::before {
  /* Reuse diamond pattern but add a scanner overlay */
}

/* ── NAV SCROLLED ENHANCED ──────────────────────────────── */
#navbar.scrolled {
  background: rgba(23,9,58,0.97) !important;
  box-shadow: 0 1px 0 rgba(126,195,201,0.12), 0 8px 32px rgba(0,0,0,0.35) !important;
}

/* ── HERO STAT NUMBERS ENTRANCE ─────────────────────────── */
.hero-stats {
  transition: box-shadow 0.4s;
}
.hero-stats:hover {
  box-shadow: var(--blue-glow) 0 8px 40px 0;
}

/* ── CONTACT CARD OVERFLOW ──────────────────────────────── */
.contact-card { overflow: hidden; }

/* ══════════════════════════════════════════════════════
   CHATGPT TYPING CURSOR
   ══════════════════════════════════════════════════════ */
.type-cursor {
  display: inline-block;
  width: 2px;
  height: 0.82em;
  background: var(--blue-bright);
  margin-inline-start: 3px;
  vertical-align: baseline;
  position: relative;
  top: 0.08em;
  border-radius: 1px;
  animation: cursorBlink 0.65s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes cursorBlink {
  0%, 44% { opacity: 1; }
  56%, 100% { opacity: 0; }
}

/* headline lines are inline so cursor sits at the right spot */
.headline-line-1,
.headline-line-2,
.type-prefix,
.type-gradient {
  display: inline;
}
.hero-headline { display: block; }
.headline-line-2 { display: block; margin-top: 0.05em; }

/* hero sub words fade in */
.hero-sub .word-token {
  display: inline;
  transition: opacity 0.28s ease;
}

/* ══════════════════════════════════════════════════════
   COMPREHENSIVE RTL OVERRIDES
   ══════════════════════════════════════════════════════ */

/* ── Global text direction for body paragraphs ─────── */
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] p,
html[dir="rtl"] li {
  text-align: right;
}

/* Center-aligned elements stay centered in RTL */
html[dir="rtl"] .hero-content,
html[dir="rtl"] .hero-badge,
html[dir="rtl"] .hero-headline,
html[dir="rtl"] .hero-sub,
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .hero-stats,
html[dir="rtl"] .cta-headline,
html[dir="rtl"] .cta-sub,
html[dir="rtl"] .cta-eyebrow,
html[dir="rtl"] .stat,
html[dir="rtl"] .stat-label,
html[dir="rtl"] .prob-stat,
html[dir="rtl"] .rec-stat,
html[dir="rtl"] .award-content,
html[dir="rtl"] .award-card,
html[dir="rtl"] .offices-strip,
html[dir="rtl"] .hero-scroll-hint {
  text-align: center;
}

/* ── Section labels & eyebrows ─────────────────────── */
html[dir="rtl"] .section-eyebrow {
  display: block;
  text-align: right;
}
html[dir="rtl"] .section-title,
html[dir="rtl"] .section-title-xl {
  text-align: right;
}
html[dir="rtl"] .section-sub {
  text-align: right;
  direction: rtl;
  margin-right: 0;
  margin-left: auto;
}

/* ── Problem section ──────────────────────────────── */
html[dir="rtl"] .problem-header {
  direction: rtl;
}
html[dir="rtl"] .problem-intro {
  text-align: right;
}
html[dir="rtl"] .problem-card h3,
html[dir="rtl"] .problem-card p,
html[dir="rtl"] .problem-num {
  text-align: right;
}

/* ── Pipeline steps ────────────────────────────────── */
html[dir="rtl"] .pipeline-step {
  flex-direction: row-reverse;
}
html[dir="rtl"] .pipeline-step-content h3,
html[dir="rtl"] .pipeline-step-content p {
  text-align: right;
}
html[dir="rtl"] .pipeline-tags {
  justify-content: flex-end;
}
html[dir="rtl"] .pipeline-connector {
  margin: 8px 13px 8px 0;
  align-self: flex-end;
}
html[dir="rtl"] .pipeline-visual-badge {
  direction: rtl;
}

/* ── Product cards ─────────────────────────────────── */
html[dir="rtl"] .product-card h3,
html[dir="rtl"] .product-tagline,
html[dir="rtl"] .product-meta {
  text-align: right;
}
html[dir="rtl"] .product-features {
  text-align: right;
}
html[dir="rtl"] .product-card::before {
  right: auto;
  left: -40px;
}
html[dir="rtl"] .ecm-features-grid {
  direction: rtl;
}
html[dir="rtl"] .ecm-feat {
  text-align: right;
}

/* ── Enterprise cards ──────────────────────────────── */
html[dir="rtl"] .enterprise-card h4,
html[dir="rtl"] .enterprise-card p {
  text-align: right;
}
html[dir="rtl"] .enterprise-icon {
  margin-right: 0;
}

/* ── Sector cards ──────────────────────────────────── */
html[dir="rtl"] .sector-card h3,
html[dir="rtl"] .sector-card p {
  text-align: right;
}
html[dir="rtl"] .sector-num,
html[dir="rtl"] .sector-stats {
  text-align: right;
}
html[dir="rtl"] .sector-stats {
  justify-content: flex-end;
}

/* ── Recognition ───────────────────────────────────── */
html[dir="rtl"] .rec-stat-label {
  text-align: center;
}
html[dir="rtl"] .offices-label {
  text-align: right;
}
html[dir="rtl"] .offices-list {
  justify-content: flex-end;
}

/* ── Footer ────────────────────────────────────────── */
/* direction:rtl already mirrors the flex rows (.footer-inner,
   .footer-links-group, .footer-bottom): brand → right, columns flow
   right-to-left. Do NOT add row-reverse — it double-flips back to LTR.
   Just align text/items to the right. */
html[dir="rtl"] .footer-brand { text-align: right; }
html[dir="rtl"] .footer-badges { justify-content: flex-start; }
html[dir="rtl"] .footer-col { text-align: right; align-items: stretch; }
html[dir="rtl"] .footer-col h5,
html[dir="rtl"] .footer-col a { text-align: right; }

/* ── Trust bar marquee direction ───────────────────── */
html[dir="rtl"] .trust-marquee {
  animation-direction: reverse;
}
html[dir="rtl"] .trust-bar-inner {
  flex-direction: row-reverse;
}

/* ── Nav RTL ───────────────────────────────────────── */
/* direction:rtl already mirrors the flex row (logo → right, links flow
   right-to-left). Do NOT add row-reverse — it double-flips back to LTR.
   The logical margin on .nav-links flips automatically. */
html[dir="rtl"] .nav-links {
  margin-inline-start: auto;
  margin-inline-end: 0;
}
html[dir="rtl"] .hamburger {
  margin-inline-start: 0;
}
html[dir="rtl"] .mobile-menu {
  text-align: right;
}

/* ── Contact cards RTL ── (mirror via direction:rtl — no row-reverse;
   icon moves to the right, text right-aligned to its left) ── */
html[dir="rtl"] .contact-card { text-align: right; }
html[dir="rtl"] .contact-card > div { text-align: right; }

/* ── Hero badge RTL ── (status dot leads from the right naturally) ── */

/* ── WhatsApp button RTL ───────────────────────────── */
html[dir="rtl"] .float-wa {
  left: auto;
  right: 28px;
  flex-direction: row-reverse;
}

/* ── Arabic font weight boost ──────────────────────── */
html[dir="rtl"] .hero-headline {
  font-weight: 900;
  letter-spacing: 0;
}
html[dir="rtl"] .section-title,
html[dir="rtl"] .section-title-xl {
  letter-spacing: 0;
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE IMPROVEMENTS
   ══════════════════════════════════════════════════════ */

/* ── Fluid container padding ───────────────────────── */
@media (max-width: 480px) {
  .section-inner { padding: 0 16px; }
  .nav-inner { padding: 0 16px; height: 60px; }
  .nav-logo-img { height: 36px; }

  #hero { padding: 100px 16px 70px; }
  .hero-headline { font-size: clamp(34px, 9vw, 56px); }
  .hero-badge { font-size: 11px; padding: 5px 14px; }

  .hero-stats {
    gap: 0;
    padding: 14px 10px;
    border-radius: 14px;
  }
  .stat { padding: 8px 10px; }
  .stat-num { font-size: 20px; }
  .stat-div { height: 24px; }
  .stat-label { font-size: 10px; }

  .btn-primary, .btn-ghost { font-size: 14px; padding: 12px 20px; }

  .problem-visual-strip { height: 200px; }
  .prob-stat-num { font-size: 22px; }

  .awards-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .award-card { padding: 16px 10px; }

  .recognition-stats { padding: 20px 12px; }
  .rec-stat-num { font-size: 28px; }
  .rec-stat-div { height: 24px; }

  .contact-card { padding: 14px 18px; }
  .footer-inner { padding: 0 16px 36px; gap: 28px; }
  .footer-links-group { gap: 20px; }
}

/* ── Tablet tweaks ─────────────────────────────────── */
@media (max-width: 768px) {
  .hero-headline { font-size: clamp(36px, 8vw, 68px); }

  /* Stack sector stats vertically on small screens */
  .sector-stats { flex-direction: column; gap: 6px; }

  /* Trust bar: hide separators, let items wrap */
  .trust-bar-inner { gap: 12px; flex-wrap: wrap; }
  .trust-bar-region { border-inline-start: none; padding-inline-start: 0; }

  /* Contact cards full-width stack */
  .contact-cards { gap: 10px; }

  /* Pipeline visual caption overflow fix */
  .problem-visual-caption { font-size: 12px; }
}

/* ── Large tablet ──────────────────────────────────── */
@media (max-width: 900px) {
  .recognition-stats { padding: 28px 24px; flex-wrap: wrap; gap: 16px; }
  .rec-stat { min-width: 100px; flex: 1 1 30%; }
  .rec-stat-div { display: none; }
}

/* ── Pipeline single-column on medium ─────────────── */
@media (max-width: 860px) {
  .pipeline-layout { grid-template-columns: 1fr; gap: 40px; }
  .pipeline-visual { position: static; }
}

/* ── RTL mobile menu alignment ─────────────────────── */
@media (max-width: 768px) {
  html[dir="rtl"] .mobile-menu a { text-align: right; }
  html[dir="rtl"] .lang-toggle { margin-inline-start: 0; margin-inline-end: auto; }
}

/* ════════════════════════════════════════════════════════════════════
   MULTI-PAGE · TAJAWAL · NAV DROPDOWN · PRODUCT PAGES   (appended 2026)
   ════════════════════════════════════════════════════════════════════ */

/* —— Tajawal as the Arabic typeface —— */
html[dir="rtl"] body,
html[dir="rtl"] .hero-sub,
html[dir="rtl"] .section-title,
html[dir="rtl"] .section-sub,
html[dir="rtl"] .hero-headline { font-family: 'Tajawal','Noto Sans Arabic','Inter',sans-serif; }
.logo-arabic { font-family: 'Tajawal','Tajawal',sans-serif; }
html[dir="rtl"] .mono { font-family: 'Tajawal','Tajawal',sans-serif; letter-spacing: 0; }

/* —— NAV: products dropdown —— */
.nav-dd { position: relative; display: inline-flex; align-items: center; }
.nav-dd-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 500; color: var(--text-dim);
  padding: 6px 14px; border-radius: 8px; cursor: pointer;
  background: none; border: none; transition: color var(--transition), background var(--transition);
}
.nav-dd-toggle:hover, .nav-dd:hover .nav-dd-toggle { color: var(--text); background: rgba(62,141,251,0.08); }
.nav-dd-toggle .chev { width: 11px; height: 11px; transition: transform .3s; opacity: .7; }
.nav-dd:hover .nav-dd-toggle .chev { transform: rotate(180deg); }
.nav-dd-menu {
  position: absolute; top: calc(100% + 12px); inset-inline-start: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 340px; padding: 8px;
  background: rgba(18,10,48,0.98); backdrop-filter: blur(22px);
  border: 1px solid var(--glass-border); border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.55), 0 0 0 1px rgba(126,195,201,0.06);
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .26s, transform .26s, visibility .26s;
  z-index: 1200;
}
/* invisible bridge over the gap so hover stays continuous from toggle → menu
   (lets you move onto the items without clicking; only active while open) */
.nav-dd-menu::before {
  content: ''; position: absolute; left: 0; right: 0; top: -18px; height: 20px;
}
html[dir="rtl"] .nav-dd-menu { transform: translateX(50%) translateY(10px); }
.nav-dd:hover .nav-dd-menu, .nav-dd-menu.open {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
html[dir="rtl"] .nav-dd:hover .nav-dd-menu, html[dir="rtl"] .nav-dd-menu.open { transform: translateX(50%) translateY(0); }
.nav-dd-menu .nav-dd-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px; border-radius: 12px;
  transition: background .22s; cursor: pointer;
}
.nav-dd-menu .nav-dd-item:hover { background: rgba(62,141,251,0.10); }

/* product-card explore CTA (home platform section) */
.product-explore {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 18px;
  font-size: 14px; font-weight: 700; color: var(--blue-bright);
  transition: gap .25s, color .25s;
}
.product-explore svg { width: 15px; height: 15px; transition: transform .25s; }
html[dir="rtl"] .product-explore svg { transform: scaleX(-1); }
.product-card:hover .product-explore { gap: 11px; color: #9fd6db; }
.product-card .product-explore.gold { color: var(--gold); }
.product-card:hover .product-explore.gold { color: #ffd84d; }
.nav-dd-ic {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(126,195,201,0.18), rgba(59,111,173,0.12));
  border: 1px solid rgba(126,195,201,0.22);
}
.nav-dd-ic.gold { background: linear-gradient(150deg, rgba(240,182,0,0.20), rgba(232,132,60,0.10)); border-color: rgba(240,182,0,0.30); }
.nav-dd-ic svg { width: 21px; height: 21px; }
.nav-dd-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nav-dd-txt b { font-size: 14.5px; font-weight: 700; color: var(--text); }
.nav-dd-txt span { font-size: 12px; color: var(--text-dim); line-height: 1.4; }
.nav-dd-foot {
  margin-top: 4px; padding: 11px 14px; border-top: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12.5px; color: var(--text-dim);
}
.nav-dd-foot a { color: var(--blue-bright); font-weight: 600; }

/* —— page accent theming —— */
body.theme-archive { --accent: #7EC3C9; --accent-2: #4379B9; --accent-soft: rgba(126,195,201,0.14); --accent-border: rgba(126,195,201,0.34); --accent-glow: rgba(126,195,201,0.30); }
body.theme-ecm     { --accent: #F0B600; --accent-2: #E8843C; --accent-soft: rgba(240,182,0,0.13);  --accent-border: rgba(240,182,0,0.32);  --accent-glow: rgba(240,182,0,0.28); }
.accent-gradient {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* —— PRODUCT HERO —— */
#phero { position: relative; overflow: hidden; padding: 150px 0 90px; }
#phero .phero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}
.phero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  padding: 7px 16px; border-radius: 100px; font-size: 13px; font-weight: 600;
  color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-border);
  letter-spacing: .01em;
}
.phero-eyebrow .badge-dot { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.phero h1 {
  font-size: clamp(38px, 5vw, 64px); font-weight: 800; line-height: 1.08;
  letter-spacing: -0.025em; margin-bottom: 22px;
}
.phero-lead { font-size: 18px; color: var(--text-dim); line-height: 1.7; max-width: 560px; margin-bottom: 32px; }
.phero-meta { display: flex; align-items: center; gap: 18px; margin-top: 30px; flex-wrap: wrap; }
.phero-meta .chip {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-dim);
  padding: 7px 14px; border-radius: 9px; background: var(--card-bg); border: 1px solid var(--glass-border);
}
.phero-meta .chip svg { width: 15px; height: 15px; color: var(--accent); }

/* floating product visual */
.phero-visual { position: relative; }
.phero-visual .glow-blob {
  position: absolute; inset: -8% -6% -10% -6%; z-index: 0;
  background: radial-gradient(60% 60% at 60% 40%, var(--accent-glow), transparent 70%);
  filter: blur(20px); opacity: .8;
}

/* —— browser frame —— */
.browser-frame {
  position: relative; z-index: 2; border-radius: 14px; overflow: hidden;
  background: #0d0726; border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.8), 0 0 0 1px rgba(126,195,201,0.05);
}
.browser-bar {
  display: flex; align-items: center; gap: 8px; padding: 11px 14px;
  background: rgba(255,255,255,0.04); border-bottom: 1px solid rgba(255,255,255,0.06);
}
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.browser-bar i:nth-child(1){ background:#ff5f57; } .browser-bar i:nth-child(2){ background:#febc2e; } .browser-bar i:nth-child(3){ background:#28c840; }
.browser-url {
  margin-inline-start: 12px; flex: 1; font-size: 11.5px; color: var(--text-muted);
  font-family: 'Tajawal', sans-serif; background: rgba(0,0,0,0.25);
  padding: 5px 12px; border-radius: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.browser-frame img { width: 100%; display: block; }
.tilt-3d { transition: transform .5s cubic-bezier(.2,.8,.2,1); transform: perspective(1400px) rotateY(-7deg) rotateX(2.5deg); }
.tilt-3d:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
html[dir="rtl"] .tilt-3d { transform: perspective(1400px) rotateY(7deg) rotateX(2.5deg); }
html[dir="rtl"] .tilt-3d:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }

/* floating badge over visual */
.float-tag {
  position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 15px; border-radius: 12px; font-size: 13px; font-weight: 600; color: var(--text);
  background: rgba(18,10,48,0.92); backdrop-filter: blur(10px); border: 1px solid var(--accent-border);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5); animation: floaty 5s ease-in-out infinite;
}
.float-tag svg { width: 17px; height: 17px; color: var(--accent); }
.float-tag.ft-tr { top: 8%; inset-inline-end: -22px; }
.float-tag.ft-bl { bottom: 9%; inset-inline-start: -26px; animation-delay: -2.5s; }
@keyframes floaty { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-12px); } }

/* —— generic dark section + alt —— */
.psection { position: relative; }
.psection.tint { background: linear-gradient(180deg, transparent, rgba(126,195,201,0.03) 40%, transparent); }
body.theme-ecm .psection.tint { background: linear-gradient(180deg, transparent, rgba(240,182,0,0.035) 40%, transparent); }
.center-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.center-head .section-sub { margin-inline: auto; }
.eyebrow-c { color: var(--accent); }

/* —— PILLARS (4-up) —— */
.pillars { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.pillar {
  position: relative; padding: 28px 22px; border-radius: var(--radius);
  background: var(--card-bg); border: 1px solid var(--card-border);
  transition: transform .4s cubic-bezier(.4,0,.2,1), border-color .3s, box-shadow .3s; overflow: hidden;
}
.pillar:hover { border-color: var(--accent-border); box-shadow: 0 20px 50px -24px var(--accent-glow); }
.pillar-ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--accent-soft); border: 1px solid var(--accent-border); color: var(--accent);
}
.pillar-ic svg { width: 26px; height: 26px; }
.pillar h3 { font-size: 18px; font-weight: 700; margin-bottom: 9px; }
.pillar p { font-size: 14px; color: var(--text-dim); line-height: 1.6; }
.pillar .pillar-n { position: absolute; top: 18px; inset-inline-end: 20px; font-size: 13px; color: var(--text-muted); font-family:'Tajawal',sans-serif; }

/* —— CAPABILITY / CHALLENGE GRID (3-up) —— */
.cap-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.cap-card {
  padding: 26px 24px; border-radius: var(--radius);
  background: var(--card-bg); border: 1px solid var(--card-border);
  transition: transform .4s cubic-bezier(.4,0,.2,1), border-color .3s, box-shadow .3s;
}
.cap-card:hover { border-color: var(--accent-border); box-shadow: 0 18px 44px -26px var(--accent-glow); }
.cap-head { display: flex; align-items: center; gap: 13px; margin-bottom: 13px; }
.cap-ic { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); border: 1px solid var(--accent-border); color: var(--accent); }
.cap-ic svg { width: 22px; height: 22px; }
.cap-card h3 { font-size: 16.5px; font-weight: 700; }
.cap-card p { font-size: 14px; color: var(--text-dim); line-height: 1.65; }
.cap-card.warn .cap-ic { background: rgba(255,55,94,0.10); border-color: rgba(255,55,94,0.28); color: #ff6f8b; }

/* —— FEATURE SPLIT (alternating image/text) —— */
.feat-split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; margin-bottom: 90px; }
.feat-split:last-child { margin-bottom: 0; }
.feat-split.flip .feat-media { order: 2; }
.feat-eyebrow { display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:600; color:var(--accent); margin-bottom:16px; letter-spacing:.04em; }
.feat-split h3 { font-size: clamp(24px,3vw,34px); font-weight: 800; line-height: 1.18; letter-spacing:-0.02em; margin-bottom: 16px; }
.feat-split > div > p.feat-lead { font-size: 16px; color: var(--text-dim); line-height: 1.7; margin-bottom: 22px; }
.feat-list { display: flex; flex-direction: column; gap: 14px; }
.feat-list li { list-style: none; display: flex; gap: 13px; align-items: flex-start; }
.feat-list .fl-ic { width: 26px; height: 26px; flex-shrink: 0; border-radius: 8px; display: grid; place-items: center;
  background: var(--accent-soft); border: 1px solid var(--accent-border); color: var(--accent); margin-top: 1px; }
.feat-list .fl-ic svg { width: 15px; height: 15px; }
.feat-list b { font-weight: 700; font-size: 15px; }
.feat-list span { color: var(--text-dim); font-size: 14.5px; line-height: 1.6; }
.feat-media { position: relative; }
.feat-media .glow-blob { position:absolute; inset:-10%; background: radial-gradient(50% 50% at 50% 50%, var(--accent-glow), transparent 70%); filter: blur(26px); opacity:.6; z-index:0; }
.feat-img {
  position: relative; z-index: 2; border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(255,255,255,0.09); box-shadow: 0 34px 80px -34px rgba(0,0,0,0.8);
}
.feat-img img { width: 100%; display: block; }

/* —— SEARCH MODES (archive signature) —— */
.modes { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.mode-card {
  padding: 26px 22px; border-radius: var(--radius); background: var(--card-bg); border: 1px solid var(--card-border);
  position: relative; overflow: hidden; transition: border-color .3s, box-shadow .3s, transform .4s;
}
.mode-card:hover { border-color: var(--accent-border); transform: translateY(-4px); box-shadow: 0 22px 50px -28px var(--accent-glow); }
.mode-kbd { font-family:'Tajawal',sans-serif; font-size:11px; color: var(--accent); background: var(--accent-soft);
  border:1px solid var(--accent-border); padding: 4px 9px; border-radius: 7px; display:inline-block; margin-bottom: 16px; }
.mode-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 9px; }
.mode-card p { font-size: 14px; color: var(--text-dim); line-height: 1.65; }

/* —— SPEC / STANDARDS CHIPS —— */
.spec-chips { display: flex; flex-wrap: wrap; gap: 11px; justify-content: center; }
.spec-chip {
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 11px;
  background: var(--card-bg); border: 1px solid var(--card-border); font-size: 14px; font-weight: 600;
  transition: border-color .3s, transform .3s, color .3s;
}
.spec-chip:hover { border-color: var(--accent-border); transform: translateY(-3px); color: var(--text); }
.spec-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.spec-chip small { color: var(--text-muted); font-weight: 500; font-size: 12px; }

/* —— SECURITY LAYERS —— */
.sec-layers { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.sec-col { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 26px 22px; }
.sec-col-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--glass-border); }
.sec-col-head .si { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0;
  background: var(--accent-soft); border: 1px solid var(--accent-border); color: var(--accent); }
.sec-col-head .si svg { width: 21px; height: 21px; }
.sec-col-head h4 { font-size: 16px; font-weight: 700; }
.sec-col-head span { font-size: 11.5px; color: var(--text-muted); font-family:'Tajawal',sans-serif; }
.sec-row { display: flex; gap: 11px; align-items: flex-start; padding: 11px 0; border-bottom: 1px dashed rgba(255,255,255,0.06); }
.sec-row:last-child { border-bottom: none; }
.sec-row .ck { width: 19px; height: 19px; flex-shrink: 0; color: var(--accent); margin-top: 1px; }
.sec-row b { font-weight: 700; font-size: 14px; display: block; margin-bottom: 2px; }
.sec-row p { font-size: 13px; color: var(--text-dim); line-height: 1.55; }

/* —— ROADMAP TIMELINE —— */
.road { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; position: relative; }
.road::before { content:''; position: absolute; top: 28px; inset-inline: 8%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-border), transparent); }
.road-step { position: relative; text-align: center; }
.road-num {
  width: 58px; height: 58px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center;
  font-size: 20px; font-weight: 800; color: var(--accent); position: relative; z-index: 2;
  background: var(--indigo-2); border: 2px solid var(--accent-border); box-shadow: 0 0 0 6px var(--indigo);
}
.road-step h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.road-step p { font-size: 13.5px; color: var(--text-dim); line-height: 1.6; padding: 0 6px; }

/* —— BIG STAT CALLOUTS —— */
.bigstats { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.bigstat { text-align: center; padding: 34px 18px; border-radius: var(--radius);
  background: var(--card-bg); border: 1px solid var(--card-border); transition: border-color .3s, transform .4s; }
.bigstat:hover { border-color: var(--accent-border); transform: translateY(-4px); }
.bigstat .bn { font-size: clamp(34px,4vw,46px); font-weight: 800; line-height: 1; margin-bottom: 12px; letter-spacing: -0.02em; }
.bigstat .bl { font-size: 14px; color: var(--text-dim); }

/* —— SOURCE GALLERY —— */
.src-gallery { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; }
.src-tile { position: relative; aspect-ratio: 3/4; border-radius: 13px; overflow: hidden;
  border: 1px solid var(--card-border); transition: transform .4s, border-color .3s; }
.src-tile:hover { transform: translateY(-6px) scale(1.02); border-color: var(--accent-border); }
.src-tile img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.92); transition: filter .4s, transform .6s; }
.src-tile:hover img { filter: saturate(1.1); transform: scale(1.06); }
.src-tile .src-cap {
  position: absolute; inset-inline: 0; bottom: 0; padding: 22px 14px 12px; font-size: 13px; font-weight: 600;
  background: linear-gradient(transparent, rgba(8,4,24,0.92)); text-align: center;
}

/* —— mini "metric ticker" inline stat row reuse hero-stats look on dark card —— */
.pstat-band {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border-radius: var(--radius);
  background: var(--card-bg); border: 1px solid var(--card-border); overflow: hidden;
}
.pstat-band .ps { text-align: center; padding: 26px 16px; border-inline-end: 1px solid var(--glass-border); }
.pstat-band .ps:last-child { border-inline-end: none; }
.pstat-band .psn { font-size: 30px; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 7px; }
.pstat-band .psl { font-size: 13px; color: var(--text-dim); }

/* —— page CTA band —— */
.pcta { position: relative; text-align: center; padding: 92px 0; overflow: hidden; }
.pcta .pcta-bg { position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(60% 80% at 50% 0%, var(--accent-soft), transparent 70%); }
.pcta h2 { font-size: clamp(32px,4.4vw,52px); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 20px; }
.pcta p { font-size: 18px; color: var(--text-dim); max-width: 600px; margin: 0 auto 34px; line-height: 1.65; }

/* —— breadcrumb / back —— */
.crumb { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-dim);
  margin-bottom: 20px; transition: color .2s; }
.crumb:hover { color: var(--accent); }
.crumb svg { width: 14px; height: 14px; }
html[dir="rtl"] .crumb svg { transform: scaleX(-1); }

/* —— RESPONSIVE for product pages —— */
@media (max-width: 1024px) {
  .pillars { grid-template-columns: repeat(2,1fr); }
  .cap-grid, .sec-layers, .modes { grid-template-columns: 1fr 1fr; }
  .src-gallery { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 900px) {
  #phero .phero-grid { grid-template-columns: 1fr; gap: 44px; }
  .phero-visual { max-width: 560px; }
  .tilt-3d, html[dir="rtl"] .tilt-3d { transform: none; }
  .road { grid-template-columns: 1fr 1fr; gap: 30px; }
  .road::before { display: none; }
  .bigstats, .pstat-band { grid-template-columns: 1fr 1fr; }
  .pstat-band .ps:nth-child(2) { border-inline-end: none; }
  .pstat-band .ps:nth-child(1), .pstat-band .ps:nth-child(2) { border-bottom: 1px solid var(--glass-border); }
}
@media (max-width: 768px) {
  #phero { padding: 120px 0 60px; }
  .nav-dd { display: none; }            /* dropdown folds into mobile menu */
  .feat-split { grid-template-columns: 1fr; gap: 30px; margin-bottom: 60px; }
  .feat-split.flip .feat-media { order: 0; }
  .cap-grid, .sec-layers, .modes, .pillars { grid-template-columns: 1fr; }
  .float-tag { display: none; }
}
@media (max-width: 560px) {
  .src-gallery { grid-template-columns: 1fr 1fr; }
  .bigstats { grid-template-columns: 1fr; }
}

/* —— mobile menu: product sublinks —— */
.mobile-menu .mm-label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); padding: 6px 0 2px; }

/* —— AWARD BAND —— */
.award-band { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap;
  padding: 22px 30px; border-radius: var(--radius); background: var(--card-bg); border: 1px solid var(--card-border); }
.award-band .ab-item { display: flex; align-items: center; gap: 13px; }
.award-band .ab-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--gold-muted); border: 1px solid var(--gold-border); color: var(--gold); flex-shrink: 0; }
.award-band .ab-ic svg { width: 25px; height: 25px; }
.award-band b { font-size: 15px; font-weight: 700; display: block; line-height: 1.3; }
.award-band span { font-size: 13px; color: var(--text-dim); }
.award-band .ab-div { width: 1px; height: 40px; background: var(--glass-border); }
@media (max-width: 700px){ .award-band .ab-div { display: none; } }

/* —— SEARCH DEMO (archive signature) —— */
.search-demo { max-width: 730px; margin: 0 auto; background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 18px; padding: 22px; box-shadow: 0 34px 80px -34px rgba(0,0,0,0.75); }
.sd-bar { display: flex; align-items: center; gap: 12px; background: rgba(8,4,24,0.6);
  border: 1px solid var(--glass-border); border-radius: 12px; padding: 14px 16px; }
.sd-bar > .sd-mag { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.sd-query { flex: 1; font-size: 16px; color: var(--text); display: flex; align-items: center; min-height: 22px; min-width: 0; }
.sd-caret { width: 2px; height: 20px; background: var(--accent); margin-inline-start: 2px; flex-shrink: 0; animation: sdblink 1s step-end infinite; }
@keyframes sdblink { 50% { opacity: 0; } }
.sd-go { background: var(--accent); color: var(--indigo); font-weight: 700; font-size: 14px; padding: 9px 20px; border-radius: 9px; flex-shrink: 0; cursor: pointer; }
.sd-modes { display: flex; gap: 8px; margin: 16px 0; flex-wrap: wrap; }
.sd-mode { font-size: 13px; padding: 8px 15px; border-radius: 9px; background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border); color: var(--text-dim); cursor: pointer; transition: all .25s; }
.sd-mode:hover { color: var(--text); }
.sd-mode.active { background: var(--accent-soft); border-color: var(--accent-border); color: var(--accent); }
.sd-answer { background: linear-gradient(160deg, rgba(126,195,201,0.07), transparent);
  border: 1px solid var(--accent-border); border-radius: 12px; padding: 18px 20px; }
.sd-ai-label { font-family: 'Tajawal', sans-serif; font-size: 11px; letter-spacing: .12em; color: var(--accent);
  margin-bottom: 11px; display: flex; align-items: center; gap: 9px; }
.sd-ai-label::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.sd-answer p { font-size: 15px; line-height: 1.72; color: var(--text); margin-bottom: 14px; }
.sd-cite { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-dim);
  background: rgba(8,4,24,0.5); border: 1px solid var(--glass-border); padding: 8px 13px; border-radius: 9px; }
.sd-cite svg { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; }

/* —— inline icon list (pillars-lite for benefits) —— */
.benefit-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.benefit { display: flex; gap: 14px; padding: 22px; border-radius: var(--radius); background: var(--card-bg); border: 1px solid var(--card-border); transition: border-color .3s, transform .4s; }
.benefit:hover { border-color: var(--accent-border); transform: translateY(-3px); }
.benefit .bi { width: 42px; height: 42px; flex-shrink: 0; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); border: 1px solid var(--accent-border); color: var(--accent); }
.benefit .bi svg { width: 21px; height: 21px; }
.benefit h4 { font-size: 15.5px; font-weight: 700; margin-bottom: 6px; }
.benefit p { font-size: 13.5px; color: var(--text-dim); line-height: 1.6; }
@media (max-width:1024px){ .benefit-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width:768px){ .benefit-grid { grid-template-columns: 1fr; } }

/* —— ARCHITECTURE STACK (ecm) —— */
.arch-stack { display: flex; flex-direction: column; gap: 12px; }
.arch-layer { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 14px;
  background: var(--card-bg); border: 1px solid var(--card-border); border-inline-start: 3px solid var(--accent);
  position: relative; transition: transform .35s, border-color .3s; }
.arch-layer:hover { transform: translateX(4px); border-color: var(--accent-border); }
html[dir="rtl"] .arch-layer:hover { transform: translateX(-4px); }
.arch-layer .al-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0;
  background: var(--accent-soft); border: 1px solid var(--accent-border); color: var(--accent); }
.arch-layer .al-ic svg { width: 23px; height: 23px; }
.arch-layer h4 { font-size: 16px; font-weight: 700; margin-bottom: 3px; }
.arch-layer p { font-size: 13px; color: var(--text-dim); line-height: 1.5; }
.arch-layer .al-tag { position: absolute; top: 13px; inset-inline-end: 16px; font-size: 10.5px;
  font-family: 'Tajawal', sans-serif; color: var(--text-muted); letter-spacing: .08em; }

/* —— keep Arabic text in mono-styled chips on Tajawal (unified font in RTL) —— */
html[dir="rtl"] .sd-ai-label,
html[dir="rtl"] .mode-kbd { font-family: 'Tajawal', sans-serif; letter-spacing: 0; }
html[dir="rtl"] .sd-query { font-family: 'Tajawal', sans-serif; }

/* —— keep phone / email / URL values rendering left-to-right even in RTL —— */
.contact-val { direction: ltr; unicode-bidi: isolate; }

/* —— numeric stat values stay LTR in RTL (e.g. "5M+", "10B+", "~85%") —— */
.stat-num, .prob-stat-num, .rec-stat-num { direction: ltr; unicode-bidi: isolate; }

/* —— navbar always in Tajawal (both languages, incl. dropdown) —— */
#navbar, #navbar .nav-dd-toggle, #navbar .lang-toggle { font-family: 'Tajawal', 'Inter', sans-serif; }

/* —— Arabic heading typography ───────────────────────────────────────
   Latin headings here use tight line-heights (1.05–1.15) and negative
   letter-spacing. Arabic glyphs are taller (diacritics: shadda, tanwīn,
   dots) and cursive, so those settings CLIP the tops/bottoms — and with
   background-clip:text the gradient drops the cropped parts. Give RTL
   headings generous line-height, neutral tracking, and a little paint
   room on the gradient spans. */
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4,
html[dir="rtl"] .hero-headline,
html[dir="rtl"] .section-title,
html[dir="rtl"] .section-title-xl,
html[dir="rtl"] .cta-headline,
html[dir="rtl"] .phero h1,
html[dir="rtl"] .pcta h2 {
  line-height: 1.5;
  letter-spacing: 0;
}
html[dir="rtl"] .hero-headline { line-height: 1.45; }
/* gradient text: extend the background paint box so tall glyphs aren't cropped */
html[dir="rtl"] .text-gradient,
html[dir="rtl"] .accent-gradient {
  padding-block: 0.12em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* —— Product screenshot showcase (archive) —— */
.shots-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.shot { margin: 0; }
.shot-img { border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 26px 54px -28px rgba(0,0,0,0.72); margin-bottom: 16px; background: #0d0726;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s; }
.shot-img img { width: 100%; display: block; }
.shot:hover .shot-img { transform: translateY(-6px); border-color: var(--accent-border); box-shadow: 0 34px 70px -30px var(--accent-glow); }
.shot figcaption { display: flex; flex-direction: column; gap: 6px; padding-inline: 2px; }
.shot figcaption b { font-size: 15.5px; font-weight: 700; }
.shot figcaption span { font-size: 13.5px; color: var(--text-dim); line-height: 1.55; }
.shot .shot-kbd { display: inline-block; font-family: 'Tajawal', sans-serif; font-size: 10.5px;
  letter-spacing: .08em; color: var(--accent); background: var(--accent-soft);
  border: 1px solid var(--accent-border); padding: 3px 9px; border-radius: 7px; width: fit-content; margin-bottom: 2px; }
html[dir="rtl"] .shot .shot-kbd { font-family: 'Tajawal', sans-serif; letter-spacing: 0; }
@media (max-width: 900px) { .shots-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* —— keep tall portrait scans in feat-splits to a comfortable, balanced height —— */
.feat-img img { max-height: 460px; object-fit: cover; object-position: center; }
@media (max-width: 768px) { .feat-img img { max-height: 360px; } }

/* —— video inside a browser frame (ECM hero promo) —— */
.browser-frame video, .browser-frame .browser-media { width: 100%; display: block; }
.browser-frame .browser-media img { width: 100%; display: block; }

/* —— fix: let the hero grid columns shrink (video has an intrinsic width
   that otherwise inflates its column and squeezes the text column) —— */
#phero .phero-grid > * { min-width: 0; }
.browser-frame video, .browser-frame .browser-media { max-width: 100%; height: auto; }

/* —— product-card demo videos (home platform grid) —— */
.product-visual video { width: 100%; height: 100%; object-fit: cover; display: block;
  filter: brightness(0.85) saturate(0.95); transition: filter 0.4s ease, transform 0.5s ease; }
.product-card:hover .product-visual video { filter: brightness(1) saturate(1.06); transform: scale(1.04); }
