/* ============================================
   PKK 2026 Workshop - Design System
   "Dari Ide Menjadi Bisnis Teknologi"
   Dark Premium Theme with Glassmorphism
   ============================================ */

/* === Google Fonts === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* === CSS Variables === */
:root {
  /* Colors */
  --bg-primary: #0a0a1a;
  --bg-secondary: #0f0f2a;
  --bg-tertiary: #1a1a3e;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --bg-glass: rgba(255, 255, 255, 0.06);
  --border-glass: rgba(255, 255, 255, 0.1);
  --border-glass-hover: rgba(255, 255, 255, 0.2);

  --text-primary: #f0f0ff;
  --text-secondary: #a0a0c0;
  --text-muted: #6a6a8a;
  --text-accent: #818cf8;

  --primary: #6366f1;
  --primary-light: #818cf8;
  --primary-dark: #4f46e5;
  --accent: #06b6d4;
  --accent-light: #22d3ee;
  --success: #10b981;
  --success-light: #34d399;
  --warning: #f59e0b;
  --warning-light: #fbbf24;
  --danger: #ef4444;
  --pink: #ec4899;
  --purple: #a855f7;
  --orange: #f97316;

  --gradient-primary: linear-gradient(135deg, #6366f1, #06b6d4);
  --gradient-warm: linear-gradient(135deg, #f97316, #ec4899);
  --gradient-cool: linear-gradient(135deg, #06b6d4, #10b981);
  --gradient-purple: linear-gradient(135deg, #a855f7, #6366f1);
  --gradient-hero: linear-gradient(135deg, #0a0a1a 0%, #1a1040 30%, #0a2a3a 70%, #0a0a1a 100%);

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Sizing */
  --sidebar-width: 280px;
  --content-max-width: 900px;
  --border-radius: 12px;
  --border-radius-lg: 20px;
  --border-radius-xl: 28px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.15);
  --shadow-glow-accent: 0 0 30px rgba(6, 182, 212, 0.15);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

h1 { font-size: 2.8rem; font-weight: 800; }
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }

p {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--accent-light);
}

strong {
  color: var(--text-primary);
  font-weight: 600;
}

blockquote {
  border-left: 3px solid var(--primary);
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-lg) 0;
  background: var(--bg-card);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  color: var(--text-secondary);
  font-style: italic;
}

blockquote strong {
  color: var(--primary-light);
}

/* === Layout === */
.page-wrapper {
  display: flex;
  min-height: 100vh;
}

/* === Sidebar Navigation === */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-glass);
  padding: var(--space-lg) 0;
  overflow-y: auto;
  z-index: 100;
  transition: transform var(--transition-normal);
}

.sidebar-header {
  padding: 0 var(--space-lg) var(--space-lg);
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: var(--space-md);
}

.sidebar-logo {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.sidebar-subtitle {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.sidebar-nav {
  list-style: none;
  padding: 0 var(--space-sm);
}

.sidebar-nav li {
  margin-bottom: 2px;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  text-decoration: none;
  position: relative;
}

.sidebar-nav a:hover {
  background: var(--bg-card);
  color: var(--text-secondary);
}

.sidebar-nav a.active {
  background: rgba(99, 102, 241, 0.12);
  color: var(--primary-light);
  font-weight: 600;
}

.sidebar-nav a.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background: var(--primary);
  border-radius: 0 3px 3px 0;
}

.nav-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--bg-tertiary);
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
  color: var(--text-muted);
}

.sidebar-nav a.active .nav-number {
  background: var(--primary);
  color: white;
}

.nav-bmc-link {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-glass);
}

.nav-bmc-link a {
  background: var(--gradient-primary) !important;
  color: white !important;
  font-weight: 600 !important;
  padding: 10px 16px !important;
  text-align: center;
  justify-content: center;
}

.nav-bmc-link a:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 200;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-size: 1.3rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

/* === Main Content === */
.main-content {
  margin-left: var(--sidebar-width);
  flex: 1;
  min-height: 100vh;
}

/* === Hero Section === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(6, 182, 212, 0.06) 0%, transparent 50%);
  animation: heroGlow 15s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(2%, 2%) rotate(3deg); }
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  backdrop-filter: blur(10px);
}

.hero-badge .emoji {
  font-size: 1rem;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.03em;
}

.hero h1 .gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: var(--space-2xl);
  justify-content: center;
  margin-top: var(--space-3xl);
}

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

.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Floating shapes in hero */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.03;
  animation: float 20s ease-in-out infinite;
}
.hero-shape-1 { width: 400px; height: 400px; background: var(--primary); top: -10%; right: -10%; animation-delay: 0s; }
.hero-shape-2 { width: 300px; height: 300px; background: var(--accent); bottom: -5%; left: -5%; animation-delay: -7s; }
.hero-shape-3 { width: 200px; height: 200px; background: var(--purple); top: 30%; right: 20%; animation-delay: -14s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 12px 28px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
  color: white;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
}
.btn-outline:hover {
  background: var(--bg-card);
  border-color: var(--border-glass-hover);
  color: var(--text-primary);
}

