/* فاتورة — موقع تعريفي (RTL) */

/* Self-hosted Tajawal (latin + arabic). Weight 600 maps to Medium 500 files — Tajawal has no 600 face. */
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/tajawal-400-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/tajawal-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/tajawal-500-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/tajawal-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/tajawal-500-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/tajawal-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/tajawal-700-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/tajawal-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../assets/fonts/tajawal-800-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../assets/fonts/tajawal-800-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../assets/fonts/tajawal-900-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../assets/fonts/tajawal-900-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f6f9fc;
  --surface: #ffffff;
  --text: #142032;
  --muted: #5a6b7d;
  --primary: #0d3b66;
  --primary-soft: #e4eef8;
  --accent: #1e6bb8;
  --tag-bg: #eef4fb;
  --tag-border: #c5d6eb;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(13, 59, 102, 0.08);
  --font: "Tajawal", "Segoe UI", system-ui, sans-serif;
}

[data-theme="dark"] {
  --bg: #0c1219;
  --surface: #151d28;
  --text: #e8eef5;
  --muted: #9aacbd;
  --primary: #7eb8ea;
  --primary-soft: #1a2838;
  --accent: #5a9fd4;
  --tag-bg: #1a2838;
  --tag-border: #2d3f56;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1.05rem;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.skip {
  position: absolute;
  inset-inline-start: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip:focus {
  position: fixed;
  inset-inline-start: 12px;
  top: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  background: var(--primary);
  color: #fff;
  z-index: 9999;
  border-radius: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--primary) 12%, transparent);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--primary);
  text-decoration: none;
}
.brand:hover {
  text-decoration: none;
  opacity: 0.9;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: var(--shadow);
}
.brand-logo-wrap {
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: block;
}

.brand-logo {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

.brand-logo-wrap > picture.brand-logo {
  margin: 0;
  padding: 0;
}

.brand-logo-wrap > picture.brand-logo img {
  width: 42px;
  height: 42px;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

.brand-logo--dark {
  display: none;
}

html[data-theme="dark"] .brand-logo--light {
  display: none;
}

html[data-theme="dark"] .brand-logo--dark {
  display: block;
}

body.sectors-page .brand-logo--light {
  display: none;
}

body.sectors-page .brand-logo--dark {
  display: block;
}

html[data-theme="light"] body.sectors-page .brand-logo--light {
  display: block;
}

html[data-theme="light"] body.sectors-page .brand-logo--dark {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 10px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}
.nav-links a:hover {
  background: var(--primary-soft);
  text-decoration: none;
}

.btn-theme {
  border: 1px solid var(--tag-border);
  background: var(--surface);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}
.btn-theme:hover {
  background: var(--primary-soft);
}

/* شريط علوي: على الموبايل القائمة تُفتح من زر — بدل سطور كثيرة تغطي نصف الشاشة */
.nav-toggle {
  display: none;
}

@media (max-width: 900px) {
  .header-inner {
    position: relative;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 16px;
  }

  .brand {
    font-size: 1.2rem;
    min-width: 0;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .brand-logo-wrap,
  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .brand-logo-wrap > picture.brand-logo img {
    width: 38px;
    height: 38px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    border: 1px solid var(--tag-border);
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    font-size: 1.35rem;
    line-height: 1;
    padding: 0;
  }

  .nav-toggle:hover {
    background: var(--primary-soft);
  }

  .nav-links {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 2px;
    padding: 10px 16px 14px;
    max-height: min(70vh, 420px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: color-mix(in srgb, var(--surface) 96%, transparent);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid color-mix(in srgb, var(--primary) 14%, transparent);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    z-index: 150;
  }

  [data-theme="dark"] .nav-links {
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
  }

  .site-header.is-nav-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 12px 14px;
  }

  .nav-links .btn-theme {
    margin-top: 6px;
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 901px) {
  .nav-toggle {
    display: none !important;
  }
}

.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 20px 32px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 4vw, 2.45rem);
  line-height: 1.25;
  font-weight: 800;
  color: var(--primary);
}

.hero-lead {
  max-width: 640px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #164a7a);
  color: #fff;
  box-shadow: 0 8px 24px rgba(13, 59, 102, 0.25);
}
.btn-ghost {
  background: var(--surface);
  color: var(--primary);
  border: 2px solid color-mix(in srgb, var(--primary) 35%, transparent);
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 20px 56px;
}

.section-head {
  margin-bottom: 28px;
}
.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 720px;
}

.sector-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid color-mix(in srgb, var(--primary) 8%, transparent);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
}

.card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--tag-bg);
  border: 1px solid var(--tag-border);
  color: var(--primary);
}

.pill-note {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--primary-soft);
  color: var(--text);
  font-size: 0.95rem;
  border: 1px solid var(--tag-border);
}

.site-footer-wrap {
  margin-top: 48px;
}

