/* ============================================================
   ALDEEB — الهوية الموحدة "Obsidian Gold" (الإصدار 3.0 — فاخر/SaaS)
   داكن فخم: ذهبي × سماوي على أوبسيديان، بلمسة مؤسسية (SaaS).
   يُضمَّن بعد أي مكتبات: <link rel="stylesheet" href="aldeeb-unified.css">
   ============================================================ */
/* Fonts loaded optimally once via inc-head.php (zero duplicate @import waterfall) */

:root {
  /* الخلفيات */
  --a-bg: #05070e;
  --a-bg2: #0a0e1a;
  --a-surface: #10152a;
  --a-surface2: #161d38;
  --a-elevated: #1b2444;

  /* الهوية */
  --a-gold: #f5b942;
  --a-gold2: #fbbf24;
  --a-gold-deep: #b45309;
  --a-cyan: #22d3ee;
  --a-teal: #2dd4bf;
  --a-violet: #8b5cf6;
  --a-green: #34d399;
  --a-red: #f87171;
  --a-orange: #fb923c;

  /* النصوص والحدود */
  --a-text: #f6f4ee;
  --a-muted: #96a1b8;
  --a-faint: #5d6880;
  --a-line: rgba(255, 255, 255, .08);
  --a-line-2: rgba(255, 255, 255, .14);
  --a-line-gold: rgba(245, 185, 66, .32);

  /* تدرجات جاهزة */
  --a-grad-gold: linear-gradient(135deg, #ffd76a 0%, var(--a-gold) 42%, var(--a-gold-deep) 100%);
  --a-grad-tech: linear-gradient(135deg, var(--a-cyan), var(--a-violet));
  --a-grad-surface: linear-gradient(160deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, 0) 55%);

  /* المقاسات والظلال */
  --a-r: 18px;
  --a-r-sm: 12px;
  --a-r-lg: 26px;
  --a-shadow: 0 30px 70px -28px rgba(0, 0, 0, .9);
  --a-shadow-soft: 0 18px 40px -24px rgba(0, 0, 0, .85);
  --a-shadow-gold: 0 20px 50px -18px rgba(245, 185, 66, .55);
  --a-ring-gold: 0 0 0 1px rgba(245, 185, 66, .35), 0 22px 55px -20px rgba(245, 185, 66, .35);
}

/* ===================== الأساس ===================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; overflow-y: auto; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--a-bg);
  color: var(--a-text);
  font-family: 'Tajawal', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-y: visible;
}
body.a-body {
  background:
    radial-gradient(1200px 680px at 88% -12%, rgba(245, 185, 66, .12), transparent 58%),
    radial-gradient(1100px 760px at 6% 110%, rgba(34, 211, 238, .09), transparent 60%),
    radial-gradient(900px 600px at 50% -30%, rgba(139, 92, 246, .07), transparent 60%),
    var(--a-bg);
  background-attachment: fixed;
}
body.a-body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .02) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 92% 78% at 50% 0%, #000 26%, transparent 100%);
  mask-image: radial-gradient(ellipse 92% 78% at 50% 0%, #000 26%, transparent 100%);
}
body.a-body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background:
    radial-gradient(60% 40% at 70% 0%, rgba(245, 185, 66, .06), transparent 70%),
    radial-gradient(50% 40% at 20% 100%, rgba(34, 211, 238, .05), transparent 70%);
}
h1, h2, h3, h4, h5 { font-family: 'Tajawal', sans-serif; font-weight: 800; margin: 0; line-height: 1.25; letter-spacing: -.01em; }
h1 { letter-spacing: -.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--a-gold); color: #2a1a05; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--a-bg2); }
::-webkit-scrollbar-thumb { background: #2a3350; border-radius: 20px; border: 2px solid var(--a-bg2); }
::-webkit-scrollbar-thumb:hover { background: var(--a-gold-deep); }
.a-mono, .font-en { font-family: 'Plus Jakarta Sans', 'IBM Plex Mono', monospace; }

/* ===================== الحاويات (تمدد تلقائي ذكي يملأ الشاشة بالكامل) ===================== */
.a-container { width: 100%; max-width: 100%; margin: 0 auto; padding-inline: clamp(16px, 2.8vw, 52px); }
.a-container-narrow { width: 100%; max-width: min(1320px, 100%); margin: 0 auto; padding-inline: clamp(16px, 2.8vw, 44px); }
.a-section { padding: clamp(54px, 6vw, 92px) 0; }
.a-section-sm { padding: clamp(32px, 4vw, 52px) 0; }
/* ===================== الشريط العلوي المنظم (Desktop SaaS + Android Mobile App Bar) ===================== */
body:has(header.a-topbar) { padding-top: 76px; }
@media (max-width: 960px) {
  body:has(header.a-topbar) { padding-top: 66px; }
}

.a-topbar {
  position: fixed; top: 0; right: 0; left: 0; z-index: 1000;
  display: flex; flex-direction: column;
  background: rgba(7, 10, 20, .82);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
  backdrop-filter: blur(22px) saturate(165%);
  border-bottom: 1px solid var(--a-line);
  font-family: 'Tajawal', sans-serif;
  box-shadow: 0 14px 40px -30px rgba(0, 0, 0, .9);
}
.a-topbar::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--a-gold) 32%, var(--a-cyan) 68%, transparent);
  opacity: .85; pointer-events: none;
}
.a-topbar.scrolled {
  background: rgba(6, 9, 18, .95);
  box-shadow: 0 22px 55px -36px rgba(0, 0, 0, 1);
  border-bottom-color: rgba(255, 255, 255, .12);
}

.a-topbar-inner {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px clamp(14px, 2.6vw, 48px);
  flex-wrap: nowrap;
}

.a-brand {
  display: flex; align-items: center; gap: 11px;
  flex-shrink: 0; white-space: nowrap;
}
.a-brand .a-logo {
  width: 42px; height: 42px; border-radius: 13px; flex-shrink: 0; overflow: hidden;
  background: var(--a-grad-gold);
  display: grid; place-items: center; font-size: 19px; font-weight: 900; color: #2a1a05;
  box-shadow: var(--a-shadow-gold), inset 0 1px 0 rgba(255, 255, 255, .5);
  position: relative;
}
.a-brand .a-logo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.a-brand .a-logo img { width: 100%; height: 100%; object-fit: cover; }
.a-brand b { font-size: 16.5px; font-weight: 900; display: block; line-height: 1.15; }
.a-brand small { display: block; color: var(--a-muted); font-size: 10px; font-weight: 700; letter-spacing: .5px; }

/* كبسولة التنقل الوسطى للديسكتوب */
.a-nav-dock {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--a-line);
  flex-wrap: nowrap;
}
html[data-theme="light"] .a-nav-dock {
  background: rgba(15, 23, 42, 0.035);
  border-color: rgba(15, 23, 42, 0.08);
}
.a-nav-dock .a-navlink {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--a-muted);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 13px;
  border-radius: 10px;
  transition: all .2s ease;
  white-space: nowrap;
}
.a-nav-dock .a-navlink i {
  font-size: 12.5px;
  opacity: 0.85;
}
.a-nav-dock .a-navlink:hover {
  color: var(--a-text);
  background: rgba(255, 255, 255, .06);
}
html[data-theme="light"] .a-nav-dock .a-navlink:hover {
  background: rgba(15, 23, 42, 0.06);
}
.a-nav-dock .a-navlink.on {
  color: var(--a-gold2);
  background: rgba(245, 185, 66, .14);
  box-shadow: inset 0 0 0 1px rgba(245, 185, 66, .32), 0 6px 18px -10px rgba(245, 185, 66, .6);
}
html[data-theme="light"] .a-nav-dock .a-navlink.on {
  color: #b45309;
  background: rgba(217, 119, 6, 0.12);
  box-shadow: inset 0 0 0 1px rgba(217, 119, 6, 0.28);
}

/* شريط الأدوات والأزرار في الهيدر */
.a-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: nowrap;
}

.a-auth-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.a-btn-header-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  color: var(--a-text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--a-line-2);
  transition: all 0.2s ease;
  white-space: nowrap;
}
html[data-theme="light"] .a-btn-header-login {
  background: #f8fafc;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.14);
}
.a-btn-header-login:hover {
  border-color: var(--a-gold);
  color: var(--a-gold2);
  background: rgba(245, 185, 66, 0.08);
}

.a-btn-header-register {
  height: 38px;
  padding: 0 15px !important;
  border-radius: 12px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #1a1003 !important;
  background: var(--a-grad-gold) !important;
  white-space: nowrap;
}

.a-header-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.25);
  color: #f87171;
  font-size: 14px;
  transition: all 0.2s ease;
}
.a-header-icon-btn:hover {
  background: #ef4444;
  color: #ffffff;
}

section[id], [id="pricing"], [id="features"], [id="faq"], [id="showcase"] {
  scroll-margin-top: 110px;
}

.a-user {
  display: flex; align-items: center; gap: 8px;
  color: var(--a-text); font-size: 13px; font-weight: 800;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--a-line-2);
  height: 38px; padding: 0 12px 0 8px; border-radius: 12px; transition: .2s;
  white-space: nowrap;
}
.a-user:hover { border-color: var(--a-gold); box-shadow: 0 10px 26px -18px rgba(245, 185, 66, .8); }
.a-avatar {
  width: 28px; height: 28px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  background: var(--a-grad-gold); display: grid; place-items: center; font-weight: 800; font-size: 12px; color: #2a1a05;
}
.a-avatar img { width: 100%; height: 100%; object-fit: cover; }

.a-burger {
  display: none; width: 38px; height: 38px; border-radius: 12px; cursor: pointer;
  align-items: center; justify-content: center; color: var(--a-text); font-size: 16px;
  background: rgba(245, 185, 66, 0.12); border: 1px solid rgba(245, 185, 66, 0.35);
  color: var(--a-gold2);
  transition: transform .3s cubic-bezier(.2, .9, .25, 1), background .25s, border-color .25s;
  flex-shrink: 0;
}
html[data-theme="light"] .a-burger {
  background: rgba(217, 119, 6, 0.1);
  border-color: rgba(217, 119, 6, 0.3);
  color: #b45309;
}
.a-burger:hover, .a-burger.active {
  background: var(--a-grad-gold);
  color: #1a1003;
  border-color: transparent;
}

/* شريط أندرويد السريع للأزرار والأقسام تحت الهيدر مباشرة في الموبايل */
.a-android-subbar {
  display: none;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 7px 12px;
  gap: 7px;
  align-items: center;
  background: rgba(4, 7, 15, 0.75);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  -webkit-overflow-scrolling: touch;
}
.a-android-subbar::-webkit-scrollbar { display: none; }
html[data-theme="light"] .a-android-subbar {
  background: rgba(241, 245, 249, 0.92);
  border-top-color: rgba(15, 23, 42, 0.07);
}

.a-subbar-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: var(--a-muted);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
html[data-theme="light"] .a-subbar-chip {
  background: #ffffff;
  color: #334155;
  border-color: rgba(15, 23, 42, 0.1);
}
.a-subbar-chip i { font-size: 11.5px; color: var(--a-gold); }
.a-subbar-chip.on, .a-subbar-chip:active {
  background: rgba(245, 185, 66, 0.16);
  color: var(--a-gold2);
  border-color: rgba(245, 185, 66, 0.45);
}
html[data-theme="light"] .a-subbar-chip.on {
  background: rgba(217, 119, 6, 0.12);
  color: #b45309;
  border-color: rgba(217, 119, 6, 0.4);
}
.a-subbar-chip-gold {
  background: var(--a-grad-gold) !important;
  color: #1a1003 !important;
  border-color: transparent !important;
  box-shadow: 0 4px 12px rgba(245, 185, 66, 0.28);
}
.a-subbar-chip-gold i { color: #1a1003 !important; }

/* خلفية وقائمة تطبيق الأندرويد المنبثقة للموبايل */
.a-mobile-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2, 5, 12, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 998;
}
.a-mobile-backdrop.open { display: block; }

.a-mobile-nav { display: none; }

