/* =============================================
   MOREWIDE ACADEMY — Design System
   Navy · White · Gold  (logo palette)
   ============================================= */

/* ── 1. TOKENS ── */
:root {
  /* Navy scale (primary brand) */
  --navy-950: #060d1a;
  --navy-900: #0c1628;
  --navy-800: #111e36;
  --navy-700: #162543;
  --navy-600: #1B2A4A;   /* logo navy — primary */
  --navy-500: #243460;
  --navy-400: #2f4278;
  --navy-300: #4a619a;
  --navy-200: #7a91bc;
  --navy-100: #b8c5dc;
  --navy-50:  #edf0f7;

  /* Gold scale (accent — use sparingly) */
  --gold-700: #7a5d18;
  --gold-600: #9e7820;
  --gold-500: #C9A84C;   /* logo gold */
  --gold-400: #d4b86a;
  --gold-300: #e0ca96;
  --gold-200: #edd9b8;
  --gold-100: #f6ecda;
  --gold-50:  #fdf8f0;

  /* Neutral */
  --n-50:  #f9fafb;
  --n-100: #f3f4f6;
  --n-200: #e5e7eb;
  --n-300: #d1d5db;
  --n-400: #9ca3af;
  --n-500: #6b7280;
  --n-600: #4b5563;
  --n-700: #374151;
  --n-800: #1f2937;
  --n-900: #111827;

  /* Legacy --t-* aliases (blade inline styles use these) */
  --t-50:  #edf0f7;   /* very light navy bg        */
  --t-100: #d4dced;
  --t-200: #b8c5dc;   /* light navy / borders       */
  --t-300: #8fa0c0;   /* light text on dark navy bg */
  --t-400: #C9A84C;   /* → gold accent              */
  --t-500: #1B2A4A;   /* primary navy               */
  --t-600: #1B2A4A;   /* primary navy               */
  --t-700: #1B2A4A;   /* primary navy               */
  --t-800: #111e36;   /* dark navy (card on dark)   */
  --t-900: #0c1628;   /* deeper dark navy           */
  --t-950: #060d1a;   /* darkest navy               */

  /* Semantic aliases */
  --primary:        #1B2A4A;
  --primary-hover:  #111e36;
  --primary-dark:   #060d1a;
  --primary-light:  #b8c5dc;
  --primary-xlight: #edf0f7;

  --accent:         #C9A84C;
  --accent-hover:   #9e7820;
  --accent-light:   #edd9b8;
  --accent-xlight:  #fdf8f0;

  --text:           #1B2A4A;
  --text-muted:     #4b5563;
  --border:         #e5e7eb;
  --bg:             #ffffff;
  --bg-alt:         #f9fafb;

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Radius */
  --r-sm: 0.375rem;
  --r:    0.5rem;
  --r-lg: 0.75rem;
  --r-xl: 1rem;
  --r-2xl:1.5rem;

  /* Shadow */
  --s-xs: 0 1px 2px rgb(27 42 74 / .06);
  --s-sm: 0 1px 3px rgb(27 42 74 / .09), 0 1px 2px rgb(27 42 74 / .06);
  --s-md: 0 4px 12px rgb(27 42 74 / .09), 0 2px 4px rgb(27 42 74 / .05);
  --s-lg: 0 10px 24px rgb(27 42 74 / .08), 0 4px 8px rgb(27 42 74 / .05);
  --s-xl: 0 20px 48px rgb(27 42 74 / .10);

  /* Transition */
  --ease: all .2s ease;
  --ease-slow: all .3s ease;
}

/* ── 2. RESET ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
h1,h2,h3,h4,h5,h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--primary);
  margin-bottom: .5rem;
}
a { color: var(--primary); transition: var(--ease); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }

/* ── 3. UTILITY ── */
.text-primary-ma  { color: var(--primary) !important; }
.text-accent-ma   { color: var(--accent)  !important; }
.bg-primary-ma    { background-color: var(--primary)  !important; }
.bg-primary-light { background-color: var(--primary-xlight) !important; }
.bg-dark-ma       { background-color: var(--primary-dark)   !important; }
.bg-alt           { background-color: var(--bg-alt)         !important; }
.section-py    { padding: 5rem 0; }
.section-py-sm { padding: 3rem 0; }

