/* ============================================
   WIA-Europe AI-W Workshop: Skills in Motion
   Design System & Global Styles
   ============================================ */

:root {
  --bg-primary: #0a0f1a;
  --bg-secondary: #131b2e;
  --bg-tertiary: #1a2440;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --accent-primary: #38bdf8;
  --accent-secondary: #818cf8;
  --accent-tertiary: #a855f7;
  --accent-cyan: #22d3ee;
  --accent-purple: #a855f7;
  --accent-gradient: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #a855f7 100%);
  --accent-gradient-soft: linear-gradient(135deg, rgba(56, 189, 248, 0.15) 0%, rgba(129, 140, 248, 0.15) 100%);
  --card-bg: rgba(26, 36, 64, 0.6);
  --border-color: rgba(148, 163, 184, 0.15);
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --error-color: #ef4444;
  --font-heading: "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.highlight {
  color: var(--accent-primary);
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */

header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 15, 26, 0.9);
  backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.logo a { color: var(--text-primary); }
.logo a:hover { color: var(--accent-primary); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  position: relative;
  transition: background 0.3s ease;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  left: 0;
  transition: transform 0.3s ease;
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

.mobile-menu-btn.active .hamburger { background: transparent; }
.mobile-menu-btn.active .hamburger::before { transform: rotate(45deg) translate(5px, 6px); }
.mobile-menu-btn.active .hamburger::after { transform: rotate(-45deg) translate(5px, -6px); }

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  padding: 8rem 4rem 4rem;
  gap: 4rem;
  background-image: linear-gradient(to right, var(--bg-primary) 30%, rgba(15, 23, 42, 0.5) 100%), url('assets/hero_statue_main.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-content {
  flex: 0 0 600px;
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--accent-gradient-soft);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
  50% { box-shadow: 0 0 15px 3px rgba(56, 189, 248, 0.15); }
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-content > p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

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

.cta-button {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--accent-gradient);
  color: white;
  border-radius: 50px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
}

.secondary-button {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: transparent;
  border: 1px solid var(--text-secondary);
  color: var(--text-primary);
  border-radius: 50px;
  font-weight: 600;
}

.secondary-button:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  background: rgba(56, 189, 248, 0.1);
}

.hero-sponsor {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 3rem;
}

.hero-sponsor-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-cyan);
  font-weight: 700;
}

.hero-sponsor-logo {
  height: 100px;
  width: auto;
  transition: transform 0.3s ease;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-sponsor-logo:hover {
  transform: scale(1.05);
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.15);
}

.hero-visual {
  flex: 1;
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   MODULES SECTION
   ============================================ */

.modules-section {
  padding: 6rem 2rem;
  background: var(--bg-secondary);
}

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

.module-card {
  position: relative;
  display: block;
  padding: 2rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  transition: all 0.3s ease;
  overflow: hidden;
  z-index: 1;
}

.module-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.module-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.module-card:hover::before { opacity: 1; }

.module-card.featured {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
  border-color: rgba(168, 85, 247, 0.3);
}

.module-number {
  position: absolute;
  top: -15px; right: -15px;
  font-size: 5rem;
  font-weight: 700;
  color: var(--accent-primary);
  opacity: 0.15;
  z-index: 0;
  line-height: 1;
}

.module-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.module-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 2;
}

.module-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.module-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-primary);
  transition: transform 0.3s ease;
  display: inline-block;
}

.module-card:hover .module-link {
  transform: translateX(5px);
}

/* ============================================
   SHARED SECTION STYLES
   ============================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.intro-text {
  text-align: center;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
}

.feature-section {
  padding: 6rem 2rem;
  background: var(--bg-secondary);
}

.dark-bg {
  background: var(--bg-primary);
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-secondary);
}

.icon-wrapper {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ============================================
   CARD STACK VISUAL (Hero)
   ============================================ */

.card-stack {
  position: relative;
  width: 300px;
  height: 400px;
}

.card {
  position: absolute;
  width: 100%;
  height: 350px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transform: rotate(-5deg);
  top: 20px; left: 20px;
  z-index: 1;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: rotate(-5deg) translateY(0); }
  50% { transform: rotate(-5deg) translateY(-10px); }
}

.card-header {
  background: var(--bg-tertiary);
  padding: 12px;
  display: flex;
  gap: 8px;
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ef4444; }
.dot.yellow { background: #eab308; }
.dot.green { background: #22c55e; }

.card-body.terminal {
  background: #0f172a;
  height: calc(100% - 44px);
  padding: 1.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.terminal-prompt {
  color: var(--accent-primary);
  opacity: 0.8;
}

.terminal-content {
  line-height: 1.5;
}

.terminal-text {
  color: #a5f3fc;
  text-shadow: 0 0 5px rgba(165, 243, 252, 0.4);
}

.terminal-cursor {
  display: inline-block;
  width: 8px;
  height: 1.1em;
  background: var(--accent-primary);
  margin-left: 2px;
  vertical-align: middle;
  animation: cursor-blink 1s step-end infinite;
}

@keyframes cursor-blink {
  50% { opacity: 0; }
}

/* ============================================
   PROGRAMME TIMELINE
   ============================================ */

.programme-section {
  padding: 6rem 2rem;
  background: var(--bg-secondary);
}

.programme-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 900px;
  margin: 3rem auto 0;
  position: relative;
}

.programme-grid::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-primary), var(--accent-tertiary));
  opacity: 0.3;
}