.btn-success {
  background: var(--gradient-cool);
  color: white;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}
.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
  color: white;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.82rem;
  border-radius: 8px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: 14px;
}

/* === Module Sections === */
.module-section {
  padding: var(--space-3xl) var(--space-xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  position: relative;
}

.module-section:nth-child(even) {
  background: var(--bg-secondary);
}

.module-inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.module-header {
  margin-bottom: var(--space-2xl);
}

.module-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-sharing { background: rgba(99, 102, 241, 0.12); color: var(--primary-light); }
.badge-praktik { background: rgba(16, 185, 129, 0.12); color: var(--success-light); }
.badge-kelompok { background: rgba(245, 158, 11, 0.12); color: var(--warning-light); }
.badge-roleplay { background: rgba(236, 72, 153, 0.12); color: var(--pink); }
.badge-challenge { background: rgba(249, 115, 22, 0.12); color: var(--orange); }
.badge-pitching { background: rgba(168, 85, 247, 0.12); color: var(--purple); }

.module-duration {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: var(--space-sm);
}

.module-duration svg {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}

.module-title {
  font-size: 1.8rem;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.module-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
}

/* === Cards === */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius);
  padding: var(--space-xl);
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glass-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

.card-icon-primary { background: rgba(99, 102, 241, 0.12); }
.card-icon-accent { background: rgba(6, 182, 212, 0.12); }
.card-icon-success { background: rgba(16, 185, 129, 0.12); }
.card-icon-warning { background: rgba(245, 158, 11, 0.12); }
.card-icon-pink { background: rgba(236, 72, 153, 0.12); }
.card-icon-purple { background: rgba(168, 85, 247, 0.12); }

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Feature card - larger */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

/* === Tabs === */
.tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.tab-btn {
  flex: 1;
  min-width: 120px;
  padding: 10px 16px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
}

.tab-btn.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.tab-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-content.active {
  display: block;
}

.tab-content.active .reveal,
.tab-content.active .reveal-left,
.tab-content.active .reveal-scale {
  opacity: 1 !important;
  transform: none !important;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === Timeline === */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--accent), var(--success));
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-xl);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -29px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--bg-primary);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
}

.timeline-item:nth-child(2)::before { background: var(--accent); box-shadow: 0 0 10px rgba(6, 182, 212, 0.4); }
.timeline-item:nth-child(3)::before { background: var(--success); box-shadow: 0 0 10px rgba(16, 185, 129, 0.4); }
.timeline-item:nth-child(4)::before { background: var(--warning); box-shadow: 0 0 10px rgba(245, 158, 11, 0.4); }
.timeline-item:nth-child(5)::before { background: var(--pink); box-shadow: 0 0 10px rgba(236, 72, 153, 0.4); }

.timeline-label {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  font-size: 1rem;
}

.timeline-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* === Flow / Arrow Steps === */
.flow-steps {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
  margin: var(--space-lg) 0;
}

.flow-step {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-normal);
}

.flow-step:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--primary);
  color: var(--primary-light);
}

.flow-arrow {
  color: var(--text-muted);
  font-size: 1.2rem;
}

/* === Tables === */
.table-wrapper {
  overflow-x: auto;
  margin: var(--space-lg) 0;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-glass);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

thead {
  background: var(--bg-tertiary);
}

th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

td {
  padding: 12px 16px;
  border-top: 1px solid var(--border-glass);
  color: var(--text-secondary);
}

tr:hover td {
  background: var(--bg-card);
}

/* Comparison table */
.comparison-table td:first-child {
  font-weight: 600;
  color: var(--text-primary);
}

.comparison-table .col-bad {
  color: var(--danger);
}

.comparison-table .col-good {
  color: var(--success-light);
}

/* === Interactive Form === */
.interactive-form {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
  margin: var(--space-xl) 0;
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  font-size: 0.95rem;
}