@media (max-width: 960px) {
  .a-nav-dock { display: none !important; }
  .a-auth-group { display: none !important; }
  .a-burger { display: flex !important; }
  .a-topbar-inner {
    padding: 10px 16px;
    gap: 10px;
    min-height: 62px;
  }
  .a-brand { gap: 10px; }
  .a-brand .a-logo { width: 38px; height: 38px; border-radius: 12px; font-size: 17px; }
  .a-brand b { font-size: 15.5px; line-height: 1.15; }
  .a-brand small { display: block !important; font-size: 9.5px; opacity: 0.85; }

  /* كبسولة أزرار الهيدر في الموبايل: متناسقة ومرتبة في صف واحد */
  .a-topbar-actions {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--a-line);
    padding: 4px;
    border-radius: 14px;
  }
  html[data-theme="light"] .a-topbar-actions {
    background: rgba(15, 23, 42, 0.04);
    border-color: rgba(15, 23, 42, 0.09);
  }
  .a-ctrl-group { gap: 6px; }
  .a-ctrl-pill {
    height: 34px !important;
    padding: 0 11px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
  }
  .a-ctrl-icon-only { width: 34px !important; padding: 0 !important; }
  .a-burger { width: 34px; height: 34px; border-radius: 10px; font-size: 15px; }

  .a-mobile-nav.open {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: fixed;
    top: 68px;
    right: 12px;
    left: 12px;
    max-height: calc(100dvh - 145px);
    overflow-y: auto;
    z-index: 1001;
    padding: 18px;
    border-radius: 24px;
    background: linear-gradient(165deg, rgba(15, 21, 42, 0.98), rgba(7, 10, 20, 0.99));
    border: 1px solid rgba(245, 185, 66, 0.3);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.85);
  }
  html[data-theme="light"] .a-mobile-nav.open {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.18);
  }
}

/* عناصر قائمة الأندرويد الداخلية */
.a-mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--a-line);
}
.a-mobile-app-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}
.a-logo-mini {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--a-grad-gold);
  color: #1a1003;
  display: grid;
  place-items: center;
  font-size: 20px;
}
.a-mobile-app-badge strong {
  display: block;
  font-size: 14px;
  font-weight: 900;
  color: var(--a-text);
}
.a-mobile-app-badge small {
  display: block;
  font-size: 11px;
  color: var(--a-muted);
}
.a-mobile-close {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--a-line-2);
  background: rgba(255, 255, 255, 0.05);
  color: var(--a-text);
  display: grid;
  place-items: center;
  font-size: 16px;
  cursor: pointer;
}

.a-mobile-auth-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.a-mobile-user-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(245, 185, 66, 0.1);
  border: 1px solid rgba(245, 185, 66, 0.3);
}
.a-mobile-user-card b { display: block; font-size: 14px; color: var(--a-text); }
.a-mobile-user-card small { display: block; font-size: 11.5px; color: var(--a-muted); }

.a-mobile-grid-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.a-mobile-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 13px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--a-line);
  font-size: 13px;
  font-weight: 800;
  color: var(--a-text);
  transition: all 0.2s ease;
}
html[data-theme="light"] .a-mobile-tile {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.08);
}
.a-mobile-tile.on, .a-mobile-tile:active {
  border-color: var(--a-gold);
  background: rgba(245, 185, 66, 0.12);
}
.tile-ic {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 15px;
  flex-shrink: 0;
}
.tile-ic.gold { background: rgba(245, 185, 66, 0.15); color: var(--a-gold); }
.tile-ic.cyan { background: rgba(34, 211, 238, 0.15); color: var(--a-cyan); }
.tile-ic.green { background: rgba(52, 211, 153, 0.15); color: var(--a-green); }
.tile-ic.violet { background: rgba(139, 92, 246, 0.15); color: var(--a-violet); }

.a-mobile-list-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--a-line);
  padding-top: 10px;
}
.a-mobile-list-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--a-muted);
}
.a-mobile-list-links a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--a-text);
}

.a-mobile-nav-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--a-line);
}

/* ===================== الأزرار ===================== */
.a-btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 14px; border: none; cursor: pointer;
  font-family: 'Tajawal', sans-serif; font-size: 14.5px; font-weight: 800;
  background: var(--a-grad-gold); color: #2a1a05; transition: transform .22s, box-shadow .22s, filter .22s; line-height: 1;
  box-shadow: 0 16px 34px -18px rgba(245, 185, 66, .8), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.a-btn::before {
  content: ""; position: absolute; top: 0; left: -120%; width: 70%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-18deg); transition: left .6s ease;
}
.a-btn:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 22px 46px -18px rgba(245, 185, 66, .95); }
.a-btn:hover::before { left: 130%; }
.a-btn:active { transform: translateY(0); }
.a-btn-ghost { background: rgba(255, 255, 255, .06); color: var(--a-text); border: 1px solid var(--a-line-2); box-shadow: none; }
.a-btn-ghost::before { display: none; }
.a-btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: var(--a-gold); box-shadow: none; filter: none; }
.a-btn-outline { background: transparent; color: var(--a-gold2); border: 1.5px solid var(--a-line-gold); box-shadow: none; }
.a-btn-outline::before { display: none; }
.a-btn-outline:hover { background: rgba(245, 185, 66, .1); box-shadow: 0 16px 34px -22px rgba(245, 185, 66, .8); }
.a-btn-cyan { background: var(--a-grad-tech); color: #04121a; box-shadow: 0 16px 34px -18px rgba(34, 211, 238, .6); }
.a-btn-dark { background: var(--a-surface2); color: var(--a-text); border: 1px solid var(--a-line-2); box-shadow: none; }
.a-btn-dark::before { display: none; }
.a-btn-block { width: 100%; }
.a-btn-sm { padding: 10px 16px; font-size: 12.5px; border-radius: 11px; }
.a-btn-lg { padding: 17px 34px; font-size: 16px; }
.a-btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ===================== البطاقات ===================== */
.a-card {
  background: linear-gradient(160deg, var(--a-surface2), var(--a-bg2));
  border: 1px solid var(--a-line); border-radius: var(--a-r);
  box-shadow: var(--a-shadow-soft); position: relative;
}
.a-card-pad { padding: 28px; }
.a-card-hover { transition: transform .3s cubic-bezier(.4, 0, .2, 1), border-color .3s, box-shadow .3s; }
.a-card-hover:hover { transform: translateY(-6px); border-color: var(--a-line-gold); box-shadow: var(--a-ring-gold); }
.a-card-glow { position: relative; overflow: hidden; }
.a-card-glow::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, rgba(245, 185, 66, .6), transparent 42%, transparent 58%, rgba(34, 211, 238, .5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.a-card-premium {
  background:
    var(--a-grad-surface),
    linear-gradient(160deg, var(--a-surface2), var(--a-bg2));
  border: 1px solid var(--a-line); border-radius: var(--a-r);
  box-shadow: var(--a-shadow); overflow: hidden;
}
.a-glass {
  background: rgba(16, 21, 42, .6);
  -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--a-line); border-radius: var(--a-r);
}

/* ===================== العناوين ===================== */
.a-title { font-family: 'Tajawal', sans-serif; font-weight: 800; color: var(--a-text); display: flex; align-items: center; gap: 11px; font-size: 22px; }
.a-title::before {
  content: ''; width: 5px; height: 26px; border-radius: 3px; flex-shrink: 0;
  background: linear-gradient(180deg, var(--a-gold2), var(--a-gold-deep));
  box-shadow: 0 0 14px rgba(245, 185, 66, .6);
}
.a-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .7px;
  color: var(--a-gold2); background: rgba(245, 185, 66, .1);
  border: 1px solid var(--a-line-gold); border-radius: 999px; padding: 7px 15px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.a-gradient-text { background: linear-gradient(110deg, var(--a-gold2) 0%, var(--a-gold) 42%, var(--a-cyan) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.a-page-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.a-page-head h1 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 900; margin: 16px 0 12px; }
.a-page-head p { color: var(--a-muted); font-size: 15px; line-height: 1.85; }
.a-section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.a-section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 900; margin: 14px 0 12px; }
.a-section-head p { color: var(--a-muted); font-size: 15px; line-height: 1.85; }

/* ===================== البطل (Hero) ===================== */
.a-hero { position: relative; padding: 92px 0 72px; text-align: center; }
.a-hero h1 { font-size: clamp(2.2rem, 5.6vw, 4.1rem); font-weight: 900; line-height: 1.12; margin: 22px auto 20px; max-width: 940px; }
.a-hero p.lead { color: var(--a-muted); font-size: clamp(15px, 1.6vw, 18px); line-height: 1.9; max-width: 680px; margin: 0 auto 32px; }
.a-hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.a-hero-stats { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; margin-top: 56px; }
.a-hero-stats .n { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 30px; font-weight: 800; color: var(--a-gold2); }
.a-hero-stats .l { color: var(--a-muted); font-size: 12.5px; font-weight: 700; }

/* ===================== المزايا / الأيقونات ===================== */
.a-icon-box {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  font-size: 22px; background: rgba(245, 185, 66, .12); color: var(--a-gold2);
  border: 1px solid rgba(245, 185, 66, .28); flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.a-icon-box.cyan { background: rgba(34, 211, 238, .12); color: var(--a-cyan); border-color: rgba(34, 211, 238, .28); }
.a-icon-box.green { background: rgba(52, 211, 153, .12); color: var(--a-green); border-color: rgba(52, 211, 153, .28); }
.a-icon-box.violet { background: rgba(139, 92, 246, .12); color: var(--a-violet); border-color: rgba(139, 92, 246, .28); }
.a-feature { text-align: right; }
.a-feature h3 { font-size: 17px; font-weight: 800; margin: 18px 0 9px; }
.a-feature p { color: var(--a-muted); font-size: 13.5px; line-height: 1.9; }

/* ===================== بطاقات الأسعار ===================== */
.a-price { position: relative; padding: 34px 30px; display: flex; flex-direction: column; height: 100%; }
.a-price .a-plan { font-size: 13px; font-weight: 800; letter-spacing: .5px; color: var(--a-muted); }
.a-price .a-amount { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 46px; font-weight: 800; margin: 14px 0 4px; }
.a-price .a-amount small { font-size: 15px; color: var(--a-muted); font-weight: 700; }
.a-price ul { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 13px; }
.a-price li { display: flex; align-items: center; gap: 11px; font-size: 13.5px; color: var(--a-text); }
.a-price li i { color: var(--a-green); font-size: 15px; }
.a-price-pop { border-color: var(--a-line-gold) !important; box-shadow: var(--a-ring-gold) !important; transform: translateY(-6px); }
.a-price-pop .a-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); }

/* ===================== بطاقات إحصائية / KPI ===================== */
.a-grid-kpi { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; }
.a-kpi { padding: 22px; border-radius: var(--a-r); background: linear-gradient(160deg, var(--a-surface2), var(--a-bg2)); border: 1px solid var(--a-line); transition: .3s; }
.a-kpi:hover { border-color: var(--a-line-gold); transform: translateY(-4px); box-shadow: var(--a-shadow-soft); }
.a-kpi .k-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-size: 18px; background: rgba(245, 185, 66, .12); color: var(--a-gold2); border: 1px solid rgba(245, 185, 66, .25); margin-bottom: 16px; }
.a-kpi .k-val { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 28px; font-weight: 800; }
.a-kpi .k-lbl { color: var(--a-muted); font-size: 12.5px; font-weight: 700; margin-top: 4px; }
.a-stat { text-align: center; padding: 24px 16px; }
.a-stat .num { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 30px; font-weight: 800; color: var(--a-gold2); }
.a-stat .lbl { color: var(--a-muted); font-size: 12.5px; margin-top: 6px; }

/* ===================== الشارات / الرقائق ===================== */
.a-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 800; border-radius: 999px; padding: 5px 12px;
  border: 1px solid transparent;
}
.a-badge-gold { color: var(--a-gold2); background: rgba(245, 185, 66, .13); border-color: rgba(245, 185, 66, .4); }
.a-badge-cyan { color: var(--a-cyan); background: rgba(34, 211, 238, .12); border-color: rgba(34, 211, 238, .35); }
.a-badge-green { color: var(--a-green); background: rgba(52, 211, 153, .12); border-color: rgba(52, 211, 153, .35); }
.a-badge-red { color: var(--a-red); background: rgba(248, 113, 113, .12); border-color: rgba(248, 113, 113, .35); }
.a-badge-muted { color: var(--a-muted); background: rgba(255, 255, 255, .05); border-color: var(--a-line); }
.a-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid var(--a-line); color: var(--a-muted); font-size: 12.5px; font-weight: 700; }