.programme-item {
  display: flex;
  gap: 2rem;
  padding: 1.5rem 2rem 1.5rem 3.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.programme-item::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 2rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--accent-primary);
  z-index: 1;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
}

.programme-item.highlight-item::before {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
}

.programme-time {
  flex: 0 0 100px;
  font-weight: 700;
  color: var(--accent-primary);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  padding-top: 0.15rem;
}

.programme-content {
  flex: 1;
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.programme-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.programme-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.programme-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--accent-gradient-soft);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.75rem;
}

/* ============================================
   STATS / KEY FIGURES
   ============================================ */

.stats-section {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.05), rgba(168, 85, 247, 0.05));
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.stat-item {
  padding: 2rem 1rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  font-family: var(--font-heading);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.stat-number.animated {
  animation: statGlow 1.5s ease-out;
}

@keyframes statGlow {
  0% { filter: brightness(1); }
  30% { filter: brightness(1.4); text-shadow: 0 0 20px rgba(56, 189, 248, 0.5); }
  100% { filter: brightness(1); text-shadow: none; }
}

/* ============================================
   INSTRUCTOR SECTION
   ============================================ */

.instructor-section {
  padding: 6rem 2rem;
  background: var(--bg-primary);
  position: relative;
  border-top: 1px solid var(--border-color);
}

.instructors-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 4rem;
}

.instructor-card {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  align-items: center;
  background: var(--bg-secondary);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.instructor-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
}

.instructor-visual {
  flex: 0 0 250px;
  display: flex;
  justify-content: center;
}

.instructor-img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent-primary);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}

.instructor-info {
  flex: 1;
  min-width: 280px;
}

.instructor-info h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.instructor-info .role {
  color: var(--accent-secondary);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.instructor-info p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.7;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(148, 163, 184, 0.1);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--bg-primary);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

/* ============================================
   PROCESS / TIMELINE STEPS
   ============================================ */

.process-section {
  padding: 6rem 2rem;
  background: var(--bg-secondary);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  position: relative;
  max-width: 1200px;
  margin: 4rem auto 0;
}

.timeline-item {
  position: relative;
  z-index: 1;
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
}

.timeline-item:hover {
  transform: translateY(-10px);
  border-color: var(--accent-primary);
}

.timeline-marker {
  width: 50px;
  height: 50px;
  background: var(--bg-primary);
  border: 2px solid var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--accent-primary);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.timeline-content h3 {
  margin-bottom: 0.5rem;
}

.timeline-subtitle {
  font-size: 0.9rem;
  color: var(--accent-secondary);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.checklist li::before {
  content: "\2713";
  color: var(--accent-primary);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* ============================================
   CTA BOX
   ============================================ */

.cta-box {
  text-align: center;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(129, 140, 248, 0.1));
  padding: 3rem;
  border-radius: 16px;
  border: 1px solid rgba(56, 189, 248, 0.2);
  margin-top: 3rem;
}

.primary-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 1rem 3rem;
  background: var(--accent-gradient);
  color: white;
  border-radius: 50px;
  font-weight: 700;
  transition: transform 0.2s;
}

.primary-btn:hover {
  transform: scale(1.05);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  padding: 3rem 2rem;
  background: #050810;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; color: var(--text-secondary); }

.footer-sponsor {
  margin-top: 1.5rem;
}

.footer-sponsor p {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.footer-sponsor img {
  height: 80px;
  width: auto;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  padding: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  transition: transform 0.2s;
}

.footer-sponsor img:hover {
  transform: scale(1.05);
}

.footer-nav h4 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.footer-nav a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--accent-primary);
}

/* ============================================
   PAGE HERO (Sub-pages)
   ============================================ */

.page-hero {
  padding: 10rem 2rem 4rem;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  text-align: center;
}

.breadcrumb {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--accent-primary);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.module-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: var(--accent-gradient-soft);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
}

.page-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   TUTORIAL / SETUP CONTENT
   ============================================ */

.tutorial-content {
  padding: 4rem 2rem;
}

.tutorial-step {
  max-width: 900px;
  margin: 0 auto 4rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--border-color);
}