.form-label .prefix {
  color: var(--primary-light);
  font-style: italic;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.form-textarea {
  min-height: 80px;
  resize: vertical;
}

.form-input::placeholder, .form-textarea::placeholder {
  color: var(--text-muted);
}

/* Rating inputs */
.rating-table {
  width: 100%;
}

.rating-table input[type="number"] {
  width: 60px;
  padding: 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  text-align: center;
  outline: none;
}

.rating-table input[type="number"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.score-total {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-light);
  font-family: var(--font-heading);
}

/* === Info Boxes === */
.info-box {
  padding: var(--space-lg);
  border-radius: var(--border-radius);
  margin: var(--space-lg) 0;
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.info-box-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-box-tip {
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.15);
}

.info-box-important {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.15);
}

.info-box-key {
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.15);
}

.info-box-success {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.15);
}

/* === Do / Don't boxes === */
.do-dont-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin: var(--space-lg) 0;
}

.do-box, .dont-box {
  padding: var(--space-lg);
  border-radius: var(--border-radius);
}

.dont-box {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.15);
}

.do-box {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.do-box-label, .dont-box-label {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.dont-box-label { color: var(--danger); }
.do-box-label { color: var(--success-light); }

/* === Counter Animation === */
.counter-flow {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin: var(--space-xl) 0;
}

.counter-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: transform var(--transition-normal);
}

.counter-num:hover {
  transform: scale(1.15);
}

.counter-arrow {
  font-size: 1.5rem;
  color: var(--text-muted);
}

/* === Scenario Cards (Role Play) === */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
}

.scenario-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius);
  padding: var(--space-lg);
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.scenario-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.scenario-card:nth-child(1)::before { background: var(--primary); }
.scenario-card:nth-child(2)::before { background: var(--accent); }
.scenario-card:nth-child(3)::before { background: var(--success); }
.scenario-card:nth-child(4)::before { background: var(--warning); }
.scenario-card:nth-child(5)::before { background: var(--pink); }

.scenario-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glass-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.scenario-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}

.badge-hw { background: rgba(168, 85, 247, 0.15); color: var(--purple); }
.badge-web { background: rgba(6, 182, 212, 0.15); color: var(--accent-light); }

/* === Pitch Structure === */
.pitch-step {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
  align-items: flex-start;
}

.pitch-number {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: white;
  flex-shrink: 0;
}

.pitch-content {
  flex: 1;
}

.pitch-label {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.pitch-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-style: italic;
  padding: 8px 14px;
  background: var(--bg-card);
  border-radius: 8px;
  border-left: 2px solid var(--primary);
}

/* === Week/Challenge Timeline === */
.week-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-lg);
}

.week-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius);
  padding: var(--space-lg);
  text-align: center;
  transition: all var(--transition-normal);
}

.week-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.week-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: var(--space-xs);
}

.week-card:nth-child(1) .week-number { color: var(--primary-light); }
.week-card:nth-child(2) .week-number { color: var(--accent-light); }
.week-card:nth-child(3) .week-number { color: var(--success-light); }
.week-card:nth-child(4) .week-number { color: var(--warning-light); }

.week-title {
  font-weight: 700;
  margin-bottom: var(--space-sm);
  font-size: 1rem;
}

.week-tasks {
  list-style: none;
  text-align: left;
}

.week-tasks li {
  padding: 4px 0;
  color: var(--text-secondary);
  font-size: 0.85rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.week-tasks li::before {
  content: '→';
  color: var(--text-muted);
  flex-shrink: 0;
}

/* === Rundown Table === */
.rundown-table th {
  background: var(--primary-dark);
  color: white;
}

.rundown-table td:first-child {
  font-weight: 600;
  color: var(--primary-light);
  white-space: nowrap;
}

.rundown-table td:last-child {
  font-size: 0.8rem;
  padding: 8px 12px;
}

.rundown-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
}

/* === Output Checklist === */
.output-list {
  list-style: none;
  counter-reset: output-counter;
}

.output-item {
  counter-increment: output-counter;
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--border-glass);
}

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

.output-number {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

/* === List Styles === */
.styled-list {
  list-style: none;
  padding: 0;
}

.styled-list li {
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.styled-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.styled-list.accent li::before { background: var(--accent); }
.styled-list.success li::before { background: var(--success); }

/* === Networking Diagram === */
.network-center {
  text-align: center;
  margin: var(--space-xl) 0;
}

.network-formula {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin: var(--space-xl) 0;
}

.network-step {
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: all var(--transition-normal);
}

.network-step:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--primary);
  transform: scale(1.05);
}

.network-arrow {
  color: var(--primary-light);
  font-size: 1.3rem;
}

/* === Scroll Reveal Animation === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  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; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Slide from left */
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Scale up */
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* === Footer === */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
  padding: var(--space-3xl) var(--space-xl);
  text-align: center;
}