/* ===================== التنبيهات ===================== */
.a-alert {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: var(--a-r-sm); font-size: 13.5px; font-weight: 700;
  border: 1px solid transparent; margin-bottom: 18px;
}
.a-alert i { font-size: 17px; }
.a-alert-ok { color: #a7f3d0; background: rgba(52, 211, 153, .1); border-color: rgba(52, 211, 153, .3); }
.a-alert-err { color: #fecaca; background: rgba(248, 113, 113, .1); border-color: rgba(248, 113, 113, .3); }
.a-alert-info { color: #cffafe; background: rgba(34, 211, 238, .1); border-color: rgba(34, 211, 238, .3); }
.a-alert-gold { color: #fde68a; background: rgba(245, 185, 66, .1); border-color: rgba(245, 185, 66, .3); }

/* ===================== الحقول ===================== */
.a-field { margin-bottom: 16px; }
.a-label { display: block; font-size: 12.5px; font-weight: 700; color: var(--a-muted); margin-bottom: 7px; }
.a-input {
  width: 100%; padding: 13px 15px; border-radius: var(--a-r-sm);
  border: 1px solid var(--a-line-2); background: rgba(3, 6, 14, .6);
  color: var(--a-text); font-family: 'Tajawal', sans-serif; font-size: 14.5px; transition: all .2s;
}
.a-input::placeholder { color: var(--a-faint); }
.a-input:focus { outline: none; border-color: var(--a-gold); box-shadow: 0 0 0 4px rgba(245, 185, 66, .14); }
.a-input[dir="ltr"] { text-align: left; }
select.a-input option { background: var(--a-surface); color: #fff; }
.a-input-icon { position: relative; }
.a-input-icon i { position: absolute; top: 50%; right: 15px; transform: translateY(-50%); color: var(--a-faint); font-size: 14px; pointer-events: none; }
.a-input-icon .a-input { padding-right: 42px; }

/* ===================== الجداول ===================== */
.a-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.a-table th, .a-table td { padding: 14px 16px; text-align: right; border-bottom: 1px solid var(--a-line); white-space: nowrap; }
.a-table th { color: var(--a-muted); font-size: 11.5px; font-weight: 800; background: rgba(255, 255, 255, .025); }
.a-table tbody tr { transition: background .15s; }
.a-table tbody tr:hover { background: rgba(245, 185, 66, .04); }
.a-table-wrap { overflow-x: auto; border-radius: var(--a-r); border: 1px solid var(--a-line); }

/* ===================== شريط متحرك (Marquee) ===================== */
.a-marquee { overflow: hidden; position: relative; }
.a-marquee > div { display: flex; gap: 40px; width: max-content; animation: aMarquee 26s linear infinite; }
.a-marquee:hover > div { animation-play-state: paused; }
@keyframes aMarquee { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ===================== الفوتر ===================== */
.a-footer {
  margin-top: 70px; padding: 52px clamp(16px, 2.8vw, 52px) 96px; position: relative;
  border-top: 1px solid var(--a-line);
  background: linear-gradient(180deg, transparent, rgba(5, 7, 14, .8));
  font-family: 'Tajawal', sans-serif;
}
.a-footer::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--a-gold) 30%, var(--a-cyan) 70%, transparent); opacity: .7;
}
.a-footer-grid { width: 100%; max-width: 100%; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 34px; }
@media (max-width: 760px) { .a-footer-grid { grid-template-columns: 1fr; text-align: center; } .a-footer .a-brand { justify-content: center; } }
.a-footer h4 { font-size: 14px; color: var(--a-text); margin-bottom: 16px; }
.a-footer p, .a-footer a { color: var(--a-muted); font-size: 13px; line-height: 2.1; display: block; }
.a-footer a:hover { color: var(--a-gold2); }
.a-footer .a-brand { margin-bottom: 14px; }
.a-footer-bottom {
  width: 100%; max-width: 100%; margin: 30px auto 0; padding-top: 22px; padding-left: 84px;
  border-top: 1px solid var(--a-line); display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center; justify-content: space-between; color: var(--a-muted); font-size: 12.5px;
}
html[dir="ltr"] .a-footer-bottom { padding-left: 0; padding-right: 84px; }
@media (max-width: 760px) {
  .a-footer-bottom, html[dir="ltr"] .a-footer-bottom { padding-left: 0; padding-right: 0; justify-content: center; text-align: center; }
}
.a-footer-bottom b { color: var(--a-gold2); }
.a-socials { display: flex; gap: 10px; }
.a-socials a {
  width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--a-line);
  display: grid; place-items: center; color: var(--a-muted); font-size: 16px; transition: .25s;
}
.a-socials a:hover { color: #2a1a05; background: var(--a-grad-gold); border-color: transparent; transform: translateY(-3px); box-shadow: var(--a-shadow-gold); }

/* ===================== عناصر مساعدة ===================== */
.a-divider { height: 1px; background: var(--a-line); border: 0; margin: 26px 0; }
.a-glow-orb { position: fixed; border-radius: 50%; filter: blur(130px); pointer-events: none; z-index: -1; }
.a-glow-orb.gold { width: 480px; height: 480px; background: rgba(245, 185, 66, .15); top: -150px; right: -90px; }
.a-glow-orb.cyan { width: 440px; height: 440px; background: rgba(34, 211, 238, .11); bottom: -170px; left: -110px; }
.a-muted { color: var(--a-muted); }
.a-text-center { text-align: center; }
.a-grid { display: grid; gap: 22px; }
.a-grid-2 { grid-template-columns: repeat(2, 1fr); }
.a-grid-split { grid-template-columns: 1.55fr 1fr; align-items: start; }
.a-grid-3 { grid-template-columns: repeat(3, 1fr); }
.a-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .a-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .a-grid-2, .a-grid-3, .a-grid-split { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .a-grid-4 { grid-template-columns: 1fr; } }
.a-flex { display: flex; }
.a-between { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* ===================== الحركات ===================== */
@keyframes aFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.a-float { animation: aFloat 6s ease-in-out infinite; }
@keyframes aFade { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.a-reveal { animation: aFade .7s cubic-bezier(.4, 0, .2, 1) both; }
.a-reveal-1 { animation: aFade .7s .08s cubic-bezier(.4, 0, .2, 1) both; }
.a-reveal-2 { animation: aFade .7s .16s cubic-bezier(.4, 0, .2, 1) both; }
.a-reveal-3 { animation: aFade .7s .24s cubic-bezier(.4, 0, .2, 1) both; }
@keyframes aPulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.a-pulse { animation: aPulse 2s ease-in-out infinite; }
.a-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--a-green); display: inline-block; box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: aPulse 1.8s infinite; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ===================== جسر توحيد الصفحات القديمة ===================== */
body.a-legacy { background: var(--a-bg); color: var(--a-text); font-family: 'Tajawal', sans-serif; }

/* ===================== طبقة 3D ===================== */
.a-scene { perspective: 1400px; }
.a-tilt { transform-style: preserve-3d; transition: transform .25s cubic-bezier(.2, .8, .25, 1); will-change: transform; }
.a-tilt .a-tilt-inner { transform: translateZ(34px); }
.a-tilt-lg:hover { box-shadow: 0 0 0 1px var(--a-line-gold), 0 40px 80px -30px rgba(245, 185, 66, .4); }

.a-nav a { transform-style: preserve-3d; }
.a-nav a:hover { transform: translateZ(8px) translateY(-1px); }

/* الشخصيات 3D العائمة */
.a-char {
  position: absolute; width: 86px; height: 86px; object-fit: contain;
  filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .55));
  animation: aFloatChar 7s ease-in-out infinite; pointer-events: none; z-index: 2;
  transform-style: preserve-3d;
}
.a-char.c2 { animation-duration: 9s; animation-delay: -1.5s; }
.a-char.c3 { animation-duration: 8s; animation-delay: -3s; }
.a-char.c4 { animation-duration: 10s; animation-delay: -4.5s; }
@keyframes aFloatChar {
  0%, 100% { transform: translateY(0) rotateZ(-5deg) rotateY(0deg); }
  50% { transform: translateY(-22px) rotateZ(5deg) rotateY(16deg); }
}
@media (max-width: 900px) { .a-char { width: 62px; height: 62px; } .a-char.hide-sm { display: none; } }
@media (max-width: 560px) { .a-char { width: 48px; height: 48px; opacity: .9; } }

/* قائمة الموبايل بفتح 3D */
@media (max-width: 900px) {
  .a-mobile-nav { perspective: 1200px; }
  .a-mobile-nav.open {
    transform-origin: top center;
    animation: aMenu3d .5s cubic-bezier(.2, .9, .25, 1) both;
  }
  @keyframes aMenu3d {
    from { opacity: 0; transform: rotateX(-72deg) translateY(-12px) scale(.97); }
    to   { opacity: 1; transform: rotateX(0) translateY(0) scale(1); }
  }
  .a-mobile-nav.open a { animation: aMenuItem .5s cubic-bezier(.2, .9, .25, 1) both; }
  .a-mobile-nav.open a:nth-child(1) { animation-delay: .05s; }
  .a-mobile-nav.open a:nth-child(2) { animation-delay: .1s; }
  .a-mobile-nav.open a:nth-child(3) { animation-delay: .15s; }
  .a-mobile-nav.open a:nth-child(4) { animation-delay: .2s; }
  .a-mobile-nav.open a:nth-child(5) { animation-delay: .25s; }
  .a-mobile-nav.open a:nth-child(6) { animation-delay: .3s; }
  .a-mobile-nav.open a:nth-child(7) { animation-delay: .35s; }
  .a-mobile-nav.open a:nth-child(8) { animation-delay: .4s; }
  @keyframes aMenuItem {
    from { opacity: 0; transform: translateX(34px) rotateY(-42deg); }
    to   { opacity: 1; transform: translateX(0) rotateY(0deg); }
  }
}

/* ===================== استجابة ===================== */
@media (max-width: 640px) {
  .a-section { padding: 58px 0; }
  .a-card-pad { padding: 22px; }
  .a-brand small { display: none; }
  .a-hero { padding: 64px 0 52px; }
}

/* ===================== تباين النصوص (Tailwind) على الخلفية الداكنة ===================== */
html[data-theme="dark"] body.a-body .text-slate-400 { color: #9aa6bd; }
html[data-theme="dark"] body.a-body .text-slate-500 { color: var(--a-muted); }
html[data-theme="dark"] body.a-body .text-slate-600:not(.dark\:text-slate-400):not(.dark\:text-slate-300) { color: #c3cbdb; }
html[data-theme="dark"] body.a-body .text-slate-700:not(.dark\:text-slate-300):not(.dark\:text-slate-200) { color: #e2e8f0; }
html[data-theme="dark"] body.a-body .dark\:text-white { color: #ffffff; }
html[data-theme="dark"] body.a-body .dark\:text-slate-300 { color: #cbd5e1; }
html[data-theme="dark"] body.a-body .dark\:text-slate-400 { color: #94a3b8; }

.a-card-subtle {
  background: linear-gradient(160deg, rgba(16, 21, 42, .9), rgba(5, 7, 14, .9));
  border: 1px solid var(--a-line);
  border-radius: 16px;
}
html[data-theme="light"] .a-card-subtle {
  background: linear-gradient(160deg, #f8fafc, #f1f5f9);
  border-color: rgba(15, 23, 42, 0.10);
}


/* ============================================================
   LIGHT THEME MODE (الوضع الفاتح العصري)
   ============================================================ */
html[data-theme="light"] {
  --a-bg: #f8fafc;
  --a-bg2: #f1f5f9;
  --a-surface: #ffffff;
  --a-surface2: #f8fafc;
  --a-elevated: #ffffff;

  --a-gold: #d97706;
  --a-gold2: #b45309;
  --a-gold-deep: #78350f;
  --a-cyan: #0284c7;
  --a-teal: #0d9488;
  --a-violet: #7c3aed;
  --a-green: #16a34a;
  --a-red: #dc2626;
  --a-orange: #ea580c;

  --a-text: #0f172a;
  --a-muted: #64748b;
  --a-faint: #94a3b8;
  --a-line: rgba(15, 23, 42, 0.08);
  --a-line-2: rgba(15, 23, 42, 0.15);
  --a-line-gold: rgba(217, 119, 6, 0.28);

  --a-grad-gold: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
  --a-grad-tech: linear-gradient(135deg, #0284c7, #7c3aed);
  --a-grad-surface: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.9));

  --a-shadow: 0 20px 45px -18px rgba(15, 23, 42, 0.12);
  --a-shadow-soft: 0 10px 25px -15px rgba(15, 23, 42, 0.08);
  --a-shadow-gold: 0 15px 35px -12px rgba(217, 119, 6, 0.25);
  --a-ring-gold: 0 0 0 1px rgba(217, 119, 6, 0.25), 0 12px 30px -15px rgba(217, 119, 6, 0.2);
}

html[data-theme="light"] body.a-body {
  background:
    radial-gradient(1200px 680px at 88% -12%, rgba(245, 185, 66, .12), transparent 60%),
    radial-gradient(1100px 760px at 6% 110%, rgba(14, 165, 233, .08), transparent 60%),
    #f8fafc;
}

html[data-theme="light"] .a-topbar {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--a-line);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .a-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 30px -10px rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .a-mobile-nav {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--a-line);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .a-input,
html[data-theme="light"] select.a-input,
html[data-theme="light"] textarea.a-input {
  background: #f8fafc;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .a-input:focus {
  background: #ffffff;
  border-color: var(--a-gold);
}

html[data-theme="light"] .a-footer {
  background: #ffffff;
  border-top: 1px solid var(--a-line);
}

html[data-theme="light"] body.a-body .text-slate-400 { color: #64748b; }
html[data-theme="light"] body.a-body .text-slate-500 { color: #475569; }
html[data-theme="light"] body.a-body .text-slate-600 { color: #334155; }
html[data-theme="light"] body.a-body .text-slate-700 { color: #1e293b; }

/* ============================================================
   LTR & ENGLISH TYPOGRAPHY & LAYOUT (دعم الإنجليزية و LTR)
   ============================================================ */
html[dir="ltr"] body,
html[dir="ltr"] h1,
html[dir="ltr"] h2,
html[dir="ltr"] h3,
html[dir="ltr"] h4,
html[dir="ltr"] h5,
html[dir="ltr"] .a-topbar,
html[dir="ltr"] .a-footer,
html[dir="ltr"] .a-btn,
html[dir="ltr"] .a-input {
  font-family: 'Plus Jakarta Sans', 'Tajawal', system-ui, -apple-system, sans-serif;
}

html[dir="ltr"] .a-brand small {
  letter-spacing: 0.05em;
}

html[dir="ltr"] .a-feature,
html[dir="ltr"] .a-table th,
html[dir="ltr"] .a-table td {
  text-align: left;
}

html[dir="ltr"] .a-input-icon i {
  right: auto;
  left: 15px;
}

html[dir="ltr"] .a-input-icon .a-input {
  padding-right: 15px;
  padding-left: 42px;
}

html[dir="ltr"] .a-bot-container {
  direction: ltr;
}

/* ============================================================
   THEME & LANGUAGE SWITCHER PILLS (أزرار التبديل العصرية)
   ============================================================ */
.a-ctrl-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.a-ctrl-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 13px;
  border-radius: 9999px;
  background: var(--a-surface2);
  border: 1px solid var(--a-line-2);
  color: var(--a-text);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  user-select: none;
  white-space: nowrap;
}

.a-ctrl-pill:hover {
  border-color: var(--a-gold);
  color: var(--a-gold);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px -4px rgba(245, 185, 66, 0.3);
}

.a-ctrl-pill .icon-sun { display: none; }
.a-ctrl-pill .icon-moon { display: inline-block; color: var(--a-gold); }

html[data-theme="light"] .a-ctrl-pill .icon-sun { display: inline-block; color: #d97706; }
html[data-theme="light"] .a-ctrl-pill .icon-moon { display: none; }


/* ============================================================
   GOOGLE SIGN-IN BUTTON & DIVIDER (زر دخول جوجل والفاصل)
   ============================================================ */
.a-btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 13px 20px;
  border-radius: 14px;
  background: #ffffff;
  color: #1f2937;
  border: 1.5px solid #e5e7eb;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-decoration: none;
}

.a-btn-google:hover {
  background: #f9fafb;
  border-color: #d1d5db;
  transform: translateY(-1.5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.a-btn-google:active {
  transform: translateY(0);
}

html[data-theme="dark"] .a-btn-google {
  background: #111827;
  color: #f3f4f6;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .a-btn-google:hover {
  background: #1f2937;
  border-color: rgba(255, 255, 255, 0.25);
}

.a-divider-text {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
  color: var(--a-muted);
  font-size: 13px;
  font-weight: 600;
}

.a-divider-text::before,
.a-divider-text::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--a-line-2);
}

.a-divider-text span {
  padding: 0 14px;
}

/* ============================================================
   HIGH-CONTRAST PALETTE REFINEMENTS (تناسق الألوان ووضوح الخطوط)
   ============================================================ */

/* DARK MODE CONTRAST BOOST */
html[data-theme="dark"] {
  --a-text: #f8fafc;
  --a-muted: #cbd5e1;
  --a-faint: #64748b;
  --a-line: rgba(255, 255, 255, 0.10);
  --a-line-2: rgba(255, 255, 255, 0.18);
  --a-card-bg: #10152a;
}

html[data-theme="dark"] h1, 
html[data-theme="dark"] h2, 
html[data-theme="dark"] h3, 
html[data-theme="dark"] h4,
html[data-theme="dark"] strong, 
html[data-theme="dark"] b {
  color: #ffffff;
}

html[data-theme="dark"] .a-input {
  background: #0d1224;
  color: #f8fafc;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
}

html[data-theme="dark"] .a-input:focus {
  background: #111833;
  border-color: var(--a-gold);
  box-shadow: 0 0 0 3px rgba(245, 185, 66, 0.22);
}

/* LIGHT MODE CONTRAST BOOST */
html[data-theme="light"] {
  --a-text: #0f172a;
  --a-muted: #475569;
  --a-faint: #64748b;
  --a-line: rgba(15, 23, 42, 0.10);
  --a-line-2: rgba(15, 23, 42, 0.18);
  --a-surface: #ffffff;
  --a-surface2: #f1f5f9;
}

html[data-theme="light"] h1, 
html[data-theme="light"] h2, 
html[data-theme="light"] h3, 
html[data-theme="light"] h4,
html[data-theme="light"] strong, 
html[data-theme="light"] b {
  color: #0f172a;
}

html[data-theme="light"] .a-page-head p,
html[data-theme="light"] .a-section-head p {
  color: #334155;
  font-weight: 500;
}

html[data-theme="light"] .a-gradient-text {
  background: linear-gradient(110deg, #b45309 0%, #d97706 45%, #0284c7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

html[data-theme="light"] .a-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 12px 30px -8px rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .a-input {
  background: #ffffff;
  color: #0f172a;
  border: 1.5px solid #cbd5e1;
}

html[data-theme="light"] .a-input::placeholder {
  color: #94a3b8;
}

html[data-theme="light"] .a-input:focus {
  background: #ffffff;
  border-color: #d97706;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.16);
}

html[data-theme="light"] .a-label {
  color: #1e293b;
  font-weight: 700;
}

html[data-theme="light"] .a-topbar {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .a-navlink {
  color: #334155;
  font-weight: 700;
}

html[data-theme="light"] .a-navlink:hover {
  color: #0f172a;
}

html[data-theme="light"] .a-navlink.on {
  color: #b45309;
}

html[data-theme="light"] .a-footer {
  background: #f8fafc;
  border-top: 1px solid rgba(15, 23, 42, 0.10);
  color: #334155;
}

html[data-theme="light"] .a-footer h4 {
  color: #0f172a;
  font-weight: 800;
}

html[data-theme="light"] .a-footer a {
  color: #475569;
}

html[data-theme="light"] .a-footer a:hover {
  color: #b45309;
}

/* ============================================================
   ANDROID NATIVE APP EXPERIENCE & MOBILE BOTTOM NAV (شريط أندرويد للموبايل)
   ============================================================ */

/* شريط التنقل السفلي للأندرويد */
.a-android-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(9, 13, 22, 0.94);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
  z-index: 99999;
  padding: 0 8px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  justify-content: space-around;
  align-items: center;
  user-select: none;
}

html[data-theme="light"] .a-android-bottom-bar {
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.06);
}

.a-bottom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100%;
  color: var(--a-muted);
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  gap: 3px;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.a-bottom-icon {
  font-size: 18px;
  width: 40px;
  height: 28px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.a-bottom-item.active {
  color: var(--a-gold);
}

.a-bottom-item.active .a-bottom-icon {
  background: rgba(245, 185, 66, 0.15);
  color: var(--a-gold);
  transform: translateY(-2px);
}

html[data-theme="light"] .a-bottom-item.active {
  color: #b45309;
}

html[data-theme="light"] .a-bottom-item.active .a-bottom-icon {
  background: rgba(180, 83, 9, 0.12);
  color: #b45309;
}

/* الزر الأوسط البارز (الترقية / الاشتراك) */
.a-bottom-item.a-bottom-center .a-center-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--a-grad-gold);
  color: #1a1003;
  margin-top: -18px;
  box-shadow: 0 6px 18px rgba(245, 185, 66, 0.45);
  border: 3px solid var(--a-bg);
  font-size: 20px;
}

html[data-theme="light"] .a-bottom-item.a-bottom-center .a-center-icon {
  border-color: #ffffff;
}

/* إظهار شريط التنقل السفلي فقط على شاشات الموبايل والتابلت الصغير */
@media (max-width: 768px) {
  .a-android-bottom-bar {
    display: flex;
  }
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
  }
  .a-footer {
    padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* بانر تثبيت تطبيق الأندرويد السلس */
.a-pwa-install-banner {
  position: fixed;
  bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  left: 16px;
  right: 16px;
  background: linear-gradient(135deg, rgba(16, 21, 42, 0.96), rgba(9, 13, 22, 0.98));
  border: 1px solid rgba(245, 185, 66, 0.35);
  border-radius: 20px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(245, 185, 66, 0.2);
  backdrop-filter: blur(20px);
  z-index: 99998;
  animation: slideUpPwa 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 768px) {
  .a-pwa-install-banner {
    left: 20px;
    right: auto;
    bottom: 20px;
    width: auto;
    max-width: 420px;
  }
}

html[data-theme="light"] .a-pwa-install-banner {
  background: #ffffff;
  border-color: rgba(180, 83, 9, 0.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

@keyframes slideUpPwa {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.a-pwa-banner-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.a-pwa-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--a-grad-gold);
  color: #1a1003;
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}

.a-pwa-info h4 {
  margin: 0 0 2px;
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
}

html[data-theme="light"] .a-pwa-info h4 {
  color: #0f172a;
}

.a-pwa-info p {
  margin: 0;
  font-size: 11.5px;
  color: var(--a-muted);
}

.a-pwa-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.a-btn-close-pwa {
  background: none;
  border: none;
  color: var(--a-muted);
  font-size: 22px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

/* ============================================================
   MODERN SAAS DESIGN SYSTEM (قالب ونظام SaaS الاحترافي العالمي)
   ============================================================ */

/* خلفية التوهج والشبكة التكنولوجية لصفحات SaaS */
.saas-grid-bg {
  position: relative;
  overflow-x: hidden;
  overflow-y: visible;
}

.saas-grid-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(rgba(245, 185, 66, 0.08) 1px, transparent 1px),
    radial-gradient(rgba(34, 211, 238, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: 0 0, 16px 16px;
  pointer-events: none;
  opacity: 0.6;
}

html[data-theme="light"] .saas-grid-bg::before {
  background-image: radial-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px);
  opacity: 0.4;
}

/* شارة SaaS العائمة مع النقطة المضيئة */
.saas-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  background: rgba(245, 185, 66, 0.10);
  border: 1px solid rgba(245, 185, 66, 0.35);
  color: var(--a-gold);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 18px rgba(245, 185, 66, 0.12);
  margin-bottom: 20px;
}

.saas-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--a-gold);
  box-shadow: 0 0 10px var(--a-gold);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

/* شاشة SaaS التفاعلية مع البطاقات العائمة */
.saas-mockup-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 40px auto 0;
  border-radius: 28px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.02));
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.9), 0 0 60px rgba(245, 185, 66, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.saas-mockup-frame {
  border-radius: 20px;
  overflow: hidden;
  background: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.saas-mockup-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.saas-floating-chip {
  position: absolute;
  background: rgba(16, 21, 42, 0.92);
  border: 1px solid rgba(245, 185, 66, 0.35);
  border-radius: 18px;
  padding: 12px 20px;
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  z-index: 10;
  animation: floatChip 4s infinite ease-in-out;
}

.saas-chip-1 { top: 12%; right: -24px; animation-delay: 0s; }
.saas-chip-2 { bottom: 10%; left: -24px; animation-delay: 2s; }

@media (max-width: 900px) {
  .saas-chip-1, .saas-chip-2 { display: none; }
}

@keyframes floatChip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* شبكة Bento-Grid الحديثة للميزات (Bento SaaS Grid) */
.saas-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}

@media (max-width: 1024px) {
  .saas-bento-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .saas-bento-grid { grid-template-columns: 1fr; }
}

.saas-bento-card {
  position: relative;
  background: linear-gradient(160deg, rgba(22, 29, 56, 0.6), rgba(10, 14, 26, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 32px 28px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

html[data-theme="light"] .saas-bento-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.saas-bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 185, 66, 0.4);
  box-shadow: 0 24px 50px -15px rgba(0, 0, 0, 0.7), 0 0 25px rgba(245, 185, 66, 0.15);
}

.saas-bento-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: rgba(245, 185, 66, 0.12);
  color: var(--a-gold);
  margin-bottom: 20px;
  border: 1px solid rgba(245, 185, 66, 0.2);
}

.saas-bento-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 10px;
  color: #ffffff;
}

html[data-theme="light"] .saas-bento-card h3 {
  color: #0f172a;
}

.saas-bento-card p {
  color: var(--a-muted);
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0;
}

/* شريط إحصائيات SaaS المباشر (SaaS Live Stats Ticker) */
.saas-stats-banner {
  background: linear-gradient(135deg, rgba(22, 29, 56, 0.8), rgba(16, 21, 42, 0.95));
  border: 1px solid rgba(245, 185, 66, 0.25);
  border-radius: 26px;
  padding: 34px 40px;
  margin: 50px 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

html[data-theme="light"] .saas-stats-banner {
  background: #ffffff;
  border-color: rgba(180, 83, 9, 0.2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.05);
}

.saas-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

@media (max-width: 800px) {
  .saas-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .saas-stats-banner { padding: 26px 20px; }
}

.saas-stat-num {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 900;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--a-grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 6px;
}

.saas-stat-lbl {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--a-muted);
}

/* بطاقات الأسعار SaaS مع محوّل الفترات */
.saas-pricing-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 5px;
  gap: 6px;
  margin-bottom: 35px;
}

html[data-theme="light"] .saas-pricing-switcher {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.saas-switch-btn {
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--a-muted);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.saas-switch-btn.active {
  background: var(--a-grad-gold);
  color: #1a1003;
  box-shadow: 0 4px 14px rgba(245, 185, 66, 0.35);
}

.saas-discount-pill {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--a-green);
  color: #064e3b;
  font-size: 11px;
  font-weight: 800;
}

/* بطاقة الخطة الأكثر طلباً (Most Popular SaaS Card) */
.saas-price-card.popular {
  border: 2px solid var(--a-gold);
  box-shadow: 0 0 40px rgba(245, 185, 66, 0.25);
  position: relative;
  transform: scale(1.02);
}

@media (max-width: 900px) {
  .saas-price-card.popular { transform: none; }
}

.saas-popular-tag {
  position: absolute;
  top: -14px;
  right: 50%;
  transform: translateX(50%);
  background: var(--a-grad-gold);
  color: #1a1003;
  padding: 4px 18px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 900;
  box-shadow: 0 4px 14px rgba(245, 185, 66, 0.4);
  white-space: nowrap;
}

/* أزرار العودة للموقع الرئيسي في صفحة الملف الشخصي */
.neo-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 12px;
  background: rgba(245, 185, 66, 0.12);
  border: 1px solid rgba(245, 185, 66, 0.35);
  color: var(--neo-primary, #f5b942);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  transition: all 0.22s ease;
}

.neo-home-btn:hover {
  background: var(--neo-primary, #f5b942);
  color: #1a1003;
  box-shadow: 0 4px 18px rgba(245, 185, 66, 0.3);
  transform: translateY(-1.5px);
}

.neo-site-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(245, 185, 66, 0.15), rgba(34, 211, 238, 0.08));
  border: 1px solid rgba(245, 185, 66, 0.35);
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  transition: all 0.25s ease;
  margin-bottom: 16px;
}

.neo-site-btn:hover {
  border-color: var(--a-gold);
  background: linear-gradient(135deg, rgba(245, 185, 66, 0.25), rgba(34, 211, 238, 0.15));
  box-shadow: 0 6px 20px rgba(245, 185, 66, 0.2);
  transform: translateY(-1.5px);
}

/* ============================================================
   SAAS STUDIO INTERACTIVE SOFTWARE SHOWCASE SLIDER (سلايدر استوديو SaaS الاحترافي)
   ============================================================ */

.software-slider-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 34px auto;
  border-radius: 28px;
  background: linear-gradient(165deg, rgba(16, 22, 44, 0.96), rgba(7, 10, 20, 0.99));
  border: 1.5px solid rgba(245, 185, 66, 0.34);
  box-shadow: 0 38px 95px -22px rgba(0, 0, 0, 0.88), 0 0 65px rgba(245, 185, 66, 0.14);
  overflow: hidden;
  backdrop-filter: blur(22px);
}

html[data-theme="light"] .software-slider-wrap {
  background: #ffffff;
  border-color: rgba(217, 119, 6, 0.26);
  box-shadow: 0 30px 75px -18px rgba(15, 23, 42, 0.14);
}

/* شريط تقدم السلايدر التلقائي العلوي */
.slider-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--a-grad-gold);
  width: 0%;
  z-index: 30;
  transition: width 0.1s linear;
}

/* 1. شريط التبويبات العلوية التفاعلي (SaaS Segmented Tabs) */
.showcase-tabs-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 16px 20px;
  background: rgba(5, 8, 18, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] .showcase-tabs-bar {
  background: #f8fafc;
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

.showcase-top-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--a-muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}

html[data-theme="light"] .showcase-top-tab {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  color: #475569;
}

.showcase-top-tab:hover {
  border-color: rgba(245, 185, 66, 0.45);
  color: var(--a-text);
  transform: translateY(-1px);
}

.showcase-top-tab .tab-step-num {
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 11px;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--a-muted);
}

html[data-theme="light"] .showcase-top-tab .tab-step-num {
  background: #f1f5f9;
  color: #64748b;
}

.showcase-top-tab.active {
  background: linear-gradient(135deg, rgba(245, 185, 66, 0.2), rgba(245, 185, 66, 0.08));
  border-color: var(--a-gold);
  color: #ffffff;
  box-shadow: 0 8px 22px -8px rgba(245, 185, 66, 0.35);
}

html[data-theme="light"] .showcase-top-tab.active {
  background: linear-gradient(135deg, rgba(245, 185, 66, 0.18), rgba(217, 119, 6, 0.08));
  border-color: #d97706;
  color: #0f172a;
}

.showcase-top-tab.active .tab-step-num {
  background: var(--a-grad-gold);
  color: #1a1003;
}

.showcase-top-tab.active i {
  color: var(--a-gold);
}

/* 2. منطقة الشرائح - تصميم مقسّم احترافي (Split Studio Layout) */
.slider-slides-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: radial-gradient(circle at 30% 50%, rgba(245, 185, 66, 0.06), transparent 60%), #080c18;
}

html[data-theme="light"] .slider-slides-container {
  background: radial-gradient(circle at 30% 50%, rgba(245, 185, 66, 0.08), transparent 60%), #ffffff;
}

.slider-slide-item {
  display: none;
  width: 100%;
  animation: slideFullFade 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.slider-slide-item.active {
  display: block;
}

@keyframes slideFullFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.showcase-split-stage {
  display: grid;
  grid-template-columns: minmax(320px, 28%) 1fr;
  align-items: center;
  gap: clamp(18px, 2vw, 32px);
  padding: clamp(18px, 2.2vw, 32px);
}

/* عمود الشرح والمميزات الجانبي */
.showcase-info-col {
  display: flex;
  flex-direction: column;
  text-align: start;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 22px 20px;
}

html[data-theme="light"] .showcase-info-col {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.08);
}

.showcase-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.showcase-step-pill {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--a-gold);
  background: rgba(245, 185, 66, 0.12);
  border: 1px solid rgba(245, 185, 66, 0.3);
  padding: 4px 11px;
  border-radius: 999px;
}

.slide-category-badge {
  font-size: 11.5px;
  font-weight: 900;
  padding: 4px 11px;
  border-radius: 8px;
  background: rgba(34, 211, 238, 0.12);
  color: var(--a-cyan);
  border: 1px solid rgba(34, 211, 238, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.slide-caption-title {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.35;
  margin: 0 0 10px;
  color: #ffffff;
}

html[data-theme="light"] .slide-caption-title {
  color: #0f172a;
}

.slide-caption-desc {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--a-muted);
  margin: 0 0 16px;
}

.showcase-feature-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 20px;
}

.showcase-feat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--a-text);
}