.site-footer {
  margin-top: 40px;
  padding: 36px 20px;
  background: linear-gradient(180deg, var(--surface), var(--primary-soft));
  border-top: 1px solid var(--tag-border);
  text-align: center;
}

.site-footer h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  color: var(--primary);
}
.site-footer p {
  margin: 0 0 20px;
  color: var(--muted);
}

/* ——— CTA احترافي (تواصل) ——— */
.cta-pro {
  position: relative;
  padding: 56px 20px 48px;
  overflow: hidden;
  text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(30, 107, 184, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 80% 100%, rgba(184, 134, 11, 0.12), transparent 50%),
    linear-gradient(180deg, #0a0e14 0%, #06080c 100%);
}

.cta-pro__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 30% 20%, rgba(56, 189, 248, 0.15), transparent 45%);
}

.cta-pro__inner {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding: 36px 28px 32px;
  border-radius: 22px;
  background: rgba(18, 22, 30, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.cta-pro__title {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  color: #fafafa;
  letter-spacing: -0.02em;
}

.cta-pro__lead {
  margin: 0 0 28px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #a8b0bd;
}

.cta-pro__lead strong {
  color: #e2e8f0;
  font-weight: 800;
}

.cta-pro__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 14px;
}

.cta-pro__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  border: none;
  cursor: pointer;
  min-height: 52px;
}
.cta-pro__btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
  filter: brightness(1.05);
}

.cta-pro__btn--wa {
  background: linear-gradient(180deg, #2fe066, #1fa855);
  color: #fff;
  box-shadow: 0 10px 32px rgba(31, 168, 85, 0.45);
  padding-inline: 26px;
}

.cta-pro__btn--mail {
  background: rgba(45, 52, 64, 0.95);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  word-break: break-all;
}

.cta-pro__wa-icon {
  flex-shrink: 0;
}

.site-footer-bottom {
  padding: 20px;
  text-align: center;
  background: #06080c;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer-bottom .footer-meta {
  margin: 0;
  color: #6b7280;
  font-size: 0.88rem;
}

.cta-pro__back {
  margin: 24px 0 0;
  font-size: 0.95rem;
}
.cta-pro__back-link {
  color: #7dd3fc;
  font-weight: 600;
  text-decoration: none;
}
.cta-pro__back-link:hover {
  text-decoration: underline;
}

html[data-theme="light"] .cta-pro {
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(30, 107, 184, 0.12), transparent 55%),
    linear-gradient(180deg, #e8eef6 0%, #dce6f2 100%);
}
html[data-theme="light"] .cta-pro__inner {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(13, 59, 102, 0.12);
  box-shadow: 0 20px 60px rgba(13, 59, 102, 0.12);
}
html[data-theme="light"] .cta-pro__title {
  color: #0d3b66;
}
html[data-theme="light"] .cta-pro__lead {
  color: #5a6b7d;
}
html[data-theme="light"] .cta-pro__lead strong {
  color: #142032;
}
html[data-theme="light"] .site-footer-bottom {
  background: #dce6f2;
  border-top-color: rgba(13, 59, 102, 0.1);
}
html[data-theme="light"] .site-footer-bottom .footer-meta {
  color: #5a6b7d;
}

body.sectors-page .sectors-footer-wrap .cta-pro {
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(56, 189, 248, 0.12), transparent 50%),
    linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
}
body.sectors-page .site-footer-bottom--sectors {
  background: #050505;
}

html[data-theme="light"] body.sectors-page .site-footer-bottom--sectors {
  background: var(--primary-soft);
  border-top-color: var(--tag-border);
}

.footer-meta {
  font-size: 0.88rem;
  color: var(--muted);
}

.disclaimer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px 32px;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 520px) {
  .hero {
    padding-top: 32px;
  }
}

/* ——— صفحة الأنشطة (وضع داكن افتراضي، يُفتح الوضع الفاتح بزر الثيم) ——— */
body.sectors-page {
  --bg: #0a0a0a;
  --surface: #141414;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --primary: #fafafa;
  --primary-soft: #1c1c1e;
  --accent: #38bdf8;
  --tag-bg: #27272a;
  --tag-border: #3f3f46;
  --shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

html[data-theme="light"] body.sectors-page {
  --bg: #f6f9fc;
  --surface: #ffffff;
  --text: #142032;
  --muted: #5a6b7d;
  --primary: #0d3b66;
  --primary-soft: #e4eef8;
  --accent: #1e6bb8;
  --tag-bg: #eef4fb;
  --tag-border: #c5d6eb;
  --shadow: 0 12px 40px rgba(13, 59, 102, 0.08);
}

body.sectors-page {
  background: var(--bg);
  color: var(--text);
}

body.sectors-page .sectors-header {
  background: rgba(10, 10, 10, 0.85);
  border-bottom-color: #2a2a2a;
}

html[data-theme="light"] body.sectors-page .sectors-header {
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border-bottom-color: color-mix(in srgb, var(--primary) 12%, transparent);
}

body.sectors-page .sectors-brand {
  color: var(--text);
}
body.sectors-page .sectors-brand .brand-mark {
  background: linear-gradient(135deg, #1e3a5f, #0ea5e9);
}

body.sectors-page .sectors-nav a {
  color: var(--muted);
}
body.sectors-page .sectors-nav a:hover {
  color: var(--text);
  background: var(--primary-soft);
}

body.sectors-page .sectors-theme {
  background: var(--surface);
  border-color: var(--tag-border);
  color: var(--text);
}

body.sectors-page .sectors-hero .sectors-badge {
  background: var(--primary-soft);
  color: var(--accent);
}

body.sectors-page .sectors-hero__erp-line {
  margin: 0 0 14px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent) 85%, var(--muted));
}