.footer-quote {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  max-width: 700px;
  margin: 0 auto var(--space-xl);
  line-height: 1.6;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-sub {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ============================================
   BMC GENERATOR PAGE STYLES
   ============================================ */

.bmc-page {
  min-height: 100vh;
  background: var(--bg-primary);
  padding: var(--space-xl);
}

.bmc-page-header {
  text-align: center;
  padding: var(--space-xl) 0 var(--space-2xl);
}

.bmc-page-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: var(--space-sm);
}

.bmc-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
  padding: var(--space-md);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius);
}

/* BMC Canvas Grid */
.bmc-container {
  max-width: 1300px;
  margin: 0 auto;
}

.bmc-canvas {
  background: var(--bg-secondary);
  border: 2px solid var(--border-glass);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.bmc-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  border-bottom: 2px solid var(--border-glass);
  background: var(--bg-tertiary);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.bmc-title-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.bmc-header-fields {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.bmc-field-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bmc-field-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bmc-field-input {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: 6px;
  padding: 6px 10px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.82rem;
  width: 150px;
  outline: none;
}

.bmc-field-input:focus {
  border-color: var(--primary);
}

/* BMC Grid Layout - matching the uploaded image exactly */
.bmc-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr 1fr 1fr 2fr;
  grid-template-rows: 1fr 1fr 1fr;
  min-height: 500px;
}

.bmc-block {
  border: 1px solid var(--border-glass);
  padding: var(--space-md);
  position: relative;
  display: flex;
  flex-direction: column;
}

.bmc-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
  flex-shrink: 0;
}

.bmc-block-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.bmc-block-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  opacity: 0.5;
}

.bmc-block-textarea {
  width: 100%;
  flex: 1;
  min-height: 80px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.6;
  resize: none;
  outline: none;
}

.bmc-block-textarea::placeholder {
  color: var(--text-muted);
  font-style: italic;
}

.bmc-block-textarea:focus {
  color: var(--text-primary);
}

/* Help tooltip button */
.bmc-help-btn {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 5;
}

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

/* BMC Grid positions */
.bmc-kp { grid-column: 1 / 2; grid-row: 1 / 4; }
.bmc-ka { grid-column: 2 / 4; grid-row: 1 / 3; }
.bmc-kr { grid-column: 2 / 4; grid-row: 3 / 4; }
.bmc-vp { grid-column: 4 / 5; grid-row: 1 / 4; }
.bmc-crel { grid-column: 5 / 7; grid-row: 1 / 3; }
.bmc-ch { grid-column: 5 / 7; grid-row: 3 / 4; }
.bmc-cs { grid-column: 7 / 8; grid-row: 1 / 4; }

.bmc-bottom-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 150px;
}

.bmc-cost { border: 1px solid var(--border-glass); }
.bmc-rev { border: 1px solid var(--border-glass); }

/* BMC Tooltip Popup */
.bmc-tooltip-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  overflow-y: auto;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
  z-index: 1000;
  box-shadow: var(--shadow-lg);
}

.bmc-tooltip-popup.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.bmc-tooltip-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
  backdrop-filter: blur(4px);
}

.bmc-tooltip-overlay.active {
  display: block;
}

.bmc-tooltip-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bmc-tooltip-close:hover {
  background: var(--danger);
  color: white;
}

.bmc-tooltip-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.bmc-tooltip-section {
  margin-bottom: var(--space-lg);
}

.bmc-tooltip-section h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: var(--space-sm);
}

.bmc-tooltip-section p,
.bmc-tooltip-section li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.bmc-tooltip-section ul {
  padding-left: 20px;
}

.bmc-tooltip-section li {
  margin-bottom: 4px;
}

/* Example buttons */
.bmc-example-buttons {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: var(--space-lg);
}

/* === Sidebar Info Panel (for BMC page) === */
.bmc-layout {
  display: flex;
  gap: var(--space-xl);
}

.bmc-main {
  flex: 1;
  min-width: 0;
}

.bmc-info-panel {
  width: 320px;
  flex-shrink: 0;
  position: sticky;
  top: 20px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

.bmc-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
}