html[data-theme="light"] .showcase-feat-item {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  color: #1e293b;
}

.showcase-ctrl-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--a-line);
}

.showcase-nav-btns {
  display: flex;
  align-items: center;
  gap: 7px;
}

.slider-nav-mini-btn {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--a-text);
  display: grid;
  place-items: center;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

html[data-theme="light"] .slider-nav-mini-btn {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.14);
  color: #0f172a;
}

.slider-nav-mini-btn:hover {
  background: var(--a-gold);
  border-color: var(--a-gold);
  color: #1a1003;
  transform: translateY(-1px);
}

.showcase-zoom-action {
  flex: 1;
  height: 38px;
  border-radius: 11px;
  background: var(--a-grad-gold);
  color: #1a1003;
  border: none;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 8px 20px -6px rgba(245, 185, 66, 0.45);
}

.showcase-zoom-action:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

/* عمود إطار الشاشة الكاملة (يعرض 100% من الصورة داخل إطار أنيق بدون أي قص أو أزرار عائمة) */
.showcase-frame-col {
  width: 100%;
  min-width: 0;
}

.showcase-monitor-bezel {
  position: relative;
  width: 100%;
  padding: 10px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
  border: 1.5px solid rgba(245, 185, 66, 0.35);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.75), 0 0 35px rgba(245, 185, 66, 0.12);
  cursor: zoom-in;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

