/* Money Mitra Network Courses - Premium E-Commerce Store Stylesheet */
:root {
  --mmn-bg: #faf9f6;
  --mmn-card-bg: #ffffff;
  --mmn-navy: #0f172a;
  --mmn-navy-light: #1e293b;
  --mmn-navy-hover: #334155;
  --mmn-emerald: #15803d;
  --mmn-emerald-light: #f0fdf4;
  --mmn-emerald-hover: #166534;
  --mmn-emerald-border: #bbf7d0;
  --mmn-orange: #ea580c;
  --mmn-orange-light: #fff7ed;
  --mmn-orange-hover: #c2410c;
  --mmn-text: #0f172a;
  --mmn-text-muted: #64748b;
  --mmn-text-light: #94a3b8;
  --mmn-border: #e2e8f0;
  --mmn-border-dark: #cbd5e1;
  --mmn-gray-bg: #f8fafc;
  --mmn-radius: 12px;
  --mmn-radius-sm: 8px;
  --mmn-radius-pill: 9999px;
  --mmn-shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --mmn-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --mmn-shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --mmn-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mmn-font-heading: 'Outfit', 'Inter', -apple-system, sans-serif;
  --mmn-transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--mmn-font-sans);
  background-color: var(--mmn-bg);
  color: var(--mmn-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--mmn-font-heading);
  font-weight: 700;
  color: var(--mmn-navy);
  line-height: 1.2;
}

/* Global Header */
.mmn-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mmn-border);
  transition: var(--mmn-transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.5rem;
}

/* Brand Logo */
.mmn-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--mmn-navy);
  letter-spacing: -0.02em;
}

.mmn-logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--mmn-navy) 0%, #1e293b 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.mmn-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9px;
}

.mmn-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.mmn-brand-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--mmn-navy);
}

.mmn-brand-subtitle {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--mmn-emerald);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Main Navigation */
.mmn-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--mmn-text-muted);
  transition: var(--mmn-transition);
  padding: 0.5rem 0.25rem;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--mmn-navy);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--mmn-emerald);
  border-radius: 2px;
}

/* Header Utilities */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Currency Select */
.currency-selector-wrapper {
  position: relative;
}

.currency-select {
  appearance: none;
  background-color: var(--mmn-gray-bg);
  border: 1px solid var(--mmn-border);
  border-radius: var(--mmn-radius-sm);
  padding: 0.45rem 2rem 0.45rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mmn-navy);
  cursor: pointer;
  transition: var(--mmn-transition);
}

.currency-select:hover {
  border-color: var(--mmn-border-dark);
}

.currency-icon-arrow {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--mmn-text-muted);
}

/* Header Buttons */
.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--mmn-radius-sm);
  border: 1px solid var(--mmn-border);
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mmn-navy);
  transition: var(--mmn-transition);
  position: relative;
}

.btn-icon:hover {
  background-color: var(--mmn-gray-bg);
  border-color: var(--mmn-border-dark);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--mmn-orange);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #ffffff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--mmn-radius-sm);
  transition: var(--mmn-transition);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--mmn-emerald);
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(21, 128, 61, 0.2);
}

.btn-primary:hover {
  background-color: var(--mmn-emerald-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(21, 128, 61, 0.3);
}

.btn-navy {
  background-color: var(--mmn-navy);
  color: #ffffff;
}

.btn-navy:hover {
  background-color: var(--mmn-navy-light);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1px solid var(--mmn-border);
  background-color: #ffffff;
  color: var(--mmn-navy);
}

.btn-outline:hover {
  background-color: var(--mmn-gray-bg);
  border-color: var(--mmn-border-dark);
}

.btn-ghost {
  color: var(--mmn-text-muted);
}

.btn-ghost:hover {
  color: var(--mmn-navy);
  background-color: var(--mmn-gray-bg);
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  border-radius: var(--mmn-radius);
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.825rem;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
}

/* Hero Section */
.hero-section {
  padding: 4rem 0 5rem 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--mmn-bg) 100%);
  border-bottom: 1px solid var(--mmn-border);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background-color: var(--mmn-emerald-light);
  border: 1px solid var(--mmn-emerald-border);
  color: var(--mmn-emerald);
  font-size: 0.825rem;
  font-weight: 600;
  border-radius: var(--mmn-radius-pill);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  color: var(--mmn-navy);
}

.hero-title span {
  color: var(--mmn-emerald);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--mmn-text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--mmn-border);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--mmn-navy);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--mmn-text-muted);
}

/* Hero Parallax Visual */
.hero-visual-wrapper {
  position: relative;
  perspective: 1000px;
}

.hero-visual-card {
  background: var(--mmn-navy);
  border-radius: var(--mmn-radius);
  padding: 1.5rem;
  box-shadow: var(--mmn-shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
  color: #ffffff;
}

.hero-visual-inner {
  background: #1e293b;
  border-radius: var(--mmn-radius-sm);
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mock-window-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

.mock-window-title {
  font-size: 0.75rem;
  color: var(--mmn-text-light);
  margin-left: auto;
  font-family: monospace;
}

.mock-content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
}

.mock-code-box {
  background: #090d16;
  border-radius: var(--mmn-radius-sm);
  padding: 1rem;
  font-family: monospace;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #38bdf8;
  overflow: hidden;
}

.mock-code-box .keyword { color: #f472b6; }
.mock-code-box .string { color: #4ade80; }
.mock-code-box .comment { color: #64748b; }

.mock-analytics-box {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.analytics-card {
  background: #0f172a;
  padding: 0.85rem;
  border-radius: var(--mmn-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.analytics-card-title {
  font-size: 0.7rem;
  color: var(--mmn-text-light);
  margin-bottom: 0.25rem;
}

.analytics-card-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #22c55e;
}

.hero-floating-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: #ffffff;
  color: var(--mmn-navy);
  padding: 0.85rem 1.25rem;
  border-radius: var(--mmn-radius);
  box-shadow: var(--mmn-shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border: 1px solid var(--mmn-border);
}

.floating-icon {
  width: 40px;
  height: 40px;
  background: var(--mmn-emerald-light);
  border-radius: var(--mmn-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mmn-emerald);
}

/* Category Browser Bar */
.category-browser-section {
  padding: 2.5rem 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--mmn-border);
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mmn-text-muted);
  margin-bottom: 1rem;
}

.category-scroll-container {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  background-color: var(--mmn-gray-bg);
  border: 1px solid var(--mmn-border);
  border-radius: var(--mmn-radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mmn-text);
  white-space: nowrap;
  transition: var(--mmn-transition);
  cursor: pointer;
}

.category-pill:hover, .category-pill.active {
  background-color: var(--mmn-navy);
  color: #ffffff;
  border-color: var(--mmn-navy);
}

/* Featured Section */
.featured-section {
  padding: 4rem 0;
  background-color: var(--mmn-bg);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-desc {
  color: var(--mmn-text-muted);
  margin-top: 0.35rem;
  font-size: 0.95rem;
}

/* Course Grid */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

/* Course Card */
.course-card {
  background-color: var(--mmn-card-bg);
  border: 1px solid var(--mmn-border);
  border-radius: var(--mmn-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--mmn-transition);
  position: relative;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--mmn-shadow-lg);
  border-color: var(--mmn-border-dark);
}

.card-image-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: var(--mmn-navy);
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.course-card:hover .card-image {
  transform: scale(1.04);
}

.card-badge-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--mmn-radius-pill);
  letter-spacing: 0.02em;
}

.card-badge-level {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--mmn-navy);
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--mmn-radius-pill);
}

.card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.775rem;
  color: var(--mmn-text-muted);
  margin-bottom: 0.6rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--mmn-navy);
  line-height: 1.35;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.7rem;
}

.card-title a:hover {
  color: var(--mmn-emerald);
}

.card-description {
  font-size: 0.85rem;
  color: var(--mmn-text-muted);
  line-height: 1.45;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.5rem;
}

.card-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}

.skill-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  background-color: var(--mmn-gray-bg);
  border: 1px solid var(--mmn-border);
  color: var(--mmn-text-muted);
  border-radius: 4px;
}

.card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--mmn-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.card-price-box {
  display: flex;
  flex-direction: column;
}

.price-original {
  font-size: 0.775rem;
  color: var(--mmn-text-light);
  text-decoration: line-through;
}

.price-current {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--mmn-navy);
  line-height: 1;
}

.price-fx-approx {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--mmn-emerald);
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Store Main Catalog Section */
.catalog-section {
  padding: 4rem 0 6rem 0;
  background-color: #ffffff;
  border-top: 1px solid var(--mmn-border);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
}

/* Filter Sidebar */
.filter-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.filter-group {
  background: var(--mmn-bg);
  border: 1px solid var(--mmn-border);
  border-radius: var(--mmn-radius);
  padding: 1.25rem;
}

.filter-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--mmn-navy);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--mmn-text);
  cursor: pointer;
  user-select: none;
}

