/* ============================================
   10 Minute School — Modern UI (Enhanced)
   4-layer menu, dashboard, i18n, fully responsive
   ============================================ */
:root {
  --primary: #2b2553;
  --primary-dark: #1d1839;
  --accent: #ff284f;
  --accent-light: #ff6b85;
  --success: #10b981;
  --warning: #f59e0b;
  --info: #3b82f6;
  --bg: #ffffff;
  --bg-soft: #faf8ff;
  --bg-muted: #f4f2fa;
  --text: #1a1530;
  --text-soft: #5a5670;
  --text-muted: #8b87a3;
  --border: #ebe8f4;
  --shadow-sm: 0 1px 2px rgba(43, 37, 83, 0.06);
  --shadow-md: 0 4px 16px rgba(43, 37, 83, 0.08);
  --shadow-lg: 0 16px 48px rgba(43, 37, 83, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --container: 1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Hind Siliguri', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
html[lang="en"] body { font-family: 'Inter', system-ui, -apple-system, sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-full);
  font-weight: 600; font-size: 14px;
  transition: all .2s ease; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(43, 37, 83, 0.25); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(255, 40, 79, 0.25); }
.btn-accent:hover { background: #e6213f; transform: translateY(-1px); }
.btn-outline { background: var(--bg); color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { background: var(--bg-muted); }
.btn-ghost { color: var(--text-soft); padding: 8px 14px; }
.btn-ghost:hover { color: var(--primary); background: var(--bg-muted); }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ============================================
   Header — 4-level menu
   ============================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }

.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--primary); }
.logo-mark {
  width: 38px; height: 38px;
  background: var(--primary); color: #fff;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}
.logo span { color: var(--accent); }

.nav-desktop { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; font-size: 15px; font-weight: 600;
  color: var(--text-soft); border-radius: var(--radius);
  transition: color .15s, background .15s;
}
.nav-link:hover, .nav-link.active { color: var(--primary); background: var(--bg-muted); }
.nav-link .caret { width: 10px; height: 10px; transition: transform .2s; }
.nav-item:hover > .nav-link .caret { transform: rotate(180deg); }

/* Dropdown levels (works for unlimited depth, styled up to 4) */
.dropdown {
  position: absolute; top: 100%; left: 0;
  min-width: 240px; padding: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  margin-top: 8px; z-index: 110;
}
.nav-item:hover > .dropdown,
.dropdown-item:hover > .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
/* Levels 2, 3, 4 fly out to the right */
.dropdown .dropdown { top: -8px; left: 100%; margin-top: 0; margin-left: 8px; }

.dropdown-item { position: relative; }
.dropdown-link {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 10px 14px;
  font-size: 14px; font-weight: 500;
  color: var(--text-soft); border-radius: 10px;
  transition: all .15s;
}
.dropdown-link:hover { background: var(--bg-muted); color: var(--primary); }
.dropdown-link .arrow { width: 12px; height: 12px; opacity: .5; }

/* Header right */
.header-right { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-soft); transition: all .15s;
}
.icon-btn:hover { background: var(--bg-muted); color: var(--primary); }
.phone-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 14px; color: var(--text-soft); padding: 8px 12px;
}
.phone-link:hover { color: var(--primary); }

/* Language toggle */
.lang-switch {
  display: inline-flex; background: var(--bg-muted);
  border-radius: var(--radius-full); padding: 4px;
}
.lang-switch button {
  padding: 6px 12px; font-size: 12px; font-weight: 700;
  border-radius: var(--radius-full); color: var(--text-muted);
}
.lang-switch button.active { background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }

/* Mobile toggle */
.menu-toggle {
  display: none; width: 42px; height: 42px;
  border-radius: 10px; border: 1px solid var(--border);
  align-items: center; justify-content: center; color: var(--text);
}

/* Mobile drawer (supports 4 nested levels) */
.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(20, 15, 40, 0.5);
  opacity: 0; visibility: hidden;
  transition: opacity .25s, visibility .25s;
  z-index: 200;
}
.drawer-overlay.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 88%; max-width: 380px;
  background: #fff; z-index: 201;
  transform: translateX(100%);
  transition: transform .3s ease;
  display: flex; flex-direction: column;
  box-shadow: -10px 0 40px rgba(0,0,0,.15);
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px; border-bottom: 1px solid var(--border);
}
.drawer-body { flex: 1; overflow-y: auto; padding: 12px; }
.drawer-footer { padding: 16px; border-top: 1px solid var(--border); display: grid; gap: 10px; }