html[data-theme="light"] .showcase-monitor-bezel {
  background: linear-gradient(145deg, #f1f5f9, #e2e8f0);
  border-color: rgba(217, 119, 6, 0.35);
  box-shadow: 0 20px 50px -15px rgba(15, 23, 42, 0.18);
}

.showcase-monitor-bezel:hover {
  border-color: var(--a-gold);
  transform: translateY(-2px);
}

.showcase-monitor-bezel img {
  width: 100% !important;
  height: auto !important;
  max-height: clamp(460px, 62vh, 720px) !important;
  object-fit: contain !important;
  display: block;
  border-radius: 12px;
  background: #ffffff;
}

@media (max-width: 960px) {
  .showcase-tabs-bar {
    grid-template-columns: repeat(2, 1fr);
    padding: 12px;
    gap: 8px;
  }
  .showcase-top-tab {
    padding: 9px 10px;
    font-size: 12px;
    justify-content: flex-start;
    min-width: 0;
    overflow: hidden;
    white-space: normal;
    line-height: 1.25;
  }
  .showcase-top-tab .tab-step-label {
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .showcase-split-stage {
    grid-template-columns: 1fr;
    padding: 14px;
    gap: 14px;
  }
  /* في الموبايل تظهر الشاشة الكاملة أولاً تحت التبويبات ثم صندوق الشرح */
  .showcase-frame-col {
    order: -1;
  }
  .showcase-monitor-bezel {
    padding: 6px;
    border-radius: 15px;
  }
  .showcase-monitor-bezel img {
    border-radius: 10px;
  }
  .showcase-info-col {
    padding: 16px 14px;
    border-radius: 16px;
  }
}

/* 3. شريط المصغرات الحية بالصور أسفل السلايدر (Live Image Thumbnails Bar) */
.slider-thumbs-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 16px 20px;
  background: rgba(4, 7, 14, 0.78);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] .slider-thumbs-bar {
  background: #f1f5f9;
  border-top-color: rgba(15, 23, 42, 0.08);
}

@media (max-width: 820px) {
  .slider-thumbs-bar {
    grid-template-columns: repeat(2, 1fr);
    padding: 12px;
    gap: 8px;
  }
}

.slider-thumb-item {
  padding: 10px 12px;
  text-align: start;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.22s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: inherit;
}

html[data-theme="light"] .slider-thumb-item {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
}

.slider-thumb-item:hover {
  border-color: rgba(245, 185, 66, 0.4);
  transform: translateY(-2px);
}

.thumb-preview-img {
  width: 58px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
  background: #fff;
}

.thumb-text-box {
  overflow: hidden;
  flex: 1;
}

.thumb-title {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--a-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.slider-thumb-item.active {
  background: rgba(245, 185, 66, 0.14);
  border-color: var(--a-gold);
  box-shadow: 0 8px 20px -6px rgba(245, 185, 66, 0.28);
}

.slider-thumb-item.active .thumb-preview-img {
  border-color: var(--a-gold);
  box-shadow: 0 0 0 2px rgba(245, 185, 66, 0.35);
}

.slider-thumb-item.active .thumb-title {
  color: var(--a-gold);
}

html[data-theme="light"] .slider-thumb-item.active .thumb-title {
  color: #b45309;
}

/* نافذة التكبير الاحترافية (Image Lightbox Modal) */
.slider-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(16px);
  z-index: 999999;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeInModal 0.25s ease;
}

.slider-lightbox.open {
  display: flex;
}

@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-content {
  position: relative;
  max-width: 95vw;
  max-height: 90vh;
}

.lightbox-content img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 88vh;
  border-radius: 18px;
  border: 1px solid rgba(245, 185, 66, 0.3);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.9);
}