body.sectors-page .sectors-hero h1 {
  color: var(--text);
}

body.sectors-page .sectors-lead {
  color: var(--muted);
}

body.sectors-page .sectors-btn-primary {
  background: linear-gradient(135deg, #1e3a5f, #0369a1);
  box-shadow: 0 8px 28px rgba(3, 105, 161, 0.35);
}

body.sectors-page .sectors-btn-ghost {
  background: var(--surface);
  color: var(--accent);
  border-color: var(--tag-border);
}

body.sectors-page .sectors-section .section-head h2 {
  color: var(--text);
}

body.sectors-page .section-count {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--muted);
}

body.sectors-page .sectors-card {
  background: var(--surface);
  border: 1px solid #2a2a2a;
  box-shadow: var(--shadow);
}

html[data-theme="light"] body.sectors-page .sectors-card {
  border: 1px solid color-mix(in srgb, var(--primary) 8%, transparent);
}

body.sectors-page .sectors-card h3 {
  color: var(--text);
}

body.sectors-page .sectors-card p {
  color: var(--muted);
}

body.sectors-page .sectors-tags .tag {
  background: var(--tag-bg);
  border-color: var(--tag-border);
  color: var(--text);
  font-size: 0.76rem;
}

body.sectors-page .card--highlight {
  border-color: #b8860b;
  box-shadow: 0 0 0 1px rgba(184, 134, 11, 0.35), var(--shadow);
}

/* ——— شريط المديولات ——— */
.modules-strip {
  padding-top: 32px;
  padding-bottom: 8px;
  border-top: 1px solid color-mix(in srgb, var(--primary) 10%, transparent);
}

.modules-strip__chips {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.modules-strip__chip {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid var(--tag-border);
}

.modules-strip__chip--accent {
  background: color-mix(in srgb, var(--accent) 14%, var(--primary-soft));
  border-color: color-mix(in srgb, var(--accent) 35%, var(--tag-border));
}

.modules-strip__footnote {
  margin: 22px auto 0;
  max-width: 720px;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--muted);
}

html[data-theme="dark"] .modules-strip__chip {
  color: var(--text);
}

/* ——— جولة تبويبات البرنامج ——— */
.section--program-tour {
  max-width: none;
  width: 100%;
  padding-block: 54px 58px;
  padding-inline: clamp(20px, 4vw, 48px);
  background:
    radial-gradient(ellipse 55% 35% at 15% 10%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 62%),
    linear-gradient(180deg, var(--bg), color-mix(in srgb, var(--primary-soft) 42%, var(--bg)));
  border-top: 1px solid color-mix(in srgb, var(--primary) 10%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--primary) 10%, transparent);
}

html[data-theme="dark"] body.page-home .section--program-tour {
  background:
    radial-gradient(ellipse 60% 42% at 20% 12%, rgba(14, 165, 233, 0.12), transparent 62%),
    linear-gradient(180deg, var(--bg), #0f172a);
}

.program-tour__grid {
  max-width: 1120px;
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.program-tour-card {
  position: relative;
  min-height: 100%;
  padding: 22px 20px 20px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 12%, var(--tag-border));
  box-shadow: 0 16px 44px rgba(13, 59, 102, 0.08);
  overflow: hidden;
}

.program-tour-card::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), var(--primary));
}

.program-tour-card--wide {
  grid-column: span 2;
}

.program-tour-card__kicker {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid var(--tag-border);
}

.program-tour-card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  font-weight: 900;
  color: var(--primary);
}

.program-tour-card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.78;
}

.program-tour-card ul {
  margin: 0;
  padding-inline-start: 1.15rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.program-tour-card li {
  margin-bottom: 5px;
}

html[data-theme="dark"] .program-tour-card {
  border-color: var(--tag-border);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.25);
}

html[data-theme="dark"] .program-tour-card h3,
html[data-theme="dark"] .program-tour-card__kicker {
  color: var(--text);
}

@media (max-width: 960px) {
  .program-tour__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .program-tour__grid {
    grid-template-columns: 1fr;
  }

  .program-tour-card--wide {
    grid-column: auto;
  }
}

