/**
 * Module 08: Glossar
 * Color System: Orange (#F4A261) - Wärme, Wissen, Zusammenfassung
 * Academic Standard: External CSS only, no !important, WCAG AAA
 */

/* ============================================
   BASE THEME VARIABLES
   ============================================ */
:root {
  --mod-08-primary: #F4A261;
  --mod-08-secondary: #E76F51;
  --mod-08-tertiary: #2A9D8F;
  
  --mod-08-light: #FDF8F3;
  --mod-08-dark: #2A2520;
  --mod-08-text: #3D352F;
  
  --mod-08-gradient: linear-gradient(135deg, var(--mod-08-primary) 0%, var(--mod-08-secondary) 100%);
}

/* ============================================
   HERO SECTION
   ============================================ */
.m08-hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
  padding: 180px 0 80px;
  background: linear-gradient(135deg, rgba(42,37,32,0.92) 0%, rgba(42,37,32,0.85) 100%);
}

.m08-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.m08-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m08-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(42, 54, 59, 0.70) 0%,
    rgba(42, 54, 59, 0.50) 50%,
    rgba(42, 54, 59, 0.25) 100%
  );
  z-index: 1;
}

.m08-hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 600px;
  margin: 0;
  margin-left: 8%;
  padding: 0 40px;
}

[data-theme="light"] .m08-hero-content {
  /* No glassmorphism background needed */
}

.m08-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

.m08-hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.m08-hero-title em {
  color: var(--mod-08-primary);
  font-style: normal;
}

.m08-hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 0 2.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.m08-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.hero-stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--mod-08-primary);
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}

.hero-stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.3);
}

.m08-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #F4A261 0%, #E76F51 100%);
  color: white;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(244, 162, 97, 0.4);
}

.m08-hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(244, 162, 97, 0.5);
}

.m08-hero-cta i {
  transition: transform 0.3s ease;
}

.m08-hero-cta:hover i {
  transform: translateY(3px);
}

/* ============================================
   ALPHABET NAVIGATION
   ============================================ */
.alphabet-nav {
  position: sticky;
  top: 80px;
  z-index: 100;
  background: white;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 1rem 0;
  position: relative;
}

/* Smooth transition from Hero */
.alphabet-nav::before {
  content: '';
  position: absolute;
  top: -150px;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to bottom, 
    rgba(253, 252, 247, 0) 0%,
    rgba(253, 252, 247, 0.3) 30%,
    rgba(253, 252, 247, 0.7) 60%,
    white 100%);
  pointer-events: none;
  z-index: 10;
}

[data-theme="dark"] .alphabet-nav::before {
  background: linear-gradient(to bottom, 
    rgba(15, 20, 30, 0) 0%,
    rgba(15, 20, 30, 0.3) 30%,
    rgba(15, 20, 30, 0.7) 60%,
    #1a1a1a 100%);
}

/* ============================================
   SECTION INTRO (After Hero)
   ============================================ */
.section-intro {
  padding: 8rem 0;
  background: var(--mod-08-light);
  position: relative;
}

/* Smooth transition from Hero */
.section-intro::before {
  content: '';
  position: absolute;
  top: -150px;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to bottom, 
    rgba(253, 252, 247, 0) 0%,
    rgba(253, 252, 247, 0.3) 30%,
    rgba(253, 252, 247, 0.7) 60%,
    var(--mod-08-light) 100%);
  pointer-events: none;
  z-index: 10;
}

[data-theme="dark"] .section-intro::before {
  background: linear-gradient(to bottom, 
    rgba(15, 20, 30, 0) 0%,
    rgba(15, 20, 30, 0.3) 30%,
    rgba(15, 20, 30, 0.7) 60%,
    #0f0f0f 100%);
}

.alphabet-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.alphabet-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  color: var(--mod-08-text);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.alphabet-link:hover {
  background: var(--mod-08-light);
  color: var(--mod-08-secondary);
}

.alphabet-link.active {
  background: var(--mod-08-gradient);
  color: white;
}

/* ============================================
   GLOSSAR SECTION
   ============================================ */
.section-glossar {
  padding: 4rem 0 8rem;
  background: var(--mod-08-light);
}

.glossar-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.glossar-letter-section {
  margin-bottom: 3rem;
  scroll-margin-top: 140px;
}

.glossar-letter {
  font-size: 4rem;
  font-weight: 800;
  color: var(--mod-08-primary);
  opacity: 0.3;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--mod-08-primary);
  padding-bottom: 0.5rem;
}