.filter-checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--mmn-emerald);
  cursor: pointer;
}

.filter-count {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--mmn-text-light);
}

/* Catalog Top Controls Bar */
.catalog-topbar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.search-sort-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.search-input-wrapper {
  flex: 1;
  min-width: 260px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 2.75rem;
  background-color: var(--mmn-gray-bg);
  border: 1px solid var(--mmn-border);
  border-radius: var(--mmn-radius-sm);
  font-size: 0.9rem;
  color: var(--mmn-navy);
  transition: var(--mmn-transition);
}

.search-input:focus {
  outline: none;
  background-color: #ffffff;
  border-color: var(--mmn-emerald);
  box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.1);
}

.search-icon-left {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--mmn-text-muted);
  pointer-events: none;
}

.search-clear-btn {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--mmn-text-muted);
  display: none;
}

.sort-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sort-select {
  padding: 0.7rem 2rem 0.7rem 0.85rem;
  background-color: var(--mmn-gray-bg);
  border: 1px solid var(--mmn-border);
  border-radius: var(--mmn-radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--mmn-navy);
  cursor: pointer;
}

/* Active Chips Bar */
.active-chips-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.5rem 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  background-color: var(--mmn-emerald-light);
  border: 1px solid var(--mmn-emerald-border);
  color: var(--mmn-emerald);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--mmn-radius-pill);
}

.chip-remove {
  cursor: pointer;
  display: flex;
  align-items: center;
}

.clear-all-btn {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--mmn-orange);
  margin-left: 0.5rem;
  text-decoration: underline;
  cursor: pointer;
}

/* Empty State */
.no-results-state {
  text-align: center;
  padding: 4rem 2rem;
  background-color: var(--mmn-gray-bg);
  border-radius: var(--mmn-radius);
  border: 1px dashed var(--mmn-border-dark);
}

.no-results-icon {
  width: 56px;
  height: 56px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  color: var(--mmn-text-muted);
  box-shadow: var(--mmn-shadow-sm);
}

.no-results-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.no-results-desc {
  color: var(--mmn-text-muted);
  font-size: 0.9rem;
  max-width: 450px;
  margin: 0 auto 1.5rem auto;
}

/* Ecosystem Banner */
.ecosystem-section {
  padding: 4rem 0;
  background: var(--mmn-navy);
  color: #ffffff;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
}

.ecosystem-content h2 {
  color: #ffffff;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.ecosystem-content p {
  color: var(--mmn-text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.ecosystem-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.ecosystem-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem;
  border-radius: var(--mmn-radius-sm);
  transition: var(--mmn-transition);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ecosystem-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--mmn-emerald);
  transform: translateY(-2px);
}

.ecosystem-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--mmn-radius-sm);
  background: var(--mmn-emerald);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ecosystem-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.ecosystem-card-desc {
  font-size: 0.775rem;
  color: var(--mmn-text-light);
}

/* Course Detail Page Styling */
.course-detail-hero {
  background-color: var(--mmn-navy);
  color: #ffffff;
  padding: 3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.breadcrumb-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  color: var(--mmn-text-light);
  margin-bottom: 1.5rem;
}

.breadcrumb-bar a {
  color: var(--mmn-text-light);
}

.breadcrumb-bar a:hover {
  color: #ffffff;
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
}

.detail-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.detail-subtitle {
  font-size: 1.1rem;
  color: var(--mmn-text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.detail-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--mmn-text-light);
}

.detail-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Detail Main Content Layout */
.detail-main-section {
  padding: 4rem 0;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
}

.detail-content-column {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* Purchase Sidebar Sticky Card */
.purchase-card-wrapper {
  position: sticky;
  top: 90px;
  margin-top: -160px;
  z-index: 100;
}

.purchase-card {
  background: #ffffff;
  border: 1px solid var(--mmn-border);
  border-radius: var(--mmn-radius);
  box-shadow: var(--mmn-shadow-lg);
  overflow: hidden;
}

.purchase-media-box {
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: var(--mmn-navy);
}

.purchase-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.price-display-block {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.price-main-tag {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--mmn-navy);
}

.price-old-tag {
  font-size: 1.1rem;
  color: var(--mmn-text-muted);
  text-decoration: line-through;
}

.price-fx-info {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--mmn-emerald);
}

.purchase-guarantee-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--mmn-text-muted);
  padding: 0.75rem;
  background-color: var(--mmn-gray-bg);
  border-radius: var(--mmn-radius-sm);
}

.includes-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--mmn-text);
}

.includes-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Accordion Component */
.accordion-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

details.mmn-accordion {
  background-color: #ffffff;
  border: 1px solid var(--mmn-border);
  border-radius: var(--mmn-radius-sm);
  overflow: hidden;
  transition: var(--mmn-transition);
}

details.mmn-accordion[open] {
  border-color: var(--mmn-emerald);
  box-shadow: var(--mmn-shadow-sm);
}

summary.accordion-header {
  padding: 1rem 1.25rem;
  font-weight: 700;
  font-size: 0.975rem;
  color: var(--mmn-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  user-select: none;
}

summary.accordion-header::-webkit-details-marker {
  display: none;
}

.accordion-body {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--mmn-border);
  font-size: 0.9rem;
  color: var(--mmn-text-muted);
  line-height: 1.6;
}

/* Cart Page */
.cart-section {
  padding: 4rem 0;
  min-height: 70vh;
}

.cart-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2.5rem;
}

.cart-items-table {
  background: #ffffff;
  border: 1px solid var(--mmn-border);
  border-radius: var(--mmn-radius);
  overflow: hidden;
}

.cart-item-row {
  display: grid;
  grid-template-columns: 100px 1fr auto auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem;
  border-bottom: 1px solid var(--mmn-border);
}

.cart-item-row:last-child {
  border-bottom: none;
}

.cart-item-thumb {
  width: 100px;
  aspect-ratio: 16 / 9;
  border-radius: var(--mmn-radius-sm);
  overflow: hidden;
  background-color: var(--mmn-navy);
}

.cart-item-title {
  font-weight: 700;
  font-size: 0.975rem;
  color: var(--mmn-navy);
}

.cart-item-category {
  font-size: 0.775rem;
  color: var(--mmn-text-muted);
}

.cart-item-price {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--mmn-navy);
}

.remove-btn {
  color: #ef4444;
  cursor: pointer;
  padding: 0.35rem;
  border-radius: 4px;
}

.remove-btn:hover {
  background-color: #fef2f2;
}

/* Footer */
.mmn-footer {
  background-color: var(--mmn-navy);
  color: var(--mmn-text-light);
  padding: 5rem 0 2rem 0;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Footer Newsletter Block */
.footer-newsletter {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--mmn-radius);
  padding: 2rem 2.25rem;
  margin-bottom: 3.5rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.footer-newsletter-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.footer-newsletter-desc {
  font-size: 0.875rem;
  color: var(--mmn-text-light);
  line-height: 1.5;
}

.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.newsletter-input-group {
  display: flex;
  gap: 0.6rem;
}

.newsletter-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--mmn-radius-sm);
  padding: 0.75rem 1rem;
  color: #ffffff;
  font-size: 0.875rem;
  outline: none;
  transition: all 0.2s ease;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
  border-color: var(--mmn-emerald);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.newsletter-btn {
  white-space: nowrap;
}

.newsletter-message {
  font-size: 0.825rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--mmn-radius-sm);
  line-height: 1.4;
  margin-top: 0.25rem;
}

.newsletter-message.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--mmn-emerald);
  color: #a7f3d0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.footer-col-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--mmn-text-light);
  transition: var(--mmn-transition);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.825rem;
  color: var(--mmn-text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

/* Toast Notification Overlay System */
.mmn-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 420px;
  width: calc(100vw - 32px);
  pointer-events: none;
}

@media (max-width: 640px) {
  .mmn-toast-container {
    bottom: 16px;
    right: 16px;
    left: 16px;
    width: auto;
    max-width: none;
  }
}

.toast-card {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.05);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  transform: translateX(120%) scale(0.95);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-card.show {
  transform: translateX(0) scale(1);
  opacity: 1;
}

.toast-card.hide {
  transform: translateX(120%) scale(0.95);
  opacity: 0;
}

.toast-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.toast-cart .toast-badge, .toast-success .toast-badge {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.3);
}

.toast-wishlist .toast-badge {
  background: rgba(225, 29, 72, 0.2);
  color: #f43f5e;
  border-color: rgba(225, 29, 72, 0.3);
}

.toast-info .toast-badge {
  background: rgba(14, 165, 233, 0.2);
  color: #38bdf8;
  border-color: rgba(14, 165, 233, 0.3);
}

.toast-error .toast-badge {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.3);
}

.toast-content {
  flex: 1;
  min-width: 0;
}

.toast-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.toast-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #f8fafc;
  letter-spacing: -0.01em;
}

.toast-message {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 2px;
  line-height: 1.4;
  word-break: break-word;
}