/* ——— لوحة التحكم (واجهة البرنامج) ——— */
.section--dashboard {
  padding-top: 48px;
  padding-bottom: 40px;
  background: linear-gradient(180deg, var(--bg), color-mix(in srgb, var(--primary-soft) 40%, var(--bg)));
}

html[data-theme="dark"] body.page-home .section--dashboard {
  background: linear-gradient(180deg, var(--bg), #0f172a);
}

.dashboard-showcase__intro .section-head h2 {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.dashboard-showcase__intro .section-head p {
  max-width: 52rem;
  margin-inline: auto;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.8;
}

.dashboard-showcase__roles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 900px;
  margin: 28px auto 0;
}

.dashboard-role-card {
  margin: 0;
  padding: 20px 20px 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--primary) 12%, transparent);
  box-shadow: var(--shadow);
}

.dashboard-role-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--primary);
}

.dashboard-role-card p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--muted);
}

.dashboard-showcase__themes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 36px auto 0;
  max-width: min(1120px, 100%);
}

.dashboard-theme-shot {
  margin: 0;
}

.dashboard-theme-shot__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 900;
  color: var(--primary);
}

html[data-theme="dark"] .dashboard-theme-shot__label {
  color: var(--text);
}

.dashboard-theme-shot__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  line-height: 1;
}

.dashboard-theme-shot__badge--light {
  background: linear-gradient(145deg, #fef9c3, #fde047);
  color: #713f12;
  box-shadow: 0 2px 8px rgba(234, 179, 8, 0.35);
}

.dashboard-theme-shot__badge--dark {
  background: linear-gradient(145deg, #1e293b, #334155);
  color: #e2e8f0;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.5);
}

.dashboard-theme-shot__frame {
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--primary) 12%, transparent);
  box-shadow: 0 18px 48px rgba(13, 59, 102, 0.12);
}

.dashboard-theme-shot__frame--light {
  border-color: color-mix(in srgb, var(--accent) 18%, var(--tag-border));
}

.dashboard-theme-shot__frame--dark {
  border-color: #334155;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .dashboard-theme-shot__frame {
  border-color: var(--tag-border);
}

.dashboard-theme-shot__img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.dashboard-theme-shot__frame > picture {
  display: block;
  width: 100%;
}

.dashboard-theme-shot__missing {
  margin: 0;
  border-radius: 0;
  min-height: 180px;
}

.dashboard-showcase__theme-note {
  margin: 18px auto 0;
  max-width: 48rem;
  text-align: center;
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--muted);
}

.dashboard-showcase__theme-note strong {
  color: var(--text);
}

@media (max-width: 800px) {
  .dashboard-showcase__themes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .dashboard-showcase__roles {
    grid-template-columns: 1fr;
  }
}

.dashboard-sidebar-highlight {
  margin: 24px auto 0;
  max-width: 52rem;
  padding: 20px 22px 22px;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--tag-border));
  border-inline-start: 4px solid var(--accent);
  box-shadow: 0 10px 36px rgba(13, 59, 102, 0.08);
}

html[data-theme="dark"] .dashboard-sidebar-highlight {
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
  border-color: var(--tag-border);
  border-inline-start-color: var(--accent);
  box-shadow: none;
}

.dashboard-sidebar-highlight h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  font-weight: 900;
  color: var(--primary);
}

html[data-theme="dark"] .dashboard-sidebar-highlight h3 {
  color: var(--text);
}

.dashboard-sidebar-highlight p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.78;
  color: var(--muted);
}

/* ——— الإعدادات (الموقع) ——— */
.section--settings-power {
  padding-top: 44px;
  padding-bottom: 48px;
  border-top: 1px solid color-mix(in srgb, var(--primary) 10%, transparent);
  background: linear-gradient(180deg, var(--bg), color-mix(in srgb, var(--primary-soft) 35%, var(--bg)));
}

html[data-theme="dark"] body.page-home .section--settings-power {
  background: linear-gradient(180deg, var(--bg), #0f172a);
}

html[data-theme="dark"] body.sectors-page .section--settings-power {
  background: linear-gradient(180deg, var(--bg), color-mix(in srgb, var(--surface) 88%, #0f172a));
}

.settings-power__lead {
  margin: 0 auto;
  max-width: 40rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
}

.settings-tldr {
  list-style: none;
  margin: 22px auto 0;
  padding: 0;
  max-width: 920px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.settings-tldr li {
  margin: 0;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--primary);
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--primary) 14%, var(--tag-border));
  box-shadow: 0 4px 14px rgba(13, 59, 102, 0.06);
}

html[data-theme="dark"] .settings-tldr li {
  color: var(--text);
  border-color: var(--tag-border);
  background: color-mix(in srgb, var(--surface) 92%, #000);
}

.settings-tldr--in-callout {
  margin-top: 14px;
  margin-bottom: 0;
  max-width: none;
}

/* شريط «تفاصيل إضافية» بنفس روح الهيدر (شريط علوي شفاف + ضبابية) */
.settings-deeper {
  margin: 22px auto 0;
  max-width: 1120px;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid color-mix(in srgb, var(--primary) 12%, transparent);
  box-shadow: 0 8px 28px rgba(13, 59, 102, 0.06);
}

html[data-theme="dark"] .settings-deeper {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
  border-color: color-mix(in srgb, var(--tag-border) 85%, transparent);
}

.settings-deeper summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--text);
  user-select: none;
}

