:root{--font:'Cairo',sans-serif;--primary:#4f46e5;--primary-d:#3730a3;--accent:#f59e0b;--ink:#1e1b4b;--text:#334155;--muted:#64748b;--line:#e2e8f0;--bg:#f8fafc;--card:#fff;--ok:#16a34a;--err:#dc2626;--radius:20px}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--font);color:var(--text);background:var(--bg);line-height:1.8;font-size:15px}
a{color:inherit;text-decoration:none}
img{max-width:100%}
ul{list-style:none}
.container{width:100%;max-width:1200px;margin:0 auto;padding:0 1.2rem}
.center{text-align:center}.muted{color:var(--muted);font-size:.92rem}.muted-light{color:#c7d2fe;font-size:.9rem}
.inline{display:inline}
button,input,select,textarea,optgroup,option,table,th,td,label,b,strong,small,p,a,span,li{font-family:inherit}
h1,h2,h3,h4,h5,h6{font-family:var(--font);font-weight:800;color:var(--ink);line-height:1.4}

/* ---- أزرار ---- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;padding:.65rem 1.2rem;border-radius:14px;border:1.5px solid transparent;
  font:inherit;font-weight:700;font-size:.92rem;cursor:pointer;transition:.18s;text-align:center}
.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-d);transform:translateY(-1px)}
.btn-accent{background:var(--accent);color:#1f2937}.btn-accent:hover{background:#d98a06}
.btn-outline{border-color:var(--primary);color:var(--primary);background:#fff}.btn-outline:hover{background:#eef2ff}
.btn-light{background:#eef2ff;color:var(--primary)}.btn-light:hover{background:#e0e7ff}
.btn-ghost{background:transparent;color:var(--ink);border-color:var(--line)}.btn-ghost:hover{background:#f1f5f9}
.btn-danger{background:#fee2e2;color:#b91c1c}.btn-danger:hover{background:#fecaca}
.btn-sm{padding:.35rem .8rem;font-size:.8rem;border-radius:10px}
.btn-block{width:100%}

/* أزرار الإجراءات في الجداول (تعديل وحذف) - مطابقة للتصميم المرفق تماماً */
.btn-action-edit{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#eff2fe;
  color:#4f46e5;
  font-family:var(--font);
  font-weight:700;
  font-size:.96rem;
  padding:.55rem 1.35rem;
  border-radius:12px;
  border:none;
  text-decoration:none;
  cursor:pointer;
  line-height:1.4;
  transition:background .15s ease, transform .12s ease;
}
.btn-action-edit:hover{
  background:#e0e7ff;
  color:#4338ca;
  transform:translateY(-1px);
}
.btn-action-delete{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#ea3838;
  color:#ffffff;
  font-family:var(--font);
  font-weight:700;
  font-size:.96rem;
  padding:.55rem 1.35rem;
  border-radius:12px;
  border:none;
  text-decoration:none;
  cursor:pointer;
  line-height:1.4;
  transition:background .15s ease, transform .12s ease;
}
.btn-action-delete:hover{
  background:#dc2626;
  color:#ffffff;
  transform:translateY(-1px);
}

/* ---- الهيدر وعناصر التحكم المتجاوبة ---- */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.nav{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:74px}
.brand img{height:48px;display:block}
.nav-controls{display:flex;align-items:center;gap:.65rem}

/* زر السلة الأيقوني الأنيق */
.cart-btn{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;background:#ffffff;border:1.5px solid #e2e8f0;color:#0f172a;position:relative;transition:background .15s ease,border-color .15s ease,transform .15s ease;cursor:pointer;text-decoration:none;box-shadow:0 1px 3px rgba(0,0,0,0.04)}
.cart-btn:hover{background:#f8fafc;border-color:#cbd5e1;transform:scale(1.03)}
.cart-btn .badge{position:absolute;top:-4px;inset-inline-start:-4px;background:var(--accent);color:#1f2937;font-size:.68rem;font-weight:800;min-width:18px;height:18px;border-radius:9px;display:flex;align-items:center;justify-content:center;box-shadow:0 1px 2px rgba(0,0,0,0.1)}

/* زر لوحة التحكم السريع في الشاشات العريضة */
.btn-dashboard-pill{display:inline-flex;align-items:center;justify-content:center;background:#eff2fe;color:#4338ca;font-weight:800;font-size:.95rem;padding:.58rem 1.3rem;border-radius:14px;border:1px solid #e0e7ff;text-decoration:none;transition:background .15s ease,transform .15s ease}
.btn-dashboard-pill:hover{background:#e0e7ff;transform:translateY(-1px)}

/* زر القائمة المتجاوب المربع مع إطار كحلي سميك مطابق تماماً للصورة */
.burger{display:none;align-items:center;justify-content:center;width:44px;height:44px;background:#ffffff;border:2.2px solid #0f172a;border-radius:14px;cursor:pointer;padding:0;color:#0f172a;transition:background .15s ease,transform .15s ease;box-shadow:0 1px 3px rgba(0,0,0,0.04)}
.burger:hover{background:#f8fafc;transform:scale(1.03)}
.burger:active{transform:scale(0.97)}

/* ---- قائمة التنقل الاستراتيجية (مطابقة للتصميم المرفق) ---- */
:root{--hdr-h:75px}
body.menu-open{overflow:hidden}
.strategic-drawer-wrapper{display:none;position:fixed;top:var(--hdr-h);right:0;bottom:0;left:0;z-index:60}
body.menu-open .strategic-drawer-wrapper{display:block}
.strategic-drawer-backdrop{position:absolute;inset:0;background:rgba(30,35,50,.45);animation:drawerFadeIn .2s ease}
.strategic-drawer-card{position:absolute;top:0;right:0;left:auto;width:80%;max-width:460px;max-height:100%;overflow-y:auto;background:#fff;border-left:1px solid #e8ecf2;box-shadow:-10px 14px 40px rgba(15,23,42,.18);padding:0 1.5rem 1.2rem;z-index:2;animation:drawerSlideIn .26s cubic-bezier(.16,1,.3,1)}
@keyframes drawerFadeIn{from{opacity:0}to{opacity:1}}
@keyframes drawerSlideIn{from{transform:translateX(100%)}to{transform:translateX(0)}}

.strategic-drawer-header{display:flex;align-items:center;justify-content:space-between;padding:1.9rem .3rem 1.3rem;border-bottom:1px solid #eef0f4}
.strategic-drawer-title{font-size:1.28rem;font-weight:800;color:#2e2a7a;margin:0;line-height:1.5}
.strategic-drawer-close{width:34px;height:34px;display:flex;align-items:center;justify-content:center;background:transparent;border:0;border-radius:10px;color:#8a97ab;cursor:pointer;transition:background .15s,color .15s}
.strategic-drawer-close:hover{background:#f1f5f9;color:#0f172a}

.strategic-items-list{padding:1.6rem 0 1.1rem;display:flex;flex-direction:column;gap:.55rem;border-bottom:1px solid #eef0f4}
.strategic-item{display:flex;align-items:center;justify-content:space-between;gap:.8rem;min-height:74px;padding:.6rem 1.1rem;border:1.5px solid transparent;border-radius:20px;color:#3b4357;font-weight:800;font-size:1.05rem;text-decoration:none;transition:background .15s,transform .12s}
.strategic-item:hover{background:#f6f8fb}
.strategic-item:active{transform:scale(.99)}
.strategic-item .item-inner{display:flex;align-items:center;gap:.9rem;min-width:0}
.strategic-item .item-icon{width:24px;height:24px;flex-shrink:0;color:#7b879b}
.strategic-item .item-text{line-height:1.5}

.strategic-item.active-navy{background:#312e81;color:#fff;box-shadow:0 6px 16px rgba(49,46,129,.28)}
.strategic-item.active-navy .item-icon{color:#fff}
.strategic-item.active-navy:hover{background:#2a2770}

.strategic-item.active-mint{background:#effcf5;border-color:#a6ebc6;color:#0f5132}
.strategic-item.active-mint .item-icon{color:#16a36a}
.strategic-item.active-mint:hover{background:#e3f9ee}

.strategic-badge{display:inline-flex;align-items:center;justify-content:center;min-width:66px;padding:.2rem .8rem;border:1px solid #dde3ec;border-radius:12px;background:#f1f4f9;color:#5b667a;font-size:.95rem;font-weight:700;line-height:1.7;flex-shrink:0}
.strategic-badge.mint{background:#cdf6df;border-color:#8fe0b4;color:#0f5132}

.strategic-drawer-footer{padding:1.1rem 0 .2rem;text-align:center;background:transparent}
.footer-platform-title{font-size:.9rem;font-weight:700;color:#97a3b6;line-height:1.7}
.footer-platform-copy{font-size:.9rem;font-weight:700;color:#97a3b6;line-height:1.7}

/* ---- الهيرو ---- */
.hero{background:#fff;color:var(--text);position:relative;overflow:hidden;border-bottom:1px solid var(--line)}
.hero::before,.hero::after{content:none}
.hero::before{width:380px;height:380px;top:-120px;inset-inline-start:-100px}
.hero::after{width:260px;height:260px;bottom:-90px;inset-inline-end:30%;background:rgba(255,255,255,.06)}
.hero .container{display:grid;grid-template-columns:1.1fr .9fr;gap:2rem;align-items:center;padding-top:4rem;padding-bottom:4rem;position:relative;z-index:1}
.hero small{display:inline-block;background:#eef2ff;color:var(--primary);padding:.3rem 1rem;border-radius:6px;font-weight:700;margin-bottom:1rem;font-size:.85rem}
.hero h1{color:var(--ink);font-size:2.8rem;font-weight:800;margin-bottom:1rem}
.hero p{color:var(--muted);max-width:540px;margin-bottom:1.8rem;font-size:1.05rem}
.hero-btns{display:flex;gap:.8rem;flex-wrap:wrap}
.hero-btns .btn{border-radius:6px}
.hero-btns .btn-ghost{color:var(--primary);border-color:var(--primary);background:#fff}.hero-btns .btn-ghost:hover{background:#eef2ff}
.hero-art{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;align-items:start}
.hero-art div{background:#fff;border:1px solid var(--line);border-radius:28px;padding:2.4rem 1.6rem;text-align:center;box-shadow:0 14px 34px -14px rgba(79,70,229,.25);transition:transform .25s ease, background-color .25s ease}
.hero-art div:hover{background:#f8fafc;border-color:#c7d2fe}
.hero-art div:nth-child(2),
.hero-art div:nth-child(4){transform:translateY(48px)}
.hero-art span{display:flex;align-items:center;justify-content:center;height:56px;color:var(--primary);margin-bottom:1.2rem}
.hero-art span .icon{stroke-width:2.2;width:44px;height:44px;stroke:var(--primary)}
.hero-art b{display:block;margin-top:.4rem;color:var(--ink);font-size:1.18rem;font-weight:700;font-family:var(--font)}
.hero-art small{display:block;margin-top:.35rem;color:var(--muted);font-size:.88rem;background:none;padding:0}

/* ---- أيقونات SVG عصرية ---- */
.icon{display:inline-block;vertical-align:middle;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:.2s}
.pkg-img span{display:flex;align-items:center;justify-content:center;color:#fff}
.pkg-img span .icon{filter:drop-shadow(0 6px 12px rgba(0,0,0,.25))}
.feature .ico{width:64px;height:64px;border-radius:20px;background:linear-gradient(135deg,#eef2ff,#e0e7ff);display:flex;align-items:center;justify-content:center;margin:0 auto .8rem;color:var(--primary)}
.step .ico{display:flex;align-items:center;margin-bottom:.5rem;color:var(--primary)}
.vision span{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:12px;background:#eef2ff;color:var(--primary)}
.cart-ico{stroke-width:2}
.wa-float{display:flex;align-items:center;justify-content:center;color:#fff}
.star-icon{color:var(--accent);fill:var(--accent);display:inline-block;margin:0 1px}

/* ---- أقسام ---- */
.section{padding:4rem 0}.section.alt{background:#fff}
.section-head{text-align:center;max-width:680px;margin:0 auto 2.2rem}
.section-head h2{font-size:2rem;font-weight:800;margin-bottom:.5rem}
.page-hero{background:linear-gradient(135deg,#312e81,#4f46e5);color:#fff;padding:3rem 0;text-align:center}
.page-hero h1{color:#fff;font-size:2.2rem}.page-hero p{color:#c7d2fe;margin-top:.4rem}

.tabs{display:flex;flex-wrap:wrap;gap:.6rem;justify-content:center;margin-bottom:2rem}
.tabs button{border:1.5px solid var(--line);background:#fff;padding:.5rem 1.2rem;border-radius:6px;font:inherit;font-weight:700;cursor:pointer;color:var(--ink);transition:.15s}
.tabs button:hover{border-color:var(--primary)}
.tabs button.active{background:var(--primary);border-color:var(--primary);color:#fff}

/* ---- بطاقات الباقات ---- */
.pkg-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:1.5rem}
.pkg{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:.2s}
.pkg:hover{transform:translateY(-4px);box-shadow:0 20px 40px -20px rgba(49,46,129,.35)}
.pkg-img{height:140px;display:flex;align-items:center;justify-content:center}
.pkg-img span{font-size:3.6rem;filter:drop-shadow(0 6px 10px rgba(0,0,0,.25))}
.pkg-body{padding:1.2rem 1.3rem 1.4rem;display:flex;flex-direction:column;gap:.6rem;flex:1}
.devices{display:flex;gap:.4rem;flex-wrap:wrap}
.devices span{font-size:.7rem;background:#eef2ff;color:var(--primary);padding:.1rem .6rem;border-radius:999px;font-weight:700}
.pkg h3{font-size:1.2rem}
.ticks li{position:relative;padding-inline-start:1.5rem;font-size:.88rem;margin:.15rem 0}
.ticks li::before{content:"✓";position:absolute;inset-inline-start:0;color:var(--ok);font-weight:800}
.pkg-actions{display:grid;gap:.5rem;margin-top:auto;padding-top:.8rem}

/* ---- مزايا / خطوات / تقييمات ---- */
.features{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.2rem}
.feature{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.6rem 1.2rem;text-align:center}
.feature .ico{width:64px;height:64px;border-radius:20px;background:linear-gradient(135deg,#eef2ff,#e0e7ff);display:flex;align-items:center;justify-content:center;font-size:1.9rem;margin:0 auto .8rem}
.feature h3{margin-bottom:.3rem}
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.4rem}
.step{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.6rem;position:relative}
.step .no{position:absolute;top:1rem;inset-inline-end:1.2rem;font-size:2.6rem;font-weight:800;color:#e0e7ff}
.step .ico{font-size:2.2rem;margin-bottom:.5rem}
.reviews{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.2rem}
.review{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.4rem}
.review.hidden{display:none}
.review .stars{color:var(--accent);letter-spacing:2px}
.review b{display:block;margin-top:.6rem;color:var(--ink)}
.review small{color:var(--muted)}
.vision{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}
.vision div{background:#fff;border:1px solid var(--line);border-radius:18px;padding:1.2rem;display:flex;gap:.8rem;align-items:flex-start}
.vision span{font-size:1.6rem}

/* ---- شريط الدعوة ---- */
.cta{background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff;border-radius:28px;padding:2.4rem;display:flex;justify-content:space-between;align-items:center;gap:1.5rem;flex-wrap:wrap}
.cta h2{color:#fff}.cta p{color:#e0e7ff}

/* ---- نماذج ---- */
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.6rem}
.form-card{max-width:520px;margin:2.5rem auto}
.field{margin-bottom:1rem}
.field label{display:block;font-weight:700;font-size:.88rem;margin-bottom:.3rem;color:var(--ink)}
.field input,.field select,.field textarea{width:100%;padding:.7rem .9rem;border:1.5px solid var(--line);border-radius:12px;font:inherit;background:#fff;color:var(--text)}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px rgba(79,70,229,.15)}
.field textarea{min-height:110px;resize:vertical}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.checks{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:.4rem}
.checks label{font-weight:500;display:flex;gap:.5rem;align-items:center}.checks input{width:auto}
.alert{padding:.8rem 1rem;border-radius:12px;margin-bottom:1rem;font-weight:700;font-size:.9rem}
.alert-success{background:#dcfce7;color:#166534}.alert-error{background:#fee2e2;color:#991b1b}.alert-info{background:#e0e7ff;color:#3730a3}

/* ---- المعلمون والسلة ---- */
.tutor-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.2rem}
.tutor{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.4rem;display:flex;flex-direction:column;gap:.6rem}
.tutor .avatar{width:64px;height:64px;font-size:1.6rem}
.avatar{width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,#fbbf24,#f97316);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:800}
.table-wrap{overflow-x:auto;background:#fff;border:1px solid var(--line);border-radius:var(--radius)}
table{width:100%;border-collapse:collapse;font-size:.9rem}
th,td{padding:.8rem 1rem;text-align:right;border-bottom:1px solid var(--line);white-space:nowrap}
th{background:#f8fafc;color:var(--ink);font-size:.8rem}
tr:last-child td{border-bottom:0}
.pill{display:inline-block;padding:.1rem .7rem;border-radius:999px;font-size:.75rem;font-weight:700;background:#e2e8f0;color:#334155}
.pill.ok{background:#dcfce7;color:#166534}.pill.warn{background:#fef3c7;color:#92400e}.pill.bad{background:#fee2e2;color:#991b1b}.pill.info{background:#e0e7ff;color:#3730a3}
.summary{display:flex;justify-content:space-between;align-items:center;padding:1rem 0;font-size:1.1rem;font-weight:800;color:var(--ink)}

/* ---- مدونة + الأسئلة ---- */
.posts{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.3rem}
.post{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.5rem;display:flex;flex-direction:column;gap:.5rem}
.post:hover{box-shadow:0 14px 30px -18px rgba(49,46,129,.4)}
.article{max-width:780px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:2rem;font-size:1.05rem}
details.faq{background:#fff;border:1px solid var(--line);border-radius:16px;padding:1rem 1.2rem;margin-bottom:.8rem}
details.faq summary{font-weight:800;color:var(--ink);cursor:pointer}
details.faq p{margin-top:.6rem}
.prose p{margin-bottom:1rem}

/* ---- الفوتر ---- */
.site-footer{background:#1e1b4b;color:#c7d2fe;padding-top:3rem;margin-top:2rem}
.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:2rem}
.site-footer h4{color:#fff;margin-bottom:.8rem}
.site-footer a{display:block;padding:.15rem 0;color:#c7d2fe;font-size:.92rem}.site-footer a:hover{color:#fbbf24}
.site-footer p{margin:.8rem 0;font-size:.92rem}
.copy{border-top:1px solid rgba(255,255,255,.12);margin-top:2rem;padding:1rem 1.2rem;text-align:center;font-size:.85rem}
.wa-float{position:fixed;bottom:20px;inset-inline-start:20px;width:56px;height:56px;border-radius:50%;background:#22c55e;color:#fff;font-size:1.6rem;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 24px rgba(34,197,94,.45);z-index:60}

/* ---- لوحات التحكم ---- */
body.dash{display:flex;min-height:100vh;background:#f1f5f9}
.dash-side{width:260px;background:#1e1b4b;color:#e0e7ff;padding:1.2rem;display:flex;flex-direction:column;gap:1rem;position:sticky;top:0;height:100vh;flex-shrink:0}
.dash-brand{padding:.4rem .4rem 1rem;border-bottom:1px solid rgba(255,255,255,.1)}
.dash-side nav{display:flex;flex-direction:column;gap:.3rem;flex:1}
.dash-side nav a{display:flex;gap:.7rem;align-items:center;padding:.7rem .9rem;border-radius:12px;font-weight:700;font-size:.92rem;color:#c7d2fe}
.dash-side nav a:hover{background:rgba(255,255,255,.08)}.dash-side nav a.active{background:#4f46e5;color:#fff}
.dash-logout{width:100%;background:rgba(255,255,255,.08);color:#fecaca;border:0;border-radius:12px;padding:.7rem;font:inherit;font-weight:700;cursor:pointer}
.dash-main{flex:1;min-width:0}
.dash-top{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.6rem;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}
.dash-top h1{font-size:1.3rem}
.dash-user{display:flex;gap:.7rem;align-items:center}.dash-user small{display:block;color:var(--muted);font-size:.75rem}
.dash-content{padding:1.6rem;max-width:1300px}
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:1rem;margin-bottom:1.5rem}
.stat{background:#fff;border:1px solid var(--line);border-radius:18px;padding:1.2rem}
.stat span{color:var(--muted);font-size:.85rem;font-weight:700}.stat b{display:block;font-size:2rem;color:var(--ink)}
.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.4rem;margin-bottom:1.4rem}
.panel h2{font-size:1.1rem;margin-bottom:1rem}
.order-card{border:1px solid var(--line);border-radius:16px;padding:1rem 1.2rem;margin-bottom:.8rem}
.order-card header{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;align-items:center}
.order-card details{margin-top:.8rem}.order-card summary{cursor:pointer;color:var(--primary);font-weight:700}
.empty{text-align:center;color:var(--muted);padding:1.5rem}
/* ---- الدروس المسجلة والكتب ---- */
.pkg-img{position:relative}
.pkg-img .pkg-type{position:absolute;top:12px;inset-inline-start:12px;background:rgba(255,255,255,.92);color:var(--primary);font-size:.75rem;font-weight:800;padding:.15rem .7rem;border-radius:6px;filter:none}
.pkg-img.pkg-img-cover{height:auto;aspect-ratio:16/10;background:#e2e8f0}
.pkg-img-cover img{width:100%;height:100%;object-fit:cover;display:block}
.pkg-tutor{display:flex;align-items:center;gap:.6rem;padding:.5rem .7rem;background:#f8fafc;border:1px solid var(--line);border-radius:12px}
.pkg-tutor .avatar{width:34px;height:34px;font-size:.95rem;flex-shrink:0}
.pkg-tutor small{display:block;line-height:1.3;font-size:.72rem}
.pkg-tutor b{display:block;line-height:1.4;color:var(--ink);font-size:.9rem}
.pkg-price{font-size:1.4rem;font-weight:800;color:var(--ink)}
.video-wrap{position:relative;aspect-ratio:16/9;background:#000;border-radius:14px;overflow:hidden}
.video-wrap iframe,.video-wrap video{position:absolute;inset:0;width:100%;height:100%;border:0}
/* قائمة بيانات المستخدم وتسجيل الخروج عند الضغط على الصورة الشخصية - مطابقة للتصميم */
.user-menu-wrapper{position:relative;display:inline-block}
.user-profile-trigger{background:transparent;border:0;cursor:pointer;padding:.2rem;border-radius:50%;display:flex;align-items:center;gap:.6rem;text-align:inherit;font:inherit}
.user-avatar-btn-wrap{position:relative;transition:transform .18s ease,filter .18s ease;display:inline-flex}
.user-profile-trigger:hover .user-avatar-btn-wrap{transform:scale(1.05)}
.user-profile-dropdown{position:absolute;inset-inline-end:0;top:calc(100% + 12px);min-width:320px;max-width:calc(100vw - 1.5rem);background:#fff;border:1px solid #f1f5f9;border-radius:28px !important;box-shadow:0 20px 50px rgba(15,23,42,.14),0 4px 12px rgba(15,23,42,.06);padding:0 !important;z-index:9999;text-align:right;display:none;overflow:hidden}
.user-profile-dropdown.show{display:block !important;animation:userDropdownFade .18s cubic-bezier(0.16,1,0.3,1)}
@keyframes userDropdownFade{from{opacity:0;transform:translateY(-8px) scale(0.98)}to{opacity:1;transform:translateY(0) scale(1)}}
.user-dropdown-row-link{display:flex;align-items:center;justify-content:space-between;padding:1.15rem 1.6rem;border-top:1px solid #f1f5f9;text-decoration:none;color:#0f172a;transition:background .15s ease}
.user-dropdown-row-link:hover{background:#f8fafc;color:#0f172a}
.user-dropdown-logout-btn{width:100%;display:flex;align-items:center;justify-content:flex-start;padding:1.15rem 1.6rem;background:transparent;border:0;color:#e11d48;font-weight:900;font-size:1.12rem;cursor:pointer;text-align:right;font-family:inherit;transition:background .15s ease}
.user-dropdown-logout-btn:hover{background:#fff1f2}
.btn-block{width:100%;display:flex;align-items:center;justify-content:center;gap:.4rem;text-align:center;border-radius:6px !important}
.btn-danger{background:#ef4444;color:#fff;border:1px solid #dc2626;padding:.6rem 1rem;font-weight:700;font-size:.9rem;cursor:pointer;border-radius:6px !important;transition:background .15s ease}
.btn-danger:hover{background:#dc2626}

.toolbar{display:flex;gap:.6rem;flex-wrap:wrap;margin-bottom:1rem;align-items:center}

@media(max-width:960px){
  .hero .container{grid-template-columns:1fr;padding-top:2.5rem;padding-bottom:2.5rem}.hero h1{font-size:2.1rem}.hero-art{display:none}
  .burger{display:flex !important;flex-shrink:0 !important}
  .desktop-only{display:none !important}
  .nav{flex-wrap:nowrap;padding:.6rem 1rem}
  .nav-controls{gap:.5rem}
  .footer-grid{grid-template-columns:1fr}
  body.dash{flex-direction:column !important}
  .dash-side{display:none !important}
  .dash-top{display:flex !important;flex-direction:row !important;align-items:center !important;justify-content:space-between !important;padding:.75rem 1rem !important;min-height:64px !important}
  .dash-top h1{font-size:1.15rem !important;margin:0 !important;white-space:nowrap !important}
  .dash-top-actions{display:flex !important;flex-direction:row !important;align-items:center !important;flex-wrap:nowrap !important;gap:.6rem !important;flex-shrink:0 !important}
  .dash-user-label{display:none !important}
  .row2{grid-template-columns:1fr}
  body.dash .strategic-drawer-wrapper{top:0;z-index:9999 !important}
}

/* ---- القائمة الاستراتيجية داخل لوحات التحكم ---- */
.dash-top-actions{display:flex;align-items:center;gap:.6rem}
.strategic-section-label{margin:.9rem .3rem .2rem;color:#97a3b6;font-size:.85rem;font-weight:800}
.strategic-item.is-current{background:#eef2ff;border-color:#c7d2fe;color:#312e81}
.strategic-item.is-current .item-icon{color:#4f46e5}
body.dash .strategic-drawer-wrapper{top:0}
@media(min-width:961px){body.dash .strategic-drawer-wrapper{display:none !important}}

/* ---- دعم اللغة الإنجليزية والاتجاه LTR ---- */
html[dir="ltr"] th, html[dir="ltr"] td { text-align: left; }
html[dir="ltr"] .user-profile-dropdown { text-align: left; }
html[dir="ltr"] .user-dropdown-logout-btn { text-align: left; }
html[dir="ltr"] .item-inner { flex-direction: row; }