.toast-action-btn {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--mmn-radius-pill);
  background: var(--mmn-emerald);
  color: #ffffff;
  border: none;
  cursor: pointer;
  margin-top: 8px;
  transition: background-color 0.15s ease, transform 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.toast-action-btn:hover {
  background: #059669;
  transform: translateY(-1px);
}

.toast-close-btn {
  color: #94a3b8;
  padding: 2px 6px;
  cursor: pointer;
  background: transparent;
  border: none;
  font-size: 1.25rem;
  line-height: 1;
  border-radius: 4px;
  transition: color 0.15s, background-color 0.15s;
}

.toast-close-btn:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

.toast-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--mmn-emerald), #34d399);
  width: 100%;
  transition: width linear;
}

/* Newsletter Inline Validation & Spinner State */
.newsletter-message {
  margin-top: 0.75rem;
  font-size: 0.825rem;
  line-height: 1.4;
  border-radius: var(--mmn-radius-sm);
  padding: 0.6rem 0.85rem;
  display: none;
  animation: fadeIn 0.25s ease;
  font-weight: 600;
}

.newsletter-message.error {
  display: block;
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.newsletter-message.success {
  display: block;
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.newsletter-message.info {
  display: block;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.input-error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25) !important;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.mmn-spinner {
  display: inline-block;
  vertical-align: middle;
  animation: spin 0.8s linear infinite;
  transform-origin: center;
}

/* Skeleton Loading Grid & Realistic Shimmer System */
.skeleton-card {
  background: #ffffff;
  border: 1px solid var(--mmn-border);
  border-radius: var(--mmn-radius);
  overflow: hidden;
  box-shadow: var(--mmn-shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 410px;
  position: relative;
  pointer-events: none;
  user-select: none;
}

.skeleton-shimmer {
  background: linear-gradient(90deg, #f1f5f9 0%, #e2e8f0 50%, #f1f5f9 100%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.4s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes skeletonShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton-img-wrap {
  position: relative;
  width: 100%;
  height: 190px;
  background-color: #e2e8f0;
  overflow: hidden;
}

.skeleton-img-wrap .skeleton-overlay-badge {
  position: absolute;
  top: 10px;
  height: 22px;
  border-radius: var(--mmn-radius-pill);
  background: rgba(255, 255, 255, 0.7);
}

.skeleton-img-wrap .skeleton-badge-cat {
  left: 10px;
  width: 85px;
}

.skeleton-img-wrap .skeleton-badge-lvl {
  left: 100px;
  width: 65px;
}

.skeleton-img-wrap .skeleton-wishlist-circle {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
}

.skeleton-img-wrap .skeleton-overlay-actions {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.skeleton-img-wrap .skeleton-overlay-btn {
  height: 26px;
  width: 80px;
  border-radius: var(--mmn-radius-pill);
  background: rgba(255, 255, 255, 0.6);
}

.skeleton-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.75rem;
}

.skeleton-meta-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.15rem;
}

.skeleton-meta-item {
  width: 65px;
  height: 16px;
  border-radius: 4px;
}

.skeleton-compare-pill {
  width: 60px;
  height: 18px;
  border-radius: var(--mmn-radius-pill);
  margin-left: auto;
}

.skeleton-title {
  width: 94%;
  height: 20px;
  border-radius: 4px;
}

.skeleton-title-short {
  width: 68%;
  height: 20px;
  margin-top: -0.35rem;
}

.skeleton-desc {
  width: 96%;
  height: 14px;
  border-radius: 4px;
}

.skeleton-desc-short {
  width: 78%;
  height: 14px;
  margin-top: -0.4rem;
}

.skeleton-progress-track {
  width: 100%;
  height: 6px;
  border-radius: var(--mmn-radius-pill);
  margin: 0.25rem 0;
}

.skeleton-skills-row {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.skeleton-skill-pill {
  width: 58px;
  height: 18px;
  border-radius: 4px;
}

.skeleton-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--mmn-border);
}

.skeleton-price-block {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.skeleton-price-old {
  width: 45px;
  height: 12px;
  border-radius: 3px;
}

.skeleton-price-curr {
  width: 70px;
  height: 22px;
  border-radius: 4px;
}

.skeleton-btn-action {
  width: 96px;
  height: 36px;
  border-radius: var(--mmn-radius-sm);
}

/* Catalog Smooth Transition Animation */
.catalog-fade-in {
  animation: catalogItemFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes catalogItemFadeIn {
  from {
    opacity: 0.3;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .skeleton-shimmer {
    animation: none;
  }
  .catalog-fade-in {
    animation: none;
  }
}

/* Popular Searches Bar */
.popular-searches-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
  padding: 0 0.25rem;
}

.popular-search-label {
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--mmn-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.popular-search-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--mmn-radius-pill);
  background: var(--mmn-bg);
  border: 1px solid var(--mmn-border);
  color: var(--mmn-navy);
  cursor: pointer;
  transition: all 0.2s ease;
}

.popular-search-tag:hover, .popular-search-tag:focus-visible {
  background: var(--mmn-emerald-light);
  border-color: var(--mmn-emerald);
  color: var(--mmn-emerald);
  outline: none;
}

/* Keyboard Focus States for Accessibility */
.category-pill:focus-visible,
.testimonial-nav-btn:focus-visible,
.rm-nav-btn:focus-visible,
.filter-checkbox-label:focus-within {
  outline: 2px solid var(--mmn-emerald) !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25) !important;
}

/* Wishlist Badge & Button Styling */
.wishlist-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: #e11d48;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  height: 18px;
  min-width: 18px;
  padding: 0 4px;
  border-radius: var(--mmn-radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

.btn-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.8);
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.btn-wishlist:hover {
  transform: scale(1.12);
  color: #e11d48;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.2);
}

.btn-wishlist.active {
  color: #e11d48;
  background: #ffffff;
  border-color: #fecdd3;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.18);
}

/* Search Keyword Highlight */
.search-highlight {
  background-color: #fef08a;
  color: #854d0e;
  padding: 0 3px;
  border-radius: 3px;
  font-weight: 700;
  font-style: normal;
  display: inline;
}

/* Testimonials Section */
.testimonials-section {
  padding: 5.5rem 0;
  background-color: var(--mmn-bg);
  border-bottom: 1px solid var(--mmn-border);
  position: relative;
  overflow: hidden;
}

/* Ambient Rotating Circle Background Glow for Testimonials */
.testimonial-bg-circle {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px dashed rgba(16, 185, 129, 0.25);
  background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  animation: spinSlow 40s linear infinite;
  z-index: 1;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.badge-rotating-spin {
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.35rem;
  animation: spinSlow 12s linear infinite;
  color: var(--mmn-emerald);
}

.section-badge-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mmn-emerald);
  background-color: var(--mmn-emerald-light);
  padding: 0.35rem 0.85rem;
  border-radius: var(--mmn-radius-pill);
  margin-bottom: 0.75rem;
  border: 1px solid var(--mmn-emerald-border);
}

.testimonial-controls {
  display: flex;
  gap: 0.6rem;
  z-index: 2;
  position: relative;
}

.testimonial-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid var(--mmn-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mmn-navy);
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  box-shadow: var(--mmn-shadow-sm);
}

.testimonial-nav-btn:hover {
  background-color: var(--mmn-navy);
  color: #ffffff;
  border-color: var(--mmn-navy);
  transform: scale(1.08);
  box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.2);
}

.testimonials-scroll-wrapper {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.75rem 0.25rem 1.75rem 0.25rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  position: relative;
  z-index: 2;
}

.testimonials-scroll-wrapper::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 380px;
  scroll-snap-align: start;
  background-color: #ffffff;
  border-radius: var(--mmn-radius);
  border: 1px solid var(--mmn-border);
  padding: 1.75rem;
  box-shadow: 0 4px 16px -4px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  will-change: transform;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 38px -10px rgba(16, 185, 129, 0.15), 0 4px 12px rgba(15, 23, 42, 0.06);
  border-color: var(--mmn-emerald);
}