/* ── 4. BUTTONS ── */
.btn-ma,
.btn-ma-outline,
.btn-ma-ghost,
.btn-ma-white,
.btn-ma-gold {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  border-radius: var(--r);
  border: 2px solid transparent;
  padding: .625rem 1.5rem;
  font-size: .925rem;
  cursor: pointer;
  transition: var(--ease);
  text-decoration: none;
  line-height: 1.4;
  white-space: nowrap;
}
/* Primary — navy */
.btn-ma {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-ma:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--s-md);
}
/* Outline — navy border */
.btn-ma-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-ma-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}
/* Ghost */
.btn-ma-ghost {
  background: transparent;
  color: var(--n-700);
  border-color: var(--n-300);
}
.btn-ma-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}
/* White (on dark bg) */
.btn-ma-white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.btn-ma-white:hover {
  background: var(--gold-100);
  color: var(--primary-hover);
  border-color: var(--gold-100);
}
/* Gold accent CTA */
.btn-ma-gold {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}
.btn-ma-gold:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--s-md);
}
.btn-ma-sm { padding: .375rem 1rem; font-size: .825rem; }
.btn-ma-lg { padding: .875rem 2.25rem; font-size: 1.05rem; }

/* ── 5. NAVBAR ── */
.site-nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 4px rgb(27 42 74 / .07);
}
.site-nav .inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary) !important;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-brand .brand-mark {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: .95rem;
  flex-shrink: 0;
}
.nav-brand .brand-name em {
  font-style: normal;
  color: var(--accent);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: .5rem .875rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--n-700);
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: var(--ease);
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--primary-xlight);
  color: var(--primary);
}
.nav-actions { display: flex; align-items: center; gap: .625rem; flex-shrink: 0; }
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .25rem;
  font-size: 1.25rem;
  color: var(--primary);
}
/* Mobile drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
}
.mobile-drawer.open { display: block; }
.drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27,42,74,.55);
}
.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  background: #fff;
  padding: 1.5rem;
  overflow-y: auto;
  box-shadow: var(--s-xl);
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.drawer-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--n-500);
}
.drawer-panel a {
  display: block;
  padding: .75rem 1rem;
  font-size: .95rem;
  font-weight: 500;
  color: var(--primary);
  border-radius: var(--r);
  text-decoration: none;
  border-bottom: 1px solid var(--n-100);
}
.drawer-panel a:hover { color: var(--accent); background: var(--primary-xlight); }
.drawer-actions { margin-top: auto; padding-top: 1.5rem; display: flex; flex-direction: column; gap: .5rem; }

@media (max-width: 991px) {
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: block; }
}

/* ── 6. HERO ── */
.hero-home {
  background-color: var(--primary);
  color: #fff;
  padding: 5.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}
.hero-home::before {
  content: '';
  position: absolute;
  top: -15%;
  right: -8%;
  width: 520px;
  height: 520px;
  background: var(--primary-hover);
  border-radius: 50%;
  opacity: .45;
}
.hero-home::after {
  content: '';
  position: absolute;
  bottom: -25%;
  left: -5%;
  width: 380px;
  height: 380px;
  background: var(--primary-dark);
  border-radius: 50%;
  opacity: .35;
}
.hero-home .container { position: relative; z-index: 1; }
.hero-home h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 1.25rem;
}
/* Gold highlight in hero heading */
.hero-home h1 .highlight { color: var(--accent); }
.hero-home .lead { color: var(--navy-100); font-size: 1.1rem; line-height: 1.75; max-width: 560px; }
.hero-note { color: var(--navy-200); font-size: .85rem; margin-top: .875rem; }
.hero-note i { margin-right: .25rem; }

/* Inner page heroes */
.hero-page {
  background-color: var(--primary-xlight);
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}
.hero-page h1 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
.hero-dark {
  background-color: var(--primary);
  padding: 3.5rem 0;
  color: #fff;
}
.hero-dark h1 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.25rem); }
.hero-dark p { color: var(--navy-100); }

/* ── 7. STATS BAR ── */
.stats-bar {
  background: var(--primary);
  border-top: 3px solid var(--accent);
  padding: 1.5rem 0;
}
.stat-item { text-align: center; color: #fff; }
.stat-num {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1;
  display: block;
  color: var(--accent);
}
.stat-lbl {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  opacity: .8;
  display: block;
  margin-top: .2rem;
  color: #fff;
}

/* ── 8. SECTION HEADERS ── */
.section-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: .5rem;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--primary);
}
.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 560px;
}
.section-header { margin-bottom: 3rem; }
.section-header.center { text-align: center; }
.section-header.center .section-desc { margin: 0 auto; }

