/* ==========================================================================
   CẨM NANG AN TOÀN THÔNG TIN & BẢO MẬT WINDOWS 11 - SLIDE PRESENTATION STYLES
   Designed for Entry-level Students with High Visual Legibility
   ========================================================================== */

:root {
  --bg-gradient: radial-gradient(circle at 10% 20%, #0d1527 0%, #070a14 100%);
  --slide-bg: rgba(18, 26, 47, 0.85);
  --card-bg: rgba(28, 39, 68, 0.7);
  --card-border: rgba(99, 133, 212, 0.25);
  --text-primary: #f0f4fc;
  --text-secondary: #9db2db;
  --text-muted: #62779e;
  
  --accent-cyan: #00e5ff;
  --accent-blue: #3b82f6;
  --accent-green: #10b981;
  --accent-yellow: #f59e0b;
  --accent-red: #ef4444;
  --accent-purple: #8b5cf6;
  
  --shadow-glow: 0 0 25px rgba(0, 229, 255, 0.25);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  
  --font-main: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  --font-mono: 'Consolas', 'Courier New', monospace;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --nav-height: 64px;
}

/* Light Theme Variables */
[data-theme="light"] {
  --bg-gradient: radial-gradient(circle at 10% 20%, #e8f0fe 0%, #cfdefa 100%);
  --slide-bg: rgba(255, 255, 255, 0.95);
  --card-bg: rgba(243, 247, 254, 0.9);
  --card-border: rgba(59, 130, 246, 0.25);
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --shadow-glow: 0 0 25px rgba(59, 130, 246, 0.2);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-main);
  background: var(--bg-gradient);
  color: var(--text-primary);
  min-height: 100vh;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  user-select: none;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 229, 255, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* Background Cyber Grid Effect */
.cyber-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Top Progress Bar */
.progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 100;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue), var(--accent-purple));
  transition: width 0.3s ease;
  box-shadow: 0 0 10px var(--accent-cyan);
}

/* Header & Controls */
header.app-header {
  position: relative;
  z-index: 10;
  height: var(--nav-height);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(13, 21, 39, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}

.header-title-group h1 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-primary);
}

.header-title-group span {
  font-size: 0.78rem;
  color: var(--accent-cyan);
  font-weight: 500;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tool-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.tool-btn:hover {
  background: rgba(0, 229, 255, 0.18);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-1px);
}

.slide-counter {
  padding: 6px 14px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
}

/* Slide Jump Input Box */
.slide-jump-box {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(0, 229, 255, 0.35);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
}

.slide-jump-input {
  width: 46px;
  padding: 4px 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--accent-cyan);
  border-radius: 4px;
  color: var(--accent-cyan);
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
  font-family: var(--font-mono);
  outline: none;
  -moz-appearance: textfield;
  transition: all 0.2s ease;
}

.slide-jump-input::-webkit-outer-spin-button,
.slide-jump-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.slide-jump-input:focus {
  background: rgba(0, 229, 255, 0.2);
  box-shadow: 0 0 12px var(--accent-cyan);
  color: #fff;
}

.slide-jump-btn {
  background: rgba(0, 229, 255, 0.2);
  border: 1px solid var(--accent-cyan);
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.slide-jump-btn:hover {
  background: var(--accent-cyan);
  color: #050b17;
}

/* Main Presentation Deck Container */
main.deck-container {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px 80px 32px;
  overflow: hidden;
}

/* Slide Cards */
.slide {
  position: absolute;
  width: 94%;
  max-width: 1300px;
  height: calc(100vh - var(--nav-height) - 100px);
  max-height: 820px;
  background: var(--slide-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px 42px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.95) translateY(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
  z-index: 10;
}

/* Slide Typography & Layouts */
.slide-header {
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 16px;
}

.slide-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(0, 229, 255, 0.15);
  color: var(--accent-cyan);
  margin-bottom: 8px;
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.slide-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
}

.slide-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.slide-body {
  flex: 1;
  display: flex;
  gap: 28px;
  align-items: stretch;
}

/* Common Layout Grids */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
}

/* Visual Cards */
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
  box-shadow: 0 8px 24px rgba(0, 229, 255, 0.15);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-secondary);
  flex: 1;
}

.card-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  margin-top: 12px;
  width: fit-content;
}