.testimonial-card:hover .avatar-circle {
  transform: scale(1.1) rotate(4deg);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.testimonial-card:hover .verified-tag {
  background: var(--mmn-emerald);
  color: #ffffff;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  position: relative;
}

.avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.avatar-blue { background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%); }
.avatar-emerald { background: linear-gradient(135deg, #10b981 0%, #047857 100%); }
.avatar-orange { background: linear-gradient(135deg, #f97316 0%, #c2410c 100%); }
.avatar-purple { background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%); }
.avatar-teal { background: linear-gradient(135deg, #14b8a6 0%, #0f766e 100%); }

.student-name {
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--mmn-navy);
  line-height: 1.2;
}

.student-role {
  font-size: 0.775rem;
  color: var(--mmn-text-muted);
}

.verified-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--mmn-emerald);
  background: var(--mmn-emerald-light);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--mmn-emerald-border);
  margin-left: auto;
  white-space: nowrap;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Testimonial Progress Indicator Bar */
.testimonial-progress-wrapper {
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.testimonial-progress-track {
  width: 180px;
  height: 4px;
  background-color: var(--mmn-border);
  border-radius: var(--mmn-radius-pill);
  overflow: hidden;
  position: relative;
}

.testimonial-progress-bar {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--mmn-emerald) 0%, #3b82f6 100%);
  border-radius: var(--mmn-radius-pill);
  transition: width 0.15s ease-out;
}

.star-rating {
  color: #f59e0b;
  font-size: 0.95rem;
  margin: 1.1rem 0 0.6rem 0;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.925rem;
  color: var(--mmn-navy-light);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.course-completed-pill {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mmn-text-muted);
  background: var(--mmn-gray-bg);
  padding: 0.5rem 0.75rem;
  border-radius: var(--mmn-radius-sm);
  border: 1px solid var(--mmn-border);
  margin-top: auto;
}

/* Recently Viewed Section */
.recently-viewed-section {
  padding: 4.5rem 0;
  background-color: var(--mmn-gray-bg);
  border-bottom: 1px solid var(--mmn-border);
}

/* FAQ Accordion Section */
.faq-section {
  padding: 5.5rem 0;
  background-color: #ffffff;
  border-top: 1px solid var(--mmn-border);
}

.faq-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem auto;
}

.faq-accordion-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--mmn-bg);
  border: 1px solid var(--mmn-border);
  border-radius: var(--mmn-radius);
  overflow: hidden;
  transition: var(--mmn-transition);
}

.faq-item[open] {
  border-color: var(--mmn-navy);
  box-shadow: var(--mmn-shadow-sm);
  background-color: #ffffff;
}

.faq-question {
  list-style: none;
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--mmn-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  transition: transform 0.25s ease;
  color: var(--mmn-text-muted);
  flex-shrink: 0;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
  color: var(--mmn-emerald);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--mmn-text-muted);
  line-height: 1.65;
  border-top: 1px dashed var(--mmn-border);
  margin-top: 0.5rem;
  padding-top: 1rem;
}

/* ==========================================================================
   Interactive UI Enhancements: Hover Lift, Quick View, Tooltips, Progress, Share & Roadmaps
   ========================================================================== */

/* Enhanced Course Card Hover Lift & Shadow Increase */
.course-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.3s ease;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.14), 0 10px 15px -5px rgba(15, 23, 42, 0.08);
  border-color: var(--mmn-emerald);
}

/* Quick View Button Overlay on Course Card Image */
.btn-quickview-overlay {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  pointer-events: none;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(4px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.4rem 0.9rem;
  border-radius: var(--mmn-radius-pill);
  font-size: 0.775rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 5;
  white-space: nowrap;
}

.course-card:hover .btn-quickview-overlay {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.btn-quickview-overlay:hover {
  background: var(--mmn-emerald);
  border-color: var(--mmn-emerald);
  color: #ffffff;
}

/* Inline Social Share Buttons inside Course Card */
.card-share-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.share-icon-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--mmn-gray-bg);
  border: 1px solid var(--mmn-border);
  color: var(--mmn-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.share-icon-btn:hover {
  background: var(--mmn-navy);
  color: #ffffff;
  border-color: var(--mmn-navy);
  transform: scale(1.1);
}

/* Visual Module Progress Bar */
.card-progress-box {
  margin: 0.5rem 0 0.85rem 0;
  width: 100%;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.725rem;
  font-weight: 600;
  color: var(--mmn-text-muted);
  margin-bottom: 0.25rem;
}

.progress-percent {
  color: var(--mmn-emerald);
  font-weight: 700;
}

.progress-bar-track {
  width: 100%;
  height: 6px;
  background-color: var(--mmn-gray-bg);
  border-radius: var(--mmn-radius-pill);
  overflow: hidden;
  border: 1px solid var(--mmn-border);
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--mmn-emerald) 0%, #059669 100%);
  border-radius: var(--mmn-radius-pill);
  transition: width 0.5s ease-in-out;
}

/* Subtle Price Tag Tooltip */
.mmn-tooltip-trigger {
  position: relative;
  cursor: help;
}

.mmn-tooltip {
  position: absolute;
  bottom: 125%;
  left: 0;
  transform: translateY(6px);
  background: var(--mmn-navy);
  color: #ffffff;
  padding: 0.85rem 1rem;
  border-radius: var(--mmn-radius-sm);
  font-size: 0.775rem;
  width: 230px;
  box-shadow: var(--mmn-shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
}

.mmn-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 20px;
  border-width: 6px;
  border-style: solid;
  border-color: var(--mmn-navy) transparent transparent transparent;
}

.mmn-tooltip-trigger:hover .mmn-tooltip {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.tooltip-title {
  font-weight: 800;
  color: var(--mmn-emerald);
  margin-bottom: 0.4rem;
  font-size: 0.825rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.25rem;
}

.tooltip-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: var(--mmn-text-light);
}

/* Modal Backdrops & Quick View Dialog */
.mmn-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mmn-modal-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.mmn-modal-dialog {
  background: #ffffff;
  border-radius: var(--mmn-radius);
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--mmn-border);
  padding: 2rem;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mmn-modal-backdrop.show .mmn-modal-dialog {
  transform: scale(1);
}

.mmn-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: var(--mmn-gray-bg);
  border: 1px solid var(--mmn-border);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--mmn-navy);
  transition: all 0.2s ease;
  z-index: 10;
}

.mmn-modal-close:hover {
  background: var(--mmn-navy);
  color: #ffffff;
}

/* Quick View Specific Layout */
.quickview-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2rem;
}

.quickview-media {
  position: relative;
  border-radius: var(--mmn-radius-sm);
  overflow: hidden;
  background: var(--mmn-navy);
  aspect-ratio: 16/9;
}

.quickview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quickview-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 0.5rem;
}

.quickview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.825rem;
  color: var(--mmn-text-muted);
  margin-bottom: 0.5rem;
}

.quickview-rating {
  color: #d97706;
  font-weight: 700;
}

.quickview-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--mmn-navy);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.quickview-desc {
  font-size: 0.9rem;
  color: var(--mmn-text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.quickview-meta-row {
  display: flex;
  gap: 1.25rem;
  font-size: 0.8rem;
  color: var(--mmn-navy);
  background: var(--mmn-gray-bg);
  padding: 0.6rem 0.85rem;
  border-radius: var(--mmn-radius-sm);
  margin-bottom: 1rem;
}

.quickview-progress-box {
  background: #f8fafc;
  border: 1px solid var(--mmn-border);
  padding: 0.75rem 1rem;
  border-radius: var(--mmn-radius-sm);
  margin-bottom: 1.25rem;
}

.quickview-syllabus {
  background: #ffffff;
  border: 1px solid var(--mmn-border);
  padding: 1rem;
  border-radius: var(--mmn-radius-sm);
  margin-bottom: 1.25rem;
}

.quickview-syllabus h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--mmn-navy);
  margin-bottom: 0.5rem;
}

.quickview-syllabus ul {
  padding-left: 1.2rem;
  margin: 0;
  font-size: 0.825rem;
  color: var(--mmn-text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.quickview-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--mmn-border);
  margin-bottom: 1rem;
}

.quickview-actions {
  display: flex;
  gap: 0.75rem;
}

.quickview-share-bar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--mmn-text-muted);
}

/* Roadmap Section Styling */
.roadmap-section {
  padding: 4.5rem 0;
  background-color: var(--mmn-gray-bg);
  border-top: 1px solid var(--mmn-border);
  border-bottom: 1px solid var(--mmn-border);
}

.roadmap-tabs {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
  scrollbar-width: thin;
}

.roadmap-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--mmn-radius-pill);
  background: #ffffff;
  border: 1px solid var(--mmn-border);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--mmn-navy);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: var(--mmn-shadow-sm);
}

.roadmap-tab-btn.active, .roadmap-tab-btn:hover {
  background: var(--mmn-navy);
  color: #ffffff;
  border-color: var(--mmn-navy);
}

.roadmap-header-box {
  background: #ffffff;
  border: 1px solid var(--mmn-border);
  border-radius: var(--mmn-radius);
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--mmn-shadow-sm);
}

.rm-badge-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--mmn-emerald);
  background: rgba(16, 185, 129, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: var(--mmn-radius-pill);
  margin-bottom: 0.5rem;
}

.rm-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--mmn-navy);
  margin-bottom: 0.35rem;
}

.rm-desc {
  color: var(--mmn-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.rm-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--mmn-navy);
  border-top: 1px dashed var(--mmn-border);
  padding-top: 0.85rem;
}

.roadmap-steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.roadmap-step-card {
  display: flex;
  gap: 1.5rem;
}

.step-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-num-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--mmn-emerald);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--mmn-shadow-sm);
  flex-shrink: 0;
}

.connector-line {
  width: 3px;
  flex: 1;
  background: var(--mmn-border-dark);
  margin-top: 0.5rem;
  border-radius: 2px;
}

