/* ==========================================================================
   X-ESM design system — v2
   يحل محل style.css / slider.css. يتحمّل في كل الصفحات بعد الأنماط الداخلية.
   الألوان والخطوط كلها من المتغيرات في :root — غيّرها من هنا فقط.
   ========================================================================== */

:root {
  /* أسماء المتغيرات القديمة محفوظة عشان الأنماط الداخلية في الصفحات تتبع الشكل الجديد */
  --primary-color: #070e1c;
  --secondary-color: #38e8d2;
  --accent-color: #ffb454;
  --text-color: #eaf1fb;
  --text-secondary: #9db0cc;
  --card-bg: rgba(14, 27, 48, .78);
  --border-color: rgba(120, 170, 230, .18);
  --cyber-green: #3ddc97;
  --cyber-blue: #4c8dff;
  --cyber-purple: #7c8cff;
  --gradient-primary: linear-gradient(135deg, #4c8dff, #38e8d2);
  --gradient-secondary: linear-gradient(135deg, #38e8d2, #3ddc97);
  --font-primary: 'Tajawal', system-ui, sans-serif;

  /* أسماء جديدة */
  --xe-bg: #070e1c;
  --xe-bg-2: #0b1628;
  --xe-surface: #0f1d33;
  --xe-surface-2: #14263f;
  --xe-line: rgba(120, 170, 230, .16);
  --xe-line-strong: rgba(120, 170, 230, .32);
  --xe-brand: #38e8d2;
  --xe-brand-ink: #04211e;
  --xe-blue: #4c8dff;
  --xe-amber: #ffb454;
  --xe-wa: #25d366;
  --xe-display: 'Readex Pro', 'Tajawal', system-ui, sans-serif;
  --xe-radius: 14px;
  --xe-radius-sm: 9px;
  --xe-max: 1180px;
  --xe-header-h: 68px;
}

/* ---------- أساسيات ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--xe-header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-primary);
  background: var(--xe-bg);
  color: var(--text-color);
  line-height: 1.75;
  direction: rtl;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before { /* خلفية: توهج خفيف + شبكة نقاط بدل الشبكات المتحركة */
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 480px at 85% -8%, rgba(76, 141, 255, .16), transparent 70%),
    radial-gradient(700px 420px at 8% 4%, rgba(56, 232, 210, .09), transparent 70%),
    radial-gradient(rgba(150, 190, 240, .09) 1px, transparent 1px) 0 0 / 26px 26px,
    var(--xe-bg);
}
img { max-width: 100%; height: auto; }
a { color: var(--xe-brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--xe-display); line-height: 1.35; font-weight: 600; letter-spacing: 0; }
:focus-visible { outline: 2px solid var(--xe-brand); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(56, 232, 210, .28); }
.container { width: min(100% - 40px, var(--xe-max)); margin-inline: auto; padding: 0; }
.main-content { min-height: 60vh; }

.xe-skip { position: absolute; top: -60px; right: 12px; z-index: 2000; background: var(--xe-brand); color: var(--xe-brand-ink); padding: 8px 16px; border-radius: 8px; font-weight: 700; }
.xe-skip:focus { top: 10px; }
.xe-progress { position: fixed; top: 0; right: 0; height: 3px; width: 0; z-index: 1500; background: linear-gradient(90deg, var(--xe-brand), var(--xe-blue)); }

