/* ============================================
   MODULE 09 - ABSCHLUSS & ZERTIFIKAT
   Premium Graduation Design
   Academic Standard: No !important
   ============================================ */

/* Module 09 Color Variables */
.module-page[data-module="09"] {
  --mod-09-primary: #F4A261;
  --mod-09-secondary: #E76F51;
  --mod-09-tertiary: #90A955;
  --mod-09-gold: #D4AF37;
  --mod-09-light: #FDF9F3;
}

/* ============================================
   PROGRESS BAR
   ============================================ */
.module-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(244, 162, 97, 0.1);
  z-index: 1000;
}

.module-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #F4A261 0%, #E76F51 100%);
  width: 0%;
  transition: width 0.1s ease;
}

/* ============================================
   HERO M09
   ============================================ */
.m09-hero {
  min-height: 100vh;
  padding: 180px 0 80px;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: hidden;
}

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

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

.m09-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;
}

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

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

.m09-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 50px;
  color: #D4AF37;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.m09-hero-badge i {
  font-size: 1.1rem;
}

.m09-hero-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2.8rem, 6vw, 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);
}

.m09-hero-title em {
  color: #D4AF37;
  font-style: normal;
}

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

.m09-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-family: 'Manrope', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: #D4AF37;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.m09-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  background: linear-gradient(135deg, #D4AF37 0%, #F4A261 100%);
  color: #2A363B;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}

.m09-hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.5);
}

/* ============================================
   JOURNEY SECTION
   ============================================ */
.section-journey {
  padding: 8rem 0;
  background: linear-gradient(180deg, #FDFCF7 0%, #F8F5F0 100%);
  position: relative;
}

.section-journey::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%,
    #FDFCF7 100%);
  pointer-events: none;
  z-index: 10;
}

[data-theme="dark"] .section-journey::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%,
    #1a1d24 100%);
}

.journey-timeline {
  max-width: 800px;
  margin: 4rem auto 0;
  position: relative;
}

.journey-timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #90A955 0%, #F4A261 50%, #D4AF37 100%);
}

.timeline-item {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
  position: relative;
}

.timeline-marker {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}

.timeline-marker.completed {
  background: linear-gradient(135deg, #90A955 0%, #7A9048 100%);
  color: white;
}

.timeline-marker.current {
  background: linear-gradient(135deg, #D4AF37 0%, #F4A261 100%);
  color: white;
  animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
  50% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
}

.timeline-content {
  background: white;
  padding: 1.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  flex: 1;
}

.timeline-sprint {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6B7280;
  display: block;
  margin-bottom: 0.5rem;
}

.timeline-sprint.highlight {
  color: #D4AF37;
}

.timeline-content h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.3rem;
  color: #2A363B;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: #6B7280;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.timeline-modules {
  display: flex;
  gap: 0.5rem;
}

.mod-tag {
  padding: 0.25rem 0.75rem;
  background: rgba(244, 162, 97, 0.1);
  color: #E76F51;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 20px;
}

.mod-tag.highlight {
  background: rgba(212, 175, 55, 0.15);
  color: #D4AF37;
}

/* ============================================
   SKILLS SECTION
   ============================================ */
.section-skills {
  padding: 8rem 0;
  background: #FDFCF7;
}

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

.skill-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.skill-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #F4A261 0%, #E76F51 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
}

