/* ==========================================================================
   EDUPINTAR NUSANTARA - DESIGN SYSTEM & STYLESHEET
   Clean, Modern, Accessible & Highly Aesthetic Education Web Platform
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Brand Gradients & Accents */
  --primary-hue: 245;
  --color-primary: #6366f1;
  --color-primary-hover: #4f46e5;
  --color-primary-light: rgba(99, 102, 241, 0.15);
  
  --color-secondary: #06b6d4;
  --color-accent: #ec4899;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;

  --gradient-brand: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
  --gradient-cyan: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  --gradient-accent: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.35);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Dark Theme (Default) --- */
body[data-theme="dark"] {
  --bg-body: #0b0f19;
  --bg-card: rgba(18, 24, 38, 0.75);
  --bg-card-solid: #131b2e;
  --bg-card-hover: rgba(28, 38, 58, 0.85);
  --bg-subtle: rgba(255, 255, 255, 0.04);
  --bg-input: #121927;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(99, 102, 241, 0.6);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --navbar-bg: rgba(11, 15, 25, 0.8);
  --banner-bg: #111827;

  --sun-display: block;
  --moon-display: none;
}

/* --- Light Theme --- */
body[data-theme="light"] {
  --bg-body: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-solid: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-subtle: rgba(0, 0, 0, 0.03);
  --bg-input: #ffffff;

  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-focus: rgba(99, 102, 241, 0.5);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;

  --navbar-bg: rgba(255, 255, 255, 0.85);
  --banner-bg: #f1f5f9;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(99, 102, 241, 0.08);
  --shadow-lg: 0 16px 36px rgba(99, 102, 241, 0.12);
  --shadow-glow: 0 0 35px rgba(99, 102, 241, 0.2);

  --sun-display: none;
  --moon-display: block;
}

/* --- Reset & Base Settings --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: var(--bg-body);
}
::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Background Ambient Orbs */
.bg-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.45;
  transition: opacity var(--transition-normal);
}
.orb-1 {
  top: -100px;
  right: -50px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #6366f1 0%, transparent 70%);
}
.orb-2 {
  top: 400px;
  left: -150px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
}
.orb-3 {
  top: 1400px;
  right: 5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #ec4899 0%, transparent 70%);
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.25;
  font-weight: 700;
}

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-success { color: var(--color-success) !important; }
.text-danger { color: var(--color-danger) !important; }
.text-cyan { color: var(--color-secondary) !important; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.55);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}
.btn-lg {
  padding: 0.9rem 1.8rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}
.btn-block {
  width: 100%;
}

.btn-icon {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.btn-icon:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: scale(1.05);
}

/* Badges & Pills */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.badge-mini {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

/* Top Announcement Banner */
.top-banner {
  background: var(--banner-bg);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.5rem 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  text-align: center;
}
.badge-pill {
  background: rgba(99, 102, 241, 0.2);
  color: var(--color-primary);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}
.banner-link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}
.banner-link:hover {
  text-decoration: underline;
}

/* Navbar */
.navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navbar-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
}
.logo-symbol {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gradient-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}
.logo-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.logo-tagline {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  font-weight: 600;
  margin-top: -3px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}
.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.4rem 0.2rem;
  position: relative;
  transition: color var(--transition-fast);
}
.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.mobile-only {
  display: none;
}

.sun-icon { display: var(--sun-display); }
.moon-icon { display: var(--moon-display); }

/* --- HERO SECTION --- */
.hero-section {
  padding: 4.5rem 0 3rem 0;
  position: relative;
}
.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
}
.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-success);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-success);
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-title {
  font-size: 3.25rem;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 1.25rem;
}
.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 580px;
}

/* Search in Hero */
.hero-search-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  padding: 0.5rem 0.5rem 0.5rem 1rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 1.2rem;
  max-width: 560px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.hero-search-box:focus-within {
  border-color: var(--border-focus);
  box-shadow: var(--shadow-glow);
}
.search-input-wrapper {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
  color: var(--text-muted);
}
.search-input-wrapper input {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: var(--font-body);
  outline: none;
}
.search-input-wrapper input::placeholder {
  color: var(--text-muted);
}