.settings-deeper summary::-webkit-details-marker {
  display: none;
}

.settings-deeper summary::marker {
  content: "";
}

.settings-deeper summary::after {
  content: "\25BC";
  margin-inline-start: auto;
  flex-shrink: 0;
  font-size: 0.55rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.95;
  transition: transform 0.2s ease;
}

.settings-deeper[open] summary::after {
  transform: rotate(180deg);
}

.settings-deeper summary:hover {
  background: var(--primary-soft);
}

.settings-deeper__body {
  margin-top: 0;
  padding: 16px 20px 20px;
  border-top: 1px solid color-mix(in srgb, var(--primary) 12%, transparent);
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--muted);
  text-align: start;
  background: color-mix(in srgb, var(--surface) 96%, var(--bg));
}

html[data-theme="dark"] .settings-deeper__body {
  background: color-mix(in srgb, var(--surface) 88%, #000);
  border-top-color: var(--tag-border);
}

.settings-deeper__h {
  margin: 14px 0 8px;
  font-size: 0.88rem;
  font-weight: 900;
  color: var(--primary);
}

html[data-theme="dark"] .settings-deeper__h {
  color: var(--text);
}

.settings-deeper__body ul {
  margin: 0 0 8px;
  padding-inline-start: 1.2rem;
}

.settings-deeper__body li {
  margin-bottom: 6px;
}

.settings-deeper__note {
  margin: 10px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.settings-power__shortcut-callout {
  margin: 22px auto 0;
  max-width: min(1000px, 100%);
  padding: 22px 20px 20px;
  border-radius: 18px;
  background: linear-gradient(165deg, color-mix(in srgb, var(--accent) 10%, var(--surface)), var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--tag-border));
  box-shadow: 0 16px 44px rgba(13, 59, 102, 0.1);
}

html[data-theme="dark"] .settings-power__shortcut-callout {
  background: linear-gradient(165deg, color-mix(in srgb, var(--accent) 14%, var(--surface)), var(--surface));
  border-color: var(--tag-border);
  box-shadow: none;
}

.settings-power__shortcut-text {
  max-width: 52rem;
  margin-inline: auto;
  text-align: center;
}

.settings-power__shortcut-title {
  margin: 0 0 12px;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 900;
  color: var(--primary);
}

html[data-theme="dark"] .settings-power__shortcut-title {
  color: var(--text);
}

.settings-power__shortcut-text p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--muted);
}

.settings-power__shortcut-text p strong {
  color: var(--text);
}

.section--why {
  padding-top: 8px;
}

.section--why .pill-note a {
  font-weight: 700;
}

.screenshot-help {
  margin-top: 40px;
  max-width: 720px;
  margin-inline: auto;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--tag-border);
}

.screenshot-help summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--primary);
  list-style-position: outside;
}

.screenshot-help__body {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--tag-border);
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
}

.screenshot-help__body ol {
  margin: 0;
  padding-inline-start: 1.35rem;
}

.screenshot-help__body li {
  margin-bottom: 10px;
}

.screenshot-help__path {
  direction: ltr;
  unicode-bidi: embed;
}

kbd {
  font-family: ui-monospace, monospace;
  font-size: 0.85em;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--tag-border);
  background: var(--primary-soft);
}

html[data-theme="dark"] .screenshot-help summary {
  color: var(--text);
}

/* ——— مزايا متقدمة + لقطات شاشة ——— */
.section--deep {
  padding-top: 24px;
  border-top: 1px solid color-mix(in srgb, var(--primary) 10%, transparent);
}

.deep-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 1.05fr);
  gap: 36px;
  align-items: start;
  margin-bottom: 56px;
}

.deep-feature--reverse .deep-feature__text {
  order: 2;
}

.deep-feature--reverse .feature-shot {
  order: 1;
}

.deep-feature__badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 12px;
}

.deep-feature__title {
  margin: 0 0 14px;
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.35;
}

.deep-feature__p {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.75;
}

.deep-feature__p--muted {
  color: var(--muted);
  font-size: 0.98rem;
}

.deep-feature__list {
  margin: 16px 0 0;
  padding-inline-start: 1.25rem;
  color: var(--muted);
  line-height: 1.8;
}

.deep-feature__list li {
  margin-bottom: 6px;
}

.feature-shot {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--primary) 10%, transparent);
  box-shadow: var(--shadow);
}