/* ---------- الهيدر ---------- */
.xe-header { position: sticky; top: 0; z-index: 1000; height: var(--xe-header-h); background: rgba(7, 14, 28, .82); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--xe-line); }
.xe-header-in { width: min(100% - 40px, var(--xe-max)); height: 100%; margin-inline: auto; display: flex; align-items: center; gap: 28px; }
.xe-logo { display: flex; align-items: center; gap: 10px; color: var(--text-color); text-decoration: none !important; flex-shrink: 0; }
.xe-logo img { width: 38px; height: 38px; border-radius: 9px; object-fit: cover; }
.xe-logo b { font-family: var(--xe-display); font-size: 1.35rem; font-weight: 700; letter-spacing: .5px; }
.xe-logo small { font-size: .72rem; color: var(--text-secondary); border-inline-start: 1px solid var(--xe-line-strong); padding-inline-start: 10px; }
.xe-nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.xe-nav > a, .xe-dd > button { color: var(--text-secondary); background: none; border: 0; font: inherit; font-weight: 500; font-size: .98rem; padding: 8px 14px; border-radius: 8px; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; text-decoration: none !important; transition: color .15s, background .15s; }
.xe-nav > a:hover, .xe-dd > button:hover, .xe-dd.open > button { color: var(--text-color); background: rgba(120, 170, 230, .1); }
.xe-nav a.active, .xe-dd.has-active > button { color: var(--xe-brand); }
.xe-dd { position: relative; }
.xe-dd > button i.fa-chevron-down { font-size: .65rem; transition: transform .2s; }
.xe-dd.open > button i.fa-chevron-down { transform: rotate(180deg); }
.xe-menu { position: absolute; top: calc(100% + 10px); inset-inline-end: -40px; width: 560px; background: var(--xe-surface); border: 1px solid var(--xe-line-strong); border-radius: var(--xe-radius); box-shadow: 0 24px 60px rgba(0, 0, 0, .5); padding: 12px; display: none; grid-template-columns: 1fr 1fr; gap: 4px; }
.xe-dd.open .xe-menu { display: grid; }
.xe-menu a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; color: var(--text-color); text-decoration: none !important; }
.xe-menu a:hover, .xe-menu a.active { background: rgba(56, 232, 210, .08); }
.xe-menu a i { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 9px; background: rgba(56, 232, 210, .1); color: var(--xe-brand); font-size: .95rem; }
.xe-menu a span { display: block; font-weight: 600; font-size: .95rem; line-height: 1.4; }
.xe-menu a em { display: block; font-style: normal; color: var(--text-secondary); font-size: .8rem; line-height: 1.45; }
.xe-menu .xe-all { grid-column: 1 / -1; border-top: 1px solid var(--xe-line); border-radius: 0 0 10px 10px; margin-top: 6px; padding-top: 12px; justify-content: space-between; align-items: center; color: var(--xe-brand); font-weight: 600; }
.xe-nav > a.xe-cta, .xe-cta { background: var(--xe-brand); color: var(--xe-brand-ink) !important; font-weight: 700; padding: 9px 18px; margin-inline-start: 8px; border-radius: 10px; text-decoration: none !important; font-size: .95rem; white-space: nowrap; transition: transform .15s, box-shadow .15s; }
body .xe-nav > a.xe-cta:hover { background: #5af0dc; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(56, 232, 210, .28); }
.xe-burger { display: none; margin-inline-start: auto; background: none; border: 1px solid var(--xe-line-strong); color: var(--text-color); width: 42px; height: 42px; border-radius: 10px; font-size: 1.1rem; cursor: pointer; }

/* ---------- عناوين الصفحات ---------- */
body .page-header { background: linear-gradient(180deg, rgba(15, 29, 51, .85), rgba(7, 14, 28, 0)); border-bottom: 1px solid var(--xe-line); padding: 54px 0 40px; text-align: start; position: relative; }
body .page-header-content { display: block; text-align: start; }
body .page-header .logo-header { display: none; }
body .page-header h1 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); margin: 0 0 14px; background: none; -webkit-text-fill-color: var(--text-color); color: var(--text-color); text-shadow: none; max-width: 24ch; }
body .page-header p { color: var(--text-secondary); max-width: 70ch; }
body .breadcrumb { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; color: var(--text-secondary); font-size: .9rem; }
body .breadcrumb a { color: var(--text-secondary); }
body .breadcrumb a:hover { color: var(--xe-brand); }
body .breadcrumb i { font-size: .6rem; opacity: .6; }
body .breadcrumb span { color: var(--text-color); }

body .page-header::before, body .page-header::after { display: none !important; content: none !important; }
body .page-header { clip-path: none; }
body .breadcrumb { justify-content: flex-start; }
body .cyber-btn::before, body .cyber-btn::after, body .modern-btn::before, body .modern-btn::after, body .service-box-btn::before, body .service-box-btn::after { display: none !important; content: none !important; }