.step-content {
  flex: 1;
  background: #ffffff;
  border: 1px solid var(--mmn-border);
  border-radius: var(--mmn-radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--mmn-shadow-sm);
}

.step-phase-tag {
  font-size: 0.775rem;
  font-weight: 800;
  color: var(--mmn-orange);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.4rem;
}

.step-course-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--mmn-navy);
  margin-bottom: 0.5rem;
}

.step-course-title a:hover {
  color: var(--mmn-emerald);
}

.step-outcome {
  font-size: 0.875rem;
  color: var(--mmn-text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  background: #f8fafc;
  padding: 0.65rem 0.85rem;
  border-radius: var(--mmn-radius-sm);
  border-left: 3px solid var(--mmn-emerald);
}

.step-progress-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.step-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Roadmap Overlay Dialog */
.roadmap-modal-dialog {
  max-width: 900px;
}

.roadmap-modal-header h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--mmn-navy);
  margin: 0.35rem 0;
}

.roadmap-modal-nav {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  margin: 1.25rem 0;
  padding-bottom: 0.5rem;
}

.rm-nav-btn {
  padding: 0.4rem 0.85rem;
  border-radius: var(--mmn-radius-pill);
  border: 1px solid var(--mmn-border);
  background: var(--mmn-gray-bg);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--mmn-navy);
  cursor: pointer;
  white-space: nowrap;
}

.rm-nav-btn.active {
  background: var(--mmn-emerald);
  color: #ffffff;
  border-color: var(--mmn-emerald);
}

.modal-step-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--mmn-border);
}

.modal-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--mmn-navy);
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal-step-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0.25rem 0;
}

.modal-step-btns {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

/* Mobile Filter Button & Header */
.mobile-filter-toggle-btn {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  font-weight: 700;
  border-radius: var(--mmn-radius-sm);
  cursor: pointer;
  background-color: #ffffff;
  border: 1px solid var(--mmn-border);
  color: var(--mmn-navy);
  transition: var(--mmn-transition);
}

.mobile-filter-toggle-btn:hover {
  background-color: var(--mmn-gray-bg);
  border-color: var(--mmn-navy);
}

.mobile-filter-count-badge {
  background-color: var(--mmn-emerald);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: var(--mmn-radius-pill);
}

.mobile-filter-header {
  display: none;
}

/* Keyboard & Accessibility Focus Ring Highlights */
summary:focus-visible,
.filter-checkbox-label:focus-visible,
.filter-checkbox-label:focus-within,
.category-pill:focus-visible,
.faq-question:focus-visible {
  outline: 2px solid var(--mmn-emerald);
  outline-offset: 2px;
  border-radius: var(--mmn-radius-sm);
}

.filter-checkbox-label {
  padding: 0.35rem 0.5rem;
  border-radius: var(--mmn-radius-sm);
  transition: background-color 0.15s ease;
  min-height: 38px;
}

.filter-checkbox-label:hover {
  background-color: rgba(21, 128, 61, 0.05);
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  .mobile-filter-toggle-btn {
    display: inline-flex;
  }
  .mobile-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--mmn-border);
  }
  .filter-sidebar {
    display: none;
  }
  .filter-sidebar.mobile-open {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 2500;
    background: #ffffff;
    padding: 1.5rem;
    overflow-y: auto;
    flex-direction: column;
    box-shadow: var(--mmn-shadow-lg);
  }
  .detail-hero-grid, .detail-layout, .cart-grid, .ecosystem-grid {
    grid-template-columns: 1fr;
  }
  .purchase-card-wrapper {
    position: static;
    margin-top: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Top Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--mmn-emerald) 0%, #22c55e 50%, var(--mmn-navy) 100%);
  z-index: 9999;
  width: 0%;
  transition: width 0.1s ease-out;
  pointer-events: none;
}

/* Header Elevation on Scroll */
.mmn-header.header-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
  border-bottom-color: rgba(226, 232, 240, 0.8);
}

/* Infinite Marquee Ticker */
.marquee-wrapper {
  overflow: hidden;
  background: var(--mmn-navy);
  color: #ffffff;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
  user-select: none;
}

.marquee-content {
  display: flex;
  width: max-content;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  padding-right: 2.25rem;
  will-change: transform;
}

.marquee-item {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #f8fafc;
}

.marquee-dot {
  color: var(--mmn-emerald);
  font-size: 0.7rem;
}

/* Curved Orbit Section (Skill Network Arc) */
.orbit-section {
  padding: 5.5rem 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--mmn-bg) 100%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--mmn-border);
}

/* Background Rotating SVG Circles for Orbit Section */
.orbit-rings-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 650px;
  height: 650px;
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-ring-svg {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: visible;
  will-change: transform;
  transform-origin: center center;
}

.orbit-ring-svg.inner-ring {
  width: 520px;
  height: 520px;
}

.orbit-ring-svg.outer-ring {
  width: 720px;
  height: 720px;
}

.orbit-ring-dot {
  filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.6));
}

.orbit-ring-dot-glow {
  filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.8));
  animation: pulseGlow 3s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  from { opacity: 0.6; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1.2); }
}

.orbit-container {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin: 1rem 0;
  z-index: 2;
}

.orbit-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 5;
  flex: 1;
  max-width: 260px;
}

.orbit-col-left {
  align-items: flex-end;
}

.orbit-col-right {
  align-items: flex-start;
}

@media (min-width: 1024px) {
  .orbit-col-left .orbit-card:nth-child(2) {
    transform: translateX(1.5rem);
  }
  .orbit-col-right .orbit-card:nth-child(2) {
    transform: translateX(-1.5rem);
  }
}

.orbit-center-card {
  position: relative;
  z-index: 10;
  background: #ffffff;
  padding: 2.5rem 2.25rem;
  border-radius: var(--mmn-radius);
  border: 1px solid var(--mmn-border);
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(15, 23, 42, 0.04);
  max-width: 480px;
  width: 100%;
  text-align: center;
  flex-shrink: 0;
}

.orbit-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--mmn-navy);
  margin: 0.65rem 0 0.85rem 0;
  line-height: 1.25;
}

.orbit-desc {
  font-size: 0.95rem;
  color: var(--mmn-text-muted);
  line-height: 1.6;
}

.orbit-card {
  background: #ffffff;
  border: 1px solid var(--mmn-border);
  border-radius: var(--mmn-radius-sm);
  padding: 0.75rem 1rem;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  will-change: transform;
  width: 100%;
  max-width: 250px;
  z-index: 5;
}

.orbit-card:hover {
  transform: translateY(-6px) scale(1.03) !important;
  box-shadow: 0 18px 32px -8px rgba(16, 185, 129, 0.2);
  border-color: var(--mmn-emerald);
}

.orbit-card-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.orbit-card-info {
  display: flex;
  flex-direction: column;
}

.orbit-card-label {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--mmn-navy);
  line-height: 1.2;
}

.orbit-card-sub {
  font-size: 0.725rem;
  color: var(--mmn-text-muted);
}

@media (max-width: 1023px) {
  .orbit-container {
    min-height: auto;
    flex-direction: column;
    gap: 2rem;
  }
  .orbit-col {
    max-width: 100%;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
  }
  .orbit-col-left, .orbit-col-right {
    align-items: stretch;
  }
}

/* Enhanced Course Card Interactivity */
.course-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
  will-change: transform;
}

.course-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.12), 0 10px 15px -5px rgba(15, 23, 42, 0.05);
  border-color: var(--mmn-emerald-border);
}

.course-card:hover .course-card-image img {
  transform: scale(1.06);
}

.course-card-image img {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Fallback Scroll Reveal */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced Motion Overrides */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.25rem;
  }
  .mmn-nav {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .course-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
  }
  .orbit-arc-wrapper {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
  }
  .orbit-card {
    min-width: 0;
  }
}


/* ==========================================
   Course Comparison & Video Preview Overlay
   ========================================== */

/* Card Compare Checkbox & Preview Buttons */
.card-overlay-actions {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  z-index: 5;
}

.btn-preview-overlay {
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.4rem 0.85rem;
  border-radius: var(--mmn-radius-pill);
  font-size: 0.785rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.25 ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.btn-preview-overlay:hover {
  background: var(--mmn-emerald);
  border-color: var(--mmn-emerald);
  color: #ffffff;
  transform: translateY(-1px);
}

.compare-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--mmn-navy);
  background: var(--mmn-gray-bg);
  border: 1px solid var(--mmn-border);
  padding: 0.3rem 0.65rem;
  border-radius: var(--mmn-radius-pill);
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}

.compare-checkbox-label:hover {
  background: #ffffff;
  border-color: var(--mmn-navy);
}

.compare-checkbox-label.active {
  background: var(--mmn-navy);
  color: #ffffff;
  border-color: var(--mmn-navy);
}

.compare-checkbox-label input[type="checkbox"] {
  accent-color: var(--mmn-emerald);
  cursor: pointer;
  width: 14px;
  height: 14px;
}