.feature-shot__img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.feature-shot > picture,
.guide-showcase__cover > picture {
  display: block;
  width: 100%;
}

.feature-shot__missing {
  min-height: 220px;
  padding: 28px 20px;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
  background: repeating-linear-gradient(
    -45deg,
    var(--primary-soft),
    var(--primary-soft) 8px,
    color-mix(in srgb, var(--primary-soft) 70%, var(--surface)) 8px,
    color-mix(in srgb, var(--primary-soft) 70%, var(--surface)) 16px
  );
  border: 2px dashed var(--tag-border);
}

/* لا تستخدم display:flex على العنصر وهو يحمل hidden — يتجاوز إخفاء المتصفح */
.feature-shot__missing:not([hidden]) {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.feature-shot__missing code {
  font-size: 0.85rem;
  direction: ltr;
  unicode-bidi: embed;
  background: var(--surface);
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid var(--tag-border);
}

@media (max-width: 900px) {
  .deep-feature,
  .deep-feature--reverse {
    grid-template-columns: 1fr;
  }

  .deep-feature--reverse .deep-feature__text,
  .deep-feature--reverse .feature-shot {
    order: unset;
  }
}

html[data-theme="dark"] .deep-feature__title {
  color: var(--primary);
}

/* ——— الصفحة الرئيسية: هيرو ERP بريميوم + قيمة السعر ——— */
body.page-home {
  background: var(--bg);
}

.hero.hero--premium {
  position: relative;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(168deg, #02060c 0%, #0a1628 42%, #071018 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-premium__mesh {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    radial-gradient(ellipse 100% 80% at 50% -20%, rgba(56, 189, 248, 0.2), transparent 55%),
    radial-gradient(circle at 85% 60%, rgba(184, 134, 11, 0.12), transparent 42%),
    radial-gradient(circle at 10% 80%, rgba(30, 107, 184, 0.18), transparent 45%);
  pointer-events: none;
}

.hero-premium__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.35;
}
.hero-premium__glow--1 {
  width: min(70vw, 520px);
  height: min(70vw, 520px);
  background: #1e6bb8;
  top: -10%;
  inset-inline-start: -15%;
}
.hero-premium__glow--2 {
  width: min(50vw, 380px);
  height: min(50vw, 380px);
  background: #b8860b;
  bottom: -5%;
  inset-inline-end: -10%;
}

.hero-premium__inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(48px, 10vw, 96px) 22px clamp(40px, 7vw, 72px);
  text-align: center;
}

.hero-premium__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-premium__pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.92);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-premium__pill--gold {
  background: linear-gradient(135deg, rgba(184, 134, 11, 0.35), rgba(212, 175, 55, 0.2));
  border-color: rgba(212, 175, 55, 0.45);
  color: #fff8e7;
}

.hero-premium__eyebrow {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(148, 197, 255, 0.95);
  letter-spacing: 0.02em;
}

.hero-premium__title {
  margin: 0 0 18px;
  font-size: clamp(1.85rem, 5.2vw, 3.15rem);
  font-weight: 900;
  line-height: 1.18;
  color: #f8fafc;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero-premium__erp {
  background: linear-gradient(135deg, #7dd3fc, #e2e8f0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-premium__tagline {
  margin: 0 0 14px;
  font-size: clamp(1.02rem, 2.2vw, 1.2rem);
  line-height: 1.75;
  color: rgba(226, 232, 240, 0.92);
  max-width: 52rem;
  margin-inline: auto;
}

.hero-premium__tagline strong {
  color: #fff;
}

.hero-premium__lead {
  margin: 0 auto 26px;
  max-width: 40rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(148, 163, 184, 0.95);
}

.hero-premium__stats {
  list-style: none;
  margin: 0 auto 32px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  max-width: 52rem;
}

.hero-premium__stats li {
  padding: 10px 18px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(226, 232, 240, 0.88);
}

.hero-premium__stats strong {
  color: #7dd3fc;
  font-size: 1.05rem;
  font-weight: 900;
  margin-inline-end: 6px;
}

.hero-actions--premium {
  gap: 14px;
}

.hero-cta-primary-pair {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 12px 14px;
  width: 100%;
}

.hero-download-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 100%;
}

.hero-download-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 10px 12px;
  width: 100%;
}

.hero-download-cta {
  gap: 8px;
}

.hero-download-cta__icon {
  flex-shrink: 0;
}

.hero-download-cta__label--en,
.hero-download-meta__en,
.hero-download-hint__en {
  display: none;
}

html[lang="en"] .hero-download-cta__label--ar,
html[lang="en"] .hero-download-meta__ar,
html[lang="en"] .hero-download-hint__ar {
  display: none;
}

html[lang="en"] .hero-download-cta__label--en,
html[lang="en"] .hero-download-meta__en,
html[lang="en"] .hero-download-hint__en {
  display: inline;
}

