:root{
  --primary:#14B878;
  --primary-2:#8DEB8B;
  --navy:#073B2D;
  --ink:#06152B;
  --black:#050505;
  --white:#fff;
  --soft:#F3FFF8;
  --soft-2:#E8FFF2;
  --muted:#64748B;
  --border:#D9F3E5;
  --success:#12B981;
  --warning:#F59E0B;
  --danger:#EF4444;
  --radius:24px;
  --shadow:0 24px 70px rgba(6,21,43,.12);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Cairo","Tajawal",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  direction:rtl;
  background:var(--white);
  color:var(--ink);
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
img{max-width:100%;display:block}
.container{width:min(1180px,calc(100% - 32px));margin-inline:auto}
.text-logo{display:flex;align-items:center;gap:10px;font-weight:900;letter-spacing:.2px;color:var(--ink);text-transform:lowercase}
.logo-mark{width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,var(--primary),var(--primary-2));display:grid;place-items:center;color:#fff;font-weight:900;box-shadow:0 14px 40px rgba(20,184,120,.22)}
.navbar{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.78);backdrop-filter:blur(18px);border-bottom:1px solid rgba(215,238,245,.8)}
.nav-inner{height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.nav-links{display:flex;align-items:center;gap:22px;color:#334155;font-weight:700;font-size:14px}
.nav-actions{display:flex;gap:10px;align-items:center}
.btn{border:0;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:13px 20px;border-radius:14px;font-weight:900;transition:.25s ease;white-space:nowrap}
.btn-primary{background:linear-gradient(135deg,var(--primary),var(--primary-2));color:#fff;box-shadow:0 18px 45px rgba(20,184,120,.22)}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 22px 58px rgba(20,184,120,.28)}
.btn-outline{background:#fff;border:1px solid var(--border);color:var(--primary)}
.btn-outline:hover{border-color:var(--primary);transform:translateY(-2px)}
.btn-dark{background:var(--ink);color:#fff}
.btn-ghost{background:transparent;color:#334155;border:1px solid transparent}.btn-ghost:hover{background:var(--soft)}
.badge{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--border);border-radius:999px;padding:8px 13px;background:rgba(234,248,252,.75);color:var(--primary);font-weight:900;font-size:13px}
.hero{position:relative;min-height:calc(100vh - 76px);padding:72px 0 58px;overflow:hidden;background:radial-gradient(circle at 12% 12%,rgba(141,235,139,.18),transparent 27%),linear-gradient(180deg,#fff 0%,#f8fffb 100%)}
.hero::before{content:"";position:absolute;inset:auto -90px -160px auto;width:480px;height:480px;background:radial-gradient(circle,rgba(20,184,120,.13),transparent 66%);border-radius:50%}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:42px;position:relative;z-index:2}
.hero-copy h1{font-size:clamp(42px,6vw,82px);line-height:1.03;margin:18px 0 18px;font-weight:1000;color:var(--ink);letter-spacing:-1.8px}
.hero-copy h1 span{display:block;color:var(--primary);text-shadow:0 14px 46px rgba(20,184,120,.16)}
.hero-copy p{font-size:18px;line-height:2;color:#475569;max-width:640px;margin:0 0 28px;font-weight:600}
.hero-buttons{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:28px}
.hero-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:620px}
.stat-card{background:rgba(255,255,255,.78);border:1px solid var(--border);border-radius:20px;padding:16px;box-shadow:0 18px 50px rgba(6,21,43,.06)}
.stat-card strong{display:block;font-size:22px;color:var(--ink);font-weight:1000}.stat-card span{font-size:13px;color:var(--muted);font-weight:800}
.hero-visual{position:relative;min-height:610px;display:grid;place-items:center}
.doctor-orbit{position:absolute;right:0;bottom:0;width:min(430px,78vw);height:min(520px,82vw);border-radius:38% 38% 26% 26%;background:linear-gradient(155deg,rgba(20,184,120,.15),rgba(141,235,139,.03));border:1px solid rgba(20,184,120,.15);box-shadow:var(--shadow);overflow:hidden;display:flex;align-items:end;justify-content:center}
.doctor-orbit::before{content:"";position:absolute;inset:44px 30px auto auto;width:280px;height:280px;border:18px solid rgba(20,184,120,.13);border-radius:50%;transform:rotate(-22deg)}
.doctor-img{position:relative;width:92%;margin-bottom:-10px;z-index:2;filter:drop-shadow(0 28px 45px rgba(6,21,43,.18))}
.skeleton-panel{position:absolute;left:0;top:20px;width:min(335px,46vw);height:430px;background:linear-gradient(180deg,rgba(6,50,71,.92),rgba(6,21,43,.92));border:1px solid rgba(255,255,255,.12);border-radius:34px;box-shadow:0 28px 80px rgba(6,21,43,.22);overflow:hidden}
.skeleton-panel canvas{width:100%;height:100%;display:block}
.skeleton-panel .panel-label{position:absolute;right:18px;top:16px;color:#fff;font-weight:900;font-size:13px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);border-radius:999px;padding:8px 12px;backdrop-filter:blur(10px)}
.float-card{position:absolute;left:60px;bottom:72px;background:#fff;border:1px solid var(--border);border-radius:22px;padding:14px 16px;box-shadow:var(--shadow);display:flex;gap:12px;align-items:center;max-width:275px}
.float-icon{width:44px;height:44px;border-radius:14px;background:var(--soft-2);display:grid;place-items:center;color:var(--primary);font-weight:1000}.float-card b{display:block;font-size:14px}.float-card span{display:block;color:var(--muted);font-size:12px;font-weight:700}
.section{padding:86px 0}.section.soft{background:var(--soft)}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:30px}.section-title{margin:0;font-size:clamp(30px,4vw,48px);line-height:1.2;font-weight:1000;color:var(--ink)}.section-text{color:#64748b;line-height:1.9;font-weight:700;font-size:16px;max-width:650px;margin:10px 0 0}
.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.grid-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:24px;box-shadow:0 20px 60px rgba(6,21,43,.055)}
.card.dark{background:linear-gradient(145deg,var(--navy),var(--ink));color:#fff;border-color:rgba(255,255,255,.1)}
.card-icon{width:52px;height:52px;border-radius:17px;background:var(--soft-2);display:grid;place-items:center;color:var(--primary);font-size:22px;margin-bottom:18px}.card h3{margin:0 0 10px;font-size:21px;font-weight:1000}.card p{margin:0;color:#64748b;line-height:1.85;font-weight:650}.card.dark p{color:#cfe8ef}.card.dark .card-icon{background:rgba(255,255,255,.1);color:#fff}
.subject-card{position:relative;overflow:hidden;min-height:190px}.subject-card::after{content:"";position:absolute;left:-40px;bottom:-55px;width:160px;height:160px;border-radius:50%;background:rgba(141,235,139,.12)}
.step{display:flex;gap:16px;align-items:flex-start}.step-num{width:48px;height:48px;border-radius:16px;background:linear-gradient(135deg,var(--primary),var(--primary-2));color:#fff;display:grid;place-items:center;font-weight:1000;flex:0 0 auto}.step h3{margin:0 0 7px}.step p{margin:0;color:#64748b;line-height:1.8;font-weight:650}
.pricing-card{background:linear-gradient(145deg,#fff,#f6fcff);border:1px solid var(--border);border-radius:34px;padding:30px;box-shadow:var(--shadow);display:grid;grid-template-columns:1.2fr .8fr;gap:24px;align-items:center}.price{font-size:56px;font-weight:1000;color:var(--primary);line-height:1}.price small{font-size:17px;color:var(--muted)}.features-list{display:grid;gap:11px;margin:20px 0}.features-list div{display:flex;align-items:center;gap:10px;font-weight:800;color:#334155}.check{width:24px;height:24px;border-radius:9px;background:rgba(18,185,129,.1);color:var(--success);display:grid;place-items:center;font-weight:1000}
.footer{background:var(--ink);color:#fff;padding:44px 0}.footer-grid{display:grid;grid-template-columns:1.2fr .8fr .8fr;gap:24px}.footer p,.footer a{color:#cfe8ef;line-height:1.9;font-weight:650}.footer h4{margin:0 0 12px;font-size:18px}
.auth-wrap{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:var(--soft)}.auth-side{position:relative;padding:46px;background:linear-gradient(145deg,var(--navy),var(--ink));color:#fff;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}.auth-side::after{content:"";position:absolute;left:-140px;bottom:-160px;width:420px;height:420px;border-radius:50%;border:42px solid rgba(141,235,139,.16)}.auth-content{position:relative;z-index:2}.auth-side h1{font-size:48px;line-height:1.15;margin:70px 0 16px;font-weight:1000}.auth-side p{color:#d9f3e5;line-height:2;font-weight:700}.auth-form-wrap{display:grid;place-items:center;padding:34px}.auth-form{width:min(460px,100%);background:#fff;border:1px solid var(--border);border-radius:32px;padding:32px;box-shadow:var(--shadow)}.auth-form h2{margin:0 0 8px;font-size:32px}.auth-form>p{margin:0 0 22px;color:var(--muted);font-weight:700;line-height:1.8}.field{display:grid;gap:8px;margin-bottom:16px}.field label{font-weight:900;color:#334155}.field input,.field select,.field textarea{width:100%;border:1px solid var(--border);border-radius:14px;padding:13px 14px;outline:0;background:#fff;color:var(--ink);transition:.2s}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--primary);box-shadow:0 0 0 4px rgba(20,184,120,.08)}
.app-shell{display:grid;grid-template-columns:280px 1fr;min-height:100vh;background:var(--soft)}.sidebar{background:#fff;border-left:1px solid var(--border);padding:24px;position:sticky;top:0;height:100vh}.side-menu{margin-top:30px;display:grid;gap:8px}.side-menu a{padding:13px 14px;border-radius:14px;color:#475569;font-weight:900;display:flex;align-items:center;gap:10px}.side-menu a.active,.side-menu a:hover{background:var(--soft-2);color:var(--primary)}.main{padding:28px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.topbar h1{margin:0;font-size:30px;font-weight:1000}.user-pill{background:#fff;border:1px solid var(--border);border-radius:999px;padding:9px 14px;font-weight:900;display:flex;gap:9px;align-items:center}.dash-hero{background:linear-gradient(135deg,var(--navy),var(--ink));color:#fff;border-radius:32px;padding:30px;position:relative;overflow:hidden;margin-bottom:20px;box-shadow:var(--shadow)}.dash-hero::after{content:"";position:absolute;left:-60px;bottom:-90px;width:260px;height:260px;border-radius:50%;background:rgba(141,235,139,.15)}.dash-hero h2{margin:0 0 10px;font-size:34px}.dash-hero p{margin:0;color:#d9f3e5;line-height:1.9;font-weight:700}.progress-bar{height:12px;background:rgba(255,255,255,.14);border-radius:999px;overflow:hidden;margin-top:22px}.progress-fill{height:100%;width:42%;background:linear-gradient(90deg,var(--primary),var(--primary-2));border-radius:inherit}.course-card{display:flex;justify-content:space-between;gap:14px;align-items:center}.pill{display:inline-flex;border-radius:999px;background:var(--soft-2);color:var(--primary);font-weight:900;padding:7px 12px;font-size:12px}.status{display:inline-flex;align-items:center;gap:7px;font-weight:900;border-radius:999px;padding:8px 12px;font-size:12px}.status.active{background:rgba(18,185,129,.1);color:var(--success)}.status.pending{background:rgba(245,158,11,.12);color:var(--warning)}.status.danger{background:rgba(239,68,68,.1);color:var(--danger)}
.table-card{overflow:hidden;padding:0}.table{width:100%;border-collapse:collapse;background:#fff}.table th,.table td{padding:15px;text-align:right;border-bottom:1px solid var(--border);font-weight:750;color:#334155}.table th{background:#f8fffb;color:#64748b;font-size:13px;font-weight:1000}.table tr:last-child td{border-bottom:0}.payment-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.pay-option{border:1px solid var(--border);background:#fff;border-radius:24px;padding:22px;cursor:pointer;transition:.25s}.pay-option:hover,.pay-option.selected{border-color:var(--primary);box-shadow:0 20px 60px rgba(20,184,120,.1);transform:translateY(-2px)}.pay-option h3{margin:0 0 8px}.pay-option p{margin:0;color:var(--muted);line-height:1.8;font-weight:700}.manual-box{display:none;margin-top:18px}.manual-box.active{display:block}.coupon-box{display:flex;gap:10px;align-items:center;margin-top:16px}.coupon-box input{flex:1}
.lesson-layout{display:grid;grid-template-columns:1fr 330px;gap:18px}.video-box{background:#020617;border-radius:28px;overflow:hidden;box-shadow:var(--shadow);aspect-ratio:16/9;display:grid;place-items:center;color:#fff}.video-box iframe{width:100%;height:100%;border:0}.lesson-list{display:grid;gap:10px}.lesson-item{padding:14px;border:1px solid var(--border);border-radius:16px;background:#fff;font-weight:900;color:#334155}.lesson-item.active{border-color:var(--primary);color:var(--primary);background:var(--soft-2)}
.admin-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.mini-stat{background:#fff;border:1px solid var(--border);border-radius:22px;padding:18px}.mini-stat span{color:var(--muted);font-weight:900;font-size:13px}.mini-stat strong{display:block;margin-top:8px;font-size:30px;font-weight:1000;color:var(--ink)}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.mobile-menu-btn{display:none}
@media(max-width:980px){.nav-links{display:none}.mobile-menu-btn{display:inline-flex}.hero-grid,.pricing-card,.auth-wrap,.lesson-layout{grid-template-columns:1fr}.hero-visual{min-height:560px}.skeleton-panel{left:auto;right:0;width:260px;height:340px}.doctor-orbit{right:auto}.grid-3,.grid-4,.footer-grid,.payment-options,.admin-grid,.settings-grid{grid-template-columns:1fr}.app-shell{grid-template-columns:1fr}.sidebar{position:relative;height:auto;border-left:0;border-bottom:1px solid var(--border)}.side-menu{grid-template-columns:repeat(2,minmax(0,1fr))}.main{padding:18px}.auth-side{min-height:420px}.section-head{display:block}}
@media(max-width:620px){.container{width:min(100% - 22px,1180px)}.nav-inner{height:68px}.nav-actions .btn-outline{display:none}.hero{padding:44px 0}.hero-copy h1{font-size:42px}.hero-stats{grid-template-columns:1fr}.hero-visual{min-height:450px}.doctor-orbit{width:310px;height:420px}.skeleton-panel{width:210px;height:280px;top:0}.float-card{display:none}.section{padding:56px 0}.auth-side h1{font-size:34px}.auth-side{padding:28px}.auth-form{padding:22px;border-radius:24px}.topbar{display:block}.side-menu{grid-template-columns:1fr}.course-card{display:block}.table{min-width:760px}.table-card{overflow:auto}}

/* ===============================
   Premium hero redesign v3
   =============================== */
.hero-premium{
  min-height:calc(100vh - 76px);
  padding:46px 0 0;
  background:
    radial-gradient(circle at 16% 18%, rgba(141,235,139,.16), transparent 32%),
    radial-gradient(circle at 74% 20%, rgba(20,184,120,.08), transparent 25%),
    linear-gradient(180deg,#fff 0%,#fbfffd 68%,#effff5 100%);
  overflow:hidden;
}
.hero-premium::before{display:none}
.hero-grid-premium{
  grid-template-columns:.98fr 1.02fr;
  gap:24px;
  min-height:690px;
  align-items:center;
}
.hero-copy-premium{
  padding:34px 0 54px;
  position:relative;
  z-index:5;
}
.hero-badge{
  background:rgba(234,248,252,.88);
  border-color:rgba(20,184,120,.14);
  box-shadow:0 10px 28px rgba(20,184,120,.06);
}
.hero-title{
  margin:18px 0 16px !important;
  max-width:680px;
  font-size:clamp(48px,5.15vw,74px) !important;
  line-height:1.17 !important;
  letter-spacing:-1.3px !important;
  color:#06152B;
  text-wrap:balance;
}
.hero-title span{
  display:block;
  color:#06152B;
  text-shadow:0 14px 44px rgba(6,21,43,.08);
}
.hero-title .hero-name{
  color:#14B878;
  text-shadow:0 18px 48px rgba(18,157,206,.18);
}
.hero-copy-premium p{
  max-width:640px;
  margin-bottom:28px;
  color:#55657A;
  font-size:17px;
  line-height:2.05;
  font-weight:700;
}
.btn-arrow{
  width:32px;
  height:32px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.18);
  margin-inline-start:3px;
}
.hero-stats-premium{
  margin-top:12px;
  max-width:625px;
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.hero-stats-premium .stat-card{
  min-height:110px;
  display:grid;
  grid-template-columns:1fr auto;
  grid-template-areas:"label icon" "value icon";
  align-items:center;
  gap:6px 12px;
  padding:18px 20px;
  background:rgba(255,255,255,.88);
  border-color:rgba(215,238,245,.9);
  box-shadow:0 20px 58px rgba(6,21,43,.07);
}
.hero-stats-premium .stat-card span{grid-area:label;font-size:13px;color:#718096;font-weight:900}
.hero-stats-premium .stat-card strong{grid-area:value;font-size:27px;color:#06152B;font-weight:1000;line-height:1}
.hero-stats-premium .stat-card i{
  grid-area:icon;
  width:54px;
  height:54px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:#E8FFF2;
  font-style:normal;
  font-size:22px;
  color:#14B878;
}
.hero-visual-premium{
  min-height:680px;
  position:relative;
  display:grid;
  place-items:end center;
  overflow:visible;
  isolation:isolate;
}
.anatomy-glow{
  position:absolute;
  width:min(620px,90vw);
  height:min(620px,90vw);
  left:0;
  top:4%;
  border-radius:50%;
  background:
    radial-gradient(circle at 46% 48%,rgba(141,235,139,.12),transparent 60%),
    linear-gradient(135deg,rgba(141,235,139,.10),rgba(255,255,255,.08));
  border:1px solid rgba(20,184,120,.09);
  z-index:1;
}
.anatomy-ring{
  position:absolute;
  border:1px solid rgba(20,184,120,.14);
  border-radius:50%;
  pointer-events:none;
  z-index:1;
}
.ring-one{width:530px;height:530px;left:-2%;top:4%;transform:rotate(-18deg)}
.ring-two{width:720px;height:720px;left:-25%;top:-6%;border-color:rgba(141,235,139,.09)}
.skeleton-viewer{
  --sk-x:0;
  --sk-y:0;
  --sk-scroll:0;
  position:absolute;
  left:-96px;
  top:-72px;
  width:min(740px,100vw);
  height:840px;
  z-index:2;
  pointer-events:none;
  opacity:.92;
  filter:drop-shadow(0 28px 50px rgba(20,184,120,.17));
  transform:
    translate3d(calc(var(--sk-x) * 18px), calc((var(--sk-y) * 12px) + (var(--sk-scroll) * 115px)), 0)
    rotate(calc(var(--sk-x) * -5deg));
  transform-origin:50% 42%;
  transition:transform .08s linear;
  will-change:transform;
}
.skeleton-viewer canvas{
  width:100% !important;
  height:100% !important;
  display:block;
  position:relative;
  z-index:2;
}
.skeleton-viewer::before{
  content:"";
  position:absolute;
  inset:-20px -10px -10px -20px;
  background:url('../images/skeleton-premium.png') center left/contain no-repeat;
  opacity:.64;
  transform:
    translate3d(calc(var(--sk-x) * -12px), calc(var(--sk-y) * -10px), 0)
    rotate(calc(-8deg + (var(--sk-scroll) * 18deg)))
    scale(1.05);
  transform-origin:46% 28%;
  transition:opacity .35s ease, transform .12s linear;
  z-index:1;
}
.skeleton-viewer.is-loaded::before{opacity:.14}
.skeleton-viewer.is-error::before{opacity:.72}
.doctor-img-premium{
  position:relative;
  z-index:4;
  width:min(430px,70vw);
  max-height:640px;
  object-fit:contain;
  object-position:center bottom;
  transform:translateY(28px);
  filter:drop-shadow(0 32px 48px rgba(6,21,43,.18));
}
.hero-visual-premium::after{
  content:"";
  position:absolute;
  right:18%;
  bottom:-22px;
  width:400px;
  height:70px;
  background:radial-gradient(ellipse,rgba(6,21,43,.18),transparent 68%);
  z-index:3;
  filter:blur(12px);
}
#about{
  border-top:1px solid rgba(215,238,245,.72);
  background:linear-gradient(180deg,#fff 0%,#f9fffb 100%);
}
#about .badge{background:#fff}

@media(max-width:980px){
  .hero-grid-premium{grid-template-columns:1fr;min-height:auto;gap:0}
  .hero-copy-premium{padding-bottom:24px;text-align:center;display:grid;justify-items:center}
  .hero-visual-premium{min-height:560px;order:-1}
  .skeleton-viewer{left:50%;top:-52px;width:min(620px,110vw);height:680px;transform:translateX(-50%) translate3d(calc(var(--sk-x) * 12px), calc((var(--sk-y) * 8px) + (var(--sk-scroll) * 70px)), 0) rotate(calc(var(--sk-x) * -4deg))}
  .doctor-img-premium{width:min(360px,78vw)}
  .anatomy-glow{left:50%;transform:translateX(-50%)}
  .ring-one,.ring-two{left:50%;transform:translateX(-50%) rotate(-18deg)}
}
@media(max-width:620px){
  .hero-title{font-size:clamp(38px,14vw,54px) !important;line-height:1.18 !important}
  .hero-copy-premium p{font-size:15px;line-height:1.9}
  .hero-visual-premium{min-height:470px}
  .skeleton-viewer{top:-34px;width:520px;height:580px}
  .doctor-img-premium{width:min(300px,78vw);transform:translateY(18px)}
}

/* ===============================
   Premium green identity cleanup
   =============================== */
:root{
  --primary:#14B878;
  --primary-2:#8DEB8B;
  --primary-dark:#0B6F49;
  --navy:#073B2D;
  --ink:#061B16;
  --soft:#F3FFF8;
  --soft-2:#E8FFF2;
  --border:#D9F3E5;
  --shadow:0 24px 70px rgba(6,27,22,.12);
}
body.landing-page{position:relative;background:#fff;}
body.landing-page main, body.landing-page header, body.landing-page footer{position:relative;z-index:2;}
.brand-logo-link{min-width:94px;max-width:148px;height:54px;padding:6px 8px;border-radius:16px;background:#fff;border:1px solid rgba(6,27,22,.06);box-shadow:0 12px 35px rgba(6,27,22,.06);overflow:hidden;justify-content:center;}
.brand-logo-img{width:100%;height:100%;object-fit:contain;object-position:center;display:block;}
.footer-logo{width:150px;height:62px;padding:7px 10px;border-radius:18px;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden;}
.navbar{background:rgba(255,255,255,.84);border-bottom:1px solid rgba(217,243,229,.85)}
.btn-primary{background:linear-gradient(135deg,#11A66C,#8DEB8B);box-shadow:0 18px 45px rgba(20,184,120,.22)}
.btn-primary:hover{box-shadow:0 22px 58px rgba(20,184,120,.27)}
.btn-outline{border-color:rgba(20,184,120,.16)}
.badge{color:var(--primary-dark)}
.hero-premium{
  background:
    radial-gradient(circle at 16% 18%, rgba(141,235,139,.23), transparent 32%),
    radial-gradient(circle at 78% 22%, rgba(20,184,120,.13), transparent 26%),
    linear-gradient(180deg,#fff 0%,#fbfffd 64%,#effff5 100%);
}
.hero-title .hero-name{color:var(--primary);text-shadow:0 18px 48px rgba(20,184,120,.20)}
.hero-copy-premium p{color:#4f635a}
.hero-badge{background:rgba(232,255,242,.92);border-color:rgba(20,184,120,.16)}
.hero-visual-premium{min-height:710px;}
.anatomy-glow{
  background:
    radial-gradient(circle at 46% 48%,rgba(141,235,139,.24),transparent 58%),
    linear-gradient(135deg,rgba(20,184,120,.12),rgba(255,255,255,.08));
  border-color:rgba(20,184,120,.13);
}
.anatomy-ring{border-color:rgba(20,184,120,.17)}
.ring-two{border-color:rgba(141,235,139,.14)}
.skeleton-viewer{
  left:-38px;
  top:-92px;
  width:min(800px,112vw);
  height:910px;
  opacity:1;
  filter:drop-shadow(0 28px 52px rgba(20,184,120,.24));
}
.skeleton-viewer::before{opacity:.92;filter:sepia(.1) saturate(1.2) hue-rotate(75deg) drop-shadow(0 18px 34px rgba(20,184,120,.18));}
.skeleton-viewer.is-loaded::before{opacity:.24}
.skeleton-viewer.is-error::before{opacity:.90}
.doctor-img-premium{z-index:4;filter:drop-shadow(0 32px 48px rgba(6,27,22,.20));}
.landing-skeleton-bg{
  position:fixed;
  left:clamp(-80px, -4vw, -20px);
  bottom:-90px;
  width:min(460px,44vw);
  height:min(780px,86vh);
  background:url('../images/skeleton-premium-transparent.png') left bottom/contain no-repeat;
  opacity:.09;
  filter:sepia(.25) saturate(1.4) hue-rotate(72deg);
  z-index:1;
  pointer-events:none;
}
.centered-head{display:grid;place-items:center;text-align:center;margin-bottom:28px;}
.centered-head .section-text{margin-inline:auto;}
.premium-note-card{overflow:hidden;position:relative;background:linear-gradient(135deg,#073B2D,#061B16);color:#fff;}
.premium-note-card::after{content:"";position:absolute;left:-70px;bottom:-80px;width:260px;height:260px;border-radius:50%;background:rgba(141,235,139,.16)}
.premium-note-card p{color:#dcfce7;}
.final-cta-card{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#fff;border:1px solid var(--border);box-shadow:var(--shadow);border-radius:32px;padding:32px;}
.final-cta-card .hero-buttons{margin-top:0;}
.about-clean{position:relative;z-index:2;}
.subject-card:hover{transform:translateY(-4px);box-shadow:0 26px 70px rgba(20,184,120,.10)}
.card-icon{background:var(--soft-2);color:var(--primary)}
.check,.pill,.side-menu a.active,.side-menu a:hover,.lesson-item.active{color:var(--primary)}
.step-num{background:linear-gradient(135deg,var(--primary),var(--primary-2));}

/* Dashboard DNA motion */
.student-shell .sidebar{background:linear-gradient(180deg,#ffffff 0%,#fbfffd 100%)}
.dash-hero{background:linear-gradient(135deg,#073B2D,#061B16);isolation:isolate;}
.dash-hero-content{position:relative;z-index:3;max-width:680px;}
.dash-hero::after{background:rgba(141,235,139,.15)}
.progress-fill{background:linear-gradient(90deg,var(--primary),var(--primary-2));}
.dna-helix{position:absolute;inset:auto 44px -12px auto;width:210px;height:270px;z-index:1;opacity:.36;transform:rotate(-10deg);animation:dnaFloat 7s ease-in-out infinite;}
.dna-helix span{position:absolute;left:50%;top:calc(var(--i,0) * 24px);width:98px;height:2px;background:linear-gradient(90deg,rgba(141,235,139,.12),rgba(141,235,139,.95),rgba(255,255,255,.14));transform:translateX(-50%) rotate(var(--r,0deg));border-radius:999px;}
.dna-helix span::before,.dna-helix span::after{content:"";position:absolute;top:50%;width:10px;height:10px;border-radius:50%;background:#8DEB8B;box-shadow:0 0 18px rgba(141,235,139,.75);transform:translateY(-50%)}
.dna-helix span::before{right:-2px}.dna-helix span::after{left:-2px}
.dna-helix span:nth-child(1){--i:0;--r:24deg}.dna-helix span:nth-child(2){--i:1;--r:-24deg}.dna-helix span:nth-child(3){--i:2;--r:24deg}.dna-helix span:nth-child(4){--i:3;--r:-24deg}.dna-helix span:nth-child(5){--i:4;--r:24deg}.dna-helix span:nth-child(6){--i:5;--r:-24deg}.dna-helix span:nth-child(7){--i:6;--r:24deg}.dna-helix span:nth-child(8){--i:7;--r:-24deg}.dna-helix span:nth-child(9){--i:8;--r:24deg}.dna-helix span:nth-child(10){--i:9;--r:-24deg}
@keyframes dnaFloat{0%,100%{transform:translateY(0) rotate(-10deg)}50%{transform:translateY(-16px) rotate(-6deg)}}
.dna-card{position:relative;overflow:hidden;}
.dna-card::after{content:"DNA";position:absolute;left:22px;bottom:8px;font-size:68px;line-height:1;font-weight:1000;color:rgba(20,184,120,.07);letter-spacing:-3px;}

@media(max-width:980px){
  .brand-logo-link{height:50px;max-width:128px}
  .hero-visual-premium{min-height:600px;order:-1}
  .skeleton-viewer{left:50%;top:-72px;width:min(720px,118vw);height:760px;transform:translateX(-50%) translate3d(calc(var(--sk-x) * 12px), calc((var(--sk-y) * 8px) + (var(--sk-scroll) * 70px)), 0) rotate(calc(var(--sk-x) * -4deg))}
  .final-cta-card{display:grid;text-align:center;justify-items:center;}
  .landing-skeleton-bg{width:360px;opacity:.06}
}
@media(max-width:620px){
  .brand-logo-link{height:46px;max-width:112px;border-radius:14px}
  .hero-visual-premium{min-height:500px}
  .skeleton-viewer{top:-58px;width:590px;height:620px;}
  .final-cta-card{padding:24px;border-radius:24px;}
  .dna-helix{display:none}
}


/* ===============================
   Hero update: custom uploaded hero image
   =============================== */
.hero-visual-clean{
  min-height:680px;
  display:grid;
  place-items:end center;
}
.hero-visual-backdrop{
  position:absolute;
  inset:10% 8% 6% 8%;
  border-radius:38px;
  background:
    radial-gradient(circle at 32% 28%, rgba(141,235,139,.34), transparent 30%),
    radial-gradient(circle at 78% 20%, rgba(20,184,120,.14), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,.82), rgba(232,255,242,.94));
  border:1px solid rgba(20,184,120,.10);
  box-shadow:0 28px 80px rgba(6,27,22,.08);
  z-index:1;
}
.hero-feature-img{
  position:relative;
  z-index:2;
  width:min(520px,74vw);
  max-height:720px;
  object-fit:contain;
  object-position:center bottom;
  transform:translateY(24px);
  filter:drop-shadow(0 30px 48px rgba(6,27,22,.18));
}
.hero-visual-clean::after{
  content:"";
  position:absolute;
  right:22%;
  bottom:-18px;
  width:340px;
  height:66px;
  background:radial-gradient(ellipse,rgba(6,27,22,.16),transparent 68%);
  filter:blur(12px);
  z-index:1;
}

/* Disable old skeleton-specific hero visuals on landing */
.landing-page .anatomy-glow,
.landing-page .anatomy-ring,
.landing-page .skeleton-viewer,
.landing-page .landing-skeleton-bg,
.landing-page .doctor-img-premium{display:none !important;}

@media(max-width:980px){
  .hero-visual-clean{min-height:580px;order:-1;}
  .hero-visual-backdrop{inset:8% 4% 8% 4%;}
  .hero-feature-img{width:min(460px,82vw);max-height:620px;}
}
@media(max-width:620px){
  .hero-visual-clean{min-height:460px;}
  .hero-visual-backdrop{border-radius:28px;inset:10% 2% 8% 2%;}
  .hero-feature-img{width:min(360px,88vw);transform:translateY(14px);}
  .hero-visual-clean::after{width:230px;right:18%;}
}


/* ===============================
   Landing refinement v4 - requested adjustments
   =============================== */
:root{
  --cursor-size:48px;
}

.brand-logo-link,
.footer-logo{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
}
.brand-logo-link{min-width:auto !important;max-width:118px !important;height:54px !important;}
.footer-logo{width:138px !important;height:56px !important;}
.brand-logo-img{filter:none !important;}

body.landing-page{
  position:relative;
  background:linear-gradient(180deg,#ffffff 0%, #f9fffc 100%);
}
body.landing-page::before{
  content:"";
  position:fixed;
  inset:-15%;
  pointer-events:none;
  z-index:0;
  background:
    radial-gradient(360px circle at var(--mx, 50%) var(--my, 20%), rgba(141,235,139,.19), transparent 60%),
    radial-gradient(160px circle at calc(var(--mx, 50%) + 5%) calc(var(--my, 20%) - 4%), rgba(20,184,120,.09), transparent 62%);
  transition:background .06s linear;
}
body.landing-page main,
body.landing-page header,
body.landing-page footer{position:relative;z-index:2;}

.hero-premium{
  padding:32px 0 0 !important;
  min-height:auto !important;
}
.hero-grid-premium{
  min-height:620px !important;
  align-items:end !important;
  gap:24px !important;
}
.hero-copy-premium{
  padding:34px 0 104px !important;
}
.hero-visual-overlap{
  min-height:710px !important;
  display:grid !important;
  place-items:end center !important;
  overflow:visible !important;
}
.hero-visual-backdrop{display:none !important;}
.hero-feature-img-large{
  width:min(680px, 92vw) !important;
  max-width:none !important;
  max-height:none !important;
  height:auto !important;
  object-fit:contain !important;
  transform:translateY(122px) !important;
  margin-bottom:-170px !important;
  filter:drop-shadow(0 36px 50px rgba(6,27,22,.14)) !important;
}
.hero-visual-overlap::after{
  content:"";
  position:absolute;
  left:12%;
  right:14%;
  bottom:-14px;
  height:60px;
  background:radial-gradient(ellipse at center, rgba(6,27,22,.14), transparent 68%);
  filter:blur(14px);
  z-index:1;
}
#about{
  margin-top:0 !important;
  padding-top:148px !important;
}

.interactive-badge{
  position:relative;
  overflow:hidden;
  isolation:isolate;
}
.interactive-badge::after{
  content:"";
  position:absolute;
  inset:-45% auto -45% -22%;
  width:86px;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.82), transparent);
  transform:translateX(-180%) rotate(18deg);
  transition:transform .65s ease;
  z-index:-1;
}
.interactive-badge:hover::after{transform:translateX(440%) rotate(18deg);}
.interactive-badge:hover{box-shadow:0 18px 44px rgba(20,184,120,.14);transform:translateY(-1px);}

.centered-head{margin-bottom:36px !important;}
.centered-head > .interactive-section-head{
  position:relative;
  display:grid;
  justify-items:center;
  gap:8px;
  text-align:center;
  padding:20px 28px 8px;
  border-radius:34px;
  overflow:hidden;
  transition:transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.centered-head > .interactive-section-head::after{
  content:"";
  position:absolute;
  inset:-40% auto -40% -25%;
  width:120px;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.9), transparent);
  transform:translateX(-180%) rotate(20deg);
  transition:transform .78s ease;
}
.centered-head > .interactive-section-head:hover{
  transform:translateY(-6px);
  background:rgba(255,255,255,.46);
  box-shadow:0 26px 70px rgba(20,184,120,.10);
}
.centered-head > .interactive-section-head:hover::after{
  transform:translateX(820%) rotate(20deg);
}
.centered-head .section-title{margin-top:2px;}
.centered-head .section-text{margin-inline:auto;}

.grid-3 .subject-card,
.grid-4 .step{transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease;}
.grid-3 .subject-card:hover,
.grid-4 .step:hover{transform:translateY(-6px);box-shadow:0 28px 64px rgba(20,184,120,.08);border-color:rgba(20,184,120,.22);}

.reflective-card{
  position:relative;
  overflow:hidden;
  transition:transform .34s ease, box-shadow .34s ease, border-color .34s ease;
}
.reflective-card::before{
  content:"";
  position:absolute;
  inset:-30% auto -30% -16%;
  width:120px;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.9), transparent);
  transform:translateX(-220%) rotate(18deg);
  transition:transform .82s ease;
}
.reflective-card:hover{
  transform:translateY(-6px);
  box-shadow:0 28px 70px rgba(20,184,120,.12);
  border-color:rgba(20,184,120,.18);
}
.reflective-card:hover::before{transform:translateX(980%) rotate(18deg);}

@media (hover:hover) and (pointer:fine){
  body.biology-cursor-page,
  body.biology-cursor-page a,
  body.biology-cursor-page button,
  body.biology-cursor-page .btn,
  body.biology-cursor-page .card,
  body.biology-cursor-page .badge{cursor:none !important;}
  .cursor-bio{
    position:fixed;
    top:0;left:0;
    width:var(--cursor-size);
    height:var(--cursor-size);
    border-radius:50%;
    border:1px solid rgba(20,184,120,.28);
    background:rgba(255,255,255,.72);
    backdrop-filter:blur(10px);
    box-shadow:0 14px 34px rgba(20,184,120,.14);
    pointer-events:none;
    transform:translate(-50%,-50%);
    z-index:9999;
    display:grid;
    place-items:center;
    transition:width .2s ease,height .2s ease,background .2s ease,transform .08s linear,opacity .2s ease;
    opacity:0;
  }
  .cursor-bio::before{
    content:"🧬";
    font-size:16px;
    line-height:1;
    filter:saturate(1.1);
  }
  .cursor-bio.is-visible{opacity:1;}
  .cursor-bio.is-hover{width:62px;height:62px;background:rgba(232,255,242,.9);}
}

@media(max-width:980px){
  .brand-logo-link{max-width:108px !important;height:48px !important;}
  .hero-grid-premium{min-height:auto !important;}
  .hero-copy-premium{padding:12px 0 0 !important;text-align:center !important;display:grid;justify-items:center;}
  .hero-visual-overlap{min-height:560px !important;order:-1;}
  .hero-feature-img-large{width:min(540px, 92vw) !important;transform:translateY(72px) !important;margin-bottom:-94px !important;}
  #about{padding-top:120px !important;}
}
@media(max-width:620px){
  .brand-logo-link{max-width:92px !important;height:42px !important;}
  body.landing-page::before{background:radial-gradient(230px circle at var(--mx,50%) var(--my,20%), rgba(141,235,139,.18), transparent 58%);}
  .hero-title{font-size:clamp(38px, 11vw, 60px) !important;}
  .hero-copy-premium{padding-bottom:0 !important;}
  .hero-visual-overlap{min-height:430px !important;}
  .hero-feature-img-large{width:min(390px,96vw) !important;transform:translateY(48px) !important;margin-bottom:-64px !important;}
  #about{padding-top:92px !important;}
  .centered-head > .interactive-section-head{padding-inline:12px;}
}


/* ===============================
   Landing refinement v5 - hero tightening
   =============================== */
.hero-grid-premium{
  min-height:560px !important;
  align-items:center !important;
}
.hero-copy-premium{
  padding:12px 0 68px !important;
}
.hero-title-refined{
  max-width:520px !important;
  font-size:clamp(44px,4.8vw,72px) !important;
  line-height:1.02 !important;
  letter-spacing:-1.6px !important;
  margin:10px 0 18px !important;
}
.hero-title-refined .hero-line{
  display:block;
  white-space:nowrap;
}
.hero-title-refined .hero-name-line{
  margin-top:8px;
  font-size:clamp(40px,4.2vw,63px) !important;
}
.hero-copy-premium p{
  max-width:560px !important;
  font-size:16px !important;
  line-height:1.9 !important;
  margin-bottom:24px !important;
}
.hero-buttons{margin-bottom:0 !important;}
.hero-visual-overlap{
  min-height:620px !important;
  align-items:start !important;
}
.hero-feature-img-large{
  width:min(720px, 96vw) !important;
  transform:translateY(-24px) !important;
  margin-bottom:-70px !important;
}
.hero-visual-overlap::after{
  bottom:48px !important;
}
#about{
  padding-top:84px !important;
}

@media(max-width:1200px){
  .hero-title-refined{max-width:470px !important;font-size:clamp(42px,4.7vw,64px) !important;}
  .hero-title-refined .hero-name-line{font-size:clamp(35px,3.9vw,55px) !important;}
  .hero-feature-img-large{width:min(650px,94vw) !important;transform:translateY(-8px) !important;}
}
@media(max-width:980px){
  .hero-copy-premium{padding:18px 0 0 !important;}
  .hero-title-refined{max-width:none !important;text-align:center;}
  .hero-title-refined .hero-line{white-space:normal;}
  .hero-visual-overlap{min-height:500px !important;}
  .hero-feature-img-large{width:min(520px,92vw) !important;transform:translateY(-8px) !important;margin-bottom:-28px !important;}
  #about{padding-top:56px !important;}
}
@media(max-width:620px){
  .hero-title-refined{font-size:clamp(34px,10.2vw,52px) !important;line-height:1.08 !important;}
  .hero-title-refined .hero-name-line{font-size:clamp(30px,8.4vw,44px) !important;}
  .hero-visual-overlap{min-height:390px !important;}
  .hero-feature-img-large{width:min(360px,96vw) !important;transform:translateY(0) !important;margin-bottom:-12px !important;}
  #about{padding-top:40px !important;}
}


/* ===============================
   Landing refinement v6 - spacing and cursor cleanup
   =============================== */
body.landing-page::before{
  background:
    radial-gradient(260px circle at var(--mx, 50%) var(--my, 20%), rgba(141,235,139,.23), transparent 54%),
    radial-gradient(540px circle at var(--mx, 50%) var(--my, 20%), rgba(20,184,120,.08), transparent 62%) !important;
}
.hero-grid-premium{
  grid-template-columns:.92fr 1.08fr !important;
  gap:40px !important;
  min-height:560px !important;
}
.hero-copy-premium{
  padding:8px 0 72px !important;
}
.hero-title-refined{
  display:grid !important;
  gap:10px;
  max-width:470px !important;
  font-size:clamp(42px,4.5vw,68px) !important;
  line-height:1.04 !important;
  letter-spacing:-1.2px !important;
  margin:8px 0 20px !important;
}
.hero-title-refined .hero-line{
  white-space:normal !important;
  display:block;
}
.hero-title-refined .hero-name-line{
  margin-top:6px;
  font-size:clamp(34px,3.65vw,52px) !important;
  line-height:1.08 !important;
}
.hero-copy-premium p{
  max-width:560px !important;
  margin-top:4px !important;
  font-size:15px !important;
  line-height:1.95 !important;
}
.hero-visual-overlap{
  min-height:620px !important;
}
.hero-feature-img-large{
  width:min(700px, 96vw) !important;
  transform:translate(-28px,-48px) !important;
  margin-bottom:-72px !important;
}
.hero-visual-overlap::after{
  left:8% !important;
  right:20% !important;
  bottom:34px !important;
}
#about{padding-top:78px !important;}

@media (hover:hover) and (pointer:fine){
  .cursor-bio{
    width:16px !important;
    height:16px !important;
    border-radius:50% !important;
    border:0 !important;
    background:linear-gradient(135deg,#14B878,#8DEB8B) !important;
    box-shadow:0 0 0 2px rgba(255,255,255,.92), 0 8px 22px rgba(20,184,120,.26) !important;
    backdrop-filter:none !important;
    display:block !important;
    transition:width .18s ease,height .18s ease,box-shadow .18s ease,opacity .2s ease,transform .08s linear !important;
  }
  .cursor-bio::before{
    content:"" !important;
    position:absolute;
    inset:-10px;
    border-radius:50%;
    border:1.5px solid rgba(20,184,120,.26);
    opacity:.95;
  }
  .cursor-bio::after{
    content:"";
    position:absolute;
    inset:-28px;
    border-radius:50%;
    background:radial-gradient(circle, rgba(20,184,120,.16), transparent 68%);
    opacity:.65;
  }
  .cursor-bio.is-hover{
    width:20px !important;
    height:20px !important;
    background:linear-gradient(135deg,#11A66C,#7EE58E) !important;
    box-shadow:0 0 0 2px rgba(255,255,255,.96), 0 10px 26px rgba(20,184,120,.32) !important;
  }
  .cursor-bio.is-hover::before{inset:-13px; border-color:rgba(20,184,120,.34);}
}

@media(max-width:1200px){
  .hero-grid-premium{grid-template-columns:.9fr 1.1fr !important; gap:26px !important;}
  .hero-title-refined{max-width:430px !important; font-size:clamp(38px,4.2vw,60px) !important;}
  .hero-title-refined .hero-name-line{font-size:clamp(31px,3.35vw,46px) !important;}
  .hero-feature-img-large{width:min(620px,94vw) !important; transform:translate(-20px,-28px) !important;}
}
@media(max-width:980px){
  .hero-grid-premium{grid-template-columns:1fr !important; gap:10px !important;}
  .hero-copy-premium{padding:18px 0 0 !important;}
  .hero-title-refined{max-width:none !important; text-align:center; font-size:clamp(40px,8vw,56px) !important;}
  .hero-title-refined .hero-name-line{font-size:clamp(30px,6vw,42px) !important;}
  .hero-feature-img-large{width:min(520px,92vw) !important; transform:translate(0,-12px) !important; margin-bottom:-28px !important;}
}
@media(max-width:620px){
  body.landing-page::before{
    background:
      radial-gradient(180px circle at var(--mx,50%) var(--my,20%), rgba(141,235,139,.20), transparent 54%),
      radial-gradient(320px circle at var(--mx,50%) var(--my,20%), rgba(20,184,120,.08), transparent 62%) !important;
  }
  .hero-title-refined{font-size:clamp(33px,10vw,48px) !important; gap:8px;}
  .hero-title-refined .hero-name-line{font-size:clamp(27px,8vw,39px) !important;}
  .hero-feature-img-large{width:min(365px,96vw) !important; transform:translate(0,0) !important; margin-bottom:-10px !important;}
}


/* ===============================
   Hero Facelift v7 - Premium navbar + hero only
   =============================== */
.navbar-hero-glass{
  position:sticky;
  top:12px;
  z-index:120;
  background:transparent !important;
  backdrop-filter:none !important;
  border-bottom:0 !important;
  padding-block:10px 0;
}
.navbar-hero-glass .container{
  width:min(1320px, calc(100% - 48px));
}
.nav-shell{
  height:88px !important;
  padding:0 24px;
  border-radius:18px;
  background:rgba(255,255,255,.72);
  border:1px solid rgba(221,228,231,.85);
  box-shadow:0 12px 40px rgba(16,24,40,.06), inset 0 1px 0 rgba(255,255,255,.65);
  backdrop-filter:blur(18px);
}
.nav-links-premium{
  gap:34px;
  font-size:15px;
  font-weight:600;
  color:#394150;
}
.nav-links-premium a{
  position:relative;
  transition:color .25s ease, opacity .25s ease;
}
.nav-links-premium a::after{
  content:"";
  position:absolute;
  right:0;
  bottom:-10px;
  width:100%;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--primary),var(--primary-2));
  transform:scaleX(0);
  transform-origin:right;
  transition:transform .25s ease;
}
.nav-links-premium a:hover{color:#20262e}
.nav-links-premium a:hover::after{transform:scaleX(1)}
.nav-actions-premium{gap:12px}
.nav-btn-primary,
.nav-btn-secondary{
  min-width:132px;
  min-height:54px;
  border-radius:16px;
  font-size:16px;
  font-weight:700;
}
.nav-btn-primary{
  background:linear-gradient(135deg,#4CAF50,#5FCF65);
  box-shadow:0 14px 32px rgba(76,175,80,.22);
}
.nav-btn-secondary{
  background:rgba(255,255,255,.82);
  border:1px solid rgba(76,175,80,.26);
  color:#329b3f;
  box-shadow:0 8px 24px rgba(16,24,40,.04);
}
.brand-logo-link{max-width:132px !important;height:56px !important;display:flex;align-items:center}
.brand-logo-img{width:auto;max-width:100%;max-height:56px;object-fit:contain}

.hero-lux{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 16% 18%, rgba(95,207,101,.10), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(76,175,80,.09), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #fbfcfc 58%, #f8fbf8 100%);
  padding:24px 0 88px;
  min-height:auto;
}
.hero-lux::before,
.hero-lux::after{
  content:"";
  position:absolute;
  border-radius:50%;
  pointer-events:none;
  filter:blur(2px);
}
.hero-lux::before{
  width:480px;
  height:480px;
  left:-180px;
  top:120px;
  background:radial-gradient(circle, rgba(95,207,101,.11), transparent 68%);
}
.hero-lux::after{
  width:320px;
  height:320px;
  right:8%;
  top:92px;
  background:radial-gradient(circle, rgba(76,175,80,.08), transparent 70%);
}
.hero-shell{
  width:min(1320px, calc(100% - 48px));
  margin-inline:auto;
  position:relative;
  z-index:2;
}
.hero-stage{
  position:relative;
}
.hero-grid-lux{
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  align-items:center;
  gap:18px 28px;
  min-height:690px;
}
.hero-copy-lux{
  grid-column:7 / span 6;
  padding:48px 0 82px;
  position:relative;
  z-index:3;
}
.hero-visual-lux{
  grid-column:1 / span 6;
  position:relative;
  min-height:660px;
  display:grid;
  place-items:end start;
}
.hero-badge-lux{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:42px;
  padding:9px 16px;
  border-radius:999px;
  background:rgba(255,255,255,.86);
  border:1px solid rgba(95,207,101,.18);
  box-shadow:0 10px 28px rgba(16,24,40,.05);
  color:#3e4a42;
  font-size:14px;
  font-weight:700;
}
.hero-badge-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:linear-gradient(135deg,#4CAF50,#5FCF65);
  box-shadow:0 0 0 5px rgba(95,207,101,.14);
}
.hero-title-lux{
  margin:26px 0 14px;
  display:grid;
  gap:4px;
  font-size:64px;
  line-height:1.1;
  font-weight:900;
  letter-spacing:-1.9px;
}
.hero-title-lux span{display:block}
.hero-title-accent{color:#34ae45;text-shadow:0 12px 36px rgba(95,207,101,.16)}
.hero-title-dark{color:#222222}
.hero-name-lux{
  display:inline-flex;
  align-items:center;
  gap:14px;
  font-size:24px;
  font-weight:800;
  color:#2f7d39;
  margin-bottom:18px;
}
.hero-name-lux::before{
  content:"";
  width:78px;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg, rgba(95,207,101,.26), #5FCF65);
}
.hero-text-lux{
  max-width:610px;
  margin:0 0 30px;
  color:#5B5B5B;
  font-size:17px;
  line-height:2;
  font-weight:400;
}
.hero-buttons-lux{display:flex;gap:14px;flex-wrap:wrap}
.hero-cta-primary,
.hero-cta-secondary{
  min-width:178px;
  min-height:58px;
  padding:15px 24px;
  border-radius:16px;
  font-size:16px;
  font-weight:700;
}
.hero-cta-primary{
  background:linear-gradient(135deg,#4CAF50,#5FCF65);
  color:#fff;
  box-shadow:0 18px 38px rgba(76,175,80,.25);
}
.hero-cta-primary:hover{transform:translateY(-2px) scale(1.03)}
.hero-cta-primary .btn-arrow{
  width:34px;
  height:34px;
  background:rgba(255,255,255,.18);
}
.hero-cta-secondary{
  background:rgba(255,255,255,.88);
  color:#3d4640;
  border:1px solid rgba(95,207,101,.26);
  box-shadow:0 10px 26px rgba(16,24,40,.05);
}
.hero-cta-secondary:hover{transform:translateY(-2px) scale(1.03); border-color:rgba(76,175,80,.42)}
.hero-visual-gradient{
  position:absolute;
  pointer-events:none;
  border-radius:50%;
}
.hero-gradient-one{
  width:540px;
  height:540px;
  left:-70px;
  top:10px;
  background:radial-gradient(circle, rgba(95,207,101,.18), transparent 62%);
}
.hero-gradient-two{
  width:280px;
  height:280px;
  right:18px;
  top:62px;
  background:radial-gradient(circle, rgba(76,175,80,.10), transparent 68%);
}
.hero-image-frame{
  position:absolute;
  inset:62px 48px 36px 0;
  border-radius:28px;
  background:
    linear-gradient(135deg, rgba(240,248,240,.95) 0%, rgba(255,255,255,.85) 40%, rgba(248,251,248,.75) 100%),
    radial-gradient(circle at 14% 22%, rgba(95,207,101,.14), transparent 30%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75);
  overflow:hidden;
}
.hero-image-frame::before{
  content:"";
  position:absolute;
  left:-18%;
  top:-8%;
  width:86%;
  height:118%;
  background:linear-gradient(132deg, rgba(95,207,101,.10), rgba(95,207,101,0));
  border-radius:32px;
  transform:rotate(-14deg);
}
.hero-image-frame::after{
  content:"";
  position:absolute;
  inset:auto auto 22px 18px;
  width:180px;
  height:180px;
  border-radius:50%;
  border:1px solid rgba(95,207,101,.12);
  box-shadow:0 0 0 18px rgba(95,207,101,.04), 0 0 0 36px rgba(95,207,101,.02);
}
.hero-lux-image{
  position:relative;
  z-index:2;
  width:min(640px, 100%);
  max-height:740px;
  object-fit:contain;
  object-position:left bottom;
  transform:translate(-18px, 18px);
  filter:drop-shadow(0 28px 52px rgba(20,33,25,.18));
}
.hero-feature-strip{
  margin-top:-42px;
  position:relative;
  z-index:5;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}
.hero-feature-card{
  background:rgba(255,255,255,.72);
  border:1px solid rgba(221,228,231,.95);
  border-radius:24px;
  padding:24px 20px 22px;
  backdrop-filter:blur(16px);
  box-shadow:0 20px 34px rgba(16,24,40,.06), inset 0 1px 0 rgba(255,255,255,.72);
  text-align:center;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.hero-feature-card:hover{
  transform:translateY(-6px);
  box-shadow:0 26px 46px rgba(76,175,80,.10);
  border-color:rgba(95,207,101,.28);
}
.hero-feature-icon{
  width:54px;
  height:54px;
  margin:0 auto 14px;
  display:grid;
  place-items:center;
  border-radius:18px;
  background:linear-gradient(135deg, rgba(76,175,80,.12), rgba(95,207,101,.16));
  color:#35a847;
  font-size:24px;
  font-weight:700;
}
.hero-feature-card h3{
  margin:0 0 8px;
  font-size:23px;
  line-height:1.25;
  color:#222;
}
.hero-feature-card p{
  margin:0;
  font-size:15px;
  line-height:1.8;
  color:#5B5B5B;
}

body.landing-page main > #about.section{padding-top:108px}

[data-fade]{
  opacity:0;
  transform:translateY(26px);
  transition:opacity .65s ease, transform .65s ease;
}
[data-fade].is-visible{
  opacity:1;
  transform:none;
}

@media(max-width:1200px){
  .navbar-hero-glass .container,
  .hero-shell{width:min(1320px, calc(100% - 36px));}
  .hero-grid-lux{min-height:640px;gap:18px;}
  .hero-copy-lux{grid-column:7 / span 6;padding-bottom:72px}
  .hero-visual-lux{grid-column:1 / span 6;min-height:610px}
  .hero-title-lux{font-size:56px}
  .hero-lux-image{width:min(590px,100%)}
}
@media(max-width:980px){
  .navbar-hero-glass{top:8px}
  .nav-shell{height:76px !important;padding:0 18px}
  .nav-links-premium{display:none}
  .nav-btn-primary,.nav-btn-secondary{min-width:118px;min-height:48px;font-size:15px}
  .hero-lux{padding:18px 0 72px}
  .hero-grid-lux{grid-template-columns:1fr;min-height:auto;gap:8px}
  .hero-copy-lux,
  .hero-visual-lux{grid-column:auto}
  .hero-visual-lux{order:1;min-height:480px;place-items:end center}
  .hero-copy-lux{order:2;padding:24px 0 30px;text-align:center;display:grid;justify-items:center}
  .hero-name-lux{justify-content:center}
  .hero-title-lux{font-size:48px;line-height:1.08}
  .hero-text-lux{max-width:680px}
  .hero-image-frame{inset:18px 18px 8px 18px}
  .hero-lux-image{width:min(480px, 92vw);transform:translate(0,10px);object-position:center bottom}
  .hero-feature-strip{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:12px}
  body.landing-page main > #about.section{padding-top:76px}
}
@media(max-width:620px){
  .navbar-hero-glass .container,
  .hero-shell{width:min(100% - 20px, 1320px)}
  .nav-shell{height:72px !important;padding:0 14px;border-radius:16px}
  .brand-logo-link{max-width:104px !important;height:48px !important}
  .nav-actions-premium{gap:8px}
  .nav-btn-primary,.nav-btn-secondary{min-width:104px;padding:12px 14px;font-size:14px}
  .hero-title-lux{font-size:38px;line-height:1.12;margin-top:20px}
  .hero-name-lux{font-size:20px;gap:10px;flex-wrap:wrap}
  .hero-name-lux::before{width:54px}
  .hero-text-lux{font-size:15px;line-height:1.95}
  .hero-buttons-lux{width:100%;justify-content:center}
  .hero-cta-primary,.hero-cta-secondary{width:100%;max-width:280px}
  .hero-visual-lux{min-height:400px}
  .hero-image-frame{inset:8px 6px 2px 6px;border-radius:24px}
  .hero-image-frame::after{width:120px;height:120px;left:12px;bottom:14px;box-shadow:0 0 0 12px rgba(95,207,101,.04), 0 0 0 24px rgba(95,207,101,.02)}
  .hero-lux-image{width:min(360px, 96vw)}
  .hero-feature-strip{grid-template-columns:1fr;gap:14px}
  .hero-feature-card{padding:20px 16px}
  body.landing-page main > #about.section{padding-top:60px}
}


/* ===============================
   Hero Facelift v8 - fix text right, image left, cards below
   =============================== */
.hero-stage{
  display:flex;
  flex-direction:column;
  gap:0;
}
.hero-grid-lux{
  display:grid;
  direction:ltr;
  grid-template-columns:minmax(420px, 560px) minmax(0, 1fr);
  grid-template-areas:"visual copy";
  align-items:center;
  gap:24px 56px;
  min-height:640px;
}
.hero-copy-lux{
  grid-area:copy;
  direction:rtl;
  text-align:right;
  justify-self:end;
  width:100%;
  max-width:560px;
  padding:34px 0 42px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.hero-visual-lux{
  grid-area:visual;
  direction:rtl;
  justify-self:start;
  width:100%;
  min-height:600px;
  display:grid;
  place-items:end center;
}
.hero-title-lux,
.hero-text-lux,
.hero-name-lux{max-width:100%;}
.hero-buttons-lux{justify-content:flex-start;}
.hero-feature-strip{
  margin-top:12px;
  width:100%;
  grid-template-columns:repeat(4,minmax(0,1fr));
  order:2;
}
.hero-image-frame{
  inset:28px 10px 0 10px;
}
.hero-lux-image{
  width:min(600px, 100%);
  transform:translate(0, 20px);
  object-position:center bottom;
}
.hero-copy-lux .hero-badge-lux{margin-right:0;}

@media(max-width:1200px){
  .hero-grid-lux{
    grid-template-columns:minmax(360px, 500px) minmax(0, 1fr);
    gap:18px 36px;
    min-height:600px;
  }
  .hero-copy-lux{max-width:520px; padding:24px 0 36px;}
  .hero-lux-image{width:min(540px, 100%);}
}
@media(max-width:980px){
  .hero-grid-lux{
    direction:rtl;
    grid-template-columns:1fr;
    grid-template-areas:"copy" "visual";
    min-height:auto;
    gap:12px;
  }
  .hero-copy-lux,
  .hero-visual-lux{
    justify-self:stretch;
    max-width:none;
  }
  .hero-copy-lux{
    align-items:center;
    text-align:center;
    padding:10px 0 6px;
  }
  .hero-buttons-lux{justify-content:center;}
  .hero-visual-lux{min-height:430px;}
  .hero-feature-strip{
    grid-template-columns:repeat(2,minmax(0,1fr));
    margin-top:14px;
  }
}
@media(max-width:620px){
  .hero-feature-strip{grid-template-columns:1fr;}
  .hero-visual-lux{min-height:360px;}
  .hero-lux-image{width:min(360px, 96vw); transform:translate(0,10px);}
}


/* ===============================
   Hero Facelift v9 - tighten hero spacing
   =============================== */
.hero-grid-lux{
  grid-template-columns:minmax(470px, 600px) minmax(520px, 1fr);
  gap:12px 18px;
  min-height:620px;
}
.hero-copy-lux{
  max-width:620px;
  padding:26px 0 34px;
}
.hero-visual-lux{
  min-height:570px;
  justify-self:end;
}
.hero-image-frame{
  inset:26px 0 0 18px;
}
.hero-lux-image{
  width:min(630px, 100%);
  transform:translate(34px, 14px);
}
.hero-feature-strip{
  margin-top:0;
}

@media(max-width:1200px){
  .hero-grid-lux{
    grid-template-columns:minmax(390px, 520px) minmax(460px, 1fr);
    gap:10px 14px;
    min-height:590px;
  }
  .hero-copy-lux{max-width:560px;}
  .hero-lux-image{width:min(570px, 100%); transform:translate(22px, 12px);}
}
@media(max-width:980px){
  .hero-grid-lux{
    grid-template-columns:1fr;
    gap:10px;
    min-height:auto;
  }
  .hero-copy-lux{max-width:none; padding:10px 0 6px;}
  .hero-visual-lux{justify-self:stretch; min-height:430px;}
  .hero-lux-image{width:min(480px, 92vw); transform:translate(0, 10px);}
}
@media(max-width:620px){
  .hero-visual-lux{min-height:360px;}
  .hero-lux-image{width:min(360px, 96vw); transform:translate(0,10px);}
}


/* ===============================
   Section headings centering fix
   =============================== */
.section-head.centered-head{
  width:100%;
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  text-align:center !important;
}

.section-head.centered-head > .interactive-section-head{
  width:min(100%, 860px) !important;
  margin-inline:auto !important;
  justify-items:center !important;
  text-align:center !important;
}

.section-head.centered-head .section-title,
.section-head.centered-head .section-text{
  text-align:center !important;
  margin-inline:auto !important;
}


/* ===============================
   Global mouse light exact center
   =============================== */
body.landing-page::before{display:none !important;}
.mouse-light-glow{
  position:fixed;
  left:0;
  top:0;
  width:460px;
  height:460px;
  border-radius:50%;
  pointer-events:none;
  z-index:90;
  opacity:0;
  transform:translate3d(-9999px,-9999px,0) translate(-50%,-50%);
  background:
    radial-gradient(circle at center,
      rgba(95,207,101,.24) 0%,
      rgba(95,207,101,.15) 23%,
      rgba(76,175,80,.08) 44%,
      rgba(76,175,80,0) 70%);
  filter:blur(4px);
  mix-blend-mode:multiply;
  will-change:transform, opacity;
  transition:opacity .16s ease;
}
.mouse-light-glow.is-visible{opacity:1;}
body.has-custom-cursor,
body.has-custom-cursor a,
body.has-custom-cursor button,
body.has-custom-cursor input,
body.has-custom-cursor select,
body.has-custom-cursor textarea,
body.has-custom-cursor label,
body.has-custom-cursor .btn,
body.has-custom-cursor .card,
body.has-custom-cursor .badge{cursor:none !important;}
.cursor-bio{
  position:fixed;
  left:0;
  top:0;
  width:16px !important;
  height:16px !important;
  border-radius:50% !important;
  border:0 !important;
  background:linear-gradient(135deg,#4CAF50,#5FCF65) !important;
  box-shadow:0 0 0 2px rgba(255,255,255,.98), 0 10px 24px rgba(76,175,80,.30) !important;
  pointer-events:none;
  transform:translate3d(-9999px,-9999px,0) translate(-50%,-50%);
  z-index:9999;
  opacity:0;
  display:block !important;
  backdrop-filter:none !important;
  will-change:transform, opacity;
  transition:width .18s ease,height .18s ease,box-shadow .18s ease,opacity .16s ease !important;
}
.cursor-bio::before{
  content:"" !important;
  position:absolute;
  inset:-10px;
  border-radius:50%;
  border:1.5px solid rgba(76,175,80,.28);
}
.cursor-bio::after{display:none !important;}
.cursor-bio.is-visible{opacity:1;}
.cursor-bio.is-hover{
  width:20px !important;
  height:20px !important;
  box-shadow:0 0 0 2px rgba(255,255,255,.98), 0 12px 28px rgba(76,175,80,.36) !important;
}
.cursor-bio.is-hover::before{inset:-13px;border-color:rgba(76,175,80,.36);}
@media(max-width:720px){
  .mouse-light-glow{width:320px;height:320px;opacity:.78;}
}
@media (hover:none), (pointer:coarse){
  .cursor-bio{display:none !important;}
  body.has-custom-cursor,
  body.has-custom-cursor *{cursor:auto !important;}
}

/* ===============================
   Final CTA alignment fix v12
   =============================== */
.final-cta-card{
  position:relative !important;
  padding:44px 330px 42px 44px !important;
  min-height:230px;
  display:block !important;
}
.final-cta-card > div:first-child{
  max-width:900px;
  margin-inline-start:auto;
  text-align:right;
}
.final-cta-card > div:first-child .interactive-badge{
  position:relative;
  top:-24px;
  margin-bottom:-10px;
}
.final-cta-card > .hero-buttons{
  position:absolute;
  left:44px;
  top:50%;
  transform:translateY(-50%);
  width:220px;
  display:grid !important;
  grid-template-columns:1fr;
  gap:14px;
  margin:0 !important;
  justify-items:stretch;
}
.final-cta-card > .hero-buttons .btn{
  width:100%;
  min-height:58px;
  border-radius:16px;
}

@media(max-width:980px){
  .final-cta-card{
    padding:28px !important;
    min-height:auto;
    display:grid !important;
    text-align:center;
    justify-items:center;
  }
  .final-cta-card > div:first-child{
    max-width:none;
    margin-inline:auto;
    text-align:center;
  }
  .final-cta-card > div:first-child .interactive-badge{
    top:0;
    margin-bottom:10px;
  }
  .final-cta-card > .hero-buttons{
    position:static;
    transform:none;
    width:100%;
    max-width:320px;
    margin-top:20px !important;
  }
}

/* ===============================
   Final CTA left content fix v13
   =============================== */
.final-cta-card{
  padding:46px 44px !important;
  min-height:250px;
  display:grid !important;
  grid-template-columns:minmax(0, 760px);
  justify-content:start;
  align-content:center;
  gap:22px;
  direction:ltr;
}
.final-cta-card > div:first-child{
  direction:rtl;
  max-width:760px !important;
  margin:0 !important;
  text-align:right !important;
  justify-self:start;
}
.final-cta-card > div:first-child .interactive-badge{
  top:0 !important;
  margin-bottom:16px !important;
}
.final-cta-card > .hero-buttons{
  direction:rtl;
  position:static !important;
  left:auto !important;
  top:auto !important;
  transform:none !important;
  width:240px !important;
  display:grid !important;
  grid-template-columns:1fr;
  gap:14px;
  margin:0 !important;
  justify-self:start;
}
.final-cta-card > .hero-buttons .btn{
  width:100%;
  min-height:58px;
}

@media(max-width:980px){
  .final-cta-card{
    direction:rtl;
    grid-template-columns:1fr;
    justify-content:center;
    justify-items:center;
    text-align:center;
    padding:28px !important;
  }
  .final-cta-card > div:first-child{
    text-align:center !important;
    justify-self:center;
  }
  .final-cta-card > .hero-buttons{
    justify-self:center;
    width:100% !important;
    max-width:320px;
  }
}


/* ===============================
   Final CTA right-start alignment v14
   =============================== */
.final-cta-card{
  padding:46px 44px !important;
  min-height:250px;
  display:grid !important;
  grid-template-columns:240px minmax(0, 1fr);
  grid-template-areas:"actions content";
  align-items:center;
  gap:28px 36px;
  direction:ltr;
}
.final-cta-card > div:first-child{
  grid-area:content;
  direction:rtl;
  width:100%;
  max-width:none !important;
  margin:0 !important;
  text-align:right !important;
  justify-self:stretch;
}
.final-cta-card > div:first-child .interactive-badge{
  position:relative;
  top:-6px !important;
  margin-bottom:12px !important;
}
.final-cta-card > .hero-buttons{
  grid-area:actions;
  direction:rtl;
  position:static !important;
  left:auto !important;
  top:auto !important;
  transform:none !important;
  width:240px !important;
  display:grid !important;
  grid-template-columns:1fr;
  gap:14px;
  margin:0 !important;
  justify-self:start;
}
.final-cta-card > .hero-buttons .btn{
  width:100%;
  min-height:58px;
  border-radius:16px;
}

@media(max-width:980px){
  .final-cta-card{
    direction:rtl;
    grid-template-columns:1fr;
    grid-template-areas:"content" "actions";
    justify-content:center;
    justify-items:center;
    text-align:center;
    padding:28px !important;
    gap:18px;
  }
  .final-cta-card > div:first-child{
    text-align:center !important;
    justify-self:center;
  }
  .final-cta-card > div:first-child .interactive-badge{
    top:0 !important;
    margin-bottom:10px !important;
  }
  .final-cta-card > .hero-buttons{
    justify-self:center;
    width:100% !important;
    max-width:320px;
  }
}


/* ===============================
   Final CTA compact layout v15
   =============================== */
.final-cta-card{
  direction:rtl !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:24px !important;
  padding:30px 34px !important;
  min-height:auto !important;
  grid-template-columns:none !important;
}
.final-cta-card > div:first-child{
  flex:1 1 auto;
  width:auto;
  max-width:none !important;
  margin:0 !important;
  text-align:right !important;
}
.final-cta-card > div:first-child .interactive-badge{
  position:relative;
  top:0 !important;
  margin-bottom:10px !important;
}
.final-cta-card > div:first-child .section-title{
  margin:0 0 10px !important;
  max-width:820px;
}
.final-cta-card > div:first-child .section-text{
  margin:0 !important;
  max-width:760px;
}
.final-cta-card > .hero-buttons{
  flex:0 0 auto;
  width:auto !important;
  max-width:none !important;
  position:static !important;
  transform:none !important;
  margin:0 !important;
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:wrap;
  align-items:center;
  gap:12px !important;
  justify-content:flex-start;
}
.final-cta-card > .hero-buttons .btn{
  width:auto !important;
  min-width:170px;
  min-height:56px;
  border-radius:16px;
}

@media(max-width:980px){
  .final-cta-card{
    display:flex !important;
    flex-direction:column;
    align-items:center !important;
    justify-content:center !important;
    text-align:center;
    gap:18px !important;
    padding:24px !important;
  }
  .final-cta-card > div:first-child{
    text-align:center !important;
  }
  .final-cta-card > div:first-child .section-title,
  .final-cta-card > div:first-child .section-text{
    max-width:none;
    margin-inline:auto !important;
  }
  .final-cta-card > .hero-buttons{
    justify-content:center;
    width:100% !important;
  }
}

@media(max-width:620px){
  .final-cta-card > .hero-buttons{
    flex-direction:column !important;
    width:100% !important;
  }
  .final-cta-card > .hero-buttons .btn{
    width:100% !important;
    min-width:0;
  }
}

/* ===============================
   Student flow + Back Office demo
   =============================== */
.form-alert{border-radius:16px;padding:12px 14px;margin:0 0 16px;font-weight:900;line-height:1.7;background:#fff5f5;color:#b91c1c;border:1px solid rgba(239,68,68,.18)}
.form-alert.success{background:#ecfdf5;color:#047857;border-color:rgba(18,185,129,.22)}
.form-alert.info{background:#f0fdf4;color:#166534;border-color:rgba(76,175,80,.22)}
.catalog-head{align-items:center}.student-state-card{background:#fff;border:1px solid var(--border);border-radius:24px;padding:18px 20px;min-width:230px;box-shadow:0 18px 40px rgba(6,27,22,.06)}.student-state-card b{display:block;font-size:18px;color:var(--ink)}.student-state-card span,.student-state-card small{display:block;color:var(--muted);font-weight:800;line-height:1.8}.student-state-card a{color:var(--primary);font-weight:1000}.catalog-alert{margin:0 0 18px;border-radius:20px;padding:14px 16px;font-weight:900}.catalog-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.catalog-card{background:rgba(255,255,255,.88);border:1px solid var(--border);border-radius:28px;padding:22px;box-shadow:0 22px 60px rgba(6,27,22,.06);display:flex;flex-direction:column;gap:14px;transition:.25s ease}.catalog-card:hover{transform:translateY(-5px);box-shadow:0 28px 70px rgba(20,184,120,.10);border-color:rgba(20,184,120,.24)}.catalog-card>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px}.catalog-card h3{margin:0;font-size:24px;line-height:1.35}.catalog-card p{margin:0;color:var(--muted);font-weight:700;line-height:1.9}.catalog-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--border);padding-top:12px}.catalog-meta span{color:var(--muted);font-weight:900}.catalog-meta strong{color:var(--primary);font-size:20px}.catalog-details{margin-top:22px;background:#fff;border:1px solid var(--border);border-radius:32px;padding:26px;box-shadow:var(--shadow)}.catalog-details-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.catalog-details-head h2{margin:10px 0 8px;font-size:34px}.catalog-details-head p{margin:0;color:var(--muted);font-weight:800;line-height:1.9}.catalog-lessons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.lesson-item small{display:block;color:var(--muted);font-size:12px;margin-top:4px}.lesson-item.locked{opacity:.7}.payment-summary-card h3{font-size:30px;margin:14px 0}.price-line{display:flex;align-items:center;justify-content:space-between;background:var(--soft);border:1px solid var(--border);border-radius:18px;padding:16px;margin:18px 0}.price-line span{color:var(--muted);font-weight:900}.price-line strong{font-size:28px;color:var(--primary)}.admin-content-list{display:grid;gap:10px}.admin-list-item{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:1px solid var(--border);border-radius:18px;padding:14px}.admin-list-item b{display:block;color:var(--ink)}.admin-list-item span{display:block;color:var(--muted);font-weight:800;margin-top:4px}.video-box iframe{width:100%;height:100%;border:0}.catalog-page .section-head{margin-bottom:24px}.course-card .btn{flex:0 0 auto}
@media(max-width:1100px){.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-lessons{grid-template-columns:1fr}.catalog-head{display:block}.student-state-card{margin-top:18px;min-width:0}.catalog-details-head{display:grid}.admin-list-item{display:grid}}
@media(max-width:620px){.catalog-grid{grid-template-columns:1fr}.catalog-card .hero-buttons{display:grid}.catalog-card .hero-buttons .btn{width:100%}.price-line{display:grid;gap:8px}.payment-summary-card h3{font-size:24px}.catalog-details{padding:20px;border-radius:24px}.catalog-details-head h2{font-size:28px}}

/* ===============================
   Platform Flow v3 - images, payment, admin auth, watermark
   =============================== */
[hidden]{display:none !important;}
.form-alert{padding:12px 14px;border-radius:14px;margin-top:12px;font-weight:900;line-height:1.7;background:#fff5f5;color:#dc2626;border:1px solid #fecaca}
.form-alert.success{background:#ecfdf5;color:#047857;border-color:#bbf7d0}.form-alert.info{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}.form-alert.danger{background:#fff5f5;color:#dc2626;border-color:#fecaca}
.catalog-page .section-title{max-width:980px}.student-state-card{background:#fff;border:1px solid var(--border);border-radius:22px;padding:15px 18px;box-shadow:0 14px 40px rgba(6,27,22,.05);display:grid;gap:4px;min-width:220px}.student-state-card b{color:var(--ink)}.student-state-card span,.student-state-card small{color:#64748b;font-weight:800}
.monthly-offer-zone{margin-top:12px}.monthly-offer-card{display:grid;grid-template-columns:380px 1fr;gap:28px;align-items:center;background:linear-gradient(135deg,#fff,#f6fff9);border:1px solid var(--border);border-radius:34px;padding:24px;box-shadow:var(--shadow);overflow:hidden;position:relative}.monthly-offer-card::after{content:"";position:absolute;left:-90px;bottom:-110px;width:300px;height:300px;border-radius:50%;background:rgba(20,184,120,.08);pointer-events:none}.monthly-offer-image,.catalog-card-image{position:relative;overflow:hidden;border-radius:26px;background:#f8fffb;border:1px solid rgba(20,184,120,.10)}.monthly-offer-image{aspect-ratio:1.35/1;box-shadow:0 22px 55px rgba(6,27,22,.08)}.monthly-offer-image img,.catalog-card-image img,.admin-thumb img{width:100%;height:100%;object-fit:cover;display:block}.monthly-offer-content h2{font-size:clamp(32px,4vw,56px);line-height:1.15;margin:12px 0;color:var(--ink);font-weight:1000}.monthly-offer-content p{color:#64748b;line-height:1.9;font-weight:800;margin:0}.compact-features{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}.compact-features div{font-size:14px;background:rgba(255,255,255,.7);border:1px solid rgba(20,184,120,.08);border-radius:15px;padding:10px}
.catalog-browse-head{display:flex;align-items:end;justify-content:space-between;gap:18px}.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.catalog-card{background:#fff;border:1px solid var(--border);border-radius:28px;overflow:hidden;box-shadow:0 18px 50px rgba(6,27,22,.06);transition:.25s ease}.catalog-card:hover{transform:translateY(-4px);box-shadow:0 26px 70px rgba(20,184,120,.10)}.catalog-card-image{aspect-ratio:1.55/1;border-radius:0;border-width:0 0 1px}.catalog-card-body{padding:20px}.catalog-card-body>div:first-child,.catalog-card>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px}.catalog-card h3{font-size:24px;margin:14px 0 8px;color:var(--ink)}.catalog-card p{color:#64748b;line-height:1.8;font-weight:750}.catalog-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--border);padding-top:14px;margin-top:14px}.catalog-meta span{color:#64748b;font-weight:900}.catalog-meta strong{color:var(--primary);font-size:22px;font-weight:1000}.catalog-details{margin-top:24px;background:#fff;border:1px solid var(--border);border-radius:30px;padding:24px;box-shadow:var(--shadow)}.catalog-details-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}.catalog-details-head h2{font-size:34px;margin:10px 0;color:var(--ink)}.catalog-details-head p{color:#64748b;line-height:1.8;font-weight:750}
.payment-logo-row{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.pay-logo{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 13px;border-radius:12px;background:#fff;border:1px solid var(--border);font-weight:1000;box-shadow:0 10px 24px rgba(6,27,22,.04)}.pay-logo.fawry{color:#f59e0b}.pay-logo.visa{color:#1d4ed8}.pay-logo.master{color:#dc2626}.pay-logo.meeza{color:#059669}.payment-options-wide{grid-template-columns:repeat(4,minmax(0,1fr))}.electronic-pay-card h3{font-size:26px;margin:0 0 8px}.electronic-pay-card p{color:#64748b;line-height:1.8;font-weight:750}
.admin-login-screen{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 50% 0%,rgba(141,235,139,.18),transparent 36%),linear-gradient(180deg,#fff,#f3fff8);padding:24px}.admin-login-card{width:min(460px,100%)}.admin-list-preview{display:flex;align-items:center;gap:12px}.admin-thumb{width:74px;height:56px;border-radius:14px;overflow:hidden;background:#f8fffb;border:1px solid var(--border);flex:0 0 auto}.admin-list-item{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 0;border-bottom:1px solid var(--border)}.admin-list-item:last-child{border-bottom:0}.admin-list-item b{display:block;color:var(--ink)}.admin-list-item span{color:#64748b;font-weight:800;font-size:13px}.field small{color:#64748b;font-weight:800}.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.video-box{position:relative;overflow:hidden}.video-watermark{position:absolute;z-index:4;right:18px;top:18px;padding:8px 14px;border-radius:999px;background:rgba(255,255,255,.68);border:1px solid rgba(255,255,255,.4);color:#061B16;font-weight:1000;font-size:14px;backdrop-filter:blur(8px);pointer-events:none;box-shadow:0 12px 30px rgba(0,0,0,.16);animation:watermarkMove 18s linear infinite;opacity:.72}@keyframes watermarkMove{0%{right:18px;top:18px}20%{right:62%;top:15%}40%{right:22%;top:72%}60%{right:68%;top:58%}80%{right:12%;top:42%}100%{right:18px;top:18px}}
@media(max-width:980px){.monthly-offer-card{grid-template-columns:1fr}.compact-features{grid-template-columns:1fr}.catalog-grid{grid-template-columns:1fr}.catalog-browse-head,.catalog-details-head{display:grid}.payment-options-wide{grid-template-columns:1fr 1fr}.settings-grid{grid-template-columns:1fr}}
@media(max-width:620px){.monthly-offer-card{padding:18px;border-radius:24px}.payment-options-wide{grid-template-columns:1fr}.catalog-meta{display:grid}.video-watermark{font-size:11px;padding:6px 10px}.admin-list-item{align-items:flex-start;display:grid}}


/* ===============================
   Fawaterk Live payment logo polish
   =============================== */
.payment-logo-row{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px !important;
  margin:18px 0 6px !important;
}
.pay-logo-img{
  min-height:58px !important;
  padding:10px 14px !important;
  border-radius:16px !important;
  background:linear-gradient(180deg,#fff,rgba(248,249,250,.94)) !important;
  border:1px solid rgba(217,243,229,.95) !important;
  box-shadow:0 16px 32px rgba(6,27,22,.055) !important;
  letter-spacing:.1px;
  position:relative;
  overflow:hidden;
}
.pay-logo-img::before{
  content:"";
  position:absolute;
  inset:auto -20% -45% -20%;
  height:70%;
  background:radial-gradient(circle,rgba(20,184,120,.12),transparent 65%);
}
.pay-logo-img span{position:relative;z-index:2}
.pay-logo-img.fawry span{color:#f59e0b;font-weight:1000}
.pay-logo-img.visa span{color:#1a4fb7;font-weight:1000;text-transform:uppercase}
.pay-logo-img.master span{color:#cf3b2e;font-weight:1000}
.pay-logo-img.meeza span{color:#059669;font-weight:1000}
.electronic-pay-card .btn[data-online-pay]{
  min-height:58px;
  border-radius:16px;
}
@media(max-width:620px){
  .payment-logo-row{grid-template-columns:repeat(2,minmax(0,1fr));}
}

/* ===============================
   UX cleanup v16: payment, playlist, admin pages
   =============================== */
.payment-page-clean .container{max-width:1180px}
.payment-hero-clean{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:28px}
.payment-clean-grid{display:grid;grid-template-columns:0.85fr 1.15fr;gap:22px;align-items:start}
.clean-summary{position:sticky;top:96px;overflow:hidden}
.clean-summary::after{content:"";position:absolute;left:-80px;bottom:-80px;width:220px;height:220px;border-radius:50%;background:rgba(20,184,120,.08)}
.payment-method-card{padding:28px;border-radius:30px}
.payment-method-head h2{margin:10px 0 6px;font-size:34px;line-height:1.2}
.payment-choice-list{display:grid;gap:12px;margin:22px 0}
.payment-choice{width:100%;border:1px solid var(--border);background:#fff;border-radius:22px;padding:18px;display:flex;align-items:center;gap:14px;text-align:right;cursor:pointer;transition:.24s ease;color:var(--ink)}
.payment-choice:hover,.payment-choice.selected{border-color:rgba(20,184,120,.42);box-shadow:0 20px 44px rgba(20,184,120,.08);transform:translateY(-2px)}
.payment-choice b{display:block;font-size:18px;margin-bottom:4px}.payment-choice small{display:block;color:#64748b;font-weight:800;line-height:1.7}
.choice-icon{width:52px;height:52px;border-radius:18px;background:var(--soft-2);display:grid;place-items:center;font-size:24px;flex:0 0 auto}
.gateway-box{display:none;border:1px solid var(--border);background:linear-gradient(180deg,#fff,#fbfffd);border-radius:24px;padding:22px;margin-top:16px}.gateway-box.active{display:block;animation:fadeUp .35s ease both}.gateway-box h3{margin:0 0 8px;font-size:24px}.gateway-box p{color:#64748b;font-weight:750;line-height:1.9}.pay-now-btn{width:100%;min-height:58px;margin-top:10px}.manual-info{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px dashed var(--border);border-radius:18px;padding:14px 16px;margin:14px 0;background:#fff}.manual-info span{color:var(--primary);font-weight:1000}.coupon-clean-card{display:grid;grid-template-columns:1fr auto;gap:22px;align-items:center;margin-top:22px}.coupon-inline{margin:0;min-width:430px}.coupon-inline input{min-height:54px}.student-state-card{min-width:210px;background:#fff;border:1px solid var(--border);border-radius:22px;padding:14px 18px;box-shadow:0 14px 34px rgba(6,27,22,.06)}.student-state-card b{display:block;font-size:18px}.student-state-card span,.student-state-card small{display:block;color:#64748b;font-weight:800;line-height:1.7}

.lesson-main .topbar h1{font-size:30px}.lesson-layout-playlist{display:grid;grid-template-columns:340px minmax(0,1fr);gap:20px;direction:ltr;align-items:start}.lesson-layout-playlist>*{direction:rtl}.playlist-panel{position:sticky;top:24px;max-height:calc(100vh - 48px);overflow:auto}.playlist-head{margin-bottom:16px}.playlist-head h3{font-size:28px;margin:10px 0 6px}.playlist-head p{color:#64748b;font-weight:750;line-height:1.8;margin:0}.playlist-list{gap:10px}.playlist-item{display:grid;grid-template-columns:42px 1fr auto;gap:12px;align-items:center;padding:13px;border-radius:18px}.playlist-item b{display:block}.playlist-item small{display:block;color:#64748b;margin-top:4px;font-weight:800}.playlist-item.locked{opacity:.55;background:#f8fafc;color:#64748b}.playlist-item.done{border-color:rgba(20,184,120,.25);background:#fbfffd}.playlist-num{width:42px;height:42px;border-radius:15px;background:#e8fff2;color:var(--primary);display:grid;place-items:center;font-weight:1000}.premium-video-box{position:relative;border-radius:32px;box-shadow:0 28px 70px rgba(6,27,22,.16)}.video-watermark{position:absolute;z-index:3;right:8%;top:10%;font-size:20px;font-weight:900;color:#fff;background:rgba(6,27,22,.16);border:1px solid rgba(255,255,255,.16);border-radius:999px;padding:8px 14px;opacity:.20;pointer-events:none;animation:watermarkMove 18s linear infinite;backdrop-filter:blur(4px)}@keyframes watermarkMove{0%{right:8%;top:10%}25%{right:62%;top:18%}50%{right:40%;top:72%}75%{right:12%;top:55%}100%{right:8%;top:10%}}.lesson-info-card{margin-top:18px}

.admin-shell .main{background:linear-gradient(180deg,#f8fffb,#f3fff8)}.admin-sidebar .side-menu a{justify-content:flex-start}.admin-page-grid{grid-template-columns:1fr 1fr}.admin-content-editor{border-radius:30px}.soft-separator{border:0;border-top:1px solid var(--border);margin:22px 0}.admin-list-item{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--border);border-radius:18px;padding:13px;margin-top:10px;background:#fff}.admin-list-preview{display:flex;align-items:center;gap:12px}.admin-thumb{width:70px;height:54px;border-radius:14px;overflow:hidden;background:#f3fff8;flex:0 0 auto}.admin-thumb img{width:100%;height:100%;object-fit:cover}.admin-list-item b{display:block}.admin-list-item span{display:block;color:#64748b;font-weight:800;line-height:1.7}.admin-short-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.admin-short-list div{border:1px solid var(--border);border-radius:20px;padding:18px;background:#fff}.admin-short-list b{font-size:32px;color:var(--primary);display:block}.admin-short-list span{color:#64748b;font-weight:900}.admin-overview-grid .card{min-height:260px}

@keyframes fadeUp{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media(max-width:980px){.payment-hero-clean{display:grid}.payment-clean-grid,.coupon-clean-card,.lesson-layout-playlist,.admin-page-grid{grid-template-columns:1fr}.clean-summary,.playlist-panel{position:relative;top:auto;max-height:none}.coupon-inline{min-width:0;width:100%}.admin-short-list{grid-template-columns:1fr}.student-state-card{min-width:0}.lesson-layout-playlist{direction:rtl}.playlist-panel{order:2}.lesson-watch-area{order:1}}
@media(max-width:620px){.payment-method-card,.card{border-radius:22px}.payment-choice{align-items:flex-start}.coupon-inline{display:grid}.manual-info{display:grid}.video-watermark{font-size:13px;padding:6px 10px}.hero-buttons .btn{width:100%}.payment-hero-clean .section-title{font-size:34px}}


/* ===============================
   Catalog calm redesign v2
   =============================== */
.catalog-clean{
  padding-top:44px !important;
  padding-bottom:70px !important;
  background:linear-gradient(180deg,#f4fff8 0%,#fbfffd 48%,#ffffff 100%) !important;
}
.catalog-container{display:grid;gap:22px;}
.catalog-top-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  background:rgba(255,255,255,.82);
  border:1px solid rgba(217,243,229,.92);
  border-radius:28px;
  padding:24px 26px;
  box-shadow:0 18px 50px rgba(6,27,22,.055);
}
.catalog-top-copy h1{
  margin:10px 0 8px;
  font-size:clamp(28px,3.2vw,42px);
  line-height:1.22;
  color:var(--ink);
  font-weight:1000;
  letter-spacing:-.5px;
}
.catalog-top-copy p{
  margin:0;
  max-width:740px;
  color:#64748b;
  font-size:16px;
  line-height:1.9;
  font-weight:700;
}
.catalog-clean .student-state-card{min-width:210px;box-shadow:none;background:#f8fffb;}
.monthly-offer-zone{margin-top:0 !important;}
.monthly-offer-card{
  grid-template-columns:260px minmax(0,1fr) !important;
  gap:22px !important;
  padding:22px !important;
  border-radius:28px !important;
  box-shadow:0 22px 60px rgba(6,27,22,.075) !important;
  background:linear-gradient(135deg,#fff 0%,#fbfffd 56%,#f1fff6 100%) !important;
}
.monthly-offer-image{border-radius:22px !important;aspect-ratio:1.25/1 !important;box-shadow:0 18px 44px rgba(6,27,22,.07) !important;}
.monthly-offer-content h2{
  font-size:clamp(26px,3.1vw,40px) !important;
  line-height:1.25 !important;
  margin:10px 0 8px !important;
  letter-spacing:-.4px;
}
.monthly-offer-content p{font-size:15px !important;line-height:1.85 !important;font-weight:700 !important;max-width:780px;}
.compact-benefits{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:14px 0;
}
.compact-benefits span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:#fff;
  border:1px solid rgba(20,184,120,.10);
  color:#385348;
  border-radius:999px;
  padding:8px 11px;
  font-size:13px;
  font-weight:850;
}
.compact-benefits span::before{content:'✓';color:var(--primary);font-weight:1000;}
.monthly-actions{margin-top:14px;margin-bottom:0 !important;}
.monthly-actions .btn{min-height:50px;}
.catalog-browse-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:26px;
  padding:22px 24px;
  box-shadow:0 18px 45px rgba(6,27,22,.052);
}
.catalog-browse-card h2,
.sessions-panel-head h2{
  margin:10px 0 6px;
  font-size:clamp(24px,2.7vw,34px);
  line-height:1.25;
  color:var(--ink);
  font-weight:1000;
}
.catalog-browse-card p,
.sessions-panel-head p{margin:0;color:#64748b;line-height:1.85;font-weight:750;}
.catalog-browse-card .btn{min-width:170px;min-height:52px;}
.sessions-panel{scroll-margin-top:110px;display:grid;gap:18px;}
.sessions-panel-head{display:flex;align-items:end;justify-content:space-between;gap:18px;padding:4px 2px 0;}
.catalog-clean .catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
.catalog-clean .catalog-card{border-radius:24px;box-shadow:0 14px 40px rgba(6,27,22,.052);}
.catalog-clean .catalog-card-image{aspect-ratio:1.7/1;}
.catalog-clean .catalog-card-body{padding:18px;}
.catalog-clean .catalog-card h3{font-size:22px;line-height:1.35;margin:12px 0 6px;}
.catalog-clean .catalog-card p{font-size:14px;line-height:1.75;}
.catalog-clean .catalog-meta strong{font-size:20px;}
.catalog-clean .catalog-details{box-shadow:0 18px 50px rgba(6,27,22,.065);border-radius:26px;}
.catalog-clean .catalog-details-head h2{font-size:30px;line-height:1.25;}

@media(max-width:980px){
  .catalog-top-card,.catalog-browse-card{display:grid;}
  .monthly-offer-card{grid-template-columns:1fr !important;}
  .catalog-clean .catalog-grid{grid-template-columns:1fr;}
  .catalog-browse-card .btn{width:100%;}
}
@media(max-width:620px){
  .catalog-clean{padding-top:28px !important;}
  .catalog-top-card,.catalog-browse-card,.monthly-offer-card{padding:18px !important;border-radius:22px !important;}
  .monthly-actions{display:grid !important;}
  .monthly-actions .btn{width:100%;}
}

/* ===============================
   Content reset + catalog/admin UX v18
   =============================== */
.catalog-clean{padding-top:34px !important;}
.catalog-top-card{padding:20px 24px !important;min-height:auto !important;}
.catalog-top-copy h1{font-size:clamp(26px,3vw,38px) !important;line-height:1.25 !important;}
.catalog-top-copy p{font-size:15px !important;max-width:680px;}
.catalog-monthly-pro{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) 240px !important;
  grid-template-areas:"content image" !important;
  align-items:center !important;
  gap:20px !important;
}
.catalog-monthly-pro .monthly-offer-content{grid-area:content;}
.catalog-monthly-pro .monthly-offer-image{grid-area:image;}
.monthly-headline-row{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:8px;}
.monthly-price-pill{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:linear-gradient(135deg,#14B878,#8DEB8B);color:#fff;padding:9px 14px;font-size:15px;font-weight:1000;box-shadow:0 14px 34px rgba(20,184,120,.18);}
.catalog-monthly-pro .monthly-offer-content h2{font-size:clamp(28px,3vw,42px) !important;}
.catalog-monthly-pro .catalog-meta{display:none !important;}
.catalog-card-actions{justify-content:center !important;gap:10px;margin:18px 0 0 !important;}
.catalog-card-actions .btn{min-width:135px;min-height:50px;}
.catalog-tags-row{display:flex;align-items:center;justify-content:space-between;gap:12px;}
.empty-content-card{grid-column:1/-1;text-align:center;padding:34px !important;}
.sessions-panel[hidden]{display:none !important;}
.sessions-panel:not([hidden]){animation:fadeUp .35s ease both;}

.admin-content-studio{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:18px;align-items:start;}
.admin-content-studio .card{border-radius:30px;}
.playlist-builder-form{display:grid;gap:12px;margin-top:14px;}
.admin-playlist-list{display:grid;gap:10px;}
.playlist-admin-row{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:12px;align-items:center;background:#fff;border:1px solid var(--border);border-radius:18px;padding:12px;}
.playlist-admin-row b{display:block;color:var(--ink);}
.playlist-admin-row small{display:block;color:#64748b;font-weight:800;margin-top:4px;line-height:1.6;}
.admin-row-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;}
.admin-row-actions .btn{padding:9px 12px;min-height:40px;border-radius:12px;font-size:13px;}
.material-viewer,.quiz-viewer,.empty-lesson-state{min-height:420px;display:grid;place-items:center;text-align:center;padding:34px;color:#fff;background:linear-gradient(135deg,#061B16,#073B2D);}
.material-viewer p,.quiz-viewer p,.empty-lesson-state p{color:#d9f3e5;font-weight:750;line-height:1.9;}
.quiz-viewer{place-items:stretch;text-align:right;color:#fff;overflow:auto;}
.quiz-question{display:grid;gap:8px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:16px;padding:14px;margin:8px 0;}
.quiz-question input{border:1px solid rgba(255,255,255,.18);border-radius:12px;padding:12px;background:rgba(255,255,255,.92);color:#061B16;}
.video-watermark{opacity:.12 !important;font-size:16px !important;background:rgba(6,27,22,.12) !important;}

@media(max-width:980px){
  .catalog-monthly-pro{grid-template-columns:1fr !important;grid-template-areas:"image" "content" !important;}
  .admin-content-studio{grid-template-columns:1fr;}
  .playlist-admin-row{grid-template-columns:42px 1fr;}
  .playlist-admin-row .admin-row-actions{grid-column:1/-1;justify-content:flex-start;}
}
@media(max-width:620px){
  .monthly-headline-row{display:grid;justify-items:start;}
  .catalog-card-actions{display:grid !important;}
  .catalog-card-actions .btn{width:100%;}
}


/* ===============================
   Subscription state + Biology motion + Dark mode v4
   =============================== */
.theme-toggle-btn{width:48px;height:48px;border-radius:16px;border:1px solid var(--border);background:rgba(255,255,255,.86);display:inline-grid;place-items:center;font-size:18px;box-shadow:0 10px 28px rgba(6,27,22,.06);cursor:pointer;transition:.22s ease;}
.theme-toggle-btn:hover{transform:translateY(-2px);border-color:rgba(20,184,120,.32)}
.topbar-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
.biology-ambient{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden;opacity:.95;}
.biology-ambient .dna,.biology-ambient .chromosome{position:absolute;display:block;filter:blur(.1px);opacity:.38;}
.biology-ambient .dna{width:180px;height:360px;border-radius:999px;background:repeating-linear-gradient(180deg,rgba(20,184,120,.0) 0 15px,rgba(20,184,120,.18) 16px 17px,rgba(20,184,120,.0) 18px 34px);}
.biology-ambient .dna::before,.biology-ambient .dna::after{content:"";position:absolute;top:0;bottom:0;width:38px;border-radius:999px;background:radial-gradient(circle at 50% 0,rgba(141,235,139,.45),transparent 22px) 0 0/100% 46px repeat-y;}
.biology-ambient .dna::before{right:38px;transform:skewY(-16deg)}.biology-ambient .dna::after{left:38px;transform:skewY(16deg)}
.dna-one{right:7%;top:24%;animation:dnaFloat 14s ease-in-out infinite}.dna-two{left:11%;top:18%;transform:scale(.72) rotate(-16deg);animation:dnaFloat 17s ease-in-out infinite reverse}.dna-three{left:42%;bottom:2%;transform:scale(.54) rotate(18deg);animation:dnaFloat 20s ease-in-out infinite}
.biology-ambient .chromosome{width:96px;height:96px;border-radius:50%;background:radial-gradient(circle,rgba(20,184,120,.18),transparent 64%);}
.biology-ambient .chromosome::before,.biology-ambient .chromosome::after{content:"";position:absolute;width:68px;height:18px;border-radius:999px;background:rgba(20,184,120,.20);top:40px;left:14px;transform:rotate(42deg);}.biology-ambient .chromosome::after{transform:rotate(-42deg)}
.chromosome-one{right:36%;top:10%;animation:chromosomeDrift 12s ease-in-out infinite}.chromosome-two{left:5%;bottom:16%;transform:scale(.8);animation:chromosomeDrift 15s ease-in-out infinite reverse}
@keyframes dnaFloat{0%,100%{translate:0 0;rotate:0deg}50%{translate:0 -26px;rotate:5deg}}@keyframes chromosomeDrift{0%,100%{translate:0 0;opacity:.25}50%{translate:18px -18px;opacity:.44}}
.hero-lux .hero-shell{position:relative;z-index:3;}
.catalog-owned-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:28px;border-radius:28px;background:linear-gradient(135deg,#fff,#f3fff8);border:1px solid var(--border);box-shadow:0 18px 50px rgba(6,27,22,.06)}
.catalog-owned-card h2{margin:12px 0 8px;font-size:clamp(28px,3vw,42px);line-height:1.25;color:var(--ink)}
.catalog-owned-card p{margin:0;color:#64748b;font-weight:800;line-height:1.9}.owned-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-start}.catalog-session-notice{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid rgba(20,184,120,.16);background:rgba(255,255,255,.86);border-radius:20px;padding:14px 16px;margin-bottom:14px;box-shadow:0 10px 30px rgba(6,27,22,.04)}.catalog-session-notice b{color:var(--ink)}.catalog-session-notice span{color:#64748b;font-weight:800;line-height:1.7}.monthly-offer-card.owned{opacity:1}
html.theme-dark{color-scheme:dark;--ink:#EAF8EF;--muted:#A8B6AF;--soft:#07130F;--soft-2:#0B1C16;--border:rgba(141,235,139,.16);--shadow:0 24px 70px rgba(0,0,0,.34);}
html.theme-dark body{background:#06100D;color:#EAF8EF;}html.theme-dark body.landing-page{background:#06100D;}html.theme-dark .navbar,html.theme-dark .nav-shell{background:rgba(7,19,15,.72)!important;border-color:rgba(141,235,139,.14)!important;box-shadow:0 14px 44px rgba(0,0,0,.26)!important;}html.theme-dark .nav-links,html.theme-dark .nav-links-premium{color:#CDE5D8;}html.theme-dark .hero-lux,html.theme-dark .hero-premium{background:radial-gradient(circle at 12% 18%,rgba(20,184,120,.16),transparent 30%),linear-gradient(180deg,#06100D,#081511 75%,#07130F)!important;}html.theme-dark .hero-title-dark,html.theme-dark .section-title,html.theme-dark h1,html.theme-dark h2,html.theme-dark h3{color:#EAF8EF!important;}html.theme-dark .hero-text-lux,html.theme-dark .section-text,html.theme-dark p{color:#AFC3B8;}html.theme-dark .card,html.theme-dark .catalog-top-card,html.theme-dark .monthly-offer-card,html.theme-dark .catalog-card,html.theme-dark .catalog-browse-card,html.theme-dark .catalog-details,html.theme-dark .payment-method-card,html.theme-dark .auth-form,html.theme-dark .final-cta-card,html.theme-dark .catalog-owned-card,html.theme-dark .catalog-session-notice{background:rgba(10,25,19,.88)!important;border-color:rgba(141,235,139,.16)!important;box-shadow:0 18px 54px rgba(0,0,0,.25)!important;}html.theme-dark .sidebar{background:#081511;border-color:rgba(141,235,139,.14)}html.theme-dark .app-shell,html.theme-dark .main,html.theme-dark .section.soft,html.theme-dark .catalog-clean{background:linear-gradient(180deg,#06100D,#081511)!important;}html.theme-dark .btn-outline,html.theme-dark .theme-toggle-btn{background:rgba(255,255,255,.05);border-color:rgba(141,235,139,.20);color:#DDFBE8}html.theme-dark .badge,html.theme-dark .pill{background:rgba(20,184,120,.12);border-color:rgba(141,235,139,.18);color:#8DEB8B}html.theme-dark .table th{background:#0B1C16}html.theme-dark input,html.theme-dark select,html.theme-dark textarea{background:#081511!important;color:#EAF8EF!important;border-color:rgba(141,235,139,.18)!important;}html.theme-dark .video-box{background:#020806;}
@media(max-width:780px){.catalog-owned-card,.catalog-session-notice{display:grid}.owned-actions .btn{width:100%}.biology-ambient{opacity:.45}.theme-toggle-btn{width:44px;height:44px}}


/* ===============================
   Dark mode polish + subscription UX cleanup v5
   =============================== */
.dashboard-lower-grid{grid-template-columns:1fr !important;}
.dashboard-lower-grid > .card{min-height:220px;}
.student-monthly-active .side-menu a[href="payment.html"],
.student-monthly-active .nav-actions a[href="payment.html"]{display:none !important;}
.catalog-monthly-owned .catalog-top-card{display:none !important;}
.compact-admin-overview{grid-template-columns:1fr !important;}
.compact-admin-overview > .card{max-width:720px;}

html.theme-dark{
  --ink:#F2FFF7;
  --muted:#B8CDC2;
  --soft:#06100D;
  --soft-2:#0B1C16;
  --border:rgba(141,235,139,.20);
  --shadow:0 24px 70px rgba(0,0,0,.42);
}
html.theme-dark body,
html.theme-dark .app-shell,
html.theme-dark .main,
html.theme-dark .catalog-clean,
html.theme-dark .section.soft{
  background:#06100D !important;
  color:#F2FFF7 !important;
}
html.theme-dark body::selection{background:rgba(141,235,139,.28);}
html.theme-dark h1,
html.theme-dark h2,
html.theme-dark h3,
html.theme-dark h4,
html.theme-dark .section-title,
html.theme-dark .topbar h1,
html.theme-dark .catalog-card h3,
html.theme-dark .admin-list-item b,
html.theme-dark .mini-stat strong,
html.theme-dark .playlist-admin-row b,
html.theme-dark .student-state-card b{
  color:#F2FFF7 !important;
  opacity:1 !important;
}
html.theme-dark p,
html.theme-dark .section-text,
html.theme-dark .catalog-card p,
html.theme-dark .catalog-details-head p,
html.theme-dark .student-state-card span,
html.theme-dark .student-state-card small,
html.theme-dark .admin-list-item span,
html.theme-dark .playlist-admin-row small,
html.theme-dark .mini-stat span,
html.theme-dark .table th,
html.theme-dark .table td,
html.theme-dark .lesson-item span,
html.theme-dark .features-list div{
  color:#B8CDC2 !important;
  opacity:1 !important;
}
html.theme-dark .navbar,
html.theme-dark .nav-shell,
html.theme-dark .sidebar,
html.theme-dark .admin-sidebar{
  background:rgba(7,19,15,.94) !important;
  border-color:rgba(141,235,139,.18) !important;
  box-shadow:0 18px 50px rgba(0,0,0,.32) !important;
}
html.theme-dark .side-menu a{
  color:#91A69B !important;
}
html.theme-dark .side-menu a.active,
html.theme-dark .side-menu a:hover{
  color:#8DEB8B !important;
  background:rgba(20,184,120,.13) !important;
}
html.theme-dark .card,
html.theme-dark .mini-stat,
html.theme-dark .catalog-top-card,
html.theme-dark .monthly-offer-card,
html.theme-dark .catalog-card,
html.theme-dark .catalog-browse-card,
html.theme-dark .catalog-details,
html.theme-dark .payment-method-card,
html.theme-dark .auth-form,
html.theme-dark .final-cta-card,
html.theme-dark .catalog-owned-card,
html.theme-dark .catalog-session-notice,
html.theme-dark .admin-list-item,
html.theme-dark .playlist-admin-row,
html.theme-dark .student-state-card,
html.theme-dark .table-card,
html.theme-dark .lesson-item,
html.theme-dark .course-card,
html.theme-dark .hero-feature-card{
  background:linear-gradient(145deg,rgba(11,28,22,.96),rgba(8,21,17,.96)) !important;
  border-color:rgba(141,235,139,.20) !important;
  box-shadow:0 18px 54px rgba(0,0,0,.30) !important;
  color:#F2FFF7 !important;
  opacity:1 !important;
}
html.theme-dark .admin-grid .mini-stat,
html.theme-dark .admin-list-item,
html.theme-dark .table tr,
html.theme-dark .table td{
  background:rgba(10,25,19,.98) !important;
}
html.theme-dark .table thead th,
html.theme-dark .table th{
  background:#0B1C16 !important;
  color:#CDE5D8 !important;
}
html.theme-dark .status.pending,
html.theme-dark .pill,
html.theme-dark .badge{
  background:rgba(20,184,120,.13) !important;
  border-color:rgba(141,235,139,.22) !important;
  color:#8DEB8B !important;
}
html.theme-dark .status.active,
html.theme-dark .check{
  background:rgba(20,184,120,.18) !important;
  color:#8DEB8B !important;
}
html.theme-dark .user-pill,
html.theme-dark .theme-toggle-btn{
  background:rgba(255,255,255,.08) !important;
  border:1px solid rgba(141,235,139,.22) !important;
  color:#F2FFF7 !important;
  box-shadow:0 12px 32px rgba(0,0,0,.24) !important;
}
html.theme-dark .user-pill span,
html.theme-dark [data-student-name]{color:#F2FFF7 !important;opacity:1 !important;}
html.theme-dark .btn-outline,
html.theme-dark .btn-ghost{
  background:rgba(255,255,255,.06) !important;
  border-color:rgba(141,235,139,.22) !important;
  color:#EAF8EF !important;
}
html.theme-dark .btn-primary{
  color:#fff !important;
  box-shadow:0 18px 45px rgba(20,184,120,.24) !important;
}
html.theme-dark .catalog-card-image,
html.theme-dark .monthly-offer-image,
html.theme-dark .admin-thumb,
html.theme-dark .hero-image-frame{
  background:rgba(232,255,242,.06) !important;
  border-color:rgba(141,235,139,.16) !important;
}
html.theme-dark .catalog-card-image img,
html.theme-dark .monthly-offer-image img{filter:saturate(.92) brightness(.88);}
html.theme-dark .dash-hero{
  background:linear-gradient(135deg,#073B2D,#082017) !important;
  border-color:rgba(141,235,139,.18) !important;
}
html.theme-dark .progress-bar{background:rgba(255,255,255,.14) !important;}
html.theme-dark .progress-fill{background:linear-gradient(90deg,#14B878,#8DEB8B) !important;}
html.theme-dark input,
html.theme-dark select,
html.theme-dark textarea{
  background:#081511 !important;
  color:#F2FFF7 !important;
  border-color:rgba(141,235,139,.22) !important;
}
html.theme-dark input::placeholder,
html.theme-dark textarea::placeholder{color:#7D9388 !important;}
html.theme-dark .footer{
  background:#07130F !important;
  border-top:1px solid rgba(141,235,139,.14);
}
html.theme-dark .footer p,
html.theme-dark .footer a{color:#B8CDC2 !important;}

@media(max-width:980px){
  .compact-admin-overview > .card{max-width:none;}
}


/* ===============================
   Dark mode readability final polish v6
   =============================== */
html.theme-dark body.landing-page,
html.theme-dark body.landing-page main,
html.theme-dark #about,
html.theme-dark #about.section,
html.theme-dark #learning,
html.theme-dark #path,
html.theme-dark #contact{
  background:#06100D !important;
  border-color:rgba(141,235,139,.14) !important;
}
html.theme-dark #about .container,
html.theme-dark #about .about-clean{
  background:transparent !important;
}
html.theme-dark #about .section-title,
html.theme-dark #about .section-text,
html.theme-dark #about .features-list div{
  opacity:1 !important;
}
html.theme-dark #about .premium-note-card{
  background:linear-gradient(145deg,rgba(12,31,24,.98),rgba(7,18,14,.98)) !important;
  border:1px solid rgba(141,235,139,.22) !important;
  box-shadow:0 18px 50px rgba(0,0,0,.32) !important;
}
html.theme-dark .hero-feature-card{
  background:linear-gradient(145deg,rgba(12,31,24,.96),rgba(7,18,14,.96)) !important;
  border:1px solid rgba(141,235,139,.26) !important;
  box-shadow:0 18px 44px rgba(0,0,0,.32) !important;
}
html.theme-dark .hero-feature-card h3,
html.theme-dark .hero-feature-card p{
  color:#F2FFF7 !important;
  opacity:1 !important;
}
html.theme-dark .hero-feature-card p{color:#C1D7CC !important;}
html.theme-dark .hero-feature-icon,
html.theme-dark .card-icon{
  background:rgba(20,184,120,.18) !important;
  color:#8DEB8B !important;
}
html.theme-dark .btn-dark,
html.theme-dark .catalog-browse-card .btn-dark{
  background:linear-gradient(135deg,#14B878,#8DEB8B) !important;
  border:0 !important;
  color:#fff !important;
  box-shadow:0 16px 36px rgba(20,184,120,.22) !important;
}
html.theme-dark .btn-dark:hover,
html.theme-dark .catalog-browse-card .btn-dark:hover{
  transform:translateY(-2px);
  box-shadow:0 20px 46px rgba(20,184,120,.30) !important;
}
html.theme-dark .catalog-browse-card,
html.theme-dark .empty-content-card{
  background:linear-gradient(145deg,rgba(11,28,22,.94),rgba(7,18,14,.94)) !important;
  border-color:rgba(141,235,139,.22) !important;
}
html.theme-dark .payment-page-clean,
html.theme-dark body[data-payment-page] .section.soft{
  background:#06100D !important;
}
html.theme-dark .payment-method-card,
html.theme-dark .clean-summary,
html.theme-dark .coupon-clean-card{
  background:linear-gradient(145deg,rgba(11,28,22,.98),rgba(7,18,14,.98)) !important;
  border:1px solid rgba(141,235,139,.22) !important;
  color:#F2FFF7 !important;
  box-shadow:0 18px 54px rgba(0,0,0,.32) !important;
}
html.theme-dark .payment-method-head h2,
html.theme-dark .payment-method-head p,
html.theme-dark .payment-summary-card h2,
html.theme-dark .payment-summary-card p,
html.theme-dark .coupon-clean-card h3,
html.theme-dark .coupon-clean-card p{
  color:#F2FFF7 !important;
  opacity:1 !important;
}
html.theme-dark .payment-method-head p,
html.theme-dark .payment-summary-card p,
html.theme-dark .coupon-clean-card p{color:#C1D7CC !important;}
html.theme-dark .payment-choice{
  background:rgba(255,255,255,.055) !important;
  border:1px solid rgba(141,235,139,.20) !important;
  color:#F2FFF7 !important;
  box-shadow:none !important;
}
html.theme-dark .payment-choice:hover,
html.theme-dark .payment-choice.selected{
  background:rgba(20,184,120,.14) !important;
  border-color:rgba(141,235,139,.42) !important;
  box-shadow:0 18px 42px rgba(20,184,120,.10) !important;
}
html.theme-dark .payment-choice b{
  color:#F2FFF7 !important;
  opacity:1 !important;
}
html.theme-dark .payment-choice small{
  color:#C1D7CC !important;
  opacity:1 !important;
}
html.theme-dark .choice-icon{
  background:#06100D !important;
  color:#8DEB8B !important;
  border:1px solid rgba(141,235,139,.22) !important;
}
html.theme-dark .gateway-box{
  background:rgba(255,255,255,.055) !important;
  border-color:rgba(141,235,139,.20) !important;
  color:#F2FFF7 !important;
}
html.theme-dark .gateway-box h3,
html.theme-dark .gateway-box p{
  color:#F2FFF7 !important;
  opacity:1 !important;
}
html.theme-dark .gateway-box p{color:#C1D7CC !important;}
html.theme-dark .manual-info{
  background:rgba(255,255,255,.055) !important;
  border-color:rgba(141,235,139,.22) !important;
  color:#F2FFF7 !important;
}
html.theme-dark .manual-info b{color:#F2FFF7 !important;}
html.theme-dark .manual-info span{color:#8DEB8B !important;}
html.theme-dark .coupon-inline input,
html.theme-dark .coupon-box input{
  background:rgba(255,255,255,.055) !important;
  color:#F2FFF7 !important;
  border:1px solid rgba(141,235,139,.25) !important;
}
html.theme-dark .coupon-inline input::placeholder,
html.theme-dark .coupon-box input::placeholder{
  color:#8DA89B !important;
}
html.theme-dark .form-alert{
  background:rgba(20,184,120,.12) !important;
  border:1px solid rgba(141,235,139,.22) !important;
  color:#EAF8EF !important;
}
html.theme-dark .form-alert.danger,
html.theme-dark .form-alert[style*="danger"]{
  background:rgba(239,68,68,.12) !important;
  border-color:rgba(239,68,68,.28) !important;
  color:#FECACA !important;
}
html.theme-dark .admin-login-screen{
  background:#06100D !important;
}
html.theme-dark .admin-grid .mini-stat{
  background:linear-gradient(145deg,rgba(11,28,22,.98),rgba(7,18,14,.98)) !important;
  border-color:rgba(141,235,139,.22) !important;
}
html.theme-dark .admin-short-list div{
  background:rgba(255,255,255,.055) !important;
  border-color:rgba(141,235,139,.18) !important;
}
html.theme-dark .admin-short-list b{color:#8DEB8B !important;}
html.theme-dark .admin-short-list span{color:#C1D7CC !important;}
html.theme-dark .user-pill,
html.theme-dark .topbar-actions .user-pill{
  background:rgba(255,255,255,.075) !important;
  color:#F2FFF7 !important;
  border-color:rgba(141,235,139,.24) !important;
}
html.theme-dark .user-pill span,
html.theme-dark .user-pill b{
  color:#F2FFF7 !important;
}
html.theme-dark .price-line,
html.theme-dark .catalog-meta{
  background:rgba(255,255,255,.045) !important;
  border-color:rgba(141,235,139,.18) !important;
}
html.theme-dark .price-line span,
html.theme-dark .catalog-meta span{color:#C1D7CC !important;}
html.theme-dark .price-line strong,
html.theme-dark .catalog-meta strong{color:#8DEB8B !important;}
.catalog-monthly-owned .catalog-top-card,
.student-monthly-active .catalog-top-card{
  display:none !important;
}
.student-monthly-active .nav-actions a[href="payment.html"],
.catalog-monthly-owned .nav-actions a[href="payment.html"]{
  display:none !important;
}


/* ===============================
   Hero image frame fixed white in dark mode v7
   =============================== */
html.theme-dark .hero-image-frame{
  background:
    linear-gradient(135deg, rgba(240,248,240,.96) 0%, rgba(255,255,255,.88) 42%, rgba(248,251,248,.78) 100%),
    radial-gradient(circle at 14% 22%, rgba(95,207,101,.14), transparent 30%) !important;
  border:1px solid rgba(20,184,120,.14) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.78), 0 22px 54px rgba(0,0,0,.22) !important;
}
html.theme-dark .hero-image-frame::before{
  background:linear-gradient(132deg, rgba(95,207,101,.10), rgba(95,207,101,0)) !important;
}
html.theme-dark .hero-image-frame::after{
  border-color:rgba(95,207,101,.12) !important;
  box-shadow:0 0 0 18px rgba(95,207,101,.04), 0 0 0 36px rgba(95,207,101,.02) !important;
}

/* ===============================
   Student learning flow v2
   =============================== */
.progress-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0 8px;font-weight:900;color:#5f746a}
.theme-dark .progress-meta{color:#d9f7e5}
.new-content-notice{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:18px 0;background:linear-gradient(135deg,rgba(20,184,120,.08),rgba(255,255,255,.92));}
.new-content-notice[hidden]{display:none!important}
.theme-dark .new-content-notice{background:linear-gradient(135deg,rgba(20,184,120,.18),rgba(4,28,21,.92));border-color:rgba(141,235,139,.22)}
.progress-course-card{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:180px}.progress-course-card>div{flex:1}.mini-progress{height:9px;border-radius:99px;background:rgba(20,184,120,.12);overflow:hidden;margin:14px 0 8px}.mini-progress span{display:block;height:100%;border-radius:99px;background:linear-gradient(135deg,#14B878,#8DEB8B)}.theme-dark .mini-progress{background:rgba(255,255,255,.08)}
.content-hub-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:22px}.content-hub-hero h2{font-size:clamp(34px,4vw,58px);margin:10px 0;color:var(--ink)}.content-hub-hero p{color:var(--muted);font-weight:800;line-height:1.9}.theme-dark .content-hub-hero h2{color:#ecfff2}.theme-dark .content-hub-hero p{color:#c9dece}
.content-group-card{margin-bottom:22px}.content-group-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.content-group-head h2{font-size:32px;margin:0;color:var(--ink)}.theme-dark .content-group-head h2{color:#f2fff5}.content-unit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.unit-card{border:1px solid var(--border);border-radius:24px;background:#fff;padding:22px;display:grid;gap:18px;min-height:210px;transition:.25s ease}.unit-card:hover{transform:translateY(-4px);box-shadow:0 24px 55px rgba(20,184,120,.10)}.unit-card h3{margin:10px 0 8px;font-size:26px;color:var(--ink)}.unit-card p,.unit-card small{color:var(--muted);font-weight:800;line-height:1.7}.theme-dark .unit-card{background:#071d16;border-color:rgba(141,235,139,.18)}.theme-dark .unit-card h3{color:#f2fff5}.theme-dark .unit-card p,.theme-dark .unit-card small{color:#c7ddcf}
.lesson-start-card{margin-bottom:20px}.lesson-start-card h2{font-size:clamp(34px,4vw,54px);margin:10px 0;color:var(--ink)}.lesson-start-card p{font-weight:800;color:var(--muted)}.theme-dark .lesson-start-card h2{color:#f2fff5}.theme-dark .lesson-start-card p{color:#d3ead9}.playlist-step{width:100%;text-align:right;border:1px solid var(--border);background:#fff;border-radius:18px;padding:14px 16px;display:grid;gap:5px;color:var(--ink);cursor:pointer}.playlist-step.active{border-color:#14B878;box-shadow:0 14px 38px rgba(20,184,120,.12)}.playlist-step.done b:after{content:' ✓';color:#14B878}.playlist-step.locked{opacity:.55;cursor:not-allowed}.theme-dark .playlist-step{background:#071d16;border-color:rgba(141,235,139,.18);color:#f2fff5}.theme-dark .playlist-step span{color:#bdd4c5}.lesson-browser[hidden], [data-lesson-player][hidden]{display:none!important}.material-view,.quiz-view{padding:42px;text-align:center}.material-view h2,.quiz-view h2{font-size:34px;margin:12px 0;color:var(--ink)}.theme-dark .material-view h2,.theme-dark .quiz-view h2{color:#f2fff5}.quiz-question{background:#fff;border:1px solid var(--border);border-radius:18px;padding:16px;margin:12px 0;text-align:right}.quiz-question textarea{width:100%;margin-top:10px;min-height:80px;border-radius:14px;border:1px solid var(--border);padding:12px}.theme-dark .quiz-question{background:#071d16;border-color:rgba(141,235,139,.18);color:#f2fff5}.premium-video-box{position:relative;overflow:hidden}.premium-video-box iframe{width:100%;aspect-ratio:16/9;border:0;border-radius:22px;background:#000}.video-watermark{position:absolute;z-index:3;top:7%;right:8%;font-weight:900;color:rgba(255,255,255,.22);font-size:17px;pointer-events:none;animation:watermarkFloat 14s ease-in-out infinite;text-shadow:0 2px 18px rgba(0,0,0,.25)}@keyframes watermarkFloat{0%,100%{transform:translate(0,0)}25%{transform:translate(-18vw,8vh)}50%{transform:translate(-5vw,30vh)}75%{transform:translate(-24vw,18vh)}}
.admin-content-editor .settings-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.playlist-admin-row{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;border:1px solid var(--border);border-radius:18px;padding:12px;margin:10px 0;background:#fff}.theme-dark .playlist-admin-row{background:#071d16;border-color:rgba(141,235,139,.18);color:#f2fff5}.playlist-num{width:36px;height:36px;border-radius:12px;background:#e8fff2;display:grid;place-items:center;font-weight:1000;color:#14B878}.theme-dark .playlist-num{background:rgba(20,184,120,.18)}
.theme-dark .card,.theme-dark .catalog-card,.theme-dark .payment-choice,.theme-dark .gateway-box,.theme-dark .coupon-clean-card{background:#071d16!important;border-color:rgba(141,235,139,.18)!important;color:#f2fff5!important}.theme-dark .card h1,.theme-dark .card h2,.theme-dark .card h3,.theme-dark .payment-choice b,.theme-dark .gateway-box h3{color:#f2fff5!important}.theme-dark .card p,.theme-dark .card span,.theme-dark .card small,.theme-dark .payment-choice small,.theme-dark .gateway-box p{color:#d3ead9!important}.theme-dark input,.theme-dark select,.theme-dark textarea{background:#051711!important;color:#f2fff5!important;border-color:rgba(141,235,139,.22)!important}.theme-dark input::placeholder,.theme-dark textarea::placeholder{color:rgba(226,255,237,.55)!important}
@media(max-width:980px){.content-unit-grid{grid-template-columns:1fr}.content-hub-hero,.new-content-notice,.progress-course-card{display:grid;text-align:center;justify-items:center}.admin-content-editor .settings-grid{grid-template-columns:1fr}.lesson-layout-playlist{grid-template-columns:1fr!important}}


/* ===============================
   Student sidebar/content cleanup v9
   =============================== */
.student-shell .sidebar{
  display:flex;
  flex-direction:column;
}
.student-shell .student-menu{
  flex:0 0 auto;
}
.side-subscription-action{
  margin-top:auto;
  padding-top:18px;
}
.side-subscription-action a{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:58px;
  border-radius:18px;
  font-weight:1000;
  color:#0B6F49;
  background:linear-gradient(135deg,rgba(232,255,242,.95),rgba(255,255,255,.96));
  border:1px solid rgba(20,184,120,.18);
  box-shadow:0 16px 36px rgba(6,27,22,.07);
}
.side-subscription-action a:hover{
  transform:translateY(-2px);
  border-color:rgba(20,184,120,.35);
}
.content-hub-hero{
  display:block !important;
}
.content-hub-hero h2{
  max-width:980px;
}
.content-hub-hero p{
  max-width:760px;
}
.clean-empty-content{
  text-align:center;
  padding:42px 26px !important;
}
.clean-empty-content h2{
  margin:0 0 10px;
}
.clean-empty-content p{
  margin:0;
}
html.theme-dark .side-subscription-action a{
  background:linear-gradient(135deg,rgba(20,184,120,.18),rgba(7,29,22,.92));
  border-color:rgba(141,235,139,.22);
  color:#8DEB8B;
  box-shadow:0 16px 36px rgba(0,0,0,.22);
}
html.theme-dark .clean-empty-content,
html.theme-dark .content-hub-hero{
  background:#071d16!important;
  border-color:rgba(141,235,139,.18)!important;
}
@media(max-width:980px){
  .side-subscription-action{margin-top:12px;}
  .side-subscription-action a{min-height:52px;}
}


/* ===============================
   Landing page global ambient v10
   =============================== */
body.landing-page{
  position:relative;
  background:
    radial-gradient(circle at 12% 10%, rgba(95,207,101,.10), transparent 20%),
    radial-gradient(circle at 88% 14%, rgba(76,175,80,.08), transparent 18%),
    linear-gradient(180deg,#fbfffd 0%,#f7fcf9 34%,#fbfffd 68%,#f5fbf7 100%);
}
body.landing-page > *:not(.page-ambient){position:relative;z-index:1;}
.page-ambient{
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:0;
  overflow:hidden;
}
.page-ambient::before,
.page-ambient::after{
  content:"";
  position:absolute;
  inset:0;
}
.page-ambient::before{
  background:
    linear-gradient(120deg, rgba(255,255,255,.0) 0%, rgba(255,255,255,.42) 30%, rgba(255,255,255,0) 52%),
    repeating-linear-gradient(90deg, rgba(76,175,80,.028) 0 1px, transparent 1px 150px),
    repeating-linear-gradient(0deg, rgba(76,175,80,.02) 0 1px, transparent 1px 150px);
  opacity:.45;
}
.page-ambient::after{
  background:
    radial-gradient(circle at 24% 24%, rgba(255,255,255,.28), transparent 18%),
    radial-gradient(circle at 76% 72%, rgba(255,255,255,.22), transparent 16%);
  opacity:.7;
}
.ambient-blob,
.ambient-wave,
.ambient-ring,
.ambient-dots{
  position:absolute;
  display:block;
}
.ambient-blob{
  border-radius:50%;
  filter:blur(10px);
  opacity:.85;
  animation:ambientFloat 18s ease-in-out infinite;
}
.blob-a{
  width:520px;height:520px;top:-100px;right:-140px;
  background:radial-gradient(circle, rgba(95,207,101,.16), rgba(95,207,101,.05) 38%, transparent 70%);
}
.blob-b{
  width:460px;height:460px;top:28%;left:-160px;
  background:radial-gradient(circle, rgba(20,184,120,.12), rgba(20,184,120,.04) 40%, transparent 72%);
  animation-duration:22s;
  animation-direction:reverse;
}
.blob-c{
  width:420px;height:420px;bottom:6%;right:10%;
  background:radial-gradient(circle, rgba(141,235,139,.15), rgba(141,235,139,.05) 42%, transparent 75%);
  animation-duration:26s;
}
.ambient-wave{
  width:760px;
  height:180px;
  border:1px solid rgba(76,175,80,.10);
  border-radius:50%;
  opacity:.55;
}
.wave-a{
  top:14%;left:44%;
  transform:rotate(-14deg);
  animation:ambientWave 20s ease-in-out infinite;
}
.wave-b{
  bottom:18%;right:46%;
  transform:rotate(11deg);
  animation:ambientWave 24s ease-in-out infinite reverse;
}
.ambient-ring{
  border-radius:50%;
  border:1px solid rgba(76,175,80,.11);
  box-shadow:0 0 0 22px rgba(95,207,101,.045), 0 0 0 46px rgba(95,207,101,.022);
  opacity:.5;
  animation:ambientPulse 16s ease-in-out infinite;
}
.ring-a{width:180px;height:180px;top:31%;right:13%;}
.ring-b{width:140px;height:140px;bottom:11%;left:14%;animation-duration:20s;}
.ambient-dots{
  width:220px;height:220px;
  opacity:.36;
  background-image:radial-gradient(rgba(76,175,80,.24) 1.4px, transparent 1.4px);
  background-size:18px 18px;
  mask-image:radial-gradient(circle at center, #000 38%, transparent 78%);
  -webkit-mask-image:radial-gradient(circle at center, #000 38%, transparent 78%);
  animation:ambientDrift 24s linear infinite;
}
.dots-a{top:9%;left:12%;}
.dots-b{bottom:16%;right:18%;animation-duration:28s;animation-direction:reverse;}

.landing-page .navbar,
.landing-page .nav-shell{
  background:rgba(255,255,255,.70)!important;
  backdrop-filter:blur(16px);
}
.landing-page .hero-lux{
  background:transparent;
}
.landing-page .hero-lux::before,
.landing-page .hero-lux::after{display:none;}
.landing-page .section,
.landing-page .section.soft,
.landing-page .final-cta,
.landing-page footer{
  position:relative;
  background:transparent;
}
.landing-page .about-clean,
.landing-page .interactive-section-head,
.landing-page .final-cta-card,
.landing-page .premium-note-card,
.landing-page .hero-feature-card,
.landing-page .subject-card,
.landing-page .step{
  backdrop-filter:blur(2px);
}
.landing-page .section.soft::before,
.landing-page #about::before,
.landing-page #path::before,
.landing-page #contact::before{
  content:"";
  position:absolute;
  inset:24px 0;
  background:linear-gradient(180deg, rgba(255,255,255,.38), rgba(255,255,255,.18));
  border-top:1px solid rgba(76,175,80,.06);
  border-bottom:1px solid rgba(76,175,80,.04);
  pointer-events:none;
}
.landing-page .section > .container,
.landing-page footer .container{position:relative;z-index:1;}
.landing-page .premium-note-card,
.landing-page .subject-card,
.landing-page .step,
.landing-page .hero-feature-card,
.landing-page .final-cta-card{
  background:rgba(255,255,255,.68);
  border-color:rgba(76,175,80,.10);
  box-shadow:0 18px 42px rgba(6,27,22,.05);
}
.landing-page .footer{
  background:linear-gradient(180deg, rgba(7,19,15,.95), rgba(5,15,12,.98));
}
@keyframes ambientFloat{
  0%,100%{transform:translate3d(0,0,0) scale(1);}
  50%{transform:translate3d(0,-26px,0) scale(1.03);}
}
@keyframes ambientWave{
  0%,100%{transform:translate3d(0,0,0) rotate(-14deg);}
  50%{transform:translate3d(18px,-20px,0) rotate(-10deg);}
}
@keyframes ambientPulse{
  0%,100%{transform:scale(1);opacity:.42;}
  50%{transform:scale(1.07);opacity:.62;}
}
@keyframes ambientDrift{
  0%{transform:translate3d(0,0,0) rotate(0deg);}
  100%{transform:translate3d(24px,-30px,0) rotate(6deg);}
}

html.theme-dark body.landing-page{
  background:
    radial-gradient(circle at 12% 10%, rgba(20,184,120,.16), transparent 22%),
    radial-gradient(circle at 88% 14%, rgba(141,235,139,.10), transparent 20%),
    linear-gradient(180deg,#06100D 0%,#07130F 38%,#071510 72%,#07130F 100%)!important;
}
html.theme-dark .landing-page .navbar,
html.theme-dark .landing-page .nav-shell{
  background:rgba(7,19,15,.62)!important;
  border-color:rgba(141,235,139,.14)!important;
}
html.theme-dark .page-ambient::before{
  background:
    linear-gradient(120deg, rgba(141,235,139,.0) 0%, rgba(141,235,139,.06) 28%, rgba(141,235,139,0) 58%),
    repeating-linear-gradient(90deg, rgba(141,235,139,.032) 0 1px, transparent 1px 150px),
    repeating-linear-gradient(0deg, rgba(141,235,139,.026) 0 1px, transparent 1px 150px);
  opacity:.4;
}
html.theme-dark .page-ambient::after{
  background:
    radial-gradient(circle at 24% 24%, rgba(20,184,120,.11), transparent 20%),
    radial-gradient(circle at 76% 72%, rgba(141,235,139,.09), transparent 18%);
  opacity:.7;
}
html.theme-dark .ambient-wave{border-color:rgba(141,235,139,.11);opacity:.5;}
html.theme-dark .ambient-ring{border-color:rgba(141,235,139,.14);box-shadow:0 0 0 22px rgba(20,184,120,.05), 0 0 0 46px rgba(20,184,120,.03);}
html.theme-dark .ambient-dots{opacity:.28;background-image:radial-gradient(rgba(141,235,139,.35) 1.4px, transparent 1.4px);}
html.theme-dark .landing-page .section.soft::before,
html.theme-dark .landing-page #about::before,
html.theme-dark .landing-page #path::before,
html.theme-dark .landing-page #contact::before{
  background:linear-gradient(180deg, rgba(9,22,17,.26), rgba(9,22,17,.06));
  border-top-color:rgba(141,235,139,.05);
  border-bottom-color:rgba(141,235,139,.04);
}
html.theme-dark .landing-page .premium-note-card,
html.theme-dark .landing-page .subject-card,
html.theme-dark .landing-page .step,
html.theme-dark .landing-page .hero-feature-card,
html.theme-dark .landing-page .final-cta-card{
  background:rgba(8,24,18,.72)!important;
  border-color:rgba(141,235,139,.16)!important;
  box-shadow:0 18px 52px rgba(0,0,0,.24)!important;
}
html.theme-dark .landing-page .footer{
  background:linear-gradient(180deg, rgba(4,12,10,.96), rgba(3,10,8,.98));
}
@media (max-width: 980px){
  .blob-a{width:360px;height:360px;right:-110px;top:-60px;}
  .blob-b{width:320px;height:320px;left:-120px;top:34%;}
  .blob-c{width:280px;height:280px;right:-60px;bottom:12%;}
  .ambient-wave{width:500px;height:130px;opacity:.36;}
  .dots-a{left:4%;top:12%;}
  .dots-b{right:4%;bottom:18%;}
}
@media (max-width: 680px){
  .page-ambient::before{opacity:.28;}
  .ambient-wave,.ambient-ring{display:none;}
  .ambient-dots{width:150px;height:150px;opacity:.22;}
  .landing-page .section.soft::before,
  .landing-page #about::before,
  .landing-page #path::before,
  .landing-page #contact::before{inset:12px 0;}
}


/* ===============================
   Cursor / mouse light stacking fix v11
   =============================== */
/* The global ambient wrapper is decorative only; cursor/light must never enter page flow. */
body.landing-page > .mouse-light-glow,
body.landing-page > .cursor-bio{
  position:fixed !important;
  left:0 !important;
  top:0 !important;
  margin:0 !important;
  pointer-events:none !important;
  transform:translate3d(-9999px,-9999px,0) translate(-50%,-50%);
}
body.landing-page > .mouse-light-glow{
  width:460px !important;
  height:460px !important;
  z-index:9997 !important;
  opacity:0;
  border-radius:50%;
  background:
    radial-gradient(circle at center,
      rgba(95,207,101,.22) 0%,
      rgba(95,207,101,.14) 24%,
      rgba(76,175,80,.075) 45%,
      rgba(76,175,80,0) 72%);
  filter:blur(4px);
  mix-blend-mode:screen;
}
body.landing-page > .mouse-light-glow.is-visible{opacity:.88 !important;}
html:not(.theme-dark) body.landing-page > .mouse-light-glow{mix-blend-mode:multiply;opacity:0;}
html:not(.theme-dark) body.landing-page > .mouse-light-glow.is-visible{opacity:.9 !important;}
body.landing-page > .cursor-bio{
  width:16px !important;
  height:16px !important;
  z-index:9999 !important;
  opacity:0;
  display:block !important;
  border-radius:50% !important;
  border:0 !important;
  background:linear-gradient(135deg,#4CAF50,#5FCF65) !important;
  box-shadow:0 0 0 2px rgba(255,255,255,.98), 0 10px 24px rgba(76,175,80,.30) !important;
  backdrop-filter:none !important;
}
body.landing-page > .cursor-bio.is-visible{opacity:1 !important;}
body.landing-page > .cursor-bio::before{
  content:"" !important;
  position:absolute;
  inset:-10px;
  border-radius:50%;
  border:1.5px solid rgba(95,207,101,.36);
}
body.landing-page > .cursor-bio::after{display:none !important;}
body.landing-page > .cursor-bio.is-hover{
  width:20px !important;
  height:20px !important;
  box-shadow:0 0 0 2px rgba(255,255,255,.98), 0 12px 28px rgba(76,175,80,.36) !important;
}
body.landing-page > .cursor-bio.is-hover::before{inset:-13px;border-color:rgba(95,207,101,.44);}
body.has-custom-cursor,
body.has-custom-cursor *{cursor:none !important;}
@media (hover:none), (pointer:coarse){
  body.landing-page > .cursor-bio{display:none !important;}
  body.has-custom-cursor,
  body.has-custom-cursor *{cursor:auto !important;}
}

/* Make the ambient background visible across the full landing page without affecting layout. */
.page-ambient{z-index:0 !important;}
body.landing-page header,
body.landing-page main,
body.landing-page footer{position:relative;z-index:2;}
.ambient-blob{opacity:.95;}
.ambient-wave{opacity:.62;}
.ambient-ring{opacity:.56;}
.ambient-dots{opacity:.42;}
html.theme-dark .ambient-blob{opacity:.78;}
html.theme-dark .ambient-wave{opacity:.52;}
html.theme-dark .ambient-ring{opacity:.52;}
html.theme-dark .ambient-dots{opacity:.30;}