/* Quick Tags */
.quick-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.85rem;
}
.quick-tags-label {
  color: var(--text-muted);
  font-weight: 500;
}
.tag-chip {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.tag-chip:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Hero Visual Art Container */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.visual-card-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.visual-centerpiece {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.glowing-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.ring-outer {
  width: 360px;
  height: 360px;
  border: 1px dashed rgba(99, 102, 241, 0.35);
  animation: rotateRing 40s linear infinite;
}
.ring-inner {
  width: 270px;
  height: 270px;
  border: 1px solid rgba(6, 182, 212, 0.25);
  animation: rotateRingReverse 30s linear infinite;
}
@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes rotateRingReverse {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

.canvas-art-box {
  width: 100%;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.35));
}
.hero-svg-scene {
  width: 100%;
  height: auto;
  overflow: visible;
}

/* Floating animation elements */
.floating-element {
  transition: transform 0.3s ease;
}
.float-1 { animation: floatSlow 4.5s ease-in-out infinite; }
.float-2 { animation: floatSlow 5.2s ease-in-out infinite 0.6s; }
.float-3 { animation: floatSlow 4.8s ease-in-out infinite 1.2s; }
.float-4 { animation: floatSlow 5.5s ease-in-out infinite 1.8s; }

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Floating badges */
.stat-badge-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  z-index: 5;
  animation: floatCard 6s ease-in-out infinite;
}
.badge-top-left {
  top: 15px;
  left: -20px;
  animation-delay: 0s;
}
.badge-bottom-right {
  bottom: 15px;
  right: -20px;
  animation-delay: 2s;
}
.badge-top-right {
  top: 40px;
  right: -10px;
  animation-delay: 1.2s;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.badge-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.badge-icon.green { background: rgba(16, 185, 129, 0.15); color: var(--color-success); }
.badge-icon.purple { background: rgba(99, 102, 241, 0.15); color: var(--color-primary); }
.badge-icon.blue { background: rgba(6, 182, 212, 0.15); color: var(--color-secondary); }

.badge-info {
  display: flex;
  flex-direction: column;
}
.badge-info strong {
  font-size: 0.85rem;
  color: var(--text-primary);
}
.badge-info span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Stats Counter Strip */
.stats-strip {
  margin-top: 4rem;
  padding: 2.2rem 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0 1rem;
  border-right: 1px solid var(--border-subtle);
}
.stat-card:last-child {
  border-right: none;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* --- SECTION COMMON STYLING --- */
.section-spacing {
  padding: 5.5rem 0;
}
.section-alternate {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.section-header {
  margin-bottom: 3.5rem;
}
.section-header.text-center {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.section-title {
  font-size: 2.35rem;
  letter-spacing: -0.5px;
  margin-bottom: 0.85rem;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.header-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* --- FEATURES GRID --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: var(--shadow-lg);
}
.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
}
.icon-cyan { background: rgba(6, 182, 212, 0.15); color: #06b6d4; }
.icon-purple { background: rgba(99, 102, 241, 0.15); color: #818cf8; }
.icon-pink { background: rgba(236, 72, 153, 0.15); color: #ec4899; }
.icon-amber { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.feature-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.feature-tag {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

/* --- COURSES / MODULES CATALOG --- */
.filter-search-box input {
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: var(--font-body);
  outline: none;
  min-width: 240px;
  transition: border-color var(--transition-fast);
}
.filter-search-box input:focus {
  border-color: var(--color-primary);
}

.filter-pills-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.pill-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.pill-btn:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: var(--color-primary);
}
.pill-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}
.course-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(99, 102, 241, 0.35);
}

.course-thumb-box {
  height: 180px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}
.course-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 15, 25, 0.2) 0%, rgba(11, 15, 25, 0.85) 100%);
}
.course-badge-level {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f8fafc;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}
.course-icon-illustration {
  font-size: 3.5rem;
  z-index: 1;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
  transition: transform var(--transition-bounce);
}
.course-card:hover .course-icon-illustration {
  transform: scale(1.15) rotate(5deg);
}

.course-body {
  padding: 1.6rem 1.6rem 1.2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.course-cat-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.4rem;
}
.course-title {
  font-size: 1.25rem;
  line-height: 1.35;
  margin-bottom: 0.65rem;
}
.course-excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.course-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.course-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-primary);
  font-weight: 600;
}
.rating-star { color: #f59e0b; }

.course-footer {
  padding: 0 1.6rem 1.6rem;
  display: flex;
  gap: 0.75rem;
}
.course-footer .btn {
  flex: 1;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 4rem 1rem;
}
.empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.empty-state.hidden {
  display: none;
}

/* --- QUIZ SECTION --- */
.quiz-wrapper-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  max-width: 860px;
  margin: 0 auto;
}
.pill-quiz {
  background: rgba(236, 72, 153, 0.15);
  color: var(--color-accent);
  border-color: rgba(236, 72, 153, 0.3);
}
.quiz-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.quiz-title {
  font-size: 2.2rem;
  margin-bottom: 0.65rem;
}
.quiz-subtitle {
  color: var(--text-secondary);
  font-size: 0.98rem;
  max-width: 650px;
  margin: 0 auto;
}