/* ── 9. COURSE CARDS ── */
.course-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: var(--ease-slow);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--s-lg);
  border-color: var(--navy-200);
}
.course-thumb {
  aspect-ratio: 16/9;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--accent);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.course-thumb img { width: 100%; height: 100%; object-fit: cover; }
.course-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.course-cat {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--accent);
  margin-bottom: .5rem;
}
.course-title {
  font-size: .975rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.45;
  flex: 1;
  margin-bottom: .875rem;
}
.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .775rem;
  color: var(--n-500);
  margin-bottom: 1rem;
}
.course-meta-item { display: flex; align-items: center; gap: .3rem; }
.course-meta-item i { color: var(--primary); font-size: .7rem; }
.course-foot {
  padding: .875rem 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.course-price {
  font-weight: 800;
  font-size: 1rem;
  color: var(--primary);
}
.course-price.is-free { color: var(--accent); }
.badge-level {
  padding: .2rem .625rem;
  border-radius: 20px;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.level-beginner     { background: var(--primary-xlight); color: var(--primary); }
.level-intermediate { background: var(--navy-100);       color: var(--primary); }
.level-advanced     { background: var(--primary);         color: #fff; }

/* ── 10. FEATURE CARDS ── */
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.75rem;
  height: 100%;
  transition: var(--ease-slow);
}
.feature-card:hover {
  box-shadow: var(--s-md);
  border-color: var(--navy-200);
  transform: translateY(-2px);
}
.feat-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-xlight);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.feature-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; color: var(--primary); }
.feature-card p { color: var(--text-muted); font-size: .875rem; line-height: 1.65; margin: 0; }

/* ── 11. CATEGORY CARDS ── */
.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  background: #fff;
  transition: var(--ease);
  text-decoration: none;
  color: var(--primary);
}
.cat-card:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--s-md);
  transform: translateY(-3px);
  background: var(--primary-xlight);
}
.cat-card .cat-ico { font-size: 2rem; color: var(--primary); margin-bottom: .875rem; }
.cat-card .cat-name { font-weight: 700; font-size: .925rem; margin-bottom: .3rem; color: var(--primary); }
.cat-card .cat-cnt { font-size: .775rem; color: var(--n-400); }

/* ── 12. HOW IT WORKS ── */
.step-wrap { counter-reset: step; }
.step-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.step-item:last-child { margin-bottom: 0; }
.step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .95rem;
  border: 3px solid var(--accent);
}
.step-body h5 { font-size: 1rem; font-weight: 700; margin-bottom: .25rem; color: var(--primary); }
.step-body p { color: var(--text-muted); font-size: .875rem; margin: 0; line-height: 1.6; }

/* ── 13. TESTIMONIALS ── */
.testi-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.75rem;
  height: 100%;
}
.testi-stars { color: var(--accent); font-size: .85rem; margin-bottom: .875rem; }
.testi-text {
  font-size: .925rem;
  color: var(--n-700);
  font-style: italic;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.testi-author { display: flex; align-items: center; gap: .75rem; }
.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.testi-name { font-weight: 700; font-size: .875rem; color: var(--primary); }
.testi-role { font-size: .775rem; color: var(--n-400); }

/* ── 14. CTA BANNER ── */
.cta-block {
  background: var(--primary);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--accent);
}
.cta-block::after {
  content: '';
  position: absolute;
  right: -3%;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  height: 320px;
  background: var(--primary-hover);
  border-radius: 50%;
  opacity: .5;
}
.cta-block .container { position: relative; z-index: 1; }
.cta-block h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.25rem); }
.cta-block p { color: var(--navy-100); font-size: 1.05rem; }