.m-item { border-bottom: 1px solid var(--border); }
.m-item:last-child { border-bottom: none; }
.m-link, .m-toggle {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 14px 16px;
  font-size: 15px; font-weight: 600; color: var(--text);
  text-align: left; border-radius: 10px;
}
.m-link:hover, .m-toggle:hover { background: var(--bg-muted); color: var(--primary); }
.m-toggle .caret { transition: transform .2s; }
.m-item.open > .m-toggle .caret { transform: rotate(180deg); }
.m-children {
  display: none; background: var(--bg-soft);
  margin: 0 8px 8px; border-radius: 10px; padding: 4px;
}
.m-item.open > .m-children { display: block; }
.m-children .m-link, .m-children .m-toggle { padding-left: 28px; font-weight: 500; color: var(--text-soft); }
.m-children .m-children .m-link, .m-children .m-children .m-toggle { padding-left: 44px; font-size: 14px; }
.m-children .m-children .m-children .m-link { padding-left: 60px; font-size: 13px; }

/* Sections */
.section { padding: 80px 0; }
main { padding-top: 76px; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 60% at 80% 0%, rgba(255, 40, 79, .12) 0%, transparent 70%),
    radial-gradient(60% 60% at 0% 100%, rgba(43, 37, 83, .08) 0%, transparent 70%),
    var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: var(--radius-full);
  background: #fff; border: 1px solid var(--border);
  font-size: 12px; font-weight: 600; color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.eyebrow::before { content: ''; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.hero h1 {
  margin-top: 20px; font-size: clamp(36px, 5vw, 60px);
  font-weight: 700; line-height: 1.1; color: var(--primary); letter-spacing: -0.02em;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p { margin-top: 20px; font-size: 18px; color: var(--text-soft); max-width: 480px; }
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { margin-top: 48px; display: flex; gap: 40px; flex-wrap: wrap; }
.stat strong { display: block; font-size: 28px; color: var(--primary); font-weight: 700; }
.stat span { font-size: 13px; color: var(--text-muted); }

.hero-card {
  position: relative; aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--primary), #4a4180);
  border-radius: var(--radius-lg); padding: 32px; color: #fff;
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
}
.hero-card::before {
  content: ''; position: absolute; top: -40%; right: -20%;
  width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 40, 79, .4), transparent 70%);
  border-radius: 50%;
}
.live-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; background: rgba(255, 40, 79, .9);
  border-radius: var(--radius-full); font-size: 12px; font-weight: 600;
  width: fit-content;
}
.live-badge::before {
  content: ''; width: 6px; height: 6px;
  background: #fff; border-radius: 50%;
  animation: pulse 1.5s infinite;
}
@keyframes pulse { 50% { opacity: .4; } }
.hero-card h3 { margin-top: 12px; font-size: 28px; font-weight: 700; }
.hero-card .progress {
  height: 6px; background: rgba(255,255,255,.2);
  border-radius: 4px; overflow: hidden; margin-bottom: 8px;
}
.hero-card .progress > div { height: 100%; width: 65%; background: #fff; }
.floating-card {
  position: absolute; bottom: -24px; left: -24px;
  background: #fff; padding: 16px 20px;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.floating-card span { font-size: 12px; color: var(--text-muted); }
.floating-card strong { display: block; font-size: 22px; color: var(--primary); }

/* Section heading */
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(28px, 3.5vw, 40px); color: var(--primary); font-weight: 700; letter-spacing: -0.01em; }
.section-head h2 em { color: var(--accent); font-style: normal; }
.section-head p { color: var(--text-soft); margin-top: 8px; }

/* Categories */
.categories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.category-card {
  position: relative; padding: 28px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); transition: all .25s; overflow: hidden;
}
.category-card::before {
  content: ''; position: absolute; inset: 0;
  background: var(--cat-color, linear-gradient(135deg, rgba(43,37,83,.05), transparent));
  opacity: .8;
}
.category-card > * { position: relative; }
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cat-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: #fff; display: flex; align-items: center; justify-content: center;
  color: var(--primary); margin-bottom: 16px; box-shadow: var(--shadow-sm);
}
.category-card h3 { font-size: 18px; color: var(--primary); }
.category-card p { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* Course cards */
.courses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.course-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; transition: all .25s;
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.course-thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--c1, #6c5ce7), var(--c2, #a29bfe));
  position: relative; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 22px; font-weight: 700;
}
.course-tag {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 10px; background: rgba(255,255,255,.95);
  color: var(--accent); border-radius: var(--radius-full);
  font-size: 11px; font-weight: 600;
}
.course-body { padding: 20px; }
.course-body h3 { font-size: 17px; color: var(--primary); margin-bottom: 8px; line-height: 1.4; }
.course-meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; color: var(--text-muted); margin-bottom: 16px;
}
.course-meta i { color: var(--accent); }
.course-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; border-top: 1px solid var(--border);
}
.price { font-size: 20px; font-weight: 700; color: var(--primary); }
.old-price { font-size: 13px; color: var(--text-muted); text-decoration: line-through; margin-left: 6px; }