.badge-danger { background: rgba(239, 68, 68, 0.2); color: #fca5a5; border: 1px solid var(--accent-red); }
.badge-warning { background: rgba(245, 158, 11, 0.2); color: #fde68a; border: 1px solid var(--accent-yellow); }
.badge-success { background: rgba(16, 185, 129, 0.2); color: #86efac; border: 1px solid var(--accent-green); }
.badge-cyan { background: rgba(0, 229, 255, 0.2); color: #a5f3fc; border: 1px solid var(--accent-cyan); }

/* Keyboard Badge */
kbd {
  display: inline-block;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: linear-gradient(180deg, #374151, #1f2937);
  border: 1px solid #4b5563;
  border-bottom: 3px solid #111827;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Hero Slide */
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding-right: 20px;
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.2;
  background: linear-gradient(135deg, #ffffff 40%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0;
}

.hero-tag {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: #050b17;
  font-weight: 800;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 1.05rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.4);
  transition: all 0.25s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(0, 229, 255, 0.6);
}

.hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-media img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glow);
  border: 1px solid rgba(0, 229, 255, 0.3);
}

/* Image Showcase in Slides */
.media-showcase {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-card);
  position: relative;
}

.media-showcase img {
  width: 100%;
  height: 100%;
  max-height: 380px;
  object-fit: contain;
  background: rgba(0,0,0,0.3);
  display: block;
}

.media-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(13, 21, 39, 0.9);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  font-size: 0.85rem;
  color: var(--accent-cyan);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Comparison Tables */
.compare-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  height: 100%;
}

.compare-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--card-border);
  display: flex;
  flex-direction: column;
}

.compare-card.danger {
  border-top: 4px solid var(--accent-red);
}

.compare-card.success {
  border-top: 4px solid var(--accent-green);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}

.compare-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.compare-list li strong {
  color: var(--text-primary);
}

/* Step by Step Tabs Simulator */
.tabs-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.tabs-nav {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.tab-btn.active {
  background: rgba(0, 229, 255, 0.18);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

.tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
  height: 100%;
}

.tab-content.active {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}

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

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-item {
  background: var(--card-bg);
  border-radius: var(--radius-sm);
  padding: 16px;
  border: 1px solid var(--card-border);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.step-num {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: #050b17;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.step-details h4 {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.step-details p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Interactive Password Strength Tester */
.pw-tester-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 24px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pw-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.pw-input {
  width: 100%;
  padding: 14px 48px 14px 18px;
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 1.1rem;
  font-family: var(--font-mono);
  outline: none;
  transition: border-color 0.2s ease;
}

.pw-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.25);
}

.pw-toggle-btn {
  position: absolute;
  right: 14px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1.2rem;
}

.strength-bar-bg {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.strength-bar {
  height: 100%;
  width: 0%;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.pw-feedback {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}

.pw-crack-time {
  font-weight: 700;
  color: var(--accent-cyan);
}

.pw-tips {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  padding: 14px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Antigravity AI Simulator */
.ai-chat-window {
  background: rgba(10, 16, 30, 0.9);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.ai-chat-header {
  background: rgba(18, 28, 52, 0.9);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-status {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-dot {
  width: 10px;
  height: 10px;
  background: var(--accent-green);
  border-radius: var(--radius-full);
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.ai-chat-messages {
  flex: 1;
  padding: 18px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chat-bubble {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  line-height: 1.5;
}

.chat-bubble.user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--accent-blue), #2563eb);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-bubble.ai {
  align-self: flex-start;
  background: rgba(30, 41, 69, 0.85);
  border: 1px solid rgba(0, 229, 255, 0.25);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
}

.prompt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(15, 23, 42, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.chip-btn {
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--accent-cyan);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chip-btn:hover {
  background: var(--accent-cyan);
  color: #050b17;
  font-weight: 700;
}

/* Mini Game / Scenario Card */
.scenario-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.25s ease;
}

.scenario-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
}

.scenario-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  background: rgba(0, 0, 0, 0.25);
  padding: 12px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent-yellow);
}

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

.scenario-btn {
  flex: 1;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.scenario-btn.safe {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--accent-green);
  color: #86efac;
}

.scenario-btn.danger {
  background: rgba(239, 68, 68, 0.15);
  border-color: var(--accent-red);
  color: #fca5a5;
}

.scenario-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.2);
}

.scenario-result {
  display: none;
  font-size: 0.88rem;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-top: 4px;
  line-height: 1.45;
}

/* Quiz Engine */
.quiz-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 28px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quiz-question {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-option {
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
}

.quiz-option:hover {
  background: rgba(0, 229, 255, 0.12);
  border-color: var(--accent-cyan);
}

.quiz-option.correct {
  background: rgba(16, 185, 129, 0.25) !important;
  border-color: var(--accent-green) !important;
  color: #a7f3d0;
}

.quiz-option.wrong {
  background: rgba(239, 68, 68, 0.25) !important;
  border-color: var(--accent-red) !important;
  color: #fecaca;
}

/* Bottom Presentation Control Dock */
footer.dock-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(13, 21, 39, 0.85);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  z-index: 50;
}

.dock-left, .dock-center, .dock-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dock-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.2s ease;
}

.dock-btn:hover {
  background: var(--accent-cyan);
  color: #050b17;
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
}

.dock-btn-main {
  width: auto;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: #050b17;
}

.keyboard-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Speaker Notes Drawer */
.notes-drawer {
  position: fixed;
  bottom: 64px;
  left: 0;
  right: 0;
  background: rgba(9, 14, 26, 0.98);
  border-top: 2px solid var(--accent-yellow);
  padding: 20px 32px;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 45;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6);
  max-height: 280px;
  overflow-y: auto;
}