.lightbox-close-btn {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--a-gold);
  color: #1a1003;
  border: none;
  font-size: 20px;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease;
}

.lightbox-close-btn:hover {
  transform: scale(1.1);
}

/* ============================================================
   SMART AI SUPPORT BOT WIDGET (بوت الشات الذكي المتجاوب)
   ============================================================ */
.a-bot-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: inherit;
  direction: rtl;
}

@media (max-width: 900px) {
  .a-bot-container {
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    left: 16px;
  }
}

.a-bot-window {
  width: 360px;
  max-width: calc(100vw - 32px);
  height: 480px;
  max-height: calc(100vh - 120px);
  background: rgba(16, 21, 42, 0.96);
  border: 1.5px solid rgba(245, 185, 66, 0.35);
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin-bottom: 12px;
  animation: botFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

html[data-theme="light"] .a-bot-window {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(217, 119, 6, 0.3);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
}

@keyframes botFadeIn {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.a-bot-header {
  padding: 14px 18px;
  background: var(--a-grad-gold);
  color: #1a1003;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.a-bot-header h4 {
  font-size: 13.5px;
  font-weight: 900;
  margin: 0;
  color: #1a1003;
}

.a-bot-body {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(8, 12, 24, 0.6);
}

html[data-theme="light"] .a-bot-body {
  background: #f8fafc;
}

.a-bot-footer {
  padding: 12px;
  background: rgba(16, 21, 42, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 8px;
}

html[data-theme="light"] .a-bot-footer {
  background: #ffffff;
  border-top-color: rgba(15, 23, 42, 0.08);
}

.a-bot-toggle-btn {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--a-grad-gold);
  color: #1a1003;
  border: none;
  display: grid;
  place-items: center;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(245, 185, 66, 0.45);
  transition: transform 0.22s, box-shadow 0.22s;
  position: relative;
}

.a-bot-toggle-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 14px 34px rgba(245, 185, 66, 0.6);
}

/* ============================================================
   ANDROID NATIVE APP MOBILE RESPONSIVE SYSTEM (تنسيق الموبايل الكامل كبرنامج أندرويد)
   ============================================================ */
.a-hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 42px;
}

@media (max-width: 768px) {
  /* حاويات وبطاقات بنمط تطبيق أندرويد متناسق */
  .a-container,
  .a-container-narrow {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .a-card,
  .saas-bento-card {
    border-radius: 20px !important;
  }

  .a-card-pad {
    padding: 20px 16px !important;
  }

  .a-page-head {
    margin-bottom: 26px !important;
  }

  .a-page-head h1 {
    font-size: 1.65rem !important;
    line-height: 1.3 !important;
  }

  .a-page-head p {
    font-size: 13.5px !important;
    line-height: 1.7 !important;
  }

  /* ترتيب أزرار الهيرو في الموبايل بشكل تطبيق أندرويد احترافي بدون أي تجاوز أفقي */
  .a-hero-cta-group {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px !important;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 28px !important;
  }

  .a-hero-cta-group > * {
    min-width: 0 !important;
    width: 100%;
    min-height: 46px;
    padding: 10px 8px !important;
    font-size: 12.5px !important;
    border-radius: 14px !important;
    white-space: normal !important;
    text-align: center;
  }

  .a-hero-cta-group > :first-child {
    grid-column: 1 / -1;
    min-height: 50px;
    font-size: 15px !important;
    border-radius: 15px !important;
  }

  /* تنسيق السلايدر على شاشات الموبايل */
  .software-slider-wrap {
    margin: 18px auto !important;
    border-radius: 20px !important;
  }

  .slider-window-bar {
    padding: 10px 14px !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
  }

  .slider-window-title {
    display: none !important;
  }

  .slider-screen-counter {
    font-size: 11px !important;
    padding: 4px 10px !important;
  }

  .slider-nav-mini-btn {
    width: 30px !important;
    height: 30px !important;
    border-radius: 8px !important;
  }

  .slide-zoom-btn {
    bottom: 10px !important;
    left: 10px !important;
    padding: 6px 12px !important;
    font-size: 11px !important;
    border-radius: 10px !important;
  }

  .slide-caption-box {
    padding: 16px 14px !important;
  }

  .slide-caption-title {
    font-size: 15.5px !important;
    line-height: 1.4 !important;
  }

  .slide-caption-desc {
    font-size: 12.5px !important;
    line-height: 1.65 !important;
    margin-bottom: 10px !important;
  }

  .slide-spec-badge {
    font-size: 11px !important;
    padding: 4px 10px !important;
  }

  .slider-thumbs-bar {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    padding: 10px !important;
  }

  .slider-thumb-item {
    padding: 8px !important;
    gap: 8px !important;
    border-radius: 12px !important;
  }

  .thumb-preview-img {
    width: 44px !important;
    height: 34px !important;
    border-radius: 6px !important;
  }

  .thumb-title {
    font-size: 11.5px !important;
  }

  /* محوّل باقات الأسعار على الموبايل */
  .saas-pricing-switcher {
    width: 100%;
    max-width: 350px;
    justify-content: space-between;
  }

  .saas-switch-btn {
    flex: 1;
    padding: 9px 12px !important;
    font-size: 12.5px !important;
    text-align: center;
  }

  /* تصغير زر البوت العائم في الموبايل لعدم التداخل مع شريط الأندرويد السفلي */
  .a-bot-toggle-btn {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    font-size: 19px;
  }
}

/* ============================================================
   FLUID FULL-SCREEN AUTO-EXPAND LAYOUT (تمدد تلقائي ذكي يملأ عرض الشاشة)
   ============================================================ */
html, body {
  width: 100%;
  min-height: 100dvh;
  overflow-x: clip;
}
#features, #pricing, #faq {
  scroll-margin-top: 86px;
}

@media (min-width: 1440px) {
  .a-page-head,
  .a-section-head {
    max-width: 860px;
  }
  .a-hero h1 {
    max-width: 1120px;
  }
  .a-hero p.lead {
    max-width: 820px;
  }
  .saas-bento-grid {
    gap: 26px;
  }
  .saas-bento-card {
    padding: 36px 32px;
  }
}

/* ============================================================
   PRO FEATURES SHOWCASE HUB (موسوعة مميزات المنظومة الاحترافية)
   ============================================================ */
.fhub-metrics-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}
.fhub-metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(245, 185, 66, 0.22);
  color: var(--a-text);
  font-size: 13px;
  font-weight: 800;
}
.fhub-metric-pill i { color: var(--a-gold); }
html[data-theme="light"] .fhub-metric-pill {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  color: #0f172a;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

/* بطاقتا الإبراز الرئيسيتان (Flagship Spotlight Duo) */
.fhub-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 30px;
}
@media (max-width: 980px) {
  .fhub-spotlight-grid { grid-template-columns: 1fr; }
}
.fhub-spotlight-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: clamp(22px, 2.4vw, 34px);
  background: linear-gradient(150deg, rgba(22, 31, 58, 0.92), rgba(9, 13, 26, 0.96));
  border: 1.5px solid rgba(245, 185, 66, 0.34);
  box-shadow: 0 26px 60px -22px rgba(0, 0, 0, 0.8), 0 0 42px rgba(245, 185, 66, 0.09);
  transition: transform 0.28s ease, border-color 0.28s ease;
}
.fhub-spotlight-card.cyan-accent {
  border-color: rgba(34, 211, 238, 0.34);
  box-shadow: 0 26px 60px -22px rgba(0, 0, 0, 0.8), 0 0 42px rgba(34, 211, 238, 0.09);
}
.fhub-spotlight-card:hover {
  transform: translateY(-4px);
  border-color: var(--a-gold);
}
.fhub-spotlight-card.cyan-accent:hover {
  border-color: var(--a-cyan);
}
html[data-theme="light"] .fhub-spotlight-card {
  background: linear-gradient(150deg, #ffffff, #f8fafc);
  border-color: rgba(217, 119, 6, 0.28);
  box-shadow: 0 18px 42px -18px rgba(15, 23, 42, 0.14);
}
.fhub-spot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.fhub-new-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--a-grad-gold);
  color: #1a1003;
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0.2px;
}
.fhub-new-tag.cyan {
  background: linear-gradient(135deg, #22d3ee, #0ea5e9);
  color: #061422;
}
.fhub-spot-title {
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 10px;
  line-height: 1.3;
}
html[data-theme="light"] .fhub-spot-title { color: #0f172a; }
.fhub-spot-desc {
  color: var(--a-muted);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 18px;
}
.fhub-spot-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 560px) {
  .fhub-spot-chips { grid-template-columns: 1fr; }
}
.fhub-spot-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--a-text);
}
html[data-theme="light"] .fhub-spot-chip {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.08);
  color: #1e293b;
}

/* شريط فلترة الأقسام التفاعلي */
.fhub-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px;
  margin-bottom: 26px;
  border-radius: 20px;
  background: rgba(14, 20, 38, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}
html[data-theme="light"] .fhub-filter-bar {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}
.fhub-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
  color: var(--a-muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.22s ease;
}
html[data-theme="light"] .fhub-tab-btn {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.09);
  color: #475569;
}
.fhub-tab-btn:hover {
  border-color: rgba(245, 185, 66, 0.45);
  color: var(--a-text);
  transform: translateY(-1px);
}
.fhub-tab-btn.active {
  background: var(--a-grad-gold);
  color: #1a1003;
  border-color: transparent;
  box-shadow: 0 8px 22px -6px rgba(245, 185, 66, 0.5);
}
.fhub-tab-count {
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 11px;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
}
.fhub-tab-btn.active .fhub-tab-count {
  background: rgba(26, 16, 3, 0.16);
}

/* شبكة بطاقات المميزات الكاملة (متناسقة 3×6 على الديسكتوب و 2×9 على التابلت بدون أي بطاقة يتيمة) */
.fhub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.5vw, 24px);
}
@media (max-width: 1024px) {
  .fhub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .fhub-grid { grid-template-columns: 1fr; }
}
.fhub-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  border-radius: 22px;
  padding: 24px 22px;
  background: linear-gradient(165deg, rgba(20, 28, 52, 0.74), rgba(10, 14, 28, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.085);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}
.fhub-card.fhub-hidden {
  display: none !important;
}
.fhub-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 185, 66, 0.42);
  box-shadow: 0 22px 46px -18px rgba(0, 0, 0, 0.78), 0 0 24px rgba(245, 185, 66, 0.11);
}
html[data-theme="light"] .fhub-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.09);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}
.fhub-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}
.fhub-ico {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.fhub-cat-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--a-muted);
  white-space: nowrap;
}
html[data-theme="light"] .fhub-cat-badge {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.08);
  color: #475569;
}
.fhub-card h3 {
  font-size: 17.5px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 8px;
  line-height: 1.35;
}
html[data-theme="light"] .fhub-card h3 { color: #0f172a; }
.fhub-card p {
  font-size: 13.2px;
  line-height: 1.72;
  color: var(--a-muted);
  margin: 0 0 16px;
}
.fhub-points {
  list-style: none;
  margin: 0;
  padding: 13px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: 7px;
}
html[data-theme="light"] .fhub-points { border-top-color: rgba(15, 23, 42, 0.08); }
.fhub-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.2px;
  font-weight: 700;
  color: var(--a-text);
}
.fhub-points li i {
  font-size: 11px;
  color: #34d399;
  flex-shrink: 0;
}