.hero-download-meta {
  margin: 0;
  max-width: 28rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(226, 232, 240, 0.72);
  letter-spacing: 0.01em;
}

.hero-download-hint {
  margin: 0;
  max-width: 28rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(226, 232, 240, 0.55);
}

@media (max-width: 640px) {
  .hero-cta-primary-pair {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-primary-pair > .btn,
  .hero-download-wrap,
  .hero-download-actions,
  .hero-download-cta {
    width: 100%;
  }

  .hero-download-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

body.page-home .btn--glow {
  background: linear-gradient(135deg, #0ea5e9, #0369a1);
  color: #fff;
  padding-inline: 28px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 12px 40px rgba(14, 165, 233, 0.45);
}

body.page-home .btn--glow:hover {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 16px 48px rgba(14, 165, 233, 0.55);
}

body.page-home .btn--on-dark {
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

body.page-home .btn--on-dark:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.section-head--center {
  text-align: center;
  max-width: 800px;
  margin-inline: auto;
}

.section-head--center .section-head p,
.section-head--center p {
  margin-inline: auto;
}

.section.erp-value {
  max-width: none;
  width: 100%;
  margin-inline: 0;
  padding-block: 48px 40px;
  padding-inline: clamp(20px, 4vw, 48px);
  box-sizing: border-box;
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary-soft) 55%, var(--bg)), var(--bg));
}

.section.erp-value .section-head,
.section.erp-value .erp-value__grid {
  max-width: 1120px;
  margin-inline: auto;
}

html[data-theme="dark"] body.page-home .section.erp-value {
  background: linear-gradient(180deg, #0f172a, var(--bg));
}

.erp-value__subtitle {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--muted);
}

.erp-value__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 32px;
}

.erp-value__card {
  padding: 28px 22px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--primary) 12%, transparent);
  box-shadow: 0 16px 48px rgba(13, 59, 102, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.erp-value__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(13, 59, 102, 0.12);
}

.erp-value__card--accent {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--tag-border));
  background: linear-gradient(160deg, var(--surface), color-mix(in srgb, var(--accent) 8%, var(--surface)));
}

.erp-value__icon {
  display: block;
  font-size: 1.75rem;
  margin-bottom: 12px;
  opacity: 0.9;
}

.erp-value__card h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--primary);
}

.erp-value__card p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--muted);
}

.erp-value__card p strong {
  color: var(--text);
}

@media (max-width: 900px) {
  .erp-value__grid {
    grid-template-columns: 1fr;
  }

  .hero.hero--premium {
    min-height: auto;
  }
}

body.page-home .section-head h2 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
}

body.page-home .card {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

body.page-home .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(13, 59, 102, 0.12);
}

html[data-theme="dark"] body.page-home .erp-value__card {
  border-color: var(--tag-border);
}

html[data-theme="dark"] body.page-home .erp-value__card h3 {
  color: var(--text);
}

/* ── Guide page ── */
body.page-guide {
  background: var(--bg);
}

.guide-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 20px 48px;
  background: linear-gradient(165deg, #02060c 0%, #0a1628 45%, #071018 100%);
  color: #e8eef5;
}

.guide-hero__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(14, 165, 233, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 50% at 85% 70%, rgba(184, 134, 11, 0.08), transparent 50%);
  pointer-events: none;
}

.guide-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.guide-hero__eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7dd3fc;
  margin: 0 0 12px;
}

.guide-hero__title {
  margin: 0 0 12px;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 900;
  line-height: 1.2;
  color: #fff;
}

.guide-hero__subtitle {
  margin: 0 0 16px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(232, 238, 245, 0.85);
  max-width: 36rem;
}

.guide-hero__edition {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a3a5c;
  background: #e8f0fa;
  border: 1px solid #c8d8ea;
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 20px;
}

.guide-hero__stats {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.guide-hero__stats li {
  font-size: 0.92rem;
  color: rgba(232, 238, 245, 0.75);
}

.guide-hero__stats strong {
  color: #7dd3fc;
  font-weight: 800;
  font-size: 1.1rem;
}

.guide-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.guide-hero__cover {
  margin: 0;
}

.guide-hero__cover-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(14, 165, 233, 0.15);
  background: #fff;
}

.guide-hero__cover-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.guide-body {
  padding: 40px 16px 56px;
}

.guide-layout {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}

.guide-toc-wrap {
  position: sticky;
  top: 72px;
}

.guide-toc-panel {
  background: var(--surface);
  border: 1px solid var(--tag-border);
  border-radius: var(--radius);
  padding: 16px 14px;
  box-shadow: var(--shadow);
  max-height: calc(100vh - 96px);
  overflow-y: auto;
}

.guide-toc__heading {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 8px;
}