.notes-drawer.open {
  transform: translateY(0);
}

.notes-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  color: var(--accent-yellow);
  font-weight: 700;
  font-size: 0.95rem;
}

.notes-content {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #e2e8f0;
}

/* Table of Contents Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-overlay.open {
  display: flex;
}

.modal-card {
  background: var(--slide-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-glow);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
}

/* Module Divider Banner */
.slide.module-divider {
  background: linear-gradient(135deg, rgba(13, 21, 39, 0.95), rgba(28, 39, 68, 0.95));
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 0 35px rgba(0, 229, 255, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 60px;
}

.module-badge {
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 8px 24px;
  border-radius: var(--radius-full);
  background: rgba(0, 229, 255, 0.2);
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan);
  margin-bottom: 20px;
  display: inline-block;
}

.module-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.25;
}

.module-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 800px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.module-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.module-highlight-tag {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

/* Enhanced Modal TOC for 50 slides */
.modal-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  overflow-y: auto;
  max-height: 65vh;
  padding-right: 8px;
}

.modal-category-header {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.1);
  padding: 6px 12px;
  border-radius: 4px;
  margin-top: 10px;
  border-left: 3px solid var(--accent-cyan);
}

.modal-item {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease;
}

.modal-item:hover {
  background: rgba(0, 229, 255, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateX(4px);
}

/* Feature card compact variations */
.feature-card.compact {
  padding: 16px;
  gap: 8px;
}

.feature-card.compact h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.feature-card.compact p {
  font-size: 0.88rem;
  line-height: 1.45;
}

/* Shortcut visual keys */
.shortcut-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}

.shortcut-row:hover {
  background: rgba(0, 229, 255, 0.08);
  border-color: rgba(0, 229, 255, 0.3);
}

.shortcut-keys {
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.shortcut-desc strong {
  color: var(--text-primary);
}

/* Print Styles for Printable Slides / PDF Export */
@media print {
  @page {
    size: A4 landscape;
    margin: 10mm;
  }
  
  body {
    background: #ffffff !important;
    color: #0f172a !important;
    overflow: visible !important;
    display: block !important;
    height: auto !important;
  }
  
  header, footer, .progress-container, .notes-drawer, .dock-footer, .cyber-bg, .modal-overlay, .hero-actions, .pw-input-wrapper, .strength-bar-bg, .ai-chat-window, .scenario-actions {
    display: none !important;
  }
  
  main.deck-container {
    display: block !important;
    padding: 0 !important;
    overflow: visible !important;
    height: auto !important;
  }
  
  .slide {
    position: relative !important;
    display: flex !important;
    opacity: 1 !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 165mm !important;
    max-height: none !important;
    break-after: page !important;
    page-break-after: always !important;
    margin-bottom: 20mm !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: none !important;
    background: #ffffff !important;
    color: #0f172a !important;
    padding: 15mm !important;
    overflow: visible !important;
  }
  
  .slide-header, .slide-title, .feature-card, .compare-card, .step-item, .shortcut-row {
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
    background: #f8fafc !important;
    box-shadow: none !important;
  }
  
  .feature-card h3, .slide-title, .module-title {
    color: #0f172a !important;
  }
  
  .slide-tag, .module-badge, .card-badge {
    background: #e2e8f0 !important;
    color: #0284c7 !important;
    border-color: #94a3b8 !important;
  }
  
  kbd {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border: 1px solid #94a3b8 !important;
    box-shadow: none !important;
  }
  
  .tab-content {
    display: grid !important;
  }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .slide {
    padding: 24px;
    height: calc(100vh - var(--nav-height) - 80px);
  }
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
  .hero-title {
    font-size: 2rem;
  }
  .tab-content.active {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4, .compare-box {
    grid-template-columns: 1fr;
  }
  .slide-body {
    flex-direction: column;
  }
  .hero-media {
    display: none;
  }
  .dock-center span {
    display: none;
  }
}
