/* P.R.M Bot v12 — الهوية الجديدة + صفحة لكل قسم + أقسام صفحة الهبوط
   بدون خطوط أو روابط خارجية (CSP) — اللون الأساسي #10B981 */
:root{--prm12:#10B981;--prm12-soft:#10b9811f;--prm12-line:#10b98140}

/* ===== الشعار: كل .logo يعرض صورة الهوية، والحرف P يبقى لقارئ الشاشة ===== */
.logo,.logo.xs,.dm-av.logo,.brand .logo,.brand.big .logo,.brand.mini .logo,.sidebar .brand .logo,.mobilebar .logo,.s10-brand .logo,.session-loading .logo{
  background:#0c0b09 url(/brand/rakkaz-logo-256.png) center/cover no-repeat!important;
  color:transparent!important;font-size:0!important;line-height:0!important;letter-spacing:0!important;text-indent:0;
  border:1px solid var(--prm12-line)!important;overflow:hidden;border-radius:12px
}
.logo.xs,.dm-av.logo{border-radius:50%!important}
.brand.big .logo{border-radius:16px!important}
img.logo,img.dc-av{object-fit:cover;background:#0c0b09!important;display:block}
img.logo.xs,img.dc-av{width:28px;height:28px;border-radius:50%!important;flex:none}
img.dm-av.dc-av{width:40px;height:40px}
.hub-tabs:before{content:''!important;background:#0c0b09 url(/brand/rakkaz-logo-256.png) center/cover no-repeat!important}

/* ===== بانر صفحة الهبوط ===== */
.login-story .hero-banner{display:block;width:100%;height:auto;aspect-ratio:1360/480;object-fit:cover;border-radius:18px;margin:0 0 18px;
  border:1px solid var(--prm12-line);box-shadow:0 14px 40px #00000059,0 0 0 1px #ffffff08 inset;background:#16120d}

/* ===== القائمة: عنوان القسم يفتح صفحته + سهم الطي ===== */
body.nav-v11 .side-sec-hub{margin:0 0 6px}
.side-head-row{display:flex;align-items:center;gap:4px;margin:8px 0 2px;border-radius:10px}
.side-hub{flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:8px;min-height:36px;padding:6px 8px;border:0;border-radius:10px;background:transparent;
  color:#d9cfc6;font:inherit;font-size:12.5px;font-weight:800;text-align:start;cursor:pointer}
.side-hub:hover{background:#ffffff0a;color:#fff}
.side-hub:focus-visible,.side-toggle:focus-visible{outline:2px solid var(--prm12);outline-offset:1px}
.side-hub .side-hub-ic{color:var(--prm12)!important;width:20px;height:20px;display:grid;place-items:center;flex:none}
.side-hub .side-hub-ic svg{width:17px;height:17px}
.side-hub-name{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.side-hub-count{flex:none;min-width:22px;height:20px;padding:0 6px;border-radius:999px;background:var(--prm12-soft);color:#43d6a0;font-size:10.5px;font-weight:800;display:grid;place-items:center}
.side-head-row.active .side-hub{background:var(--prm12-soft);color:#f2d586;box-shadow:inset -3px 0 0 var(--prm12)}
.side-toggle{flex:none;width:30px;height:30px;border:0;border-radius:9px;background:transparent;color:#8e847b;display:grid;place-items:center;cursor:pointer}
.side-toggle:hover{background:#ffffff0d;color:#fff}
.side-chev{display:grid;place-items:center;transition:transform .2s ease}
.side-chev svg{width:15px;height:15px}
.side-toggle[aria-expanded="true"] .side-chev{transform:rotate(90deg)}
.side-items{padding-inline-start:8px;border-inline-start:1px dashed #ffffff12;margin-inline-start:16px}
.side-items[hidden]{display:none!important}
body.nav-v11.sidebar-compact .side-hub-name,body.nav-v11.sidebar-compact .side-hub-count,body.nav-v11.sidebar-compact .side-toggle{display:none}
body.nav-v11.sidebar-compact .side-hub{justify-content:center;padding:6px}
body.nav-v11.sidebar-compact .side-items{margin:0;padding:0;border:0}

/* ===== صفحة القسم (مركز القسم) ===== */
.sec-hub{display:flex;flex-direction:column;gap:16px;min-width:0}
.sec-hero{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;padding:22px;border-radius:22px;overflow:hidden;
  background:radial-gradient(120% 140% at 100% 0,#10b9812e,transparent 55%),linear-gradient(160deg,#1c1712,#121114);border:1px solid var(--prm12-line)}
.sec-hero-ic{width:62px;height:62px;border-radius:18px;display:grid;place-items:center;background:var(--prm12);color:#1a1006;box-shadow:0 10px 30px #10b9814d}
.sec-hero-ic svg{width:30px;height:30px}
.sec-over{display:inline-block;font-size:11px;font-weight:800;color:var(--prm12);letter-spacing:.3px;margin-bottom:4px}
.sec-hero-txt h2{margin:0 0 6px;font-size:clamp(20px,4vw,28px);color:#fff}
.sec-hero-txt p{margin:0;color:#b9aea4;font-size:13.5px;line-height:1.85}
.sec-hero-stats{display:flex;gap:10px}
.sec-stat{min-width:92px;padding:12px 14px;border-radius:16px;background:#0000003d;border:1px solid #ffffff12;text-align:center}
.sec-stat b{display:block;font-size:26px;line-height:1.1;color:#43d6a0}
.sec-stat span{font-size:11px;color:#a59b92}
.sec-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}
.sec-card{display:flex;flex-direction:column;gap:8px;padding:16px;border-radius:18px;background:linear-gradient(160deg,#18191e,#111215);border:1px solid #ffffff12;min-width:0;transition:border-color .2s,transform .2s}
.sec-card:hover{border-color:var(--prm12-line);transform:translateY(-2px)}
.sec-card.is-on{border-color:#3ecf8e40}
.sec-card.is-soon{opacity:.85}
.sec-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.sec-card-ic{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:var(--prm12-soft);color:var(--prm12);flex:none}
.sec-card-ic svg{width:21px;height:21px}
.sec-card-badges{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}
.sec-card h3{margin:2px 0 0;font-size:15px;color:#fff}
.sec-card p{margin:0;font-size:12.5px;line-height:1.8;flex:1 1 auto}
.sec-card .sec-open{align-self:flex-start;margin-top:4px}
.sec-foot{display:flex;justify-content:flex-start}
@media (max-width:760px){
  .sec-hero{grid-template-columns:auto minmax(0,1fr);padding:18px;gap:14px}
  .sec-hero-ic{width:50px;height:50px;border-radius:15px}
  .sec-hero-stats{grid-column:1/-1}
  .sec-stat{flex:1 1 0}
  .sec-grid{grid-template-columns:minmax(0,1fr)}
}

/* ===== صفحة الهبوط: المميزات مقسّمة حسب أقسام اللوحة ===== */
.lp-sections{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;margin-top:16px}
.lp-secblock{background:linear-gradient(160deg,#17130f,#101114)!important;border:1px solid var(--prm12-line)!important;border-radius:20px;padding:18px}
.lp-sechead{display:flex;align-items:center;gap:12px;margin-bottom:8px}
.lp-sechead i{font-style:normal;font-size:22px;width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:var(--prm12-soft);flex:none}
.lp-sechead h3{margin:0;font-size:17px;color:#fff;flex:1 1 auto}
.lp-sechead .lp-seccount{font-size:11px;font-weight:800;color:#1a1006;background:var(--prm12);border-radius:999px;padding:3px 10px;white-space:nowrap}
.lp-secblock>p{margin:0 0 12px;color:#b3a89e;font-size:13px;line-height:1.85}
.lp-secfeats{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
.lp-secfeats li{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border-radius:13px;background:#ffffff06;border:1px solid #ffffff0d}
.lp-secfeats b{font-size:13.5px;color:#f3d890}
.lp-secfeats span{font-size:12.5px;color:#a9a097;line-height:1.75}
@media (min-width:640px){.lp-secfeats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1000px){.lp-sections{grid-template-columns:repeat(2,minmax(0,1fr))}.lp-secblock.wide{grid-column:1/-1}.lp-secblock.wide .lp-secfeats{grid-template-columns:repeat(3,minmax(0,1fr))}}
.login-story .hero-cta{gap:10px;flex-wrap:wrap;margin:14px 0}