/* Features */
.features { background: var(--bg-soft); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  background: #fff; border-radius: var(--radius-lg);
  padding: 32px; border: 1px solid var(--border);
  text-align: center; transition: all .25s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 64px; height: 64px; margin: 0 auto 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), #4a4180);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.feature h3 { color: var(--primary); margin-bottom: 8px; }
.feature p { color: var(--text-soft); font-size: 14px; }

/* CTA */
.cta-strip {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-lg); padding: 48px; color: #fff;
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
}
.cta-strip h2 { font-size: 28px; margin-bottom: 8px; }
.cta-strip p { opacity: .85; }

/* Footer */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,.75); padding: 64px 0 24px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer h4 { color: #fff; margin-bottom: 16px; font-size: 15px; }
.site-footer ul li { margin-bottom: 8px; }
.site-footer a:hover { color: var(--accent-light); }
.site-footer .logo { color: #fff; }
.site-footer .logo span { color: var(--accent-light); }
.footer-about { font-size: 14px; line-height: 1.7; margin-top: 16px; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a {
  width: 36px; height: 36px; background: rgba(255,255,255,.1);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all .2s;
}
.social a:hover { background: var(--accent); color: #fff; }
.copy { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; text-align: center; font-size: 13px; }

/* Page header */
.page-hero {
  background: radial-gradient(60% 60% at 50% 0%, rgba(255, 40, 79, .1) 0%, transparent 70%), var(--bg-soft);
  padding: 80px 0 60px; text-align: center;
}
.page-hero h1 { font-size: clamp(32px, 4vw, 48px); color: var(--primary); font-weight: 700; }
.page-hero p { color: var(--text-soft); margin-top: 12px; }
.crumbs { display: inline-flex; gap: 8px; color: var(--text-muted); font-size: 13px; margin-top: 16px; }
.crumbs a:hover { color: var(--accent); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-grid h2 { color: var(--primary); font-size: 32px; margin-bottom: 16px; }
.about-grid p { color: var(--text-soft); margin-bottom: 12px; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { text-align: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.avatar {
  width: 90px; height: 90px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 28px; font-weight: 700;
}
.team-card h3 { color: var(--primary); font-size: 17px; }
.team-card p { color: var(--text-muted); font-size: 13px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; }
.info-card { background: var(--bg-soft); border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--border); }
.info-item { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--border); }
.info-item:last-child { border-bottom: none; }
.info-icon {
  width: 44px; height: 44px; border-radius: 12px; background: #fff;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); flex-shrink: 0;
}
.info-item h4 { color: var(--primary); margin-bottom: 2px; }
.info-item p { color: var(--text-soft); font-size: 14px; }

.contact-form { background: #fff; border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 600; color: var(--text); }
.field input, .field textarea, .field select {
  padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px;
  font-family: inherit; font-size: 14px; background: var(--bg); color: var(--text);
  transition: border .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(43, 37, 83, .08);
}
.field textarea { min-height: 120px; resize: vertical; }

/* ============================================
   Dashboard
   ============================================ */
.dash-wrap { display: grid; grid-template-columns: 260px 1fr; min-height: calc(100vh - 76px); }
.dash-side {
  background: #fff; border-right: 1px solid var(--border);
  padding: 24px 16px; position: sticky; top: 76px; height: calc(100vh - 76px); overflow-y: auto;
}
.dash-user { display: flex; gap: 12px; align-items: center; padding: 12px; background: var(--bg-soft); border-radius: 12px; margin-bottom: 20px; }
.dash-user .avatar { width: 44px; height: 44px; font-size: 16px; margin: 0; }
.dash-user strong { display: block; color: var(--primary); font-size: 14px; }
.dash-user span { font-size: 12px; color: var(--text-muted); }
.dash-nav { display: flex; flex-direction: column; gap: 2px; }
.dash-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: 10px;
  font-size: 14px; font-weight: 500; color: var(--text-soft);
}
.dash-nav a i { width: 18px; }
.dash-nav a:hover, .dash-nav a.active { background: var(--bg-muted); color: var(--primary); }
.dash-nav a.active { background: var(--primary); color: #fff; }
.dash-main { padding: 32px; background: var(--bg-soft); }
.dash-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.dash-head h1 { font-size: 24px; color: var(--primary); }
.dash-head p { color: var(--text-soft); font-size: 14px; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px;
}
.stat-card .icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--bg-muted); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.stat-card.accent .icon { background: rgba(255,40,79,.1); color: var(--accent); }
.stat-card.success .icon { background: rgba(16,185,129,.1); color: var(--success); }
.stat-card.warning .icon { background: rgba(245,158,11,.1); color: var(--warning); }
.stat-card .num { font-size: 26px; font-weight: 700; color: var(--primary); }
.stat-card .label { font-size: 13px; color: var(--text-muted); }
.stat-card .delta { font-size: 12px; color: var(--success); margin-top: 6px; font-weight: 600; }

.panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.panel-head h3 { color: var(--primary); font-size: 17px; }
.panel-head a { font-size: 13px; color: var(--accent); font-weight: 600; }

.dash-cols { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; margin-bottom: 24px; }
.course-row {
  display: flex; gap: 14px; padding: 14px;
  border-radius: 12px; transition: background .15s;
  align-items: center;
}
.course-row:hover { background: var(--bg-muted); }
.course-row .thumb {
  width: 64px; height: 64px; border-radius: 10px;
  background: linear-gradient(135deg, var(--c1, #6c5ce7), var(--c2, #a29bfe));
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700;
}
.course-row .body { flex: 1; min-width: 0; }
.course-row h4 { color: var(--primary); font-size: 14px; margin-bottom: 4px; }
.course-row .meta { font-size: 12px; color: var(--text-muted); }
.course-row .progress { height: 5px; background: var(--bg-muted); border-radius: 3px; margin-top: 8px; overflow: hidden; }
.course-row .progress > div { height: 100%; background: var(--accent); }

.act-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.act-item:last-child { border-bottom: none; }
.act-item .dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; margin-top: 6px; flex-shrink: 0; }
.act-item time { display: block; color: var(--text-muted); font-size: 11px; margin-top: 2px; }

/* Auth */
.auth-wrap { min-height: calc(100vh - 76px); display: grid; place-items: center; padding: 40px 20px; background: var(--bg-soft); }
.auth-card { width: 100%; max-width: 440px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 40px; box-shadow: var(--shadow-md); }
.auth-card h1 { color: var(--primary); font-size: 26px; margin-bottom: 6px; }
.auth-card .sub { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }
.auth-card .meta { text-align: center; margin-top: 16px; font-size: 13px; color: var(--text-soft); }
.auth-card .meta a { color: var(--accent); font-weight: 600; }
.divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--text-muted); font-size: 12px; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.social-auth { display: flex; gap: 10px; }
.social-auth button { flex: 1; padding: 11px; border: 1px solid var(--border); border-radius: 10px; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 13px; color: var(--text); }
.social-auth button:hover { background: var(--bg-muted); }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px; transition: all .25s;
}
.price-card.popular { border-color: var(--accent); transform: scale(1.03); box-shadow: var(--shadow-lg); position: relative; }
.price-card.popular::before {
  content: 'POPULAR'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; padding: 4px 14px;
  font-size: 11px; font-weight: 700; border-radius: var(--radius-full);
}
.price-card h3 { color: var(--primary); font-size: 20px; }
.price-card .amt { font-size: 40px; font-weight: 700; color: var(--primary); margin: 16px 0 8px; }
.price-card .amt small { font-size: 14px; color: var(--text-muted); font-weight: 500; }
.price-card ul { margin: 24px 0; }
.price-card ul li { padding: 8px 0; font-size: 14px; color: var(--text-soft); display: flex; gap: 8px; align-items: center; }
.price-card ul li i { color: var(--success); }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all .25s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-thumb { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--c1, #6c5ce7), var(--c2, #a29bfe)); }
.blog-body { padding: 20px; }
.blog-cat { font-size: 11px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .04em; }
.blog-body h3 { color: var(--primary); font-size: 18px; margin: 8px 0; line-height: 1.4; }
.blog-body p { color: var(--text-soft); font-size: 14px; }
.blog-meta { display: flex; gap: 12px; margin-top: 12px; font-size: 12px; color: var(--text-muted); }

/* Course detail */
.cd-grid { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.cd-hero {
  aspect-ratio: 16 / 9; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary), #4a4180);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 28px; margin-bottom: 24px;
  position: relative; overflow: hidden;
}
.cd-hero .play {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(255,255,255,.2); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.cd-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.cd-tabs button {
  padding: 12px 18px; font-weight: 600; font-size: 14px;
  color: var(--text-soft); border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.cd-tabs button.active { color: var(--primary); border-color: var(--accent); }
.lesson {
  display: flex; align-items: center; gap: 12px; padding: 14px;
  border: 1px solid var(--border); border-radius: 10px; margin-bottom: 8px;
}
.lesson .num { width: 32px; height: 32px; border-radius: 50%; background: var(--bg-muted); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.lesson h4 { font-size: 14px; color: var(--text); }
.lesson .dur { color: var(--text-muted); font-size: 12px; margin-left: auto; }

.cd-buy { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; position: sticky; top: 96px; }
.cd-buy .price { font-size: 32px; }
.cd-buy ul { margin: 20px 0; }
.cd-buy ul li { padding: 8px 0; font-size: 13px; color: var(--text-soft); display: flex; gap: 8px; }
.cd-buy ul li i { color: var(--accent); width: 16px; }

/* Filter sidebar (courses page) */
.courses-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; }
.filter-side { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; height: fit-content; position: sticky; top: 96px; }
.filter-group { margin-bottom: 20px; }
.filter-group h4 { font-size: 13px; color: var(--primary); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .04em; }
.filter-group label { display: flex; gap: 8px; align-items: center; padding: 6px 0; font-size: 14px; color: var(--text-soft); cursor: pointer; }
.filter-group label:hover { color: var(--primary); }

/* Responsive */
@media (max-width: 1024px) {
  .nav-desktop, .header-right .desktop-only { display: none; }
  .menu-toggle { display: flex; }
  .hero-grid, .about-grid, .contact-grid, .cd-grid { grid-template-columns: 1fr; gap: 40px; }
  .courses-grid, .features-grid, .team-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-cols { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .price-card.popular { transform: none; }
  .courses-layout { grid-template-columns: 1fr; }
  .filter-side { position: static; }
  .cd-buy { position: static; }
  .dash-wrap { grid-template-columns: 1fr; }
  .dash-side { position: static; height: auto; border-right: none; border-bottom: 1px solid var(--border); }
  .dash-nav { flex-direction: row; overflow-x: auto; }
  .dash-nav a { white-space: nowrap; }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .courses-grid, .features-grid, .team-grid, .blog-grid, .footer-grid, .stat-grid { grid-template-columns: 1fr; }
  .cta-strip { grid-template-columns: 1fr; padding: 32px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .auth-card { padding: 28px; }
  .lang-switch button { padding: 5px 9px; font-size: 11px; }
}