.guide-toc__loading,
.guide-loading {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

.guide-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.guide-toc__item {
  margin-bottom: 4px;
}

.guide-toc__link {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.15s ease;
}

.guide-toc__link:hover,
.guide-toc__sublink:hover {
  background: var(--primary-soft);
  text-decoration: none;
}

.guide-toc__link.is-active,
.guide-toc__sublink.is-active {
  background: var(--primary-soft);
  color: var(--primary);
}

.guide-toc__num {
  flex-shrink: 0;
  font-weight: 800;
  color: #c0392b;
  font-size: 0.82rem;
  min-width: 1.6rem;
}

.guide-toc__sub {
  list-style: none;
  margin: 2px 0 6px;
  padding: 0 12px 0 0;
}

.guide-toc__sublink {
  display: block;
  padding: 4px 8px 4px 28px;
  border-radius: 6px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  line-height: 1.45;
}

.guide-main__intro {
  margin-bottom: 24px;
}

.guide-main__intro h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.guide-main__intro p {
  margin: 0;
  color: var(--muted);
}

.guide-chapter {
  background: var(--surface);
  border: 1px solid var(--tag-border);
  border-radius: var(--radius);
  padding: 28px 26px 32px;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
}

.guide-chapter__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--primary-soft);
}

.guide-chapter__badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.4rem;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 900;
  font-size: 0.95rem;
}

.guide-chapter__title {
  margin: 0;
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.35;
}

.guide-chapter__intro {
  margin: 0 0 16px;
  line-height: 1.75;
  color: var(--text);
}

.guide-flow {
  margin: 0 0 16px;
  padding: 14px 16px;
  background: var(--primary-soft);
  border: 1px solid var(--tag-border);
  border-radius: 10px;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.82rem;
  line-height: 1.55;
  direction: ltr;
  text-align: left;
  overflow-x: auto;
  white-space: pre-wrap;
}

.guide-strengths {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.guide-strengths li {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f0f8f0;
  border: 1px solid #b8dcc0;
  color: #2d7a3a;
}

html[data-theme="dark"] .guide-strengths li {
  background: #1a2e1f;
  border-color: #2d5a38;
  color: #8fd4a0;
}

.guide-shot {
  margin: 0 0 20px;
}

.guide-shot__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.guide-shot__btn:disabled {
  cursor: default;
}

.guide-shot__ph {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  border: 1px solid var(--tag-border);
  background: var(--bg);
}

.guide-shot__img,
.guide-shot picture {
  display: block;
  width: 100%;
  height: auto;
}

.guide-shot__img {
  border-radius: 12px;
  border: 1px solid var(--tag-border);
  background: #f8f9fa;
}

.guide-shot--hero .guide-shot__img {
  box-shadow: 0 8px 28px rgba(13, 59, 102, 0.12);
}

.guide-shot__zoom {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(13, 59, 102, 0.75);
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.guide-shot__btn:hover .guide-shot__zoom,
.guide-shot__btn:focus-visible .guide-shot__zoom {
  opacity: 1;
}

.guide-sections {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}

.guide-sections--d2 {
  margin-right: 12px;
  padding-right: 12px;
  border-right: 2px solid var(--primary-soft);
}

.guide-section-card {
  background: var(--bg);
  border: 1px solid var(--tag-border);
  border-radius: 12px;
  padding: 18px 16px 20px;
}

.guide-section-card__title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.guide-section-card__intro {
  margin: 0 0 12px;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
}

.guide-tip {
  margin-top: 16px;
  padding: 12px 14px;
  background: #f0f6ff;
  border-right: 4px solid var(--accent);
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.65;
}

html[data-theme="dark"] .guide-tip {
  background: #1a2838;
}

.guide-error {
  padding: 24px;
  background: #fff5f5;
  border: 1px solid #f0c0c0;
  border-radius: var(--radius);
  color: #8b2020;
}

.guide-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
}

.guide-lightbox[hidden] {
  display: none !important;
}

.guide-lightbox__img {
  max-width: min(96vw, 1400px);
  max-height: 92vh;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

body.guide-lightbox-open {
  overflow: hidden;
}

.guide-showcase {
  padding-top: 48px;
  padding-bottom: 48px;
}

.guide-showcase__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}

.guide-showcase__cover {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--tag-border);
  box-shadow: var(--shadow);
}

.guide-showcase__cover img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 960px) {
  .guide-hero__inner {
    grid-template-columns: 1fr;
  }

  .guide-hero__cover {
    order: -1;
    max-width: 420px;
    margin: 0 auto;
  }

  .guide-layout {
    grid-template-columns: 1fr;
  }

  .guide-toc-wrap {
    position: static;
  }

  .guide-toc-panel {
    max-height: none;
  }

  .guide-showcase__grid {
    grid-template-columns: 1fr;
  }
}

.settings-power__visual {
  max-width: 960px;
  margin: 28px auto 0;
}

.settings-power__visual .feature-shot__img {
  border-radius: var(--radius);
  border: 1px solid var(--tag-border);
  box-shadow: var(--shadow);
}