.glossar-terms {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.glossar-term {
  background: white;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 4px 20px rgba(244,162,97,0.08);
  transition: all 0.3s ease;
  border-left: 4px solid var(--mod-08-primary);
}

.glossar-term:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 30px rgba(244,162,97,0.15);
}

.term-word {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--mod-08-text);
  margin-bottom: 0.75rem;
}

.term-definition {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 1rem;
}

.term-category {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: var(--mod-08-light);
  color: var(--mod-08-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Category Colors */
.term-category[data-category="Grundlagen"],
.term-category:contains("Grundlagen") {
  background: rgba(42,157,143,0.1);
  color: var(--mod-08-tertiary);
}

.term-category:contains("Technik") {
  background: rgba(67,97,238,0.1);
  color: #4361EE;
}

.term-category:contains("Prompting") {
  background: rgba(244,162,97,0.15);
  color: var(--mod-08-secondary);
}

/* ============================================
   ROADMAP
   ============================================ */
.section-roadmap {
  padding: 6rem 0;
  background: white;
}

.section-roadmap-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-roadmap-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--mod-08-secondary);
  margin-bottom: 1rem;
}

.section-roadmap-tag i {
  font-size: 1.1rem;
}

.section-roadmap-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--mod-08-text);
  margin-bottom: 0.75rem;
}

.section-roadmap-subtitle {
  font-size: 1.1rem;
  color: #666;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.roadmap-card {
  border-radius: 24px;
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: all 0.4s;
  border: 1px solid transparent;
  background: white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06), 0 8px 32px rgba(0,0,0,0.04);
}

.roadmap-card:hover {
  transform: translateY(-8px);
}

.roadmap-card.completed {
  background: rgba(144, 169, 85, 0.08);
  border-color: rgba(144, 169, 85, 0.3);
}

.roadmap-card.current {
  background: rgba(244, 162, 97, 0.1);
  border: 2px solid var(--mod-08-primary);
  box-shadow: 0 20px 60px rgba(244, 162, 97, 0.2);
}

.roadmap-card-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.roadmap-card.completed .roadmap-card-badge {
  background: #90A955;
  color: white;
}

.roadmap-card.current .roadmap-card-badge {
  background: var(--mod-08-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(244, 162, 97, 0.4);
}

.roadmap-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.4s;
}

.roadmap-card.completed .roadmap-card-icon {
  background: linear-gradient(135deg, #90A955 0%, #7A9048 100%);
  box-shadow: 0 10px 30px rgba(144, 169, 85, 0.3);
}

.roadmap-card.current .roadmap-card-icon {
  background: linear-gradient(135deg, var(--mod-08-primary) 0%, var(--mod-08-secondary) 100%);
  box-shadow: 0 10px 30px rgba(244, 162, 97, 0.4);
}

.roadmap-card-icon i {
  font-size: 1.75rem;
  color: white;
}

.roadmap-card-title {
  font-family: 'Manrope', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--mod-08-text);
  margin-bottom: 4px;
}

.roadmap-card-desc {
  font-size: 0.9rem;
  color: #666;
}

/* ============================================
   CERTIFICATE PREVIEW
   ============================================ */
.certificate-preview {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 800px;
  margin: 3rem auto 0;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, rgba(244, 162, 97, 0.1) 0%, rgba(244, 162, 97, 0.05) 100%);
  border: 2px dashed var(--mod-08-primary);
  border-radius: 20px;
}

