/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: May 26 2026 | 11:08:17 */
/* =========================================
   MetNet Midnight Blue Premium Section (V 3.1.0)
   Architecture: Scoped Inheritance, Explicit Transitions, Zero-Leak VRAM.
   Typography: Premium Letter-Spacing, Accessible Contrast.
   ========================================= */

/* حل باگ ۱: استقرار سیستم ارث‌بری ایمن به جای سلکتور مخرب عمومی */
.mn-dark-universe {
  box-sizing: border-box;
  background: #0f172a; 
  padding: 80px 20px;
  direction: rtl;
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  border-radius: 24px; /* حل باگ ۶: تعدیل شعاع کادر */
  
  /* حل باگ ۲: فرمول امن و پویا برای عرض موبایل بدون ایجاد CLS */
  width: min(1280px, calc(100% - 24px));
  max-width: 1280px; 
  margin: 40px auto;
  
  /* حل باگ ۶ (دوم): لغو overflow: hidden و استفاده از کلیپ مدرن جهت مهار Shadow Bleed */
  overflow-x: clip; 
}

.mn-dark-universe *,
.mn-dark-universe *::before,
.mn-dark-universe *::after { 
  box-sizing: inherit; 
}

.mn-dark-container {
  max-width: 1100px;
  margin: 0 auto;
}

.mn-dark-header { 
  text-align: center; 
  margin-bottom: 50px; 
}

.mn-dark-header h2 { 
  color: #ffffff; 
  font-size: 2rem; 
  font-weight: 900; 
  margin-bottom: 15px; 
  
  /* حل باگ ۱۰: تزریق ریتم تایپوگرافی پریمیوم و لوکس */
  letter-spacing: -0.02em; 
}

.mn-dark-header p { 
  color: #cbd5e1; /* کنتراست ارتقایافته برای نمایشگرهای OLED */
  font-size: 1.1rem; 
  max-width: 700px; 
  margin: 0 auto; 
  line-height: 1.8; 
}

.mn-problem-grid, .mn-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: 30px;
  width: 100%;
}

.mn-dark-card {
  background: #1e293b; 
  border: 1px solid #334155;
  border-radius: 20px;
  padding: 35px 25px;
  text-align: center;
  
  /* حل باگ ۴: سبک‌سازی سایه‌ها برای مهار Paint Cost در اندروید */
  box-shadow: 0 6px 14px rgba(0,0,0,0.16); 
  width: 100%;
  
  /* حل باگ ۲ (پرفورمنس): حذف ترانزیشن مخرب all و جایگزینی با ترانزیشن صریح */
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
  .mn-dark-card:hover { 
    /* حل باگ ۳: شناوری ۳ بعدی و مدرن با ارتفاع ۴ پیکسل به جای ۸ پیکسل */
    transform: translate3d(0, -4px, 0); 
    background: #25334a; 
    border-color: #475569; 
    /* سایه هاور سبک و بهینه */
    box-shadow: 0 10px 24px rgba(0,0,0,0.22);
  }
}

.mn-dark-card h3 { 
  color: #ffffff; 
  font-size: 1.25rem; 
  font-weight: 800; 
  /* حل باگ ۷: ریتم عمودی (Vertical Rhythm) استاندارد */
  margin-bottom: 12px; 
  letter-spacing: -0.01em;
}

.mn-dark-card p { 
  color: #cbd5e1; 
  font-size: 0.95rem; 
  line-height: 1.8; 
  margin: 0; 
}

.mn-icon-glow { 
  width: 65px; 
  height: 65px; 
  margin: 0 auto 25px; 
  border-radius: 50%; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
}

.mn-icon-glow svg { 
  width: 32px; 
  height: 32px; 
}

/* رنگ‌بندی‌های اختصاصی کارت‌ها */
.color-red { 
  background: rgba(239, 68, 68, 0.1); 
  color: #ef4444; 
  box-shadow: 0 0 18px rgba(239, 68, 68, 0.15); 
  border: 1px solid rgba(239, 68, 68, 0.3); 
}

.color-orange { 
  background: rgba(245, 158, 11, 0.1); 
  color: #f59e0b; 
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.15); 
  border: 1px solid rgba(245, 158, 11, 0.3); 
}

.color-purple { 
  background: rgba(139, 92, 246, 0.1); 
  color: #8b5cf6; 
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.15); 
  border: 1px solid rgba(139, 92, 246, 0.3); 
}

/* شماره‌های نورانی بخش راه‌حل‌ها */
.mn-step-number {
  width: 70px; 
  height: 70px; 
  margin: 0 auto 25px; 
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1); 
  border: 2px dashed #2563eb; 
  color: #3b82f6;
  font-size: 1.8rem; 
  font-weight: 900; 
  display: flex; 
  align-items: center; 
  justify-content: center;
  box-shadow: 0 0 18px rgba(37, 99, 235, 0.15); 
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}

@media (hover: hover) and (pointer: fine) {
  .step-card:hover .mn-step-number { 
    background: #2563eb; 
    color: #ffffff; 
    border-style: solid; 
    box-shadow: 0 0 25px rgba(37, 99, 235, 0.4); 
    transform: scale(1.05); /* حل باگ ۹: حذف افکت چرخشی پرهزینه rotate */
  }
}

.mn-dark-divider { 
  height: 1px; 
  background: linear-gradient(90deg, transparent, #334155, transparent); 
  margin: 60px 0; 
  width: 100%; 
}

@media (max-width: 768px) {
  .mn-dark-universe { 
    padding: 40px 15px; 
    border-radius: 20px; 
    
    /* حل باگ ۸: مارجین ایمن برای موبایل جهت مهار Squeezing */
    margin: 24px auto; 
  }
  .mn-dark-header { margin-bottom: 30px; }
  .mn-dark-header h2 { font-size: 1.5rem; line-height: 1.4; }
  .mn-dark-header p { font-size: 1rem; }
  .mn-dark-card { padding: 25px 20px; }
  .mn-dark-divider { margin: 40px 0; }
}

/* حل باگ ۶: قانون اجباری WCAG برای بیماران حساس به انیمیشن */
@media (prefers-reduced-motion: reduce) {
  .mn-dark-card,
  .mn-step-number {
    transition: none !important;
    transform: none !important;
  }
  .mn-dark-card:hover,
  .step-card:hover .mn-step-number {
    transform: none !important;
  }
}