/* ═══════════════════════════════════════════════════════════════
   WODDI INSTITUTE — Complete Stylesheet
   Replaces Tailwind + shadcn with pure CSS
═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ── CSS Custom Properties (Light Mode) ── */
:root {
  --gmn:       #D4006A;
  --gmn-hover: #B3005A;
  --gmn-light: #FFF0F7;
  --gmn-mid:   #F0B8D8;
  --nnn:       #7CB518;
  --nnn-hover: #6A9C14;
  --nnn-light: #F2FAE8;
  --nnn-mid:   #C0E085;
  --gold:      #A07830;
  --gold-light:#FDF6E6;

  --bg:        #F9F6F2;
  --bg2:       #F3EEE8;
  --surface:   #FFFFFF;
  --surface-2: #F5F0EB;
  --surface-3: #EDE8E2;

  --text:      #1C1209;
  --text-2:    #4A3828;
  --text-3:    #8C7860;
  --text-4:    #C4B4A0;
  --border:    #E8E0D4;
  --border-2:  #D8CCB8;
  --destructive: #DC2626;

  --r-xs: 0.375rem;
  --r-sm: 0.625rem;
  --r:    0.875rem;
  --r-lg: 1.25rem;
  --r-xl: 1.75rem;

  --shadow-xs: 0 1px 4px rgba(0,0,0,0.06);
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.07);
  --shadow:    0 4px 24px rgba(0,0,0,0.09);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.13);
  --shadow-xl: 0 24px 80px rgba(0,0,0,0.16);

  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-body:    'Plus Jakarta Sans', system-ui, sans-serif;
  --nav-h:      68px;
  --bottom-nav-h: 72px;
  --transition: all 0.22s cubic-bezier(0.4,0,0.2,1);
  --sidebar-w:  240px;
}

/* ── Dark Mode ── */
html.dark {
  --bg:        #100B06;
  --bg2:       #180E08;
  --surface:   #1E1208;
  --surface-2: #281A0E;
  --surface-3: #342014;

  --text:      #F5EFE8;
  --text-2:    #C0A888;
  --text-3:    #7A6450;
  --text-4:    #4A3828;
  --border:    #2E1E10;
  --border-2:  #402818;
  --destructive: #EF4444;

  --gmn-light: #1A0510;
  --nnn-light: #0A1400;
  --gold-light: #1A1000;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
button { cursor: pointer; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; outline: none; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ── Typography ── */
.font-display { font-family: var(--ff-display); }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--surface-2); }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 99px; }

/* ══════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes orbFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, -20px) scale(1.05); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}
@keyframes toastIn {
  from { opacity: 0; transform: translateX(20px) scale(0.95); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translateX(0) scale(1); }
  to   { opacity: 0; transform: translateX(20px) scale(0.95); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes spin { to { transform: rotate(360deg); } }

.anim-fade-up   { animation: fadeUp 0.7s ease both; }
.anim-slide-up  { animation: slideUp 0.3s cubic-bezier(0.34,1.2,0.64,1) both; }
.toast-in       { animation: toastIn 0.35s cubic-bezier(0.34,1.56,0.64,1) both; }
.toast-out      { animation: toastOut 0.28s ease both; }
.pulse-dot      { animation: pulse 2s infinite; }
.orb-1          { animation: orbFloat 8s ease-in-out infinite alternate; }
.orb-2          { animation: orbFloat 8s ease-in-out infinite alternate -4s; }
.orb-3          { animation: orbFloat 8s ease-in-out infinite alternate -2s; }

/* ══════════════════════════════════════════════
   TOAST ZONE
══════════════════════════════════════════════ */
#toast-zone {
  position: fixed; top: 1.5rem; right: 1.5rem;
  z-index: 9999; display: flex; flex-direction: column; gap: 0.625rem;
  pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-sm); box-shadow: var(--shadow-lg);
  font-size: 0.875rem; font-weight: 600;
  pointer-events: auto; min-width: 260px;
  color: var(--text);
}
.toast i { font-size: 1rem; flex-shrink: 0; }
.toast.success i { color: var(--nnn); }
.toast.error   i { color: var(--gmn); }
.toast.info    i { color: var(--gold); }

/* ══════════════════════════════════════════════
   NAV
══════════════════════════════════════════════ */
.nav {
  position: sticky; top: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.25rem; height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) { .nav { padding: 0 2.5rem; } }

.nav-logo {
  display: flex; align-items: center; gap: 0.75rem; cursor: pointer;
}
.nav-logo-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gmn), #8B0050);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display); font-size: 19px; font-weight: 900;
  color: #fff; box-shadow: 0 4px 14px rgba(212,0,106,0.35);
}
.nav-logo-text {
  font-family: var(--ff-display); font-size: 17px; font-weight: 700;
  letter-spacing: -0.01em; color: var(--text);
}
.nav-logo-text span { color: var(--gmn); }

.nav-links {
  display: none; align-items: center; gap: 0.25rem;
}
@media (min-width: 768px) { .nav-links { display: flex; } }

.nav-link {
  padding: 0.5rem 1rem; border-radius: var(--r-sm);
  font-size: 0.875rem; font-weight: 600; color: var(--text-2);
  transition: var(--transition);
}
.nav-link:hover { color: var(--gmn); background: var(--gmn-light); }

.nav-actions { display: flex; align-items: center; gap: 0.625rem; }

.btn-outline {
  padding: 0.5rem 1.25rem; border-radius: var(--r-sm);
  border: 1.5px solid var(--border);
  font-size: 0.875rem; font-weight: 700; color: var(--text);
  transition: var(--transition);
}
.btn-outline:hover { border-color: var(--gmn); color: var(--gmn); }

.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1.25rem; border-radius: var(--r-sm);
  background: var(--gmn); color: #fff;
  font-size: 0.875rem; font-weight: 700;
  box-shadow: 0 6px 20px rgba(212,0,106,0.28);
  transition: var(--transition);
}
.btn-primary:hover { background: var(--gmn-hover); transform: translateY(-2px); }

.btn-icon {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9375rem; color: var(--text-2);
  transition: var(--transition);
}
.btn-icon:hover { border-color: var(--gmn); color: var(--gmn); background: var(--gmn-light); }

.btn-icon-sq {
  width: 38px; height: 38px; border-radius: var(--r-sm);
  background: var(--surface-2); color: var(--text-2);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.btn-icon-sq:hover { background: var(--gmn-light); color: var(--gmn); }
.btn-icon-sq.danger:hover { background: rgba(220,38,38,0.1); color: var(--destructive); }

/* ══════════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════════ */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 5rem 1.5rem;
  position: relative; overflow: hidden;
}
.hero-orb {
  position: absolute; border-radius: 50%;
  pointer-events: none; filter: blur(80px);
}
.hero-orb-1 { width: 600px; height: 600px; background: var(--gmn); opacity: 0.12; top: -10%; left: -15%; }
.hero-orb-2 { width: 500px; height: 500px; background: var(--nnn); opacity: 0.12; bottom: -15%; right: -10%; }
.hero-orb-3 { width: 350px; height: 350px; background: var(--gold); opacity: 0.07; top: 30%; right: 5%; }

/* ── Mobile: reduce hero orb blur to prevent GPU rendering issues ── */
@media (max-width: 768px) {
  .hero-orb-1 { filter: blur(40px); width: 300px; height: 300px; }
  .hero-orb-2 { filter: blur(40px); width: 250px; height: 250px; }
  .hero-orb-3 { filter: blur(30px); width: 175px; height: 175px; }
}


.hero-badge {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1.25rem; border-radius: 99px;
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-xs); font-size: 0.75rem;
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-2); margin-bottom: 2.25rem;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--nnn);
}

.hero-title {
  position: relative; z-index: 1;
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 6.5vw, 4.8rem);
  font-weight: 900; line-height: 1.1; letter-spacing: -0.02em;
  color: var(--text); max-width: 900px;
  opacity: 1;
  animation: fadeUp 0.7s ease forwards 0.1s;
}
.hero-title .gradient-text {
  font-style: italic;
  background: linear-gradient(135deg, var(--gmn), #ff4da6);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  position: relative; z-index: 1;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--text-2); max-width: 540px;
  margin: 1.5rem auto 3rem; line-height: 1.7;
  opacity: 1;
  animation: fadeUp 0.7s ease forwards 0.2s;
}
.hero-ctas {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; gap: 0.875rem;
  justify-content: center; opacity: 1; animation: fadeUp 0.7s ease forwards 0.3s;
}

/* ── Android app download CTA — Lemon Green premium button ── */
.hero-app-cta {
  position: relative; z-index: 1;
  margin-top: 1.5rem;
  display: flex; justify-content: center;
  opacity: 0; animation: fadeUp 0.7s ease forwards 0.5s;
}
.btn-download-android {
  display: inline-flex; align-items: center; gap: 0.875rem;
  padding: 0.875rem 1.5rem 0.875rem 1.125rem;
  background: linear-gradient(135deg, #7CB518 0%, #5A8A0E 100%);
  color: #fff;
  border-radius: 16px;
  text-decoration: none;
  font-family: inherit;
  box-shadow: 0 8px 24px rgba(124,181,24,0.32), 0 2px 6px rgba(0,0,0,0.04);
  transition: transform 0.2s cubic-bezier(.2,.7,.3,1), box-shadow 0.2s ease, background 0.2s ease;
  border: 1px solid rgba(255,255,255,0.12);
  position: relative;
  overflow: hidden;
}
.btn-download-android::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0));
  pointer-events: none;
}
.btn-download-android:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(124,181,24,0.42), 0 4px 12px rgba(0,0,0,0.06);
  background: linear-gradient(135deg, #8AC823 0%, #6B9D11 100%);
}
.btn-download-android:active { transform: translateY(0); }
.btn-download-icon {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.18);
  border-radius: 12px;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.btn-download-text {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1px;
  line-height: 1.2;
}
.btn-download-line1 {
  font-weight: 800; font-size: 1rem; letter-spacing: 0.01em;
}
.btn-download-line2 {
  font-weight: 500; font-size: 0.7rem; opacity: 0.92;
  letter-spacing: 0.02em;
}
.btn-download-arrow {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.16);
  border-radius: 50%;
  font-size: 0.75rem;
  margin-left: 0.25rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.btn-download-android:hover .btn-download-arrow { transform: translateX(3px); }
@media (max-width: 480px) {
  .btn-download-android { padding: 0.75rem 1.125rem 0.75rem 0.875rem; gap: 0.75rem; }
  .btn-download-icon { width: 38px; height: 38px; font-size: 1.15rem; }
  .btn-download-line1 { font-size: 0.9rem; }
  .btn-download-line2 { font-size: 0.65rem; }
}

.hero-trust {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 1rem 1.5rem; margin-top: 3rem; justify-content: center;
  opacity: 1; animation: fadeUp 0.7s ease forwards 0.45s;
}
.hero-trust-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8125rem; color: var(--text-3); font-weight: 600;
}
.hero-trust-item i { color: var(--gmn); font-size: 0.875rem; }
.hero-trust-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--border-2); }

/* ══════════════════════════════════════════════
   STATS STRIP
══════════════════════════════════════════════ */
.stats-strip {
  background: var(--text); color: #fff;
  padding: 2.25rem 1.25rem;
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap;
}
.stat-item {
  flex: 1; min-width: 140px;
  text-align: center; padding: 0.75rem 1.25rem;
}
.stat-item + .stat-item { border-left: 1px solid rgba(255,255,255,0.1); }
.stat-number {
  font-family: var(--ff-display); font-size: 2.4rem;
  font-weight: 900; letter-spacing: -0.03em; line-height: 1;
}
.stat-number.gmn { color: var(--gmn); }
.stat-number.nnn { color: #8ed431; }
.stat-label {
  font-size: 0.78rem; font-weight: 600;
  opacity: 0.6; margin-top: 0.375rem;
  text-transform: uppercase; letter-spacing: 0.06em;
}

/* ══════════════════════════════════════════════
   SECTIONS
══════════════════════════════════════════════ */
.section { padding: 6rem 1.25rem; }
@media (min-width: 768px) { .section { padding: 6rem 2.5rem; } }
.section-inner { max-width: 1160px; margin: 0 auto; text-align: center; }
.section-inner-1020 { max-width: 1020px; margin: 0 auto; text-align: center; }

.section-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 1rem; border-radius: 99px;
  font-size: 0.6875rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1.25rem;
}
.section-badge.gmn { background: var(--gmn-light); color: var(--gmn); border: 1px solid rgba(212,0,106,0.15); }
.section-badge.nnn { background: var(--nnn-light); color: var(--nnn); border: 1px solid rgba(124,181,24,0.15); }
.section-badge.gold { background: var(--gold-light); color: var(--gold); border: 1px solid rgba(160,120,48,0.2); }

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; color: var(--text);
}
.section-desc {
  font-size: 1.05rem; color: var(--text-2);
  line-height: 1.7; max-width: 620px; margin: 1rem auto 0;
}

/* Divider */
.divider { height: 1px; background: var(--border); }

/* ══════════════════════════════════════════════
   ABOUT PILLS
══════════════════════════════════════════════ */
.pill-group { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; justify-content: center; }
.pill {
  display: inline-flex; align-items: center; gap: 0.625rem;
  padding: 0.75rem 1.25rem; border-radius: 99px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 0.875rem; font-weight: 700; color: var(--text);
  box-shadow: var(--shadow-xs); transition: var(--transition); cursor: default;
}
.pill:hover { border-color: var(--gmn); color: var(--gmn); background: var(--gmn-light); transform: translateY(-2px); }

/* ══════════════════════════════════════════════
   PATHWAY CARDS
══════════════════════════════════════════════ */
.pathways-bg { background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pathways-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1.75rem; margin-top: 3rem; text-align: left;
}
@media (min-width: 768px) { .pathways-grid { grid-template-columns: 1fr 1fr; } }