.quiz-box-inner {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quiz-screen {
  display: none;
  animation: fadeIn 0.3s ease;
}
.quiz-screen.active {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Start screen */
.quiz-hero-badge {
  text-align: center;
  margin-bottom: 2rem;
}
.quiz-icon-big {
  font-size: 3.5rem;
  display: block;
  margin-bottom: 0.5rem;
}
.quiz-hero-badge h3 {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}
.quiz-hero-badge p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.quiz-start-meta {
  display: flex;
  justify-content: space-around;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  margin-bottom: 2.2rem;
}
.meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.meta-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}
.meta-val {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
}
#btnStartQuiz {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

/* Question Screen */
.quiz-progress-bar-wrap {
  margin-bottom: 1.75rem;
}
.quiz-progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.progress-track {
  width: 100%;
  height: 8px;
  background: var(--bg-subtle);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--gradient-brand);
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

.question-text {
  font-size: 1.35rem;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}
.options-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.option-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
}
.option-btn:hover:not(:disabled) {
  background: var(--bg-card-hover);
  border-color: var(--color-primary);
  transform: translateX(4px);
}
.option-indicator {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.option-btn.correct {
  background: rgba(16, 185, 129, 0.18) !important;
  border-color: var(--color-success) !important;
  color: #34d399;
}
.option-btn.correct .option-indicator {
  background: var(--color-success);
  color: #fff;
  border-color: var(--color-success);
}

.option-btn.incorrect {
  background: rgba(239, 68, 68, 0.18) !important;
  border-color: var(--color-danger) !important;
  color: #f87171;
}
.option-btn.incorrect .option-indicator {
  background: var(--color-danger);
  color: #fff;
  border-color: var(--color-danger);
}

/* Quiz Feedback */
.quiz-feedback-box {
  margin-top: 1.5rem;
  padding: 1.2rem;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  animation: fadeIn 0.25s ease;
}
.quiz-feedback-box.hidden {
  display: none;
}
.feedback-indicator {
  font-weight: 700;
  font-size: 1.05rem;
}
.feedback-explanation {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
#btnNextQuestion {
  align-self: flex-end;
  margin-top: 0.4rem;
}

/* Quiz Result Screen */
#quizResultScreen {
  text-align: center;
}
.result-badge-anim {
  font-size: 4rem;
  margin-bottom: 0.5rem;
  animation: bounceCup 1s ease infinite alternate;
}
@keyframes bounceCup {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}
.result-title {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}
.score-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.3rem;
  margin: 1.2rem 0;
}
.score-big {
  font-size: 4rem;
  font-weight: 800;
  font-family: var(--font-heading);
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.score-max {
  font-size: 1.5rem;
  color: var(--text-muted);
}
.result-message {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}
.result-breakdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  background: var(--bg-subtle);
  padding: 1.2rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
}
.result-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.metric-num {
  font-size: 1.6rem;
  font-weight: 800;
  font-family: var(--font-heading);
}
.metric-text {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.result-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* --- STUDY PLANNER --- */
.planner-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  align-items: center;
}
.planner-form-col {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}
.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.form-select {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-input);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
}
.form-select:focus {
  border-color: var(--color-primary);
}
.range-slider {
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.6);
  cursor: pointer;
  border: 2px solid #ffffff;
}
.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

.planner-stat-box {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  text-align: center;
}
.stat-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--color-primary-light);
  border: 2px dashed var(--color-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.days-result {
  font-size: 2.4rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1;
}
.days-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.planner-stat-box h4 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}
.planner-advice {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}
.milestone-list {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.8rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.milestone-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.milestone-check {
  color: var(--color-success);
  font-weight: bold;
}

/* --- WEBINAR SECTION --- */
.live-indicator-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.25);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
}
.live-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 10px #ef4444;
  animation: pulseDot 1.5s infinite;
}

.webinar-showcase-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.webinar-badge-label {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}
.webinar-content-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.webinar-title {
  font-size: 1.85rem;
  line-height: 1.3;
  margin-bottom: 1rem;
}
.webinar-desc {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 1.8rem;
}

.speaker-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.8rem;
  padding: 0.85rem 1rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}
.speaker-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.speaker-meta {
  display: flex;
  flex-direction: column;
}
.speaker-meta strong {
  font-size: 0.95rem;
  color: var(--text-primary);
}
.speaker-meta span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.webinar-event-info {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.event-info-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  background: var(--bg-subtle);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

/* Countdown Box */
.webinar-countdown-box {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  text-align: center;
}
.countdown-title {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.countdown-digits {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.8rem;
}
.time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 58px;
}
.time-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}
.time-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 0.25rem;
}
.time-divider {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: -12px;
}