.step-badge {
  padding: 0.4rem 1rem;
  background: var(--accent-gradient);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.step-header h2 {
  font-size: 1.4rem;
  flex: 1;
}

.task-time {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.3rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50px;
}

.step-body {
  padding: 2rem;
}

.step-body > p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.8;
}

/* Callouts */
.info-callout,
.warning-callout,
.success-callout {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 12px;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.info-callout {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.warning-callout {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.success-callout {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Code Blocks */
.code-block {
  background: #0f172a;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  margin: 1.5rem 0;
}

.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--border-color);
}

.code-lang {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-primary);
  letter-spacing: 1px;
}

.copy-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
}

.copy-btn:hover {
  background: var(--accent-primary);
  color: white;
  border-color: var(--accent-primary);
}

.code-content {
  padding: 1.25rem;
  font-family: "JetBrains Mono", "Fira Code", monospace;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-primary);
  overflow-x: auto;
  white-space: pre;
}

/* Slide numbers for presentation */
.slide-container {
  max-width: 100%;
  margin: 0 auto;
  position: relative;
}

/* ============================================
   LAB CONTENT
   ============================================ */

.lab-content {
  padding: 4rem 2rem;
}

.lab-task {
  max-width: 900px;
  margin: 0 auto 3rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.lab-task h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.lab-task p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.lab-task ol,
.lab-task ul {
  margin-left: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.lab-task ol li,
.lab-task ul li {
  margin-bottom: 0.5rem;
}

/* ============================================
   PRESENTATION SLIDE ENGINE (Award-Winning)
   ============================================ */

.presentation-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-primary);
  isolation: isolate;
}

/* === NOISE TEXTURE OVERLAY === */
.presentation-wrapper::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.slide {
  min-height: 100vh;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.slide.active {
  display: flex;
}

/* === AMBIENT GLOW ORB (per-slide) === */
.slide::after {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  filter: blur(120px);
  background: radial-gradient(circle, rgba(56,189,248,0.12) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.slide.active::after {
  opacity: 1;
  animation: orbPulse 8s ease-in-out infinite alternate;
}

@keyframes orbPulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-45%, -55%) scale(1.15); opacity: 1; }
  100% { transform: translate(-55%, -48%) scale(0.95); opacity: 0.7; }
}

.slide-gradient-2::after {
  background: radial-gradient(circle, rgba(34,211,238,0.1) 0%, transparent 70%);
}

.slide-gradient-3::after {
  background: radial-gradient(circle, rgba(168,85,247,0.1) 0%, transparent 70%);
}

.slide > * {
  position: relative;
  z-index: 2;
}

/* === SLIDE NUMBER (now pill-shaped, frosted) === */
.slide-number {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  z-index: 200;
  background: rgba(10, 15, 26, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  letter-spacing: 1px;
}

/* === PROGRESS BAR (upgraded with glow) === */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--accent-gradient);
  z-index: 1001;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.5), 0 0 30px rgba(129, 140, 248, 0.2);
}

.progress-bar::after {
  content: '';
  position: absolute;
  right: 0;
  top: -2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8, 0 0 20px rgba(56, 189, 248, 0.4);
}

/* === TYPOGRAPHY (elevated) === */
.slide h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  max-width: 900px;
  letter-spacing: -0.02em;
}

.slide h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.slide p {
  font-size: 1.3rem;
  color: var(--text-secondary);
  max-width: 800px;
  line-height: 1.8;
}

.slide .big-stat {
  font-size: 6rem;
  font-weight: 700;
  font-family: var(--font-heading);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
  line-height: 1;
}

/* === NAVIGATION CONTROLS (glassmorphic toolbar, auto-hide) === */
.slide-controls {
  position: fixed;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 200;
  background: rgba(10, 15, 26, 0.55);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 50px;
  padding: 0.4rem 0.6rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 0 0 0.5px rgba(255,255,255,0.06);
  opacity: 0.15;
  transition: opacity 0.5s ease;
}

.slide-controls:hover {
  opacity: 1;
}

.slide-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.15);
  color: var(--text-primary);
  padding: 0.5rem 1.3rem;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-heading);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.slide-btn:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  transform: scale(1.04);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.15);
}

.slide-btn:active {
  transform: scale(0.97);
}

/* === KEYBOARD SHORTCUT BADGES === */
.slide-btn .kbd {
  font-size: 0.55rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 1px 5px;
  font-family: var(--font-body);
  font-weight: 400;
  opacity: 0.5;
  letter-spacing: 0;
  vertical-align: middle;
}

/* === DOT NAVIGATION (mini-map) === */
.slide-dots {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 0 0.3rem;
}

.slide-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.slide-dot:hover {
  background: rgba(56, 189, 248, 0.5);
  transform: scale(1.4);
}

.slide-dot.active {
  width: 20px;
  border-radius: 10px;
  background: var(--accent-gradient);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.4);
}

.slide-dot.chapter-start {
  border: 1px solid rgba(168, 85, 247, 0.35);
}