/* ── 15. FOOTER (navy + gold, inline styles override — keep minimal here) ── */
.site-footer {
  background: var(--primary);
  color: var(--navy-200);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: .875rem;
  text-decoration: none;
}
.footer-brand .brand-mark {
  width: 34px;
  height: 34px;
  background: var(--accent);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 900;
  font-size: .9rem;
}
.footer-tagline { font-size: .875rem; line-height: 1.65; color: var(--navy-200); max-width: 280px; }
.footer-social { display: flex; gap: .625rem; margin-top: 1.25rem; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: var(--navy-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  transition: var(--ease);
  text-decoration: none;
}
.footer-social a:hover { background: var(--accent); color: var(--primary); }
.footer-h {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.footer-ul { list-style: none; padding: 0; margin: 0; }
.footer-ul li { margin-bottom: .55rem; }
.footer-ul a { color: var(--navy-200); font-size: .875rem; text-decoration: none; transition: var(--ease); }
.footer-ul a:hover { color: var(--accent); }
.footer-ul li.info { display: flex; align-items: flex-start; gap: .5rem; font-size: .875rem; }
.footer-ul li.info i { color: var(--accent); margin-top: .1rem; font-size: .8rem; width: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 0;
  margin-top: 3rem;
  text-align: center;
  font-size: .825rem;
  color: var(--navy-300);
}

/* ── 16. FORMS ── */
.field-label {
  display: block;
  font-size: .825rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: .375rem;
}
.field {
  width: 100%;
  padding: .625rem .875rem;
  border: 1.5px solid var(--n-300);
  border-radius: var(--r);
  font-size: .9rem;
  font-family: var(--font);
  color: var(--primary);
  background: #fff;
  transition: var(--ease);
  outline: none;
}
.field:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27,42,74,.1);
}
.field::placeholder { color: var(--n-400); }
.field-group { margin-bottom: 1.125rem; }
.field-wrap { position: relative; }
.field-wrap .field { padding-right: 2.75rem; }
.field-wrap .toggle-pw {
  position: absolute;
  right: .75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--n-400);
  font-size: .9rem;
  padding: 0;
}
.field-wrap .toggle-pw:hover { color: var(--primary); }
.field-hint { font-size: .75rem; color: var(--n-500); margin-top: .3rem; }

/* Auth card */
.auth-wrap {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: var(--bg-alt);
}
.auth-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 2.5rem;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--s-lg);
}
.auth-card-header {
  background: var(--primary);
  margin: -2.5rem -2.5rem 1.75rem;
  padding: 2rem 2.5rem;
  border-radius: var(--r-2xl) var(--r-2xl) 0 0;
  text-align: center;
}
.auth-card-header img { height: 60px; width: auto; margin: 0 auto; }
.auth-head { text-align: center; margin-bottom: 2rem; }
.auth-head h2 { font-size: 1.5rem; margin-bottom: .375rem; color: var(--primary); }
.auth-head p { color: var(--text-muted); font-size: .9rem; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: .875rem;
  color: var(--n-400);
  font-size: .775rem;
  margin: 1.25rem 0;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--n-200);
}
.auth-foot { text-align: center; margin-top: 1.25rem; font-size: .875rem; color: var(--n-500); }
.auth-foot a { color: var(--primary); font-weight: 600; }
.check-row { display: flex; align-items: flex-start; gap: .625rem; margin-bottom: 1.125rem; }
.check-row input[type=checkbox] {
  width: 16px;
  height: 16px;
  margin-top: .2rem;
  accent-color: var(--primary);
  flex-shrink: 0;
}
.check-row label { font-size: .825rem; color: var(--n-600); line-height: 1.5; }
.check-row label a { color: var(--primary); }

/* ── 17. PAGE HEADER (inner) ── */
.page-header {
  background: var(--primary-xlight);
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}
.page-header h1 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: .375rem; color: var(--primary); }
.breadcrumb-ma { font-size: .8rem; color: var(--n-500); }
.breadcrumb-ma a { color: var(--primary); }
.breadcrumb-ma span { margin: 0 .375rem; }

/* ── 18. FILTER BAR ── */
.filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.filter-btn {
  padding: .375rem 1rem;
  border: 1.5px solid var(--n-300);
  border-radius: 20px;
  background: #fff;
  font-size: .825rem;
  font-weight: 600;
  color: var(--n-600);
  cursor: pointer;
  transition: var(--ease);
}
.filter-btn:hover,
.filter-btn.active {
  border-color: var(--primary);
  color: #fff;
  background: var(--primary);
}

/* Course search */
.search-bar {
  position: relative;
  max-width: 400px;
}
.search-bar i {
  position: absolute;
  left: .875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--n-400);
  font-size: .9rem;
  pointer-events: none;
}
.search-bar .field { padding-left: 2.5rem; }

/* ── 19. COURSE DETAIL ── */
.learn-list { list-style: none; padding: 0; margin: 0; }
.learn-list li {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  padding: .425rem 0;
  font-size: .9rem;
}
.learn-list li i { color: var(--accent); margin-top: .15rem; font-size: .8rem; flex-shrink: 0; }