.pathway-card {
  border-radius: var(--r-lg); padding: 2.5rem;
  background: var(--surface); position: relative; overflow: hidden;
  transition: var(--transition);
}
.pathway-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pathway-card.gmn { border: 2px solid var(--gmn-mid); }
.pathway-card.nnn { border: 2px solid var(--nnn-mid); }
.pathway-card-glow {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.03;
}
.pathway-card.gmn .pathway-card-glow { background: linear-gradient(135deg, var(--gmn), transparent); }
.pathway-card.nnn .pathway-card-glow { background: linear-gradient(135deg, var(--nnn), transparent); }
.pathway-card-head { display: flex; align-items: center; gap: 0.875rem; margin-bottom: 1.5rem; }
.pathway-icon {
  width: 56px; height: 56px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.375rem; flex-shrink: 0;
}
.pathway-icon.gmn { background: var(--gmn-light); color: var(--gmn); }
.pathway-icon.nnn { background: var(--nnn-light); color: var(--nnn); }
.pathway-card-title { font-family: var(--ff-display); font-size: 1.5rem; font-weight: 700; line-height: 1.25; }
.pathway-card-age { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-3); margin-top: 0.125rem; }

.feature-list { list-style: none; margin-bottom: 1.75rem; }
.feature-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.625rem 0; border-bottom: 1px solid var(--border);
  font-size: 0.9rem; font-weight: 500; color: var(--text-2);
}
.feature-item:last-child { border-bottom: 0; }
.feature-check { font-size: 0.75rem; flex-shrink: 0; }
.feature-check.gmn { color: var(--gmn); }
.feature-check.nnn { color: var(--nnn); }

.btn-pathway {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 0.875rem 1.25rem; border-radius: var(--r-sm);
  font-size: 0.875rem; font-weight: 800; color: #fff;
  transition: var(--transition);
}
.btn-pathway.gmn { background: var(--gmn); box-shadow: 0 6px 20px rgba(212,0,106,0.25); }
.btn-pathway.gmn:hover { background: var(--gmn-hover); transform: translateY(-2px); }
.btn-pathway.nnn { background: var(--nnn); box-shadow: 0 6px 20px rgba(124,181,24,0.25); }
.btn-pathway.nnn:hover { background: var(--nnn-hover); transform: translateY(-2px); }

/* ══════════════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════════════ */
.steps-grid {
  display: grid; gap: 1.5rem; margin-top: 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .steps-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }

.step-card {
  padding: 2.25rem; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--border);
  text-align: center; position: relative; overflow: hidden;
  transition: var(--transition);
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.step-number {
  position: absolute; top: 1.25rem; right: 1.25rem;
  font-family: var(--ff-display); font-size: 3.5rem; font-weight: 900;
  opacity: 0.05; color: var(--gmn); line-height: 1;
}
.step-icon {
  width: 64px; height: 64px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin: 0 auto 1.25rem;
}
.step-icon.gmn    { background: var(--gmn-light); color: var(--gmn); }
.step-icon.nnn    { background: var(--nnn-light); color: var(--nnn); }
.step-icon.gold   { background: var(--gold-light); color: var(--gold); }
.step-icon.muted  { background: var(--surface-3); color: var(--text-2); }
.step-title { font-family: var(--ff-display); font-size: 1.25rem; font-weight: 700; margin-bottom: 0.625rem; }
.step-desc  { font-size: 0.875rem; color: var(--text-2); line-height: 1.65; }

/* ══════════════════════════════════════════════
   PILLARS (dark section)
══════════════════════════════════════════════ */
.pillars-section {
  padding: 6rem 1.25rem; text-align: center;
  background: linear-gradient(135deg, #100C08, #1C0810, #091500);
  border-top: 1px solid rgba(255,255,255,0.05);
}
@media (min-width: 768px) { .pillars-section { padding: 6rem 2.5rem; } }
.pillars-title { color: #F5EFE8; }
.pillars-desc  { color: rgba(245,239,232,0.6); }

.pillars-grid { display: flex; flex-wrap: wrap; gap: 0.875rem; justify-content: center; margin-top: 2.75rem; max-width: 840px; margin-left: auto; margin-right: auto; }
.pillar-chip {
  display: inline-flex; align-items: center; gap: 0.625rem;
  padding: 0.875rem 1.25rem; border-radius: var(--r-sm);
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  font-size: 0.875rem; font-weight: 600;
  color: rgba(245,239,232,0.85); backdrop-filter: blur(16px);
  transition: var(--transition); cursor: default;
}
.pillar-chip:hover { border-color: var(--gmn); background: rgba(212,0,106,0.12); color: #fff; }
.pillar-chip i { color: var(--gmn); }

/* ══════════════════════════════════════════════
   CTA SECTION
══════════════════════════════════════════════ */
.cta-section {
  padding: 6rem 1.25rem; text-align: center;
  background: linear-gradient(135deg, var(--gmn-light), var(--nnn-light));
  border-top: 1px solid var(--border);
}
@media (min-width: 768px) { .cta-section { padding: 6rem 2.5rem; } }
.cta-btns { display: flex; flex-wrap: wrap; gap: 0.875rem; justify-content: center; margin-top: 2.75rem; }

.btn-gmn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 1rem 2.25rem; border-radius: var(--r-sm);
  background: var(--gmn); color: #fff;
  font-size: 0.9375rem; font-weight: 800;
  box-shadow: 0 8px 28px rgba(212,0,106,0.32);
  transition: var(--transition);
}
.btn-gmn:hover { background: var(--gmn-hover); transform: translateY(-4px); box-shadow: 0 14px 40px rgba(212,0,106,0.42); }
.btn-gmn.sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; box-shadow: 0 6px 20px rgba(212,0,106,0.28); }
.btn-gmn.sm:hover { transform: translateY(-2px); }

.btn-nnn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 1rem 2.25rem; border-radius: var(--r-sm);
  background: var(--nnn); color: #fff;
  font-size: 0.9375rem; font-weight: 800;
  box-shadow: 0 8px 28px rgba(124,181,24,0.32);
  transition: var(--transition);
}
.btn-nnn:hover { background: var(--nnn-hover); transform: translateY(-4px); box-shadow: 0 14px 40px rgba(124,181,24,0.42); }
.btn-nnn.sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; box-shadow: 0 6px 20px rgba(124,181,24,0.28); }
.btn-nnn.sm:hover { transform: translateY(-2px); }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.footer {
  background: var(--text); color: rgba(255,255,255,0.55);
  padding: 3rem 1.25rem;
}
@media (min-width: 768px) { .footer { padding: 3rem 2.5rem; } }
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 2rem; flex-wrap: wrap; margin-bottom: 2.5rem;
}
.footer-brand-desc { font-size: 0.84rem; margin-top: 0.625rem; max-width: 300px; line-height: 1.7; }
.footer-col h4 {
  font-size: 0.75rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.08em; color: rgba(255,255,255,0.35); margin-bottom: 0.875rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col a { font-size: 0.84rem; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.75rem; font-size: 0.8125rem;
}

/* ══════════════════════════════════════════════
   AUTH MODAL
══════════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 8000;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 1rem;
}
@media (min-width: 640px) { .modal-overlay { align-items: center; padding: 1.5rem; } }
.modal-box {
  background: var(--surface); width: 100%; max-width: 460px;
  max-height: 85vh; overflow-y: auto;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding: 2rem; position: relative;
}
@media (min-width: 640px) { .modal-box { border-radius: var(--r-xl); } }
.modal-handle {
  width: 44px; height: 4px; background: var(--border-2);
  border-radius: 99px; margin: 0 auto 1.75rem;
}
.modal-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--surface-2); color: var(--text-3);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem; transition: var(--transition);
}
.modal-close:hover { background: var(--gmn-light); color: var(--gmn); }

.auth-tabs {
  display: flex; background: var(--surface-2);
  border-radius: var(--r-sm); padding: 0.25rem; margin-bottom: 1.75rem;
}
.auth-tab {
  flex: 1; padding: 0.625rem; text-align: center;
  border-radius: var(--r-xs); font-size: 0.875rem; font-weight: 700;
  color: var(--text-3); transition: var(--transition);
}
.auth-tab.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-xs); }

.form-label {
  display: block; font-size: 0.6875rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-3); margin-bottom: 0.5rem;
}
.form-input {
  width: 100%; padding: 0.75rem 1rem;
  border-radius: var(--r-sm); border: 1.5px solid var(--border);
  background: var(--surface); color: var(--text); font-size: 0.875rem;
  transition: var(--transition);
}
.form-input:focus { border-color: var(--gmn); }
.form-input::placeholder { color: var(--text-4); }
textarea.form-input { min-height: 100px; resize: vertical; }

.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.role-btn {
  padding: 0.625rem 0.75rem; border-radius: var(--r-sm);
  border: 2px solid var(--border); font-size: 0.75rem; font-weight: 700;
  text-align: center; text-transform: capitalize; color: var(--text-2);
  transition: var(--transition);
}
.role-btn.active { border-color: var(--gmn); background: var(--gmn-light); color: var(--gmn); }
.role-btn:hover:not(.active) { border-color: var(--gmn-mid); }
.role-btn i { display: block; font-size: 1.25rem; margin-bottom: 0.25rem; }

.pathway-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.pathway-btn {
  padding: 1rem; border-radius: var(--r-sm); border: 2px solid var(--border);
  text-align: center; transition: var(--transition);
}
.pathway-btn:hover { transform: translateY(-2px); }
.pathway-btn.gmn.active { border-color: var(--gmn); background: var(--gmn-light); }
.pathway-btn.nnn.active { border-color: var(--nnn); background: var(--nnn-light); }
.pathway-btn i { font-size: 1.25rem; display: block; margin-bottom: 0.5rem; }
.pathway-btn.gmn i { color: var(--gmn); }
.pathway-btn.nnn i { color: var(--nnn); }
.pathway-btn h4 { font-size: 0.8125rem; font-weight: 800; }
.pathway-btn p  { font-size: 0.6875rem; color: var(--text-3); margin-top: 0.25rem; }

.btn-google {
  width: 100%; padding: 0.75rem; border-radius: var(--r-sm);
  border: 1.5px solid var(--border); background: var(--surface);
  display: flex; align-items: center; justify-content: center; gap: 0.75rem;
  font-size: 0.875rem; font-weight: 700; color: var(--text);
  transition: var(--transition);
}
.btn-google:hover { border-color: var(--text-3); box-shadow: var(--shadow-sm); }

.divider-line {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.75rem; font-weight: 600;
  color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em;
  margin: 1.25rem 0;
}
.divider-line::before, .divider-line::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

.btn-submit-gmn {
  width: 100%; padding: 0.875rem; border-radius: var(--r-sm);
  background: var(--gmn); color: #fff; font-size: 0.9375rem; font-weight: 800;
  box-shadow: 0 6px 20px rgba(212,0,106,0.28); transition: var(--transition);
  margin-top: 0.5rem;
}
.btn-submit-gmn:hover { background: var(--gmn-hover); transform: translateY(-2px); }
.btn-submit-nnn {
  width: 100%; padding: 0.875rem; border-radius: var(--r-sm);
  background: var(--nnn); color: #fff; font-size: 0.9375rem; font-weight: 800;
  box-shadow: 0 6px 20px rgba(124,181,24,0.28); transition: var(--transition);
  margin-top: 0.5rem;
}
.btn-submit-nnn:hover { background: var(--nnn-hover); transform: translateY(-2px); }

.auth-switch { font-size: 0.78rem; color: var(--text-3); text-align: center; margin-top: 1rem; }
.auth-switch a { color: var(--gmn); font-weight: 700; cursor: pointer; }

/* ══════════════════════════════════════════════
   DASHBOARD SHARED
══════════════════════════════════════════════ */
.dash-header {
  position: sticky; top: 0; z-index: 400;
  background: color-mix(in srgb, var(--surface) 95%, transparent);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
}
.dash-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.25rem; height: var(--nav-h);
  max-width: 1100px; margin: 0 auto;
}

.badge-pathway {
  padding: 0.25rem 0.75rem; border-radius: 99px;
  font-size: 0.6875rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.badge-pathway.gmn { background: var(--gmn-light); color: var(--gmn); }
.badge-pathway.nnn { background: var(--nnn-light); color: var(--nnn); }
.badge-pathway.tutor { background: var(--nnn-light); color: var(--nnn); }
.badge-pathway.admin { background: var(--gold-light); color: var(--gold); }

.dash-main { max-width: 1000px; margin: 0 auto; padding: 1.75rem 1.25rem 6rem; }

/* Bottom Nav */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 300;
  background: var(--surface); border-top: 1px solid var(--border);
  display: flex; height: var(--bottom-nav-h);
  box-shadow: 0 -8px 32px rgba(0,0,0,0.07);
  padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav-item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.25rem; font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--text-3); transition: var(--transition);
}
.bottom-nav-item.active.gmn { color: var(--gmn); }
.bottom-nav-item.active.nnn { color: var(--nnn); }
.bottom-nav-item i { font-size: 1.25rem; transition: transform 0.22s; }
.bottom-nav-item.active i { transform: scale(1.15); }

/* Notification dot */
.notif-btn { position: relative; }
.notif-dot {
  position: absolute; top: 6px; right: 6px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gmn); border: 2px solid var(--surface);
}