/* Slide background variants (enhanced with subtle animation) */
.slide-gradient-1 {
  background: linear-gradient(135deg, #0a0f1a 0%, #1a1040 100%);
}

.slide-gradient-2 {
  background: linear-gradient(135deg, #0a0f1a 0%, #0a2540 100%);
}

.slide-gradient-3 {
  background: linear-gradient(135deg, #1a0a2e 0%, #0a0f1a 100%);
}

.slide-image-bg {
  background-size: cover;
  background-position: center;
}

.slide-image-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,15,26,0.75) 0%, rgba(10,15,26,0.92) 60%, rgba(10,15,26,0.98) 100%);
  z-index: 0;
}

.slide-image-bg > * {
  position: relative;
  z-index: 1;
}

/* Gender bias comparison grid */
.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 900px;
  margin-top: 2rem;
}

.comparison-box {
  padding: 2rem;
  border-radius: 16px;
  text-align: left;
  border: 1px solid var(--border-color);
  background:  rgba(255,255,255,0.03);
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comparison-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.comparison-box.highlight-bad {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.comparison-box.highlight-good {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

/* ============================================
   ADVANCED STUDIES
   ============================================ */

.advanced-studies-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--accent-gradient-soft);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
}

.advanced-studies-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  margin-top: 2rem;
  align-items: center;
}

.advanced-studies-text p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.advanced-studies-outcomes {
  background: rgba(255, 255, 255, 0.03);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

.advanced-studies-outcomes h3 {
  margin-bottom: 1.5rem;
}

/* ============================================
   TEXT LINKS
   ============================================ */

.text-link {
  color: var(--accent-primary);
  text-decoration: underline;
}

.text-link:hover {
  color: var(--accent-secondary);
}

ol { margin-left: 1.5rem; color: var(--text-secondary); }
ol li { margin-bottom: 0.5rem; }

/* ============================================
   LAB PAGE
   ============================================ */

.lab-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

/* --- Progress Tracker --- */
.lab-progress {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 3rem;
  position: relative;
}

.lab-progress::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 15%;
  right: 15%;
  height: 2px;
  background: var(--border-color);
  transform: translateY(-50%);
  z-index: 0;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  position: relative;
  z-index: 1;
  text-decoration: none;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.progress-step:hover { color: var(--accent-primary); }

.progress-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  transition: all 0.3s;
}

.progress-step:hover .progress-dot {
  border-color: var(--accent-primary);
  background: rgba(56, 189, 248, 0.15);
}

.progress-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* --- Lab Task Cards --- */
.lab-task {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  backdrop-filter: blur(10px);
  transition: border-color 0.3s;
}

.lab-task:hover {
  border-color: rgba(56, 189, 248, 0.3);
}

.step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.25rem 2rem;
}

.step-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--bg-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.step-header h2 {
  font-size: 1.4rem;
  flex: 1;
}

.task-time {
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.05);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-weight: 600;
}

.lab-task p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.lab-task h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* --- Code Blocks --- */
.code-block {
  background: #0d1117;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  margin: 1.25rem 0 1.5rem;
  overflow: hidden;
  font-family: 'JetBrains Mono', monospace;
}

.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.code-lang {
  font-size: 0.7rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.copy-btn {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--accent-primary);
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  font-size: 0.75rem;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}

.copy-btn:hover {
  background: var(--accent-primary);
  color: var(--bg-primary);
}

.copy-btn.copied {
  background: var(--success-color);
  border-color: var(--success-color);
  color: white;
}

.code-content {
  padding: 1.25rem;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.85rem;
  line-height: 1.7;
  color: #c9d1d9;
}

/* --- Callout Boxes --- */
.info-callout,
.success-callout,
.warning-callout {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  margin: 1.25rem 0;
  font-size: 0.9rem;
  line-height: 1.7;
  align-items: flex-start;
}

.info-callout > span,
.success-callout > span,
.warning-callout > span {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-callout {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--text-secondary);
}

.success-callout {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--text-secondary);
}

.warning-callout {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: var(--text-secondary);
}

/* --- Expected Output Panels --- */
.expected-output {
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin: 1.25rem 0;
}

.expected-output-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--success-color);
}

.expected-output pre {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: #a3c9a8;
  white-space: pre-wrap;
  line-height: 1.6;
}

/* --- Prerequisite Checklist --- */
.prereq-checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.prereq-checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.prereq-checklist li:hover {
  border-color: var(--accent-primary);
  background: rgba(56, 189, 248, 0.05);
}

.prereq-checklist li input[type="checkbox"] {
  accent-color: var(--success-color);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.prereq-checklist li.checked {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.05);
}

/* --- Sub-Step Numbers --- */
.sub-step {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 0 0 1.5rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.sub-step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sub-step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-gradient-soft);
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--accent-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

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