/* شريط المواصفات والأجهزة والتكامل الكامل */
.fhub-specs-matrix {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
@media (max-width: 1120px) {
  .fhub-specs-matrix { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .fhub-specs-matrix { grid-template-columns: 1fr; }
}
.fhub-spec-box {
  border-radius: 20px;
  padding: 20px 18px;
  background: rgba(14, 21, 40, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
html[data-theme="light"] .fhub-spec-box {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.09);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}
.fhub-spec-box h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 900;
  color: var(--a-gold2);
  margin-bottom: 12px;
}
html[data-theme="light"] .fhub-spec-box h4 { color: #b45309; }
.fhub-spec-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.fhub-spec-tag {
  font-size: 11.8px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--a-text);
}
html[data-theme="light"] .fhub-spec-tag {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.08);
  color: #334155;
}

/* ============================================================
   ALDEEB ENTERPRISE 4.0 — CORPORATE SAAS VISUAL SYSTEM
   (Linear / Stripe / Vercel / Apple Inspired Precision Polish)
   ============================================================ */

/* إضاءة السقف المعمارية للهيرو */
.ent-hero-stage {
  position: relative;
  overflow: hidden;
  padding: clamp(46px, 5vw, 76px) clamp(16px, 3vw, 56px) clamp(44px, 4.5vw, 68px);
}
.ent-hero-stage::before {
  content: "";
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1280px, 120vw);
  height: 520px;
  background:
    radial-gradient(ellipse 62% 55% at 50% 35%, rgba(245, 185, 66, 0.16), transparent 72%),
    radial-gradient(ellipse 46% 45% at 32% 45%, rgba(34, 211, 238, 0.11), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
html[data-theme="light"] .ent-hero-stage::before {
  background:
    radial-gradient(ellipse 62% 55% at 50% 35%, rgba(245, 185, 66, 0.2), transparent 72%),
    radial-gradient(ellipse 46% 45% at 32% 45%, rgba(14, 165, 233, 0.12), transparent 70%);
}

/* شارة الإصدار المؤسسية المضيئة */
.ent-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px 7px 14px;
  border-radius: 999px;
  background: rgba(16, 22, 42, 0.82);
  border: 1px solid rgba(245, 185, 66, 0.34);
  box-shadow: 0 10px 30px -12px rgba(245, 185, 66, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--a-gold2);
  margin-bottom: 22px;
  backdrop-filter: blur(12px);
}
html[data-theme="light"] .ent-eyebrow-pill {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(217, 119, 6, 0.32);
  color: #b45309;
  box-shadow: 0 10px 26px -14px rgba(15, 23, 42, 0.14);
}
.ent-eyebrow-ver {
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(245, 185, 66, 0.16);
  border: 1px solid rgba(245, 185, 66, 0.3);
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 11px;
  font-weight: 900;
}

/* أزرار الهيرو المركزة (Primary + Secondary Enterprise Hierarchy) */
.ent-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 22px;
}
.ent-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 15px;
  background: linear-gradient(135deg, #ffe07d 0%, #f5b942 48%, #c98617 100%);
  color: #191003;
  font-size: 15.5px;
  font-weight: 900;
  border: none;
  cursor: pointer;
  box-shadow: 0 18px 42px -12px rgba(245, 185, 66, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}
.ent-btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 24px 50px -12px rgba(245, 185, 66, 0.78), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.ent-btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.055);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}
.ent-btn-glass:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(245, 185, 66, 0.5);
}
html[data-theme="light"] .ent-btn-glass {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.14);
  box-shadow: 0 8px 22px -12px rgba(15, 23, 42, 0.15);
}

/* شريط المنصات الفرعي الأنيق تحت أزرار الهيرو */
.ent-platform-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
  margin-bottom: 34px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--a-muted);
}
.ent-platform-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--a-text);
  transition: all 0.2s ease;
}
.ent-platform-link:hover {
  border-color: rgba(245, 185, 66, 0.45);
  background: rgba(245, 185, 66, 0.1);
  color: var(--a-gold2);
}
html[data-theme="light"] .ent-platform-link {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  color: #1e293b;
}

/* شريط نافذة الاستوديو الاحترافي أعلى السلايدر (macOS / Linear Chrome) */
.ent-studio-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 20px;
  background: linear-gradient(180deg, rgba(22, 30, 54, 0.95), rgba(11, 16, 32, 0.98));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
html[data-theme="light"] .ent-studio-bar {
  background: linear-gradient(180deg, #f8fafc, #f1f5f9);
  border-bottom-color: rgba(15, 23, 42, 0.08);
}
.ent-studio-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}
.ent-studio-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: block;
}
.ent-studio-dots span:nth-child(1) { background: #ef4444; opacity: 0.85; }
.ent-studio-dots span:nth-child(2) { background: #f59e0b; opacity: 0.85; }
.ent-studio-dots span:nth-child(3) { background: #10b981; opacity: 0.85; }
.ent-studio-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11.5px;
  font-weight: 800;
  color: var(--a-muted);
  font-family: 'Plus Jakarta Sans', 'Tajawal', sans-serif;
}
html[data-theme="light"] .ent-studio-title {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.09);
  color: #475569;
}
.ent-studio-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  color: #34d399;
}
.ent-studio-live i { font-size: 7px; }
@media (max-width: 680px) {
  .ent-studio-title { display: none; }
}

/* شريط القطاعات والثقة (Enterprise Verticals Authority Strip) */
.ent-trust-strip {
  padding: 24px clamp(16px, 3vw, 56px);
  border-top: 1px solid var(--a-line);
  border-bottom: 1px solid var(--a-line);
  background: linear-gradient(90deg, rgba(14, 21, 40, 0.4), rgba(20, 29, 54, 0.65), rgba(14, 21, 40, 0.4));
}
html[data-theme="light"] .ent-trust-strip {
  background: #f8fafc;
}
.ent-trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 22px;
}
.ent-trust-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--a-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.ent-trust-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
}
.ent-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--a-text);
  opacity: 0.86;
}
.ent-trust-item i { color: var(--a-gold); font-size: 14px; }

/* شريط الأرقام التنفيذية (Precision Telemetry Bar) */
.ent-kpi-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-radius: 26px;
  background: linear-gradient(155deg, rgba(19, 27, 50, 0.9), rgba(9, 13, 26, 0.96));
  border: 1px solid rgba(245, 185, 66, 0.24);
  box-shadow: 0 28px 65px -26px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
html[data-theme="light"] .ent-kpi-bar {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 18px 45px -24px rgba(15, 23, 42, 0.14);
}
@media (max-width: 960px) {
  .ent-kpi-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .ent-kpi-bar { grid-template-columns: 1fr; }
}
.ent-kpi-cell {
  padding: 28px 24px;
  text-align: center;
  position: relative;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.07);
}
.ent-kpi-cell:last-child { border-inline-end: none; }
html[data-theme="light"] .ent-kpi-cell { border-inline-end-color: rgba(15, 23, 42, 0.08); }
.ent-kpi-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 12px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 17px;
  background: rgba(245, 185, 66, 0.12);
  color: var(--a-gold);
  border: 1px solid rgba(245, 185, 66, 0.25);
}
.ent-kpi-val {
  direction: ltr;
  unicode-bidi: isolate;
  font-size: clamp(2rem, 3.2vw, 2.85rem);
  font-weight: 900;
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 10%, #fde68a 60%, #f5b942 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}
html[data-theme="light"] .ent-kpi-val {
  background: linear-gradient(135deg, #0f172a 10%, #b45309 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.ent-kpi-lbl {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--a-text);
}
.ent-kpi-sub {
  font-size: 11.5px;
  color: var(--a-muted);
  margin-top: 4px;
}

/* قسم خطوات العمل المؤسسي (How It Works — 3 Steps) */
.ent-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
@media (max-width: 960px) {
  .ent-steps-grid { grid-template-columns: 1fr; }
}
.ent-step-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 30px 26px;
  background: linear-gradient(160deg, rgba(20, 28, 52, 0.8), rgba(10, 14, 28, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.ent-step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 185, 66, 0.42);
}
html[data-theme="light"] .ent-step-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.09);
  box-shadow: 0 12px 32px -18px rgba(15, 23, 42, 0.12);
}
.ent-step-wm {
  position: absolute;
  top: 10px;
  inset-inline-end: 20px;
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 62px;
  font-weight: 900;
  line-height: 1;
  color: rgba(245, 185, 66, 0.08);
  pointer-events: none;
  user-select: none;
}
html[data-theme="light"] .ent-step-wm { color: rgba(15, 23, 42, 0.05); }
.ent-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 10px;
  background: rgba(245, 185, 66, 0.13);
  border: 1px solid rgba(245, 185, 66, 0.28);
  color: var(--a-gold2);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 18px;
}
.ent-step-card h3 {
  font-size: 19px;
  font-weight: 900;
  color: var(--a-text);
  margin: 0 0 10px;
}
.ent-step-card p {
  font-size: 13.8px;
  line-height: 1.8;
  color: var(--a-muted);
}