.bmc-info-card h4 {
  font-size: 0.95rem;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.bmc-info-card p, .bmc-info-card li {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* === Print Styles === */
@media print {
  body { background: white; color: #333; }
  .sidebar, .menu-toggle, .bmc-toolbar, .bmc-help-btn, .bmc-info-panel { display: none !important; }
  .main-content { margin-left: 0; }
  .bmc-canvas { border-color: #ccc; }
  .bmc-block { border-color: #ddd; }
  .bmc-block-textarea { color: #333; }
  .bmc-header-row { background: #f5f5f5; }
  .bmc-block-title { color: #333; }
}

/* === Responsive === */
@media (max-width: 1200px) {
  .bmc-layout {
    flex-direction: column;
  }
  .bmc-info-panel {
    width: 100%;
    position: static;
    max-height: none;
  }
}

@media (max-width: 1024px) {
  .sidebar {
    transform: translateX(-100%);
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .menu-toggle {
    display: flex;
  }
  .main-content {
    margin-left: 0;
  }
  h1 { font-size: 2.2rem; }
  .hero h1 { font-size: 2.4rem; }
  .bmc-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .bmc-kp { grid-column: 1 / 2; grid-row: auto; }
  .bmc-ka { grid-column: 2 / 3; grid-row: auto; }
  .bmc-vp { grid-column: 1 / 3; grid-row: auto; }
  .bmc-crel { grid-column: 1 / 2; grid-row: auto; }
  .bmc-ch { grid-column: 2 / 3; grid-row: auto; }
  .bmc-cs { grid-column: 1 / 3; grid-row: auto; }
  .bmc-kr { grid-column: 1 / 3; grid-row: auto; }
  .bmc-bottom-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-stats { gap: var(--space-lg); }
  .module-section { padding: var(--space-2xl) var(--space-md); }
  .module-title { font-size: 1.4rem; }
  .card-grid { grid-template-columns: 1fr; }
  .do-dont-grid { grid-template-columns: 1fr; }
  .week-grid { grid-template-columns: 1fr 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .tabs { flex-direction: column; }
  .tab-btn { min-width: auto; }
  .flow-steps { justify-content: flex-start; }
  .counter-flow { gap: var(--space-sm); }
  .counter-num { font-size: 1.8rem; }
  .bmc-header-row { flex-direction: column; align-items: flex-start; }
  .bmc-header-fields { flex-direction: column; }
  .bmc-field-input { width: 100%; }
}

@media (max-width: 480px) {
  html { font-size: 14px; }
  .hero h1 { font-size: 1.5rem; }
  .hero-stat-value { font-size: 1.5rem; }
  .week-grid { grid-template-columns: 1fr; }
  .scenario-grid { grid-template-columns: 1fr; }
  .pitch-step { flex-direction: column; gap: var(--space-sm); }
}

/* === Pulse animation for interactive elements === */
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(99, 102, 241, 0); }
}

.pulse-animation {
  animation: pulse 2s ease-in-out infinite;
}

/* === Gradient border animation === */
@keyframes gradientBorder {
  0% { border-color: var(--primary); }
  33% { border-color: var(--accent); }
  66% { border-color: var(--success); }
  100% { border-color: var(--primary); }
}

/* === Studi Kasus icons === */
.studi-kasus-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

/* === Model Bisnis table inside studi kasus === */
.model-bisnis-table th {
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary-light);
  width: 160px;
}

/* === Back to main link on BMC page === */
.bmc-back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: var(--space-lg);
  transition: color var(--transition-fast);
}

.bmc-back-link:hover {
  color: var(--primary-light);
}

/* === Sidebar overlay for mobile === */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
  backdrop-filter: blur(2px);
}

.sidebar-overlay.active {
  display: block;
}

/* === Progress bar === */
.progress-bar-container {
  position: fixed;
  top: 0;
  left: var(--sidebar-width);
  right: 0;
  height: 3px;
  z-index: 50;
  background: var(--bg-secondary);
}

.progress-bar {
  height: 100%;
  background: var(--gradient-primary);
  width: 0%;
  transition: width 0.2s ease;
}

@media (max-width: 1024px) {
  .progress-bar-container {
    left: 0;
  }
}

/* ============================================
   NEW EDUCATIONAL COMPONENTS & INTERACTIVE UI
   ============================================ */

/* === Student Progress Tracker in Sidebar === */
.sidebar-progress-box {
  padding: 12px 16px;
  margin: 0 var(--space-sm) var(--space-md);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius);
}

.sidebar-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.sidebar-progress-bar-bg {
  width: 100%;
  height: 6px;
  background: var(--bg-tertiary);
  border-radius: 3px;
  overflow: hidden;
}

.sidebar-progress-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--gradient-primary);
  border-radius: 3px;
  transition: width 0.4s ease;
}

/* === Floating / Sidebar Glossary & Worksheet Action Buttons === */
.sidebar-action-btns {
  padding: 0 var(--space-sm);
  margin-bottom: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.sidebar-action-btn {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border-glass);
  background: var(--bg-glass);
  color: var(--text-primary);
  transition: all var(--transition-fast);
  width: 100%;
  text-align: left;
}

.sidebar-action-btn:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--primary-light);
  color: white;
  transform: translateY(-1px);
}

