/* فونت‌های لوکال (اختیاری) */
@font-face{
  font-family:'IRANSans';
  src:url('../storage/fonts/IRANSans.woff2') format('woff2'),
      url('../storage/fonts/IRANSans.woff') format('woff');
  font-display:swap;
}
@font-face{
  font-family:'Vazir';
  src:url('../storage/fonts/Vazir.woff2') format('woff2'),
      url('../storage/fonts/Vazir.woff') format('woff');
  font-display:swap;
}

/* اسکوپ کامل */
.ms-efficiency, .ms-efficiency *{ box-sizing:border-box; }
.ms-efficiency{
  --fg:#121528;
  --muted:#5d6680;
  --brand:#6f47ff;
  --brand2:#24a3ff;
  --chip:#e9ecff;
  --card:#ffffff;
  --surface:#f6f8fb;
  font-family:'IRANSans','Vazir',Tahoma,Arial,sans-serif;
  color:var(--fg);
  background:var(--surface);
  padding: clamp(28px,5vw,60px) clamp(14px,4vw,24px);
}

.ms-efficiency__inner{
  max-width:1280px; margin:0 auto;
  display:grid; gap: clamp(24px,4vw,56px);
  grid-template-columns: 1.1fr .9fr;
  align-items:center;
}
@media (max-width: 960px){ .ms-efficiency__inner{ grid-template-columns: 1fr; } }

/* سمت چپ: تصویر + نشانک چرخان */
.ms-efficiency__left{ display:flex; justify-content:center; }
.ms-efficiency__imgwrap{ position:relative; display:inline-block; }
.ms-efficiency__main{ display:block; width:min(560px, 100%); height:auto; border-radius:18px; box-shadow:0 22px 60px rgba(0,0,0,.08); background:#fff; }
.ms-efficiency__badge{
  position:absolute; top:-22px; right:-22px;
  width:90px; height:90px; object-fit:contain;
  animation: msSpin 14s linear infinite;
  filter: drop-shadow(0 10px 26px rgba(36,163,255,.35));
}
@keyframes msSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* سمت راست: تیتر و لیست */
.ms-efficiency__right{ text-align:right; }
.ms-efficiency__kicker{
  display:inline-flex; align-items:center; gap:8px;
  color:#796eff; font-weight:900; margin-bottom:8px;
}
.ms-efficiency__kicker::before{ content:"—"; color:#b6b9ff; }
.ms-efficiency__title{
  margin:6px 0 8px; line-height:1.3;
  font-weight:900; font-size: clamp(20px,3.4vw,36px);
}
.ms-efficiency__desc{
  margin:0 0 12px; color:var(--muted); line-height:2; max-width:60ch;
}
.ms-efficiency__list{ list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.ms-efficiency__list li{
  display:flex; align-items:center; gap:10px;
  background:var(--card); border-radius:12px; padding:10px 12px;
  width: fit-content;
  box-shadow:0 8px 24px rgba(17,22,34,.06);
}
.ms-efficiency__list li i{
  width:24px; text-align:center; color:transparent;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  -webkit-background-clip:text; background-clip:text;
  font-size:18px;
}

/* رسپانسیو موبایل */
@media (max-width: 640px){
  .ms-efficiency__right{ text-align:center; }
  .ms-efficiency__list{ justify-content:center; }
  .ms-efficiency__list li{ width:auto; }
  .ms-efficiency__badge{ top:-16px; right:-16px; width:72px; height:72px; }
}

/* دارک‌مود خودکار */
@media (prefers-color-scheme: dark){
  .ms-efficiency{
    --fg:#e7e9ef;
    --muted:#b9bfd1;
    --surface:#0b0e14;
    --card:#0f1116;
    --chip:#1b2140;
  }
  .ms-efficiency__main{ background:#0f1116; box-shadow:0 22px 60px rgba(0,0,0,.45); }
  .ms-efficiency__list li{ box-shadow:0 10px 28px rgba(0,0,0,.35); }
}