/* ---------- المحتوى ---------- */
body .page-content { padding: 44px 0; background: none; }
body .page-container, body .privacy-content { max-width: 940px; margin-inline: auto; }
body .page-content h2 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); margin: 2.4rem 0 1rem; color: var(--text-color); display: flex; align-items: center; gap: 12px; padding-inline-start: 16px; position: relative; }
body .page-content h2::before { content: ''; position: absolute; inset-inline-start: 0; top: 18%; bottom: 18%; width: 4px; border-radius: 3px; background: var(--xe-brand); }
body .page-content h3 { font-size: 1.15rem; color: var(--text-color); margin: 1.6rem 0 .6rem; }
body .page-content p, body .page-content li { color: #c3d1e6; }
body .page-content ul { padding-inline-start: 1.3rem; }
body .page-content strong { color: var(--text-color); }

body .feature-box, body .commitment-box, body .data-card, body .usage-card, body .protection-item, body .right-card, body .use-case-item, body .benefit-item, body .service-card, body .contact-box {
  background: var(--xe-surface); border: 1px solid var(--xe-line); border-inline-start: 3px solid var(--xe-brand); border-radius: var(--xe-radius); padding: 22px 24px; margin: 18px 0; box-shadow: none; transition: border-color .2s, transform .2s; }
body .feature-box:hover, body .service-card:hover { border-color: var(--xe-line-strong); border-inline-start-color: var(--xe-brand); transform: translateY(-2px); }
body .feature-box h3, body .feature-box h4 { margin-top: 0; }
body .highlight { color: var(--xe-brand); background: none; font-weight: 600; }
body td.highlight { background: rgba(56, 232, 210, .08); }

body .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 28px 0; }
body .stat-item { background: var(--xe-surface); border: 1px solid var(--xe-line); border-radius: var(--xe-radius); padding: 22px; text-align: center; }
body .stat-number { font-family: var(--xe-display); font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700; color: var(--xe-brand); line-height: 1.15; margin-bottom: 6px; }
body .stat-text { color: var(--text-secondary); font-size: 1rem; }

body .video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin: 24px 0; }
body .video-item { background: var(--xe-surface); border: 1px solid var(--xe-line); border-radius: var(--xe-radius); overflow: hidden; transition: border-color .2s, transform .2s; }
body .video-item:hover { transform: translateY(-3px); border-color: var(--xe-line-strong); box-shadow: none; }
body .video-player-container { border: 0; border-radius: 0; box-shadow: none; margin: 0; }
body .video-info { background: var(--xe-surface); border: 0; border-top: 1px solid var(--xe-line); padding: 16px 18px; }
body .video-title { color: var(--text-color); font-size: 1.05rem; }
body .video-desc { color: var(--text-secondary); }

body .comparison-table, body .data-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--xe-surface); border: 1px solid var(--xe-line); border-radius: var(--xe-radius); overflow: hidden; margin: 20px 0; }
body .comparison-table th, body .data-table th { background: var(--xe-surface-2); color: var(--text-color); font-weight: 600; text-align: start; padding: 14px 16px; border-bottom: 1px solid var(--xe-line); }
body .comparison-table td, body .data-table td { padding: 13px 16px; border-bottom: 1px solid var(--xe-line); color: #c3d1e6; }
body .comparison-table tr:last-child td, body .data-table tr:last-child td { border-bottom: 0; }
body .page-content > .container > div:has(> table), body .privacy-content:has(table) { overflow-x: auto; }

/* ---------- الأزرار ---------- */
body .cyber-btn, body .modern-btn, body .service-box-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font: inherit; font-weight: 700; font-size: 1rem; padding: 12px 26px; border-radius: 11px; border: 1px solid var(--xe-brand); background: var(--xe-brand); color: var(--xe-brand-ink) !important; text-decoration: none !important; cursor: pointer; box-shadow: none; text-shadow: none; transition: transform .15s, box-shadow .15s, background .15s; animation: none; }
body .cyber-btn:hover, body .modern-btn:hover, body .service-box-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(56, 232, 210, .26); background: #5af0dc; }
body .cyber-btn.secondary, body .cyber-btn.outline { background: transparent; color: var(--text-color) !important; border-color: var(--xe-line-strong); }
body .cyber-btn.secondary:hover, body .cyber-btn.outline:hover { background: rgba(120, 170, 230, .1); box-shadow: none; }
body .cyber-btn.glowing { animation: none; }
body .btn-effect { display: none; }

