:root {
  --bg: #efede8;
  --bg-2: #e5e2da;
  --ink: #0d0d10;
  --ink-soft: #2a2a2d;
  --mute: #8a8780;
  --line: #dad6c9;
  --pill: #0d0d10;
  --green: #bfd58f;
  --green-dark: #5c7838;
}

.monax-scope * { box-sizing: border-box; }

.monax-scope {
  background: radial-gradient(120% 70% at 50% 0%, #f4f1ec 0%, #eae7df 60%, #dfdbcf 100%);
  color: var(--ink);
  font-family: 'Inter', 'Cairo', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.monax-scope .grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1  0 0 0 0 0.1  0 0 0 0 0.1  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ============ BELOW-STYLE BLOCK (مستخدم حالياً بالأقسام الديناميكية من الأدمن) ============ */
.monax-scope .below {
  padding: 50px 40px 100px;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  gap: 32px;
  position: relative;
  z-index: 5;
}

.monax-scope .col-left, .monax-scope .col-right {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding-top: 80px;
}

/* ============ FEATURES ============ */
.monax-scope .features { padding: 80px 40px 60px; position: relative; z-index: 5; }
.monax-scope .features-head {
  max-width: 1280px;
  margin: 0 auto 50px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}
.monax-scope .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.12em;
  color: var(--mute); font-weight: 600;
  margin-bottom: 14px;
  text-align: right;
}
.monax-scope .eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(92,120,56,0.2);
}
.monax-scope .features-head h2 {
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  max-width: 700px;
  text-align: right;
}
.monax-scope .features-head p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); max-width: 340px; text-align: right; }

