/* ===== SmartStudyDZ — طبقة Pro (iOS feel): نفس المحتوى والهيكل، تتحمّل بعد sd-theme.css ===== */
:root{--sdp-ease:cubic-bezier(.32,.72,0,1);--sdp-out:cubic-bezier(.22,1,.36,1);--sdp-r:28px;
 --sdp-sh:inset 0 1px 0 rgba(255,255,255,.95),0 0 0 1px rgba(24,56,88,.07),0 26px 60px -36px rgba(24,56,88,.42);
 --sdp-shh:inset 0 1px 0 rgba(255,255,255,.95),0 0 0 1px rgba(42,123,192,.22),0 38px 80px -36px rgba(31,95,150,.5)}

/* ---------- الأسطح: زجاج أبيض، حواف 28، خط ضوء، ظل أزرق ناعم ---------- */
.sd .wbox,.sd .plan,.sd .lvl,.sd .cta-box,.sd .tg-box,.sd .video-box,.sd .home-faq details,.sd .soc-row .btn-soc,.sd .home-subj > *{
  border-radius:var(--sdp-r)!important;border:0!important;background:rgba(255,255,255,.82)!important;
  -webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:var(--sdp-sh)!important;
  transition:transform .65s var(--sdp-ease),box-shadow .65s var(--sdp-ease)!important}