body .cta-section { text-align: center !important; margin: 56px 0 8px !important; padding: 44px 28px !important; border-radius: 20px !important; border: 1px solid var(--xe-line-strong) !important; background: radial-gradient(600px 220px at 50% 0, rgba(56, 232, 210, .14), transparent 70%), var(--xe-surface) !important; }
body .cta-section h2 { color: var(--text-color) !important; display: block; padding: 0; }
body .cta-section h2::before { display: none; }
body .cta-section p { color: var(--text-secondary) !important; }
body .cta-section .cyber-btn { background: var(--xe-brand) !important; color: var(--xe-brand-ink) !important; border: 1px solid var(--xe-brand) !important; border-radius: 11px !important; padding: 13px 30px !important; font-size: 1.05rem !important; }

/* ---------- الرئيسية ---------- */
body .hero-section { padding: clamp(60px, 9vw, 120px) 0 clamp(50px, 7vw, 90px); position: relative; overflow: hidden; background: none; }
body .hero-section .cyber-grid { opacity: .35; }
body .hero-section .container { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; }
body .cyber-title { font-size: clamp(2.2rem, 5.4vw, 4rem); font-weight: 700; line-height: 1.2; text-shadow: none; letter-spacing: 0; }
body .cyber-gradient { background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
body .cyber-subtitle { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--text-secondary); max-width: 52ch; margin: 18px 0 30px; }
body .cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
body .hero-visual { display: flex; justify-content: center; align-items: center; min-height: 260px; }
body .cube-face { border-color: rgba(56, 232, 210, .55); background: rgba(56, 232, 210, .06) !important; }
body .section-title { font-size: clamp(1.6rem, 3vw, 2.3rem); text-align: center; margin: 0 0 8px; }
body .cyber-underline { color: var(--xe-brand); border: 0; text-decoration: none; }
body .section-subtitle { text-align: center; color: var(--text-secondary); max-width: 60ch; margin: 0 auto 36px; }
body .our-services-section, body .reviews-section { padding: 64px 0; background: none; }
body .our-services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
body .service-box { background: var(--xe-surface); border: 1px solid var(--xe-line); border-radius: var(--xe-radius); padding: 24px; display: flex; flex-direction: column; gap: 6px; text-align: start; box-shadow: none; transition: border-color .2s, transform .2s; }
body .service-box:hover { transform: translateY(-4px); border-color: var(--xe-brand); box-shadow: none; }
body .our-services-grid .service-box .service-box-icon, body .service-box-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: rgba(56, 232, 210, .1) !important; color: var(--xe-brand) !important; font-size: 1.2rem; margin-bottom: 8px; box-shadow: none !important; }
body .service-box h3 { margin: 0; font-size: 1.15rem; }
body .service-box p { color: var(--text-secondary); margin: 0 0 12px; flex: 1; }
body .service-box-btn { align-self: flex-start; padding: 8px 16px; font-size: .9rem; background: transparent; color: var(--xe-brand) !important; border-color: var(--xe-line-strong); }
body .service-box-btn:hover { background: rgba(56, 232, 210, .1); box-shadow: none; transform: none; }
body .contact-cta { text-align: center; padding: 56px 20px; margin: 20px auto 0; width: min(100% - 40px, var(--xe-max)); border: 1px solid var(--xe-line-strong); border-radius: 22px; background: radial-gradient(600px 240px at 50% 0, rgba(76, 141, 255, .18), transparent 70%), var(--xe-surface); }