/* ══════════════════════════════════════════════
   HERO BANNER (dashboard)
══════════════════════════════════════════════ */
.dash-banner {
  border-radius: var(--r-lg); padding: 2rem;
  color: #fff; margin-bottom: 1.5rem; position: relative; overflow: hidden;
}
.dash-banner.gmn { background: linear-gradient(135deg, var(--gmn), #a0004f); }
.dash-banner.nnn { background: linear-gradient(135deg, var(--nnn), #4a7009); }
.dash-banner-orb {
  position: absolute; top: -30%; right: -5%;
  width: 220px; height: 220px; border-radius: 50%;
  background: rgba(255,255,255,0.07);
}
.dash-banner-content { position: relative; z-index: 1; }
.dash-banner h2 { font-family: var(--ff-display); font-size: 1.65rem; font-weight: 700; line-height: 1.3; margin-bottom: 0.375rem; }
.dash-banner p { font-size: 0.875rem; opacity: 0.8; }
.streak-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 1rem; border-radius: 99px;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(8px);
  font-size: 0.78rem; font-weight: 700; margin-top: 1rem;
}

/* ══════════════════════════════════════════════
   STAT CARDS
══════════════════════════════════════════════ */
.stats-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.875rem; margin-bottom: 1.5rem; }
.stats-grid-4 { display: grid; grid-template-columns: repeat(2,1fr); gap: 0.875rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .stats-grid-4 { grid-template-columns: repeat(4,1fr); } }

.stat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 1.25rem; text-align: center;
  transition: var(--transition);
}
.stat-card:hover { border-color: var(--gmn-mid); box-shadow: var(--shadow-sm); }
.stat-card-num {
  font-family: var(--ff-display); font-size: 2.1rem;
  font-weight: 900; letter-spacing: -0.03em; line-height: 1;
}
.stat-card-num.gmn  { color: var(--gmn); }
.stat-card-num.nnn  { color: var(--nnn); }
.stat-card-num.gold { color: var(--gold); }
.stat-card-label {
  font-size: 0.6875rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--text-3); margin-top: 0.375rem;
}

/* ══════════════════════════════════════════════
   CARDS
══════════════════════════════════════════════ */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 1.5rem;
}
.card-title {
  font-size: 0.9375rem; font-weight: 800; margin-bottom: 1.25rem;
}
.card-subtitle {
  font-size: 0.6875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-3);
}

/* ══════════════════════════════════════════════
   PROGRESS BARS
══════════════════════════════════════════════ */
.prog-bar { height: 8px; background: var(--surface-3); border-radius: 99px; overflow: hidden; }
.prog-bar-fill {
  height: 100%; border-radius: 99px;
  transition: width 0.7s ease;
}
.prog-bar-fill.gmn { background: linear-gradient(90deg, var(--gmn), #ff4da6); }
.prog-bar-fill.nnn { background: linear-gradient(90deg, var(--nnn), #a3d84f); }
.prog-bar-fill.mixed { background: linear-gradient(90deg, var(--gmn), var(--nnn)); }

/* ══════════════════════════════════════════════
   QUICK ACCESS GRID
══════════════════════════════════════════════ */
.qa-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 1.5rem;
}
.qa-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 1.25rem;
  display: flex; align-items: center; gap: 0.875rem;
  text-align: left; transition: var(--transition);
}
.qa-card:hover { border-color: var(--gmn); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.qa-icon {
  width: 44px; height: 44px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; flex-shrink: 0;
}
.qa-icon.gmn  { background: var(--gmn-light); color: var(--gmn); }
.qa-icon.nnn  { background: var(--nnn-light); color: var(--nnn); }
.qa-icon.gold { background: var(--gold-light); color: var(--gold); }
.qa-icon.muted { background: var(--surface-2); color: var(--text-2); }
.qa-card h4 { font-size: 0.875rem; font-weight: 800; margin-bottom: 0.125rem; }
.qa-card p  { font-size: 0.75rem; color: var(--text-3); font-weight: 500; }

/* ══════════════════════════════════════════════
   COURSES / SKILLS
══════════════════════════════════════════════ */
.search-bar {
  display: flex; gap: 0.625rem; margin-bottom: 1.25rem; flex-wrap: wrap;
}
.search-input-wrap { flex: 1; min-width: 200px; position: relative; }
.search-input-wrap i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--text-3); font-size: 0.875rem; }
.search-input-wrap input { width: 100%; padding: 0.75rem 1rem 0.75rem 2.5rem; border-radius: var(--r-sm); border: 1.5px solid var(--border); background: var(--surface); color: var(--text); font-size: 0.875rem; transition: var(--transition); }
.search-input-wrap input:focus { border-color: var(--gmn); }
.filter-select { padding: 0.75rem 1rem; border-radius: var(--r-sm); border: 1.5px solid var(--border); background: var(--surface); color: var(--text); font-size: 0.875rem; transition: var(--transition); }
.filter-select:focus { border-color: var(--gmn); }

.track-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; overflow-x: auto; padding-bottom: 0.25rem; }
.track-tab {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1.25rem; border-radius: 99px;
  border: 1.5px solid var(--border);
  font-size: 0.8125rem; font-weight: 700; white-space: nowrap;
  color: var(--text-2); background: transparent; transition: var(--transition);
}
.track-tab.active { border-color: var(--gmn); background: var(--gmn-light); color: var(--gmn); }

.skills-group { margin-bottom: 2.5rem; }
.skills-group-header {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1.25rem; padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border);
}
.level-badge {
  padding: 0.25rem 0.75rem; border-radius: 99px;
  font-size: 0.71875rem; font-weight: 700;
}
.level-badge.beginner { background: #dcfce7; color: #15803d; }
.level-badge.intermediate { background: #dbeafe; color: #1d4ed8; }
.level-badge.advanced { background: #f3e8ff; color: #7c3aed; }
html.dark .level-badge.beginner { background: rgba(21,128,61,0.2); }
html.dark .level-badge.intermediate { background: rgba(29,78,216,0.2); }
html.dark .level-badge.advanced { background: rgba(124,58,237,0.2); }

.skills-group-title { font-family: var(--ff-display); font-size: 1.125rem; font-weight: 700; }
.skills-group-count { font-size: 0.8125rem; color: var(--text-3); font-weight: 600; }

.skills-grid {
  display: grid; gap: 0.875rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 480px) { .skills-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .skills-grid { grid-template-columns: repeat(4, 1fr); } }

.skill-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--r); padding: 1.25rem; text-align: center;
  position: relative; transition: var(--transition); cursor: pointer;
}
.skill-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gmn); }
.skill-card.done { border-color: var(--nnn); background: var(--nnn-light); }
.skill-done-badge {
  position: absolute; top: 10px; right: 10px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--nnn); color: #fff; font-size: 0.625rem;
  display: flex; align-items: center; justify-content: center;
}
.skill-icon {
  width: 52px; height: 52px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.375rem; margin: 0 auto 0.75rem;
}
.skill-icon.default { background: var(--gmn-light); color: var(--gmn); }
.skill-icon.done    { background: var(--nnn-light); color: var(--nnn); }
.skill-card h4 { font-size: 0.84rem; font-weight: 700; line-height: 1.35; }

/* ── Skill Modal ── */
.skill-modal-overlay {
  position: fixed; inset: 0; z-index: 7000;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(4px);
  display: flex; align-items: flex-end; justify-content: center; padding: 1rem;
}
@media (min-width: 640px) { .skill-modal-overlay { align-items: center; } }
.skill-modal-box {
  background: var(--surface); width: 100%; max-width: 480px;
  max-height: 85vh; overflow-y: auto;
  border-radius: var(--r-xl) var(--r-xl) 0 0; padding: 2rem;
}
@media (min-width: 640px) { .skill-modal-box { border-radius: var(--r-xl); } }
.skill-modal-icon {
  width: 64px; height: 64px; border-radius: var(--r-sm);
  background: var(--gmn-light); color: var(--gmn);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; margin-bottom: 1.25rem;
}
.skill-modal-title { font-family: var(--ff-display); font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.skill-modal-track { font-size: 0.75rem; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1rem; }
.skill-modal-desc { font-size: 0.9rem; color: var(--text-2); line-height: 1.7; margin-bottom: 1.25rem; }
.skill-resources { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.resource-chip {
  display: inline-flex; align-items: center; gap: 0.375rem;
  padding: 0.375rem 0.875rem; border-radius: 99px;
  background: var(--surface-2); border: 1px solid var(--border);
  font-size: 0.75rem; font-weight: 600; color: var(--text-2);
}

/* ══════════════════════════════════════════════
   PROGRESS VIEW
══════════════════════════════════════════════ */
.donut-container { position: relative; width: 160px; height: 160px; margin: 0 auto 0.5rem; }
.donut-svg { transform: rotate(-90deg); }
.donut-center {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.donut-pct { font-family: var(--ff-display); font-size: 2.2rem; font-weight: 900; color: var(--gmn); line-height: 1; }
.donut-label { font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-3); margin-top: 0.25rem; }

.completed-list { }
.completed-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 0; border-bottom: 1px solid var(--border);
  font-size: 0.875rem; font-weight: 500;
}
.completed-item:last-child { border-bottom: 0; }
.completed-item-icon {
  width: 32px; height: 32px; border-radius: var(--r-xs);
  background: var(--nnn-light); color: var(--nnn);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem; flex-shrink: 0;
}
.completed-item-name { flex: 1; }
.completed-item-meta { font-size: 0.71875rem; color: var(--text-3); font-weight: 600; }

/* ══════════════════════════════════════════════
   QUIZ
══════════════════════════════════════════════ */
.quiz-question { margin-bottom: 1.5rem; }
.quiz-question p { font-size: 0.875rem; font-weight: 700; margin-bottom: 0.75rem; }
.quiz-options { display: flex; flex-direction: column; gap: 0.5rem; }
.quiz-opt {
  text-align: left; padding: 0.75rem 1rem;
  border-radius: var(--r-sm); border: 1.5px solid var(--border);
  font-size: 0.875rem; font-weight: 500; color: var(--text);
  transition: var(--transition);
}
.quiz-opt:hover { border-color: var(--gmn-mid); }
.quiz-opt.selected { border-color: var(--gmn); background: var(--gmn-light); color: var(--gmn); }

.quiz-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem;
}
.quiz-result-badge {
  display: inline-flex; align-items: center; gap: 0.25rem;
  margin-top: 0.5rem; padding: 0.25rem 0.75rem;
  border-radius: 99px; font-size: 0.6875rem; font-weight: 700;
}
.quiz-result-badge.passed { background: var(--nnn-light); color: var(--nnn); }
.quiz-result-badge.failed { background: rgba(220,38,38,0.08); color: var(--destructive); }

/* ══════════════════════════════════════════════
   CERTIFICATE
══════════════════════════════════════════════ */
.cert-container {
  border: 3px solid var(--gmn); border-radius: var(--r-lg);
  padding: 2.5rem; text-align: center;
  background: linear-gradient(135deg, #fff8fb, #f0fde8);
  position: relative; overflow: hidden; margin-bottom: 1.25rem;
}
html.dark .cert-container { background: linear-gradient(135deg, #1a0510, #0a1400); }
.cert-watermark {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display); font-size: 12rem; font-weight: 900;
  opacity: 0.025; pointer-events: none; color: var(--gmn); user-select: none;
}
.cert-divider {
  height: 1px; margin: 1rem 0;
  background: linear-gradient(90deg, transparent, var(--gmn), transparent);
}
.cert-name { font-family: var(--ff-display); font-size: 2.2rem; font-weight: 900; color: var(--gmn); letter-spacing: -0.02em; margin-bottom: 1rem; line-height: 1.2; }
.cert-course { font-family: var(--ff-display); font-size: 1.25rem; font-weight: 700; margin-bottom: 1.25rem; line-height: 1.4; }
.cert-score-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1.25rem; border-radius: 99px;
  background: var(--nnn-light); color: var(--nnn);
  font-size: 0.8125rem; font-weight: 800;
  border: 1px solid var(--nnn-mid); margin-bottom: 1.25rem;
}
.cert-footer { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1rem; margin-top: 1.25rem; }
.cert-sig-line { height: 1.5px; background: var(--text); width: 120px; margin-bottom: 6px; }
.cert-sig-name { font-family: var(--ff-display); font-size: 0.6875rem; font-weight: 700; color: var(--text-2); }
.cert-sig-role { font-size: 0.625rem; color: var(--text-3); }

/* ══════════════════════════════════════════════
   MENTORSHIP
══════════════════════════════════════════════ */
.mentor-grid {
  display: grid; gap: 1rem; margin-bottom: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .mentor-grid { grid-template-columns: 1fr 1fr; } }
.mentor-cat-btn {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--r); padding: 1.25rem;
  text-align: left; transition: var(--transition);
}
.mentor-cat-btn:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.mentor-cat-btn.active { border-color: var(--gmn); background: var(--gmn-light); }
.mentor-cat-btn i { font-size: 1.25rem; color: var(--gmn); display: block; margin-bottom: 0.5rem; }
.mentor-cat-btn h4 { font-size: 0.875rem; font-weight: 800; margin-bottom: 0.25rem; }
.mentor-cat-btn p  { font-size: 0.75rem; color: var(--text-3); }

.request-list-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 0; border-bottom: 1px solid var(--border);
}
.request-list-item:last-child { border-bottom: 0; }
.status-pill {
  padding: 0.25rem 0.75rem; border-radius: 99px;
  font-size: 0.6875rem; font-weight: 700;
}
.status-pill.pending    { background: var(--gold-light); color: var(--gold); }
.status-pill.approved   { background: var(--nnn-light); color: var(--nnn); }
.status-pill.completed  { background: var(--gmn-light); color: var(--gmn); }
.status-pill.resolved   { background: var(--nnn-light); color: var(--nnn); }
.status-pill.in-progress { background: #dbeafe; color: #1d4ed8; }
html.dark .status-pill.in-progress { background: rgba(29,78,216,0.2); }

/* ══════════════════════════════════════════════
   ADMIN SIDEBAR
══════════════════════════════════════════════ */
.admin-layout { min-height: 100vh; display: flex; }
.admin-sidebar {
  width: var(--sidebar-w); background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; height: 100%; z-index: 100;
}
@media (max-width: 767px) { .admin-sidebar { display: none; } }
.admin-sidebar-logo {
  display: flex; align-items: center; gap: 0.625rem;
  padding: 0 1.25rem; height: var(--nav-h);
  border-bottom: 1px solid var(--border);
}
.admin-sidebar-name { font-family: var(--ff-display); font-size: 0.875rem; font-weight: 700; }
.admin-sidebar-sub  { font-size: 0.625rem; color: var(--text-3); font-weight: 600; }

.admin-sidebar-nav { flex: 1; padding: 1rem 0.75rem; display: flex; flex-direction: column; gap: 0.25rem; }
.sidebar-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.625rem 1rem; border-radius: var(--r-sm);
  font-size: 0.875rem; font-weight: 600; color: var(--text-2);
  transition: var(--transition);
}
.sidebar-item.active { background: var(--gmn-light); color: var(--gmn); }
.sidebar-item:hover:not(.active) { background: var(--surface-2); }
.sidebar-item i { width: 20px; text-align: center; }

