:root{
  --bg:#07192C; --bg2:#0A2540; --surface:#0F2E4D; --surface2:#15395E; --surface3:#1C4773;
  --line:rgba(156,180,204,.16); --line2:rgba(156,180,204,.28);
  --text:#F0F6FC; --muted:#9CB4CC; --faint:#6D87A3;
  --teal:#06B6D4; --teal2:#1D4ED8; --gold:#F2B705; --gold2:#D4A017;
  --red:#ff5d6c; --shadow:0 14px 32px -18px rgba(4,12,24,.7);
  --card-shadow:0 6px 20px -12px rgba(4,12,24,.55);
  --radius:14px;
}
html[data-theme="light"]{
  --bg:#F4F7FB; --bg2:#EAF1FA; --surface:#FFFFFF; --surface2:#F0F5FC; --surface3:#E2ECF8;
  --line:rgba(10,37,64,.11); --line2:rgba(10,37,64,.22);
  --text:#0A2540; --muted:#435D78; --faint:#6E859E;
  --shadow:0 12px 28px -18px rgba(10,37,64,.2);
  --card-shadow:0 4px 16px -10px rgba(10,37,64,.14);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth; overflow-x:hidden}
body{
  margin:0; font-family:"Tajawal",system-ui,sans-serif; color:var(--text);
  overflow-x:hidden;
  background:
    radial-gradient(900px 480px at 85% -80px, rgba(18,194,160,.14), transparent 60%),
    radial-gradient(800px 500px at 5% 120px, rgba(245,185,66,.08), transparent 60%),
    linear-gradient(180deg,var(--bg2),var(--bg) 340px);
  min-height:100vh;
}
h1,h2,h3,h4{font-family:"Cairo",sans-serif; margin:0; line-height:1.35}
p{margin:0}
a{color:inherit; text-decoration:none}
button{font-family:inherit; cursor:pointer; border:none; background:none; color:inherit}
button,[role="button"],select,input,textarea{font-family:inherit}
button,select,input:not([type=checkbox]),textarea{min-height:44px}
img{max-width:100%}
.wrap{max-width:1440px; margin:0 auto; padding:0 24px}
.muted{color:var(--muted)}
.small{font-size:.86rem}
.ic{width:20px;height:20px;flex:none;display:inline-block;vertical-align:-4px}
.ic svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* ---------- Header ---------- */
header.site{
  position:sticky; top:0; z-index:60;
  padding-top:env(safe-area-inset-top);
  background:color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}