.certificate-icon {
  width: 60px;
  height: 60px;
  background: var(--mod-08-gradient);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: white;
  flex-shrink: 0;
}

.certificate-content {
  flex: 1;
}

.certificate-content h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--mod-08-text);
  margin-bottom: 0.25rem;
}

.certificate-content p {
  font-size: 0.95rem;
  color: #666;
}

.certificate-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--mod-08-gradient);
  color: white;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.certificate-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(244, 162, 97, 0.4);
}

/* ============================================
   FINAL CTA
   ============================================ */
.section-final-cta {
  padding: 6rem 0;
  background: var(--mod-08-light);
}

.final-cta-container {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.final-cta-icon {
  width: 80px;
  height: 80px;
  background: var(--mod-08-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
  color: white;
}

.final-cta-icon.graduation {
  background: linear-gradient(135deg, var(--mod-08-tertiary) 0%, #1D7A6E 100%);
}

.final-cta-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--mod-08-text);
  margin-bottom: 1rem;
}

.final-cta-text {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.btn-final-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--mod-08-gradient);
  color: white;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
}

.btn-final-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(244,162,97,0.4);
}

.final-cta-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 0.95rem;
}

.final-cta-links a {
  color: #666;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s ease;
}

.final-cta-links a:hover {
  color: var(--mod-08-secondary);
}

.final-cta-divider {
  color: #ccc;
}

/* ============================================
   DARK MODE
   ============================================ */
.dark-mode .alphabet-nav {
  background: #1a1a1a;
  border-color: #333;
}

.dark-mode .alphabet-link {
  color: #aaa;
}

.dark-mode .alphabet-link:hover {
  background: #2a2a2a;
  color: var(--mod-08-primary);
}

.dark-mode .section-glossar {
  background: #0f0f0f;
}

.dark-mode .glossar-term {
  background: #1a1a1a;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.dark-mode .term-word {
  color: #f0f0f0;
}

.dark-mode .term-definition {
  color: #aaa;
}

.dark-mode .section-roadmap {
  background: #161616;
}

.dark-mode .roadmap-card {
  background: #1a1a1a;
  border-color: #333;
}

.dark-mode .section-roadmap-tag {
  color: var(--mod-08-primary);
}

.dark-mode .section-roadmap-title {
  color: #f0f0f0;
}

.dark-mode .section-roadmap-subtitle {
  color: #888;
}

.dark-mode .roadmap-card-title {
  color: #f0f0f0;
}

.dark-mode .roadmap-card-desc {
  color: #888;
}

.dark-mode .certificate-content h4 {
  color: #f0f0f0;
}

.dark-mode .certificate-content p {
  color: #888;
}

.dark-mode .section-final-cta {
  background: #0f0f0f;
}

.dark-mode .final-cta-title {
  color: #f0f0f0;
}

.dark-mode .final-cta-text {
  color: #888;
}

.dark-mode .final-cta-links a {
  color: #888;
}

.dark-mode .final-cta-links a:hover {
  color: var(--mod-08-primary);
}

/* Light Mode: Reduced hero overlay opacity */
[data-theme="light"] .m08-hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(42, 54, 59, 0.35) 0%,
    rgba(42, 54, 59, 0.25) 50%,
    rgba(244, 162, 97, 0.15) 100%
  );
}

/* ============================================
   CLASSROOM MODE
   ============================================ */
body.classroom-mode .glossar-term {
  padding: 2rem;
}

body.classroom-mode .term-word {
  font-size: 1.5rem;
}