.admin-sidebar-foot {
  padding: 1rem; border-top: 1px solid var(--border);
}
.admin-user-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.admin-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gmn), #8B0050);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display); font-size: 0.875rem; font-weight: 700; color: #fff;
}
.admin-user-name { font-size: 0.75rem; font-weight: 700; }
.admin-user-role { font-size: 0.625rem; color: var(--text-3); }
.admin-foot-actions { display: flex; gap: 0.5rem; }
.admin-foot-btn {
  flex: 1; padding: 0.375rem; border-radius: var(--r-xs);
  background: var(--surface-2); color: var(--text-3);
  font-size: 0.75rem; font-weight: 700; transition: var(--transition);
}
.admin-foot-btn:hover { color: var(--gmn); }
.admin-foot-btn.danger:hover { color: var(--destructive); }

.admin-main { flex: 1; padding: 1.5rem 2rem; }
@media (min-width: 768px) { .admin-main { margin-left: var(--sidebar-w); } }

/* Mobile admin tabs */
.admin-mobile-tabs {
  display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 1rem; margin-bottom: 1rem;
}
@media (min-width: 768px) { .admin-mobile-tabs { display: none; } }
.mobile-tab {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; border-radius: 99px; border: 1px solid var(--border);
  font-size: 0.75rem; font-weight: 700; white-space: nowrap; color: var(--text-2);
  transition: var(--transition);
}
.mobile-tab.active { border-color: var(--gmn); background: var(--gmn-light); color: var(--gmn); }

/* ══════════════════════════════════════════════
   TABLE
══════════════════════════════════════════════ */
.data-table {
  width: 100%; font-size: 0.875rem; border-collapse: collapse;
  overflow: hidden;
}
.data-table thead tr { border-bottom: 1px solid var(--border); background: var(--surface-2); }
.data-table th {
  text-align: left; padding: 0.75rem 1rem;
  font-weight: 700; font-size: 0.6875rem;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-3);
}
.data-table tbody tr { border-bottom: 1px solid var(--border); transition: var(--transition); }
.data-table tbody tr:last-child { border-bottom: 0; }
.data-table tbody tr:hover { background: var(--surface-2); }
.data-table td { padding: 0.75rem 1rem; }