/* ---------- خدمات ذات صلة + شريط تواصل (يضيفها main js) ---------- */
.xe-related { margin: 56px 0 8px; }
.xe-related > h2 { margin: 0 0 18px !important; padding: 0 !important; display: block !important; }
.xe-related > h2::before { display: none !important; }
.xe-rel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.xe-rel-card { display: flex; gap: 14px; align-items: flex-start; background: var(--xe-surface); border: 1px solid var(--xe-line); border-radius: var(--xe-radius); padding: 18px; color: var(--text-color); text-decoration: none !important; transition: border-color .2s, transform .2s; }
.xe-rel-card:hover { border-color: var(--xe-brand); transform: translateY(-3px); }
.xe-rel-card i { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; border-radius: 10px; background: rgba(56, 232, 210, .1); color: var(--xe-brand); }
.xe-rel-card b { display: block; font-family: var(--xe-display); font-weight: 600; margin-bottom: 2px; }
.xe-rel-card span { color: var(--text-secondary); font-size: .88rem; line-height: 1.5; display: block; }
.xe-band { width: min(100% - 40px, var(--xe-max)); margin: 40px auto 0; padding: 38px 28px; text-align: center; border: 1px solid var(--xe-line-strong); border-radius: 20px; background: radial-gradient(600px 220px at 50% 0, rgba(56, 232, 210, .13), transparent 70%), var(--xe-surface); }
.xe-band h2 { margin: 0 0 8px; font-size: 1.5rem; }
.xe-band p { margin: 0 0 20px; color: var(--text-secondary); }
.xe-band .xe-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* صفحة كل الخدمات */
.xe-svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; margin-top: 12px; }
.xe-svc-card { display: flex; flex-direction: column; gap: 8px; background: var(--xe-surface); border: 1px solid var(--xe-line); border-radius: var(--xe-radius); padding: 24px; color: var(--text-color); text-decoration: none !important; transition: border-color .2s, transform .2s; }
.xe-svc-card:hover { border-color: var(--xe-brand); transform: translateY(-4px); }
.xe-svc-card .ic { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: rgba(56, 232, 210, .1); color: var(--xe-brand); font-size: 1.2rem; }
.xe-svc-card h3 { margin: 6px 0 0; font-size: 1.15rem; }
.xe-svc-card p { margin: 0; color: var(--text-secondary); flex: 1; }
.xe-svc-card .go { color: var(--xe-brand); font-weight: 600; font-size: .92rem; }
.xe-group-title { margin: 36px 0 4px; font-size: 1.05rem; color: var(--text-secondary); font-weight: 500; }

/* ---------- نموذج التواصل ---------- */
body input[type=text], body input[type=email], body input[type=tel], body select, body textarea { width: 100%; background: var(--xe-bg-2) !important; border: 1px solid var(--xe-line-strong) !important; color: var(--text-color) !important; border-radius: var(--xe-radius-sm) !important; padding: 12px 14px !important; font: inherit; }
body input:focus, body select:focus, body textarea:focus { outline: 2px solid var(--xe-brand); outline-offset: 1px; border-color: var(--xe-brand) !important; }
body label { color: var(--text-secondary); }
.xe-form-note { margin-top: 14px; padding: 14px 16px; border-radius: var(--xe-radius-sm); background: rgba(56, 232, 210, .08); border: 1px solid rgba(56, 232, 210, .35); color: var(--text-color); }