body.classroom-mode .term-definition {
  font-size: 1.15rem;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */
@media (max-width: 768px) {
  .m08-hero-cta {
    padding: 14px 28px;
    font-size: 1rem;
  }
  
  .m08-hero-stats {
    gap: 1rem;
  }
  
  .stat-number {
    font-size: 1.75rem;
  }
  
  .hero-stat-divider {
    height: 35px;
  }
  
  .alphabet-nav {
    top: 60px;
    padding: 0.75rem 0;
  }
  
  .alphabet-link {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
  
  .glossar-letter-section {
    scroll-margin-top: 120px;
  }
  
  .glossar-letter {
    font-size: 2.5rem;
  }
  
  .roadmap-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
  }
  
  .certificate-preview {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .certificate-link {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .alphabet-container {
    gap: 0.25rem;
  }
  
  .alphabet-link {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }
  
  .glossar-term {
    padding: 1.25rem;
  }
  
  .term-word {
    font-size: 1.15rem;
  }
}


/* ============================================
   SECTION INTRO (Missing Styles)
   ============================================ */
.intro-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-tag-premium {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: rgba(244, 162, 97, 0.1);
  border: 1px solid rgba(244, 162, 97, 0.2);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mod-08-primary);
  margin-bottom: 1.5rem;
}

.section-title-premium {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--mod-08-text);
  margin-bottom: 1rem;
}

.section-subtitle-premium {
  font-size: 1.15rem;
  color: #666;
  line-height: 1.6;
}

/* ============================================
   BOTTOM NAVIGATION - Senior Premium
   ============================================ */
.bottom-nav-senior {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, #2A2520 0%, #1a1815 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 16px;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.bottom-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 16px;
  min-width: 64px;
  min-height: 56px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
  box-sizing: border-box;
  flex-shrink: 0;
}

.bottom-nav-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(244, 162, 97, 0.4);
  color: #F4A261;
}

.bottom-nav-btn i {
  font-size: 1.4rem;
}

.bottom-nav-btn.home {
  background: rgba(144, 169, 85, 0.15);
  border-color: rgba(144, 169, 85, 0.3);
  color: #90A955;
}

.bottom-nav-btn.home:hover {
  background: rgba(144, 169, 85, 0.25);
}

.bottom-nav-progress {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  max-width: 200px;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #F4A261 0%, #E76F51 100%);
  border-radius: 3px;
  transition: width 0.3s ease;
}

body.module-page {
  padding-bottom: 100px;
}

/* ============================================
   FINAL CTA SECTION (Missing Styles)
   ============================================ */
.section-light {
  background: linear-gradient(180deg, #FDF8F3 0%, #F5EDE5 100%);
}

.section-final-cta {
  padding: 100px 0;
}

.final-cta-container {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  background: white;
  border-radius: 24px;
  padding: 60px 48px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.final-cta-icon {
  width: 80px;
  height: 80px;
  background: var(--mod-08-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  font-size: 2.5rem;
  color: white;
  box-shadow: 0 10px 30px rgba(244, 162, 97, 0.3);
}

.final-cta-icon.graduation {
  background: linear-gradient(135deg, var(--mod-08-tertiary) 0%, #1D7A6E 100%);
}

.final-cta-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--mod-08-text);
  margin-bottom: 1rem;
}

.final-cta-text {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.btn-final-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--mod-08-gradient);
  color: white;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
}

.btn-final-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(244, 162, 97, 0.4);
}

.final-cta-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 0.95rem;
}

.final-cta-links a {
  color: #666;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s ease;
}

.final-cta-links a:hover {
  color: var(--mod-08-primary);
}

.final-cta-divider {
  color: #ccc;
}

/* ============================================
   DARK MODE OVERRIDES (Complete)
   ============================================ */
[data-theme="dark"] .section-glossar {
  background: #0f0f0f;
}

[data-theme="dark"] .section-light {
  background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
}