.skill-card:nth-child(2) .skill-icon {
  background: linear-gradient(135deg, #90A955 0%, #7A9048 100%);
}

.skill-card:nth-child(3) .skill-icon {
  background: linear-gradient(135deg, #5B5F97 0%, #E07A5F 100%);
}

.skill-card:nth-child(4) .skill-icon {
  background: linear-gradient(135deg, #D4AF37 0%, #F4A261 100%);
}

.skill-card h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.2rem;
  color: #2A363B;
  margin-bottom: 0.75rem;
}

.skill-card p {
  color: #6B7280;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================
   CERTIFICATE SECTION
   ============================================ */
.section-certificate {
  padding: 8rem 0;
  background: linear-gradient(180deg, #F8F5F0 0%, #FDFCF7 100%);
}

.certificate-form {
  max-width: 500px;
  margin: 0 auto 3rem;
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: #2A363B;
  margin-bottom: 0.5rem;
}

.form-group input {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  font-size: 1.1rem;
  font-family: inherit;
  transition: all 0.2s ease;
}

.form-group input:focus {
  outline: none;
  border-color: #F4A261;
  box-shadow: 0 0 0 4px rgba(244, 162, 97, 0.1);
}

.form-hint {
  display: block;
  font-size: 0.85rem;
  color: #6B7280;
  margin-top: 0.5rem;
}

.btn-update-cert {
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #F4A261 0%, #E76F51 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.btn-update-cert:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(244, 162, 97, 0.4);
}

/* Certificate Display */
.certificate-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

.certificate-border {
  background: linear-gradient(135deg, #D4AF37 0%, #F4A261 50%, #D4AF37 100%);
  padding: 8px;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.certificate {
  background: #FFFBF5;
  padding: 3rem;
  position: relative;
  border-radius: 4px;
  min-height: 600px;
  display: flex;
  flex-direction: column;
}

.cert-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 400px;
  color: rgba(212, 175, 55, 0.03);
  pointer-events: none;
  z-index: 0;
}

.cert-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.cert-logo img {
  height: 50px;
}

.cert-badge {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #D4AF37 0%, #F4A261 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
}

.cert-title-section {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.cert-main-title {
  font-family: 'Manrope', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: #2A363B;
  margin-bottom: 0.5rem;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.cert-subtitle {
  font-size: 1.1rem;
  color: #6B7280;
  letter-spacing: 2px;
}

.cert-body {
  text-align: center;
  flex: 1;
  position: relative;
  z-index: 1;
}

.cert-text {
  font-size: 1.1rem;
  color: #6B7280;
  margin-bottom: 1rem;
}

.cert-recipient {
  font-family: 'Manrope', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #2A363B;
  margin: 1rem 0;
  padding-bottom: 1rem;
  border-bottom: 2px solid #D4AF37;
  display: inline-block;
  min-width: 300px;
}

.cert-course {
  font-family: 'Manrope', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #E76F51;
  margin: 1.5rem 0;
  font-style: italic;
}

.cert-description {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
  color: #6B7280;
  line-height: 1.7;
}

.cert-details {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(0,0,0,0.1);
  border-bottom: 1px solid rgba(0,0,0,0.1);
  position: relative;
  z-index: 1;
}

.cert-detail {
  text-align: center;
}

.detail-label {
  display: block;
  font-size: 0.8rem;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.25rem;
}

.detail-value {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #2A363B;
}

.cert-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

.cert-signature {
  text-align: center;
}

.signature-line {
  width: 200px;
  height: 1px;
  background: #2A363B;
  margin-bottom: 0.5rem;
}

.cert-signature span {
  display: block;
  font-weight: 600;
  color: #2A363B;
}

.cert-signature small {
  color: #6B7280;
}

.cert-seal {
  text-align: center;
}

.seal-circle {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #D4AF37 0%, #F4A261 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  margin: 0 auto 0.5rem;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.cert-seal span {
  font-size: 0.75rem;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cert-id {
  text-align: right;
}

.cert-id span {
  display: block;
  font-size: 0.8rem;
  color: #6B7280;
}

.cert-id small {
  font-family: monospace;
  color: #9CA3AF;
}

/* Certificate Actions */
.certificate-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.btn-cert-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 1rem;
}

.btn-cert-action.primary {
  background: linear-gradient(135deg, #F4A261 0%, #E76F51 100%);
  color: white;
}

.btn-cert-action.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(244, 162, 97, 0.4);
}

.btn-cert-action.secondary {
  background: white;
  color: #2A363B;
  border: 2px solid rgba(0,0,0,0.1);
}

.btn-cert-action.secondary:hover {
  background: #FDFCF7;
  border-color: #F4A261;
}

/* ============================================
   SHARE SECTION
   ============================================ */
.section-share {
  padding: 6rem 0;
  background: #FDFCF7;
}

.share-container {
  background: linear-gradient(135deg, #2A363B 0%, #1a2024 100%);
  border-radius: 24px;
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.share-content {
  color: white;
}

.share-icon {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.share-icon i {
  font-size: 1.5rem;
  color: #D4AF37;
}

.share-icon i:nth-child(2) {
  animation-delay: 0.2s;
}

.share-icon i:nth-child(3) {
  animation-delay: 0.4s;
}

.share-content h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.share-content p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
}

.share-buttons {
  display: flex;
  gap: 1rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
}

.share-btn:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.2);
}

.share-btn.donate {
  background: linear-gradient(135deg, #E76F51 0%, #F4A261 100%);
  border-color: transparent;
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.share-btn.donate:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(231, 111, 81, 0.4);
}

/* Light Mode: Reduced hero overlay opacity */
[data-theme="light"] .m09-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%
  );
}

/* ============================================
   NEXT STEPS SECTION
   ============================================ */
.section-next-steps {
  padding: 8rem 0;
  background: #F8F5F0;
}

.next-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.next-step-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.next-step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #F4A261 0%, #E76F51 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin: 0 auto 1.5rem;
}

.next-step-card:nth-child(2) .step-number {
  background: linear-gradient(135deg, #90A955 0%, #7A9048 100%);
}

.next-step-card:nth-child(3) .step-number {
  background: linear-gradient(135deg, #D4AF37 0%, #F4A261 100%);
}

.next-step-card h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.3rem;
  color: #2A363B;
  margin-bottom: 0.75rem;
}

.next-step-card p {
  color: #6B7280;
  font-size: 1rem;
  line-height: 1.6;
}

/* ============================================
   FINAL CELEBRATION SECTION
   ============================================ */
.section-final-celebration {
  padding: 8rem 0;
  background: linear-gradient(180deg, #F8F5F0 0%, #FDFCF7 100%);
}

.celebration-container {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.celebration-icon {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.celebration-icon i {
  font-size: 2.5rem;
  color: #D4AF37;
  animation: sparkle 2s infinite;
}

@keyframes sparkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.celebration-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #2A363B;
  margin-bottom: 1rem;
}

.celebration-text {
  font-size: 1.2rem;
  color: #6B7280;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.celebration-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-celebration {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-celebration.primary {
  background: linear-gradient(135deg, #D4AF37 0%, #F4A261 100%);
  color: #2A363B;
}

.btn-celebration.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-celebration.secondary {
  background: white;
  color: #2A363B;
  border: 2px solid rgba(0,0,0,0.1);
}

.btn-celebration.secondary:hover {
  background: #FDFCF7;
  border-color: #F4A261;
}

/* ============================================
   BOTTOM NAVIGATION
   ============================================ */
.bottom-nav-senior {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, #2A363B 0%, #1a2024 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);
}

.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;
}

.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;
}

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

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

.bottom-nav-complete {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  color: #D4AF37;
  font-size: 0.85rem;
  font-weight: 500;
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer-premium {
  background: linear-gradient(180deg, #1a1d24 0%, #0d1016 100%);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 30px;
  margin-bottom: 80px;
}

.footer-content {
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
}

.footer-brand span {
  font-family: 'Manrope', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #F8F5F0;
}

.footer-license {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.footer-license a {
  color: #F4A261;
  text-decoration: none;
}

.footer-license a:hover {
  text-decoration: underline;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #F4A261;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* ============================================
   PRINT STYLES FOR CERTIFICATE - SINGLE A4 PAGE
   ============================================ */
@media print {
  @page {
    size: A4 portrait;
    margin: 10mm;
  }
  
  /* Hide all content except certificate */
  body * {
    visibility: hidden;
  }
  
  /* Show certificate wrapper and all its children */
  .certificate-wrapper,
  .certificate-wrapper * {
    visibility: visible;
  }
  
  /* Position certificate */
  .certificate-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 190mm;
    height: 277mm;
    padding: 0;
    margin: 0;
  }
  
  /* Certificate border */
  .certificate-border {
    width: 100%;
    height: 100%;
    padding: 2mm;
    background: linear-gradient(135deg, #D4AF37 0%, #F4A261 50%, #D4AF37 100%);
    box-shadow: none;
  }
  
  /* Certificate content */
  .certificate {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background: #FFFBF5;
    padding: 10mm;
    display: flex;
    flex-direction: column;
  }
  
  /* Header */
  .cert-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6mm;
  }
  
  .cert-logo img {
    height: 10mm;
  }
  
  .cert-badge {
    width: 10mm;
    height: 10mm;
    font-size: 5mm;
    background: linear-gradient(135deg, #D4AF37 0%, #F4A261 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
  }
  
  /* Title */
  .cert-title-section {
    text-align: center;
    margin-bottom: 6mm;
  }
  
  .cert-main-title {
    font-size: 12mm;
    letter-spacing: 2mm;
    margin: 0;
    color: #2A363B;
  }
  
  .cert-subtitle {
    font-size: 4mm;
    color: #6B7280;
    margin: 1mm 0 0 0;
  }
  
  /* Body */
  .cert-body {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .cert-text {
    font-size: 4.5mm;
    color: #6B7280;
    margin: 0 0 3mm 0;
  }
  
  .cert-recipient {
    font-size: 9mm;
    padding-bottom: 2mm;
    border-bottom: 0.8mm solid #D4AF37;
    display: inline-block;
    margin: 0;
    color: #2A363B;
  }
  
  .cert-course {
    font-size: 5mm;
    margin: 3mm 0;
    color: #E76F51;
  }
  
  .cert-description {
    font-size: 4mm;
    line-height: 1.5;
    max-width: 150mm;
    margin: 0 auto;
    color: #6B7280;
  }
  
  /* Details */
  .cert-details {
    display: flex;
    justify-content: center;
    gap: 12mm;
    margin: 6mm 0;
    padding: 3mm 0;
    border-top: 0.3mm solid rgba(0,0,0,0.1);
    border-bottom: 0.3mm solid rgba(0,0,0,0.1);
  }
  
  .detail-label {
    font-size: 3mm;
    color: #6B7280;
  }
  
  .detail-value {
    font-size: 4.5mm;
    color: #2A363B;
  }
  
  /* Footer */
  .cert-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
    padding-top: 4mm;
  }
  
  .signature-line {
    width: 100%;
    height: 0.3mm;
    background: #2A363B;
  }
  
  .seal-circle {
    width: 12mm;
    height: 12mm;
    font-size: 6mm;
    background: linear-gradient(135deg, #D4AF37 0%, #F4A261 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto 1mm;
  }
  
  /* Hide all other elements */
  .certificate-actions,
  .certificate-form,
  .section-certificate .section-header,
  .section-certificate .section-title-premium,
  .section-certificate .section-subtitle-premium,
  .section-journey,
  .section-skills,
  .section-next-steps,
  .section-final-celebration,
  .section-share,
  .m09-hero,
  nav,
  footer,
  .skip-link,
  .module-progress,
  .cert-watermark {
    display: none !important;
  }
}

/* ============================================
   DARK MODE
   ============================================ */
[data-theme="dark"] .section-journey,
[data-theme="dark"] .section-skills,
[data-theme="dark"] .section-certificate,
[data-theme="dark"] .section-share,
[data-theme="dark"] .section-next-steps,
[data-theme="dark"] .section-final-celebration {
  background: #0f1220;
}

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

[data-theme="dark"] .timeline-content,
[data-theme="dark"] .skill-card,
[data-theme="dark"] .next-step-card,
[data-theme="dark"] .certificate-form {
  background: #161a2d;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

[data-theme="dark"] .timeline-content h4,
[data-theme="dark"] .skill-card h4,
[data-theme="dark"] .next-step-card h4,
[data-theme="dark"] .cert-main-title {
  color: #f0f0f0;
}

[data-theme="dark"] .timeline-content p,
[data-theme="dark"] .skill-card p,
[data-theme="dark"] .next-step-card p,
[data-theme="dark"] .cert-text,
[data-theme="dark"] .cert-description {
  color: #aaa;
}

[data-theme="dark"] .certificate {
  background: #FFFBF5;
}

[data-theme="dark"] .form-group label {
  color: #f0f0f0;
}

[data-theme="dark"] .form-hint {
  color: #888;
}

[data-theme="dark"] .form-group input {
  background: #0f1220;
  border-color: rgba(255,255,255,0.2);
  color: #f0f0f0;
}

[data-theme="dark"] .form-group input::placeholder {
  color: #666;
}

[data-theme="dark"] .form-group input:focus {
  border-color: #F4A261;
  box-shadow: 0 0 0 4px rgba(244, 162, 97, 0.2);
}

[data-theme="dark"] .cert-subtitle {
  color: #555;
}

[data-theme="dark"] .cert-recipient {
  color: #1a1a1a;
}

[data-theme="dark"] .cert-course {
  color: #c45c3e;
}

[data-theme="dark"] .detail-label {
  color: #666;
}

[data-theme="dark"] .detail-value {
  color: #1a1a1a;
}

[data-theme="dark"] .cert-signature span {
  color: #1a1a1a;
}

[data-theme="dark"] .cert-signature small {
  color: #666;
}

[data-theme="dark"] .cert-id span {
  color: #666;
}

[data-theme="dark"] .cert-seal span {
  color: #666;
}

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

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

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

/* ============================================
   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);
}

[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;
}

[data-theme="light"] .bottom-nav-complete {
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.3);
  color: #D4AF37;
}

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

body.classroom-mode .container-premium,
body.classroom-mode .certificate-wrapper {
  max-width: 100%;
  padding-left: 60px;
  padding-right: 60px;
}

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

body.classroom-mode .m09-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 .timeline-content h4,
body.classroom-mode .skill-card h4,
body.classroom-mode .next-step-card h4 {
  font-size: 1.5rem;
}

body.classroom-mode .cert-main-title {
  font-size: 3.5rem;
}

body.classroom-mode .cert-recipient {
  font-size: 3rem;
}

body.classroom-mode .cert-course {
  font-size: 1.5rem;
}

body.classroom-mode .btn-cert-action,
body.classroom-mode .btn-celebration {
  font-size: 1.2rem;
  padding: 1.25rem 2.5rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .next-steps-grid {
    grid-template-columns: repeat(1, 1fr);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .share-container {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  
  .share-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .m09-hero-stats {
    gap: 1rem;
  }
  
  .hero-stat-divider {
    height: 40px;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .journey-timeline::before {
    left: 20px;
  }
  
  .timeline-marker {
    width: 40px;
    height: 40px;
  }
  
  .timeline-item {
    gap: 1rem;
  }
  
  .timeline-content {
    padding: 1.25rem;
  }
  
  .cert-main-title {
    font-size: 2rem;
  }
  
  .cert-recipient {
    font-size: 1.75rem;
    min-width: auto;
  }
  
  .cert-course {
    font-size: 1.1rem;
  }
  
  .cert-details {
    flex-direction: column;
    gap: 1rem;
  }
  
  .cert-footer {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  
  .cert-signature,
  .cert-id {
    text-align: center;
  }
  
  .certificate {
    padding: 2rem;
  }
  
  .certificate-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-cert-action {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .bottom-nav-senior {
    padding: 10px 12px;
  }
  
  .bottom-nav-btn {
    min-width: 56px;
    min-height: 52px;
    padding: 6px 10px;
    font-size: 0.75rem;
  }
  
  .bottom-nav-btn span {
    display: none;
  }
  
  .bottom-nav-complete span {
    display: none;
  }
}

@media (max-width: 480px) {
  .m09-hero-title {
    font-size: 2.2rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .certificate-wrapper {
    padding: 1rem;
  }
  
  .certificate {
    padding: 1.5rem;
  }
  
  .cert-main-title {
    font-size: 1.75rem;
  }
  
  .cert-recipient {
    font-size: 1.5rem;
  }
  
  .share-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .share-btn {
    justify-content: center;
  }
}