/* ══════════════════════════════════════════════
   LEADERBOARD
══════════════════════════════════════════════ */
.lb-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.875rem 0; border-bottom: 1px solid var(--border);
}
.lb-item:last-child { border-bottom: 0; }
.lb-rank { width: 28px; font-family: var(--ff-display); font-size: 1rem; font-weight: 900; color: var(--text-3); text-align: center; }
.lb-rank.top1 { color: #FFD700; }
.lb-rank.top2 { color: #C0C0C0; }
.lb-rank.top3 { color: #CD7F32; }
.lb-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display); font-size: 0.875rem; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.lb-avatar.gmn { background: linear-gradient(135deg, var(--gmn), #8B0050); }
.lb-avatar.nnn { background: linear-gradient(135deg, var(--nnn), #4a7009); }
.lb-info { flex: 1; }
.lb-name { font-size: 0.875rem; font-weight: 700; }
.lb-meta { font-size: 0.71875rem; color: var(--text-3); }
.lb-score { font-family: var(--ff-display); font-size: 0.9375rem; font-weight: 900; color: var(--gmn); }

/* ══════════════════════════════════════════════
   CHART CANVAS containers
══════════════════════════════════════════════ */
.chart-wrap { position: relative; height: 250px; }
.chart-wrap-300 { position: relative; height: 300px; }
.chart-wrap-200 { position: relative; height: 200px; }

/* ══════════════════════════════════════════════
   EMPTY STATES
══════════════════════════════════════════════ */
.empty-state {
  text-align: center; padding: 4rem 1rem; color: var(--text-3);
}
.empty-state i { font-size: 2.5rem; opacity: 0.5; display: block; margin-bottom: 1rem; }
.empty-state h4 { font-size: 1rem; font-weight: 700; color: var(--text-2); margin-bottom: 0.5rem; }
.empty-state p  { font-size: 0.875rem; }

/* ══════════════════════════════════════════════
   NOTIFICATION DROPDOWN
══════════════════════════════════════════════ */
.notif-panel {
  position: absolute; top: calc(100% + 8px); right: 0;
  width: 320px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl); z-index: 600; overflow: hidden;
}
.notif-header {
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--border);
  font-size: 0.875rem; font-weight: 800;
}
.notif-item {
  padding: 0.875rem 1.25rem; border-bottom: 1px solid var(--border);
  font-size: 0.84rem; line-height: 1.5; transition: var(--transition);
}
.notif-item:last-child { border-bottom: 0; }
.notif-item:hover { background: var(--surface-2); }
.notif-item.unread { background: var(--gmn-light); }
.notif-item.unread:hover { background: color-mix(in srgb, var(--gmn-light) 80%, var(--surface)); }
.notif-time { font-size: 0.71875rem; color: var(--text-3); margin-top: 0.25rem; }

/* ══════════════════════════════════════════════
   PROFILE
══════════════════════════════════════════════ */
.profile-avatar {
  width: 88px; height: 88px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display); font-size: 2rem; font-weight: 700;
  color: #fff; box-shadow: 0 8px 28px rgba(212,0,106,0.3);
  margin: 0 auto 0.875rem;
}
.profile-avatar.gmn { background: linear-gradient(135deg, var(--gmn), #8B0050); }
.profile-avatar.nnn { background: linear-gradient(135deg, var(--nnn), #4a7009); }

/* ══════════════════════════════════════════════
   UTILITY
══════════════════════════════════════════════ */
.hidden { display: none !important; }
.text-gmn  { color: var(--gmn); }
.text-nnn  { color: var(--nnn); }
.text-gold { color: var(--gold); }
.text-2    { color: var(--text-2); }
.text-3    { color: var(--text-3); }
.section-heading { font-family: var(--ff-display); font-size: 2rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 0.25rem; }
.section-subheading { font-size: 0.9rem; color: var(--text-2); margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

@media (max-width: 479px) {
  .stats-grid-3 { grid-template-columns: repeat(3,1fr); gap: 0.5rem; }
  .stat-card { padding: 0.875rem 0.5rem; }
  .stat-card-num { font-size: 1.6rem; }
  .skills-grid { grid-template-columns: repeat(2,1fr); }
}

/* ══════════════════════════════════════════════
   FEATURE ADDITIONS — v8
   1. AI Chat  2. Lesson Viewer  3. Cert Polish
   4. Onboarding  5. Admin Analytics  6. More Drawer
   7. Dark Polish  8. Notif Toggle  9. Photo Upload
══════════════════════════════════════════════ */

/* ─── 1. AI MENTORSHIP CHAT ─── */
.chat-layout {
  display: flex; flex-direction: column;
  height: calc(100vh - var(--nav-h) - var(--bottom-nav-h) - 2rem);
  min-height: 480px;
}
.chat-messages {
  flex: 1; overflow-y: auto; padding: 1rem;
  display: flex; flex-direction: column; gap: 0.875rem;
  background: var(--bg); border-radius: var(--r-lg) var(--r-lg) 0 0;
  border: 1px solid var(--border); border-bottom: 0;
}
.chat-bubble {
  max-width: 82%; padding: 0.875rem 1.125rem;
  border-radius: var(--r-lg); font-size: 0.875rem;
  line-height: 1.65; position: relative;
  animation: fadeUp 0.3s ease both;
}
.chat-bubble.user {
  background: var(--gmn); color: #fff;
  border-radius: var(--r-lg) var(--r-lg) 4px var(--r-lg);
  align-self: flex-end;
  box-shadow: 0 4px 14px rgba(212,0,106,0.25);
}
.chat-bubble.assistant {
  background: var(--surface); color: var(--text);
  border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 4px;
  align-self: flex-start; border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.chat-bubble.assistant .chat-meta {
  display: flex; align-items: center; gap: 0.375rem;
  font-size: 0.6875rem; font-weight: 700;
  color: var(--gmn); margin-bottom: 0.375rem;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.chat-typing {
  display: flex; align-items: center; gap: 4px;
  padding: 0.875rem 1.125rem; background: var(--surface);
  border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 4px;
  align-self: flex-start; border: 1px solid var(--border);
  width: fit-content;
}
.chat-typing span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gmn); opacity: 0.6;
  animation: typingDot 1.2s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot {
  0%,80%,100% { transform: scale(0.7); opacity:0.4; }
  40%         { transform: scale(1.1); opacity:1;   }
}
.chat-input-bar {
  display: flex; align-items: flex-end; gap: 0.625rem;
  padding: 0.875rem 1rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.04);
}
.chat-input-bar textarea {
  flex: 1; background: var(--surface-2); border: 1.5px solid var(--border);
  border-radius: var(--r-sm); padding: 0.625rem 0.875rem;
  font-size: 0.875rem; font-family: var(--ff-body); color: var(--text);
  resize: none; min-height: 42px; max-height: 120px;
  line-height: 1.55; transition: var(--transition);
}
.chat-input-bar textarea:focus { border-color: var(--gmn); outline: none; }
.chat-input-bar textarea::placeholder { color: var(--text-4); }
.chat-send-btn {
  width: 42px; height: 42px; border-radius: var(--r-sm);
  background: var(--gmn); color: #fff; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; box-shadow: 0 4px 12px rgba(212,0,106,0.3);
  transition: var(--transition);
}
.chat-send-btn:hover { background: var(--gmn-hover); transform: translateY(-1px); }
.chat-send-btn:disabled { opacity: 0.5; transform: none; cursor: not-allowed; }
.chat-category-bar {
  display: flex; gap: 0.5rem; overflow-x: auto;
  padding: 0.875rem 0; margin-bottom: 1rem;
}
.chat-cat-pill {
  display: inline-flex; align-items: center; gap: 0.375rem;
  padding: 0.375rem 0.875rem; border-radius: 99px;
  border: 1.5px solid var(--border);
  font-size: 0.75rem; font-weight: 700; white-space: nowrap;
  color: var(--text-2); transition: var(--transition);
}
.chat-cat-pill.active { border-color: var(--gmn); background: var(--gmn-light); color: var(--gmn); }
.chat-empty {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--text-3); text-align: center; padding: 2rem;
}
.chat-empty i { font-size: 2.5rem; opacity: 0.35; margin-bottom: 1rem; color: var(--gmn); }
.chat-empty h4 { font-size: 1rem; font-weight: 700; color: var(--text-2); margin-bottom: 0.5rem; }
.chat-empty p  { font-size: 0.875rem; max-width: 280px; line-height: 1.6; }

/* ─── 2. LESSON VIEWER ─── */
.lesson-sidebar {
  display: none;
}
@media (min-width: 900px) {
  .lesson-layout { display: grid; grid-template-columns: 280px 1fr; gap: 1.5rem; }
  .lesson-sidebar { display: block; }
}
.lesson-nav-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1rem; border-radius: var(--r-sm);
  font-size: 0.875rem; font-weight: 600; color: var(--text-2);
  transition: var(--transition); cursor: pointer;
}
.lesson-nav-item:hover { background: var(--surface-2); }
.lesson-nav-item.active { background: var(--gmn-light); color: var(--gmn); font-weight: 700; }
.lesson-nav-item.done i.check { color: var(--nnn); }
.lesson-type-icon {
  width: 28px; height: 28px; border-radius: var(--r-xs);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; flex-shrink: 0;
}
.lesson-type-icon.video { background: rgba(212,0,106,0.12); color: var(--gmn); }
.lesson-type-icon.audio { background: rgba(124,181,24,0.12); color: var(--nnn); }
.lesson-type-icon.text  { background: rgba(160,120,48,0.12); color: var(--gold); }
.lesson-player {
  background: #000; border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem; position: relative;
}
.lesson-player-placeholder {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; color: rgba(255,255,255,0.5); gap: 0.75rem;
}
.lesson-player-placeholder i { font-size: 3rem; }
.lesson-play-btn {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(212,0,106,0.85); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; transition: var(--transition);
  box-shadow: 0 8px 32px rgba(212,0,106,0.45);
}
.lesson-play-btn:hover { background: var(--gmn); transform: scale(1.08); }
.lesson-content-body {
  font-size: 0.9375rem; line-height: 1.8; color: var(--text-2);
}
.lesson-content-body h3 {
  font-family: var(--ff-display); font-size: 1.25rem; font-weight: 700;
  color: var(--text); margin: 1.5rem 0 0.75rem;
}
.lesson-content-body p { margin-bottom: 1rem; }
.lesson-content-body ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.lesson-content-body ul li { margin-bottom: 0.5rem; }
.lesson-progress-bar {
  height: 4px; background: var(--border); border-radius: 99px;
  margin-bottom: 1.5rem; overflow: hidden;
}
.lesson-progress-fill {
  height: 100%; background: linear-gradient(90deg, var(--gmn), #ff4da6);
  border-radius: 99px; transition: width 0.5s ease;
}
.lesson-controls {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.75rem; flex-wrap: wrap; margin-top: 1.5rem;
  padding-top: 1.25rem; border-top: 1px solid var(--border);
}

/* ─── 3. CERTIFICATE POLISH ─── */
.cert-v2 {
  background: linear-gradient(145deg, #fff8fb 0%, #fdf4ff 50%, #f0fde8 100%);
  border: 0; border-radius: var(--r-xl); overflow: hidden;
  position: relative; margin-bottom: 1.25rem;
  box-shadow: 0 20px 80px rgba(212,0,106,0.15), 0 4px 24px rgba(0,0,0,0.06);
}
html.dark .cert-v2 {
  background: linear-gradient(145deg, #1a0510 0%, #140818 50%, #0a1400 100%);
}
.cert-v2-border {
  position: absolute; inset: 0; border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--gmn), transparent 40%, transparent 60%, var(--nnn));
  padding: 3px; -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.cert-v2-inner { padding: 3rem 2.5rem; position: relative; z-index: 1; }
.cert-v2-seal {
  position: absolute; bottom: 2rem; right: 2rem;
  width: 80px; height: 80px; opacity: 0.12; pointer-events: none;
}
.cert-v2-ribbon {
  position: absolute; top: 0; right: 2.5rem;
  width: 48px; display: flex; flex-direction: column;
  align-items: center;
}
.cert-v2-ribbon-body {
  width: 48px; background: linear-gradient(180deg, var(--gmn), #8B0050);
  padding: 0.5rem 0 1.5rem; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.25rem; clip-path: polygon(0 0,100% 0,100% 85%,50% 100%,0 85%);
}
.cert-v2-stars { display: flex; gap: 0.25rem; justify-content: center; margin-top: 0.875rem; }
.cert-v2-stars i { color: var(--gmn); font-size: 0.75rem; }
.cert-v2-heading {
  font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 0.25rem;
}
.cert-v2-awarded { font-size: 0.875rem; color: var(--text-2); font-weight: 500; }
.cert-v2-name {
  font-family: var(--ff-display); font-size: clamp(2rem,5vw,3rem);
  font-weight: 900; line-height: 1.1; letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--gmn), #ff4da6);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin: 0.5rem 0 1.25rem;
}
.cert-v2-divider {
  height: 1px; margin: 1.25rem 0;
  background: linear-gradient(90deg, transparent, var(--gmn) 30%, var(--nnn) 70%, transparent);
}
.cert-v2-track {
  font-family: var(--ff-display); font-size: 1.1rem; font-weight: 700;
  color: var(--text); margin-bottom: 0.25rem;
}
.cert-v2-programme {
  font-size: 0.875rem; color: var(--text-2); margin-bottom: 1.25rem;
}
.cert-v2-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.cert-v2-badge {
  display: inline-flex; align-items: center; gap: 0.375rem;
  padding: 0.375rem 0.875rem; border-radius: 99px;
  font-size: 0.75rem; font-weight: 700;
}
.cert-v2-badge.score { background: var(--nnn-light); color: var(--nnn); border: 1px solid var(--nnn-mid); }
.cert-v2-badge.skills { background: var(--gmn-light); color: var(--gmn); border: 1px solid var(--gmn-mid); }
.cert-v2-footer {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: end; gap: 1rem; margin-top: 1.5rem;
}
.cert-v2-sig { }
.cert-v2-sig-line { height: 1.5px; background: var(--text); width: 110px; margin-bottom: 5px; }
.cert-v2-sig-name { font-family: var(--ff-display); font-size: 0.6875rem; font-weight: 700; }
.cert-v2-sig-role { font-size: 0.6rem; color: var(--text-3); }
.cert-v2-logo-center {
  display: flex; flex-direction: column; align-items: center; gap: 0.25rem;
  justify-self: center;
}
.cert-v2-id { text-align: right; }
.cert-v2-id-label { font-size: 0.5625rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; }
.cert-v2-id-value { font-size: 0.6875rem; font-weight: 700; font-family: monospace; }
.cert-v2-date { font-size: 0.6875rem; color: var(--text-3); }

/* ─── 4. ONBOARDING ─── */
.onboarding-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.onboarding-box {
  background: var(--surface); border-radius: var(--r-xl);
  width: 100%; max-width: 540px; overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.onboarding-progress {
  height: 3px; background: var(--border);
}
.onboarding-progress-fill {
  height: 100%; background: linear-gradient(90deg, var(--gmn), var(--nnn));
  transition: width 0.5s ease;
}
.onboarding-body { padding: 2.5rem; }
.onboarding-step-badge {
  display: inline-flex; align-items: center; gap: 0.375rem;
  padding: 0.25rem 0.75rem; border-radius: 99px;
  background: var(--gmn-light); color: var(--gmn);
  font-size: 0.6875rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1.25rem;
}
.onboarding-icon {
  width: 72px; height: 72px; border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin-bottom: 1.25rem;
}
.onboarding-icon.gmn { background: var(--gmn-light); color: var(--gmn); }
.onboarding-icon.nnn { background: var(--nnn-light); color: var(--nnn); }
.onboarding-icon.gold { background: var(--gold-light); color: var(--gold); }
.onboarding-title {
  font-family: var(--ff-display); font-size: 1.75rem; font-weight: 800;
  line-height: 1.2; margin-bottom: 0.75rem; color: var(--text);
}
.onboarding-desc { font-size: 0.9375rem; color: var(--text-2); line-height: 1.7; margin-bottom: 1.75rem; }
.onboarding-options { display: flex; flex-direction: column; gap: 0.625rem; margin-bottom: 1.75rem; }
.onboarding-option {
  display: flex; align-items: center; gap: 0.875rem;
  padding: 1rem 1.125rem; border-radius: var(--r-sm);
  border: 2px solid var(--border); text-align: left;
  transition: var(--transition);
}
.onboarding-option:hover { border-color: var(--gmn-mid); background: var(--gmn-light); }
.onboarding-option.selected { border-color: var(--gmn); background: var(--gmn-light); }
.onboarding-option i { font-size: 1.25rem; color: var(--gmn); width: 24px; text-align: center; flex-shrink: 0; }
.onboarding-option-text h4 { font-size: 0.875rem; font-weight: 700; margin-bottom: 0.125rem; }
.onboarding-option-text p { font-size: 0.75rem; color: var(--text-3); }
.onboarding-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 2.5rem; border-top: 1px solid var(--border);
  background: var(--surface-2);
}
.onboarding-dots { display: flex; gap: 0.375rem; }
.onboarding-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--border-2); transition: var(--transition);
}
.onboarding-dot.active { background: var(--gmn); width: 20px; border-radius: 99px; }

/* ─── 5. ADMIN ANALYTICS — Africa Map + KPI Row ─── */
.kpi-row {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 0.875rem; margin-bottom: 1.5rem;
}
@media (min-width: 640px) { .kpi-row { grid-template-columns: repeat(4,1fr); } }
.kpi-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 1.25rem; overflow: hidden; position: relative;
}
.kpi-card-accent {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.kpi-card-accent.gmn  { background: linear-gradient(90deg, var(--gmn), #ff4da6); }
.kpi-card-accent.nnn  { background: linear-gradient(90deg, var(--nnn), #a3d84f); }
.kpi-card-accent.gold { background: linear-gradient(90deg, var(--gold), #e8b84b); }
.kpi-card-accent.blue { background: linear-gradient(90deg, #3b82f6, #8b5cf6); }
.kpi-value {
  font-family: var(--ff-display); font-size: 2rem; font-weight: 900;
  letter-spacing: -0.03em; line-height: 1; margin-bottom: 0.25rem;
}
.kpi-label { font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-3); }
.kpi-delta {
  display: inline-flex; align-items: center; gap: 0.25rem;
  font-size: 0.71875rem; font-weight: 700; margin-top: 0.375rem;
}
.kpi-delta.up   { color: var(--nnn); }
.kpi-delta.down { color: var(--destructive); }
.africa-map-container {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 1.5rem; margin-bottom: 1.5rem;
}
.africa-map-container svg { width: 100%; height: auto; max-height: 340px; }
.map-country { fill: var(--surface-3); stroke: var(--border); stroke-width: 0.5; transition: fill 0.3s; }
.map-country.has-data { cursor: pointer; }
.map-country.has-data:hover { opacity: 0.8; }
.map-tooltip {
  position: absolute; pointer-events: none; z-index: 1000;
  background: var(--text); color: #fff; padding: 0.5rem 0.875rem;
  border-radius: var(--r-sm); font-size: 0.75rem; font-weight: 700;
  box-shadow: var(--shadow-lg); white-space: nowrap;
}

/* ─── 6. MORE DRAWER (mobile) ─── */
.more-drawer-overlay {
  position: fixed; inset: 0; z-index: 800;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
}
.more-drawer {
  position: fixed; bottom: var(--bottom-nav-h); left: 0; right: 0; z-index: 900;
  background: var(--surface); border-top: 1px solid var(--border);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding: 1.25rem 1rem 1rem;
  box-shadow: 0 -12px 40px rgba(0,0,0,0.15);
  animation: slideUp 0.28s cubic-bezier(0.34,1.2,0.64,1) both;
}
.more-drawer-handle {
  width: 44px; height: 4px; background: var(--border-2);
  border-radius: 99px; margin: 0 auto 1.25rem;
}
.more-drawer-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 0.5rem;
}
.more-drawer-item {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.375rem; padding: 0.875rem 0.5rem; border-radius: var(--r-sm);
  font-size: 0.6875rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--text-3); transition: var(--transition);
}
.more-drawer-item.active.gmn { color: var(--gmn); background: var(--gmn-light); }
.more-drawer-item.active.nnn { color: var(--nnn); background: var(--nnn-light); }
.more-drawer-item:hover { background: var(--surface-2); }
.more-drawer-item i { font-size: 1.375rem; }

/* ─── 7. DARK MODE POLISH ─── */
html.dark .card { background: var(--surface); border-color: var(--border); }
html.dark .stat-card { background: var(--surface); }
html.dark .quiz-opt { background: var(--surface); }
html.dark .quiz-opt.selected { background: var(--gmn-light); }
html.dark .skill-card { background: var(--surface); }
html.dark .skill-card.done { background: var(--nnn-light); }
html.dark .form-input { background: var(--surface-2); border-color: var(--border); color: var(--text); }
html.dark .filter-select { background: var(--surface-2); border-color: var(--border); color: var(--text); }
html.dark .bottom-nav { background: var(--surface); border-color: var(--border); }
html.dark .dash-header { background: color-mix(in srgb, var(--surface) 95%, transparent); }
html.dark .modal-box { background: var(--surface); }
html.dark .admin-sidebar { background: var(--surface); }
html.dark .chat-messages { background: var(--bg); }
html.dark .chat-bubble.assistant { background: var(--surface-2); border-color: var(--border); }
html.dark .notif-panel { background: var(--surface); }
html.dark .onboarding-box { background: var(--surface); }
html.dark .more-drawer { background: var(--surface); }
html.dark .chart-wrap canvas,
html.dark .chart-wrap-300 canvas,
html.dark .chart-wrap-200 canvas { filter: brightness(0.92); }

/* ─── 8. NOTIFICATION TOGGLE ─── */
.notif-item-row {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.875rem 1.25rem; border-bottom: 1px solid var(--border);
  transition: var(--transition); cursor: pointer;
}
.notif-item-row:last-child { border-bottom: 0; }
.notif-item-row:hover { background: var(--surface-2); }
.notif-item-row.unread { background: var(--gmn-light); }
html.dark .notif-item-row.unread { background: color-mix(in srgb, var(--gmn-light) 60%, transparent); }
.notif-dot-indicator {
  width: 8px; height: 8px; border-radius: 50%; background: var(--gmn);
  flex-shrink: 0; margin-top: 4px;
}
.notif-dot-indicator.read { background: transparent; border: 1.5px solid var(--border-2); }
.notif-text { flex: 1; font-size: 0.84rem; line-height: 1.55; }
.notif-time-small { font-size: 0.6875rem; color: var(--text-3); margin-top: 0.25rem; }
.notif-mark-all {
  padding: 0.625rem 1.25rem; border-bottom: 1px solid var(--border);
  font-size: 0.75rem; font-weight: 700; color: var(--gmn);
  cursor: pointer; transition: var(--transition);
  display: flex; justify-content: flex-end;
}
.notif-mark-all:hover { background: var(--gmn-light); }

/* ─── 9. PHOTO UPLOAD ─── */
.avatar-upload-wrap {
  position: relative; width: 88px; height: 88px; margin: 0 auto 0.875rem; cursor: pointer;
}
.avatar-upload-wrap .profile-avatar { margin: 0; width: 88px; height: 88px; }
.avatar-upload-wrap img.avatar-photo {
  width: 88px; height: 88px; border-radius: 50%;
  object-fit: cover; display: block;
  box-shadow: 0 8px 28px rgba(212,0,106,0.3);
}
.avatar-upload-overlay {
  position: absolute; inset: 0; border-radius: 50%;
  background: rgba(0,0,0,0.45); display: flex; align-items: center;
  justify-content: center; opacity: 0; transition: var(--transition);
  color: #fff; font-size: 1.25rem;
}
.avatar-upload-wrap:hover .avatar-upload-overlay { opacity: 1; }
.avatar-upload-input { position: absolute; inset: 0; opacity: 0; cursor: pointer; border-radius: 50%; }
.avatar-upload-hint {
  font-size: 0.71875rem; color: var(--text-3); font-weight: 600;
  text-align: center; margin-top: 0.375rem;
}

/* ══════════════════════════════════════
   WODDI v5 — Additions
══════════════════════════════════════ */

/* Locked-course slide-up notice animation */
@keyframes slideUpNotice {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Course hub — locked card overlay style */
.skill-card.locked {
  opacity: 0.55;
  cursor: not-allowed;
  position: relative;
}
.skill-card.locked::after {
  content: '🔒';
  position: absolute;
  top: .5rem;
  right: .5rem;
  font-size: .75rem;
  line-height: 1;
}
.skill-card.locked:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* Admin portal link in nav (hidden by default, shown via JS if needed) */
.admin-portal-link {
  display: none;
}

/* Pathway btn — ensure pointer-events work inside modal */
.pathway-btn {
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}
.pathway-grid button {
  pointer-events: all;
}


/* ══════════════════════════════════════
   WODDI v5 Final — Admin + Forum + Market
══════════════════════════════════════ */

/* Loading spinner (used in admin async panels) */
.spinner-sm {
  width: 32px; height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--gmn);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Status pills for tickets */
.status-pill {
  display: inline-block;
  padding: .2rem .625rem;
  border-radius: 99px;
  font-size: .6875rem;
  font-weight: 700;
  text-transform: capitalize;
}
.status-pill.pending     { background: rgba(234,179,8,.12);  color: #ca8a04; }
.status-pill.in-progress { background: rgba(124,181,24,.12); color: var(--nnn); }
.status-pill.resolved    { background: rgba(124,181,24,.12); color: var(--nnn); }
.status-pill.open        { background: rgba(212,0,106,.10);  color: var(--gmn); }

/* Forum & Marketplace card hover */
.card { transition: border-color .2s; }

/* Forum post area */
.forum-composer { border: 1.5px solid var(--border); border-radius: var(--r); padding: .875rem; transition: border-color .2s; }
.forum-composer:focus-within { border-color: var(--gmn); }

/* ══════════════════════════════════════════
   MENTOR/MENTEE SYSTEM
══════════════════════════════════════════ */

.mentor-bubble {
  max-width: 82%;
  padding: .625rem .875rem;
  border-radius: var(--r);
  font-size: .9rem;
  line-height: 1.65;
  word-break: break-word;
}
.mentor-bubble p { margin: 0; }
.mentor-bubble-user {
  background: var(--gmn);
  color: #fff;
  border-radius: var(--r) var(--r) 0 var(--r);
  box-shadow: 0 2px 8px rgba(212,0,106,.25);
}
.mentor-bubble-bot {
  background: var(--surface-2);
  color: var(--text);
  border-radius: var(--r) var(--r) var(--r) 0;
  border: 1px solid var(--border);
}
html.dark .mentor-bubble-bot {
  background: var(--surface);
  border-color: var(--border);
}

.typing-dots {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: .125rem 0;
}
.typing-dots span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--text-3);
  animation: typingBounce 1.2s infinite;
}
.typing-dots span:nth-child(2) { animation-delay: .2s; }
.typing-dots span:nth-child(3) { animation-delay: .4s; }
@keyframes typingBounce {
  0%,60%,100% { transform: translateY(0); opacity:.5; }
  30%          { transform: translateY(-6px); opacity:1; }
}

#mentor-avatar.speaking {
  box-shadow: 0 0 0 4px var(--gmn), 0 8px 24px rgba(212,0,106,.4);
}

@keyframes pulse {
  0%,100% { opacity:1; }
  50%      { opacity:.4; }
}

#mentor-feed::-webkit-scrollbar { width: 4px; }
#mentor-feed::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 99px; }

.mentor-avatar-sm {
  width: 28px; height: 28px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════
   WODDI v5 FINAL — Forum + Radio + Chat
══════════════════════════════════════════ */

/* ── Forum ── */
.forum-card { margin-bottom: .875rem; transition: border-color .2s; }
.forum-card:hover { border-color: var(--gmn-mid); }
.forum-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .9375rem; font-weight: 800; flex-shrink: 0;
}
.forum-badge {
  display: inline-flex; align-items: center; gap: .2rem;
  font-size: .6rem; font-weight: 800; padding: .15rem .45rem;
  border-radius: 99px; letter-spacing: .04em;
}
.forum-badge.admin  { background: #22c55e; color: #fff; }
.forum-badge.tutor  { background: #3b82f6; color: #fff; }
.forum-badge.cert   { background: var(--nnn-light); color: var(--nnn); }
.forum-badge.learner{ background: var(--surface-2); color: var(--text-3); }

/* Forum create bar */
.forum-create-bar { cursor: default; transition: border-color .2s; }
.forum-create-bar:hover { border-color: var(--gmn-mid); }

/* ── Skeleton loaders ── */
.skeleton-list { display: flex; flex-direction: column; gap: .875rem; }
.skeleton-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 1.25rem;
}
.skeleton-line {
  height: 12px; border-radius: 6px;
  background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 50%, var(--surface-2) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  width: 100%; margin-bottom: .5rem;
}
.skeleton-circle {
  border-radius: 50%;
  background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 50%, var(--surface-2) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

/* ── Radio animations ── */
@keyframes radioSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes radioBar1 { 0%{height:6px} 100%{height:18px} }
@keyframes radioBar2 { 0%{height:10px} 100%{height:6px} }
@keyframes radioBar3 { 0%{height:14px} 100%{height:10px} }
@keyframes pulseGreen {
  0%,100% { opacity:1; }
  50%     { opacity:.3; }
}

/* Radio progress input */
#radio-progress, input[type=range] {
  -webkit-appearance: none;
  background: var(--border);
  border-radius: 99px;
}
#radio-progress::-webkit-slider-thumb, input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--gmn); cursor: pointer;
  box-shadow: 0 2px 6px rgba(212,0,106,.4);
}

/* ── Chat typing animation ── */
@keyframes typingBounce {
  0%,60%,100% { transform: translateY(0); opacity:.5; }
  30%         { transform: translateY(-6px); opacity:1; }
}

/* ── Dark mode overrides ── */
html.dark .forum-card { background: var(--surface); }
html.dark .skeleton-card { background: var(--surface); }
html.dark #radio-mini { background: var(--surface); }

/* ══════════════════════════════════════════
   WODDI RADIO v2 — Premium Dark Player
   Matches design reference: dark shell, 
   magenta gradient header, program cards
══════════════════════════════════════════ */

/* ── Shell ── */
.radio-shell {
  background: #0d0d1a;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin: -.5rem -1rem;
  padding-bottom: 4.5rem; /* space for mini-bar */
}

/* ── Header ── */
.radio-header {
  background: linear-gradient(135deg, #D4006A 0%, #8B0045 60%, #2d0026 100%);
  padding: 1.5rem 1.25rem 1.25rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.radio-header-title {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.02em;
}
.radio-header-sub {
  font-size: .75rem;
  color: rgba(255,255,255,.75);
  margin-top: .125rem;
  font-weight: 500;
}

/* ── Language button ── */
.radio-lang-btn {
  display: flex; align-items: center; gap: .375rem;
  background: rgba(0,0,0,.35); color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r-sm);
  padding: .5rem .875rem;
  font-size: .8125rem; font-weight: 700;
  cursor: pointer; font-family: inherit;
  backdrop-filter: blur(4px);
}
.radio-lang-dropdown {
  position: absolute; top: calc(100% + .375rem); right: 0;
  background: #1a1a2e; border: 1px solid #2a2a4a;
  border-radius: var(--r); overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,.6);
  z-index: 200; display: none; min-width: 160px;
}
.radio-lang-dropdown.open { display: block; }
.radio-lang-opt {
  display: flex; align-items: center; gap: .625rem;
  width: 100%; padding: .75rem 1rem;
  background: none; border: none; cursor: pointer;
  color: #ccc; font-size: .875rem; font-weight: 600;
  font-family: inherit; text-align: left;
  transition: background .15s;
}
.radio-lang-opt:hover { background: rgba(212,0,106,.15); }
.radio-lang-opt.active { color: #fff; background: rgba(212,0,106,.2); }

/* ── Main player area ── */
.radio-player-main {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.25rem;
  padding: 1.25rem;
  background: rgba(0,0,0,.3);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
@media(max-width: 480px) {
  .radio-player-main { grid-template-columns: 120px 1fr; gap: .875rem; }
}

/* ── Album cover ── */
.radio-cover-wrap {
  position: relative; border-radius: var(--r); overflow: hidden;
  aspect-ratio: 1; min-height: 110px;
}
.radio-cover-art {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .5rem;
  transition: animation .3s;
}
.radio-cover-logo { opacity: .9; }
.radio-cover-title {
  font-size: .75rem; font-weight: 800;
  color: #fff; text-align: center;
  padding: 0 .5rem; line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.radio-cover-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.4) 0%, transparent 60%);
}
@keyframes radioAlbumPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(212,0,106,.4); }
  50%     { box-shadow: 0 0 0 12px rgba(212,0,106,0); }
}

/* ── Controls panel ── */
.radio-controls-panel {
  display: flex; flex-direction: column; justify-content: space-between;
  gap: .625rem; min-width: 0;
}
.radio-track-sub {
  font-size: .9375rem; font-weight: 800; color: #fff;
  line-height: 1.3;
}
.radio-now-status {
  font-size: .75rem; font-weight: 700; color: #7CB518;
  margin-top: .2rem;
}

/* ── Progress ── */
.radio-progress-wrap { margin-top: .25rem; }
.radio-progress-bar, .radio-vol-bar {
  -webkit-appearance: none;
  width: 100%; height: 4px;
  border-radius: 99px;
  background: #2a2a4a;
  cursor: pointer; outline: none;
}
.radio-progress-bar { accent-color: #7CB518; }
.radio-vol-bar { accent-color: #7CB518; }
.radio-progress-bar::-webkit-slider-thumb,
.radio-vol-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff; cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,.4);
}
.radio-time { font-size: .6875rem; color: #666; font-weight: 600; }

/* ── Buttons ── */
.radio-btns {
  display: flex; align-items: center; gap: .625rem;
  margin-top: .375rem;
}
.radio-btn-sm {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: #aaa; cursor: pointer; font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.radio-btn-sm:hover { background: rgba(212,0,106,.2); color: #fff; border-color: #D4006A; }
.radio-btn-play {
  width: 52px; height: 52px; border-radius: 50%;
  background: #D4006A; color: #fff; border: none; cursor: pointer;
  font-size: 1.125rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(212,0,106,.5);
  transition: transform .15s, box-shadow .2s;
}
.radio-btn-play:hover { transform: scale(1.08); box-shadow: 0 8px 32px rgba(212,0,106,.6); }

/* ── Program cards ── */
.radio-tabs-row { padding: 1rem 1.25rem .875rem; }
.radio-programs {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: .625rem; margin-bottom: 1rem;
}
.radio-prog-btn {
  display: flex; flex-direction: column; align-items: flex-start;
  background: rgba(255,255,255,.04); border: 1.5px solid rgba(255,255,255,.08);
  border-radius: var(--r); overflow: hidden;
  cursor: pointer; transition: all .2s; padding: 0; text-align: left;
}
.radio-prog-btn:hover { border-color: rgba(212,0,106,.4); background: rgba(212,0,106,.06); }
.radio-prog-btn.active { border-color: #D4006A; background: rgba(212,0,106,.1); }
.radio-prog-thumb {
  width: 100%; height: 60px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.radio-prog-info { padding: .5rem .625rem; }
.radio-prog-name { font-size: .71875rem; font-weight: 800; color: #fff; }
.radio-prog-sub  { font-size: .5625rem;  color: #888; margin-top: .1rem; }

/* ── Tab buttons ── */
.radio-tab-btns { display: flex; gap: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.radio-tab-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: .375rem;
  padding: .75rem; background: none; border: none; border-bottom: 2px solid transparent;
  color: #666; font-size: .8125rem; font-weight: 700; cursor: pointer;
  transition: all .2s; font-family: inherit;
}
.radio-tab-btn:hover { color: #aaa; }
.radio-tab-btn.active { color: #D4006A; border-bottom-color: #D4006A; }
.radio-tab-btn i { font-size: .875rem; }

/* ── Track list ── */
.radio-track-list { padding: .625rem 1.25rem; }
.rp-playlist-item {
  display: flex; align-items: center; gap: .75rem;
  padding: .875rem .75rem; border-radius: var(--r);
  cursor: pointer; transition: background .2s;
}
.rp-playlist-item:hover { background: rgba(255,255,255,.04); }
.rp-playlist-active  { background: rgba(212,0,106,.1) !important; }
.rp-playlist-thumb {
  width: 44px; height: 44px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.rp-playlist-info { flex: 1; min-width: 0; }
.rp-playlist-title { font-size: .875rem; font-weight: 700; color: #e0e0e0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rp-playlist-sub   { font-size: .6875rem; color: #666; margin-top: .1rem; }

/* ── Equalizer bars ── */
.rp-equalizer { display: flex; gap: 2px; align-items: flex-end; height: 18px; flex-shrink: 0; }
.rp-equalizer span {
  width: 3px; border-radius: 99px; background: #7CB518;
}
.rp-equalizer span:nth-child(1) { animation: eqBar1 .6s ease infinite alternate; }
.rp-equalizer span:nth-child(2) { animation: eqBar2 .8s ease infinite alternate; }
.rp-equalizer span:nth-child(3) { animation: eqBar3 .7s ease infinite alternate; }
@keyframes eqBar1 { 0%{height:6px} 100%{height:16px} }
@keyframes eqBar2 { 0%{height:14px} 100%{height:6px} }
@keyframes eqBar3 { 0%{height:10px} 100%{height:18px} }

/* ── Mini bar (inside radio view) ── */
.radio-mini-bar {
  position: fixed; bottom: calc(var(--bottom-nav-h) + .5rem);
  left: 1rem; right: 1rem; max-width: 480px; margin: 0 auto;
  background: #1a1a2e; border: 1.5px solid #D4006A;
  border-radius: var(--r); padding: .625rem .875rem;
  display: flex; align-items: center; gap: .625rem;
  box-shadow: 0 8px 32px rgba(212,0,106,.3); z-index: 500;
}
.radio-mini-thumb {
  width: 38px; height: 38px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ── Admin button ── */
.radio-admin-btn {
  display: flex; align-items: center; justify-content: center;
  width: calc(100% - 2.5rem); margin: .25rem 1.25rem 1.25rem;
  padding: .75rem; border-radius: var(--r-sm);
  background: rgba(212,0,106,.15); color: #D4006A;
  border: 1px dashed rgba(212,0,106,.4);
  font-size: .875rem; font-weight: 700; cursor: pointer;
  font-family: inherit;
}

/* ── Dark mode preserves radio dark shell ── */
html.dark .radio-shell { background: #0d0d1a; }

/* ─── Featured Digital Marketing Course Card ────────────────────── */
.dm-feature-card {
  display: block; cursor: pointer;
  background: var(--surface); border: 2px solid var(--gmn-mid);
  border-radius: var(--r);
  overflow: hidden; margin-bottom: 1.5rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  width: 100%; text-align: left; padding: 0;
}
.dm-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(212, 0, 106, .25);
  border-color: var(--gmn);
}
.dm-feature-card.dm-feature-locked {
  opacity: .65; cursor: not-allowed;
  pointer-events: none;
}
.dm-feature-cover {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
}
.dm-feature-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.dm-feature-badge {
  position: absolute; top: .75rem; right: .75rem;
  background: linear-gradient(135deg, #C49F33, #a37e1f);
  color: #fff; padding: .375rem .75rem;
  border-radius: 999px; font-size: .6875rem;
  font-weight: 800; letter-spacing: .04em;
  display: inline-flex; align-items: center; gap: .25rem;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
}
.dm-feature-lock-badge {
  background: linear-gradient(135deg, #555, #333) !important;
}
.dm-feature-body { padding: 1.125rem 1.25rem 1.25rem; }
.dm-feature-meta {
  font-size: .71875rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
  margin-bottom: .375rem;
}
.dm-feature-title {
  font-family: var(--ff-display);
  font-size: 1.125rem;
  font-weight: 800;
  margin-bottom: .375rem;
  line-height: 1.25;
}
.dm-feature-desc {
  font-size: .8125rem;
  color: var(--text-2);
  line-height: 1.5;
  margin-bottom: .875rem;
}
.dm-feature-cta {
  font-size: .8125rem;
  font-weight: 800;
  color: var(--gmn);
  display: inline-flex; align-items: center; gap: .375rem;
}

@media (min-width: 720px) {
  .dm-feature-card { display: grid; grid-template-columns: 1.2fr 1fr; }
  .dm-feature-cover { aspect-ratio: auto; height: 100%; min-height: 240px; }
}

/* Featured DM card extras: rating + progress */
.dm-feature-rating {
  display:flex;align-items:center;gap:.5rem;
  font-size:.8125rem;color:var(--text-2);
  margin-bottom:.625rem;
}
.dm-feature-stars { color:#f5b400;font-size:.75rem;letter-spacing:.05em; }
.dm-feature-stars i { margin-right:1px; }
.dm-feature-rating strong { font-size:.875rem;color:var(--text);font-weight:800; }
.dm-feature-reviews { color:var(--text-3);font-size:.75rem; }

.dm-feature-progress {
  margin:.75rem 0 .5rem;
  display:flex;flex-direction:column;gap:.375rem;
}
.dm-feature-progress-bar {
  height:6px;border-radius:99px;
  background:rgba(0,0,0,.06);overflow:hidden;
}
html.dark .dm-feature-progress-bar { background:rgba(255,255,255,.08); }
.dm-feature-progress-bar > div {
  height:100%;
  background:linear-gradient(90deg,#D4006A,#7CB518);
  border-radius:99px;transition:width .4s ease;
}
.dm-feature-progress-text {
  font-size:.6875rem;color:var(--text-3);font-weight:700;
}


/* ════════════════════════════════════════════════════════
   LANDING VISIBILITY GUARANTEE
   Ensures hero content is never stuck invisible on any device.
   The animations are progressive enhancements only.
═════════════════════════════════════════════════════════ */
#landing .hero-badge,
#landing .hero-title,
#landing .hero-subtitle,
#landing .hero-ctas,
#landing .hero-trust,
#landing .stats-strip,
#landing .section,
#landing .pillars-section,
#landing .cta-section,
#landing .footer {
  visibility: visible !important;
  opacity: 1 !important;
  animation-fill-mode: none !important;
}
/* Re-apply animation as progressive enhancement (opacity starts at 1, not 0) */
@media (prefers-reduced-motion: no-preference) {
  #landing .hero-badge   { animation: fadeUp 0.6s ease 0.05s; }
  #landing .hero-title   { animation: fadeUp 0.6s ease 0.1s; }
  #landing .hero-subtitle{ animation: fadeUp 0.6s ease 0.18s; }
  #landing .hero-ctas    { animation: fadeUp 0.6s ease 0.26s; }
  #landing .hero-trust   { animation: fadeUp 0.6s ease 0.38s; }
}
/* Ensure landing page always has pointer events */
#landing { pointer-events: auto; min-height: 100vh; }

/* v16 mobile-first native app stability */
html {
  -webkit-text-size-adjust: 100%;
  touch-action: manipulation;
}

body {
  overscroll-behavior-y: none;
}

button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}

button {
  min-height: 44px;
}

.dash-header {
  padding-top: env(safe-area-inset-top);
}

.dash-main {
  padding-bottom: calc(var(--bottom-nav-h, 74px) + env(safe-area-inset-bottom) + 1.25rem);
}

.bottom-nav {
  padding-bottom: max(.5rem, env(safe-area-inset-bottom));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.bottom-nav-item,
.more-drawer-item {
  min-width: 0;
  min-height: 52px;
}

.woddi-primary-btn {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .875rem 1rem;
  border: 0;
  border-radius: .5rem;
  background: var(--gmn);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(212, 0, 106, .22);
}

.woddi-tip-card {
  border-radius: .5rem;
  padding: 1rem 1.125rem;
  background: linear-gradient(135deg, #A07830, #6B4D1F);
  color: #fff;
  box-shadow: 0 10px 28px rgba(107, 77, 31, .16);
}

.woddi-tip-kicker {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .4rem;
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .9;
}

.woddi-tip-card p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.55;
  font-weight: 600;
}

.woddi-lang-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem;
}

.woddi-lang-grid button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .15rem;
  padding: .75rem;
  border: 1.5px solid var(--border);
  border-radius: .5rem;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.woddi-lang-grid button.active {
  border-color: var(--gmn);
  background: rgba(212, 0, 106, .08);
  color: var(--gmn);
}

.woddi-lang-grid span {
  font-size: .8125rem;
  font-weight: 900;
}

.woddi-lang-grid small {
  color: var(--text-3);
  font-size: .6875rem;
  font-weight: 700;
}

.woddi-profile-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: .5rem;
  padding: 1.25rem;
  text-align: center;
  margin-bottom: 1rem;
}

.woddi-avatar-picker {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  margin: 0 auto .875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gmn), #8B0045);
  color: #fff;
  font-size: 1.75rem;
  font-weight: 900;
  cursor: pointer;
}

.woddi-avatar-picker img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.woddi-avatar-picker input {
  display: none;
}

.woddi-avatar-picker i {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface);
  color: var(--gmn);
  font-size: .75rem;
  box-shadow: 0 4px 12px rgba(0,0,0,.18);
}

.woddi-profile-card h3 {
  margin: 0 0 .25rem;
  font-size: 1.2rem;
  font-weight: 900;
}

.woddi-profile-card p {
  margin: 0 0 .85rem;
  font-size: .8125rem;
  color: var(--text-3);
}

.woddi-profile-actions {
  display: flex;
  gap: .5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.woddi-profile-actions button,
.woddi-list-button {
  display: flex;
  align-items: center;
  gap: .75rem;
  width: 100%;
  padding: .8rem .875rem;
  border: 1px solid var(--border);
  border-radius: .5rem;
  background: var(--surface-2);
  color: var(--text);
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}

.woddi-profile-actions button {
  width: auto;
}

.woddi-list-button span {
  flex: 1;
}

.woddi-list-button.danger {
  color: var(--destructive);
  background: rgba(220, 38, 38, .06);
  border-color: rgba(220, 38, 38, .2);
}

.woddi-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .625rem;
  margin-bottom: 1rem;
}

.woddi-stat-grid div {
  border: 1px solid var(--border);
  border-radius: .5rem;
  padding: .875rem .5rem;
  background: var(--surface);
  text-align: center;
}

.woddi-stat-grid strong {
  display: block;
  color: var(--gmn);
  font-size: 1.35rem;
  font-weight: 900;
}

.woddi-stat-grid span {
  color: var(--text-3);
  font-size: .7rem;
  font-weight: 800;
}

.woddi-cert-list {
  display: flex;
  flex-direction: column;
  gap: .625rem;
  margin-bottom: 1rem;
}

.woddi-cert-list button {
  display: flex;
  align-items: center;
  gap: .75rem;
  width: 100%;
  padding: .875rem;
  border: 1.5px solid var(--border);
  border-radius: .5rem;
  background: var(--surface);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.woddi-cert-list button.active {
  border-color: var(--gmn);
  background: rgba(212, 0, 106, .07);
}

.woddi-cert-list span {
  flex: 1;
  min-width: 0;
}

.woddi-cert-list strong,
.woddi-cert-list small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.woddi-cert-list strong {
  font-size: .9rem;
  font-weight: 900;
}

.woddi-cert-list small {
  color: var(--text-3);
  font-size: .72rem;
  margin-top: .15rem;
}

.woddi-cert-preview {
  display: grid;
  gap: .875rem;
}

.woddi-cert-paper {
  aspect-ratio: 1.45 / 1;
  display: grid;
  place-items: center;
  padding: 1rem;
  border-radius: .5rem;
  background: #faf6f0;
  color: #1a1a1a;
  border: 4px double #c49f33;
  text-align: center;
  box-shadow: 0 14px 36px rgba(0,0,0,.12);
}

.woddi-cert-paper p {
  margin: 0 0 .6rem;
  color: #8B0045;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .7rem;
  font-weight: 900;
}

.woddi-cert-paper h3 {
  margin: 0;
  color: #D4006A;
  font-family: var(--ff-display);
  font-size: 1.8rem;
}

.woddi-cert-paper h4 {
  margin: .55rem 0;
  font-size: .98rem;
}

.woddi-cert-paper small {
  color: #6b4d1f;
  font-size: .7rem;
  font-weight: 800;
}

.woddi-section-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: 1rem;
}

.woddi-primary-inline {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .7rem 1rem;
  border: 0;
  border-radius: .5rem;
  background: var(--gmn);
  color: #fff;
  font-size: .82rem;
  font-weight: 850;
  cursor: pointer;
}

.woddi-thread-list {
  display: flex;
  flex-direction: column;
  gap: .625rem;
}

.woddi-thread-list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  width: 100%;
  padding: .9rem;
  border: 1px solid var(--border);
  border-radius: .5rem;
  background: var(--surface);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.woddi-thread-list span {
  min-width: 0;
}

.woddi-thread-list strong,
.woddi-thread-list small {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.woddi-thread-list small {
  margin-top: .2rem;
  color: var(--text-3);
  font-size: .7rem;
}

.woddi-thread-list em {
  flex-shrink: 0;
  padding: .25rem .55rem;
  border-radius: 999px;
  background: rgba(212, 0, 106, .08);
  color: var(--gmn);
  font-size: .68rem;
  font-style: normal;
  font-weight: 850;
}

.woddi-support-thread {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--nav-h, 68px) - var(--bottom-nav-h, 76px) - 2rem);
}

.woddi-support-head {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
}

.woddi-support-head button {
  width: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text);
}

.woddi-support-head div {
  flex: 1;
  min-width: 0;
}

.woddi-support-head strong,
.woddi-support-head small {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.woddi-support-head small {
  color: var(--text-3);
  font-size: .72rem;
  margin-top: .15rem;
}

.woddi-support-head span {
  padding: .25rem .55rem;
  border-radius: 999px;
  background: rgba(212, 0, 106, .08);
  color: var(--gmn);
  font-size: .68rem;
  font-weight: 850;
}

.woddi-support-feed {
  flex: 1;
  overflow-y: auto;
  padding: .875rem 0;
  display: flex;
  flex-direction: column;
  gap: .625rem;
}

.woddi-support-feed > div {
  max-width: 82%;
  align-self: flex-start;
}

.woddi-support-feed > div.mine {
  align-self: flex-end;
}

.woddi-support-feed p {
  margin: 0;
  padding: .75rem .9rem;
  border-radius: .9rem .9rem .9rem 0;
  background: var(--surface-2);
  color: var(--text);
  font-size: .875rem;
  line-height: 1.45;
}

.woddi-support-feed .mine p {
  border-radius: .9rem .9rem 0 .9rem;
  background: var(--gmn);
  color: #fff;
}

.woddi-support-feed small {
  display: block;
  margin-top: .2rem;
  padding: 0 .35rem;
  color: var(--text-3);
  font-size: .64rem;
}

.woddi-muted {
  color: var(--text-3) !important;
  background: transparent !important;
  text-align: center;
  align-self: center;
}

.woddi-support-compose {
  display: flex;
  align-items: flex-end;
  gap: .5rem;
  padding-top: .75rem;
  border-top: 1px solid var(--border);
}

.woddi-support-compose textarea {
  flex: 1;
  min-height: 48px;
  max-height: 120px;
  padding: .75rem .875rem;
  border: 1.5px solid var(--border);
  border-radius: .5rem;
  background: var(--surface-2);
  color: var(--text);
  resize: vertical;
  font-family: inherit;
}

.woddi-support-compose button {
  width: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--gmn);
  color: #fff;
}

@media (max-width: 640px) {
  :root {
    --nav-h: 62px;
    --bottom-nav-h: 76px;
  }

  .dash-header-inner {
    padding-left: .875rem;
    padding-right: .875rem;
  }

  .dash-main {
    padding-left: .875rem;
    padding-right: .875rem;
  }

  .section-heading {
    font-size: 1.25rem !important;
    line-height: 1.2;
  }

  .section-subheading {
    font-size: .82rem !important;
  }

  .card {
    border-radius: .5rem !important;
  }

  .bottom-nav {
    left: 0;
    right: 0;
    max-width: none;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .bottom-nav-item {
    font-size: .64rem;
    gap: .18rem;
  }

  .bottom-nav-item i {
    font-size: 1rem;
  }

  .more-drawer {
    left: 0;
    right: 0;
    max-width: none;
    border-radius: 1rem 1rem 0 0;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom));
  }

  .more-drawer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .woddi-cert-paper h3 {
    font-size: 1.4rem;
  }
}

/* Course Hub cards, progress, ratings, and My Courses */
.course-hub-actions {
  display: flex;
  justify-content: flex-end;
  margin: -0.25rem 0 1rem;
}
.course-hub-actions button,
.my-courses-browse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 42px;
  border: 0;
  border-radius: var(--r-sm);
  background: var(--gmn);
  color: #fff;
  padding: 0 .95rem;
  font-size: .8125rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(212,0,106,.18);
}

.skills-grid {
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 680px) {
  .skills-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1080px) {
  .skills-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.course-card-modern {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  cursor: pointer;
  min-width: 0;
  box-shadow: var(--shadow-xs);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.course-card-modern:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gmn);
}
.course-card-modern.locked {
  opacity: .62;
  cursor: not-allowed;
}
.course-card-modern.locked:hover {
  transform: none;
  box-shadow: var(--shadow-xs);
}
.course-card-modern.done {
  border-color: rgba(124,181,24,.55);
}
.course-card-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gmn-light), var(--nnn-light));
}
.course-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.course-thumb-fallback {
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--gmn);
  font-size: 2rem;
}
.course-level-pill,
.course-complete-pill {
  position: absolute;
  top: .625rem;
  border-radius: 999px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .6875rem;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
}
.course-level-pill {
  left: .625rem;
  background: rgba(255,255,255,.94);
  color: var(--gmn);
  padding: 0 .7rem;
}
.course-complete-pill {
  right: .625rem;
  width: 28px;
  background: var(--nnn);
  color: #fff;
}
.course-card-body {
  padding: .95rem;
  display: grid;
  gap: .6rem;
}
.course-card-meta {
  color: var(--text-3);
  font-size: .675rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.course-card-title {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.24;
  font-weight: 900;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.course-card-desc {
  margin: 0;
  color: var(--text-2);
  font-size: .79rem;
  line-height: 1.48;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.course-rating-row {
  display: flex;
  align-items: center;
  gap: .35rem;
  min-width: 0;
  color: var(--text-3);
  font-size: .72rem;
  font-weight: 800;
}
.course-rating-row strong {
  color: var(--text);
  font-size: .8rem;
}
.course-stars {
  color: #F5B400;
  display: inline-flex;
  gap: 1px;
  font-size: .72rem;
}
.course-rating-control {
  display: flex;
  align-items: center;
  gap: .15rem;
}
.course-rating-control button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text-4);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}
.course-rating-control button.active,
.course-rating-control button:hover {
  color: #F5B400;
  border-color: rgba(245,180,0,.45);
  background: #FFFBEB;
}
.course-progress {
  display: grid;
  gap: .35rem;
}
.course-progress-line,
.course-progress-lessons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-3);
  font-size: .72rem;
  font-weight: 800;
}
.course-progress-line strong {
  color: var(--gmn);
}
.course-progress-track {
  height: 7px;
  background: color-mix(in srgb, var(--border) 68%, transparent);
  border-radius: 999px;
  overflow: hidden;
}
.course-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gmn), var(--nnn));
  transition: width .25s ease;
}

.my-courses-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.my-courses-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin-bottom: 1.25rem;
}
.my-courses-summary div {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: .95rem .7rem;
  text-align: center;
}
.my-courses-summary strong {
  display: block;
  font-family: var(--ff-display);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--gmn);
}
.my-courses-summary span {
  display: block;
  margin-top: .25rem;
  color: var(--text-3);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}
.my-course-section {
  margin-bottom: 1.35rem;
}
.my-course-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .75rem;
}
.my-course-section-head h3 {
  margin: 0;
  font-size: .95rem;
  font-weight: 900;
}
.my-course-section-head span {
  min-width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gmn-light);
  color: var(--gmn);
  font-size: .75rem;
  font-weight: 900;
}
.my-course-empty {
  background: var(--surface);
  border: 1.5px dashed var(--border);
  border-radius: var(--r);
}

html.dark .course-card-modern,
html.dark .my-courses-summary div,
html.dark .my-course-empty {
  background: var(--surface);
  border-color: var(--border);
}
html.dark .course-level-pill {
  background: rgba(30,18,8,.92);
}

@media (max-width: 520px) {
  .my-courses-header {
    display: block;
  }
  .my-courses-browse {
    width: 100%;
    margin-top: .7rem;
  }
  .my-courses-summary {
    gap: .5rem;
  }
  .my-courses-summary div {
    padding: .8rem .4rem;
  }
  .my-courses-summary strong {
    font-size: 1.35rem;
  }
  .course-card-body {
    padding: .85rem;
  }
}

/* WODDI Course Hub refresh: mobile-first LMS surface */
.course-hub-hero {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  padding: 1rem;
  margin-bottom: 1rem;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0,0,0,.9), rgba(72,0,36,.92) 54%, rgba(124,181,24,.88)),
    url("../assets/woddi-logo-square.jpg") center/cover no-repeat;
  box-shadow: 0 18px 44px rgba(0,0,0,.18);
}
.course-hub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(212,0,106,.24) 0 22%, transparent 22% 74%, rgba(124,181,24,.22) 74%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.08) 0 1px, transparent 1px 16px);
  pointer-events: none;
}
.course-hub-hero > * {
  position: relative;
  z-index: 1;
}
.course-hub-brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 42px;
  border-radius: 999px;
  padding: .35rem .8rem .35rem .35rem;
  background: rgba(255,255,255,.92);
  color: #0f172a;
  font-size: .72rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.course-hub-brand img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}