/* Floating Sticky Compare Bar */
.compare-sticky-bar {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1500;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--mmn-radius-pill);
  padding: 0.65rem 1.25rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  color: #ffffff;
  max-width: 90vw;
  animation: slideUpCompare 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpCompare {
  from { transform: translate(-50%, 100%); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}

.compare-bar-content {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.compare-bar-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.compare-badge-count {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--mmn-emerald);
  background: rgba(16, 185, 129, 0.15);
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  white-space: nowrap;
}

.compare-clear-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
}

.compare-clear-btn:hover {
  color: #ef4444;
}

.compare-bar-items {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.compare-bar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  max-width: 180px;
}

.compare-bar-item img {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  object-fit: cover;
}

.compare-item-title {
  font-size: 0.785rem;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.compare-item-remove {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.2rem;
}

.compare-item-remove:hover {
  color: #ef4444;
}

/* Side-by-Side Compare Modal */
.compare-modal-dialog {
  max-width: 1080px;
  padding: 2.25rem;
}

.compare-modal-header {
  margin-bottom: 1.5rem;
}

.compare-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--mmn-emerald);
  background: var(--mmn-emerald-light);
  padding: 0.35rem 0.85rem;
  border-radius: var(--mmn-radius-pill);
  margin-bottom: 0.5rem;
}

.compare-modal-header h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--mmn-navy);
  margin-bottom: 0.25rem;
}

.compare-modal-header p {
  font-size: 0.95rem;
  color: var(--mmn-text-muted);
}

.compare-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--mmn-border);
  border-radius: var(--mmn-radius-sm);
  background: #ffffff;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.compare-table th,
.compare-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--mmn-border);
  border-right: 1px solid var(--mmn-border);
  vertical-align: top;
  font-size: 0.925rem;
}

.compare-table th:last-child,
.compare-table td:last-child {
  border-right: none;
}

.compare-feature-col {
  width: 220px;
  background: var(--mmn-gray-bg);
  font-weight: 800;
  color: var(--mmn-navy);
  font-size: 0.95rem;
}

.compare-course-col {
  width: 260px;
  background: #ffffff;
}

.compare-card-head {
  position: relative;
  text-align: left;
}

.compare-col-remove {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.compare-col-remove:hover {
  background: #ef4444;
  color: #ffffff;
}

.compare-card-head img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: var(--mmn-radius-sm);
  margin-bottom: 0.65rem;
}

.compare-col-cat {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--mmn-emerald);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 0.2rem;
}

.compare-col-title {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--mmn-navy);
}

.compare-col-title a {
  color: inherit;
  text-decoration: none;
}

.compare-col-title a:hover {
  color: var(--mmn-orange);
}

.compare-empty-col {
  background: var(--mmn-gray-bg);
  text-align: center;
  vertical-align: middle;
}

.compare-add-slot {
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.add-slot-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px dashed var(--mmn-border);
  color: var(--mmn-text-muted);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
}

.add-slot-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--mmn-navy);
  margin-bottom: 0.75rem;
}

.add-course-select {
  width: 100%;
  padding: 0.5rem;
  border-radius: var(--mmn-radius-sm);
  border: 1px solid var(--mmn-border);
  font-size: 0.85rem;
  background: #ffffff;
  color: var(--mmn-navy);
}

.compare-feature-label {
  background: var(--mmn-gray-bg);
  font-weight: 700;
  color: var(--mmn-navy);
}

.compare-val-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--mmn-navy);
}

.compare-val-orig {
  font-size: 0.85rem;
  text-decoration: line-through;
  color: var(--mmn-text-muted);
}

.compare-save-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--mmn-orange);
  background: var(--mmn-orange-light);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-top: 0.25rem;
}

.compare-skills-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;

}

.compare-skills-list li {
  font-size: 0.85rem;
  color: var(--mmn-text);
  line-height: 1.4;
}

.level-pill {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: var(--mmn-radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  background: #e0f2fe;
  color: #0369a1;
}

.cert-badge {
  color: var(--mmn-emerald);
  font-weight: 700;
  font-size: 0.875rem;
}


/* Video Preview Modal */
.preview-modal-dialog {
  max-width: 960px;
  padding: 2rem;
}

.preview-modal-header {
  margin-bottom: 1.25rem;
}

.preview-top-tags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.preview-badge-cat {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--mmn-emerald);
  background: var(--mmn-emerald-light);
  padding: 0.25rem 0.65rem;
  border-radius: var(--mmn-radius-pill);
}

.preview-badge-level,
.preview-badge-duration {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--mmn-navy);
  background: var(--mmn-gray-bg);
  padding: 0.25rem 0.65rem;
  border-radius: var(--mmn-radius-pill);
  border: 1px solid var(--mmn-border);
}

.preview-modal-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--mmn-navy);
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.preview-modal-sub {
  font-size: 0.95rem;
  color: var(--mmn-text-muted);
}

.preview-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1.75rem;
}

@media (max-width: 820px) {
  .preview-grid {
    grid-template-columns: 1fr;
  }
}

.video-player-frame {
  position: relative;
  background: #0f172a;
  border-radius: var(--mmn-radius-sm);
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  aspect-ratio: 16/9;
}

.preview-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-overlay-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #ffffff;
  padding: 0.3rem 0.75rem;
  border-radius: var(--mmn-radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.video-chapters-box {
  margin-top: 1rem;
  background: var(--mmn-gray-bg);
  padding: 0.85rem 1rem;
  border-radius: var(--mmn-radius-sm);
  border: 1px solid var(--mmn-border);
}

.chapters-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--mmn-navy);
  margin-bottom: 0.5rem;
}

.chapter-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.chapter-pill {
  font-size: 0.785rem;
  font-weight: 700;
  color: var(--mmn-navy);
  background: #ffffff;
  border: 1px solid var(--mmn-border);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chapter-pill:hover {
  background: var(--mmn-navy);
  color: #ffffff;
  border-color: var(--mmn-navy);
}

.preview-outcomes-box {
  margin-bottom: 1.25rem;
}

.preview-outcomes-box h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--mmn-navy);
  margin-bottom: 0.65rem;
}

.preview-outcomes-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.preview-outcomes-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--mmn-text);
  line-height: 1.4;
}

.preview-instructor-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--mmn-gray-bg);
  border-radius: var(--mmn-radius-sm);
  margin-bottom: 1.25rem;
  border: 1px solid var(--mmn-border);
}

.instructor-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--mmn-navy);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
}

.instructor-name {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--mmn-navy);
}

.instructor-role {
  font-size: 0.8rem;
  color: var(--mmn-text-muted);
}

.preview-pricing-card {
  padding: 1.25rem;
  border: 1px solid var(--mmn-border);
  border-radius: var(--mmn-radius-sm);
  background: #ffffff;
  box-shadow: var(--mmn-shadow);
}

.preview-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.preview-price-curr {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--mmn-navy);
}

.preview-price-old {
  font-size: 1rem;
  text-decoration: line-through;
  color: var(--mmn-text-muted);
}

.preview-price-off {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--mmn-orange);
  background: var(--mmn-orange-light);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.preview-price-sub {
  font-size: 0.8rem;
  color: var(--mmn-text-muted);
  margin-bottom: 1rem;
}

/* ==========================================
   Student Reviews & Rating Component
   ========================================== */

.reviews-section-card {
  background: #ffffff;
  border-radius: var(--mmn-radius-sm);
}

.reviews-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.reviews-main-heading {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--mmn-navy);
  margin-bottom: 0.25rem;
}

.reviews-sub-heading {
  font-size: 0.9rem;
  color: var(--mmn-text-muted);
}

.unpurchased-notice-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--mmn-gray-bg);
  padding: 0.4rem 0.75rem;
  border-radius: var(--mmn-radius-pill);
  border: 1px solid var(--mmn-border);
}

.unpurchased-tag {
  font-size: 0.785rem;
  font-weight: 700;
  color: var(--mmn-text-muted);
}

/* Reviews Summary Grid */
.reviews-summary-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  padding: 1.5rem;
  background: var(--mmn-gray-bg);
  border-radius: var(--mmn-radius-sm);
  border: 1px solid var(--mmn-border);
  margin-bottom: 1.75rem;
  align-items: center;
}