.monax-scope .features-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.monax-scope .feat-card {
  background: #ffffff;
  border-radius: 26px;
  padding: 28px;
  box-shadow: 0 22px 40px -16px rgba(40,30,10,0.18), 0 8px 16px -4px rgba(40,30,10,0.08),
    inset 0 1px 0 rgba(255,255,255,0.7);
  display: flex; flex-direction: column; gap: 16px;
  transition: transform 0.5s cubic-bezier(0.6,0,0.2,1);
}
.monax-scope .feat-card:hover { transform: translateY(-8px); }
.monax-scope .feat-icon {
  width: 64px; height: 64px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 24px;
  box-shadow: 0 12px 22px -6px rgba(40,30,10,0.25), inset 0 2px 0 rgba(255,255,255,0.3),
    inset 0 -2px 4px rgba(40,30,10,0.2);
}
.monax-scope .feat-icon.ic-1 { background: radial-gradient(circle at 30% 30%, #ffd66b 0%, #b4791f 60%, #7a4a10); }
.monax-scope .feat-icon.ic-2 { background: radial-gradient(circle at 30% 30%, #c9e37b 0%, #6b9d2c 60%, #2f5810); }
.monax-scope .feat-icon.ic-3 { background: radial-gradient(circle at 30% 30%, #c9a6f4 0%, #6a3db8 60%, #391b72); }
.monax-scope .feat-icon.feat-icon-logo {
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-shadow: 0 12px 22px -6px rgba(40,30,10,0.18), inset 0 0 0 1px rgba(0,0,0,0.06);
}
.monax-scope .feat-icon.feat-icon-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.monax-scope .feat-card h3 {
  font-family: 'Cairo', sans-serif;
  font-weight: 700; font-size: 20px; letter-spacing: -0.01em; color: var(--ink);
  text-align: right;
}
.monax-scope .feat-card p { font-size: 14px; line-height: 1.7; color: var(--ink-soft); flex: 1; text-align: right; }
.monax-scope .feat-card .feat-link {
  color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 700;
  text-align: right;
}

/* ============ CTA (يُستخدم كذلك لبطاقات الأنظمة بالرئيسية) ============ */
.monax-scope .cta-section { padding: 80px 40px 140px; position: relative; z-index: 5; }
.monax-scope .cta-inner {
  max-width: 1280px; margin: 0 auto;
  background: var(--ink);
  border-radius: 36px;
  padding: 80px 60px;
  color: #f4f0eb;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(20,12,0,0.45), 0 16px 32px -12px rgba(20,12,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.08), inset 0 -3px 8px rgba(0,0,0,0.5);
}
.monax-scope .cta-inner::before {
  content: ''; position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(191,213,143,0.25), transparent 65%);
  top: -200px; right: -100px; filter: blur(30px);
}
.monax-scope .cta-inner::after {
  content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,198,130,0.18), transparent 65%);
  bottom: -180px; left: -80px; filter: blur(30px);
}
.monax-scope .cta-inner h2 {
  font-family: 'Cairo', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 50px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  position: relative; z-index: 1;
  text-align: right !important;
}
.monax-scope .cta-inner h2 em {
  font-style: normal; font-weight: 700;
  background: linear-gradient(135deg, #bfd58f, #ffd66b);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.monax-scope .cta-inner h2 em.badge-outline {
  display: inline-block;
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  color: #6FD943;
  background: transparent;
  border: 2px solid #6FD943;
  border-radius: 999px;
  padding: 6px 20px;
  margin-top: 8px;
  -webkit-background-clip: unset;
  background-clip: unset;
}
.monax-scope .cta-right { position: relative; z-index: 1; }
.monax-scope .cta-right p { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.65); margin-bottom: 24px; }
.monax-scope .cta-btn {
  background: #6FD943;
  color: #0d0d10;
  border: none; padding: 14px 32px; border-radius: 999px;
  font-family: 'Cairo', sans-serif; font-size: 14px; font-weight: 700;
  cursor: pointer; display: inline-flex; align-items: center; gap: 12px;
  box-shadow: 0 16px 26px -10px rgba(0,0,0,0.4), 0 5px 10px -2px rgba(0,0,0,0.18);
  transition: transform 0.4s cubic-bezier(0.6,0,0.2,1);
}
.monax-scope .cta-btn:hover { transform: translateY(-3px) scale(1.02); }
.monax-scope .cta-btn svg { transform: scaleX(-1); }

/* بطاقات الأنظمة بالرئيسية (نسخة معدّلة من cta-inner: صورة + نص + زر) */
.monax-scope .cta-inner.cta-inner-system {
  grid-template-columns: 1fr 1.3fr auto;
  align-items: center;
}
.monax-scope .cta-inner-system .cta-right,
.monax-scope .cta-inner-system .cta-right p {
  text-align: right !important;
  direction: rtl !important;
  width: 100%;
}

@media (max-width: 1000px) {
  .monax-scope .cta-inner.cta-inner-system {
    grid-template-columns: 1fr !important;
    text-align: center;
  }
  .monax-scope .cta-inner.cta-inner-system > div:first-child {
    margin: 0 auto 20px;
  }
}

/* ============ Responsive عام ============ */
@media (max-width: 1000px) {
  .monax-scope .below { grid-template-columns: 1fr; gap: 40px; }
  .monax-scope .col-left, .monax-scope .col-right { padding-top: 0; }
  .monax-scope .cta-inner { grid-template-columns: 1fr; padding: 50px 30px; }
  .monax-scope .features-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .monax-scope .below { padding: 30px 18px 60px; }
  .monax-scope .features { padding: 40px 18px; }
  .monax-scope .features-grid { grid-template-columns: 1fr; }
  .monax-scope .cta-section { padding: 20px 18px 60px; }
}

/* ============ عناصر الفوتر القديمة المرتبطة بألوان العلامة ============ */
.contact-pill-title {
    display: inline-block;
    background: #6FD943;
    color: #0d0d10;
    font-weight: 700;
    padding: 10px 28px;
    border-radius: 999px;
    font-size: 20px;
}
.contact-section a {
    color: #ffffff;
    text-decoration: none;
}
.contact-section a:hover {
    color: #6FD943;
}
.site-footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
}
@media (max-width: 700px) {
    .site-footer-inner {
        grid-template-columns: 1fr;
        gap: 14px;
        text-align: center;
        justify-items: center;
    }
    .site-footer-inner div:last-child {
        display: none;
    }
}

/* ============ صفحة كل الأنظمة (/systems) ============ */
.systems-page {
    font-family: 'Inter', 'Cairo', sans-serif;
    width: 100%;
    margin: 0;
    padding: 90px 6% 60px;
    line-height: 1.9;
    color: #4A4A4A;
    background: #efede8;
    box-sizing: border-box;
    direction: rtl;
    text-align: right;
}
.systems-page * { box-sizing: border-box; }
.systems-page h1, .systems-page h2, .systems-page h3, .systems-page p { text-align: right; }

.systems-page .hero { text-align: center; padding: 30px 20px 40px; }
.systems-page .hero h1 { color: #0d0d10; font-size: 62px; margin-bottom: 10px; font-weight: 800; }
.systems-page .hero .tagline { color: #6FD943; font-size: 30px; font-weight: bold; margin-bottom: 18px; }
.systems-page .hero p { color: #7B7B7B; font-size: 21px; max-width: 720px; margin: 0 auto; text-align: center; }

.systems-page .section-title {
    color: #0d0d10; font-size: 40px; margin-top: 30px; margin-bottom: 8px;
    border-right: 6px solid #6FD943; padding-right: 16px; font-weight: 700;
}
.systems-page .section-subtitle { color: #7B7B7B; font-size: 20px; margin-bottom: 28px; padding-right: 22px; }

.systems-page .product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.systems-page .product-card {
    background: #FFFFFF;
    border: 1px solid #E5E2D9;
    border-radius: 14px;
    padding: 26px;
    position: relative;
    transition: transform 0.15s;
}
.systems-page .product-card:hover { transform: translateY(-4px); }
.systems-page .product-card h3 { color: #0d0d10; font-size: 21px; margin: 0 0 8px; }
.systems-page .product-card p { color: #7B7B7B; font-size: 19px; margin: 0 0 14px; min-height: 60px; }

.systems-page .status-badge {
    display: inline-block; font-size: 12px; font-weight: bold;
    padding: 4px 12px; border-radius: 12px;
}
.systems-page .status-available { background: #EAF9E2; color: #2E7D32; }
.systems-page .status-soon { background: #0d0d10; color: #6FD943; }

.systems-page .cta-link {
    display: inline-block; color: #0d0d10; font-weight: 700; font-size: 19px;
    text-decoration: none; border-bottom: 2px solid #6FD943;
}
.systems-page .cta-link:hover { color: #6FD943; }

.systems-page .highlight-box {
    background: #EAF9E2; border-right: 4px solid #6FD943; border-radius: 8px;
    padding: 22px 26px; margin: 30px 0; text-align: center; color: #2E5A20;
}

.systems-page .footer-cta {
    text-align: center; margin-top: 50px; padding: 55px 20px;
    background: #0d0d10; border-radius: 16px; color: #FFFFFF;
}
.systems-page .footer-cta h2 { color: #FFFFFF; font-size: 28px; border: none; padding: 0; margin: 0 0 10px; }
.systems-page .footer-cta p { color: #CCCCCC; }
.systems-page .cta-button {
    display: inline-block; background: #6FD943; color: #0d0d10; font-weight: bold;
    padding: 14px 36px; border-radius: 8px; text-decoration: none; margin-top: 22px; font-size: 19px;
}

@media (max-width: 1000px) {
    .systems-page .product-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
    .systems-page { padding: 100px 20px 40px; }
    .systems-page .product-grid { grid-template-columns: 1fr; }
}

/* ============ الهيرو الحالي (v2) ============ */
.hero-v2-scope {
  font-family: 'Cairo', 'Inter', sans-serif;
  background: #efede8;
  direction: rtl;
  position: relative;
  overflow: hidden;
}

.hv2-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 6%;
  border-bottom: 1px solid #e0ddd3;
}
.hv2-logo img { height: 40px; width: auto; }
.hv2-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.hv2-links a { color: #333; text-decoration: none; font-weight: 500; font-size: 15px; }
.hv2-links a:hover { color: #6FD943; }

.hv2-btn-dark, .hv2-btn-outline {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.2s;
}
.hv2-btn-dark { background: #0d0d10; color: #fff; }
.hv2-btn-dark:hover { transform: translateY(-2px); color: #6FD943; }
.hv2-btn-outline { background: #fff; color: #0d0d10; border: 1.5px solid #0d0d10; }
.hv2-btn-outline:hover { transform: translateY(-2px); border-color: #6FD943; color: #6FD943; }

.hv2-hero { position: relative; padding: 70px 6% 120px; }
.hv2-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hv2-text-col { text-align: right; }
.hv2-badge {
  display: inline-block;
  background: #e8f9e0;
  color: #2E7D32;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hv2-heading {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.5;
  color: #0d0d10;
  margin-bottom: 22px;
}
.hv2-highlight { color: #4a9e2a; }
.hv2-desc { font-size: 17px; line-height: 1.9; color: #666; max-width: 520px; margin-bottom: 32px; }
.hv2-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.hv2-visual-col { position: relative; }
.hv2-slider {
  position: relative;
  width: 100%;
  min-height: 420px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px -15px rgba(0,0,0,0.25);
}
.hv2-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}
.hv2-slide.active { opacity: 1; }

.hv2-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, #e5e0d0);
  z-index: 1;
}

@media (max-width: 900px) {
  .hv2-links { display: none; }
  .hv2-hero-inner { grid-template-columns: 1fr; }
  .hv2-heading { font-size: 30px; }
  .hv2-slider { min-height: 280px; }
}