.seat-quota {
  margin-bottom: 1.6rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.seat-bar {
  width: 100%;
  height: 8px;
  background: var(--bg-subtle);
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
  overflow: hidden;
}
.seat-fill {
  height: 100%;
  background: var(--gradient-brand);
  border-radius: var(--radius-full);
}

/* --- TESTIMONIALS --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}
.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: var(--shadow-md);
}
.star-rating {
  margin-bottom: 1rem;
  font-size: 1rem;
}
.testi-quote {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.8rem;
  flex-grow: 1;
  font-style: italic;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 0.85rem;
}
.av-1 { background: linear-gradient(135deg, #6366f1, #a855f7); }
.av-2 { background: linear-gradient(135deg, #06b6d4, #3b82f6); }
.av-3 { background: linear-gradient(135deg, #ec4899, #f43f5e); }

.author-details strong {
  display: block;
  font-size: 0.92rem;
}
.author-details span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --- FAQ ACCORDION --- */
.faq-container {
  max-width: 820px;
}
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}
.faq-item.active {
  border-color: rgba(99, 102, 241, 0.4);
}
.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
}
.faq-chevron {
  transition: transform var(--transition-normal);
  color: var(--text-muted);
  flex-shrink: 0;
}
.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--color-primary);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  padding: 0 1.5rem;
}
.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 1.5rem 1.4rem;
}
.faq-answer p {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- NEWSLETTER / CTA --- */
.newsletter-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(236, 72, 153, 0.15) 100%), var(--bg-card);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-glow);
}
.cta-title {
  font-size: 2.4rem;
  margin-bottom: 0.85rem;
}
.cta-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto 2.2rem;
}
.newsletter-form {
  max-width: 520px;
  margin: 0 auto 1rem;
}
.input-action-wrap {
  display: flex;
  gap: 0.5rem;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.4rem;
  box-shadow: var(--shadow-sm);
}
.input-action-wrap input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.6rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
}
.cta-note {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --- FOOTER --- */
.footer-wrapper {
  background: var(--bg-card-solid);
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2rem;
  font-size: 0.9rem;
}
.footer-content {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 4rem;
  margin-bottom: 3.5rem;
}
.footer-brand .brand-logo {
  margin-bottom: 1.2rem;
}
.footer-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 380px;
  margin-bottom: 1.6rem;
}
.footer-socials {
  display: flex;
  gap: 0.75rem;
}
.social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}
.social-link:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 1.2rem;
  color: var(--text-primary);
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.footer-col a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.82rem;
}
.footer-bottom-links {
  display: flex;
  gap: 0.8rem;
}
.footer-bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
}
.footer-bottom-links a:hover {
  color: var(--text-primary);
}

/* --- MODAL DIALOG --- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 15, 25, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
  padding: 1.5rem;
}
.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}
.modal-dialog {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform var(--transition-bounce);
  display: flex;
  flex-direction: column;
}
.modal-backdrop.open .modal-dialog {
  transform: translateY(0);
}

.modal-header {
  padding: 1.4rem 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
}
.modal-header-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.modal-level-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}
.modal-close {
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: var(--text-secondary);
  cursor: pointer;
  line-height: 1;
}
.modal-close:hover {
  color: var(--color-danger);
}

.modal-body {
  padding: 1.8rem;
  flex-grow: 1;
}
.modal-course-title {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}
.modal-course-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.4rem;
}

.modal-stats-bar {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  padding: 0.85rem 1.2rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
}
.m-stat {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Preview Video Mockup */
.preview-video-box {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #1e1b4b, #312e81);
  border-radius: var(--radius-md);
  margin-bottom: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid rgba(99, 102, 241, 0.4);
  position: relative;
  overflow: hidden;
}
.preview-video-box:hover .play-btn-circle {
  transform: scale(1.1);
}
.video-mockup-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
}
.play-btn-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
  transition: transform var(--transition-bounce);
}
.video-preview-text {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.modal-syllabus-section h3 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
}
.syllabus-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.syllabus-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
}
.syllabus-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
}
.syllabus-duration {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.modal-footer {
  padding: 1.2rem 1.8rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

/* --- TOAST NOTIFICATION --- */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 3000;
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: 1rem 1.4rem;
  box-shadow: var(--shadow-lg);
  color: var(--text-primary);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideToast 0.3s ease;
  min-width: 280px;
  max-width: 400px;
}
.toast.toast-success { border-left-color: var(--color-success); }
.toast.toast-warning { border-left-color: var(--color-warning); }

@keyframes slideToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-search-box {
    margin-left: auto;
    margin-right: auto;
  }
  .quick-tags {
    justify-content: center;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .stat-card:nth-child(2) {
    border-right: none;
  }
  .webinar-content-grid {
    grid-template-columns: 1fr;
  }
  .planner-card {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.35rem;
  }
  .mobile-only {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-card-solid);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav-menu.open {
    display: block;
  }
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }
  .header-split {
    flex-direction: column;
    align-items: flex-start;
  }
  .courses-grid {
    grid-template-columns: 1fr;
  }
  .quiz-wrapper-card {
    padding: 1.5rem;
  }
  .footer-links-group {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