/* ---------- الفوتر ---------- */
.xe-footer { margin-top: 72px; border-top: 1px solid var(--xe-line); background: var(--xe-bg-2); }
.xe-footer-in { width: min(100% - 40px, var(--xe-max)); margin-inline: auto; padding: 48px 0 28px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.xe-footer h4 { margin: 0 0 14px; font-size: 1rem; color: var(--text-color); }
.xe-footer p { color: var(--text-secondary); margin: 10px 0 0; font-size: .95rem; }
.xe-footer a { color: var(--text-secondary); }
.xe-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.xe-footer ul a { text-decoration: none; font-size: .95rem; }
.xe-footer ul a:hover { color: var(--xe-brand); text-decoration: none; }
.xe-contact li { display: flex; gap: 10px; align-items: center; color: var(--text-secondary); font-size: .95rem; }
.xe-contact i { color: var(--xe-brand); width: 18px; text-align: center; }
.xe-contact button { background: none; border: 1px solid var(--xe-line-strong); color: var(--text-secondary); border-radius: 7px; padding: 2px 8px; cursor: pointer; font: inherit; font-size: .8rem; }
.xe-contact button:hover { color: var(--xe-brand); border-color: var(--xe-brand); }
.xe-bottom { width: min(100% - 40px, var(--xe-max)); margin-inline: auto; padding: 18px 0 26px; border-top: 1px solid var(--xe-line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--text-secondary); font-size: .88rem; }
.xe-bottom a { color: var(--text-secondary); margin-inline-start: 16px; }

/* ---------- عناصر عائمة ---------- */
.xe-float { position: fixed; inset-inline-start: 18px; bottom: 18px; z-index: 900; display: flex; flex-direction: column; gap: 10px; }
.xe-float a, .xe-float button { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; border: 0; cursor: pointer; font-size: 1.35rem; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); text-decoration: none !important; }
.xe-wa { background: var(--xe-wa); color: #fff; }
.xe-top { background: var(--xe-surface-2); color: var(--text-color); font-size: 1rem !important; border: 1px solid var(--xe-line-strong) !important; opacity: 0; pointer-events: none; transition: opacity .2s; }
.xe-top.show { opacity: 1; pointer-events: auto; }

/* ---------- موبايل ---------- */
@media (max-width: 960px) {
  .xe-burger { display: block; }
  .xe-header-in { gap: 12px; }
  .xe-nav { position: fixed; inset: var(--xe-header-h) 0 0 0; background: var(--xe-bg); flex-direction: column; align-items: stretch; gap: 4px; padding: 18px 20px 40px; overflow-y: auto; display: none; margin: 0; }
  .xe-nav.open { display: flex; }
  .xe-nav > a, .xe-dd > button { font-size: 1.05rem; padding: 14px 12px; border-bottom: 1px solid var(--xe-line); border-radius: 0; width: 100%; justify-content: space-between; }
  .xe-menu { position: static; width: 100%; grid-template-columns: 1fr; box-shadow: none; border: 0; background: transparent; padding: 6px 0; }
  .xe-cta { text-align: center; padding: 14px; margin-top: 12px; }
  body .hero-section .container { grid-template-columns: 1fr; text-align: center; }
  body .cta-buttons { justify-content: center; }
  body .cyber-subtitle { margin-inline: auto; }
  .xe-footer-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .xe-logo small { display: none; }
  .xe-footer-in { grid-template-columns: 1fr; gap: 28px; }
  body .page-header { padding: 38px 0 28px; }
  body .page-content { padding: 30px 0; }
  .xe-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .xe-header, .xe-footer, .xe-float, .xe-band, .xe-related, .xe-progress { display: none !important; }
  body { background: #fff; color: #000; }
  body::before { display: none; }
}

/* ---------- صفحات الخدمات المنشورة من لوحة التحكم ---------- */
.xe-cover { margin: 0 0 28px; }
.xe-cover img { width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--xe-radius); border: 1px solid var(--xe-line); display: block; }
.xe-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 16px 0 8px; }
.xe-gallery a { display: block; border-radius: var(--xe-radius-sm); overflow: hidden; border: 1px solid var(--xe-line); }
.xe-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .25s; }
.xe-gallery a:hover img { transform: scale(1.04); }
.xe-body p { margin: 0 0 1.1rem; }
.xe-body ul { margin: 0 0 1.2rem; }
.xe-body a { text-decoration: underline; text-underline-offset: 3px; }
.xe-menu { max-height: calc(100vh - var(--xe-header-h) - 40px); overflow-y: auto; }