.course-hub-hero-main {
  display: grid;
  gap: 1rem;
  margin-top: 1.35rem;
}
.course-hub-kicker {
  margin: 0 0 .35rem;
  color: #B9F05B;
  font-size: .73rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.course-hub-hero h2 {
  margin: 0;
  max-width: 720px;
  color: #fff;
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 7vw, 3.8rem);
  line-height: .98;
  letter-spacing: 0;
}
.course-hub-hero-main p:not(.course-hub-kicker) {
  max-width: 680px;
  margin: .65rem 0 0;
  color: rgba(255,255,255,.9);
  font-size: .93rem;
  line-height: 1.55;
}
.course-hub-hero-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
}
.course-hub-hero-actions button {
  min-height: 48px;
  border: 0;
  border-radius: .75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 0 .85rem;
  background: #D4006A;
  color: #fff;
  font-size: .82rem;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(212,0,106,.28);
}
.course-hub-hero-actions button.ghost {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.26);
  box-shadow: none;
}
.course-hub-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem;
  margin-top: 1rem;
}
.course-hub-stats div {
  min-width: 0;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: .8rem;
  padding: .75rem .65rem;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
}
.course-hub-stats strong {
  display: block;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 950;
}
.course-hub-stats span {
  display: block;
  margin-top: .28rem;
  color: rgba(255,255,255,.78);
  font-size: .66rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.sdg-spotlight {
  width: 100%;
  min-height: 70px;
  margin-top: .75rem;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: .9rem;
  padding: .72rem;
  display: grid;
  grid-template-columns: 42px minmax(0,1fr) auto;
  align-items: center;
  gap: .75rem;
  background: rgba(255,255,255,.95);
  color: #111827;
  text-align: left;
  cursor: pointer;
}
.sdg-spotlight > i {
  width: 42px;
  height: 42px;
  border-radius: .75rem;
  display: grid;
  place-items: center;
  background: rgba(124,181,24,.14);
  color: #5A8D11;
  font-size: 1.15rem;
}
.sdg-spotlight strong,
.sdg-spotlight small {
  display: block;
}
.sdg-spotlight strong {
  color: #0f172a;
  font-size: .86rem;
  line-height: 1.25;
  font-weight: 950;
}
.sdg-spotlight small {
  margin-top: .18rem;
  color: #475467;
  font-size: .71rem;
  line-height: 1.35;
  font-weight: 750;
}
.sdg-spotlight b {
  color: #D4006A;
  font-size: .75rem;
}
.course-hub-lock-note {
  margin-top: .75rem;
  border-radius: .75rem;
  padding: .75rem;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.92);
  font-size: .78rem;
  font-weight: 850;
}
.course-hub-controls {
  position: sticky;
  top: calc(58px + env(safe-area-inset-top));
  z-index: 12;
  display: grid;
  gap: .65rem;
  margin: 0 0 1.2rem;
  padding: .7rem 0;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px);
}
.course-search-panel {
  position: relative;
}
.course-search-panel i {
  position: absolute;
  left: .9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gmn);
  font-size: .86rem;
}
.course-search-panel input {
  width: 100%;
  min-height: 48px;
  border: 1.5px solid var(--border);
  border-radius: .85rem;
  padding: 0 1rem 0 2.55rem;
  background: var(--surface);
  color: var(--text);
  font-size: .9rem;
  font-weight: 750;
  box-shadow: var(--shadow-xs);
}
.track-tabs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(142px, 1fr);
  gap: .55rem;
  overflow-x: auto;
  margin: 0;
  padding: 0 .15rem .15rem;
  scroll-snap-type: x proximity;
}
.track-tab {
  min-height: 58px;
  border-radius: .9rem;
  padding: .55rem .7rem;
  justify-content: flex-start;
  background: var(--surface);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-xs);
  scroll-snap-align: start;
}
.track-tab i {
  width: 32px;
  height: 32px;
  border-radius: .7rem;
  display: grid;
  place-items: center;
  background: rgba(212,0,106,.08);
  color: var(--gmn);
  flex: 0 0 auto;
}
.track-tab span {
  display: grid;
  gap: .1rem;
  min-width: 0;
  color: var(--text);
  font-size: .78rem;
  font-weight: 950;
  text-align: left;
}
.track-tab small {
  color: var(--text-3);
  font-size: .62rem;
  font-weight: 850;
}
.track-tab.active {
  background: linear-gradient(135deg, rgba(212,0,106,.1), rgba(124,181,24,.1));
  border-color: var(--gmn);
  color: var(--gmn);
}
.level-tabs {
  display: flex;
  gap: .45rem;
  overflow-x: auto;
  padding-bottom: .1rem;
}
.level-tabs button {
  min-height: 38px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 0 .85rem;
  background: var(--surface);
  color: var(--text-2);
  white-space: nowrap;
  font-size: .76rem;
  font-weight: 950;
  cursor: pointer;
}
.level-tabs button.active {
  border-color: #7CB518;
  background: rgba(124,181,24,.12);
  color: #5A8D11;
}
.skills-group {
  margin-bottom: 2rem;
}
.skills-group-header {
  border-bottom: 0;
  padding: .25rem 0 .85rem;
  margin-bottom: .75rem;
}
.skills-group-title {
  color: var(--text);
  font-size: 1rem;
  font-weight: 950;
}
.skills-group-count {
  margin-left: auto;
  padding: .28rem .55rem;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-3);
  font-size: .68rem;
  font-weight: 900;
}
.course-card-modern {
  border-radius: .95rem;
}
.course-card-thumb::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(0,0,0,.5), transparent);
  pointer-events: none;
}
.course-level-pill,
.course-complete-pill {
  z-index: 1;
}
.course-pdf-pill {
  position: absolute;
  left: .7rem;
  bottom: .7rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border-radius: 999px;
  padding: .35rem .55rem;
  background: rgba(255,255,255,.94);
  color: #111827;
  font-size: .64rem;
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.course-card-meta {
  color: var(--gmn);
}
.course-card-title {
  font-size: 1.03rem;
}
html.dark .course-hub-controls {
  background: rgba(10,10,18,.82);
}
html.dark .course-search-panel input,
html.dark .track-tab,
html.dark .level-tabs button {
  background: var(--surface);
}
html.dark .sdg-spotlight {
  background: rgba(24,24,32,.96);
  color: var(--text);
}
html.dark .sdg-spotlight strong {
  color: var(--text);
}
html.dark .sdg-spotlight small {
  color: var(--text-3);
}
@media (min-width: 760px) {
  .course-hub-hero {
    padding: 1.35rem;
  }
  .course-hub-hero-main {
    grid-template-columns: minmax(0,1fr) auto;
    align-items: end;
  }
  .course-hub-hero-actions {
    width: 270px;
  }
  .course-hub-stats {
    grid-template-columns: repeat(4, minmax(0,1fr));
  }
  .course-hub-controls {
    top: calc(68px + env(safe-area-inset-top));
    grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
    align-items: center;
  }
  .level-tabs {
    grid-column: 1 / -1;
  }
}
@media (max-width: 430px) {
  .course-hub-hero {
    border-radius: .85rem;
    margin-left: -.15rem;
    margin-right: -.15rem;
  }
  .course-hub-hero-actions {
    grid-template-columns: 1fr;
  }
  .course-hub-stats {
    gap: .45rem;
  }
  .course-hub-stats div {
    padding: .62rem .55rem;
  }
  .sdg-spotlight {
    grid-template-columns: 38px minmax(0,1fr);
  }
  .sdg-spotlight b {
    display: none;
  }
  .track-tabs {
    grid-auto-columns: minmax(136px, 76vw);
  }
  .bottom-action .previous-btn,
  .quiz-foot .previous-btn {
    padding: 0 .72rem;
  }
  .bottom-action .previous-btn {
    font-size: 0;
  }
  .bottom-action .previous-btn i {
    font-size: .95rem;
  }
}