.sidebar-action-btn.btn-worksheet {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--success);
  color: var(--success-light);
}

.sidebar-action-btn.btn-worksheet:hover {
  background: rgba(16, 185, 129, 0.25);
  color: white;
}

/* === Interactive Term Tooltip / Glosarium Badge === */
.term-tooltip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--accent-light);
  border-bottom: 1.5px dashed var(--accent);
  cursor: help;
  font-weight: 600;
  padding: 0 3px;
  border-radius: 3px;
  transition: all var(--transition-fast);
  position: relative;
}

.term-tooltip:hover {
  background: rgba(6, 182, 212, 0.15);
  color: white;
}

.term-tooltip::after {
  content: '❓';
  font-size: 0.7rem;
  opacity: 0.8;
}

/* === TL;DR / 30-Second Module Summary Card === */
.tldr-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(6, 182, 212, 0.08) 100%);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--border-radius);
  padding: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-xl);
}

.tldr-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-light);
  margin-bottom: var(--space-xs);
}

.tldr-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding-left: 0;
}

.tldr-list li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
}

/* === Interactive Quiz / Self-Check Component === */
.quiz-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  margin: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
}

.quiz-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
}

.quiz-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary-light);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.quiz-question {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 14px 18px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.quiz-option:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary-light);
  color: var(--text-primary);
  transform: translateX(4px);
}

.quiz-option-key {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.quiz-option.selected {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.15);
  color: white;
}

.quiz-option.correct {
  border-color: var(--success);
  background: rgba(16, 185, 129, 0.15);
  color: var(--success-light);
}

.quiz-option.correct .quiz-option-key {
  background: var(--success);
  color: white;
  border-color: var(--success);
}

.quiz-option.incorrect {
  border-color: var(--danger);
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
}

.quiz-option.incorrect .quiz-option-key {
  background: var(--danger);
  color: white;
  border-color: var(--danger);
}

.quiz-feedback {
  display: none;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: var(--space-md);
}

.quiz-feedback.show {
  display: block;
  animation: fadeIn 0.3s ease;
}

.quiz-feedback.feedback-correct {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #a7f3d0;
}

.quiz-feedback.feedback-incorrect {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fecaca;
}

/* === Prev / Next Module Navigation Buttons === */
.module-nav-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-3xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-glass);
}

.btn-mod-nav {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 20px;
  border-radius: var(--border-radius);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-mod-nav:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--primary-light);
  color: white;
}

.btn-mod-nav.disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* === Modal Windows (Glossary & Student Worksheet) === */
.custom-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 10, 26, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.custom-modal-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  padding: var(--space-lg);
}

.custom-modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass-hover);
  border-radius: var(--border-radius-lg);
  width: 100%;
  max-width: 800px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  position: relative;
  overflow: hidden;
  animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.custom-modal-header {
  padding: var(--space-lg) var(--space-xl);
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.custom-modal-title {
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.custom-modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.custom-modal-close:hover {
  background: var(--bg-card);
  color: white;
}

.custom-modal-body {
  padding: var(--space-xl);
  overflow-y: auto;
  flex: 1;
}

.custom-modal-footer {
  padding: var(--space-md) var(--space-xl);
  border-top: 1px solid var(--border-glass);
  display: flex;
  justify-content: flex-end;
  gap: var(--space-md);
  background: var(--bg-tertiary);
}

/* Glossary Search & Grid */
.glossary-search-input {
  width: 100%;
  padding: 12px 18px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius);
  color: var(--text-primary);
  font-size: 0.95rem;
  margin-bottom: var(--space-lg);
}

.glossary-search-input:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.glossary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-lg);
}

.glossary-item-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius);
  padding: var(--space-lg);
  transition: all var(--transition-fast);
}

.glossary-item-card:hover {
  border-color: var(--primary-light);
  background: var(--bg-card-hover);
}

.glossary-item-term {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 4px;
}

.glossary-item-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.glossary-item-example {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--border-glass);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Worksheet Printable Summary */
.worksheet-section {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-glass);
}

.worksheet-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: 8px;
}

.worksheet-field-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: var(--space-xs);
  font-size: 0.9rem;
}

.worksheet-field-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.worksheet-field-value {
  color: var(--text-primary);
  font-weight: 500;
  margin-top: 2px;
}