[data-theme="dark"] .glossar-term {
  background: #1a1a1a;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

[data-theme="dark"] .term-word {
  color: #f0f0f0;
}

[data-theme="dark"] .term-definition {
  color: #aaa;
}

[data-theme="dark"] .term-category {
  background: rgba(244, 162, 97, 0.15);
  color: var(--mod-08-primary);
}

[data-theme="dark"] .alphabet-nav {
  background: #1a1a1a;
  border-color: #333;
}

[data-theme="dark"] .alphabet-nav::before {
  background: linear-gradient(to bottom, rgba(42, 54, 59, 0) 0%, #1a1a1a 100%);
}

[data-theme="dark"] .alphabet-link {
  color: #aaa;
}

[data-theme="dark"] .alphabet-link:hover {
  background: #2a2a2a;
  color: var(--mod-08-primary);
}

[data-theme="dark"] .section-tag-premium {
  background: rgba(244, 162, 97, 0.15);
  border-color: rgba(244, 162, 97, 0.25);
  color: var(--mod-08-primary);
}

[data-theme="dark"] .section-title-premium {
  color: #f0f0f0;
}

[data-theme="dark"] .section-subtitle-premium {
  color: #888;
}

[data-theme="dark"] .final-cta-container {
  background: rgba(255,255,255,0.05);
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

[data-theme="dark"] .final-cta-title {
  color: #f0f0f0;
}

[data-theme="dark"] .final-cta-text {
  color: #888;
}

[data-theme="dark"] .final-cta-links a {
  color: #888;
}

[data-theme="dark"] .final-cta-links a:hover {
  color: var(--mod-08-primary);
}

[data-theme="dark"] .roadmap-card {
  background: #1a1a1a;
  border-color: #333;
}

[data-theme="dark"] .roadmap-card-title {
  color: #f0f0f0;
}

[data-theme="dark"] .roadmap-card-desc {
  color: #888;
}

[data-theme="dark"] .roadmap-card.completed {
  background: rgba(144, 169, 85, 0.1);
  border-color: rgba(144, 169, 85, 0.3);
}

[data-theme="dark"] .roadmap-card.current {
  background: rgba(244, 162, 97, 0.1);
  border-color: var(--mod-08-primary);
}

[data-theme="dark"] .certificate-content h4 {
  color: #f0f0f0;
}

[data-theme="dark"] .certificate-content p {
  color: #888;
}

[data-theme="dark"] .bottom-nav-senior {
  background: linear-gradient(180deg, #1a1815 0%, #0f0e0c 100%);
}

[data-theme="dark"] .bottom-nav-btn {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .bottom-nav-btn.home {
  background: rgba(144, 169, 85, 0.1);
  border-color: rgba(144, 169, 85, 0.25);
  color: #90A955;
}

[data-theme="dark"] .bottom-nav-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(244, 162, 97, 0.4);
}

/* ============================================
   LIGHT MODE
   ============================================ */
[data-theme="light"] .bottom-nav-senior {
  background: linear-gradient(180deg, #FDFCF7 0%, #F5F0E8 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .bottom-nav-btn {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #5D4037;
}

[data-theme="light"] .bottom-nav-btn:hover {
  background: rgba(244, 162, 97, 0.1);
  border-color: rgba(244, 162, 97, 0.4);
  color: #E76F51;
}

[data-theme="light"] .bottom-nav-btn.home {
  background: rgba(144, 169, 85, 0.1);
  border-color: rgba(144, 169, 85, 0.3);
  color: #5D4037;
}

[data-theme="light"] .bottom-nav-btn.home:hover {
  background: rgba(144, 169, 85, 0.2);
  color: #5D4037;
}

/* ============================================
   CLASSROOM MODE
   ============================================ */
body.classroom-mode {
  font-size: 1.35rem;
  line-height: 1.7;
}

body.classroom-mode .container-premium,
body.classroom-mode .alphabet-container,
body.classroom-mode .glossar-container,
body.classroom-mode .roadmap-container,
body.classroom-mode .final-cta-container {
  max-width: 100%;
  padding-left: 60px;
  padding-right: 60px;
}

body.classroom-mode .m08-hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
}

body.classroom-mode .m08-hero-subtitle {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

body.classroom-mode .section-title-premium {
  font-size: clamp(2.4rem, 4.5vw, 3.5rem);
}

body.classroom-mode .section-subtitle-premium {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

body.classroom-mode p,
body.classroom-mode li {
  font-size: 1.25rem;
  line-height: 1.8;
}

body.classroom-mode .glossar-term {
  padding: 2rem;
}

body.classroom-mode .term-word {
  font-size: 1.5rem;
}

body.classroom-mode .term-definition {
  font-size: 1.15rem;
}

body.classroom-mode .m08-hero-badge,
body.classroom-mode .section-tag-premium {
  font-size: 1.1rem;
  padding: 14px 28px;
}

body.classroom-mode .btn-final-cta,
body.classroom-mode .m08-hero-cta {
  font-size: 1.3rem;
  padding: 22px 44px;
}

body.classroom-mode .alphabet-link {
  font-size: 1.2rem;
  width: 48px;
  height: 48px;
}

/* ============================================
   RESPONSIVE (Additional)
   ============================================ */
@media (max-width: 768px) {
  .section-glossar {
    padding: 4rem 0 6rem;
  }
  
  .section-intro,
  .section-roadmap,
  .section-final-cta {
    padding: 80px 0;
  }
  
  .final-cta-container {
    padding: 40px 24px;
    margin: 0 16px;
  }
  
  .bottom-nav-senior {
    padding: 10px 12px;
  }
  
  .bottom-nav-inner {
    gap: 8px;
  }
  
  .bottom-nav-btn {
    min-width: 56px;
    min-height: 52px;
    padding: 6px 10px;
    font-size: 0.75rem;
  }
  
  .bottom-nav-btn i {
    font-size: 1.2rem;
  }
  
  .bottom-nav-btn span {
    display: none;
  }
  
  .bottom-nav-progress {
    max-width: 100px;
    min-width: 60px;
    padding: 0 4px;
  }
}

@media (max-width: 480px) {
  .bottom-nav-senior {
    padding: 8px 10px;
  }
  
  .bottom-nav-inner {
    gap: 6px;
  }
  
  .bottom-nav-btn {
    min-width: 48px;
    min-height: 48px;
    padding: 4px 8px;
    font-size: 0.7rem;
  }
  
  .bottom-nav-btn i {
    font-size: 1.1rem;
  }
  
  .bottom-nav-progress {
    max-width: 80px;
    min-width: 50px;
  }
}

@media print {
  .bottom-nav-senior {
    display: none !important;
  }
  
  body.module-page {
    padding-bottom: 0;
  }
}


/* ============================================
   PARALLAX SECTIONS
   ============================================ */
.parallax-quote-section {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 140%;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.parallax-bg-m08-1 {
  background-image: url('../assets/images/sprints/m08_parallax_1.jpg');
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(42, 54, 59, 0.55) 0%,
    rgba(42, 54, 59, 0.45) 50%,
    rgba(42, 54, 59, 0.35) 100%
  );
  z-index: 1;
}

.parallax-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: 60px 30px;
  text-align: center;
  color: white;
}

.parallax-content i {
  font-size: 3.5rem;
  color: var(--mod-08-primary);
  margin-bottom: 30px;
  display: block;
  opacity: 0.9;
}

.parallax-content blockquote {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}

.parallax-content blockquote em {
  color: #ffffff;
  font-style: italic;
}

.parallax-author {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  font-style: italic;
}

[data-theme="dark"] .parallax-overlay {
  background: linear-gradient(
    135deg,
    rgba(26, 29, 36, 0.75) 0%,
    rgba(26, 29, 36, 0.65) 50%,
    rgba(26, 29, 36, 0.55) 100%
  );
}

@media (max-width: 768px) {
  .parallax-quote-section {
    min-height: 60vh;
    padding: 60px 20px;
  }
  
  .parallax-bg {
    background-attachment: scroll;
  }
  
  .parallax-content blockquote {
    font-size: 1.3rem;
  }
}


/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--mod-08-primary);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(244, 162, 97, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1001;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--mod-08-secondary);
  transform: translateY(-3px);
}

.back-to-top svg {
  color: white;
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .back-to-top {
    display: none;
  }
}

[data-theme="dark"] .back-to-top {
  background: var(--mod-08-primary);
}

[data-theme="dark"] .back-to-top:hover {
  background: var(--mod-08-secondary);
}