.sub-step-content h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.sub-step-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* --- Challenge Idea Cards --- */
.challenge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.challenge-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 14px;
  padding: 1.5rem;
  transition: all 0.3s;
}

.challenge-card:hover {
  border-color: var(--accent-tertiary);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(168, 85, 247, 0.1);
}

.challenge-card .icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.challenge-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.challenge-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* --- Lab responsive --- */
@media (max-width: 768px) {
  .lab-content { padding: 0 1rem 3rem; }
  .lab-task { padding: 1.5rem; }
  .step-header { padding: 1rem 1.25rem; }
  .step-header h2 { font-size: 1.15rem; }
  .sub-step { flex-direction: column; gap: 0.5rem; }
  .sub-step-number { width: 28px; height: 28px; font-size: 0.75rem; }
  .code-content { font-size: 0.78rem; padding: 1rem; }
  .progress-label { display: none; }
}

/* ============================================
   ANIMATIONS
   ============================================ */

.animate-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .modules-grid,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .process-timeline {
    grid-template-columns: 1fr;
  }

  .advanced-studies-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 900px) {
  .hero-section {
    padding: 8rem 2rem 4rem;
    background-image: linear-gradient(to bottom, var(--bg-primary) 50%, rgba(15, 23, 42, 0.7) 100%), url('assets/hero_statue_main.png');
    text-align: center;
  }

  .hero-content {
    flex: 1;
    max-width: 100%;
  }

  .hero-sponsor {
    align-items: center;
  }

  .hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    padding-top: 8rem;
    min-height: auto;
  }

  .hero-content h1 { font-size: 2.25rem; }
  .hero-visual { display: none; }

  .mobile-menu-btn { display: block; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-secondary);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    gap: 1.5rem;
    transition: right 0.3s ease;
    border-left: 1px solid var(--border-color);
  }

  .nav-links.active { right: 0; }
  .nav-links a::after { display: none; }

  .modules-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-title { font-size: 2rem; }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .instructor-card {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }

  .instructor-visual {
    flex: auto;
    margin-bottom: 2rem;
  }

  .social-links { justify-content: center; }

  .comparison-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .slide h1 { font-size: 2.5rem; }
  .slide h2 { font-size: 1.8rem; }
  .slide p { font-size: 1rem; }
  .slide .big-stat { font-size: 4rem; }
  .slide { padding: 2rem; }

  .programme-item { padding-left: 3rem; }

  .lab-time-estimate { flex-direction: column; gap: 0.3rem; }
  .time-divider { display: none; }
  .time-detail { font-size: 0.7rem; text-align: center; }

  .aerospace-callout { flex-direction: column; text-align: center; }
  .aerospace-callout-icon { font-size: 2rem; }

  .prompt-framework { flex-direction: column; }
  .cheat-sheet-grid { grid-template-columns: 1fr; }

  .challenge-grid { grid-template-columns: 1fr; }
}

/* ============================================
   LAB ENHANCEMENTS
   ============================================ */

/* Difficulty Badges */
.step-meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.5rem;
}