.worksheet-field-value:empty::before {
  content: '(Belum diisi oleh siswa)';
  color: var(--text-muted);
  font-style: italic;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-tertiary);
  border: 1px solid var(--primary-light);
  color: white;
  padding: 12px 20px;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn 0.3s ease;
}

@keyframes toastIn {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============================================
   STUDENT IDENTITY WIDGET & DATABASE SYNC BADGE
   ============================================ */
.sidebar-student-box {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius);
  padding: 12px 14px;
  margin: var(--space-md) var(--space-md) var(--space-sm);
}

.sidebar-student-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.sync-badge {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  font-weight: 600;
}

.sidebar-student-input {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border-glass);
  border-radius: 6px;
  padding: 6px 10px;
  color: var(--text-primary);
  font-size: 0.78rem;
  transition: var(--transition-fast);
}

.sidebar-student-input:focus {
  border-color: var(--primary-light);
  outline: none;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

/* BMC Student Identity Banner */
.bmc-student-identity-bar {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius);
  padding: 14px 20px;
  margin: var(--space-md) auto var(--space-lg);
  max-width: 1300px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================
   TEACHER DASHBOARD PAGE STYLES
   ============================================ */
.dashboard-body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  min-height: 100vh;
  padding: 0;
  margin: 0;
}

.dashboard-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-lg);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: var(--space-xl);
}

.dashboard-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dashboard-logo-icon {
  font-size: 2.4rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dashboard-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0;
  color: var(--text-primary);
}

.dashboard-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.dashboard-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Stats Row */
.dashboard-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.dash-stat-card {
  background: var(--bg-glass-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition-normal);
}

.dash-stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.dash-stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.dash-stat-value {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
}

.dash-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Dashboard Controls */
.dashboard-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: var(--space-lg);
}

.dash-search-box {
  position: relative;
  flex: 1;
  min-width: 280px;
}

.dash-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.dash-search-box .form-input {
  padding-left: 40px;
  width: 100%;
}

.dash-filter-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
}

.dash-table th {
  background: var(--bg-tertiary);
  padding: 14px 16px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.dash-table td {
  padding: 14px 16px;
  border-top: 1px solid var(--border-glass);
  vertical-align: middle;
}

.dash-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* Read-Only BMC View */
.bmc-read-field {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 4px 8px;
  background: var(--bg-tertiary);
  border-radius: 4px;
}

.bmc-block-read-content {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-primary);
  padding: 10px;
  min-height: 100px;
  white-space: pre-wrap;
  word-break: break-word;
}

/* ============================================
   ABOUT PENGAJAR SECTION STYLES
   ============================================ */
.instructor-profile-card {
  display: flex;
  gap: var(--space-xl);
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.instructor-profile-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
}

.instructor-avatar-wrapper {
  position: relative;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.instructor-img {
  width: 160px;
  height: 160px;
  border-radius: 24px;
  object-fit: cover;
  border: 3px solid var(--primary-light);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.instructor-img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.5);
}