.nav{display:flex; align-items:center; gap:14px; padding:10px 0}
.logo{display:flex; align-items:center; gap:11px; font-family:"Cairo"; font-weight:900; font-size:1.22rem}
.logo-img{height:38px; width:auto; object-fit:contain; display:block}
.logo-mark{
  width:44px;height:44px;border-radius:13px; display:grid; place-items:center; color:#06231c;
  background:linear-gradient(145deg,#2fe0bd,#0ea583);
  box-shadow:0 6px 0 -2px #076b54, 0 14px 22px -10px rgba(18,194,160,.6);
}
.logo-mark svg{width:26px;height:26px;fill:none;stroke:#06231c;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.logo small{display:block; font-family:"Tajawal"; font-weight:500; font-size:.72rem; color:var(--faint); letter-spacing:.2px}
.nav-links{display:flex; gap:2px; margin-inline-start:auto; flex-wrap:wrap}
.nav-links button{
  padding:8px 13px; border-radius:11px; font-weight:700; font-size:.95rem; color:var(--muted);
  transition:.2s;
}
.nav-links button:hover{color:var(--text); background:var(--surface2)}
.nav-links button.active{color:#fff; background:linear-gradient(145deg,var(--teal),var(--teal2)); box-shadow:0 5px 0 -2px #065f4c, 0 10px 18px -8px rgba(18,194,160,.55)}
html[data-theme="light"] .nav-links button.active{color:#fff}
.nav-actions{display:flex; gap:8px; align-items:center}
.icon-btn{
  width:44px;height:44px;border-radius:12px; display:grid; place-items:center;
  background:var(--surface2); border:1px solid var(--line); color:var(--muted); transition:.2s;
}
.icon-btn:hover{color:var(--text); transform:translateY(-1px)}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:10px 20px; border-radius:13px; font-weight:800; font-size:.98rem; transition:.18s;
  min-height:46px;
}
.btn-teal{background:linear-gradient(145deg,#25d9b6,var(--teal2)); color:#04241c; box-shadow:0 6px 0 -2px #065f4c, 0 16px 26px -12px rgba(18,194,160,.6)}
.btn-teal:hover{transform:translateY(-2px)}
.btn-teal:active{transform:translateY(2px); box-shadow:0 2px 0 -1px #065f4c}
.btn-gold{background:linear-gradient(145deg,#ffd166,var(--gold2)); color:#3a2400; box-shadow:0 6px 0 -2px #8a5a00, 0 16px 26px -12px rgba(245,185,66,.55)}
.btn-gold:hover{transform:translateY(-2px)}
.btn-ghost{background:var(--surface2); color:var(--text); border:1px solid var(--line2)}
.btn-ghost:hover{background:var(--surface3)}
.btn-sm{padding:7px 14px; min-height:38px; font-size:.88rem; border-radius:10px}
.btn-danger{background:rgba(255,93,108,.14); color:var(--red); border:1px solid rgba(255,93,108,.4)}
.btn-danger:hover{background:rgba(255,93,108,.24)}
.burger{display:none}
@media (max-width:900px){
  .nav-links{display:none; position:absolute; top:100%; inset-inline:0; background:var(--bg2); border-bottom:1px solid var(--line); padding:10px 18px 16px; flex-direction:column; align-items:stretch}
  .nav-links.open{display:flex}
  .nav-links button{text-align:start; padding:12px}
  .burger{display:grid}
  .nav .btn-login-text{display:none}
}

/* ---------- Views ---------- */
.view{display:none; animation:fadeUp .45s ease both}
.view.active{display:block}
@keyframes fadeUp{from{opacity:0; transform:translateY(14px)} to{opacity:1; transform:none}}

/* ---------- 3D & motion ---------- */
.rv{opacity:0; transform:translateY(22px) rotateX(6deg); transform-origin:center top}
.rv.in{opacity:1; transform:none; transition:opacity .65s ease, transform .65s cubic-bezier(.2,.7,.3,1)}
.tilt{transform-style:preserve-3d; will-change:transform; position:relative}
.tilt .glare{
  content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none; z-index:3;
  background:radial-gradient(420px circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,.14), transparent 45%);
  opacity:0; transition:opacity .25s;
}
.tilt:hover .glare{opacity:1}
.tilt .tz{transform:translateZ(26px)}
@keyframes floaty{0%,100%{transform:translateY(0)}50%{transform:translateY(-11px)}}
.floaty{animation:floaty 5s ease-in-out infinite}
.floaty2{animation:floaty 6.5s ease-in-out infinite reverse}
@media (prefers-reduced-motion:reduce){
  .view{animation:none} *{transition:none!important; animation:none!important}
  .rv{opacity:1; transform:none}
}

/* ---------- Hero ---------- */
.hero{padding:52px 0 30px; position:relative; overflow:hidden}
#scene3d{position:absolute; inset:0; width:100%; height:100%; z-index:0; pointer-events:none}
.hero .wrap{position:relative; z-index:1}
.hero-grid{display:grid; grid-template-columns:1.2fr .8fr; gap:40px; align-items:center}
@media (max-width:860px){.hero-grid{grid-template-columns:1fr}}
.hero h1{font-size:clamp(1.55rem,4vw,3.1rem); font-weight:900}
.hero h1 .hl{color:var(--teal); position:relative; white-space:nowrap}
.hero h1 .hl2{color:var(--gold)}
@media (max-width:520px){
  .wrap{padding:0 16px}
  .hero{padding:32px 0 22px}
  .hero h1{font-size:1.48rem}
  .hero h1 .hl{white-space:normal}
}
.hero p.lead{color:var(--muted); font-size:1.12rem; line-height:1.9; margin:16px 0 24px; max-width:56ch}
.hero-cta{display:flex; gap:12px; flex-wrap:wrap}
.hero-badges{display:flex; gap:10px; flex-wrap:wrap; margin-top:22px}
.hbadge{display:inline-flex; align-items:center; gap:7px; background:var(--surface); border:1px solid var(--line); padding:7px 13px; border-radius:999px; font-size:.86rem; font-weight:700; color:var(--muted)}
.hbadge .dot{width:8px;height:8px;border-radius:50%;background:var(--teal)}
.hero-art{position:relative; perspective:1100px}
.hero-card{
  background:linear-gradient(160deg,var(--surface3),var(--surface) 55%);
  border:1px solid var(--line2); border-radius:24px; padding:22px; box-shadow:var(--card-shadow);
  transform-style:preserve-3d;
}
.hero-card .row{display:flex; align-items:center; gap:12px; padding:11px 0; border-bottom:1px dashed var(--line)}
.hero-card .row:last-child{border-bottom:none}
.mini-av{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;font-family:"Cairo";font-weight:900;color:#fff;flex:none; box-shadow:0 4px 0 -1px rgba(0,0,0,.35); position:relative; overflow:hidden}
.mini-av img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover}
.float-chip{
  position:absolute; background:var(--surface); border:1px solid var(--line2); border-radius:14px;
  padding:9px 14px; font-weight:800; font-size:.86rem; box-shadow:var(--shadow); display:flex; gap:8px; align-items:center; z-index:4;
}
.chip-a{top:-16px; inset-inline-start:-8px}
.chip-b{bottom:-14px; inset-inline-end:6px}
@media (max-width:860px){.hero-art{margin-top:8px}}

/* ---------- Stats ---------- */
.stats{display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin:26px 0 8px}
@media (max-width:760px){.stats{grid-template-columns:repeat(2,1fr)}}
.stat{
  background:linear-gradient(165deg,var(--surface2),var(--surface)); border:1px solid var(--line);
  border-radius:var(--radius); padding:18px; text-align:center; box-shadow:var(--card-shadow);
}
.stat .num{font-family:"Cairo"; font-weight:900; font-size:1.7rem; color:var(--teal)}
.stat:nth-child(2) .num{color:var(--gold)} .stat:nth-child(3) .num{color:#5aa9ff} .stat:nth-child(4) .num{color:#ff8fa3}
.stat .lbl{color:var(--muted); font-weight:700; font-size:.9rem; margin-top:2px}

/* ---------- Sections ---------- */
section.block{padding:44px 0 8px}
.sec-head{display:flex; align-items:end; justify-content:space-between; gap:16px; margin-bottom:20px; flex-wrap:wrap}
.sec-head h2{font-size:1.55rem; font-weight:900}
.sec-head .sub{color:var(--muted); margin-top:5px}
.sec-tag{display:inline-block; background:rgba(18,194,160,.12); color:var(--teal); border:1px solid rgba(18,194,160,.3); font-weight:800; font-size:.78rem; padding:4px 11px; border-radius:999px; margin-bottom:9px}

/* ---------- Stage cards ---------- */
.stage-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:16px; perspective:1200px}
@media (max-width:860px){.stage-grid{grid-template-columns:1fr}}
.stage-card{
  border-radius:22px; padding:24px; position:relative; overflow:hidden; cursor:pointer;
  border:1px solid var(--line2); box-shadow:var(--card-shadow); transition:box-shadow .22s; text-align:start; width:100%;
}
.stage-card::after{content:""; position:absolute; inset-inline-end:-30px; top:-30px; width:130px; height:130px; border-radius:50%; background:rgba(255,255,255,.08)}
.stage-card h3{font-size:1.35rem; color:#fff}
.stage-card p{color:rgba(255,255,255,.85); margin:8px 0 14px; line-height:1.8; font-size:.95rem}
.stage-card .go{color:#fff; font-weight:800; display:inline-flex; gap:7px; align-items:center}
.st-prep{background:linear-gradient(150deg,#0e7a63,#0a4f43)}
.st-sec{background:linear-gradient(150deg,#1450a0,#0c2f63)}
.st-bacc{background:linear-gradient(150deg,#8a5a00,#5f3d00)}
.stage-card .meta{display:flex; gap:14px; color:rgba(255,255,255,.8); font-size:.85rem; font-weight:700; margin-bottom:14px; flex-wrap:wrap}

/* ---------- Features ---------- */
.feat-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:16px; perspective:1200px}
@media (max-width:900px){.feat-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.feat-grid{grid-template-columns:1fr}}
.feat{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
  padding:22px; box-shadow:var(--card-shadow);
}
.feat .ficon{width:52px;height:52px;border-radius:15px; display:grid; place-items:center; margin-bottom:13px; box-shadow:0 5px 0 -2px rgba(0,0,0,.3)}
.feat .ficon svg{width:26px;height:26px;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.feat h3{font-size:1.08rem; margin-bottom:7px}
.feat p{color:var(--muted); line-height:1.85; font-size:.94rem}

/* ---------- Filters ---------- */
.filters{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
  padding:16px; display:flex; gap:12px; flex-wrap:wrap; align-items:center; box-shadow:var(--shadow); margin-bottom:20px;
}
.chips{display:flex; gap:8px; flex-wrap:wrap}
.chip{
  padding:8px 16px; border-radius:999px; border:1px solid var(--line2); background:var(--surface2);
  font-weight:800; font-size:.9rem; color:var(--muted); min-height:40px; transition:.15s;
}
.chip:hover{color:var(--text)}
.chip.on{background:linear-gradient(145deg,var(--teal),var(--teal2)); color:#04241c; border-color:transparent; box-shadow:0 4px 0 -1px #065f4c}
.filters select,.filters input[type=search]{
  background:var(--surface2); border:1px solid var(--line2); color:var(--text);
  border-radius:11px; padding:9px 13px; font-size:.95rem; font-weight:600;
}
.filters input[type=search]{flex:1; min-width:170px}
.filters select:focus,.filters input:focus{outline:2px solid var(--teal); outline-offset:1px}

/* ---------- Teacher cards ---------- */
.tgrid{display:grid; grid-template-columns:repeat(3,1fr); gap:16px; perspective:1400px}
@media (max-width:960px){.tgrid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){.tgrid{grid-template-columns:1fr}}
.tcard{
  background:linear-gradient(170deg,var(--surface2),var(--surface)); border:1px solid var(--line);
  border-radius:20px; padding:20px; box-shadow:var(--card-shadow); cursor:pointer; position:relative; overflow:hidden;
}
.tcard::before{content:""; position:absolute; top:0; inset-inline:0; height:5px; background:var(--tc,#12c2a0); z-index:2}
.tcard .top{display:flex; gap:13px; align-items:center}
.avatar{
  width:62px;height:62px;border-radius:17px; display:grid; place-items:center; flex:none; position:relative; overflow:hidden;
  font-family:"Cairo"; font-weight:900; font-size:1.25rem; color:#fff;
  box-shadow:0 6px 0 -2px rgba(0,0,0,.35), inset 0 -8px 14px rgba(0,0,0,.18);
}
.avatar img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover}
.tcard h3{font-size:1.12rem}
.tcard .subj{color:var(--teal); font-weight:800; font-size:.92rem}
.tcard .bio{color:var(--muted); font-size:.9rem; line-height:1.8; margin:12px 0; min-height:3.2em}
.tags{display:flex; gap:6px; flex-wrap:wrap}
.tag{background:var(--surface3); border:1px solid var(--line); color:var(--muted); font-size:.78rem; font-weight:700; padding:4px 10px; border-radius:999px}
.tag.gold{background:rgba(245,185,66,.13); color:var(--gold); border-color:rgba(245,185,66,.35)}
.tag.free{background:rgba(18,194,160,.14); color:var(--teal); border-color:rgba(18,194,160,.4)}
.tcard .foot{display:flex; justify-content:space-between; align-items:center; margin-top:15px; padding-top:13px; border-top:1px dashed var(--line)}
.tcard .price{font-family:"Cairo"; font-weight:900; color:var(--gold); font-size:1.05rem}
.tcard .price small{color:var(--faint); font-family:"Tajawal"; font-weight:600; font-size:.75rem}
.tcard .view-link{color:var(--teal); font-weight:800; font-size:.9rem}

/* ---------- Steps ---------- */
.steps{display:grid; grid-template-columns:repeat(4,1fr); gap:14px}
@media (max-width:900px){.steps{grid-template-columns:repeat(2,1fr)}}
@media (max-width:520px){.steps{grid-template-columns:1fr}}
.step{background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:20px; box-shadow:var(--card-shadow); position:relative}
.step .n{
  width:40px;height:40px;border-radius:12px; display:grid; place-items:center; font-family:"Cairo"; font-weight:900;
  background:linear-gradient(145deg,#ffd166,var(--gold2)); color:#3a2400; box-shadow:0 4px 0 -1px #8a5a00; margin-bottom:12px;
}
.step h3{font-size:1.02rem; margin-bottom:6px}
.step p{color:var(--muted); font-size:.9rem; line-height:1.8}

/* ---------- Subjects ---------- */
.subj-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:12px; perspective:1200px}
@media (max-width:900px){.subj-grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:600px){.subj-grid{grid-template-columns:repeat(2,1fr)}}
.subj-card{
  background:var(--surface); border:1px solid var(--line); border-radius:15px; padding:16px;
  display:flex; align-items:center; gap:12px; box-shadow:var(--shadow); cursor:pointer; text-align:start; width:100%;
}
.subj-card .sic{width:44px;height:44px;border-radius:12px; display:grid; place-items:center; flex:none; font-family:"Cairo"; font-weight:900; color:#fff; box-shadow:0 4px 0 -1px rgba(0,0,0,.3); position:relative; overflow:hidden}
.subj-card b{font-size:.98rem; display:block}
.subj-card span{color:var(--faint); font-size:.8rem; font-weight:600}

/* ---------- Pricing ---------- */
.price-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:16px; perspective:1400px}
@media (max-width:900px){.price-grid{grid-template-columns:1fr}}
.pcard{
  background:linear-gradient(175deg,var(--surface2),var(--surface)); border:1px solid var(--line);
  border-radius:22px; padding:26px; box-shadow:var(--card-shadow); position:relative;
}
.pcard.hot{border:2px solid var(--gold)}
.pcard .hot-badge{position:absolute; top:-14px; inset-inline-start:22px; background:linear-gradient(145deg,#ffd166,var(--gold2)); color:#3a2400; font-weight:900; font-size:.8rem; padding:5px 13px; border-radius:999px; box-shadow:0 4px 0 -1px #8a5a00; z-index:4}
.pcard h3{font-size:1.2rem}
.pcard .amount{font-family:"Cairo"; font-weight:900; font-size:2.3rem; margin:12px 0 2px}
.pcard .amount small{font-size:.95rem; color:var(--muted); font-family:"Tajawal"; font-weight:700}
.pcard .per{color:var(--faint); font-size:.9rem; margin-bottom:16px}
.pcard ul{list-style:none; margin:0 0 20px; padding:0}
.pcard li{display:flex; gap:9px; align-items:flex-start; padding:6px 0; color:var(--muted); font-size:.94rem; line-height:1.7}
.pcard li .ck{color:var(--teal); font-weight:900; flex:none}
.pcard .btn{width:100%}
.mini-prices{display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-top:18px}
@media (max-width:860px){.mini-prices{grid-template-columns:repeat(2,1fr)}}
.mini-p{background:var(--surface); border:1px dashed var(--line2); border-radius:14px; padding:15px; text-align:center}
.mini-p b{font-family:"Cairo"; font-size:1.25rem; color:var(--gold); display:block}
.mini-p span{color:var(--muted); font-size:.86rem; font-weight:700}

/* ---------- Courses ---------- */
.cgrid{display:grid; grid-template-columns:repeat(3,1fr); gap:16px; perspective:1400px}
@media (max-width:960px){.cgrid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){.cgrid{grid-template-columns:1fr}}
.ccard{background:var(--surface); border:1px solid var(--line); border-radius:19px; overflow:hidden; box-shadow:var(--card-shadow); cursor:pointer}
.ccover{height:120px; position:relative; display:flex; align-items:flex-end; padding:14px; color:#fff}
.ccover .kind{position:absolute; top:12px; inset-inline-start:12px; background:rgba(0,0,0,.45); backdrop-filter:blur(4px); padding:4px 11px; border-radius:999px; font-size:.78rem; font-weight:800; z-index:2}
.ccover .disc{position:absolute; top:12px; inset-inline-end:12px; background:var(--red); padding:4px 11px; border-radius:999px; font-size:.78rem; font-weight:900; z-index:2}
.ccover .play-ic{position:absolute; top:50%; left:50%; transform:translate(-50%,-58%); width:52px; height:52px; border-radius:50%; background:rgba(0,0,0,.5); border:2px solid rgba(255,255,255,.85); display:grid; place-items:center; z-index:2}
.ccover .play-ic svg{width:22px;height:22px;fill:#fff; margin-inline-start:3px}
.ccover h3{font-size:1.08rem; text-shadow:0 2px 8px rgba(0,0,0,.4)}
.cbody{padding:16px}
.cbody .tname{color:var(--muted); font-size:.88rem; font-weight:700; display:flex; align-items:center; gap:8px}
.cbody .tname .avatar{width:28px;height:28px;border-radius:8px;font-size:.72rem;box-shadow:none}
.counts{display:flex; gap:12px; flex-wrap:wrap; margin:12px 0; color:var(--faint); font-size:.8rem; font-weight:700}
.cbody .foot{display:flex; justify-content:space-between; align-items:center; border-top:1px dashed var(--line); padding-top:12px}
.price-now{font-family:"Cairo"; font-weight:900; font-size:1.2rem; color:var(--gold)}
.price-old{color:var(--faint); text-decoration:line-through; font-size:.85rem; margin-inline-start:6px}
.free-now{font-family:"Cairo"; font-weight:900; font-size:1.2rem; color:var(--teal)}

/* ---------- Points ---------- */
.lb{display:grid; grid-template-columns:1fr 1fr; gap:16px}
@media (max-width:860px){.lb{grid-template-columns:1fr}}
.panel{background:var(--surface); border:1px solid var(--line); border-radius:20px; padding:22px; box-shadow:var(--card-shadow)}
.panel h3{font-size:1.15rem; margin-bottom:14px}
.lb-row{display:flex; align-items:center; gap:12px; padding:10px 6px; border-bottom:1px dashed var(--line)}
.lb-row:last-child{border-bottom:none}
.lb-row .rank{width:34px;height:34px;border-radius:10px; display:grid; place-items:center; font-family:"Cairo"; font-weight:900; background:var(--surface3); flex:none}
.lb-row.top1 .rank{background:linear-gradient(145deg,#ffd166,var(--gold2)); color:#3a2400; box-shadow:0 4px 0 -1px #8a5a00}
.lb-row.top2 .rank{background:linear-gradient(145deg,#e8eef7,#b9c7dd); color:#22344f}
.lb-row.top3 .rank{background:linear-gradient(145deg,#f0a35e,#c47b33); color:#3a1e00}
.lb-row .who{flex:1}
.lb-row .who b{display:block; font-size:.97rem}
.lb-row .who span{color:var(--faint); font-size:.8rem; font-weight:600}
.lb-row .pts{font-family:"Cairo"; font-weight:900; color:var(--teal)}
.reward{display:flex; align-items:center; gap:13px; padding:12px 0; border-bottom:1px dashed var(--line)}
.reward:last-child{border-bottom:none}
.reward .ric{width:48px;height:48px;border-radius:13px; display:grid; place-items:center; flex:none; box-shadow:0 4px 0 -1px rgba(0,0,0,.3)}
.reward .ric svg{width:24px;height:24px;fill:none;stroke:#fff;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.reward b{display:block; font-size:.97rem}
.reward span{color:var(--faint); font-size:.82rem; font-weight:600}
.reward .cost{margin-inline-start:auto; text-align:center}
.reward .cost b{color:var(--gold); font-family:"Cairo"}
.reward .cost span{display:block}

/* quiz */
.quiz-q{font-family:"Cairo"; font-weight:800; font-size:1.05rem; margin-bottom:12px}
.quiz-opts{display:grid; gap:9px}
.quiz-opt{
  text-align:start; background:var(--surface2); border:1px solid var(--line2); border-radius:12px;
  padding:12px 15px; font-weight:700; transition:.15s; min-height:48px;
}
.quiz-opt:hover{border-color:var(--teal)}
.quiz-opt.right{background:rgba(18,194,160,.16); border-color:var(--teal); color:var(--teal)}
.quiz-opt.wrong{background:rgba(255,93,108,.14); border-color:var(--red); color:var(--red)}
.quiz-pts{font-family:"Cairo"; font-weight:900; color:var(--gold); font-size:1.3rem}

/* ---------- Schedule ---------- */
.table-scroll{overflow-x:auto; border-radius:18px; border:1px solid var(--line); box-shadow:var(--card-shadow)}
table.sched{border-collapse:collapse; width:100%; min-width:640px; background:var(--surface)}
table.sched th,table.sched td{padding:13px 15px; text-align:start; border-bottom:1px solid var(--line); font-size:.93rem}
table.sched th{background:var(--surface3); font-family:"Cairo"; font-weight:800}
table.sched tr:last-child td{border-bottom:none}
table.sched td .tag{margin-inline-end:4px}
.hall{display:inline-block; background:rgba(18,194,160,.12); color:var(--teal); border:1px solid rgba(18,194,160,.3); padding:2px 10px; border-radius:999px; font-weight:800; font-size:.8rem}

/* ---------- Store ---------- */
.cart-bar{
  display:flex; align-items:center; gap:12px; background:var(--surface); border:1px solid var(--line2);
  border-radius:15px; padding:12px 16px; margin-bottom:18px; box-shadow:var(--shadow); flex-wrap:wrap;
}
.cart-bar .count{background:var(--gold); color:#3a2400; font-weight:900; border-radius:999px; padding:2px 11px; font-family:"Cairo"}
.book{background:var(--surface); border:1px solid var(--line); border-radius:18px; overflow:hidden; box-shadow:var(--card-shadow)}
.book .bcover{height:130px; display:flex; align-items:center; justify-content:center; color:#fff; position:relative}
.book .bcover .bk{font-family:"Cairo"; font-weight:900; font-size:1.05rem; text-align:center; padding:0 16px; text-shadow:0 2px 8px rgba(0,0,0,.45)}
.book .bbody{padding:15px}
.book .bbody .by{color:var(--muted); font-size:.86rem; font-weight:700}
.book .foot{display:flex; justify-content:space-between; align-items:center; margin-top:12px}

/* ---------- Forms ---------- */
.form-card{max-width:640px; margin:0 auto; background:var(--surface); border:1px solid var(--line); border-radius:22px; padding:28px; box-shadow:var(--card-shadow)}
.form-card h2{font-size:1.4rem; margin-bottom:6px}
.form-card .sub{color:var(--muted); margin-bottom:20px; line-height:1.8}
.frow{display:grid; grid-template-columns:1fr 1fr; gap:13px}
@media (max-width:560px){.frow{grid-template-columns:1fr}}
.field{margin-bottom:14px}
.field label{display:block; font-weight:800; font-size:.9rem; margin-bottom:6px}
.field input,.field select,.field textarea{
  width:100%; background:var(--surface2); border:1px solid var(--line2); color:var(--text);
  border-radius:12px; padding:11px 14px; font-size:.97rem;
}
.field textarea{min-height:90px; resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid var(--teal); outline-offset:1px}
.form-ok{
  display:none; background:rgba(18,194,160,.12); border:1px solid rgba(18,194,160,.4); color:var(--teal);
  border-radius:13px; padding:14px 16px; font-weight:800; margin-top:16px; line-height:1.8;
}
.form-ok.show{display:block}
.form-err{
  display:none; background:rgba(255,93,108,.1); border:1px solid rgba(255,93,108,.45); color:var(--red);
  border-radius:13px; padding:14px 16px; font-weight:800; margin-top:16px; line-height:1.8;
}
.form-err.show{display:block}
.auth-tabs{display:flex; gap:8px; margin-bottom:20px}
.auth-tabs button{flex:1; padding:11px; border-radius:12px; font-weight:800; background:var(--surface2); border:1px solid var(--line); color:var(--muted); min-height:46px}
.auth-tabs button.on{background:linear-gradient(145deg,var(--teal),var(--teal2)); color:#04241c; border-color:transparent}

/* ---------- Profile / course detail ---------- */
.crumb{display:flex; gap:8px; align-items:center; color:var(--faint); font-weight:700; font-size:.9rem; margin:26px 0 16px; flex-wrap:wrap}
.crumb button, .crumb a{color:var(--teal); font-weight:800; padding:6px 4px; min-height:44px; display:inline-flex; align-items:center}
.profile-head{
  display:flex; gap:20px; align-items:center; background:linear-gradient(160deg,var(--surface2),var(--surface));
  border:1px solid var(--line); border-radius:22px; padding:26px; box-shadow:var(--card-shadow); flex-wrap:wrap;
}
.profile-head .avatar{width:92px;height:92px;border-radius:24px;font-size:1.9rem}
.profile-head h2{font-size:1.6rem}
.profile-head .subj{color:var(--teal); font-weight:800; font-size:1.05rem}
.profile-head p{color:var(--muted); line-height:1.9; margin-top:8px; max-width:62ch}
.profile-head .actions{margin-inline-start:auto; display:flex; flex-direction:column; gap:9px}
@media (max-width:640px){.profile-head .actions{margin-inline-start:0; flex-direction:row; flex-wrap:wrap}}
.course-hero{display:grid; grid-template-columns:1.2fr .8fr; gap:20px; align-items:start}
@media (max-width:860px){.course-hero{grid-template-columns:1fr}}
.course-main{background:var(--surface); border:1px solid var(--line); border-radius:22px; overflow:hidden; box-shadow:var(--card-shadow)}
.course-main .big-cover{height:210px; display:flex; align-items:flex-end; padding:22px; color:#fff; position:relative}
.course-main .big-cover h2{font-size:1.5rem; text-shadow:0 2px 10px rgba(0,0,0,.45)}
.course-main .inner{padding:22px}
.player-wrap{position:relative; width:100%; background:#0b1220; border-radius:14px; overflow:hidden; margin-bottom:18px}
.player-wrap iframe{position:absolute; inset:0; width:100%; height:100%; border:0; pointer-events:none}
.lesson{display:flex; align-items:center; gap:12px; padding:12px 4px; border-bottom:1px dashed var(--line)}
.lesson:last-child{border-bottom:none}
.lesson .ln{width:34px;height:34px;border-radius:10px; background:var(--surface3); display:grid; place-items:center; font-family:"Cairo"; font-weight:900; flex:none; font-size:.88rem}
.lesson .free{margin-inline-start:auto}
.lesson button.watch{margin-inline-start:auto}
.lesson .lock{margin-inline-start:auto; color:var(--faint); font-weight:800; font-size:.85rem}
.buy-card{background:linear-gradient(170deg,var(--surface2),var(--surface)); border:1px solid var(--line2); border-radius:22px; padding:24px; box-shadow:var(--card-shadow); position:sticky; top:120px}
@media (max-width:860px){.buy-card{position:static}}
.buy-card .amount{font-family:"Cairo"; font-weight:900; font-size:2.1rem; color:var(--gold)}
.buy-card ul{list-style:none; padding:0; margin:16px 0}
.buy-card li{display:flex; justify-content:space-between; padding:8px 0; border-bottom:1px dashed var(--line); color:var(--muted); font-size:.93rem}
.buy-card li b{color:var(--text)}
.buy-card .btn{width:100%; margin-top:8px}
.redeem{display:flex; gap:8px; margin-top:14px}
.redeem input{
  flex:1; min-width:0; background:var(--surface2); border:1px solid var(--line2); color:var(--text);
  border-radius:11px; padding:10px 13px; font-weight:700; letter-spacing:1px; text-transform:uppercase;
}
.redeem input:focus{outline:2px solid var(--gold); outline-offset:1px}

/* ---------- Video modal ---------- */
.vmodal{
  position:fixed; inset:0; z-index:120; background:rgba(2,8,20,.86); backdrop-filter:blur(6px);
  display:none; align-items:center; justify-content:center; padding:18px;
}
.vmodal.open{display:flex}
.vbox{width:min(880px,96vw); max-height:calc(100vh - 24px); overflow-y:auto; background:var(--surface); border:1px solid var(--line2); border-radius:20px; box-shadow:var(--shadow)}
.vbox .vhead{position:sticky; top:0; z-index:10; background:var(--surface); border-bottom:1px solid var(--line); display:flex; align-items:center; gap:12px; padding:12px 16px}
.vbox .vhead b{flex:1; font-family:"Cairo"; font-size:1.02rem}
.vbox .vframe{position:relative; width:100%}
.vbox .vframe iframe{position:absolute; inset:0; width:100%; height:100%; border:0; pointer-events:none}

/* ---------- Top students ---------- */
.podium{display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-bottom:16px; perspective:1200px}
@media (max-width:700px){.podium{grid-template-columns:1fr}}
.pod{
  border-radius:20px; padding:22px; text-align:center; color:#fff; box-shadow:var(--card-shadow); position:relative; overflow:hidden;
}
.pod .medal{font-family:"Cairo"; font-weight:900; font-size:1.9rem}
.pod h3{font-size:1.15rem; margin:6px 0 2px}
.pod p{color:rgba(255,255,255,.85); font-size:.88rem; font-weight:700}
.pod .pct{font-family:"Cairo"; font-weight:900; font-size:1.6rem; margin-top:10px}
.pod-1{background:linear-gradient(160deg,#b97e10,#7a5200)}
.pod-2{background:linear-gradient(160deg,#5b7ba6,#33465f)}
.pod-3{background:linear-gradient(160deg,#a05c2c,#6e3c17)}

/* ---------- Join banner ---------- */
.join-banner{
  margin:48px 0 10px; border-radius:24px; padding:34px; color:#fff; position:relative; overflow:hidden;
  background:linear-gradient(140deg,#0c5f4c,#083f33 60%,#062b23); box-shadow:var(--card-shadow);
  display:flex; gap:22px; align-items:center; flex-wrap:wrap;
}
.join-banner::after{content:""; position:absolute; inset-inline-end:-50px; top:-60px; width:230px; height:230px; border-radius:50%; background:rgba(245,185,66,.16)}
.join-banner h2{font-size:1.5rem}
.join-banner p{color:rgba(255,255,255,.85); line-height:1.9; margin-top:7px; max-width:56ch}
.join-banner .btn{margin-inline-start:auto; position:relative; z-index:1}

/* ---------- Admin ---------- */
.admin-tabs{display:flex; gap:8px; flex-wrap:wrap; margin-bottom:18px}
.admin-tabs button{
  padding:10px 16px; border-radius:12px; font-weight:800; background:var(--surface); border:1px solid var(--line2);
  color:var(--muted); min-height:44px; transition:.15s;
}
.admin-tabs button:hover{color:var(--text)}
.admin-tabs button.on{background:linear-gradient(145deg,var(--teal),var(--teal2)); color:#04241c; border-color:transparent; box-shadow:0 4px 0 -1px #065f4c}
table.adm{border-collapse:collapse; width:100%; min-width:680px; background:var(--surface)}
table.adm th,table.adm td{padding:11px 13px; text-align:start; border-bottom:1px solid var(--line); font-size:.9rem; vertical-align:middle}
table.adm th{background:var(--surface3); font-family:"Cairo"; font-weight:800}
table.adm tr:last-child td{border-bottom:none}
table.adm .avatar{width:38px;height:38px;border-radius:10px;font-size:.8rem;box-shadow:none}
table.adm input[type=text],table.adm input[type=number],table.adm input[type=url]{
  background:var(--surface2); border:1px solid var(--line2); color:var(--text); border-radius:9px;
  padding:7px 10px; font-size:.88rem; font-weight:600; min-height:38px; width:100%; min-width:90px;
}
table.adm input:focus{outline:2px solid var(--teal)}
.row-actions{display:flex; gap:6px; flex-wrap:wrap}
.mini-btn{padding:6px 12px; border-radius:9px; font-weight:800; font-size:.82rem; min-height:36px; background:var(--surface3); border:1px solid var(--line2); color:var(--text)}
.mini-btn:hover{border-color:var(--teal); color:var(--teal)}
.mini-btn.danger{color:var(--red); border-color:rgba(255,93,108,.4); background:rgba(255,93,108,.08)}
.mini-btn.confirm{background:var(--red); color:#fff; border-color:transparent}
.admin-form{background:var(--surface); border:1px solid var(--line); border-radius:18px; padding:20px; box-shadow:var(--shadow); margin-bottom:18px}
.admin-form h3{margin-bottom:14px; font-size:1.08rem}
.code-txt{font-family:ui-monospace,Menlo,Consolas,monospace; font-weight:700; letter-spacing:1px; direction:ltr; unicode-bidi:embed}
.st-unused{background:rgba(18,194,160,.12); color:var(--teal); border:1px solid rgba(18,194,160,.35)}
.st-used{background:rgba(255,93,108,.1); color:var(--red); border:1px solid rgba(255,93,108,.35)}

/* ---------- Footer ---------- */
footer.site{margin-top:60px; border-top:1px solid var(--line); background:var(--bg2); padding-bottom:env(safe-area-inset-bottom)}
.foot-grid{display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr; gap:24px; padding:38px 0 26px}
@media (max-width:860px){.foot-grid{grid-template-columns:1fr 1fr}}
@media (max-width:520px){.foot-grid{grid-template-columns:1fr}}
footer.site h4, footer.site .foot-title{font-family:"Cairo",sans-serif; font-weight:700; line-height:1.35; margin-bottom:13px; font-size:1rem}
footer.site .fl{display:block; color:var(--muted); padding:6px 0; font-size:.93rem; font-weight:600; text-align:start}
footer.site .fl:hover{color:var(--teal)}
footer.site p{color:var(--muted); line-height:1.9; font-size:.92rem}
.foot-bottom{border-top:1px solid var(--line); padding:16px 0; display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; color:var(--faint); font-size:.86rem; font-weight:600}

/* ---------- Floating ---------- */
.wa-float{
  position:fixed; bottom:calc(16px + env(safe-area-inset-bottom)); left:16px; z-index:70; width:48px; height:48px; border-radius:50%;
  background:linear-gradient(145deg,#2fe07a,#12a150); display:grid; place-items:center;
  box-shadow:0 6px 0 -3px #0a6e35, 0 14px 24px -10px rgba(18,161,80,.55); transition:.2s;
}
.wa-float:hover{transform:translateY(-3px)}
.wa-float svg{width:24px;height:24px;fill:#fff}
.toast{
  position:fixed; bottom:22px; inset-inline-end:20px; z-index:130; max-width:min(92vw,420px);
  background:var(--surface3); color:var(--text); border:1px solid var(--line2); border-radius:15px;
  padding:15px 18px; font-weight:700; line-height:1.8; box-shadow:var(--shadow);
  opacity:0; transform:translateY(16px); pointer-events:none; transition:.3s;
}
.toast.show{opacity:1; transform:none}
.empty-note{grid-column:1/-1; text-align:center; color:var(--muted); padding:34px 10px; font-weight:700}
.page-head{padding:34px 0 4px}
.page-head h1{font-size:1.9rem; font-weight:900}
.page-head p{color:var(--muted); margin-top:8px; line-height:1.9; max-width:70ch}

/* ---------- صور مصغّرة للحصص ---------- */
.lesson-thumb{width:96px; height:54px; flex:none; border-radius:10px; object-fit:cover; border:1px solid var(--line2); background:var(--surface3)}
.lesson-thumb.ph{display:grid; place-items:center; color:#fff; font-size:1.2rem}
.lesson-t{flex:1; min-width:0}
.lesson-t b{display:block; line-height:1.7}
.lesson-t span{display:block; margin-top:2px}
@media (max-width:640px){ .lesson-thumb{width:76px; height:43px} }

/* ---------- حالات الطلاب ---------- */
.tag.st-pending{background:rgba(245,185,66,.13); color:var(--gold); border-color:rgba(245,185,66,.4)}
.tag.st-approved{background:rgba(18,194,160,.14); color:var(--teal); border-color:rgba(18,194,160,.4)}
.tag.st-rejected{background:rgba(255,93,108,.1); color:var(--red); border-color:rgba(255,93,108,.4)}
.tag.st-suspended{background:rgba(136,153,187,.14); color:var(--muted); border-color:var(--line2)}
.mini-btn.ok{color:var(--teal); border-color:rgba(18,194,160,.4); background:rgba(18,194,160,.08)}

/* ---------- تثبيت التطبيق (PWA) ---------- */
.pwa-install{display:flex; align-items:center; gap:18px; flex-wrap:wrap; margin-top:34px; padding:20px 22px; border:1px solid rgba(245,185,66,.35); border-radius:18px; background:linear-gradient(140deg, rgba(245,185,66,.09), rgba(18,194,160,.06)); box-shadow:var(--card-shadow)}
.pwa-install .pwa-text{flex:1; min-width:260px}
.pwa-install h3{font-size:1.15rem; margin-bottom:6px}
.pwa-install p{line-height:1.9}
.pwa-install .btn{flex:none}
@media (max-width:640px){ .pwa-install .btn{width:100%} }

/* ---------- Responsive polish (mobile / tablet) ---------- */
@media (max-width:1024px){
  .nav-links button, .chip, .mini-btn, .fl, a.btn{min-height:44px}
}
@media (max-width:640px){
  .admin-tabs{flex-wrap:nowrap; overflow-x:auto; -webkit-overflow-scrolling:touch; padding-bottom:6px}
  .admin-tabs button{flex:none; white-space:nowrap}
  .filters select, .filters input[type=search]{width:100%; min-width:0}
  .form-row{grid-template-columns:1fr!important}
  .form-card button[type=submit]{width:100%}
  .hero-cta .btn{flex:1 1 auto}
}

/* ---------- Protected Player + Moving Watermark + DevTools Guard ---------- */
.player-shell{position:relative; width:100%; background:var(--surface2); border-radius:14px; overflow:hidden; border:1px solid var(--line)}
.player-stage{position:relative; width:100%; aspect-ratio:16/9; background:#0b1220; overflow:hidden}
.player-shell:fullscreen, .player-shell:-webkit-full-screen, .player-shell.is-fs{position:fixed; inset:0; z-index:9998; width:100vw; height:100vh; max-width:none; border-radius:0; display:flex; flex-direction:column}
.player-shell:fullscreen .player-stage, .player-shell:-webkit-full-screen .player-stage, .player-shell.is-fs .player-stage{flex:1; aspect-ratio:auto}
.player-shell iframe{position:absolute; inset:0; width:100%; height:100%; border:0; pointer-events:none}
.player-shield{position:absolute; inset:0; z-index:2; background:transparent; cursor:pointer}
.player-poster{position:absolute; inset:0; z-index:3; display:grid; place-items:center; cursor:pointer; background-size:cover; background-position:center; overflow:hidden}
.player-poster img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0}
.player-poster::after{content:""; position:absolute; inset:0; background:rgba(8,17,32,.42); z-index:1}
.player-poster .poster-play{position:relative; z-index:2; display:inline-flex; align-items:center; gap:10px; background:var(--teal2); color:#04241c; font-family:"Cairo"; font-weight:900; font-size:1.05rem; padding:13px 26px; border-radius:999px; box-shadow:0 10px 28px rgba(0,0,0,.45); border:0}
.player-wm{
  position:absolute; z-index:6; pointer-events:none; user-select:none; -webkit-user-select:none;
  font-size:.78rem; font-weight:800; color:rgba(255,255,255,.55);
  background:rgba(8,17,32,.42); padding:4px 10px; border-radius:8px;
  text-shadow:0 1px 3px rgba(0,0,0,.85); white-space:nowrap;
  transition:top 1.1s ease, left 1.1s ease;
}
.player-controls{
  display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 14px;
  background:var(--surface2); border-top:1px solid var(--line);
}
.player-controls button{
  background:rgba(8,17,32,.88); color:#fff; border:1px solid rgba(255,255,255,.22);
  border-radius:10px; padding:7px 16px; font-weight:800; font-size:.88rem; min-height:40px; cursor:pointer;
}
.player-controls button:hover{background:var(--teal2); color:#04241c; border-color:transparent}
#devtoolsOverlay{
  position:fixed; inset:0; z-index:9999; background:var(--bg); color:var(--text);
  display:flex; align-items:center; justify-content:center; padding:24px; text-align:center;
}
#devtoolsOverlay .dt-box{
  max-width:520px; background:var(--surface); border:1px solid var(--red); border-radius:22px;
  padding:32px 24px; box-shadow:var(--shadow); line-height:1.9;
}
#devtoolsOverlay h2{color:var(--red); margin-bottom:12px}

/* ---------- Brief #3: Simplified Hero, Teacher Groups & Mobile Polish ---------- */
.hero-grid.hero-simple{grid-template-columns:1fr; max-width:760px}
.course-group{margin-top:22px}
.course-group:first-of-type{margin-top:8px}
.course-group-title{font-size:1.08rem; font-weight:800; color:var(--teal); margin-bottom:12px; padding-bottom:6px; border-bottom:1px solid var(--line)}
.avatar.lg{width:84px; height:84px; font-size:1.8rem; border-radius:22px}
footer.site{padding-bottom:calc(74px + env(safe-area-inset-bottom))}
@media (max-width:860px){
  #scene3d{opacity:.24}
}
@media (max-width:640px){
  .hero{padding:20px 0 14px}
  .hero p.lead{margin:10px 0 16px; font-size:.98rem; line-height:1.7}
  section.block{padding:22px 0 4px}
  .sec-head{margin-bottom:12px}
  .stage-card{padding:16px 18px}
  .stage-card .meta{margin-bottom:10px}
  .stats{margin:16px 0 4px; gap:8px}
  .stat{padding:12px 6px}
  .stat .num{font-size:1.3rem}
  .stat .lbl{font-size:.8rem}
  .wa-float{width:44px; height:44px; bottom:calc(12px + env(safe-area-inset-bottom)); left:12px}
  .wa-float svg{width:22px; height:22px}
}

/* ---------- Smart Academy Teacher Card + Real Video Thumbnails ---------- */
.tcard.tcard-smart{padding:0; overflow:hidden; display:flex; flex-direction:column}
.tcard-cover{position:relative; height:170px; display:grid; place-items:center; overflow:hidden}
.tcard-cover .tcard-init{font-family:"Cairo"; font-weight:900; font-size:2.4rem; color:#fff; user-select:none}
.tcard-cover img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center top}
.tcard-body{padding:16px 18px 18px; display:flex; flex-direction:column; flex:1}
.tcard-body h3{font-size:1.08rem; font-weight:800; margin-bottom:2px}
.tcard-body .subj{color:var(--teal); font-weight:700; font-size:.9rem}
.tcard-body .foot{margin-top:auto; padding-top:12px}
.ccover{position:relative; overflow:hidden}
.ccover .ccover-img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0}
.ccover::after{content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(8,17,32,.18), rgba(8,17,32,.68)); z-index:1; pointer-events:none}
.ccover .kind, .ccover .disc, .ccover .play-ic, .ccover .ccover-title, .ccover .dur-badge{position:relative; z-index:2}
.ccover .dur-badge{position:absolute; bottom:10px; inset-inline-end:12px; background:rgba(8,17,32,.86); color:#fff; font-family:"Cairo"; font-weight:800; font-size:.76rem; padding:3px 9px; border-radius:8px; border:1px solid rgba(255,255,255,.2)}
.ccover .ccover-img + .kind ~ .ccover-title{opacity:0; pointer-events:none}

/* ---------- Skeleton Loading & Async States ---------- */
@keyframes eduShimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}
.skeleton{background:linear-gradient(90deg, rgba(148,163,184,.12) 25%, rgba(148,163,184,.24) 50%, rgba(148,163,184,.12) 75%); background-size:200% 100%; animation:eduShimmer 1.3s ease-in-out infinite; border-radius:12px}
.skeleton-card{border-radius:18px; border:1px solid var(--border); background:var(--card); overflow:hidden; padding-bottom:16px}
.skeleton-cover{height:170px; width:100%; border-radius:0}
.skeleton-line{height:14px; margin:12px 16px 0; border-radius:8px}
.skeleton-line.w-60{width:60%}
.skeleton-line.w-40{width:40%}

/* ---------- EduZeed Brand Lockups, Tagline & Deliberate UI ---------- */
.logo{display:inline-flex; align-items:center; gap:10px; flex-wrap:nowrap}
.logo-img{height:38px; width:auto; display:block}
.logo-tagline{font-family:"Cairo",sans-serif; font-size:.78rem; font-weight:700; color:var(--muted); white-space:nowrap; border-inline-start:1px solid var(--line2); padding-inline-start:10px}
html[data-theme="dark"] header.site .logo-light{display:none}
html[data-theme="light"] header.site .logo-dark{display:none}
footer.site{background:#07192C; color:#F0F6FC; border-top:1px solid rgba(156,180,204,.16)}
footer.site .muted, footer.site p, footer.site .fl{color:#9CB4CC}
footer.site .logo-tagline{color:#9CB4CC; border-color:rgba(156,180,204,.25)}
.auth-brand{display:flex; flex-direction:column; align-items:center; gap:6px; padding:14px 18px; margin-bottom:18px; border-radius:12px; background:#FFFFFF; color:#0A2540; border:1px solid rgba(10,37,64,.12)}
.auth-brand img{height:40px; width:auto}
.auth-brand .logo-tagline{border:none; padding:0; color:#435D78; font-size:.84rem}
.hero-stage-bar{display:flex; flex-wrap:wrap; gap:10px; margin-top:20px}
.hero-stage-pill{display:inline-flex; align-items:center; gap:8px; padding:10px 16px; border-radius:10px; background:var(--surface); border:1px solid var(--line2); color:var(--text); font-weight:700; font-size:.92rem; transition:border-color .15s, background .15s}
.hero-stage-pill:hover{border-color:var(--teal); background:var(--surface2)}
.hero-meta-line{margin-top:16px; font-size:.92rem; color:var(--muted); font-weight:600}
@media(max-width:640px){.logo-tagline{display:none}}


