:root {
  --bg:#f6f7fb;
  --surface:#ffffff;
  --ink:#17151f;
  --muted:#6b6475;
  --primary:#7c3aed;
  --primary-2:#a855f7;
  --accent:#f97316;
  --success:#10b981;
  --soft-purple:#f3e8ff;
  --soft-orange:#fff7ed;
  --line:#ece8f3;
  --shadow:0 22px 70px rgba(37, 19, 76, .12);
  --shadow-sm:0 10px 30px rgba(37, 19, 76, .08);
}
* { box-sizing:border-box; }
body { background: var(--bg); color: var(--ink); font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { text-decoration:none; }
.fw-black { font-weight: 900; }
.card { border:0; border-radius: 1.25rem; box-shadow: var(--shadow-sm); }
.btn { font-weight: 700; }
.btn-primary { --bs-btn-bg: var(--primary); --bs-btn-border-color: var(--primary); --bs-btn-hover-bg:#6d28d9; --bs-btn-hover-border-color:#6d28d9; }
.btn-soft-dark { background:#f0eef5; color:#191525; border:0; border-radius:999px; padding:.55rem 1rem; }
.text-muted { color: var(--muted)!important; }

/* Premium navigation */
.premium-navbar { background: rgba(255,255,255,.92); backdrop-filter: blur(18px); border-bottom:1px solid rgba(236,232,243,.95); box-shadow: 0 10px 35px rgba(23,21,31,.05); }
.navbar-brand { color: var(--ink); }
.navbar-brand:hover { color: var(--primary); }
.brand-mark { width:42px; height:42px; border-radius:14px; display:inline-grid; place-items:center; background: linear-gradient(135deg,var(--primary),var(--accent)); color:#fff; box-shadow:0 12px 28px rgba(124,58,237,.28); }
.premium-navbar .nav-link { color:#322c3e; font-weight:700; }
.premium-navbar .nav-link:hover { color:var(--primary); }
.nav-search { position:relative; max-width:540px; }
.nav-search i { position:absolute; left:18px; top:50%; transform:translateY(-50%); color:var(--muted); }
.nav-search .form-control { border:1px solid var(--line); border-radius:999px; padding:.75rem 1rem .75rem 2.8rem; background:#faf9fd; }
.nav-search .form-control:focus { border-color:#c4b5fd; box-shadow:0 0 0 .25rem rgba(124,58,237,.12); }
.premium-dropdown { border-radius:1rem; padding:.6rem; min-width:240px; }
.premium-dropdown .dropdown-item { border-radius:.8rem; font-weight:650; padding:.7rem .8rem; }
.premium-dropdown .dropdown-item:hover { background:var(--soft-purple); color:var(--primary); }

/* Landing page */
.landing-body { background:#fff; }
.market-hero { padding:80px 0 70px; position:relative; overflow:hidden; background:
  radial-gradient(circle at 10% 10%, rgba(168,85,247,.18), transparent 32%),
  radial-gradient(circle at 90% 5%, rgba(249,115,22,.18), transparent 35%),
  linear-gradient(180deg,#fff 0%,#fbf8ff 100%); }
.market-hero:after { content:""; position:absolute; inset:auto -10% -120px -10%; height:240px; background:#fff; transform:skewY(-3deg); transform-origin:left; }
.market-hero .container { position:relative; z-index:1; }
.hero-badge { display:inline-flex; align-items:center; gap:.5rem; padding:.55rem .9rem; border:1px solid #eadcff; border-radius:999px; background:rgba(255,255,255,.8); color:#6d28d9; font-weight:800; font-size:.92rem; box-shadow:var(--shadow-sm); }
.hero-title { font-size: clamp(2.4rem, 5vw, 5rem); line-height:.97; letter-spacing:-.06em; font-weight:950; margin-bottom:1.35rem; }
.hero-subtitle { font-size: clamp(1.05rem, 2vw, 1.28rem); color:var(--muted); max-width:720px; line-height:1.7; }
.hero-search { max-width:760px; display:flex; align-items:center; gap:.75rem; background:#fff; border:1px solid #eadcff; border-radius:1.4rem; padding:.65rem; box-shadow:0 25px 80px rgba(124,58,237,.18); }
.hero-search i { font-size:1.3rem; color:var(--primary); margin-left:.8rem; }
.hero-search input { border:0; outline:0; flex:1; min-width:0; font-size:1.05rem; }
.hero-search button { border:0; background:var(--ink); color:#fff; padding:.85rem 1.45rem; border-radius:1rem; font-weight:850; }
.hero-tags { display:flex; flex-wrap:wrap; gap:.75rem; }
.hero-tags a { color:#3f3651; background:#fff; border:1px solid var(--line); border-radius:999px; padding:.55rem .9rem; font-weight:750; box-shadow:0 8px 22px rgba(23,21,31,.05); }
.hero-tags a:hover { color:var(--primary); border-color:#d8b4fe; }
.trust-row { display:flex; flex-wrap:wrap; gap:1.2rem; }
.trust-row div { min-width:120px; }
.trust-row strong { display:block; font-size:1.45rem; font-weight:900; }
.trust-row span { color:var(--muted); font-weight:650; }
.hero-showcase { position:relative; min-height:560px; }
.course-preview-card { background:#fff; border-radius:2rem; overflow:hidden; box-shadow:var(--shadow); border:1px solid #eee8f7; transform:rotate(1.2deg); }
.preview-cover { position:relative; height:250px; overflow:hidden; background:#111; }
.preview-cover img { width:100%; height:100%; object-fit:cover; display:block; }
.preview-pill { position:absolute; top:18px; left:18px; background:#fff; color:var(--primary); border-radius:999px; padding:.45rem .8rem; font-weight:850; box-shadow:var(--shadow-sm); }
.preview-body { padding:1.5rem; }
.preview-body h4 { font-weight:900; letter-spacing:-.03em; }
.rating-line { display:flex; justify-content:space-between; gap:1rem; color:#7c2d12; font-weight:800; }
.rating-line small { color:var(--muted); }
.price-text { font-size:1.4rem; }
.floating-card { position:absolute; z-index:2; background:#fff; padding:.85rem 1rem; border-radius:1rem; box-shadow:var(--shadow-sm); font-weight:850; border:1px solid var(--line); }
.floating-card i { color:var(--primary); margin-right:.35rem; }
.floating-card-a { top:35px; right:-20px; }
.floating-card-b { bottom:70px; left:-35px; }

.section-pad { padding:80px 0; }
.bg-soft { background:#fbf9ff; }
.section-eyebrow { display:inline-block; text-transform:uppercase; letter-spacing:.12em; font-weight:900; font-size:.78rem; color:var(--primary); margin-bottom:.5rem; }
.section-heading h2, .section-pad h2, .final-cta h2 { font-weight:950; letter-spacing:-.04em; line-height:1.05; }
.arrow-link { color:var(--ink); font-weight:850; }
.arrow-link:hover { color:var(--primary); }
.category-strip { padding:70px 0; background:#fff; position:relative; z-index:2; }
.category-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1rem; }
.category-card { display:flex; flex-direction:column; gap:.3rem; padding:1.25rem; border-radius:1.35rem; border:1px solid var(--line); background:#fff; color:var(--ink); box-shadow:0 10px 26px rgba(37,19,76,.05); transition:.2s ease; }
.category-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-sm); color:var(--primary); border-color:#dbc8ff; }
.category-icon { width:46px; height:46px; border-radius:16px; display:grid; place-items:center; color:var(--primary); background:var(--soft-purple); font-size:1.2rem; }
.category-card small { color:var(--muted); font-weight:700; }
.course-filter-pills { display:flex; gap:.5rem; flex-wrap:wrap; }
.course-filter-pills a { color:var(--ink); border:1px solid var(--line); background:#fff; border-radius:999px; padding:.5rem .9rem; font-weight:750; }
.course-filter-pills a:hover { color:#fff; background:var(--primary); border-color:var(--primary); }
.market-course-card { background:#fff; border-radius:1.4rem; overflow:hidden; border:1px solid var(--line); box-shadow:0 12px 34px rgba(37,19,76,.07); transition:.2s ease; display:flex; flex-direction:column; }
.market-course-card:hover { transform:translateY(-6px); box-shadow:var(--shadow); }
.course-thumb-link { display:block; position:relative; height:220px; overflow:hidden; background:#1f1431; }
.course-thumb-link img { width:100%; height:100%; object-fit:cover; transition:.35s ease; }
.market-course-card:hover .course-thumb-link img { transform:scale(1.06); }
.level-badge { position:absolute; right:14px; top:14px; background:rgba(255,255,255,.94); color:#111827; border-radius:999px; padding:.42rem .75rem; font-weight:850; font-size:.8rem; }
.course-content { padding:1.25rem; display:flex; flex-direction:column; flex:1; }
.category-mini { background:var(--soft-purple); color:#6d28d9; border-radius:999px; padding:.38rem .7rem; font-weight:850; font-size:.78rem; }
.wishlist-btn { width:36px; height:36px; border:1px solid var(--line); border-radius:999px; background:#fff; color:var(--muted); }
.wishlist-btn:hover { color:#e11d48; background:#fff1f2; }
.course-content h3 { font-size:1.12rem; line-height:1.35; font-weight:900; margin:.35rem 0 .55rem; }
.course-content h3 a { color:var(--ink); }
.course-content h3 a:hover { color:var(--primary); }
.course-content p { color:var(--muted); font-size:.95rem; line-height:1.55; flex:1; }
.course-meta { display:flex; flex-wrap:wrap; gap:.65rem; color:#594f67; font-weight:750; font-size:.9rem; }
.course-meta i { color:#f59e0b; }
.instructor-line { margin-top:.85rem; color:var(--muted); font-size:.9rem; font-weight:700; }
.course-footer-line { margin-top:1rem; padding-top:1rem; border-top:1px solid var(--line); display:flex; align-items:center; justify-content:space-between; }
.course-footer-line strong { font-size:1.25rem; font-weight:950; }
.empty-state { text-align:center; background:#fff; border:1px dashed #dacdf0; border-radius:1.5rem; padding:3rem; color:var(--muted); }
.empty-state i { font-size:2.5rem; color:var(--primary); }
.feature-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.feature-card { padding:1.35rem; border:1px solid var(--line); border-radius:1.35rem; background:#fff; box-shadow:0 10px 24px rgba(37,19,76,.05); }
.feature-card i { width:48px; height:48px; display:grid; place-items:center; border-radius:16px; background:var(--soft-orange); color:var(--accent); font-size:1.3rem; margin-bottom:1rem; }
.feature-card h5 { font-weight:900; }
.feature-card p { color:var(--muted); margin-bottom:0; }
.bg-dark-gradient { background: radial-gradient(circle at 15% 20%, rgba(124,58,237,.38), transparent 34%), linear-gradient(135deg,#12091f,#241239 60%,#12091f); }
.dark-checks { display:grid; gap:.7rem; margin-top:1.2rem; }
.dark-checks span { color:#fff; font-weight:750; }
.dark-checks i { color:#34d399; margin-right:.4rem; }
.dashboard-preview { border:1px solid rgba(255,255,255,.14); background:rgba(255,255,255,.08); border-radius:1.6rem; padding:1.2rem; box-shadow:0 24px 70px rgba(0,0,0,.22); backdrop-filter:blur(14px); }
.preview-top { display:grid; grid-template-columns:repeat(3,1fr); gap:.8rem; }
.preview-top span { height:84px; border-radius:1rem; background:linear-gradient(135deg,rgba(255,255,255,.22),rgba(255,255,255,.08)); }
.preview-chart { height:210px; margin-top:1rem; border-radius:1rem; background:linear-gradient(135deg,#a78bfa,#fb923c); opacity:.92; position:relative; overflow:hidden; }
.preview-chart:after { content:""; position:absolute; inset:35px 20px; border-radius:50%; border:16px solid rgba(255,255,255,.35); }
.preview-list { display:grid; gap:.75rem; margin-top:1rem; }
.preview-list span { height:18px; border-radius:999px; background:rgba(255,255,255,.22); }
.testimonial-card { padding:1.5rem; border-radius:1.4rem; border:1px solid var(--line); box-shadow:var(--shadow-sm); height:100%; background:#fff; }
.stars { color:#f59e0b; letter-spacing:.08em; margin-bottom:.8rem; }
.testimonial-card p { color:#514760; font-size:1.03rem; }
.final-cta { padding:50px 0 80px; background:#fff; }
.final-cta-inner { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:1.5rem; padding:2rem; border-radius:1.7rem; color:#fff; background:linear-gradient(135deg,var(--primary),#111827 70%); box-shadow:var(--shadow); }
.final-cta h2 { max-width:680px; margin:0; }

/* Existing panels */
.dashboard-main { background:var(--bg); min-height:70vh; }
.sidebar .list-group-item { border-left:0; border-right:0; padding:.85rem 1rem; font-weight:700; }
.sidebar .list-group-item:hover { color:var(--primary); background:var(--soft-purple); }
.course-card img { height: 180px; object-fit: cover; border-top-left-radius: 1rem; border-top-right-radius: 1rem; }
.hero { background: linear-gradient(135deg,#0d6efd,#6610f2); color:#fff; border-radius:1.5rem; }
.stat-card { min-height: 110px; }
.video-box { aspect-ratio: 16/9; background:#111; border-radius:1rem; overflow:hidden; }
.video-box iframe, .video-box video { width:100%; height:100%; }
.certificate { background:#fff; border: 8px solid var(--primary); padding: 3rem; border-radius:1rem; }

/* Footer */
.premium-footer { background:#111827; color:#fff; }
.premium-footer a { display:block; color:rgba(255,255,255,.68); margin:.4rem 0; }
.premium-footer a:hover { color:#fff; }
.premium-footer h6 { font-weight:900; }
.footer-pill { display:inline-flex; color:#fff; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12); padding:.4rem .65rem; border-radius:999px; font-size:.8rem; font-weight:750; }

@media (max-width: 1199px) {
  .nav-search { max-width:100%; margin:.75rem 0; }
  .hero-showcase { min-height:auto; }
  .floating-card { display:none; }
}
@media (max-width: 991px) {
  .market-hero { padding:55px 0; }
  .category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .hero-title { letter-spacing:-.045em; }
  .course-preview-card { transform:none; }
  .feature-grid { grid-template-columns:1fr; }
}
@media (max-width: 575px) {
  .hero-search { flex-wrap:wrap; border-radius:1.2rem; }
  .hero-search button { width:100%; }
  .category-grid { grid-template-columns:1fr; }
  .section-pad { padding:55px 0; }
  .course-thumb-link { height:190px; }
  .final-cta-inner { padding:1.4rem; }
}
@media print { nav, aside, footer, .no-print { display:none!important; } main { width:100%!important; } body { background:#fff; } }
.reveal-card { opacity:0; transform:translateY(16px); transition:opacity .55s ease, transform .55s ease; }
.reveal-card.is-visible { opacity:1; transform:translateY(0); }
.course-detail-hero { background:radial-gradient(circle at 20% 10%, rgba(168,85,247,.34), transparent 35%), linear-gradient(135deg,#150921,#2a1444 65%,#111827); color:#fff; padding:70px 0; }
.course-detail-hero h1 { font-size:clamp(2.2rem,4.5vw,4.5rem); font-weight:950; letter-spacing:-.055em; line-height:1; }
.detail-meta { display:flex; flex-wrap:wrap; gap:.85rem; margin-top:1.4rem; }
.detail-meta span { background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.14); border-radius:999px; padding:.52rem .82rem; font-weight:750; }
.detail-meta i { color:#fbbf24; }
.enroll-card { background:#fff; border-radius:1.6rem; padding:1rem; box-shadow:0 28px 80px rgba(0,0,0,.25); color:var(--ink); }
.curriculum-row { display:flex; align-items:center; gap:1rem; border:1px solid var(--line); border-radius:1rem; padding:1rem; margin-bottom:.75rem; }
.lesson-number { width:38px; height:38px; display:grid; place-items:center; border-radius:999px; background:var(--soft-purple); color:var(--primary); font-weight:900; }
.curriculum-row small { display:block; color:var(--muted); margin-top:.2rem; }
.curriculum-row > i { color:var(--primary); font-size:1.35rem; }
.review-row { border-bottom:1px solid var(--line); padding-bottom:.9rem; margin-bottom:.9rem; }
.review-row span { display:block; color:#f59e0b; }
.review-row p { color:var(--muted); margin:.35rem 0 0; }

/* ===== Complete Premium LMS UI Update ===== */
:root{--ink:#12121a;--muted:#6b7280;--soft:#f5f7fb;--brand:#6d5dfc;--brand2:#00c2ff;--accent:#ffb703;--radius:24px}
.fw-black{font-weight:900}.text-gradient{background:linear-gradient(90deg,var(--brand),var(--brand2));-webkit-background-clip:text;background-clip:text;color:transparent}.premium-navbar{background:rgba(255,255,255,.88);backdrop-filter:blur(18px);border-bottom:1px solid rgba(15,23,42,.08)}.brand-mark{width:38px;height:38px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,var(--brand),var(--brand2));color:white}.premium-dropdown{border-radius:18px;padding:.65rem;min-width:250px}.premium-dropdown .dropdown-item{border-radius:12px;padding:.65rem .85rem}.hero-pro{position:relative;overflow:hidden;background:radial-gradient(circle at top left,#eef2ff,transparent 45%),linear-gradient(135deg,#fff 0%,#f8fafc 100%)}.hero-orb{position:absolute;border-radius:999px;filter:blur(14px);opacity:.6}.hero-orb-one{width:260px;height:260px;background:#dbeafe;right:10%;top:10%}.hero-orb-two{width:180px;height:180px;background:#fef3c7;left:4%;bottom:10%}.hero-badge{display:inline-flex;align-items:center;gap:.5rem;border:1px solid rgba(109,93,252,.18);background:#fff;border-radius:999px;padding:.5rem .85rem;font-weight:800;color:#4338ca;box-shadow:0 10px 30px rgba(15,23,42,.06)}.hero-badge.dark{background:rgba(255,255,255,.1);color:#fff;border-color:rgba(255,255,255,.18)}.hero-search{display:flex;align-items:center;gap:.75rem;background:white;border-radius:999px;padding:.65rem .75rem .65rem 1rem;max-width:680px}.hero-search input{border:0;outline:0;flex:1;min-width:120px}.nav-search{align-items:center;gap:.5rem;background:#f8fafc;border:1px solid #e5e7eb;border-radius:999px;padding:.35rem .75rem}.nav-search input{border:0;background:transparent;box-shadow:none}.nav-search input:focus{box-shadow:none;background:transparent}.hero-dashboard-card,.checkout-card,.content-card,.pricing-card,.path-card,.feature-glass,.testimonial-card,.blog-card,.instructor-card{border:1px solid rgba(15,23,42,.08);border-radius:var(--radius);background:white;box-shadow:0 24px 60px rgba(15,23,42,.08);padding:1.5rem}.hero-dashboard-card{position:relative}.mini-chart{height:130px;display:flex;align-items:end;gap:.55rem;background:linear-gradient(180deg,#f8fafc,#fff);border-radius:20px;padding:1rem}.mini-chart span{flex:1;border-radius:999px;background:linear-gradient(180deg,var(--brand2),var(--brand));min-height:35%;display:block}.mini-chart span:nth-child(2){height:65%}.mini-chart span:nth-child(3){height:45%}.mini-chart span:nth-child(4){height:80%}.mini-chart span:nth-child(5){height:55%}.mini-chart span:nth-child(6){height:95%}.stat-tile{border:1px solid #eef2f7;border-radius:18px;padding:1rem;background:#fff;display:flex;flex-direction:column;gap:.2rem}.stat-tile i{font-size:1.45rem;color:var(--brand)}.stat-tile small,.path-card p,.feature-glass p,.testimonial-card small{color:var(--muted)}.chip{border:1px solid #e5e7eb;background:#fff;border-radius:999px;padding:.55rem .9rem;text-decoration:none;color:#111827;font-weight:700}.section-soft{background:#f8fafc}.section-dark{background:linear-gradient(135deg,#111827,#312e81)}.section-heading span{font-weight:900;color:var(--brand);text-transform:uppercase;font-size:.8rem;letter-spacing:.08em}.section-heading h2{font-weight:900;margin:.25rem 0 0}.category-tile{height:100%;min-height:140px;display:flex;flex-direction:column;gap:.4rem;align-items:flex-start;justify-content:center;text-decoration:none;color:var(--ink);padding:1.2rem;border:1px solid #eef2f7;border-radius:22px;background:#fff;transition:.2s}.category-tile:hover{transform:translateY(-4px);box-shadow:0 20px 45px rgba(15,23,42,.08)}.category-tile i{font-size:1.6rem;color:var(--brand)}.category-tile small{color:var(--muted)}.course-card-premium{border:1px solid #eef2f7;border-radius:24px;background:white;overflow:hidden;transition:.2s;box-shadow:0 18px 50px rgba(15,23,42,.06)}.course-card-premium:hover{transform:translateY(-5px);box-shadow:0 28px 70px rgba(15,23,42,.12)}.course-thumb-wrap{aspect-ratio:16/10;background:#f8fafc;overflow:hidden}.course-thumb-wrap img{width:100%;height:100%;object-fit:cover}.course-title{font-weight:900;line-height:1.25}.inner-hero{background:linear-gradient(135deg,#f8fafc,#eef2ff);border-bottom:1px solid #e5e7eb}.course-detail-hero{background:radial-gradient(circle at top right,#e0f2fe,transparent 40%),#f8fafc}.lesson-row,.cart-row,.topic-row,.leader-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;border-bottom:1px solid #eef2f7;padding:.9rem 0}.lesson-row:last-child,.cart-row:last-child{border-bottom:0}.filter-bar{display:grid;grid-template-columns:1fr 180px 160px auto;gap:.75rem;background:#f8fafc;border:1px solid #e5e7eb;border-radius:22px;padding:1rem}.avatar-xl,.avatar-xxl{border-radius:999px;background:linear-gradient(135deg,var(--brand),var(--brand2));color:white;display:grid;place-items:center;font-weight:900}.avatar-xl{width:86px;height:86px;font-size:2rem;margin:0 auto 1rem}.avatar-xxl{width:130px;height:130px;font-size:3.2rem}.auth-section{min-height:calc(100vh - 80px);display:grid;place-items:center;background:linear-gradient(135deg,#f8fafc,#eef2ff);padding:3rem 1rem}.auth-card{width:min(460px,100%);background:#fff;border-radius:28px;padding:2rem;box-shadow:0 30px 80px rgba(15,23,42,.12);border:1px solid #e5e7eb}.video-preview{min-height:360px;border-radius:28px;background:linear-gradient(135deg,#111827,#3730a3);color:white;display:grid;place-items:center;text-align:center;padding:2rem}.video-preview i{font-size:5rem}.membership-banner,.mobile-app-card{border-radius:32px;background:linear-gradient(135deg,#6d5dfc,#00c2ff);padding:3rem;color:white;display:flex;align-items:center;justify-content:space-between;gap:2rem}.premium-table{border:1px solid #eef2f7;border-radius:20px;overflow:hidden}.topic-row,.leader-row{background:white;border:1px solid #eef2f7;border-radius:20px;padding:1rem 1.25rem;margin-bottom:.75rem}.leader-row .rank{width:50px;height:50px;border-radius:16px;background:#eef2ff;display:grid;place-items:center;font-weight:900;color:#4338ca}.panel-hero{border-radius:26px;padding:2rem;background:linear-gradient(135deg,#fff,#eef2ff);border:1px solid #e5e7eb;margin-bottom:1.5rem}.panel-hero h1{font-weight:900;margin:.75rem 0 .25rem}.panel-hero p{color:var(--muted);margin:0}.stat-box{background:#fff;border:1px solid #eef2f7;border-radius:20px;padding:1.2rem;box-shadow:0 15px 40px rgba(15,23,42,.06);display:flex;flex-direction:column}.stat-box b{font-size:2rem;font-weight:900}.stat-box span{color:var(--muted)}.cart-row img{width:110px;border-radius:16px;background:#f8fafc}.sidebar-scroll{max-height:calc(100vh - 80px);overflow:auto}.prose{font-size:1.05rem;line-height:1.85}.blog-card{position:relative;min-height:250px}.blog-card a{text-decoration:none;font-weight:800}.stars{color:#f59e0b;letter-spacing:.1rem}.mobile-app-card i{opacity:.9}.path-card i,.feature-glass i{font-size:2.4rem;color:var(--brand);margin-bottom:.75rem;display:inline-block}.premium-accordion .accordion-item{border:1px solid #eef2f7;border-radius:18px;overflow:hidden;margin-bottom:.75rem}.premium-accordion .accordion-button{font-weight:800}.footer-premium{background:#0f172a;color:#cbd5e1}.footer-premium a{color:#cbd5e1;text-decoration:none}.footer-premium a:hover{color:#fff}@media(max-width:991px){.filter-bar{grid-template-columns:1fr}.membership-banner,.mobile-app-card{flex-direction:column;text-align:center}.hero-search{border-radius:24px;flex-wrap:wrap}.hero-search button{width:100%}}

/* ===== Advanced Dynamic Admin/Instructor Update ===== */
.avatar-dot{display:inline-grid;place-items:center;border-radius:999px;background:linear-gradient(135deg,var(--brand,#6d5dfc),var(--brand2,#00c2ff));color:#fff;font-weight:900;box-shadow:0 8px 24px rgba(15,23,42,.15);flex:0 0 auto}.profile-dropdown{min-width:280px}.sidebar .list-group-item{border:0;border-bottom:1px solid #eef2f7;font-weight:700;color:#334155;display:flex;gap:.65rem;align-items:center;padding:.8rem 1rem}.sidebar .list-group-item:hover{background:#eef2ff;color:#4338ca}.sidebar-user{background:#fff}.dashboard-main{background:#f8fafc;min-height:calc(100vh - 76px)}.admin-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:1rem}.action-card{border:1px solid #e5e7eb;border-radius:22px;background:#fff;padding:1.15rem;box-shadow:0 15px 40px rgba(15,23,42,.06);transition:.2s;height:100%}.action-card:hover{transform:translateY(-3px);box-shadow:0 22px 55px rgba(15,23,42,.1)}.action-card i{width:46px;height:46px;border-radius:16px;display:grid;place-items:center;background:#eef2ff;color:#4338ca;font-size:1.35rem;margin-bottom:.7rem}.filter-card{border:1px solid #e5e7eb;border-radius:22px;background:#fff;padding:1rem;margin-bottom:1rem;box-shadow:0 12px 30px rgba(15,23,42,.04)}.dynamic-table thead th{font-size:.78rem;text-transform:uppercase;letter-spacing:.06em;color:#64748b;background:#f8fafc}.dynamic-table td{vertical-align:middle}.mini-progress{height:10px;border-radius:999px;background:#e5e7eb;overflow:hidden}.mini-progress span{display:block;height:100%;background:linear-gradient(90deg,#6d5dfc,#00c2ff);border-radius:999px}.chart-card{border:1px solid #e5e7eb;border-radius:24px;background:#fff;padding:1.25rem;box-shadow:0 18px 45px rgba(15,23,42,.06)}.bar-chart-row{display:grid;grid-template-columns:180px 1fr 90px;gap:.75rem;align-items:center;margin:.7rem 0}.bar-chart-track{height:14px;background:#eef2f7;border-radius:999px;overflow:hidden}.bar-chart-fill{height:100%;background:linear-gradient(90deg,#6d5dfc,#00c2ff);border-radius:999px}.role-card{border:1px solid #e5e7eb;border-radius:18px;padding:1rem;background:#fff;height:100%}.upload-zone{border:2px dashed #c7d2fe;border-radius:22px;background:#f8fafc;padding:1.2rem}.settings-tabs .nav-link{font-weight:800;border-radius:999px}.settings-tabs .nav-link.active{background:#111827;color:#fff}.content-preview{max-height:90px;overflow:hidden;color:#64748b}.card-mini-title{font-size:.82rem;color:#64748b;text-transform:uppercase;letter-spacing:.06em;font-weight:800}.quick-stat{border-radius:22px;background:linear-gradient(135deg,#fff,#eef2ff);border:1px solid #e0e7ff;padding:1.15rem;height:100%}.quick-stat b{font-size:1.9rem;font-weight:900}.quick-stat small{display:block;color:#64748b;font-weight:700}.social-auth-btn{border:1px solid #e5e7eb;border-radius:999px;background:#fff;padding:.7rem 1rem;font-weight:800;display:flex;justify-content:center;gap:.6rem;color:#111827}.social-auth-btn:hover{background:#f8fafc}.profile-cover{border-radius:28px;background:radial-gradient(circle at top right,#dbeafe,transparent 36%),linear-gradient(135deg,#fff,#eef2ff);padding:2rem;border:1px solid #e5e7eb}.form-help{font-size:.84rem;color:#64748b}.danger-zone{border:1px solid #fee2e2;background:#fff7f7;border-radius:20px;padding:1rem}

/* ===== Requested v3 updates ===== */
.admin-inline-search{display:flex;gap:.75rem;align-items:center;flex-wrap:nowrap}.admin-inline-search .form-control{min-width:260px}.admin-inline-search .form-select{max-width:190px}.invoice-a4{width:210mm;min-height:297mm;border-radius:8px}.premium-certificate{max-width:1050px;background:linear-gradient(135deg,#121826,#2e1065);color:#fff;border-radius:26px;padding:18px;box-shadow:0 30px 90px rgba(15,23,42,.2)}.cert-border{border:2px solid rgba(255,255,255,.35);border-radius:20px;padding:60px;text-align:center;background:radial-gradient(circle at 20% 10%,rgba(255,255,255,.12),transparent 30%)}.premium-certificate h1{font-size:3rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.premium-certificate h2{font-size:3.4rem;font-family:Georgia,serif;color:#fde68a}.premium-certificate h3{font-size:2rem}.cert-sign{display:flex;justify-content:space-around;gap:2rem}.cert-sign span{border-top:1px solid rgba(255,255,255,.6);padding-top:.7rem;min-width:180px}.course-detail-premium{background:radial-gradient(circle at top right,rgba(255,255,255,.18),transparent 35%),linear-gradient(135deg,#271553,#111827);color:#fff}.course-sticky-card{background:#fff;color:#111827;border-radius:28px;padding:1.25rem;box-shadow:0 35px 90px rgba(0,0,0,.25);position:sticky;top:100px}.course-includes{list-style:none;padding:0;margin:0}.course-includes li{padding:.45rem 0;color:#4b5563}.course-includes i{color:#16a34a;margin-right:.4rem}@media(max-width:991px){.admin-inline-search{flex-wrap:wrap}.admin-inline-search .form-control,.admin-inline-search .form-select{max-width:none;width:100%}.invoice-a4{width:100%;min-height:auto;padding:1.5rem!important}.cert-border{padding:30px}.premium-certificate h1{font-size:2rem}.premium-certificate h2{font-size:2.3rem}.cert-sign{flex-direction:column;align-items:center}}@media print{.premium-navbar,.sidebar,.no-print,.footer-premium,.alert,.btn{display:none!important}.dashboard-main,main{width:100%!important;padding:0!important;background:#fff!important}.invoice-a4{box-shadow:none!important;width:210mm;min-height:297mm}.premium-certificate{box-shadow:none!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}body{background:#fff!important}}

/* ===== Requested v4 refinements ===== */
.sidebar-menu-group{border-bottom:1px solid #eef2f7;background:#fff}.sidebar-group-title{width:100%;border:0;background:#fff;color:#334155;font-weight:800;display:flex;align-items:center;justify-content:space-between;gap:.6rem;padding:.85rem 1rem}.sidebar-group-title span{display:flex;align-items:center;gap:.65rem}.sidebar-sub{padding-left:2rem!important;background:#fbfdff!important;font-size:.94rem}.support-row-table td{vertical-align:top}.support-message-preview{max-width:360px;max-height:68px;overflow:auto;color:#475569;font-size:.92rem}.support-inline-form{min-width:260px}.notice-card{background:#fff;border:1px solid #e5e7eb;border-radius:24px;padding:1.35rem;box-shadow:0 18px 45px rgba(15,23,42,.06)}.notice-edit-form textarea{min-width:260px}.invoice-info-box{border:1px solid #e5e7eb;border-radius:18px;background:#f8fafc;padding:1rem}.col-lg-5th{position:relative;width:100%}@media(min-width:992px){.col-lg-5th{flex:0 0 auto;width:20%}}.smart-category-tile{min-height:155px}.category-icon{width:48px;height:48px;border-radius:17px;background:#eef2ff;color:#4338ca;display:grid;place-items:center}.success-story-card{border:1px solid #e5e7eb;border-radius:26px;background:radial-gradient(circle at top right,#eef2ff,transparent 42%),#fff;padding:1.4rem;box-shadow:0 18px 50px rgba(15,23,42,.07)}.success-story-card b{display:block}.success-story-card small{display:block;color:#64748b}.story-course{border-top:1px solid #eef2f7;padding-top:.85rem;color:#475569;font-weight:800;font-size:.9rem}.certificate-card{border:1px solid #e5e7eb;border-radius:26px;background:#fff;overflow:hidden;box-shadow:0 18px 50px rgba(15,23,42,.06)}.certificate-card-top{position:relative;background:#f8fafc}.certificate-card-top img{width:100%;aspect-ratio:16/9;object-fit:cover}.certificate-card-top .badge{position:absolute;top:14px;right:14px}.mini-qr{width:56px;height:56px;border-radius:10px;border:1px solid #e5e7eb;background:#fff;padding:4px}.certificate-page-bg{background:#f8fafc}.certificate-a4{width:297mm;min-height:210mm;background:linear-gradient(135deg,#121826,#2e1065);color:#fff;padding:18px;border-radius:12px;box-shadow:0 30px 90px rgba(15,23,42,.22)}.certificate-a4-inner{min-height:calc(210mm - 36px);border:3px double rgba(255,255,255,.55);border-radius:10px;padding:28px 44px;position:relative;background:radial-gradient(circle at 20% 10%,rgba(255,255,255,.16),transparent 28%),radial-gradient(circle at 90% 80%,rgba(251,191,36,.16),transparent 24%)}.cert-watermark{position:absolute;inset:0;display:grid;place-items:center;opacity:.055;font-size:18rem;pointer-events:none}.cert-logo-block{display:flex;align-items:center;gap:.8rem}.cert-logo-block small{display:block;color:rgba(255,255,255,.65)}.cert-qr-box{background:#fff;color:#111827;border-radius:16px;padding:.55rem;text-align:center;box-shadow:0 12px 30px rgba(0,0,0,.18)}.cert-qr-box img{width:105px;height:105px;display:block}.cert-qr-box small{font-size:.72rem;font-weight:800}.cert-label{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.35);border-radius:999px;padding:.35rem .9rem;color:#fde68a;text-transform:uppercase;letter-spacing:.08em;font-weight:900;font-size:.78rem}.cert-main-content h1{font-weight:900;text-transform:uppercase;letter-spacing:.12em;margin:1rem 0;font-size:2.9rem}.cert-main-content h2{font-family:Georgia,serif;color:#fde68a;font-size:3.4rem;font-weight:900;margin:.5rem 0}.cert-main-content h3{font-size:1.85rem;font-weight:900}.cert-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.9rem}.cert-info-grid div{border:1px solid rgba(255,255,255,.22);border-radius:14px;padding:.75rem;background:rgba(255,255,255,.08)}.cert-info-grid span{display:block;color:rgba(255,255,255,.68);font-size:.78rem;text-transform:uppercase;letter-spacing:.08em}.cert-info-grid b{display:block;margin-top:.25rem}.cert-verify-line{text-align:center;color:rgba(255,255,255,.72);font-size:.78rem}.certificate-softcopy{max-width:840px;border-radius:28px}.verify-qr{width:150px;height:150px;border:1px solid #e5e7eb;border-radius:16px;padding:8px;background:#fff}.contact-card{border-radius:28px}.premium-footer a{display:block;color:#cbd5e1;text-decoration:none;margin:.3rem 0}.premium-footer a:hover{color:#fff}@media(max-width:1199px){.certificate-a4{width:100%;min-height:auto}.certificate-a4-inner{min-height:auto}.cert-info-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:767px){.support-inline-form{min-width:220px}.cert-main-content h1{font-size:1.8rem}.cert-main-content h2{font-size:2.2rem}.cert-main-content h3{font-size:1.25rem}.cert-info-grid{grid-template-columns:1fr}.certificate-a4-inner{padding:22px}.cert-qr-box img{width:85px;height:85px}}@page{size:A4 landscape;margin:10mm}@media print{.certificate-a4{width:297mm!important;min-height:210mm!important;border-radius:0!important;box-shadow:none!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.certificate-a4-inner{min-height:calc(210mm - 36px)!important}.premium-footer{display:none!important}.certificate-page-bg{background:#fff!important;padding:0!important}.cert-info-grid{grid-template-columns:repeat(4,1fr)!important}}

/* ===== Requested v6 refinements ===== */
.nav-search-icon{width:42px;height:42px;border-radius:999px;border:1px solid #e5e7eb;background:#fff;display:grid;place-items:center;color:#111827}.nav-search-icon:hover{background:#111827;color:#fff}.search-modal-content{box-shadow:0 35px 100px rgba(15,23,42,.28)}.search-modal-form{display:flex;gap:.75rem}.search-modal-form .form-control{border-radius:999px;padding:.85rem 1.2rem}.home-slider-section{background:#111827}.hero-slide{min-height:660px;background-size:cover;background-position:center;display:flex;align-items:center}.min-vh-hero{min-height:560px}.hero-slide .hero-search{background:#fff;color:#111827}.hero-slide .hero-search input{color:#111827}.row-thumb{width:64px;height:44px;border-radius:12px;object-fit:cover;background:#f8fafc;border:1px solid #e5e7eb}.role-access-panel{background:radial-gradient(circle at top right,#eef2ff,transparent 36%),#fff}.role-toggle-card{border:1px solid #e5e7eb;border-radius:20px;padding:1rem;background:#f8fafc;height:100%;display:flex;justify-content:space-between;gap:1rem;align-items:flex-start}.role-toggle-card small{display:block;color:#64748b;margin-top:.35rem}.premium-profile-hero{position:relative;border-radius:34px;padding:2rem;overflow:hidden;background:linear-gradient(135deg,#111827,#4c1d95);color:#fff;box-shadow:0 28px 90px rgba(15,23,42,.25)}.profile-gradient{position:absolute;inset:0;background:radial-gradient(circle at 15% 20%,rgba(255,255,255,.18),transparent 28%),radial-gradient(circle at 85% 75%,rgba(251,191,36,.22),transparent 28%)}.premium-profile-avatar{position:relative}.profile-online-dot{position:absolute;right:12px;bottom:9px;width:18px;height:18px;background:#22c55e;border:3px solid #fff;border-radius:999px}.profile-stat-card{border:1px solid #e5e7eb;border-radius:24px;background:#fff;padding:1.25rem;box-shadow:0 18px 50px rgba(15,23,42,.06);display:flex;align-items:center;gap:1rem}.profile-stat-card i{width:52px;height:52px;border-radius:18px;background:#eef2ff;color:#4338ca;display:grid;place-items:center;font-size:1.45rem}.profile-stat-card small{display:block;color:#64748b;font-weight:800}.profile-stat-card b{display:block;font-size:1.7rem;font-weight:900}.premium-id-card{border:1px solid #e5e7eb;border-radius:26px;background:linear-gradient(180deg,#fff,#f8fafc);padding:1.25rem}.id-line{display:flex;justify-content:space-between;gap:1rem;border-bottom:1px solid #eef2f7;padding:.7rem 0;text-align:left}.id-line span{color:#64748b}.id-line b{color:#111827}.exam-result-card{background:radial-gradient(circle at top right,#eef2ff,transparent 42%),#fff}.result-ring{width:140px;height:140px;border-radius:50%;margin-inline:auto;border:12px solid #e0e7ff;display:grid;place-items:center;text-align:center;box-shadow:inset 0 0 0 8px #fff;background:conic-gradient(#6d5dfc 0 70%,#e5e7eb 70% 100%)}.result-ring span{display:block;font-size:1.9rem;font-weight:900}.result-ring small{display:block;color:#64748b;font-weight:800}.offer-popup .modal-content{box-shadow:0 35px 100px rgba(15,23,42,.25)}.offer-close{position:absolute;right:16px;top:16px;z-index:2}.offer-popup-body{padding:2.2rem;background:radial-gradient(circle at top right,#fde68a,transparent 34%),linear-gradient(135deg,#fff,#eef2ff)}.pagination .page-link{border:0;background:#f1f5f9;color:#111827;font-weight:800}.pagination .page-item.active .page-link{background:#111827;color:#fff}.support-row-table textarea{min-width:220px}@media(max-width:991px){.hero-slide{min-height:560px}.min-vh-hero{min-height:460px}.search-modal-form{flex-direction:column}.premium-profile-hero{padding:1.4rem}.profile-stat-card{align-items:flex-start}.home-slider-section .display-3{font-size:2.5rem}}@media(max-width:575px){.hero-slide{min-height:520px}.home-slider-section .display-3{font-size:2rem}.offer-popup-body{padding:1.5rem}.result-ring{width:115px;height:115px}.support-message-preview{max-width:260px}}


/* ===== Requested v7 refinements ===== */
.smart-category-tile{align-items:center;text-align:center;justify-content:center}.smart-category-tile .category-icon{margin-inline:auto}.success-story-card{transition:.2s}.success-story-card:hover{transform:translateY(-4px);box-shadow:0 26px 70px rgba(15,23,42,.12)}.settings-card-compact{margin-bottom:1.5rem}.settings-tab-content{min-height:0!important}.settings-save-bar{position:sticky;bottom:0;background:#fff;z-index:3}.certificate-print-shell{width:100%;max-width:1180px;overflow-x:auto;padding:0 .5rem}.certificate-a4{width:100%;max-width:1123px;min-height:794px}.certificate-a4-inner{min-height:758px}.cert-signature-box{display:flex;flex-direction:column;align-items:center;gap:.4rem;min-width:190px}.cert-signature-box img{height:54px;max-width:210px;object-fit:contain;filter:brightness(0) invert(1)}.signature-upload-place{height:54px;min-width:190px;border:1px dashed rgba(255,255,255,.45);border-radius:12px;display:grid;place-items:center;color:rgba(255,255,255,.58);font-size:.75rem}.cert-signature-box span{border-top:1px solid rgba(255,255,255,.7);padding-top:.35rem;min-width:170px;text-align:center}.cert-verify-line{font-weight:800;letter-spacing:.03em}.panel-hero form .btn-sm{font-weight:900}.admin-inline-search{display:flex;gap:.6rem;align-items:center;flex-wrap:wrap}.admin-inline-search .form-control,.admin-inline-search .form-select{min-width:160px;max-width:220px}.admin-inline-search .form-control{min-width:260px;flex:1}.sidebar-menu-group .collapse .list-group-item{border-bottom:1px solid #eef2f7}@media(max-width:767px){.cert-topline{flex-direction:column;align-items:center!important}.certificate-a4{min-height:auto}.certificate-a4-inner{min-height:auto}.cert-signature-box{min-width:150px}.signature-upload-place{min-width:150px}.admin-inline-search .form-control,.admin-inline-search .form-select{max-width:none;width:100%}}@page{size:A4 landscape;margin:8mm}@media print{.certificate-print-shell{max-width:none!important;overflow:visible!important;padding:0!important}.certificate-a4{width:297mm!important;max-width:297mm!important;min-height:210mm!important}.certificate-a4-inner{min-height:calc(210mm - 36px)!important}.cert-qr-box small{font-size:.65rem!important}.cert-verify-line{font-size:.76rem!important}}

/* Premium homepage section headings */
.premium-section-block{position:relative;overflow:hidden}.premium-heading{position:relative;max-width:820px}.premium-heading.text-center{margin-left:auto;margin-right:auto}.premium-heading span{display:inline-flex;align-items:center;gap:.35rem;padding:.48rem .85rem;border:1px solid rgba(109,93,252,.16);border-radius:999px;background:linear-gradient(135deg,#fff,#f5f3ff);box-shadow:0 14px 38px rgba(109,93,252,.08);color:#4c1d95;font-weight:950;letter-spacing:.12em}.premium-heading h2{font-size:clamp(2rem,4vw,3.4rem);letter-spacing:-.055em;line-height:.98;margin:.75rem 0 .75rem;background:linear-gradient(135deg,#0f172a,#4c1d95 55%,#0891b2);-webkit-background-clip:text;background-clip:text;color:transparent}.premium-heading p{font-size:1.02rem}.premium-heading:after{content:"";display:block;width:86px;height:4px;border-radius:999px;background:linear-gradient(90deg,var(--brand),var(--brand2));margin-top:1rem}.premium-heading.text-center:after{margin-left:auto;margin-right:auto}.section-soft .premium-heading span{background:#fff}.premium-section-block .feature-glass h4{font-weight:900;letter-spacing:-.02em}

/* ===== Role based dashboard + mobile sidebar update ===== */
.sidebar-group-title{width:100%;border:0;background:#f8fafc;padding:.85rem 1rem;display:flex;align-items:center;justify-content:space-between;font-weight:900;color:#111827;text-align:left}
.sidebar-group-title span{display:inline-flex;align-items:center;gap:.45rem}.sidebar-sub{padding-left:1.8rem!important;font-size:.94rem}.dashboard-menu-toggle{box-shadow:0 12px 30px rgba(15,23,42,.16)}.dashboard-sidebar-backdrop{display:none}
@media(max-width:991px){
  #dashboardSidebar{position:fixed;top:0;left:0;width:min(86vw,320px);height:100vh;z-index:1060;transform:translateX(-105%);transition:transform .28s ease;box-shadow:0 25px 80px rgba(15,23,42,.25);overflow-y:auto}
  body.sidebar-open #dashboardSidebar{transform:translateX(0)}
  .dashboard-sidebar-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.45);z-index:1055;opacity:0;pointer-events:none;transition:opacity .25s ease;display:block}
  body.sidebar-open .dashboard-sidebar-backdrop{opacity:1;pointer-events:auto}
  .dashboard-main{width:100%!important;max-width:100%!important;flex:0 0 100%!important;padding:1rem!important}
  .sidebar-scroll{max-height:calc(100vh - 90px);overflow-y:auto}
}
@media(min-width:992px){.dashboard-menu-toggle{display:none!important}}
.role-page-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.55rem}.role-page-check{display:flex;align-items:center;gap:.5rem;border:1px solid #e5e7eb;border-radius:999px;background:#fff;padding:.5rem .75rem;font-size:.9rem;font-weight:800}.role-page-check input{accent-color:var(--primary)}