.instructor-badge {
  margin-top: -14px;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.instructor-bio {
  flex: 1;
}

.instructor-name {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
}

.instructor-nickname {
  color: var(--accent-light);
  font-weight: 600;
}

.instructor-role {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: var(--space-md);
}

.instructor-summary {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  font-weight: 500;
}

.instructor-detail {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.instructor-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.instructor-tag {
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(129, 140, 248, 0.25);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  transition: all var(--transition-fast);
}

.instructor-tag:hover {
  background: rgba(6, 182, 212, 0.2);
  border-color: var(--accent-light);
  color: #fff;
}

.instructor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
}

.instructor-skill-item {
  margin-bottom: var(--space-md);
}

.instructor-skill-item .skill-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.instructor-skill-item .skill-bar-bg {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.instructor-skill-item .skill-bar-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 4px;
  transition: width 1s ease-in-out;
}

.instructor-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.instructor-timeline li {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  font-size: 0.92rem;
  line-height: 1.5;
}

.instructor-timeline .timeline-year {
  background: var(--gradient-purple);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 2px 10px;
  border-radius: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}

.project-card-hover {
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.project-card-hover:hover {
  transform: translateY(-4px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-glow);
}

@media (max-width: 768px) {
  .instructor-profile-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .instructor-bio {
    text-align: center;
  }
  .instructor-highlights {
    justify-content: center;
  }
}

/* ============================================
   RESPONSIVE DESIGN & MOBILE OPTIMIZATION
   ============================================ */

/* --- Screen <= 1024px (Laptops & Tablets) --- */
@media (max-width: 1024px) {
  .menu-toggle {
    display: flex !important;
  }

  .sidebar {
    transform: translateX(-100%);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 95;
  }

  .sidebar-overlay.active {
    display: block;
  }

  .main-content {
    margin-left: 0 !important;
    width: 100%;
  }

  .hero {
    padding: var(--space-3xl) var(--space-lg);
    min-height: auto;
    padding-top: 80px;
  }

  .hero h1 {
    font-size: 2.3rem !important;
  }

  /* BMC Canvas Grid on Tablet */
  .bmc-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: auto !important;
    gap: 12px !important;
  }

  .bmc-bottom-row {
    grid-template-columns: 1fr !important;
  }
}

/* --- Screen <= 768px (Mobile Phones) --- */
@media (max-width: 768px) {
  /* Layout & Containers */
  .module-section {
    padding: var(--space-xl) var(--space-md) !important;
  }

  .hero h1 {
    font-size: 1.85rem !important;
    line-height: 1.25 !important;
  }

  .hero-subtitle {
    font-size: 0.92rem !important;
  }

  .hero-buttons {
    flex-direction: column !important;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .hero-stat-value {
    font-size: 1.4rem !important;
  }

  .card-grid {
    grid-template-columns: 1fr !important;
  }

  .week-grid {
    grid-template-columns: 1fr !important;
  }

  /* Interactive Forms on Mobile */
  .interactive-form {
    padding: var(--space-md) !important;
  }

  .form-group label {
    font-size: 0.85rem !important;
  }

  .form-input, .form-textarea, .form-select {
    font-size: 0.9rem !important;
    padding: 10px 12px !important;
    min-height: 44px;
  }

  /* Student Identity Widget */
  .sidebar-student-box {
    margin: 8px !important;
    padding: 10px !important;
  }

  .bmc-student-identity-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    padding: 12px 14px !important;
  }

  .bmc-student-identity-bar input {
    width: 100% !important;
  }

  /* BMC Generator Page */
  .bmc-page {
    padding: 12px !important;
  }

  .bmc-page-title {
    font-size: 1.5rem !important;
  }

  .bmc-toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }

  .bmc-toolbar .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .bmc-header-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  .bmc-header-fields {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .bmc-field-input {
    width: 100% !important;
  }

  /* BMC 9 Blocks Grid on Mobile */
  .bmc-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .bmc-block {
    min-height: 140px !important;
    padding: 12px !important;
    border-radius: 8px;
    background: var(--bg-tertiary) !important;
  }

  .bmc-block-textarea {
    min-height: 90px !important;
    font-size: 0.88rem !important;
  }

  /* Dashboard Guru Mobile */
  .dashboard-wrapper {
    padding: 14px 10px !important;
  }

  .dashboard-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  .dashboard-title {
    font-size: 1.35rem !important;
  }

  .dashboard-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .dashboard-actions .btn {
    width: 100%;
    justify-content: center;
    font-size: 0.78rem !important;
    padding: 8px 10px !important;
  }

  .dashboard-stats-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  .dash-stat-card {
    padding: 12px !important;
    gap: 10px !important;
  }

  .dash-stat-icon {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.2rem !important;
  }

  .dash-stat-value {
    font-size: 1.3rem !important;
  }

  .dashboard-controls {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .dash-search-box, .dash-filter-box {
    width: 100% !important;
  }

  .dash-filter-box select {
    width: 100% !important;
  }

  .dashboard-table-container {
    border-radius: 10px;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .dash-table {
    min-width: 650px;
  }

  /* Modals on Mobile */
  .custom-modal {
    width: 96% !important;
    max-height: 90vh !important;
    margin: 10px auto !important;
    border-radius: 14px !important;
  }

  .custom-modal-header {
    padding: 14px 16px !important;
  }

  .custom-modal-title {
    font-size: 1rem !important;
  }

  .custom-modal-body {
    padding: 14px 16px !important;
  }

  .custom-modal-footer {
    padding: 12px 14px !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .custom-modal-footer .btn {
    flex: 1;
    min-width: 120px;
    justify-content: center;
  }

  .output-list {
    grid-template-columns: 1fr !important;
  }

  .quiz-options {
    grid-template-columns: 1fr !important;
  }

  .module-nav-footer {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .module-nav-footer .btn-mod-nav {
    width: 100% !important;
    text-align: center;
  }
}

/* --- Screen <= 480px (Small Mobile) --- */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem !important;
  }

  .dashboard-stats-grid {
    grid-template-columns: 1fr !important;
  }

  .dashboard-actions {
    grid-template-columns: 1fr !important;
  }

  .bmc-header-fields {
    grid-template-columns: 1fr !important;
  }
}