.sd .wbox:hover,.sd .plan:hover,.sd .lvl:hover,.sd .home-subj > *:hover{transform:translateY(-6px) scale(1.012)!important;box-shadow:var(--sdp-shh)!important}
.sd .wbox::before{display:none}                                   /* الخط الملوّن فوق الكارطة — iOS ما يستعملوش */
.sd .wbox .n{color:rgba(24,56,88,.06)}
/* الخطوة المضيئة في الخارطة: أزرق متدرّج (كيما كانت) + لمعة */
.sd .road .step.hl .box.wbox{background:linear-gradient(180deg,#2A7BC0,#1F5F96)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 34px 70px -34px rgba(31,95,150,.75)!important}
/* الأفضل في الأسعار: البرتقالي يبقى هو اللي يبرز */
.sd .plan.best{box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 0 0 2px var(--orange),0 36px 80px -34px rgba(247,162,51,.75)!important}
.sd .plan .badge{border-radius:999px;box-shadow:0 10px 22px -10px rgba(247,162,51,.9)}
.sd .plan .price b{letter-spacing:-.02em}

/* ---------- الأيقونات: squircle بلمعة (أزرق للمحتوى، برتقالي للتأكيد) ---------- */
.sd .wbox .ic,.sd .lvl .ic,.sd .wh .ic,.sd .pillars .pi,.sd .tg-ic{
  clip-path:url(#sd-squircle);-webkit-clip-path:url(#sd-squircle);border-radius:0!important;
  background:linear-gradient(160deg,#2A7BC0,#183858)!important;color:#fff!important;position:relative;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.4),inset 0 -8px 14px rgba(0,0,0,.22)!important;transition:transform .6s var(--sdp-ease)}
.sd .wbox:hover .ic,.sd .lvl:hover .ic{transform:translateY(-3px) rotate(-3deg)}
.sd .wbox .ic::after,.sd .lvl .ic::after,.sd .wh .ic::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.26),transparent 46%);pointer-events:none}
.sd .pillars .pi,.sd .lvl.featured .ic,.sd .road .step.hl .ic{background:linear-gradient(160deg,#FFB54D,#F7A233)!important;color:#3A2300!important}
.sd .road .step .num{background:linear-gradient(160deg,#FFB54D,#F7A233);color:#3A2300;border-radius:12px;box-shadow:0 10px 22px -12px rgba(247,162,51,.9)}
/* أعمدة الـ hero: المربع نفسه squircle، والأيقونة جواه صافية */
.sd .pillars .pi{width:50px;height:50px;font-size:19px;box-shadow:inset 0 1px 0 rgba(255,255,255,.45)!important}
.sd .pillars li:nth-child(2) .pi{background:linear-gradient(160deg,#2A7BC0,#183858)!important;color:#fff!important}
.sd .pillars .pi::before{display:none}
.sd .pillars .pi > i{background:none!important;clip-path:none!important;-webkit-clip-path:none!important;box-shadow:none!important;color:inherit!important;text-shadow:none}

/* ---------- الأزرار: ضغطة iOS + لمعة ---------- */
.sd .btn{transition:transform .35s var(--sdp-ease),box-shadow .35s var(--sdp-ease),filter .25s,background .25s!important;will-change:transform;position:relative;overflow:hidden}
.sd .btn:hover{transform:translateY(-2px)}
.sd .btn:active{transform:scale(.96)!important}
.sd .btn-primary{background:linear-gradient(135deg,#F7A233,#FFB54D)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 16px 34px -16px rgba(247,162,51,.95)!important}
.sd .btn-primary:hover{filter:brightness(1.05)}
.sd .btn-blue,.sd .btn-navy{background:linear-gradient(135deg,#1F5F96,#2A7BC0)!important;color:#fff!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 16px 34px -16px rgba(42,123,192,.9)!important}
.sd .btn-primary::before,.sd .btn-wa::before{content:"";position:absolute;top:0;bottom:0;width:40%;left:-60%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.42),transparent);transform:skewX(-20deg);pointer-events:none}
.sd .btn.sdp-shine::before{animation:sdpShine 1.4s var(--sdp-out) .5s 1}
@keyframes sdpShine{to{left:130%}}

/* ---------- الهيدر: زجاج ومؤشر ينزلق تحت الرابط ---------- */
.sd .hdr{background:rgba(255,255,255,.72)!important;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-bottom:0!important;box-shadow:0 1px 0 rgba(24,56,88,.06),0 12px 30px -24px rgba(24,56,88,.35)}
.sd .hdr .nav a{position:relative;transition:color .25s}
.sd .hdr .nav a::after{content:"";position:absolute;left:12px;right:12px;bottom:-6px;height:2.5px;border-radius:3px;background:linear-gradient(90deg,#F7A233,#2A7BC0);transform:scaleX(0);transform-origin:center;transition:transform .45s var(--sdp-ease)}
.sd .hdr .nav a:hover::after,.sd .hdr .nav a.on::after{transform:scaleX(1)}
/* تبويبات الأسعار: مؤشر منزلق */
.sd .tabs{position:relative;isolation:isolate}
.sd .tabs .tab{position:relative;z-index:1;transition:color .3s!important;background:transparent!important}
.sd .tabs .tab.on{color:#fff!important}
.sd .tabs .sdp-glider{position:absolute;top:4px;bottom:4px;z-index:0;border-radius:14px;background:linear-gradient(135deg,#1F5F96,#2A7BC0);box-shadow:0 10px 22px -12px rgba(42,123,192,.9);transition:left .5s var(--sdp-ease),width .5s var(--sdp-ease),right .5s var(--sdp-ease)}
/* شارات العناوين */
.sd .sec-head .tag,.sd .eyebrow{border-radius:999px;background:rgba(247,162,51,.12);color:#B86A00;box-shadow:inset 0 0 0 1px rgba(247,162,51,.35)}
/* العدّ التنازلي: أرقام في مربعات زجاجية */
.sd .cd-vp,.sd .cd-slide{border-radius:28px}
.sd .cd-slide{box-shadow:inset 0 1px 0 rgba(255,255,255,.22)}
.sd .cd-u{border-radius:20px;background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.2);box-shadow:inset 0 1px 0 rgba(255,255,255,.18)}
.sd .app-card{border-radius:var(--sdp-r);box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 34px 70px -34px rgba(31,95,150,.75)}
.sd .app-card .eyebrow{background:rgba(255,255,255,.14)!important;color:#fff!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.25)!important}
.sd .app-card .steps li{border-radius:18px;background:rgba(255,255,255,.12);border:0;box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}
.sd .app-card .n{clip-path:none;-webkit-clip-path:none;border-radius:10px!important;background:linear-gradient(160deg,#FFB54D,#F7A233)!important;color:#3A2300!important;box-shadow:none!important}
/* الدوك في الهاتف */
.sd .dock{background:rgba(255,255,255,.78)!important;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-top:0!important;box-shadow:0 -1px 0 rgba(24,56,88,.06),0 -12px 30px -24px rgba(24,56,88,.35)}
.sd .dock a.on{color:var(--orange)!important}

/* ---------- الحركات ---------- */
.sd .rv{opacity:0;transform:translateY(24px) scale(.985);filter:blur(5px);transition:opacity .9s var(--sdp-out),transform 1.1s var(--sdp-ease),filter .9s var(--sdp-out)!important;transition-delay:var(--d,0ms)!important}
.sd .rv.in{opacity:1;transform:none;filter:none}
.sd .sdp-rv{opacity:0;transform:translateY(24px) scale(.985);filter:blur(5px);transition:opacity .9s var(--sdp-out),transform 1.1s var(--sdp-ease),filter .9s var(--sdp-out);transition-delay:var(--d,0ms)}
.sd .sdp-rv.in{opacity:1;transform:none;filter:none}
/* الخارطة في الـ hero تطفو ببطء */
.sd .map-box{animation:sdpFloat 7s ease-in-out infinite}
@keyframes sdpFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
.sd .sdp-num{font-variant-numeric:tabular-nums}
@media (prefers-reduced-motion:reduce){.sd .rv,.sd .sdp-rv{opacity:1;transform:none;filter:none;transition:none}.sd .map-box{animation:none}}

/* ---------- الهيدر: كبسولة زجاجية عائمة على ستايل iOS ---------- */
.sd .hdr{position:sticky;top:10px!important;z-index:50;margin:10px auto 0;width:calc(100% - 20px);max-width:calc(var(--max,1180px) + 28px);border-radius:24px;
  background:rgba(255,255,255,.62)!important;-webkit-backdrop-filter:blur(22px) saturate(1.3);backdrop-filter:blur(22px) saturate(1.3);border:0!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 0 0 1px rgba(24,56,88,.07),0 20px 50px -30px rgba(24,56,88,.45)!important;transition:box-shadow .4s var(--sdp-ease),background .3s}
.sd .hdr.scrolled{background:rgba(255,255,255,.78)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 0 0 1px rgba(24,56,88,.08),0 26px 60px -30px rgba(24,56,88,.55)!important}
.sd .hdr .wrap{height:66px;padding:0 12px 0 14px}
.sd .hdr .logo img{width:44px;height:44px;clip-path:url(#sd-squircle);-webkit-clip-path:url(#sd-squircle);object-fit:cover;border-radius:0}
.sd .hdr .brand-word{font-weight:900}
.sd .hdr-cta{gap:8px}
.sd .hdr-cta .btn{border-radius:16px!important;height:42px;padding:0 18px!important;font-weight:800;font-size:14px}
.sd .hdr-cta .btn-ghost{background:#fff!important;color:var(--navy)!important;border:0!important;box-shadow:inset 0 0 0 1px rgba(24,56,88,.08),0 8px 18px -12px rgba(24,56,88,.35)!important}
.sd .hdr-cta .btn-primary{background:linear-gradient(135deg,#1F5F96,#2A7BC0)!important;color:#fff!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 14px 28px -14px rgba(42,123,192,.9)!important}
.sd .hdr-cta .btn-primary::before{display:none}
.sd .sd-theme-btn{width:42px;height:42px;border-radius:50%!important;background:#fff!important;border:0!important;box-shadow:inset 0 0 0 1px rgba(24,56,88,.08)!important;color:var(--navy)!important;display:grid;place-items:center}
.sd .sd-theme-btn svg{width:18px;height:18px}
/* زر القائمة: خطّين بسيطين بدل الأيقونة */
.sd .burger{width:42px;height:42px;border-radius:14px!important;background:#fff!important;border:0!important;box-shadow:inset 0 0 0 1px rgba(24,56,88,.08)!important;position:relative}
.sd .burger i{display:none!important}
.sd .burger::before,.sd .burger::after{content:"";position:absolute;left:13px;right:13px;height:2px;border-radius:2px;background:var(--navy);transition:transform .35s var(--sdp-ease),right .35s var(--sdp-ease)}
.sd .burger::before{top:16px}.sd .burger::after{bottom:16px;right:19px}
.sd .burger:hover::after{right:13px}
@media (max-width:760px){.sd .hdr{width:calc(100% - 16px);top:8px!important;margin-top:8px}.sd .hdr .wrap{height:60px}.sd .hdr-cta .btn{height:40px;padding:0 14px!important}.sd .sd-theme-btn,.sd .burger{width:40px;height:40px}}
/* الوضع الليلي */
html[data-theme=dark] .sd .hdr{background:rgba(16,36,60,.62)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 0 0 1px rgba(255,255,255,.08),0 20px 50px -30px rgba(0,0,0,.7)!important}
html[data-theme=dark] .sd .hdr-cta .btn-ghost,html[data-theme=dark] .sd .sd-theme-btn,html[data-theme=dark] .sd .burger{background:rgba(255,255,255,.08)!important;color:#fff!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)!important}
html[data-theme=dark] .sd .burger::before,html[data-theme=dark] .sd .burger::after{background:#fff}

/* الشارة فوق عنوان الـ hero: محذوفة */
.sd .hero .eyebrow{display:none!important}

/* ---------- خريطة الـ hero: بلا دائرة، أكبر، برتقالية — والنقاط زرقاء ---------- */
.sd .map-bg,.sd .map-ring{display:none!important}
.sd .map-box{max-width:600px!important;aspect-ratio:1/1;filter:drop-shadow(0 30px 40px rgba(24,56,88,.28))}
.sd .map-svg{inset:2%!important;width:96%!important;height:96%!important}
.sd .wl{fill:#F7A233!important;stroke:#fff!important;stroke-width:1.2}
.sd .wl:nth-child(3n){fill:#F9B04D!important}
.sd .wl:nth-child(3n+1){fill:#F59E2B!important}
.sd .wl:nth-child(4n){fill:#FBBE66!important}
.sd .wl:hover,.sd .wl.on{fill:#2A7BC0!important}
.sd .dot .core{fill:#1F5F96!important;stroke:#fff!important}
.sd .dot .pulse{fill:#2A7BC0!important}
.sd .dot.old .core{fill:#5FA8E8!important}
.sd .map-hint{border:0;background:rgba(255,255,255,.85);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:var(--sdp-sh);border-radius:999px}
@media (max-width:760px){.sd .map-box{max-width:420px!important}}

/* ---------- قسم «علاش SmartStudyDZ»: نفس المحتوى، شكل جديد (بطاقات مع chips بدل القوائم والخط العمودي) ---------- */
.sd .splan{display:flex!important;align-items:center;gap:18px;padding:16px 20px!important;border-radius:24px!important;background:rgba(255,255,255,.78)!important;border:0!important;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:var(--sdp-sh)!important;text-align:start!important;flex-direction:row!important}
.sd .splan-k{width:72px;height:72px;flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;clip-path:url(#sd-squircle);-webkit-clip-path:url(#sd-squircle);background:linear-gradient(160deg,#2A7BC0,#183858)!important;color:#fff!important;border-radius:0!important;box-shadow:none!important;margin:0!important;line-height:1}
.sd .splan-big{font-size:30px!important;font-weight:900!important;color:#fff!important;line-height:1!important}
.sd .splan-u{font-size:12px!important;font-weight:700!important;color:rgba(255,255,255,.85)!important;margin-top:2px}
.sd .splan-b{flex:1;min-width:0;display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}
.sd .splan-tag{order:0;border-radius:999px;background:rgba(247,162,51,.14);color:#B86A00;box-shadow:inset 0 0 0 1px rgba(247,162,51,.35);font-size:12px;font-weight:800;padding:4px 11px;display:inline-flex}
.sd .splan h3{order:1;margin:0!important;font-size:18px!important;font-weight:900!important;color:var(--navy)!important;flex:1 0 100%}
.sd .splan-flow{order:2;display:inline-flex!important;flex-wrap:wrap;align-items:center;gap:6px;padding:4px;border-radius:20px;background:rgba(24,56,88,.06);margin:0!important;max-width:100%}
.sd .splan-flow span{display:inline-flex;align-items:center;gap:7px;height:32px;padding:0 12px 0 6px;white-space:nowrap;border-radius:999px;background:#fff;color:var(--navy);font-weight:800;font-size:13px;box-shadow:0 6px 14px -10px rgba(24,56,88,.4)}
.sd .splan-flow span b{width:22px;height:22px;border-radius:50%;background:linear-gradient(160deg,#2A7BC0,#1F5F96);color:#fff;display:grid;place-items:center;font-size:12px}
.sd .splan-flow span:last-child b{background:linear-gradient(160deg,#FFB54D,#F7A233);color:#3A2300}
.sd .splan-flow i{color:rgba(24,56,88,.35);font-size:12px}
.sd .splan-how{order:3;margin:0!important;font-size:13px!important;color:var(--muted)!important;font-weight:700!important}

.sd .road{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:14px!important;margin-top:16px!important;padding:0!important}
.sd .road::before,.sd .road::after,.sd .step::before,.sd .step::after{display:none!important}
.sd .road .step{display:block!important;position:relative;padding:0!important;margin:0!important}
.sd .road .step .num{position:absolute;left:18px;top:14px;z-index:3;width:auto;height:auto;font-size:40px;font-weight:900;color:rgba(24,56,88,.07)!important;background:none!important;box-shadow:none!important;border-radius:0!important;transform:none!important;line-height:1}
.sd .road .step .box.wbox{height:100%;padding:22px 22px 20px!important;background:rgba(255,255,255,.82)!important}
.sd .road .step.hl .box.wbox{background:rgba(255,255,255,.82)!important;color:inherit!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 0 0 1.5px rgba(42,123,192,.35),0 26px 60px -36px rgba(31,95,150,.55)!important}
.sd .road .step.hl .box.wbox::after{content:"ابدأ من هنا";position:absolute;top:16px;left:18px;height:26px;padding:0 11px;border-radius:999px;background:linear-gradient(135deg,#F7A233,#FFB54D);color:#3A2300;font-size:12px;font-weight:800;display:inline-flex;align-items:center;box-shadow:0 10px 22px -12px rgba(247,162,51,.9)}
.sd .road .step.hl .num{display:none}
.sd .road .step.hl h3,.sd .road .step.hl li,.sd .road .step.hl .note{color:var(--navy)!important}
.sd .road .wh{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.sd .road .wh .ic{width:48px;height:48px;font-size:19px;margin:0!important;flex:none}
.sd .road .wh h3{margin:0!important;font-size:18px!important;font-weight:900!important;color:var(--navy)!important}
.sd .road .step.hl .wh .ic{background:linear-gradient(160deg,#2A7BC0,#183858)!important;color:#fff!important}
.sd .road ul{display:flex!important;flex-wrap:wrap;gap:7px;margin:0!important;padding:0!important;list-style:none}
.sd .road ul li{display:inline-flex!important;align-items:center;gap:6px;padding:6px 11px;border-radius:999px;background:rgba(31,95,150,.07);color:var(--navy)!important;font-size:13px!important;font-weight:700!important;line-height:1.4;margin:0!important}
.sd .road ul li i.fa-circle{display:none!important}
.sd .road ul li i.fa-circle-question{font-size:12px;color:#2A7BC0}
.sd .road ul li .big,.sd .road ul li b{color:#B86A00!important;font-weight:900}
.sd .road .note{margin:12px 0 0!important;font-size:12.5px!important;color:var(--muted)!important;font-weight:700!important;display:flex;align-items:center;gap:6px}
@media (max-width:1000px){.sd .road{grid-template-columns:1fr 1fr!important}}
@media (max-width:640px){.sd .road{grid-template-columns:1fr!important}.sd .splan{align-items:flex-start;gap:14px;padding:14px 16px!important}.sd .splan-k{width:56px;height:56px}.sd .splan-big{font-size:24px!important}.sd .splan-u{font-size:11px!important}.sd .splan h3{font-size:16px!important}.sd .splan-flow span{height:30px;font-size:12.5px}}
/* تصحيح عرض الخطوات (كانت 50% للخط الزمني) */
.sd .road .step,.sd .road .step:nth-child(even){width:100%!important;margin:0!important;padding:0!important}
.sd .road .step .box{width:100%!important;max-width:none!important;margin:0!important}
.sd .road .step .num{inset-inline:auto!important;left:18px!important;right:auto!important}
/* شارة «ابدأ من هنا» غير على الخطوة الأولى */
.sd .road .step.hl:not(:first-child) .box.wbox::after{display:none}
.sd .road .step.hl:not(:first-child) .num{display:block}
.sd .road .step.hl:not(:first-child) .box.wbox{box-shadow:var(--sdp-sh)!important}
.sd .road .step.hl:not(:first-child) .wh .ic{background:linear-gradient(160deg,#FFB54D,#F7A233)!important;color:#3A2300!important}
.sd .road ul li{white-space:normal}
.sd .road .step.hl p,.sd .road .step p{color:var(--muted)!important;font-weight:700!important}
.sd .road ol{margin:0!important;padding:0!important}
/* الهيدر في الهاتف: كلش يدخل في الكبسولة */
@media (max-width:760px){
  .sd .hdr .wrap{padding:0 8px 0 8px!important;gap:6px!important;height:58px}
  .sd .hdr .logo{gap:6px!important;font-size:17px!important;min-width:0}
  .sd .hdr .logo img{width:38px!important;height:38px!important}
  .sd .hdr .brand-word{white-space:nowrap}
  .sd .hdr-cta{gap:6px!important;flex:none}
  .sd .hdr-cta .btn{height:38px!important;padding:0 12px!important;font-size:13px!important;border-radius:13px!important}
  .sd .sd-theme-btn,.sd .burger{width:38px!important;height:38px!important;flex:none}
  .sd .burger::before{top:14px}.sd .burger::after{bottom:14px}
}
@media (max-width:400px){
  .sd .hdr .brand-word{font-size:16px}
  .sd .hdr-cta .btn{padding:0 10px!important}
  .sd .sd-theme-btn{display:none!important}
}
/* فقرة التعريف تحت عنوان الـ hero: محذوفة */
.sd .hero .hero-intro{display:none!important}

/* ===================== الوضع الليلي لطبقة Pro: نفس الزجاج بألوان الليل ===================== */
html[data-theme=dark]{--sdp-sh:inset 0 1px 0 rgba(255,255,255,.09),0 0 0 1px rgba(255,255,255,.07),0 26px 60px -36px rgba(0,0,0,.75);
 --sdp-shh:inset 0 1px 0 rgba(255,255,255,.12),0 0 0 1px rgba(106,176,234,.35),0 38px 80px -36px rgba(0,0,0,.85)}
/* الأسطح */
html[data-theme=dark] .sd .wbox,html[data-theme=dark] .sd .plan,html[data-theme=dark] .sd .lvl,html[data-theme=dark] .sd .cta-box,html[data-theme=dark] .sd .tg-box,
html[data-theme=dark] .sd .home-faq details,html[data-theme=dark] .sd .soc-row .btn-soc,html[data-theme=dark] .sd .home-subj > *,html[data-theme=dark] .sd .splan,
html[data-theme=dark] .sd .road .step .box.wbox,html[data-theme=dark] .sd .road .step.hl .box.wbox,html[data-theme=dark] .sd .road .step.hl:not(:first-child) .box.wbox{
  background:rgba(18,35,58,.74)!important;color:#D9E5F2;box-shadow:var(--sdp-sh)!important}
html[data-theme=dark] .sd .video-box{background:#0d1b2a!important;box-shadow:var(--sdp-sh)!important}
html[data-theme=dark] .sd .wbox:hover,html[data-theme=dark] .sd .plan:hover,html[data-theme=dark] .sd .lvl:hover,html[data-theme=dark] .sd .home-subj > *:hover{box-shadow:var(--sdp-shh)!important}
html[data-theme=dark] .sd .home-subj a.all{background:linear-gradient(135deg,#1F5F96,#2A7BC0)!important;color:#fff!important}
html[data-theme=dark] .sd .plan.best{box-shadow:inset 0 1px 0 rgba(255,255,255,.09),0 0 0 2px var(--orange),0 36px 80px -34px rgba(0,0,0,.8)!important}
html[data-theme=dark] .sd .plan.best .price b,html[data-theme=dark] .sd .plan.best .pr-row.main b{color:#FFB54D!important}
html[data-theme=dark] .sd .road .step.hl .box.wbox{box-shadow:inset 0 1px 0 rgba(255,255,255,.09),0 0 0 1.5px rgba(106,176,234,.45),0 26px 60px -36px rgba(0,0,0,.8)!important}
html[data-theme=dark] .sd .tg-box .tg-ic{background:linear-gradient(160deg,#2A7BC0,#183858)!important}
html[data-theme=dark] .sd .tg-box .tg-ic i{color:#fff}
/* الشارات والـ chips */
html[data-theme=dark] .sd .sec-head .tag,html[data-theme=dark] .sd .eyebrow,html[data-theme=dark] .sd .splan-tag{background:rgba(247,162,51,.16)!important;color:#FFB54D!important;box-shadow:inset 0 0 0 1px rgba(247,162,51,.4)}
html[data-theme=dark] .sd .road ul li{background:rgba(255,255,255,.07)!important;color:#EAF2FB!important}
html[data-theme=dark] .sd .road ul li .big,html[data-theme=dark] .sd .road ul li b{color:#FFB54D!important}
html[data-theme=dark] .sd .road ul li i.fa-circle-question{color:#8CC3F2}
html[data-theme=dark] .sd .road .step .num{color:rgba(255,255,255,.09)!important}
html[data-theme=dark] .sd .road .note,html[data-theme=dark] .sd .road .step p,html[data-theme=dark] .sd .splan-how{color:#9DB2C8!important}
html[data-theme=dark] .sd .road .wh h3,html[data-theme=dark] .sd .splan h3,html[data-theme=dark] .sd .road .step.hl h3,html[data-theme=dark] .sd .road .step.hl li{color:#EAF2FB!important}
html[data-theme=dark] .sd .wbox .note{background:rgba(247,162,51,.14);color:#FFB54D}
/* بار «خطة الدراسة» */
html[data-theme=dark] .sd .splan-flow{background:rgba(255,255,255,.06)}
html[data-theme=dark] .sd .splan-flow span{background:rgba(255,255,255,.1);color:#EAF2FB;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
html[data-theme=dark] .sd .splan-flow i{color:rgba(255,255,255,.35)}
/* الخريطة والدوك */
html[data-theme=dark] .sd .map-hint{background:rgba(18,35,58,.85);color:#EAF2FB;box-shadow:var(--sdp-sh)}
html[data-theme=dark] .sd .wl{stroke:#0B1726!important}
html[data-theme=dark] .sd .dot .core{stroke:#0B1726!important}
html[data-theme=dark] .sd .dock{background:rgba(11,23,38,.86)!important;box-shadow:0 -1px 0 rgba(255,255,255,.06),0 -12px 30px -24px rgba(0,0,0,.8)}
html[data-theme=dark] .sd .dock a{color:#9DB2C8}
/* الأسعار: التبويبات */
html[data-theme=dark] .sd .tabs{background:rgba(18,35,58,.74)!important;border-color:transparent!important;box-shadow:var(--sdp-sh)}
/* الهيدر: الرابط النشط والكلمة */
html[data-theme=dark] .sd .hdr .brand-word{color:#EAF2FB}
html[data-theme=dark] .sd .hdr .nav a:hover,html[data-theme=dark] .sd .hdr .nav a.on{background:rgba(255,255,255,.06)}
html[data-theme=dark] .sd .hdr .logo img{background:#fff;padding:0;border-radius:0}
/* الأزرار البيضاء الثانوية */
html[data-theme=dark] .sd .btn-wa,html[data-theme=dark] .sd .btn-tg,html[data-theme=dark] .sd .btn-rev,html[data-theme=dark] .sd .cd-arr{background:rgba(18,35,58,.8)!important;color:#EAF2FB!important;border-color:transparent!important;box-shadow:var(--sdp-sh)}
/* الأقسام ذات الخلفية الفاتحة (.soft): في الليل تولي شفافة بلا رمادي */
html[data-theme=dark] .sd .soft{background:rgba(255,255,255,.035)!important;border-color:rgba(255,255,255,.06)!important}
.sd .tabs{scrollbar-width:none}.sd .tabs::-webkit-scrollbar{display:none}

/* ===================== قائمة الهاتف: لوحة زجاجية تنزل من الكبسولة بحركة iOS ===================== */
@media (max-width:860px){
  html body.sd .hdr .nav{display:flex!important;flex-direction:column;align-items:stretch;gap:2px;position:absolute;top:calc(100% + 8px);right:0;left:0;padding:8px;
    border-radius:22px;background:#fff!important;border:0!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 0 0 1px rgba(24,56,88,.07),0 30px 70px -30px rgba(24,56,88,.55)!important;
    transform-origin:top center;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-10px) scale(.96);
    transition:opacity .28s var(--sdp-out),transform .45s var(--sdp-ease),visibility 0s linear .45s}
  html body.sd .hdr .nav.open{top:calc(100% + 8px);right:0;left:0;padding:8px;border-radius:22px;border-bottom:0;flex-direction:column;align-items:stretch;opacity:1;visibility:visible;pointer-events:auto;transform:none;transition:opacity .25s var(--sdp-out),transform .5s var(--sdp-ease),visibility 0s}
  html body.sd .hdr .nav a{display:flex;align-items:center;min-height:50px;padding:0 16px;border-radius:15px;font-size:16px;font-weight:800;color:var(--navy);background:transparent;
    opacity:0;transform:translateY(-8px);transition:opacity .35s var(--sdp-out),transform .5s var(--sdp-ease),background .2s;transition-delay:0s}
  html body.sd .hdr .nav a::after{display:none}
  html body.sd .hdr .nav a + a{position:relative}
  html body.sd .hdr .nav a + a::before{content:"";position:absolute;top:-1px;right:16px;left:16px;height:1px;background:rgba(24,56,88,.07)}
  html body.sd .hdr .nav.open a{opacity:1;transform:none}
  html body.sd .hdr .nav.open a:nth-child(1){transition-delay:.04s}html body.sd .hdr .nav.open a:nth-child(2){transition-delay:.08s}html body.sd .hdr .nav.open a:nth-child(3){transition-delay:.12s}
  html body.sd .hdr .nav.open a:nth-child(4){transition-delay:.16s}html body.sd .hdr .nav.open a:nth-child(5){transition-delay:.20s}html body.sd .hdr .nav.open a:nth-child(6){transition-delay:.24s}
  html body.sd .hdr .nav.open a:nth-child(7){transition-delay:.28s}html body.sd .hdr .nav.open a:nth-child(8){transition-delay:.32s}
  html body.sd .hdr .nav a.on{background:linear-gradient(135deg,rgba(31,95,150,.10),rgba(42,123,192,.06));color:var(--blue)}
  html body.sd .hdr .nav a.on + a::before,html body.sd .hdr .nav a.on::before{display:none}
  html body.sd .hdr .nav a:active{background:rgba(24,56,88,.06);transform:scale(.985)}
  html body.sd .hdr .nav.open a.nav-out{display:flex;background:rgba(194,65,43,.08);color:#C2412B;margin-top:4px}
  /* كي تكون القائمة مفتوحة: الكبسولة بلا blur (الـ backdrop-filter كان يرسم شبح الـ hero فوق اللوحة) */
  html body.sd .hdr.menu-open{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:rgba(255,255,255,.96)!important}
  html[data-theme=dark] body.sd .hdr.menu-open{background:rgba(15,30,49,.97)!important}
  /* زر القائمة: الخطّين يولّيو X */
  html body.sd .hdr.menu-open .burger::before{transform:translateY(4px) rotate(45deg)}
  html body.sd .hdr.menu-open .burger::after{right:13px;transform:translateY(-4px) rotate(-45deg)}
  html[data-theme=dark] body.sd .hdr .nav{background:#0F1E31!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 0 0 1px rgba(255,255,255,.08),0 30px 70px -30px rgba(0,0,0,.8)!important}
  html[data-theme=dark] body.sd .hdr .nav a{color:#EAF2FB}
  html[data-theme=dark] body.sd .hdr .nav a + a::before{background:rgba(255,255,255,.07)}
  html[data-theme=dark] body.sd .hdr .nav a.on{background:rgba(255,255,255,.08);color:#8CC3F2}
  html[data-theme=dark] body.sd .hdr .nav a:active{background:rgba(255,255,255,.06)}
}

/* ===================== الصفحات الداخلية القديمة (body.sd-skin): نفس الطبقة Pro فوق sd-skin.css ===================== */
html body.sd.sd-skin .hdr .logo img{width:44px!important;height:44px!important;border-radius:0!important}
@media (max-width:760px){html body.sd.sd-skin .hdr .logo img{width:38px!important;height:38px!important}}
html body.sd.sd-skin .hdr .btn-primary{background:linear-gradient(135deg,#1F5F96,#2A7BC0)!important;color:#fff!important;border:0!important}
html body.sd.sd-skin .hdr .btn-ghost{background:#fff!important;color:var(--navy)!important;border:0!important;box-shadow:inset 0 0 0 1px rgba(24,56,88,.08),0 8px 18px -12px rgba(24,56,88,.35)!important}
html[data-theme=dark] body.sd.sd-skin .hdr .btn-ghost{background:rgba(255,255,255,.08)!important;color:#fff!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)!important}
html body.sd.sd-skin .hdr{top:10px!important}
@media (max-width:760px){html body.sd.sd-skin .hdr{top:8px!important}}
/* الكروت: زجاج 28 */
html body.sd.sd-skin :is(.level-card,.course-card-public,.course-card,.pricing-card,.plan-card,.profile-card,.about-card,.card,.stat-card,.workspace-card,.info-card,.dashboard-card,.feature-card,.subject-card,.auth-wrapper,.sd-lock):not(.hdr *){
  background:rgba(255,255,255,.84)!important;border:0!important;border-radius:var(--sdp-r)!important;box-shadow:var(--sdp-sh)!important;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}
html body.sd.sd-skin :is(.level-card,.course-card-public,.course-card,.pricing-card,.plan-card,.card,.stat-card,.dashboard-card,.feature-card,.subject-card):hover{transform:translateY(-6px) scale(1.012);box-shadow:var(--sdp-shh)!important}
html body.sd.sd-skin :is(.level-icon,.course-icon){clip-path:url(#sd-squircle);-webkit-clip-path:url(#sd-squircle);border-radius:0!important;background:linear-gradient(160deg,#2A7BC0,#183858)!important;box-shadow:none!important}
html body.sd.sd-skin :is(.profile-header,.dashboard-header,.welcome-section,.welcome-card){border-radius:var(--sdp-r)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 34px 70px -34px rgba(31,95,150,.75)!important}
/* الحقول والأزرار */
html body.sd.sd-skin input:not([type=checkbox]):not([type=radio]),html body.sd.sd-skin select,html body.sd.sd-skin textarea{border-radius:14px!important;border:0!important;box-shadow:inset 0 0 0 1.5px rgba(24,56,88,.1)!important;background:rgba(255,255,255,.9)!important}
html body.sd.sd-skin :is(input,select,textarea):focus{box-shadow:inset 0 0 0 2px #2A7BC0,0 0 0 4px rgba(42,123,192,.14)!important}
html body.sd.sd-skin :is(.btn-primary,.btn-subscribe,.btn-login-submit,.btn-solid,.btn-login):not(.hdr *){border-radius:14px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 16px 34px -16px rgba(247,162,51,.95)!important}
html body.sd.sd-skin :is(.btn-secondary,.btn-ghost,.ghost,.btn.ghost):not(.hdr *){border:0!important;border-radius:14px!important;box-shadow:inset 0 0 0 1px rgba(24,56,88,.1)!important}
html body.sd.sd-skin .pricing-tabs :is(button,a,.tab){border:0!important;box-shadow:inset 0 0 0 1px rgba(24,56,88,.1)}
html body.sd.sd-skin .pricing-tabs :is(button,a,.tab).active{background:linear-gradient(135deg,#1F5F96,#2A7BC0)!important;box-shadow:0 10px 22px -12px rgba(42,123,192,.9)}
html body.sd.sd-skin:not(.sd-admin) .ssd-top nav{border:0!important;background:rgba(255,255,255,.82)!important;box-shadow:var(--sdp-sh)!important;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}
html body.sd.sd-skin .sd-acc a{border:0;box-shadow:inset 0 0 0 1px rgba(24,56,88,.1);border-radius:14px}
/* الوضع الليلي للصفحات الداخلية (sd-skin.css كان يخليها بيضاء) */
html[data-theme=dark] body.sd.sd-skin :is(.level-card,.course-card-public,.course-card,.pricing-card,.plan-card,.profile-card,.about-card,.card,.stat-card,.workspace-card,.info-card,.dashboard-card,.feature-card,.subject-card,.auth-wrapper,.sd-lock):not(.hdr *){background:rgba(18,35,58,.78)!important;color:#D9E5F2!important;box-shadow:var(--sdp-sh)!important}
html[data-theme=dark] body.sd.sd-skin :is(.level-card,.course-card-public,.course-card,.pricing-card,.plan-card,.card,.stat-card,.dashboard-card,.feature-card,.subject-card):hover{box-shadow:var(--sdp-shh)!important}
html[data-theme=dark] body.sd.sd-skin :is(h1,h2,h3,h4):not(.hdr *):not(.ft *):not(.story *):not(.profile-header *):not(.dashboard-header *):not(.welcome-section *):not(.welcome-card *){color:#EAF2FB!important}
html[data-theme=dark] body.sd.sd-skin :is(p,li,td,th,label,.remember-me,.auth-subtitle,.subtitle,.course-description,.plan-desc,.course-info,.muted,.sub):not(.hdr *):not(.ft *):not(.profile-header *):not(.dashboard-header *):not(.welcome-section *):not(.welcome-card *){color:#C9D7E6}
html[data-theme=dark] body.sd.sd-skin :is(.auth-form,.sd-acc) :is(label,b){color:#EAF2FB!important}
html[data-theme=dark] body.sd.sd-skin .sd-acc{border-top-color:rgba(255,255,255,.1)}
html[data-theme=dark] body.sd.sd-skin .sd-acc a{background:rgba(255,255,255,.06);color:#EAF2FB;box-shadow:inset 0 0 0 1px rgba(255,255,255,.1)}
html[data-theme=dark] body.sd.sd-skin input:not([type=checkbox]):not([type=radio]),html[data-theme=dark] body.sd.sd-skin select,html[data-theme=dark] body.sd.sd-skin textarea{background:rgba(255,255,255,.06)!important;color:#EAF2FB!important;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.12)!important}
html[data-theme=dark] body.sd.sd-skin ::placeholder{color:#7F95AD!important}
html[data-theme=dark] body.sd.sd-skin :is(.btn-secondary,.btn-ghost,.ghost,.btn.ghost):not(.hdr *){background:rgba(255,255,255,.07)!important;color:#EAF2FB!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)!important}
html[data-theme=dark] body.sd.sd-skin .pricing-tabs :is(button,a,.tab){background:rgba(255,255,255,.06)!important;color:#C9D7E6!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.1)}
html[data-theme=dark] body.sd.sd-skin .pricing-tabs :is(button,a,.tab).active{background:linear-gradient(135deg,#1F5F96,#2A7BC0)!important;color:#fff!important}
html[data-theme=dark] body.sd.sd-skin:not(.sd-admin) .ssd-top nav{background:rgba(18,35,58,.78)!important}
html[data-theme=dark] body.sd.sd-skin:not(.sd-admin) .ssd-top nav a{color:#C9D7E6!important}
html[data-theme=dark] body.sd.sd-skin:not(.sd-admin) .ssd-top nav a:hover{background:rgba(255,255,255,.06)!important;color:#EAF2FB!important}
html[data-theme=dark] body.sd.sd-skin :is(.current-price,.plan-price){color:#FFB54D!important}
html[data-theme=dark] body.sd.sd-skin .course-category{background:rgba(247,162,51,.14)!important;color:#FFB54D!important}
html[data-theme=dark] body.sd.sd-skin .sd-free-bar{border-color:rgba(247,162,51,.5)}

/* ===================== الخريطة: كل النقاط تنبض ===================== */
.sd .dot .pulse{fill:#2A7BC0!important;opacity:.4;animation:sdpulse 2.4s ease-out infinite}
@media (prefers-reduced-motion:reduce){.sd .dot .pulse{animation:none;opacity:.2}}

/* العمود الرابع في الـ hero أزرق + زر التجربة المجانية في الأسعار */
.sd .pillars li:nth-child(4) .pi{background:linear-gradient(160deg,#2A7BC0,#183858)!important;color:#fff!important}
.sd .sec-head .sd-trial{margin:14px 0 0}
.sd .sec-head .sd-trial .btn{padding:12px 20px;font-size:15px}

/* الفوتر: ما توفّره المنصة (نص مقروء لمحركات البحث) */
.sd .ft .ft-feats{list-style:none;display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 0;padding:0;max-width:360px}
.sd .ft .ft-feats li{font-size:12.5px;font-weight:700;color:#C9D7E6;background:rgba(255,255,255,.07);border-radius:999px;padding:4px 10px;line-height:1.5}
.sd .ft .ft-feats li a{color:#FFB54D}
.sd .ft .ft-feats li:has(a){background:rgba(247,162,51,.14)}

/* ===================== الكلاسمون العام تحت الخريطة ===================== */
.sd .home-top-blk{position:relative;z-index:1;padding:28px 0 0}
.sd .home-top-blk .home-top{max-width:760px;margin:0 auto}
@media (max-width:640px){.sd .home-top-blk{padding:18px 0 0}}
.sd .home-top{border-radius:var(--sdp-r);background:rgba(255,255,255,.84);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:var(--sdp-sh);padding:16px 16px 12px;text-align:start}
.sd .home-top-h{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.sd .home-top-h i{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:linear-gradient(160deg,#FFB54D,#F7A233);color:#3A2300;font-size:15px;flex:none}
.sd .home-top-h h2{margin:0;font-size:16px;font-weight:900;color:var(--navy);line-height:1.4}
.sd .home-top-l{list-style:none;margin:0;padding:0;display:grid;gap:5px}
.sd .home-top-l li{display:grid;grid-template-columns:30px 1fr auto auto;align-items:center;gap:10px;padding:7px 10px;border-radius:14px;background:rgba(31,95,150,.05)}
.sd .home-top-l .rk{width:26px;height:26px;border-radius:9px;display:grid;place-items:center;font-weight:900;font-size:13px;background:#fff;color:var(--navy);box-shadow:inset 0 0 0 1px rgba(24,56,88,.1)}
.sd .home-top-l li.p1 .rk{background:linear-gradient(160deg,#FFD36E,#F7A233);color:#3A2300;box-shadow:none}
.sd .home-top-l li.p2 .rk{background:linear-gradient(160deg,#E7EEF6,#B9C8D8);color:#183858;box-shadow:none}
.sd .home-top-l li.p3 .rk{background:linear-gradient(160deg,#F2C9A0,#C98A4B);color:#3A1E00;box-shadow:none}
.sd .home-top-l .nm{min-width:0;display:flex;flex-direction:column;line-height:1.3}
.sd .home-top-l .nm b{font-size:14px;font-weight:800;color:var(--navy);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sd .home-top-l .nm small{font-size:11.5px;font-weight:700;color:var(--muted)}
.sd .home-top-l .av{font-weight:900;font-size:15px;color:#1F5F96;white-space:nowrap}
.sd .home-top-l .av small{font-size:11px;font-weight:700;color:var(--muted)}
.sd .home-top-l .hr{font-size:12px;font-weight:800;color:#B86A00;white-space:nowrap;background:rgba(247,162,51,.12);padding:3px 8px;border-radius:999px}
.sd .home-top-l .hr i{font-size:11px}
.sd .home-top-n{margin:9px 2px 0;font-size:11.5px;font-weight:700;color:var(--muted)}
html[data-theme=dark] .sd .home-top{background:rgba(18,35,58,.78)}
html[data-theme=dark] .sd .home-top-h h2,html[data-theme=dark] .sd .home-top-l .nm b{color:#EAF2FB}
html[data-theme=dark] .sd .home-top-l li{background:rgba(255,255,255,.05)}
html[data-theme=dark] .sd .home-top-l .rk{background:rgba(255,255,255,.08);color:#EAF2FB;box-shadow:none}
html[data-theme=dark] .sd .home-top-l .av{color:#8CC3F2}
html[data-theme=dark] .sd .home-top-l .hr{color:#FFB54D;background:rgba(247,162,51,.14)}
@media (max-width:420px){.sd .home-top-l li{grid-template-columns:26px 1fr auto;gap:8px}.sd .home-top-l .hr{grid-column:2/4;justify-self:start}}

/* الكلاسمون: 4 أسطر ظاهرين والباقي (حتى 10) بالسكرول */
.sd .home-top-l{max-height:var(--sd-top-h,214px);overflow-y:auto;overscroll-behavior:contain;scroll-snap-type:y proximity;padding-inline-end:4px;scrollbar-width:thin;scrollbar-color:rgba(31,95,150,.35) transparent;-webkit-mask-image:linear-gradient(180deg,#000 calc(100% - 26px),transparent);mask-image:linear-gradient(180deg,#000 calc(100% - 26px),transparent)}
.sd .home-top-l.at-end{-webkit-mask-image:none;mask-image:none}
.sd .home-top-l li{scroll-snap-align:start}
.sd .home-top-l::-webkit-scrollbar{width:5px}
.sd .home-top-l::-webkit-scrollbar-thumb{background:rgba(31,95,150,.35);border-radius:9px}
html[data-theme=dark] .sd .home-top-l::-webkit-scrollbar-thumb{background:rgba(255,255,255,.2)}

/* ===== الكلاسمون: منصّة التتويج للثلاثة الأوائل ===== */
.sd .home-pod{display:grid;grid-template-columns:1fr 1.14fr 1fr;align-items:end;gap:10px;margin:4px 0 12px}
.sd .home-pod .pod{position:relative;min-width:0;text-align:center;border-radius:18px;padding:14px 8px 11px;background:linear-gradient(180deg,rgba(31,95,150,.09),rgba(31,95,150,.02));box-shadow:inset 0 0 0 1px rgba(24,56,88,.07)}
.sd .home-pod .pod.p1{order:2;padding-top:20px;padding-bottom:14px;background:linear-gradient(180deg,rgba(247,162,51,.22),rgba(247,162,51,.04));box-shadow:inset 0 0 0 1.5px rgba(247,162,51,.5),0 18px 36px -22px rgba(247,162,51,.95)}
.sd .home-pod .pod.p2{order:1}
.sd .home-pod .pod.p3{order:3}
.sd .home-pod .medal{width:34px;height:34px;margin:0 auto 7px;border-radius:12px;display:grid;place-items:center;font-weight:900;font-size:15px;background:linear-gradient(160deg,#E7EEF6,#B9C8D8);color:#183858}
.sd .home-pod .p1 .medal{width:42px;height:42px;border-radius:14px;font-size:18px;background:linear-gradient(160deg,#FFD36E,#F7A233);color:#3A2300;box-shadow:0 10px 22px -10px rgba(247,162,51,.95)}
.sd .home-pod .p3 .medal{background:linear-gradient(160deg,#F2C9A0,#C98A4B);color:#3A1E00}
.sd .home-pod b{display:block;font-size:14px;font-weight:900;color:var(--navy);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sd .home-pod .p1 b{font-size:15.5px}
.sd .home-pod small.m{display:block;margin-top:2px;font-size:11px;font-weight:700;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sd .home-pod .ps{display:flex;justify-content:center;flex-wrap:wrap;gap:5px;margin-top:8px}
.sd .home-pod .ps span{font-size:12px;font-weight:800;padding:3px 8px;border-radius:99px;background:#fff;color:var(--navy);box-shadow:inset 0 0 0 1px rgba(24,56,88,.08);white-space:nowrap}
.sd .home-pod .ps span.a{background:linear-gradient(135deg,#1F5F96,#2A7BC0);color:#fff;box-shadow:none}
html[data-theme=dark] .sd .home-pod .pod{background:rgba(255,255,255,.05);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
html[data-theme=dark] .sd .home-pod .pod.p1{background:linear-gradient(180deg,rgba(247,162,51,.22),rgba(247,162,51,.05));box-shadow:inset 0 0 0 1.5px rgba(247,162,51,.5)}
html[data-theme=dark] .sd .home-pod b{color:#EAF2FB}
html[data-theme=dark] .sd .home-pod .ps span{background:rgba(255,255,255,.08);color:#EAF2FB;box-shadow:none}
html[data-theme=dark] .sd .home-pod .ps span.a{background:linear-gradient(135deg,#1F5F96,#2A7BC0)}
@media (max-width:520px){.sd .home-pod{gap:6px}.sd .home-pod .pod{padding:11px 4px 9px}.sd .home-pod .pod.p1{padding-top:15px}.sd .home-pod b{font-size:12.5px}.sd .home-pod .p1 b{font-size:13.5px}.sd .home-pod .ps span{font-size:10.5px;padding:2px 6px}}

/* ===== hero: سطر التعريف (H1) فوق الشعار ===== */
.sd .hero .hero-kw{display:inline-block;margin:0 0 14px;padding:7px 14px;border-radius:99px;font-size:13.5px;font-weight:800;line-height:1.5;color:#1F5F96;background:rgba(42,123,192,.10);box-shadow:inset 0 0 0 1px rgba(42,123,192,.18)}
html[data-theme=dark] .sd .hero .hero-kw{color:#8CC3F2;background:rgba(140,195,242,.10);box-shadow:inset 0 0 0 1px rgba(140,195,242,.2)}
@media (max-width:640px){.sd .hero .hero-kw{font-size:12px;padding:6px 12px;margin-bottom:10px}}

/* ===== SD-DOCK-IOS: شريط التنقل السفلي في الهاتف — كبسولة زجاجية بستايل iPhone كيما الهيدر ===== */
@media (max-width:860px){
  html body.sd .dock{position:fixed!important;left:12px!important;right:12px!important;bottom:calc(10px + env(safe-area-inset-bottom))!important;top:auto!important;width:auto!important;
    display:grid!important;grid-auto-flow:column;grid-auto-columns:1fr;gap:4px;align-items:center;height:auto!important;padding:6px!important;margin:0!important;
    border-radius:26px!important;border:0!important;background:rgba(255,255,255,.78)!important;
    -webkit-backdrop-filter:blur(22px) saturate(1.5);backdrop-filter:blur(22px) saturate(1.5);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 0 0 1px rgba(24,56,88,.07),0 18px 40px -18px rgba(24,56,88,.55)!important;z-index:900}
  html body.sd .dock::before,html body.sd .dock::after{display:none!important}
  html body.sd .dock a{position:relative;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:52px;padding:6px 4px!important;
    border-radius:20px!important;font-size:11.5px!important;font-weight:800!important;line-height:1.2;color:#5b6f86!important;background:transparent!important;
    border:0!important;box-shadow:none!important;text-decoration:none;transition:background .25s,color .25s,transform .2s}
  html body.sd .dock a::before,html body.sd .dock a::after{display:none!important}
  html body.sd .dock a i{font-size:19px!important;color:inherit!important;margin:0!important;background:none!important;width:auto!important;height:auto!important}
  html body.sd .dock a.on{color:#1F5F96!important;background:linear-gradient(135deg,rgba(31,95,150,.13),rgba(42,123,192,.06))!important;box-shadow:inset 0 0 0 1px rgba(42,123,192,.14)!important}
  html body.sd .dock a.app{color:#C46F00!important}
  html body.sd .dock a.app i{color:#F7A233!important}
  html body.sd .dock a:active{transform:scale(.94)}
  html body.sd{padding-bottom:calc(86px + env(safe-area-inset-bottom))!important}
  html[data-theme=dark] body.sd .dock{background:rgba(16,36,60,.82)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 0 0 1px rgba(255,255,255,.08),0 18px 40px -18px rgba(0,0,0,.8)!important}
  html[data-theme=dark] body.sd .dock a{color:#9fb3c8!important}
  html[data-theme=dark] body.sd .dock a.on{color:#8CC3F2!important;background:rgba(140,195,242,.12)!important;box-shadow:inset 0 0 0 1px rgba(140,195,242,.18)!important}
}


/* ===== SD-HERO-KW v2: «أفضل منصة تعليمية للبكالوريا» — كبسولة iOS بإطار أزرق/برتقالي ===== */
.sd .hero .hero-kw{position:relative;overflow:hidden;display:inline-flex;align-items:center;gap:10px;margin:0 0 16px;padding:5px 6px;padding-inline-end:18px;border-radius:999px;
  font-size:16px;font-weight:800;line-height:1.4;color:#183858;letter-spacing:0;
  background:linear-gradient(180deg,#FFFFFF,#F5F9FD) padding-box,linear-gradient(120deg,#2A7BC0 0%,#7FB4E3 45%,#F7A233 100%) border-box;
  border:1.5px solid transparent;box-shadow:0 12px 28px -16px rgba(24,56,88,.55),inset 0 1px 0 #fff;animation:sdKwIn .7s cubic-bezier(.2,.8,.2,1) both}
.sd .hero .hero-kw::after{content:"";position:absolute;top:0;bottom:0;width:40%;left:-60%;background:linear-gradient(100deg,rgba(255,255,255,0),rgba(255,255,255,.75),rgba(255,255,255,0));transform:skewX(-18deg);animation:sdKwShine 4.5s ease-in-out 1.2s infinite;pointer-events:none}
.sd .hero .hero-kw .kw-ic{flex:none;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;font-size:14px;color:#fff;background:linear-gradient(145deg,#FFC060,#F08C12);box-shadow:0 6px 14px -6px rgba(240,140,18,.95),inset 0 1px 0 rgba(255,255,255,.45)}
.sd .hero .hero-kw .kw-t{position:relative;z-index:1}
.sd .hero .hero-kw em{font-style:normal;background:linear-gradient(120deg,#F7A233,#E07B00);-webkit-background-clip:text;background-clip:text;color:transparent}
@keyframes sdKwIn{from{opacity:0;transform:translateY(8px) scale(.96)}}
@keyframes sdKwShine{0%,70%{left:-60%}100%{left:130%}}
html[data-theme=dark] .sd .hero .hero-kw{color:#fff;background:linear-gradient(180deg,#17324F,#10243C) padding-box,linear-gradient(120deg,#2A7BC0 0%,#5C9BD3 45%,#F7A233 100%) border-box;box-shadow:0 12px 28px -16px rgba(0,0,0,.8)}
html[data-theme=dark] .sd .hero .hero-kw::after{background:linear-gradient(100deg,rgba(255,255,255,0),rgba(255,255,255,.12),rgba(255,255,255,0))}
@media (max-width:640px){.sd .hero .hero-kw{font-size:14px;padding:4px 5px;padding-inline-end:14px;gap:8px;margin-bottom:12px}.sd .hero .hero-kw .kw-ic{width:28px;height:28px;font-size:12px}}
@media (prefers-reduced-motion:reduce){.sd .hero .hero-kw,.sd .hero .hero-kw::after{animation:none}}


/* SD: اللوقو شفاف (بلا خلفية بيضاء) في الوضع الليلي وفي كل الصفحات */
.sd .hdr .logo img,.sd .ft .logo img{clip-path:none!important;object-fit:contain}
html[data-theme=dark] .sd .hdr .logo img,html[data-theme=dark] .sd .ft .logo img{background:transparent!important;padding:0!important;border-radius:0!important;box-shadow:none!important}
/* SD: ألوان مقروءة في الوضع الليلي */
html[data-theme=dark] .sd .qz-sub .qz-go{color:#8CC3F2!important}


/* SD: زر الإشعارات يبان حتى في الهاتف والتطبيق (كان مخبّي مع .btn-ghost) */
.sd .hdr-cta .sd-bell{display:inline-flex!important;align-items:center;justify-content:center;position:relative;flex:none}
@media (max-width:860px){.sd .hdr-cta .sd-bell{width:40px;height:40px;padding:0!important;border-radius:14px!important}}


/* شارة الرسائل الجديدة في الشريط اللي لتحت */
.sd .dock .dk-bd{position:absolute;top:3px;left:calc(50% - 26px);min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#E5484D;color:#fff!important;font-size:10.5px;font-weight:900;display:grid;place-items:center;line-height:1;box-shadow:0 0 0 2px #fff}
.sd .dock .dk-bd[hidden]{display:none}
html[data-theme=dark] .sd .dock .dk-bd{box-shadow:0 0 0 2px #10243C}