@media (max-width: 640px) {
  .reviews-summary-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.rating-score-box {
  text-align: center;
}

.score-num {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--mmn-navy);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.score-stars {
  font-size: 1.25rem;
  color: #f59e0b;
  margin-bottom: 0.35rem;
}

.star-icon.full { color: #f59e0b; }
.star-icon.half { color: #f59e0b; }
.star-icon.empty { color: #d1d5db; }

.score-label {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--mmn-text-muted);
}

.rating-bars-box {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--mmn-navy);
}

.star-label {
  width: 32px;
  text-align: right;
}

.rating-bar-bg {
  flex: 1;
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}

.rating-bar-fill {
  height: 100%;
  background: #f59e0b;
  border-radius: 4px;
  transition: width 0.4s ease;
}

.pct-label {
  width: 36px;
  color: var(--mmn-text-muted);
  font-weight: 600;
}

/* Reviews Feed */
.reviews-feed-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.review-item-card {
  padding: 1.25rem;
  background: #ffffff;
  border: 1px solid var(--mmn-border);
  border-radius: var(--mmn-radius-sm);
  transition: box-shadow 0.2s ease;
}

.review-item-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.review-user-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.review-user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--mmn-navy);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-user-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--mmn-navy);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.verified-student-badge {
  font-size: 0.725rem;
  font-weight: 800;
  color: var(--mmn-emerald);
  background: var(--mmn-emerald-light);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.review-date-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.15rem;
}

.review-stars-inline {
  color: #f59e0b;
  font-size: 0.9rem;
}

.review-date-dot {
  color: var(--mmn-border);
}

.review-date-text {
  font-size: 0.8rem;
  color: var(--mmn-text-muted);
}

.review-headline {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--mmn-navy);
  margin-bottom: 0.4rem;
  line-height: 1.35;
}

.review-comment-body {
  font-size: 0.925rem;
  color: var(--mmn-text);
  line-height: 1.55;
  margin-bottom: 0.85rem;
}

.review-footer-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.review-like-btn {
  background: var(--mmn-gray-bg);
  border: 1px solid var(--mmn-border);
  color: var(--mmn-navy);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--mmn-radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}

.review-like-btn:hover {
  background: var(--mmn-navy);
  color: #ffffff;
  border-color: var(--mmn-navy);
}

/* Write Review Modal */
.review-modal-dialog {
  max-width: 580px;
  padding: 2rem;
}

.review-form-header {
  margin-bottom: 1.5rem;
}

.review-badge-tag {
  display: inline-block;
  font-size: 0.785rem;
  font-weight: 800;
  color: var(--mmn-emerald);
  background: var(--mmn-emerald-light);
  padding: 0.25rem 0.65rem;
  border-radius: var(--mmn-radius-pill);
  margin-bottom: 0.5rem;
}

.review-form-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--mmn-navy);
  margin-bottom: 0.25rem;
}

.review-form-header p {
  font-size: 0.9rem;
  color: var(--mmn-text-muted);
}

.interactive-star-rating {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 2.2rem;
  margin: 0.5rem 0;
  user-select: none;
}

.picker-star {
  color: #d1d5db;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
}

.picker-star:hover,
.picker-star.active {
  color: #f59e0b;
  transform: scale(1.1);
}

.star-rating-caption {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--mmn-navy);
}

.review-form-group {
  margin-bottom: 1.25rem;
}

.review-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 540px) {
  .review-form-grid {
    grid-template-columns: 1fr;
  }
}

.review-form-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--mmn-border);
}

/* ==========================================================================
   MONEY MITRA NETWORK - FIREBASE AUTHENTICATION & USER PROFILE SYSTEM
   ========================================================================== */

.mmn-header-auth-slot {
  display: inline-flex;
  align-items: center;
}

.mmn-btn-auth-open {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--mmn-radius-pill);
  border: 1px solid var(--mmn-border);
  background: #ffffff;
  color: var(--mmn-navy);
  transition: all 0.2s ease;
  cursor: pointer;
}

.mmn-btn-auth-open:hover {
  background: var(--mmn-gray-bg);
  border-color: var(--mmn-navy);
  color: var(--mmn-navy);
  transform: translateY(-1px);
}

/* User Header Button & Dropdown */
.mmn-user-menu-wrap {
  position: relative;
  display: inline-block;
}

.mmn-user-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.65rem 0.3rem 0.35rem;
  background: #ffffff;
  border: 1px solid var(--mmn-border);
  border-radius: var(--mmn-radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.mmn-user-btn:hover {
  background: var(--mmn-gray-bg);
  border-color: var(--mmn-primary);
}

.mmn-user-avatar {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: visible;
  flex-shrink: 0;
}

.mmn-user-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--mmn-primary);
}

.mmn-user-status-dot {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 9px;
  height: 9px;
  background: #10b981;
  border: 1.5px solid #ffffff;
  border-radius: 50%;
}

.mmn-user-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--mmn-navy);
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mmn-user-chevron {
  color: var(--mmn-text-light);
  transition: transform 0.2s ease;
}

.mmn-user-btn[aria-expanded="true"] .mmn-user-chevron {
  transform: rotate(180deg);
}

/* User Dropdown */
.mmn-user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 260px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 15px 35px -5px rgba(0,0,0,0.15), 0 5px 15px rgba(0,0,0,0.06);
  border: 1px solid var(--mmn-border);
  padding: 0.75rem 0;
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.mmn-user-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mmn-dropdown-header {
  padding: 0.5rem 1rem 0.75rem;
}

.mmn-dropdown-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--mmn-navy);
  line-height: 1.3;
}

.mmn-dropdown-email {
  font-size: 0.775rem;
  color: var(--mmn-text-light);
  margin-top: 0.15rem;
  word-break: break-all;
}

.mmn-dropdown-ecosystem-tag {
  display: inline-block;
  margin-top: 0.4rem;
  padding: 0.15rem 0.5rem;
  background: rgba(37, 99, 235, 0.1);
  color: var(--mmn-primary);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: var(--mmn-radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.mmn-dropdown-divider {
  height: 1px;
  background: var(--mmn-border);
  margin: 0.4rem 0;
}

.mmn-dropdown-links {
  display: flex;
  flex-direction: column;
}

.mmn-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--mmn-text);
  text-decoration: none;
  transition: all 0.15s ease;
}

.mmn-dropdown-item:hover {
  background: var(--mmn-gray-bg);
  color: var(--mmn-primary);
}

.mmn-dropdown-footer {
  padding: 0.25rem 0.5rem 0;
}

.mmn-dropdown-signout {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #e11d48;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}

.mmn-dropdown-signout:hover {
  background: #ffe4e6;
  color: #be123c;
}

/* Auth Modal Backdrop & Dialog */
.mmn-auth-backdrop {
  z-index: 2200;
}

.mmn-auth-dialog {
  max-width: 440px;
  padding: 2rem 2rem 1.75rem;
  border-radius: 16px;
  box-shadow: 0 25px 60px -15px rgba(11, 25, 44, 0.3);
}

.mmn-auth-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.mmn-auth-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
}

.mmn-auth-brand-logo img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
}

.mmn-auth-brand-name {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--mmn-navy);
}

.mmn-auth-brand-sub {
  font-size: 0.75rem;
  color: var(--mmn-text-light);
  font-weight: 600;
}

/* Auth Tab Toggle */
.mmn-auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--mmn-gray-bg);
  padding: 4px;
  border-radius: 10px;
  margin-bottom: 1.25rem;
  border: 1px solid var(--mmn-border);
}

.mmn-auth-tab {
  background: transparent;
  border: none;
  padding: 0.6rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--mmn-text-muted);
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mmn-auth-tab.active {
  background: #ffffff;
  color: var(--mmn-navy);
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

/* Alert Notification */
.mmn-auth-alert {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.mmn-auth-alert.error {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #be123c;
}

.mmn-auth-alert.success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
}

/* Social Login */
.mmn-auth-social-wrap {
  margin-bottom: 1rem;
}

.btn-google-auth {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border: 1px solid var(--mmn-border);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--mmn-navy);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.btn-google-auth:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  box-shadow: 0 3px 8px rgba(0,0,0,0.06);
}

.btn-google-auth.loading {
  opacity: 0.7;
  pointer-events: none;
}

.mmn-auth-separator {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.25rem 0 1rem;
  color: var(--mmn-text-light);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.mmn-auth-separator::before,
.mmn-auth-separator::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--mmn-border);
}

.mmn-auth-separator span {
  padding: 0 0.75rem;
}

/* Auth Input Fields */
.mmn-auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mmn-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: left;
}

.mmn-input-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mmn-input-label {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--mmn-navy);
}

.mmn-forgot-link {
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--mmn-primary);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mmn-forgot-link:hover {
  text-decoration: underline;
}

.mmn-input-field-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.mmn-input-field {
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 2.5rem;
  font-size: 0.9rem;
  border: 1px solid var(--mmn-border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--mmn-navy);
  transition: all 0.2s ease;
}

