@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Sora:wght@400;600;700;800&display=swap');

/* ═══════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════ */
:root {
  --brand-primary:   #5B4FE8;
  --brand-accent:    #00C9A7;
  --brand-secondary: #FF6B35;
  --brand-gold:      #F5C500;
  --text-primary:    #1A1730;
  --text-secondary:  #5E5A7E;
  --text-muted:      #8B87A8;
  --border:          #E4E1F0;
  --border-light:    #F0EFF7;
  --bg:              #F7F7FB;
  --card:            #FFFFFF;
  --radius-sm:       8px;
  --radius-md:       14px;
  --radius-lg:       20px;
  --shadow-sm:       0 2px 12px rgba(0,0,0,.06);
  --shadow-md:       0 4px 24px rgba(91,79,232,.12);
  --shadow-lg:       0 12px 40px rgba(91,79,232,.18);
  --transition:      all .2s ease;
}

/* ═══════════════════════════════════════
   BASE RESET
═══════════════════════════════════════ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
img { max-width: 100%; }

/* ═══════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════ */
@keyframes pulse     { 0%,100%{opacity:1} 50%{opacity:.4} }
@keyframes fadeInUp  { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }
@keyframes spin      { to{transform:rotate(360deg)} }
@keyframes liveRing  { 0%{transform:scale(1);opacity:.8} 100%{transform:scale(1.8);opacity:0} }

.fade-in { animation: fadeInUp .4s ease forwards; }