/* X-ESM UI refresh — November 2026 */
:root { --xe-bg:#080d1a; --xe-bg-2:#101a2e; --xe-surface:#121f35; --xe-surface-2:#1a2b46; --xe-brand:#5eead4; --xe-blue:#76a8ff; --xe-line:rgba(160,190,240,.17); --xe-radius:18px; --xe-header-h:74px; }
body { line-height:1.8; }
body::before { background:radial-gradient(800px 460px at 85% 0%,rgba(83,124,255,.13),transparent 75%),radial-gradient(650px 420px at 0% 25%,rgba(45,212,191,.07),transparent 75%),#080d1a; }
.xe-header { background:rgba(8,13,26,.94); border-bottom-color:rgba(160,190,240,.14); }
.xe-header-in { gap:20px; }
.xe-logo img { width:44px;height:44px;object-fit:contain;background:#3b6ec7;padding:3px;border-radius:12px; }
.xe-nav > a,.xe-dd > button { font-weight:600; }
.xe-menu { max-height:min(70vh,620px);overflow-y:auto;overscroll-behavior:contain; }
.xe-cta { box-shadow:0 7px 22px rgba(45,212,191,.15); }
:is(a,button,input,textarea,select):focus-visible { outline:3px solid #5eead4;outline-offset:3px; }
:is(button,a) { -webkit-tap-highlight-color:transparent; }
:is(.service-card,.xe-card,.feature-card,.pricing-card) { transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease; }
@media (hover:hover) { :is(.service-card,.xe-card,.feature-card,.pricing-card):hover { transform:translateY(-4px);box-shadow:0 18px 45px rgba(0,0,0,.2); } }
@media(max-width:600px) { .container,.xe-header-in { width:min(100% - 28px,var(--xe-max)); } .xe-logo small { display:none; } .xe-logo b { font-size:1.18rem; } body .page-header { padding:38px 0 28px; } .xe-menu { max-height:55vh; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important; } }

/* X-ESM 2026 — premium dark site-wide visual system */
:root{--primary-color:#031226;--secondary-color:#00d9f4;--accent-color:#38aaff;--text-color:#f2f7ff;--text-secondary:#b9c9de;--card-bg:#0b2037;--border-color:#174568;--cyber-blue:#118cff;--cyber-purple:#7c5cff;--gradient-primary:linear-gradient(120deg,#00d8f2,#148eff);--xe-bg:#031226;--xe-bg-2:#06182c;--xe-surface:#0b2037;--xe-surface-2:#112d49;--xe-line:rgba(43,146,216,.25);--xe-line-strong:rgba(40,174,234,.45);--xe-brand:#00d9f4;--xe-blue:#159cff;--xe-brand-ink:#031226;--xe-radius:18px;--xe-max:1390px;--xe-header-h:82px}
body{background:#031226;color:#f2f7ff}
body::before{background:radial-gradient(850px 550px at 88% 10%,rgba(0,134,255,.13),transparent 75%),radial-gradient(700px 500px at 5% 22%,rgba(0,221,242,.08),transparent 75%),#031226}
.xe-header{background:rgba(2,14,29,.96);border-bottom:1px solid #133451}
.xe-header-in{width:min(100% - 44px,1390px)}
.xe-logo b{font-size:1.7rem;font-weight:800}.xe-logo img{width:49px;height:49px;object-fit:contain}
.xe-nav>a,.xe-dd>button{color:#edf5ff;font-weight:700}.xe-nav>a.active{background:linear-gradient(100deg,#063763,#0a4e87);color:#04e1ff;border-radius:24px}
.xe-nav>a.xe-cta{background:#02d6f1;color:#021827!important;border-radius:12px}
.xe-menu{background:#081d33;border-color:#195579}
.xe-footer{background:#06172a!important;border-top:1px solid #174265}
.xe-wa{box-shadow:0 8px 35px rgba(15,220,105,.25)}
.page-header,.service-hero,.services-hero{background:linear-gradient(125deg,#092944,#041429)!important;border-bottom:1px solid #17476c}
.page-header h1,.service-hero h1,.services-hero h1{color:#f5f9ff}
.service-box,.service-card,.feature-card,.review-card,.contact-card,.info-card,.pricing-card,.faq-item,.card{background:linear-gradient(150deg,rgba(16,43,72,.96),rgba(5,21,39,.96))!important;border:1px solid rgba(45,159,222,.32)!important;border-radius:20px!important;box-shadow:0 14px 35px rgba(0,0,0,.14)}
.service-box:hover,.service-card:hover,.feature-card:hover{border-color:#00d9f4!important;box-shadow:0 18px 45px rgba(0,198,242,.13)}
.cyber-btn,.service-box-btn,.btn-primary{border-radius:12px!important}
input,textarea,select{max-width:100%;color-scheme:dark}
@media(max-width:900px){:root{--xe-header-h:68px}.xe-logo b{font-size:1.35rem}.xe-header-in{width:calc(100% - 28px)}}
@media(max-width:600px){.container{width:calc(100% - 30px)}h1{overflow-wrap:anywhere}.xe-logo img{width:40px;height:40px}}
/* New home */
.xp-hero{padding:60px 0 28px;background:radial-gradient(650px 350px at 20% 50%,rgba(0,137,255,.13),transparent 80%)}
.xp-hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:center;min-height:390px}
.xp-eyebrow{display:inline-flex;align-items:center;gap:9px;color:#00e3f7;background:#08243b;border:1px solid #1578a1;border-radius:40px;padding:8px 18px;font-weight:800;margin-bottom:18px}
.xp-hero h1{font-size:clamp(2rem,3.5vw,3.7rem);line-height:1.35;letter-spacing:-.03em;font-weight:800;margin:0 0 16px}.xp-hero h1 span{color:#00dff5;display:block}
.xp-lead{font-size:clamp(1rem,1.35vw,1.23rem);color:#cbd8e9;line-height:1.95;max-width:640px}
.xp-actions{display:flex;gap:16px;flex-wrap:wrap;margin-top:26px}
.xp-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:14px 27px;border-radius:12px;font-weight:800;font-size:1.05rem;text-decoration:none!important;transition:transform .2s,box-shadow .2s}
.xp-button:hover{transform:translateY(-3px)}.xp-button.primary{background:#00d7f3;color:#021728}.xp-button.outline{border:1.5px solid #00d7f3;color:#f7fbff;background:#031628}
.xp-art{position:relative;min-height:380px;display:grid;place-items:center;isolation:isolate}.xp-art:before{content:"";position:absolute;width:90%;aspect-ratio:1;border:2px solid rgba(0,202,255,.28);border-radius:50%;transform:rotateX(65deg);box-shadow:0 0 45px rgba(0,190,255,.4);z-index:-1}.xp-art img{max-height:390px;width:100%;object-fit:contain;filter:drop-shadow(0 16px 30px rgba(0,166,255,.25))}
.xp-stats{display:grid;grid-template-columns:repeat(4,1fr);margin-top:30px;background:linear-gradient(120deg,#0a2037,#08192c);border:1px solid #1c476b;border-radius:18px;overflow:hidden}.xp-stat{display:flex;align-items:center;justify-content:center;gap:14px;padding:20px 10px;border-inline-end:1px solid #234867}.xp-stat:last-child{border:0}.xp-stat i{font-size:2rem;color:#199eff}.xp-stat strong{display:block;font-size:1.4rem;line-height:1.2}.xp-stat small{color:#d0ddec}
.xp-services{padding:55px 0 85px}.xp-section-heading{text-align:center;margin-bottom:32px}.xp-section-heading span{display:inline-block;color:#cfe5f7;border:1px solid #1c5277;background:#0c2943;border-radius:40px;padding:5px 22px;margin-bottom:10px}.xp-section-heading h2{font-size:clamp(1.6rem,2.4vw,2.5rem)}
.xp-service-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:17px}.xp-card{background:linear-gradient(160deg,#0b2b47,#071a30);border:1px solid #17628c;border-radius:18px;padding:26px 17px;text-align:center;display:flex;flex-direction:column;align-items:center;min-height:250px;transition:transform .2s,border-color .2s}.xp-card:hover{transform:translateY(-5px);border-color:#02d8f4}.xp-card i{font-size:2.1rem;color:#03d6f1;margin-bottom:20px}.xp-card:nth-child(2) i{color:#199fff}.xp-card:nth-child(3) i{color:#29dca0}.xp-card:nth-child(4) i{color:#ff9c53}.xp-card:nth-child(5) i{color:#a77aff}.xp-card h3{font-size:1.18rem;margin-bottom:10px}.xp-card p{color:#c9d7e7;font-size:.94rem;line-height:1.7;flex:1}.xp-card a{border:1px solid #1ba8d5;border-radius:10px;padding:8px 16px;color:#fff;text-decoration:none!important;font-weight:700}
@media(max-width:1050px){.xp-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.xp-hero-grid{gap:12px}.xp-art img{max-height:320px}}
@media(max-width:720px){.xp-hero{padding:35px 0 20px}.xp-hero-grid{grid-template-columns:1fr}.xp-art{min-height:230px;grid-row:2}.xp-art img{max-height:265px}.xp-stats{grid-template-columns:repeat(2,1fr)}.xp-stat:nth-child(2){border-inline-end:0}.xp-stat:nth-child(-n+2){border-bottom:1px solid #234867}.xp-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.xp-actions .xp-button{flex:1}}
@media(max-width:420px){.xp-service-grid{grid-template-columns:1fr}.xp-actions{flex-direction:column}.xp-stat{padding:14px 5px;gap:8px}.xp-stat i{font-size:1.5rem}.xp-stat strong{font-size:1.1rem}}
@media(prefers-reduced-motion:reduce){.xp-card,.xp-button{transition:none}}