.mmn-input-field:focus {
  outline: none;
  border-color: var(--mmn-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.mmn-input-icon {
  position: absolute;
  left: 0.85rem;
  color: var(--mmn-text-light);
  pointer-events: none;
}

.mmn-password-toggle {
  position: absolute;
  right: 0.75rem;
  background: transparent;
  border: none;
  color: var(--mmn-text-light);
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}

.mmn-password-toggle:hover {
  color: var(--mmn-navy);
}

.mmn-input-help {
  font-size: 0.725rem;
  color: var(--mmn-text-light);
}

.mmn-auth-submit-btn {
  width: 100%;
  padding: 0.85rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 8px;
  margin-top: 0.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.mmn-auth-switch-prompt {
  text-align: center;
  font-size: 0.825rem;
  color: var(--mmn-text-muted);
  margin-top: 0.5rem;
}

.mmn-text-link {
  background: transparent;
  border: none;
  color: var(--mmn-primary);
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.mmn-text-link:hover {
  text-decoration: underline;
}

.mmn-reset-intro {
  font-size: 0.85rem;
  color: var(--mmn-text-muted);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

/* Ecosystem Notice Footer */
.mmn-auth-ecosystem-notice {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--mmn-border);
  text-align: center;
  font-size: 0.725rem;
  color: var(--mmn-text-light);
}

.mmn-auth-ecosystem-tags {
  margin-top: 0.25rem;
  font-weight: 600;
  color: var(--mmn-navy);
}

/* Spinner helper */
.mmn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: mmnSpin 0.7s infinite linear;
}

@keyframes mmnSpin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   BUNDLE OFFERS & DISCOUNT TIERS SYSTEM
   ========================================================================== */

.mmn-offers-promo-banner {
  background: linear-gradient(135deg, #0b192c 0%, #1e3a8a 50%, #0f172a 100%);
  border-radius: var(--mmn-radius-lg);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2.25rem;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 15px 35px -10px rgba(15, 23, 42, 0.35);
  position: relative;
  overflow: hidden;
}

.mmn-offers-promo-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.mmn-offers-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.mmn-offers-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mmn-offers-fire-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 10px;
  font-size: 1.35rem;
}

.mmn-offers-heading {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.01em;
}

.mmn-offers-subheading {
  font-size: 0.825rem;
  color: rgba(255,255,255,0.75);
  margin-top: 0.15rem;
}

.mmn-offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.mmn-offer-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
  position: relative;
}

.mmn-offer-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

.mmn-offer-card.active-tier {
  background: rgba(37, 99, 235, 0.22);
  border: 1.5px solid #60a5fa;
  box-shadow: 0 0 20px rgba(96, 165, 250, 0.3);
}

.mmn-offer-tag {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: var(--mmn-radius-pill);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.mmn-offer-tag.duo {
  background: #f59e0b;
  color: #78350f;
}

.mmn-offer-tag.trio {
  background: #10b981;
  color: #064e3b;
}

.mmn-offer-tag.mega {
  background: #ec4899;
  color: #831843;
}

.mmn-offer-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
}

.mmn-offer-discount {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fbbf24;
  margin: 0.25rem 0;
  line-height: 1.1;
}

.mmn-offer-desc {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
}

/* Cart Bundle Progress Tracker */
.cart-bundle-progress-box {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 1.5px solid #a7f3d0;
  border-radius: 12px;
  padding: 1.15rem 1.25rem;
  margin-bottom: 1.5rem;
}

.cart-bundle-progress-box.mega {
  background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
  border-color: #fbcfe8;
}

.bundle-progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.bundle-progress-status {
  font-size: 0.875rem;
  font-weight: 800;
  color: #065f46;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.bundle-progress-badge {
  background: #059669;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: var(--mmn-radius-pill);
}

.bundle-progress-track {
  width: 100%;
  height: 8px;
  background: #d1fae5;
  border-radius: var(--mmn-radius-pill);
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.bundle-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981 0%, #059669 100%);
  border-radius: var(--mmn-radius-pill);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bundle-progress-hint {
  font-size: 0.775rem;
  color: #047857;
  font-weight: 600;
}

/* ==========================================================================
   SMART RECOMMENDATION ENGINE
   ========================================================================== */

.smart-recom-section {
  margin: 3rem 0;
  padding: 2rem 0;
  border-top: 1px solid var(--mmn-border);
  border-bottom: 1px solid var(--mmn-border);
  background: #fafcff;
}

.smart-recom-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.smart-recom-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.smart-recom-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem;
  background: rgba(37, 99, 235, 0.1);
  color: var(--mmn-primary);
  font-size: 0.725rem;
  font-weight: 800;
  border-radius: var(--mmn-radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  width: fit-content;
}

.smart-recom-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--mmn-navy);
  margin: 0;
}

.smart-recom-subtitle {
  font-size: 0.875rem;
  color: var(--mmn-text-muted);
}

.smart-recom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.smart-recom-card {
  background: #ffffff;
  border: 1px solid var(--mmn-border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  position: relative;
}

.smart-recom-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.12);
  border-color: var(--mmn-primary);
}

.smart-recom-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #f1f5f9;
  overflow: hidden;
}

.smart-recom-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.smart-recom-card:hover .smart-recom-thumb-wrap img {
  transform: scale(1.05);
}

.smart-recom-reason-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.675rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--mmn-radius-pill);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.smart-recom-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.smart-recom-cat {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--mmn-primary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.3rem;
}

.smart-recom-course-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--mmn-navy);
  line-height: 1.35;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.smart-recom-course-title a {
  color: inherit;
  text-decoration: none;
}

.smart-recom-course-title a:hover {
  color: var(--mmn-primary);
}

.smart-recom-skills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.smart-recom-skill-chip {
  font-size: 0.7rem;
  padding: 0.15rem 0.45rem;
  background: var(--mmn-gray-bg);
  border-radius: 4px;
  color: var(--mmn-text-muted);
}

.smart-recom-footer {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--mmn-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.smart-recom-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--mmn-navy);
}

.smart-recom-orig-price {
  font-size: 0.75rem;
  color: var(--mmn-text-light);
  text-decoration: line-through;
  margin-left: 0.3rem;
}

/* ==========================================================================
   MY LEARNING & COURSE COMPLETION REVIEW SYSTEM
   ========================================================================== */

.mmn-learning-section-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1.5px solid var(--mmn-border);
  margin-bottom: 1.75rem;
}

.mmn-learning-tab-btn {
  padding: 0.75rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--mmn-text-muted);
  background: transparent;
  border: none;
  border-bottom: 2.5px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  margin-bottom: -2px;
}

.mmn-learning-tab-btn:hover {
  color: var(--mmn-navy);
}

.mmn-learning-tab-btn.active {
  color: var(--mmn-primary);
  border-bottom-color: var(--mmn-primary);
}

.mmn-learning-tab-count {
  padding: 0.15rem 0.5rem;
  background: var(--mmn-gray-bg);
  border-radius: var(--mmn-radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
}

.mmn-learning-tab-btn.active .mmn-learning-tab-count {
  background: rgba(37, 99, 235, 0.12);
  color: var(--mmn-primary);
}

.my-courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.my-course-card {
  background: #ffffff;
  border: 1px solid var(--mmn-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.my-course-card:hover {
  border-color: var(--mmn-primary);
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.my-course-card.is-completed {
  border-color: #a7f3d0;
  background: linear-gradient(180deg, #ffffff 85%, #f0fdf4 100%);
}

.my-course-header {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #0f172a;
}

.my-course-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.my-course-status-pill {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 0.25rem 0.65rem;
  border-radius: var(--mmn-radius-pill);
  font-size: 0.725rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.my-course-status-pill.in-progress {
  background: rgba(15, 23, 42, 0.85);
  color: #38bdf8;
  backdrop-filter: blur(4px);
}

.my-course-status-pill.completed {
  background: #059669;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.4);
}

.my-course-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.my-course-cat {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--mmn-primary);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.my-course-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--mmn-navy);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

/* Progress bar inside card */
.my-course-progress-wrap {
  margin: 0.5rem 0 1rem;
}

.my-course-progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--mmn-text-muted);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.my-course-progress-bar {
  width: 100%;
  height: 6px;
  background: var(--mmn-border);
  border-radius: var(--mmn-radius-pill);
  overflow: hidden;
}

.my-course-progress-fill {
  height: 100%;
  background: var(--mmn-primary);
  border-radius: var(--mmn-radius-pill);
  transition: width 0.4s ease;
}

.my-course-card.is-completed .my-course-progress-fill {
  background: #10b981;
}

/* Action buttons in enrolled card */
.my-course-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--mmn-border);
}

.btn-complete-toggle {
  width: 100%;
  padding: 0.55rem 0.85rem;
  font-size: 0.825rem;
  font-weight: 700;
  border-radius: 8px;
  border: 1.5px solid var(--mmn-border);
  background: #ffffff;
  color: var(--mmn-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
}

.btn-complete-toggle:hover {
  background: var(--mmn-gray-bg);
  border-color: #10b981;
  color: #047857;
}

.btn-complete-toggle.completed {
  background: #ecfdf5;
  border-color: #10b981;
  color: #047857;
}

.btn-write-review-unlocked {
  width: 100%;
  padding: 0.6rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 800;
  border-radius: 8px;
  border: none;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
  transition: all 0.2s ease;
}

.btn-write-review-unlocked:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}

.verified-completed-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.5rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
  font-size: 0.7rem;
  font-weight: 800;
  border-radius: var(--mmn-radius-pill);
  margin-left: 0.4rem;
}