/* ═══════════════════════════════════════
   SCROLLBAR
═══════════════════════════════════════ */
::-webkit-scrollbar { width:5px; height:5px; }
::-webkit-scrollbar-track { background:#F0EFF7; }
::-webkit-scrollbar-thumb { background:#C4C0DC; border-radius:3px; }
::-webkit-scrollbar-thumb:hover { background:#9B97BC; }

/* ═══════════════════════════════════════
   LAYOUT
═══════════════════════════════════════ */
.container { max-width:1200px; margin:0 auto; padding:0 28px; }

/* ═══════════════════════════════════════
   NAVBAR
═══════════════════════════════════════ */
.navbar {
  position: sticky; top:0; z-index:100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #E4E1F033;
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(91,79,232,.08); }

.nav-inner {
  max-width: 1200px; margin:0 auto; padding:0 28px;
  height: 62px; display:flex; align-items:center; justify-content:space-between; gap:24px;
}

.nav-logo {
  font-family: 'Sora', sans-serif;
  font-size: 22px; font-weight:800; letter-spacing:-.5px;
  background: linear-gradient(135deg,#5B4FE8,#00C9A7);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  flex-shrink: 0;
}

.nav-links { display:flex; gap:24px; align-items:center; }
.nav-link {
  font-size:13px; font-weight:500; color: var(--text-muted);
  padding-bottom:2px; border-bottom:2px solid transparent;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--text-primary); border-bottom-color: var(--brand-primary); }

.nav-actions { display:flex; align-items:center; gap:10px; }
.nav-login { font-size:13px; color:var(--text-muted); }
.btn-primary-sm {
  background: var(--brand-primary); color:#fff;
  padding:8px 18px; border-radius:9px; font-size:13px; font-weight:700;
  transition: var(--transition);
}
.btn-primary-sm:hover { opacity:.9; transform:translateY(-1px); }

.btn-ghost-sm {
  border:1.5px solid var(--border); color:var(--text-secondary);
  padding:7px 16px; border-radius:9px; font-size:13px; font-weight:600;
  transition: var(--transition); display:inline-block;
}
.btn-ghost-sm:hover { border-color:#5B4FE880; color:var(--brand-primary); }

.nav-user-chip {
  display:flex; align-items:center; gap:8px;
  background:#F4F3FA; border:1px solid var(--border);
  border-radius:20px; padding:4px 12px 4px 4px; font-size:13px; font-weight:600;
}
.nav-avatar {
  width:28px; height:28px; border-radius:50%;
  background:linear-gradient(135deg,#5B4FE8,#00C9A7);
  display:flex; align-items:center; justify-content:center;
  font-size:12px; font-weight:800; color:#fff;
}

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
  background: linear-gradient(135deg,#EEEBFB 0%,#EEEBFB 50%,#EAF1FB 100%);
  padding: 64px 0 52px;
  position: relative; overflow:hidden;
}
.hero::before {
  content:''; position:absolute; top:-80px; right:-80px;
  width:400px; height:400px;
  background:radial-gradient(circle,#5B4FE822 0%,transparent 70%);
  pointer-events:none;
}

.hero-grid {
  display:grid; grid-template-columns:1fr 420px;
  gap:40px; align-items:center;
}

.hero-eyebrow {
  display:inline-flex; align-items:center; gap:7px;
  background:#5B4FE815; border:1px solid #5B4FE840;
  color:var(--brand-primary); font-size:11px; font-weight:600;
  padding:5px 12px; border-radius:20px; margin-bottom:18px; letter-spacing:.4px;
}
.eyebrow-dot {
  width:7px; height:7px; background:var(--brand-accent);
  border-radius:50%; animation:pulse 2s infinite;
}

.hero h1 {
  font-family:'Sora',sans-serif;
  font-size:50px; font-weight:800; line-height:1.1; letter-spacing:-1.5px;
  margin-bottom:18px;
}
.hero h1 .highlight { color:var(--brand-primary); }

.hero-sub {
  font-size:16px; color:var(--text-secondary);
  line-height:1.7; max-width:460px; margin-bottom:28px;
}

.hero-sub1 {
  font-size:16px; color:var(--text-secondary);
  line-height:1.7; max-width:860px; margin-bottom:28px;
}

.hero-btns { display:flex; gap:12px; margin-bottom:36px; flex-wrap:wrap; }

.btn-primary {
  background:var(--brand-primary); color:#fff;
  padding:13px 28px; border-radius:12px; font-size:15px; font-weight:700;
  box-shadow:0 8px 24px rgba(91,79,232,.32); transition:var(--transition);
  display:inline-block;
}
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 12px 32px rgba(91,79,232,.4); }

.btn-ghost {
  background:transparent; border:1.5px solid var(--border);
  color:var(--text-primary); padding:13px 24px; border-radius:12px;
  font-size:14px; font-weight:600; transition:var(--transition);
  display:inline-flex; align-items:center; gap:8px;
}
.btn-ghost:hover { border-color:#5B4FE880; }
.play-circle {
  width:24px; height:24px; background:var(--brand-primary);
  border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-size:9px; color:#fff;
}

.hero-stats { display:flex; gap:32px; }
.stat-num { font-size:26px; font-weight:900; }
.stat-lbl { font-size:11px; color:var(--text-muted); margin-top:3px; }

/* Hero card */
.hero-card {
  background:#fff; border:1px solid var(--border);
  border-radius:18px; padding:20px;
  box-shadow:var(--shadow-lg); position:relative;
}
.float-badge {
  position:absolute; top:-14px; right:-14px;
  background:var(--brand-secondary); color:#fff;
  border-radius:10px; padding:7px 12px;
  font-size:10px; font-weight:700;
  box-shadow:0 4px 16px rgba(255,107,53,.4);
}
.hc-header { display:flex; align-items:center; gap:10px; margin-bottom:16px; }
.hc-avatar {
  width:40px; height:40px;
  background:linear-gradient(135deg,#5B4FE8,#00C9A7);
  border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-size:16px; font-weight:800; color:#fff;
}
.hc-title { font-size:13px; font-weight:700; }
.hc-sub   { font-size:10px; color:var(--text-muted); margin-top:2px; }

.progress-bar { height:6px; background:var(--border); border-radius:3px; overflow:hidden; margin-bottom:6px; }
.progress-fill { height:100%; background:linear-gradient(90deg,#5B4FE8,#00C9A7); border-radius:3px; }
.progress-label { display:flex; justify-content:space-between; font-size:10px; color:var(--text-muted); margin-bottom:14px; }

.hc-chips { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.hc-chip {
  background:#F4F3FA; border:1px solid var(--border);
  border-radius:8px; padding:8px 10px;
  font-size:10px; font-weight:600; display:flex; align-items:center; gap:7px;
}
.chip-dot { width:6px; height:6px; border-radius:50%; flex-shrink:0; }
.chip-label { font-size:8px; color:var(--text-muted); }

.hc-live {
  margin-top:14px;
  background:linear-gradient(135deg,#5B4FE808,#00C9A708);
  border:1px solid #5B4FE820; border-radius:10px;
  padding:10px; display:flex; align-items:center; gap:10px;
}
.live-btn {
  margin-left:auto; background:#FF3B3B; color:#fff;
  font-size:9px; font-weight:800; padding:5px 10px; border-radius:6px;
}

/* ═══════════════════════════════════════
   STATS STRIP
═══════════════════════════════════════ */
.stats-strip {
  background:#fff;
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.stats-strip-inner {
  max-width:1200px; margin:0 auto; padding:20px 28px;
  display:grid; grid-template-columns:repeat(4,1fr);
}
.strip-stat { text-align:center; padding:0 20px; }
.strip-stat + .strip-stat { border-left:1px solid var(--border); }
.strip-num  { font-size:24px; font-weight:900; }
.strip-num span { color:var(--brand-primary); }
.strip-lbl  { font-size:11px; color:var(--text-muted); margin-top:3px; }

/* ═══════════════════════════════════════
   SECTIONS
═══════════════════════════════════════ */
.section { padding:48px 0; }
.section-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:24px; }
.section-title { font-family:'Sora',sans-serif; font-size:24px; font-weight:700; }
.see-all { font-size:13px; color:var(--brand-primary); font-weight:600; }

/* ═══════════════════════════════════════
   EXAM CHIPS
═══════════════════════════════════════ */
.exam-grid { display:grid; grid-template-columns:repeat(6,1fr); gap:14px; }
.exam-chip {
  background:#fff; border:1px solid var(--border);
  border-radius:12px; padding:18px 10px; text-align:center;
  cursor:pointer; transition:var(--transition);
}
.exam-chip:hover { border-color:var(--brand-primary); transform:translateY(-2px); box-shadow:var(--shadow-sm); }
.exam-chip-icon { font-size:26px; margin-bottom:8px; }
.exam-chip-name { font-size:11px; font-weight:600; color:#3A3654; }

/* ═══════════════════════════════════════
   COURSE CARDS
═══════════════════════════════════════ */
.courses-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }

.course-card {
  background:#fff; border:1px solid var(--border);
  border-radius:16px; overflow:hidden;
  cursor:pointer; transition:var(--transition);
  box-shadow:var(--shadow-sm);
}
.course-card:hover { transform:translateY(-4px); box-shadow:0 12px 32px rgba(91,79,232,.15); }

.course-thumb {
  height:110px; position:relative;
  display:flex; align-items:center; justify-content:center;
}
.course-emoji { font-size:44px; }

.course-badge {
  position:absolute; top:10px; left:10px;
  max-width:42%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  font-size:9px; font-weight:800; padding:3px 8px; border-radius:5px;
}
.badge-live    { background:#00C9A720; color:#00C9A7; border:1px solid #00C9A740; }
.badge-hot     { background:#FF6B3520; color:#FF6B35; border:1px solid #FF6B3540; }
.badge-new     { background:#5B4FE820; color:#5B4FE8; border:1px solid #5B4FE840; }
.badge-popular { background:#F5C50020; color:#F5C500; border:1px solid #F5C50040; }
.course-thumb .course-badge:not(.course-emi-badge) { left:10px; right:auto; }
.course-thumb .course-emi-badge {
  position:absolute !important;
  top:10px !important;
  left:auto !important;
  right:10px !important;
  max-width:48%;
  background:#4B5563;
  color:#fff;
  border:1px solid #374151;
}

.discount-tag {
  position:absolute; top:10px; right:10px;
  background:rgba(26,23,48,.75); color:#fff;
  font-size:9px; font-weight:700; padding:3px 7px; border-radius:5px;
}

.thumb-1 { background:linear-gradient(135deg,#EEEBFB,#E4E1F0); }
.thumb-2 { background:linear-gradient(135deg,#E8F5FF,#DDEEFF); }
.thumb-3 { background:linear-gradient(135deg,#FFF0E8,#FFE0CC); }
.thumb-4 { background:linear-gradient(135deg,#E8FFFA,#CCF5EC); }
.thumb-5 { background:linear-gradient(135deg,#FFF8E8,#FFECCC); }
.thumb-6 { background:linear-gradient(135deg,#F0E8FF,#E0CCFF); }

.course-body { padding:14px 16px 16px; }
.course-exam { font-size:9px; font-weight:700; color:var(--brand-primary); text-transform:uppercase; letter-spacing:.6px; margin-bottom:4px; }
.course-name { font-size:13px; font-weight:700; line-height:1.35; margin-bottom:8px; }
.course-meta { display:flex; gap:12px; font-size:10px; color:var(--text-muted); margin-bottom:10px; }
.course-footer { display:flex; align-items:center; justify-content:space-between; }
.course-price { font-size:18px; font-weight:900; color:var(--brand-accent); }
.course-orig  { font-size:11px; color:var(--text-muted); text-decoration:line-through; margin-left:6px; }
.btn-enroll {
  background:var(--brand-primary); color:#fff;
  font-size:10px; font-weight:700; padding:6px 12px; border-radius:7px;
  transition:var(--transition);
}
.btn-enroll:hover { opacity:.9; }

/* ═══════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════ */
.testi-section {
  background:linear-gradient(135deg,#EEEBFB,#EAF1FB);
  padding:56px 0;
}
.testi-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.testi-card {
  background:#fff; border:1px solid var(--border);
  border-radius:16px; padding:24px; box-shadow:var(--shadow-sm);
}
.testi-quote { font-size:32px; margin-bottom:14px; color:var(--brand-primary); }
.testi-text  { font-size:13px; color:var(--text-secondary); line-height:1.7; margin-bottom:20px; }
.testi-author { display:flex; align-items:center; gap:10px; }
.testi-avatar {
  width:40px; height:40px;
  background:linear-gradient(135deg,#5B4FE8,#00C9A7);
  border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:20px;
}
.testi-name  { font-size:13px; font-weight:700; }
.testi-rank  { font-size:10px; color:var(--brand-primary); font-weight:600; margin-top:2px; }

/* ═══════════════════════════════════════
   CTA BANNER
═══════════════════════════════════════ */
.cta-section {
  background:linear-gradient(135deg,#5B4FE8,#3D31D0);
  padding:60px 0; text-align:center;
}
.cta-section h2 { font-family:'Sora',sans-serif; font-size:34px; font-weight:800; color:#fff; margin-bottom:14px; }
.cta-section p  { font-size:15px; color:rgba(255,255,255,.8); max-width:500px; margin:0 auto 28px; line-height:1.6; }
.cta-btns { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
.btn-white {
  background:#fff; color:var(--brand-primary);
  padding:13px 30px; border-radius:12px; font-size:15px; font-weight:800;
  transition:var(--transition); display:inline-block;
}
.btn-white:hover { transform:translateY(-2px); }
.btn-outline-white {
  background:rgba(255,255,255,.15); border:1.5px solid rgba(255,255,255,.4);
  color:#fff; padding:13px 24px; border-radius:12px; font-size:14px; font-weight:600;
  display:inline-block; transition:var(--transition);
}
.btn-outline-white:hover { background:rgba(255,255,255,.25); }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer { background:#1A1730; color:#fff; padding:52px 0 24px; }
.footer-inner { max-width:1200px; margin:0 auto; padding:0 28px; }
.footer-grid { display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:40px; margin-bottom:40px; }
.footer-logo {
  font-family:'Sora',sans-serif; font-size:22px; font-weight:800;
  background:linear-gradient(135deg,#5B4FE8,#00C9A7);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  margin-bottom:12px;
}
.footer-brand p { font-size:13px; color:#8B87A8; line-height:1.7; max-width:280px; }
.footer-social { display:flex; gap:10px; margin-top:16px; }
.social-btn {
  width:36px; height:36px; background:#FFFFFF15;
  border-radius:8px; display:flex; align-items:center; justify-content:center;
  font-size:14px; cursor:pointer; transition:var(--transition);
}
.social-btn:hover { background:#FFFFFF25; }
.footer-col-title {
  font-size:11px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase;
  color:var(--brand-primary); margin-bottom:16px;
}
.footer-col { display:flex; flex-direction:column; gap:10px; }
.footer-col a { font-size:13px; color:#8B87A8; cursor:pointer; transition:var(--transition); }
.footer-col a:hover { color:#fff; }
.footer-bottom {
  border-top:1px solid #FFFFFF15; padding-top:20px;
  display:flex; justify-content:space-between; align-items:center;
  font-size:12px; color:#6B6890;
}

/* ═══════════════════════════════════════
   PAGE HERO (inner pages)
═══════════════════════════════════════ */
.page-hero {
  background:linear-gradient(135deg,#EEEBFB,#EAF1FB);
  padding:40px 0 32px; border-bottom:1px solid var(--border);
}
.page-eyebrow {
  font-size:11px; font-weight:700; letter-spacing:2px; text-transform:uppercase;
  color:var(--brand-primary); margin-bottom:10px;
}
.page-title { font-family:'Sora',sans-serif; font-size:32px; font-weight:800; margin-bottom:8px; }
.page-sub   { font-size:14px; color:var(--text-secondary); max-width:500px; line-height:1.6; }

/* ═══════════════════════════════════════
   SEARCH + FILTERS
═══════════════════════════════════════ */
.search-wrap { position:relative; max-width:440px; }
.search-wrap input {
  width:100%; background:#fff; border:1px solid #D8D4EC;
  border-radius:10px; padding:12px 14px 12px 42px;
  font-size:13px; outline:none; box-shadow:var(--shadow-sm);
  transition:var(--transition);
}
.search-wrap input:focus { border-color:var(--brand-primary); }
.search-icon { position:absolute; left:14px; top:50%; transform:translateY(-50%); font-size:16px; }

.filter-chips { display:flex; gap:8px; flex-wrap:wrap; margin-top:16px; }
.filter-chip {
  padding:7px 16px; border-radius:20px; font-size:12px; font-weight:600;
  background:#fff; color:var(--text-secondary); border:1px solid var(--border);
  cursor:pointer; transition:var(--transition);
}
.filter-chip.active, .filter-chip:hover {
  background:var(--brand-primary); color:#fff; border-color:var(--brand-primary);
}

/* ═══════════════════════════════════════
   COURSE DETAIL
═══════════════════════════════════════ */
.detail-grid { display:grid; grid-template-columns:1fr 300px; gap:28px; align-items:start; }

.detail-price-card {
  background:#fff; border:1px solid #D8D4EC;
  border-radius:16px; padding:22px;
  box-shadow:var(--shadow-md); position:sticky; top:80px;
}
.detail-price   { font-size:34px; font-weight:900; }
.detail-orig    { font-size:13px; color:var(--text-muted); text-decoration:line-through; }
.detail-saving  { font-size:12px; font-weight:700; color:var(--brand-accent); margin:4px 0 18px; }
.detail-include-title { font-size:10px; font-weight:700; color:var(--text-muted); margin:14px 0 10px; }
.detail-include-item { display:flex; align-items:center; gap:6px; font-size:11px; color:#3A3654; margin-bottom:6px; }
.check-icon { color:var(--brand-accent); font-weight:700; font-size:10px; }

/* Tabs */
.tabs-bar { display:flex; border-bottom:1px solid var(--border); margin-bottom:24px; }
.tab-btn {
  padding:14px 20px; font-size:13px; font-weight:600;
  color:var(--text-muted); border-bottom:2px solid transparent;
  margin-bottom:-1px; cursor:pointer; transition:var(--transition);
  text-transform:capitalize; background:none;
}
.tab-btn.active { color:var(--brand-primary); border-bottom-color:var(--brand-primary); }

/* Chapter list */
.chapter-block { background:#fff; border:1px solid var(--border); border-radius:12px; overflow:hidden; margin-bottom:10px; }
.chapter-head  { background:#F9F8FD; padding:14px 16px; display:flex; justify-content:space-between; align-items:center; }
.chapter-head-title { font-size:13px; font-weight:700; }
.chapter-count { font-size:10px; color:var(--text-muted); }
.lesson-list { padding:8px 12px 12px; display:flex; flex-direction:column; gap:6px; }
.lesson-item {
  display:flex; align-items:center; gap:8px;
  padding:8px 10px; border-radius:8px; border:1px solid #F0EFF7;
  cursor:pointer; transition:var(--transition); font-size:11px;
}
.lesson-item:hover, .lesson-item.active { background:#5B4FE810; border-color:#5B4FE840; }
.lesson-icon { font-size:12px; flex-shrink:0; }
.lesson-title { flex:1; color:#3A3654; }
.lesson-dur   { font-size:10px; color:var(--text-muted); }

/* Video player */
.video-wrap {
  background:#1A1730; border-radius:14px; overflow:hidden;
  aspect-ratio:16/9; position:relative;
}
.video-wrap video { width:100%; height:100%; object-fit:contain; }
.video-placeholder {
  position:absolute; inset:0; display:flex;
  flex-direction:column; align-items:center; justify-content:center; gap:12px;
}

/* ═══════════════════════════════════════
   DASHBOARD
═══════════════════════════════════════ */
.dashboard-layout { display:grid; grid-template-columns:220px 1fr; gap:24px; }
.sidebar {
  background:#fff; border:1px solid var(--border);
  border-radius:16px; overflow:hidden; height:fit-content;
}
.sidebar-profile {
  padding:20px 16px 16px; border-bottom:1px solid var(--border);
}
.sidebar-avatar {
  width:48px; height:48px; border-radius:50%;
  background:linear-gradient(135deg,#5B4FE8,#00C9A7);
  display:flex; align-items:center; justify-content:center;
  font-size:20px; font-weight:800; color:#fff; margin-bottom:10px;
}
.sidebar-name { font-size:14px; font-weight:700; }
.sidebar-tag  { font-size:11px; color:var(--brand-primary); font-weight:600; margin-top:2px; }
.sidebar-goal {
  margin-top:10px; background:#F4F3FA; border-radius:7px;
  padding:5px 10px; font-size:10px; color:var(--text-muted); display:inline-block;
}
.sidebar-nav { padding:6px 0; }
.sidebar-item {
  display:flex; align-items:center; gap:10px; padding:11px 16px;
  font-size:13px; color:var(--text-muted); cursor:pointer;
  border-left:2px solid transparent; transition:var(--transition); text-decoration:none;
}
.sidebar-item:hover, .sidebar-item.active {
  color:var(--brand-primary); background:#5B4FE812; border-left-color:var(--brand-primary);
}
.sidebar-item-icon { font-size:15px; }
.sidebar-badge {
  background:#FF6B35; color:#fff; font-size:9px;
  font-weight:700; padding:1px 6px; border-radius:8px; margin-left:auto;
}

/* Dashboard stats */
.dash-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-bottom:24px; }
.dash-stat {
  background:#fff; border:1px solid var(--border);
  border-radius:12px; padding:16px;
}
.dash-stat-icon { font-size:22px; margin-bottom:6px; }
.dash-stat-val  { font-size:22px; font-weight:900; }
.dash-stat-lbl  { font-size:11px; color:var(--text-muted); margin-top:2px; }

/* Active courses */
.active-courses { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:24px; }
.active-course-card {
  background:#fff; border:1px solid var(--border);
  border-radius:12px; padding:14px; display:flex; gap:12px;
  cursor:pointer; transition:var(--transition); text-decoration:none; color:inherit;
}
.active-course-card:hover { box-shadow:var(--shadow-md); }
.ac-emoji { font-size:28px; flex-shrink:0; }
.ac-exam  { font-size:9px; font-weight:700; color:var(--brand-primary); text-transform:uppercase; }
.ac-name  { font-size:12px; font-weight:700; margin:2px 0; line-height:1.3; }
.ac-resume { font-size:9px; font-weight:700; color:var(--brand-primary); margin-top:6px; }

/* Session cards */
.sessions-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.session-card {
  background:#fff; border:1px solid var(--border);
  border-radius:12px; padding:14px;
}
.session-time  { font-size:10px; font-weight:700; color:var(--brand-accent); margin-bottom:4px; }
.session-title { font-size:12px; font-weight:700; line-height:1.3; margin-bottom:4px; }
.session-teacher { font-size:10px; color:var(--text-muted); margin-bottom:10px; }
.btn-join-live {
  background:#FF3B3B; color:#fff; width:100%;
  font-size:10px; font-weight:700; padding:6px; border-radius:7px; text-align:center;
  display:block; transition:var(--transition);
}
.btn-join-live:hover { opacity:.9; }
.btn-schedule {
  background:var(--brand-primary); color:#fff; width:100%;
  font-size:10px; font-weight:700; padding:6px; border-radius:7px; text-align:center;
  display:block;
}

/* ═══════════════════════════════════════
   LIVE CLASS PAGE
═══════════════════════════════════════ */
.live-header {
  background:#fff; padding:12px 28px;
  display:flex; align-items:center; justify-content:space-between;
  border-bottom:1px solid var(--border);
  position:sticky; top:0; z-index:50;
}
.live-badge {
  display:flex; align-items:center; gap:6px;
  background:#FF3B3B20; border:1px solid #FF3B3B60;
  color:#FF7070; padding:4px 12px; border-radius:20px;
  font-size:11px; font-weight:700;
}
.live-dot { width:7px; height:7px; background:#FF3B3B; border-radius:50%; animation:pulse 1s infinite; }

.live-layout { display:grid; grid-template-columns:1fr 300px; gap:20px; }

.chat-box {
  background:#fff; border:1px solid var(--border);
  border-radius:16px; display:flex; flex-direction:column; overflow:hidden;
  height:calc(100vh - 160px);
}
.chat-header { padding:14px 16px; border-bottom:1px solid var(--border); font-size:13px; font-weight:700; }
.chat-messages { flex:1; padding:12px 14px; overflow-y:auto; display:flex; flex-direction:column; gap:12px; }
.chat-msg-name { font-size:10px; font-weight:700; margin-bottom:2px; }
.chat-msg-text {
  font-size:12px; color:#3A3654; line-height:1.5;
  padding:6px 8px; border-radius:8px; display:inline-block;
}
.msg-teacher .chat-msg-name { color:var(--brand-secondary); }
.msg-teacher .chat-msg-text { background:#FFF3ED; }
.msg-you .chat-msg-name    { color:var(--brand-accent); }
.msg-you .chat-msg-text    { background:#F4FFF8; }
.chat-input-wrap { padding:10px; border-top:1px solid var(--border); display:flex; gap:8px; }
.chat-input {
  flex:1; background:#F4F3FA; border:1px solid #D8D4EC;
  border-radius:9px; padding:9px 12px; font-size:12px; outline:none;
  transition:var(--transition);
}
.chat-input:focus { border-color:var(--brand-primary); }
.chat-send {
  background:var(--brand-primary); color:#fff;
  padding:9px 14px; border-radius:9px; font-size:14px; font-weight:700;
}

/* ═══════════════════════════════════════
   APPLICATION FORM
═══════════════════════════════════════ */
.apply-grid { display:grid; grid-template-columns:1fr 280px; gap:24px; align-items:start; }

.apply-card { background:#fff; border:1px solid var(--border); border-radius:16px; padding:24px; margin-bottom:20px; }
.apply-card-title { font-family:'Sora',sans-serif; font-size:16px; font-weight:700; margin-bottom:18px; }

.form-grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-group { display:flex; flex-direction:column; gap:6px; }
.form-label { font-size:11px; font-weight:600; color:var(--text-secondary); }
.form-req   { color:var(--brand-secondary); }
.form-control {
  background:#fff; border:1px solid #D8D4EC;
  border-radius:9px; padding:11px 12px; font-size:13px; outline:none;
  transition:var(--transition); width:100%;
}
.form-control:focus { border-color:var(--brand-primary); box-shadow:0 0 0 3px #5B4FE815; }
.form-control.error { border-color:#FF7070; }
.form-error { font-size:10px; color:#FF7070; }
textarea.form-control { resize:vertical; }

/* Batch selector */
.batch-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.batch-card {
  background:#fff; border:1.5px solid var(--border);
  border-radius:12px; padding:14px; cursor:pointer;
  text-align:center; transition:var(--transition); position:relative;
}
.batch-card.selected { background:#5B4FE810; border-color:var(--brand-primary); }
.batch-icon { font-size:22px; margin-bottom:6px; }
.batch-label { font-size:12px; font-weight:700; }
.batch-time  { font-size:10px; color:var(--text-muted); margin-top:3px; }
.batch-check {
  position:absolute; top:10px; right:10px; width:18px; height:18px;
  background:var(--brand-primary); border-radius:50%;
  display:none; align-items:center; justify-content:center;
  font-size:9px; color:#fff; font-weight:700;
}
.batch-card.selected .batch-check { display:flex; }

/* Steps */
.steps-bar { display:flex; align-items:center; gap:0; }
.step-node {
  width:28px; height:28px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:11px; font-weight:800; flex-shrink:0;
  border:1.5px solid var(--border); color:var(--text-muted);
  background:transparent; transition:var(--transition);
}
.step-node.done    { background:var(--brand-accent); border-color:var(--brand-accent); color:#fff; }
.step-node.current { background:var(--brand-primary); border-color:var(--brand-primary); color:#fff; }
.step-label { font-size:11px; font-weight:600; color:var(--text-muted); white-space:nowrap; margin-left:8px; }
.step-label.current { color:var(--text-primary); }
.step-line  { flex:1; height:1.5px; background:var(--border); margin:0 10px; }
.step-line.done { background:var(--brand-accent); }

/* Order summary sidebar */
.order-card { background:#fff; border:1px solid #D8D4EC; border-radius:16px; padding:20px; position:sticky; top:90px; }
.order-course { display:flex; gap:10px; align-items:center; padding-bottom:14px; border-bottom:1px solid var(--border); margin-bottom:14px; }
.order-emoji { width:42px; height:42px; background:linear-gradient(135deg,#F0EFF7,#E4E1F0); border-radius:9px; display:flex; align-items:center; justify-content:center; font-size:20px; }
.order-exam  { font-size:9px; font-weight:700; color:var(--brand-primary); }
.order-name  { font-size:12px; font-weight:700; line-height:1.3; margin-top:2px; }
.order-row   { display:flex; justify-content:space-between; font-size:11px; color:var(--text-secondary); margin-bottom:8px; }
.order-row strong { color:var(--text-primary); }
.order-total { display:flex; justify-content:space-between; font-size:15px; font-weight:800; }
.order-save  { background:#00C9A715; border:1px solid #00C9A740; border-radius:8px; padding:6px 10px; font-size:10px; font-weight:700; color:var(--brand-accent); text-align:center; margin:12px 0; }

/* Form actions */
.form-actions { display:flex; justify-content:space-between; gap:12px; margin-top:4px; }

/* ═══════════════════════════════════════
   CONFIRMATION
═══════════════════════════════════════ */
.confirm-card {
  max-width:540px; margin:60px auto;
  background:#fff; border:1px solid var(--border);
  border-radius:24px; padding:40px; text-align:center;
  box-shadow:var(--shadow-lg);
}
.confirm-icon { font-size:64px; margin-bottom:16px; }
.confirm-title { font-family:'Sora',sans-serif; font-size:26px; font-weight:800; margin-bottom:10px; }
.confirm-sub   { font-size:14px; color:var(--text-secondary); line-height:1.7; margin-bottom:24px; }
.confirm-id-box { background:#F4F3FA; border:1px solid var(--border); border-radius:12px; padding:16px 20px; margin-bottom:24px; }
.confirm-id-label { font-size:11px; color:var(--text-muted); margin-bottom:4px; }
.confirm-id-val   { font-size:20px; font-weight:800; color:var(--brand-primary); letter-spacing:.5px; }
.confirm-steps    { background:#fff; border:1px solid var(--border); border-radius:14px; padding:18px; text-align:left; }
.confirm-step     { display:flex; gap:10px; align-items:flex-start; }
.confirm-step + .confirm-step { margin-top:12px; }

/* ═══════════════════════════════════════
   ADMIN UPLOAD
═══════════════════════════════════════ */
.admin-grid { display:grid; grid-template-columns:1.2fr 1fr; gap:24px; align-items:start; }
.upload-card { background:#fff; border:1px solid var(--border); border-radius:18px; padding:28px; }
.upload-card-title { font-family:'Sora',sans-serif; font-size:16px; font-weight:700; margin-bottom:22px; }

.dropzone {
  border:2px dashed var(--border); border-radius:14px; padding:32px 20px;
  text-align:center; cursor:pointer; transition:var(--transition);
  margin-bottom:16px; background:#FAFAFA;
}
.dropzone.drag-over { border-color:var(--brand-primary); background:#5B4FE808; }
.dropzone.has-file  { border-color:var(--brand-accent); background:#00C9A708; }
.dropzone-icon  { font-size:36px; margin-bottom:10px; }
.dropzone-title { font-size:14px; font-weight:700; margin-bottom:4px; }
.dropzone-sub   { font-size:12px; color:var(--text-muted); }

.progress-wrap { margin-bottom:16px; }
.progress-meta { display:flex; justify-content:space-between; font-size:12px; margin-bottom:6px; }
.progress-meta span { color:var(--brand-primary); font-weight:600; }

.upload-success {
  background:#00C9A710; border:1px solid #00C9A740;
  border-radius:10px; padding:12px 16px; margin-bottom:16px;
  display:flex; gap:10px; align-items:center;
}
.success-icon { font-size:20px; }
.success-title { font-size:13px; font-weight:700; color:var(--brand-accent); }
.success-sub   { font-size:11px; color:var(--text-muted); margin-top:2px; }

.video-list { display:flex; flex-direction:column; gap:10px; max-height:520px; overflow-y:auto; }
.video-list-item {
  background:#F9F8FD; border:1px solid var(--border);
  border-radius:12px; padding:14px;
}
.vli-inner  { display:flex; gap:10px; align-items:flex-start; }
.vli-thumb  {
  width:36px; height:36px; border-radius:8px;
  background:linear-gradient(135deg,#5B4FE8,#00C9A7);
  display:flex; align-items:center; justify-content:center;
  font-size:16px; flex-shrink:0;
}
.vli-title  { font-size:12px; font-weight:700; margin-bottom:2px; }
.vli-course { font-size:10px; color:var(--brand-primary); margin-bottom:2px; }
.vli-meta   { font-size:10px; color:var(--text-muted); }
.vli-actions { display:flex; gap:6px; flex-shrink:0; margin-top:2px; }

.empty-state { text-align:center; padding:40px 20px; }
.empty-icon  { font-size:40px; margin-bottom:12px; }
.empty-title { font-size:14px; font-weight:600; color:var(--text-muted); margin-bottom:6px; }
.empty-sub   { font-size:12px; color:var(--text-muted); }

/* ═══════════════════════════════════════
   LOGIN / REGISTER
═══════════════════════════════════════ */
.auth-page {
  min-height:100vh;
  background:linear-gradient(135deg,#EEEBFB 0%,#EAF1FB 100%);
  display:grid; grid-template-columns:1fr 480px;
}
.auth-left {
  display:flex; flex-direction:column; justify-content:center;
  padding:60px; position:relative; overflow:hidden;
}
.auth-left::before {
  content:''; position:absolute; top:-100px; right:-100px;
  width:500px; height:500px;
  background:radial-gradient(circle,#5B4FE820 0%,transparent 70%);
  pointer-events:none;
}
.auth-left::after {
  content:''; position:absolute; bottom:-100px; left:-60px;
  width:400px; height:400px;
  background:radial-gradient(circle,#00C9A715 0%,transparent 70%);
  pointer-events:none;
}
.auth-brand { font-family:'Sora',sans-serif; font-size:28px; font-weight:800; background:linear-gradient(135deg,#5B4FE8,#00C9A7); -webkit-background-clip:text; -webkit-text-fill-color:transparent; margin-bottom:32px; }
.auth-left h2 { font-family:'Sora',sans-serif; font-size:40px; font-weight:800; line-height:1.15; letter-spacing:-1px; margin-bottom:16px; }
.auth-left h2 span { color:var(--brand-primary); }
.auth-left p { font-size:15px; color:var(--text-secondary); line-height:1.7; max-width:380px; margin-bottom:36px; }

.auth-features { display:flex; flex-direction:column; gap:14px; }
.auth-feature  { display:flex; align-items:center; gap:12px; }
.auth-feature-icon {
  width:40px; height:40px; border-radius:10px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center; font-size:18px;
}
.auth-feature-text { font-size:13px; font-weight:600; color:#3A3654; }
.auth-feature-sub  { font-size:11px; color:var(--text-muted); margin-top:2px; }

.auth-right {
  background:#fff; display:flex; flex-direction:column;
  justify-content:center; padding:48px 40px;
  box-shadow:-10px 0 60px rgba(91,79,232,.08);
}
.auth-right-title { font-family:'Sora',sans-serif; font-size:24px; font-weight:800; margin-bottom:6px; }
.auth-right-sub   { font-size:13px; color:var(--text-muted); margin-bottom:28px; }

.auth-tab-group { display:flex; background:#F4F3FA; border-radius:10px; padding:4px; margin-bottom:24px; gap:4px; }
.auth-tab {
  flex:1; text-align:center; padding:8px; border-radius:7px;
  font-size:13px; font-weight:600; color:var(--text-muted);
  cursor:pointer; transition:var(--transition);
}
.auth-tab.active { background:#fff; color:var(--brand-primary); box-shadow:var(--shadow-sm); }

.auth-form { display:flex; flex-direction:column; gap:14px; }
.auth-form-group { display:flex; flex-direction:column; gap:6px; }
.auth-label { font-size:12px; font-weight:600; color:var(--text-secondary); }
.auth-input-wrap { position:relative; }
.auth-input {
  width:100%; background:#F7F7FB; border:1.5px solid var(--border);
  border-radius:10px; padding:12px 14px 12px 42px;
  font-size:14px; outline:none; transition:var(--transition);
}
.auth-input:focus { border-color:var(--brand-primary); background:#fff; box-shadow:0 0 0 3px #5B4FE815; }
.auth-input.error { border-color:#FF7070; }
.auth-input-icon { position:absolute; left:14px; top:50%; transform:translateY(-50%); font-size:15px; }
.auth-input-toggle { position:absolute; right:14px; top:50%; transform:translateY(-50%); cursor:pointer; font-size:14px; color:var(--text-muted); }

.auth-forgot { font-size:12px; color:var(--brand-primary); font-weight:600; display:block; text-align:right; margin-top:-6px; }
.auth-error  { background:#FF707015; border:1px solid #FF707040; border-radius:9px; padding:10px 14px; font-size:12px; color:#CC4444; display:none; }
.auth-error.visible { display:block; }
.auth-success { background:#00C9A715; border:1px solid #00C9A740; border-radius:9px; padding:10px 14px; font-size:12px; color:#00A88A; display:none; }
.auth-success.visible { display:block; }

.btn-auth {
  background:var(--brand-primary); color:#fff;
  padding:14px; border-radius:11px; font-size:14px; font-weight:700;
  transition:var(--transition); width:100%; text-align:center;
}
.btn-auth:hover { opacity:.92; transform:translateY(-1px); }
.btn-auth:disabled { opacity:.6; cursor:not-allowed; transform:none; }

.auth-divider { display:flex; align-items:center; gap:12px; margin:8px 0; }
.auth-divider-line { flex:1; height:1px; background:var(--border); }
.auth-divider-text { font-size:11px; color:var(--text-muted); white-space:nowrap; }

.auth-social { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.btn-social {
  display:flex; align-items:center; justify-content:center; gap:8px;
  background:#fff; border:1.5px solid var(--border);
  border-radius:10px; padding:11px; font-size:13px; font-weight:600;
  color:var(--text-secondary); cursor:pointer; transition:var(--transition);
}
.btn-social:hover { border-color:#5B4FE880; color:var(--brand-primary); }

.auth-footer-text { text-align:center; font-size:13px; color:var(--text-muted); margin-top:20px; }
.auth-footer-text a { color:var(--brand-primary); font-weight:700; }

/* Admin badge */
.admin-badge {
  display:inline-flex; align-items:center; gap:6px;
  background:#FF6B3520; border:1px solid #FF6B3540;
  color:var(--brand-secondary); font-size:10px; font-weight:700; padding:4px 10px; border-radius:6px;
}

/* Spinner */
.spinner {
  width:32px; height:32px; border:3px solid var(--border);
  border-top-color:var(--brand-primary); border-radius:50%;
  animation:spin .7s linear infinite;
}

/* Loading state */
.loading-state { display:flex; flex-direction:column; align-items:center; justify-content:center; padding:60px; color:var(--text-muted); gap:14px; }

/* Alert */
.alert { border-radius:10px; padding:12px 16px; font-size:13px; margin-bottom:16px; }
.alert-success { background:#00C9A715; border:1px solid #00C9A740; color:#00A88A; }
.alert-error   { background:#FF707015; border:1px solid #FF707040; color:#CC4444; }
.alert-info    { background:#5B4FE815; border:1px solid #5B4FE840; color:var(--brand-primary); }

/* Breadcrumb */
.breadcrumb { display:flex; align-items:center; gap:8px; font-size:12px; color:var(--text-muted); padding:12px 0; }
.breadcrumb a { color:var(--text-muted); }
.breadcrumb a:hover { color:var(--brand-primary); }
.breadcrumb-sep { font-size:10px; }
.breadcrumb-current { color:var(--text-primary); font-weight:600; }

/* Result info */
.result-info { font-size:13px; color:var(--text-muted); margin-bottom:20px; }