/* بطاقات التسعير المؤسسية (Enterprise Pricing Cards) */
.ent-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 980px) {
  .ent-pricing-grid { grid-template-columns: 1fr; }
}
.ent-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 26px;
  padding: 34px 28px;
  background: linear-gradient(165deg, rgba(19, 27, 50, 0.85), rgba(9, 13, 26, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 22px 55px -28px rgba(0, 0, 0, 0.85);
  transition: transform 0.28s ease, border-color 0.28s ease;
}
.ent-plan-card:hover { transform: translateY(-5px); border-color: rgba(245, 185, 66, 0.38); }
.ent-plan-card.ent-featured {
  background: linear-gradient(165deg, rgba(36, 29, 14, 0.92) 0%, rgba(16, 22, 42, 0.96) 55%, rgba(9, 13, 26, 0.98) 100%);
  border: 1.5px solid rgba(245, 185, 66, 0.6);
  box-shadow: 0 32px 75px -24px rgba(245, 185, 66, 0.28), 0 0 0 1px rgba(245, 185, 66, 0.25);
}
@media (min-width: 981px) {
  .ent-plan-card.ent-featured { transform: translateY(-8px); }
  .ent-plan-card.ent-featured:hover { transform: translateY(-13px); }
}
html[data-theme="light"] .ent-plan-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 16px 40px -24px rgba(15, 23, 42, 0.12);
}
html[data-theme="light"] .ent-plan-card.ent-featured {
  background: linear-gradient(170deg, #fffbeb 0%, #ffffff 42%);
  border-color: #d97706;
}
.ent-trust-guarantees {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 26px;
  margin-top: 30px;
  padding: 16px 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 13px;
  font-weight: 800;
  color: var(--a-muted);
}
.ent-trust-guarantees span { display: inline-flex; align-items: center; gap: 7px; color: var(--a-text); }
.ent-trust-guarantees i { color: #34d399; }
html[data-theme="light"] .ent-trust-guarantees {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.08);
}

/* بطاقات قصص نجاح العملاء الموثّقة */
.ent-testi-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 24px;
  padding: 28px 26px;
  background: linear-gradient(165deg, rgba(19, 27, 50, 0.8), rgba(10, 14, 28, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.ent-testi-card:hover { transform: translateY(-4px); border-color: rgba(245, 185, 66, 0.4); }
html[data-theme="light"] .ent-testi-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.09);
  box-shadow: 0 12px 30px -18px rgba(15, 23, 42, 0.1);
}
.ent-impact-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.13);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-size: 11.5px;
  font-weight: 800;
}
html[data-theme="light"] .ent-impact-pill { color: #047857; }

/* قسم الأسئلة الشائعة المقسم لعمودين (Executive FAQ Split) */
.ent-faq-split {
  display: grid;
  grid-template-columns: minmax(300px, 34%) 1fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 980px) {
  .ent-faq-split { grid-template-columns: 1fr; }
}
.ent-faq-aside {
  border-radius: 24px;
  padding: 30px 26px;
  background: linear-gradient(155deg, rgba(24, 33, 60, 0.88), rgba(10, 14, 28, 0.96));
  border: 1px solid rgba(245, 185, 66, 0.26);
  position: sticky;
  top: 96px;
}
html[data-theme="light"] .ent-faq-aside {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 14px 36px -20px rgba(15, 23, 42, 0.12);
}

/* البنر الختامي المؤسسي (Final Full-Width Enterprise CTA) */
.ent-final-cta {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: clamp(36px, 4.5vw, 64px) clamp(22px, 4vw, 56px);
  background:
    radial-gradient(65% 95% at 85% 0%, rgba(245, 185, 66, 0.24), transparent 65%),
    radial-gradient(55% 90% at 12% 100%, rgba(34, 211, 238, 0.18), transparent 65%),
    linear-gradient(135deg, #0d152b 0%, #070b18 100%);
  border: 1.5px solid rgba(245, 185, 66, 0.38);
  box-shadow: 0 36px 85px -30px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  text-align: center;
}
html[data-theme="light"] .ent-final-cta {
  background:
    radial-gradient(65% 95% at 85% 0%, rgba(245, 185, 66, 0.22), transparent 65%),
    radial-gradient(55% 90% at 12% 100%, rgba(14, 165, 233, 0.14), transparent 65%),
    linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}
.ent-final-cta h2 { color: #ffffff !important; }
.ent-final-cta p { color: #cbd5e1 !important; }

/* الفوتر المؤسسي بـ 4 أعمدة */
.a-footer-grid-4 {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.15fr;
  gap: 36px;
}
@media (max-width: 1024px) {
  .a-footer-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .a-footer-grid-4 { grid-template-columns: 1fr; text-align: center; }
  .a-footer .a-brand { justify-content: center; }
}

/* ============================================================
   MOBILE-NATIVE CAROUSEL SLIDER (تصميم السلايدر الاحترافي المخصّص للموبايل)
   ============================================================ */
.mob-slide-counter,
.mob-zoom-pill,
.mob-slider-dock {
  display: none;
}

@media (max-width: 960px) {
  .software-slider-wrap {
    margin: 16px auto 12px !important;
    border-radius: 22px !important;
    border-width: 1px;
    box-shadow: 0 22px 55px -20px rgba(0, 0, 0, 0.85), 0 0 28px rgba(245, 185, 66, 0.1);
  }

  /* ترويسة نافذة الاستوديو المدمجة للموبايل */
  .ent-studio-bar {
    padding: 9px 14px;
  }
  .ent-studio-dots span {
    width: 9px;
    height: 9px;
  }
  .ent-studio-live {
    font-size: 11px;
  }
  .mob-slide-counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 9px;
    border-radius: 999px;
    background: rgba(245, 185, 66, 0.16);
    border: 1px solid rgba(245, 185, 66, 0.35);
    color: var(--a-gold2);
    font-family: 'Plus Jakarta Sans', monospace;
    font-size: 11px;
    font-weight: 900;
    direction: ltr;
  }

  /* شريط تبويبات أفقي أنيق قابل للسحب (Single-Row App-Store Pills) */
  .showcase-tabs-bar {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 8px !important;
    padding: 10px 12px !important;
  }
  .showcase-tabs-bar::-webkit-scrollbar {
    display: none;
  }
  .showcase-top-tab {
    flex: 0 0 auto;
    scroll-snap-align: center;
    padding: 7px 13px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    gap: 6px !important;
    justify-content: center !important;
  }
  .showcase-top-tab .tab-step-num {
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 999px;
  }

  /* ترتيب مسرح السلايدر على الموبايل: الصورة أولاً بوضوح تام ثم بطاقة المعلومات المدمجة */
  .showcase-split-stage {
    display: flex !important;
    flex-direction: column;
    padding: 12px !important;
    gap: 12px !important;
  }
  .showcase-frame-col {
    order: -1;
    width: 100%;
  }
  .showcase-monitor-bezel {
    padding: 6px !important;
    border-radius: 16px !important;
    background: linear-gradient(155deg, rgba(245, 185, 66, 0.18), rgba(15, 23, 42, 0.9)) !important;
    border: 1px solid rgba(245, 185, 66, 0.32) !important;
  }
  .showcase-monitor-bezel img {
    border-radius: 11px !important;
    max-height: 280px !important;
    width: 100% !important;
    object-fit: contain !important;
    background: #0b1120;
  }

  /* شارة التكبير العائمة الزجاجية على زاوية الصورة */
  .mob-zoom-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(8, 12, 24, 0.84);
    border: 1px solid rgba(245, 185, 66, 0.45);
    color: #fde68a;
    font-size: 11px;
    font-weight: 800;
    backdrop-filter: blur(8px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
    pointer-events: none;
  }

  /* بطاقة الشرح المدمجة والأنيقة للموبايل */
  .showcase-info-col {
    padding: 14px 13px !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.03) !important;
  }
  .showcase-meta-row {
    margin-bottom: 9px !important;
  }
  .slide-category-badge,
  .showcase-step-pill {
    font-size: 10.5px !important;
    padding: 3px 9px !important;
  }
  .slide-caption-title {
    font-size: 16px !important;
    line-height: 1.35 !important;
    margin-bottom: 6px !important;
  }
  .slide-caption-desc {
    font-size: 12.5px !important;
    line-height: 1.65 !important;
    margin-bottom: 12px !important;
  }

  /* تحويل قائمة المزايا الثلاث إلى شرائح مدمجة أنيقة بدون إطالة الشاشة */
  .showcase-feature-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-bottom: 0 !important;
  }
  .showcase-feat-item {
    padding: 6px 10px !important;
    border-radius: 10px !important;
    font-size: 11.5px !important;
    gap: 6px !important;
    flex: 1 1 auto;
  }

  /* إخفاء شريط التحكم الديسكتوب وشريط المصغرات الضخم المكرر على الموبايل */
  .showcase-ctrl-bar {
    display: none !important;
  }
  .slider-thumbs-bar {
    display: none !important;
  }

  /* شريط التنقل السفلي المخصّص للموبايل (أسهم لمس + نقاط متوهجة) */
  .mob-slider-dock {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px 13px;
    background: rgba(6, 10, 22, 0.85);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }
  html[data-theme="light"] .mob-slider-dock {
    background: #f1f5f9;
    border-top-color: rgba(15, 23, 42, 0.08);
  }
  .mob-nav-circle {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--a-text);
    display: grid;
    place-items: center;
    font-size: 13px;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
  }
  .mob-nav-circle:active {
    transform: scale(0.92);
    background: var(--a-gold);
    color: #1a1003;
    border-color: var(--a-gold);
  }
  html[data-theme="light"] .mob-nav-circle {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.14);
    color: #0f172a;
  }
  .mob-dots-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex: 1;
  }
  .mob-dot-btn {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    padding: 0;
    background: rgba(148, 163, 184, 0.38);
    cursor: pointer;
    transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease;
  }
  .mob-dot-btn.active {
    width: 26px;
    background: var(--a-grad-gold);
    box-shadow: 0 0 12px rgba(245, 185, 66, 0.65);
  }
}

/* ============================================================
   ENTERPRISE DOWNLOAD CENTER + 10s COUNTDOWN + ADSENSE SLOTS
   ============================================================ */
.dl-hero-box {
  position: relative;
  text-align: center;
  padding: clamp(28px, 4vw, 48px) 0 18px;
}
.dl-trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
  margin-top: 20px;
}
.dl-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--a-text);
}
.dl-trust-pill i { color: #34d399; }
html[data-theme="light"] .dl-trust-pill {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  color: #1e293b;
}

/* مساحات إعلانات Google AdSense الاحترافية */
.dl-ad-zone {
  width: 100%;
  margin: 22px auto;
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(16, 23, 44, 0.8), rgba(8, 12, 24, 0.92));
  border: 1px dashed rgba(245, 185, 66, 0.28);
  padding: 12px 16px 16px;
  text-align: center;
  overflow: hidden;
}
html[data-theme="light"] .dl-ad-zone {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.16);
}
.dl-ad-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--a-muted);
  margin-bottom: 10px;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
html[data-theme="light"] .dl-ad-label {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  color: #64748b;
}
.dl-ad-banner .dl-ad-ph-body {
  min-height: 78px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px;
}
.dl-ad-rect {
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.dl-ad-rect .dl-ad-ph-body {
  min-height: 215px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px;
}
.dl-ad-ph-dim {
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 13px;
  font-weight: 800;
  color: var(--a-gold2);
}
.dl-ad-ph-sub {
  font-size: 11.5px;
  color: var(--a-muted);
  max-width: 520px;
}

/* مسرح عدّاد الـ 10 ثوانٍ للتحميل المباشر */
.dl-timer-stage {
  display: none;
  margin: 0 auto 28px;
  border-radius: 26px;
  padding: clamp(20px, 2.5vw, 32px);
  background:
    radial-gradient(60% 80% at 85% 0%, rgba(245, 185, 66, 0.14), transparent 65%),
    radial-gradient(50% 80% at 10% 100%, rgba(16, 185, 129, 0.12), transparent 65%),
    linear-gradient(155deg, rgba(16, 24, 46, 0.96), rgba(8, 12, 24, 0.98));
  border: 1.5px solid rgba(245, 185, 66, 0.45);
  box-shadow: 0 30px 75px -24px rgba(0, 0, 0, 0.88), 0 0 40px rgba(245, 185, 66, 0.12);
  animation: dlStagePop 0.2s ease-out;
}
.dl-timer-stage.active {
  display: block;
}
@keyframes dlStagePop {
  from { opacity: 0.92; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
html[data-theme="light"] .dl-timer-stage {
  background: linear-gradient(155deg, #ffffff, #f8fafc);
  border-color: #d97706;
  box-shadow: 0 22px 55px -20px rgba(15, 23, 42, 0.16);
}
.dl-timer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.95fr;
  gap: 24px;
  align-items: center;
}
@media (max-width: 960px) {
  .dl-timer-grid { grid-template-columns: 1fr; }
}
.dl-ring-wrap {
  position: relative;
  width: 132px;
  height: 132px;
  flex-shrink: 0;
}
.dl-ring-svg {
  width: 132px;
  height: 132px;
  transform: rotate(-90deg);
}
.dl-ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 9;
}
html[data-theme="light"] .dl-ring-bg { stroke: rgba(15, 23, 42, 0.08); }
.dl-ring-fg {
  fill: none;
  stroke: #f5b942;
  stroke-width: 9;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.92s linear, stroke 0.3s ease;
}
.dl-ring-fg.ready { stroke: #10b981; }
.dl-ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.dl-ring-num {
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
}
html[data-theme="light"] .dl-ring-num { color: #0f172a; }
.dl-ring-unit {
  font-size: 11px;
  font-weight: 800;
  color: var(--a-muted);
  margin-top: 3px;
}

/* شبكة بطاقات البرامج للتحميل */
.dl-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
@media (max-width: 1024px) {
  .dl-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .dl-cards-grid { grid-template-columns: 1fr; }
}
.dl-prog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 26px;
  padding: 28px 24px;
  background: linear-gradient(165deg, rgba(19, 27, 50, 0.88), rgba(9, 13, 26, 0.96));
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 55px -26px rgba(0, 0, 0, 0.85);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}
.dl-prog-card.dl-hidden { display: none !important; }
.dl-prog-card:hover { transform: translateY(-5px); }
.dl-prog-card.plat-windows { border-color: rgba(245, 185, 66, 0.34); }
.dl-prog-card.plat-windows:hover { border-color: #f5b942; box-shadow: 0 28px 65px -24px rgba(245, 185, 66, 0.25); }
.dl-prog-card.plat-android { border-color: rgba(16, 185, 129, 0.34); }
.dl-prog-card.plat-android:hover { border-color: #10b981; box-shadow: 0 28px 65px -24px rgba(16, 185, 129, 0.25); }
.dl-prog-card.plat-ios { border-color: rgba(56, 189, 248, 0.34); }
.dl-prog-card.plat-ios:hover { border-color: #38bdf8; box-shadow: 0 28px 65px -24px rgba(56, 189, 248, 0.25); }
.dl-prog-card.plat-tool { border-color: rgba(168, 85, 247, 0.34); }
.dl-prog-card.plat-tool:hover { border-color: #a855f7; }
html[data-theme="light"] .dl-prog-card {
  background: #ffffff;
  box-shadow: 0 14px 36px -22px rgba(15, 23, 42, 0.14);
}

.dl-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
}
.dl-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.2px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--a-muted);
}
html[data-theme="light"] .dl-meta-chip {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.08);
  color: #475569;
}

.dl-btn-main {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 18px;
  border-radius: 14px;
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}
.dl-btn-main:hover { transform: translateY(-2px); filter: brightness(1.06); }
.dl-btn-win { background: linear-gradient(135deg, #ffe07d 0%, #f5b942 50%, #c98617 100%); color: #191003; box-shadow: 0 12px 28px -10px rgba(245, 185, 66, 0.55); }
.dl-btn-and { background: linear-gradient(135deg, #34d399 0%, #10b981 55%, #047857 100%); color: #ffffff; box-shadow: 0 12px 28px -10px rgba(16, 185, 129, 0.5); }
.dl-btn-ios { background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 55%, #1d4ed8 100%); color: #ffffff; box-shadow: 0 12px 28px -10px rgba(14, 165, 233, 0.5); }
.dl-btn-tool { background: linear-gradient(135deg, #c084fc 0%, #9333ea 100%); color: #ffffff; box-shadow: 0 12px 28px -10px rgba(168, 85, 247, 0.45); }

/* دليل التثبيت السريع 3 خطوات */
.dl-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}
@media (max-width: 900px) {
  .dl-guide-grid { grid-template-columns: 1fr; }
}