.difficulty-badge {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.difficulty-badge.beginner {
  background: rgba(34, 211, 238, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(34, 211, 238, 0.3);
}

.difficulty-badge.intermediate {
  background: rgba(245, 158, 11, 0.15);
  color: var(--warning-color);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.difficulty-badge.advanced {
  background: rgba(168, 85, 247, 0.15);
  color: var(--accent-tertiary);
  border: 1px solid rgba(168, 85, 247, 0.3);
}

/* Estimated Time Bar */
.lab-time-estimate {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: rgba(56, 189, 248, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: 12px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.time-icon { font-size: 1.2rem; }
.time-divider { color: rgba(148, 163, 184, 0.3); }
.time-detail { font-size: 0.75rem; color: rgba(148, 163, 184, 0.6); }

/* Active Progress Step */
.progress-step.active .progress-dot {
  background: var(--accent-primary) !important;
  border-color: var(--accent-primary) !important;
  color: white !important;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.5);
  transform: scale(1.15);
}

.progress-step.active .progress-label {
  color: var(--accent-primary);
  font-weight: 700;
}

/* Aerospace Callout Sidebar */
.aerospace-callout {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.5rem;
  background: rgba(56, 189, 248, 0.04);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-left: 4px solid var(--accent-primary);
  border-radius: 0 12px 12px 0;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  animation: fadeInUp 0.5s ease;
}

.aerospace-callout-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.aerospace-callout strong {
  color: var(--text-primary);
}

/* Troubleshooting Accordion */
.troubleshoot-accordion {
  margin-top: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.troubleshoot-accordion summary {
  padding: 1rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
  background: rgba(148, 163, 184, 0.05);
  transition: all 0.3s ease;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.troubleshoot-accordion summary::after {
  content: '+';
  margin-left: auto;
  font-size: 1.2rem;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.troubleshoot-accordion[open] summary::after {
  content: '−';
}

.troubleshoot-accordion summary:hover {
  background: rgba(148, 163, 184, 0.1);
  color: var(--text-primary);
}

.troubleshoot-content {
  padding: 1rem 1.5rem 1.25rem;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-secondary);
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.troubleshoot-content p {
  margin-bottom: 0.75rem;
}

.troubleshoot-content p:last-child {
  margin-bottom: 0;
}

.troubleshoot-content strong {
  color: var(--warning-color);
}

.troubleshoot-content code {
  background: rgba(56, 189, 248, 0.1);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.82rem;
}

/* CRISP Prompt Framework */
.prompt-framework {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.framework-item {
  flex: 1;
  min-width: 140px;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem;
  background: rgba(26, 36, 64, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.framework-item:hover {
  transform: translateY(-3px);
  border-color: rgba(148, 163, 184, 0.3);
}

.framework-letter {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-heading);
  line-height: 1;
  flex-shrink: 0;
}

.framework-item div {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.framework-item strong {
  color: var(--text-primary);
  font-size: 0.9rem;
}

/* Cheat Sheet Grid */
.cheat-sheet-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.cheat-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1rem;
  background: rgba(26, 36, 64, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  transition: border-color 0.3s ease, transform 0.2s ease;
}

.cheat-item:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.cheat-item code {
  font-size: 0.85rem;
  color: var(--accent-cyan);
  font-weight: 600;
  background: rgba(34, 211, 238, 0.08);
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  display: inline-block;
  width: fit-content;
}

.cheat-item span {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: white;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.back-to-top:hover {
  box-shadow: 0 6px 25px rgba(56, 189, 248, 0.5);
  transform: translateY(-3px);
}

/* Enhanced Challenge Grid for 5 cards */
.challenge-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Fade-in animation for new elements */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   ACCESSIBILITY: Reduced Motion
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .particle-canvas,
  .hero-particles { display: none !important; }
}

/* ============================================
   ACCESSIBILITY: Skip to Content
   ============================================ */

.skip-to-content {
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  background: var(--accent-gradient);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 0 0 12px 12px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: top 0.3s ease;
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.4);
}

.skip-to-content:focus {
  top: 0;
  outline: none;
}

/* ============================================
   ACCESSIBILITY: Focus Visible
   ============================================ */

*:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 3px;
}

/* ============================================
   COUNTDOWN TIMER
   ============================================ */

.countdown-section {
  padding: 0 2rem;
  margin-top: -1rem;
  margin-bottom: 3rem;
}

.countdown-wrapper {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 1.75rem 2.5rem;
  background: rgba(10, 15, 26, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 0 0 0.5px rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.countdown-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(168, 85, 247, 0.3), rgba(56, 189, 248, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: borderGlow 4s ease-in-out infinite alternate;
}

@keyframes borderGlow {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

.countdown-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-primary);
  font-weight: 700;
  font-family: var(--font-heading);
  white-space: nowrap;
}

.countdown-digits {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.countdown-number {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: var(--font-heading);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  min-width: 60px;
  text-align: center;
}

.countdown-text {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  font-weight: 600;
}

.countdown-separator {
  font-size: 1.8rem;
  color: rgba(148, 163, 184, 0.3);
  font-weight: 300;
  margin-top: -0.8rem;
}

.countdown-event-passed {
  display: none;
  text-align: center;
  padding: 1.25rem 2rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 16px;
  max-width: 520px;
  margin: 0 auto;
}

.countdown-event-passed h3 {
  color: var(--success-color);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.countdown-event-passed p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .countdown-wrapper {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
  }
  .countdown-number { font-size: 1.6rem; min-width: 45px; }
  .countdown-separator { font-size: 1.2rem; margin-top: -0.5rem; }
}

/* ============================================
   HERO PARTICLE CANVAS
   ============================================ */

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-section > *:not(.hero-particles) {
  position: relative;
  z-index: 1;
}

/* ============================================
   EVENT STATUS BADGE
   ============================================ */

.event-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: var(--font-heading);
  margin-bottom: 1rem;
}

.event-status .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.event-status.pre-event {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #f59e0b;
}

.event-status.pre-event .status-dot {
  background: #f59e0b;
  animation: pulse 2s ease-in-out infinite;
}

.event-status.live {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.event-status.live .status-dot {
  background: #ef4444;
  animation: pulse 1s ease-in-out infinite;
}

.event-status.completed {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
}

.event-status.completed .status-dot {
  background: #10b981;
}

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

/* ============================================
   STICKY LAB PROGRESS TRACKER
   ============================================ */

.lab-progress-sticky {
  position: sticky;
  top: 70px;
  z-index: 100;
  padding: 0.75rem 0;
  margin-bottom: 2rem;
  background: rgba(10, 15, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  transition: box-shadow 0.3s ease;
}

.lab-progress-sticky.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* ============================================
   ANIMATED GRADIENT BORDER (Featured Cards)
   ============================================ */

.gradient-border-card {
  position: relative;
  overflow: hidden;
}

.gradient-border-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-tertiary), var(--accent-secondary));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gradient-border-card:hover::before {
  opacity: 1;
}

/* ============================================
   READING TIME BADGE
   ============================================ */

.reading-time {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-top: 0.75rem;
}

.reading-time svg {
  width: 14px;
  height: 14px;
  stroke: var(--text-secondary);
}

/* ============================================
   QR CODE CONTAINER
   ============================================ */

.qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  background: white;
  border-radius: 16px;
  max-width: 200px;
  margin: 1.5rem auto 0;
}

.qr-container canvas {
  border-radius: 8px;
}

.qr-label {
  font-size: 0.7rem;
  color: #475569;
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  body {
    background: white !important;
    color: #1e293b !important;
    font-size: 12pt;
  }

  nav, footer, .hero-particles, .back-to-top,
  .copy-btn, .lab-progress, .particle-canvas,
  .skip-to-content, .countdown-section, .event-status,
  .mobile-menu-btn { display: none !important; }

  .hero-section {
    background: none !important;
    padding: 2rem !important;
    min-height: auto !important;
  }

  .hero-section * { color: #1e293b !important; }

  .lab-task, .tutorial-step, .code-block {
    break-inside: avoid;
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
  }

  .code-content {
    color: #1e293b !important;
    border: 1px solid #e2e8f0;
    background: #f1f5f9 !important;
  }

  a { color: #2563eb !important; }
  a::after { content: " (" attr(href) ") "; font-size: 0.8em; color: #64748b; }

  .slide { min-height: auto !important; page-break-after: always; }
}

/* ============================================
   INSTRUCTOR CARDS HOVER GLOW
   ============================================ */

.instructor-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.instructor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.2);
}

/* ============================================
   MODULE CARD FEATURED ANIMATION
   ============================================ */

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

.module-card.featured {
  position: relative;
}

.module-card.featured::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.4), transparent);
  background-size: 200% 100%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: shimmer 3s ease-in-out infinite;
}

/* ============================================
   BACK TO TOP BUTTON (Global)
   ============================================ */

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--accent-primary);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--accent-primary);
  color: white;
  border-color: var(--accent-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(56, 189, 248, 0.3);
}

/* ============================================
   READING TIME BADGE
   ============================================ */

.reading-time {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.5rem 1.25rem;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-cyan);
  letter-spacing: 0.5px;
}

.reading-time svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  flex-shrink: 0;
}

/* ============================================
   COPY BUTTON: COPIED STATE
   ============================================ */

.copy-btn.copied {
  background: rgba(34, 197, 94, 0.2) !important;
  color: #22c55e !important;
  border-color: rgba(34, 197, 94, 0.4) !important;
}

/* ============================================
   STAGGERED CARD ENTRANCE ANIMATIONS
   ============================================ */

.module-card.fade-on-scroll,
.feature-card.fade-on-scroll,
.instructor-card.fade-on-scroll,
.programme-item.fade-on-scroll,
.challenge-card.fade-on-scroll {
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  transition: opacity 0.6s cubic-bezier(.22,1,.36,1), transform 0.6s cubic-bezier(.22,1,.36,1);
}

.module-card.fade-on-scroll.visible,
.feature-card.fade-on-scroll.visible,
.instructor-card.fade-on-scroll.visible,
.programme-item.fade-on-scroll.visible,
.challenge-card.fade-on-scroll.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.module-card.fade-on-scroll:nth-child(1) { transition-delay: 0s; }
.module-card.fade-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.module-card.fade-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.module-card.fade-on-scroll:nth-child(4) { transition-delay: 0.3s; }

.feature-card.fade-on-scroll:nth-child(1) { transition-delay: 0.05s; }
.feature-card.fade-on-scroll:nth-child(2) { transition-delay: 0.15s; }
.feature-card.fade-on-scroll:nth-child(3) { transition-delay: 0.25s; }

.instructor-card.fade-on-scroll:nth-child(1) { transition-delay: 0s; }
.instructor-card.fade-on-scroll:nth-child(2) { transition-delay: 0.12s; }
.instructor-card.fade-on-scroll:nth-child(3) { transition-delay: 0.24s; }
.instructor-card.fade-on-scroll:nth-child(4) { transition-delay: 0.36s; }

.programme-item.fade-on-scroll:nth-child(1) { transition-delay: 0s; }
.programme-item.fade-on-scroll:nth-child(2) { transition-delay: 0.08s; }
.programme-item.fade-on-scroll:nth-child(3) { transition-delay: 0.16s; }
.programme-item.fade-on-scroll:nth-child(4) { transition-delay: 0.24s; }
.programme-item.fade-on-scroll:nth-child(5) { transition-delay: 0.32s; }

/* ============================================
   PRESENTATION: KEYBOARD SHORTCUT OVERLAY
   ============================================ */

.keyboard-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.keyboard-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.keyboard-overlay-content {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 20px;
  padding: 2.5rem 3rem;
  max-width: 520px;
  width: 90%;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.keyboard-overlay-content h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  text-align: center;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.shortcut-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.shortcut-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.shortcut-list li:last-child {
  border-bottom: none;
}

.shortcut-key {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.shortcut-key kbd {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 6px;
  font-family: 'JetBrains Mono', 'Consolas', monospace;
  font-size: 0.75rem;
  color: var(--accent-cyan);
  min-width: 24px;
  text-align: center;
}

.keyboard-overlay .dismiss-hint {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
  opacity: 0.6;
}

/* ============================================
   PRESENTATION: PRESENTER TIMER
   ============================================ */

.presenter-timer {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-family: 'JetBrains Mono', 'Consolas', monospace;
  font-size: 0.8rem;
  color: var(--text-secondary);
  z-index: 1000;
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
}

.presenter-timer:hover {
  border-color: rgba(56, 189, 248, 0.3);
  color: var(--accent-cyan);
}

.presenter-timer .timer-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: timerPulse 2s ease-in-out infinite;
}

.presenter-timer.overtime {
  border-color: rgba(239, 68, 68, 0.4);
  color: #ef4444;
}

.presenter-timer.overtime .timer-dot {
  background: #ef4444;
}

.presenter-timer.warning {
  border-color: rgba(245, 158, 11, 0.4);
  color: #f59e0b;
}

.presenter-timer.warning .timer-dot {
  background: #f59e0b;
}

@keyframes timerPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ============================================
   PRESENTATION: SLIDE OVERVIEW GRID
   ============================================ */

.slide-overview {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
  z-index: 10002;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.slide-overview.show {
  display: flex;
}

.slide-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  max-width: 900px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 1rem;
}

.slide-overview-grid::-webkit-scrollbar {
  width: 4px;
}

.slide-overview-grid::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.3);
  border-radius: 2px;
}

.slide-thumb {
  aspect-ratio: 16/10;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.slide-thumb:hover {
  border-color: var(--accent-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(56, 189, 248, 0.15);
}

.slide-thumb.active {
  border-color: var(--accent-primary);
  background: rgba(56, 189, 248, 0.08);
  box-shadow: 0 0 0 2px var(--accent-primary);
}

.slide-thumb-number {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.35rem;
}

.slide-thumb-title {
  font-size: 0.65rem;
  color: var(--text-secondary);
  line-height: 1.3;
  max-height: 2.6em;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slide-overview-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-color);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  z-index: 10003;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.slide-overview.show + .slide-overview-close,
.slide-overview.show ~ .slide-overview-close {
  display: flex;
}

.slide-overview-close:hover {
  background: rgba(239, 68, 68, 0.3);
  border-color: rgba(239, 68, 68, 0.5);
}

/* ============================================
   LAB: CHECKBOX PERSISTENCE STYLING
   ============================================ */

.prereq-checklist li.user-completed {
  opacity: 0.7;
  text-decoration: line-through;
  text-decoration-color: rgba(34, 197, 94, 0.5);
}

.prereq-checklist li.user-completed::before {
  color: #22c55e;
}

/* ============================================
   LAB: COPY ALL PROMPTS BUTTON
   ============================================ */

.copy-all-prompts {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 50px;
  color: var(--accent-tertiary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 1.5rem 0;
}

.copy-all-prompts:hover {
  background: rgba(168, 85, 247, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.15);
}

.copy-all-prompts.copied {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.4);
  color: #22c55e;
}

/* ============================================
   CONFETTI CELEBRATION
   ============================================ */

.confetti-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  width: 10px;
  height: 10px;
  top: -10px;
  border-radius: 2px;
  animation: confettiFall 3s ease-in forwards;
}

@keyframes confettiFall {
  0% {
    transform: translateY(0) rotateZ(0) rotateY(0);
    opacity: 1;
  }
  75% {
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotateZ(720deg) rotateY(360deg);
    opacity: 0;
  }
}

/* ============================================
   STAT COUNTER ANIMATION
   ============================================ */

.stat-number {
  transition: transform 0.3s ease;
}

.stat-number.animated {
  animation: statPop 0.6s cubic-bezier(.22,1,.36,1);
}

@keyframes statPop {
  0% { transform: scale(0.5); opacity: 0; }
  60% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

/* ============================================
   CHALLENGE CARD HOVER ENHANCEMENT
   ============================================ */

.challenge-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.challenge-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.3);
}

.challenge-card:hover .icon {
  transform: scale(1.15);
  transition: transform 0.3s ease;
}