.curriculum-section { margin-bottom: .5rem; }
.curriculum-sec-head {
  background: var(--primary-xlight);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: .875rem 1.125rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 700;
  font-size: .9rem;
  color: var(--primary);
}
.curriculum-sec-head:hover { background: var(--navy-50); }
.curriculum-items { border: 1px solid var(--border); border-top: none; border-radius: 0 0 var(--r) var(--r); overflow: hidden; }
.curr-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1.125rem;
  font-size: .875rem;
  border-bottom: 1px solid var(--n-100);
}
.curr-item:last-child { border-bottom: none; }
.curr-item i { color: var(--primary); width: 16px; text-align: center; }

.enroll-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--s-lg);
  position: sticky;
  top: 100px;
}
.enroll-card-top { background: var(--primary); padding: 1.5rem; color: #fff; text-align: center; }
.enroll-price { font-size: 2rem; font-weight: 900; color: #fff; }
.enroll-price.free { color: var(--accent); }
.enroll-card-body { padding: 1.5rem; }
.includes-list { list-style: none; padding: 0; margin: 0; }
.includes-list li {
  display: flex;
  align-items: center;
  gap: .625rem;
  padding: .5rem 0;
  font-size: .85rem;
  color: var(--n-600);
  border-bottom: 1px solid var(--n-100);
}
.includes-list li:last-child { border-bottom: none; }
.includes-list i { color: var(--primary); width: 16px; text-align: center; }

/* ── 20. ABOUT ── */
.team-card { text-align: center; }
.team-av {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.875rem;
  font-weight: 700;
  margin: 0 auto 1rem;
  border: 3px solid var(--accent);
}
.team-name { font-weight: 700; font-size: .975rem; margin-bottom: .2rem; color: var(--primary); }
.team-role { font-size: .8rem; color: var(--accent); font-weight: 600; margin-bottom: .375rem; }
.team-bio { font-size: .825rem; color: var(--text-muted); }

/* ── 21. BECOME CREATOR ── */
.creator-benefit {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: #fff;
  transition: var(--ease-slow);
}
.creator-benefit:hover { box-shadow: var(--s-md); border-color: var(--navy-200); }
.cb-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-xlight);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  flex-shrink: 0;
}
.cb-title { font-weight: 700; font-size: .95rem; margin-bottom: .25rem; color: var(--primary); }
.cb-desc { font-size: .85rem; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* ── 22. CONTACT ── */
.contact-info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: var(--ease);
}
.contact-info-card:hover { box-shadow: var(--s-md); border-color: var(--navy-200); }
.ci-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-xlight);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
  flex-shrink: 0;
}
.ci-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--n-500); margin-bottom: .2rem; }
.ci-val { font-weight: 600; font-size: .9rem; color: var(--primary); }

/* ── 23. MISC ── */
.divider-solid { height: 1px; background: var(--border); margin: 2rem 0; }
.tag-pill {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 600;
  background: var(--primary-xlight);
  color: var(--primary);
}
.alert-success-ma {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  border-radius: var(--r);
  padding: .875rem 1rem;
  font-size: .875rem;
  display: flex;
  align-items: center;
  gap: .625rem;
}
/* Gold accent pill (use for "New", "Featured", etc.) */
.tag-pill-gold {
  display: inline-block;
  padding: .2rem .625rem;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 700;
  background: var(--accent);
  color: var(--primary);
}
.select-ma {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231B2A4A' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .875rem center;
  padding-right: 2.5rem;
}
textarea.field { resize: vertical; min-height: 120px; }

/* ── 24. DIVIDER WITH ACCENT ── */
.section-divider {
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
  border: none;
  margin: 0;
  width: 60px;
}

/* ── 25. ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .5s ease both; }

/* ── 26. RESPONSIVE ── */
@media (max-width: 767px) {
  .section-py  { padding: 3rem 0; }
  .hero-home   { padding: 3.5rem 0 3rem; }
  .cta-block   { padding: 3rem 0; }
  .auth-card   { padding: 1.75rem 1.25rem; }
  .auth-card-header { margin: -1.75rem -1.25rem 1.5rem; padding: 1.5rem 1.25rem; }
  .stats-bar .row { row-gap: 1.25rem; }
}
@media (max-width: 575px) {
  .feature-card  { padding: 1.25rem; }
  .testi-card    { padding: 1.25rem; }
  .creator-benefit { flex-direction: column; }
}
