/* ==========================================================================
   Design System & Premium Theme Variables
   ========================================================================== */
:root {
    /* Color Palette */
    --bg-primary: hsl(225, 24%, 6%);
    --bg-secondary: hsl(225, 20%, 11%);
    --bg-tertiary: hsl(225, 20%, 16%);
    --bg-glass: rgba(13, 17, 28, 0.7);
    --bg-glass-hover: rgba(22, 28, 45, 0.8);
    
    --accent-cyan: hsl(185, 100%, 50%);
    --accent-cyan-dim: hsl(185, 60%, 35%);
    --accent-violet: hsl(275, 100%, 65%);
    --accent-violet-dim: hsl(275, 60%, 45%);
    --accent-gold: hsl(45, 100%, 50%);
    --accent-copper: hsl(25, 100%, 55%);
    --accent-red: hsl(355, 100%, 60%);
    --accent-green: hsl(140, 80%, 45%);
    
    --text-primary: hsl(220, 20%, 96%);
    --text-secondary: hsl(220, 15%, 72%);
    --text-dim: hsl(220, 10%, 50%);
    
    --border-color: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(0, 255, 255, 0.2);
    
    /* Glow Effects */
    --glow-cyan: 0 0 20px rgba(0, 255, 255, 0.35);
    --glow-violet: 0 0 20px rgba(180, 0, 255, 0.35);
    --glow-gold: 0 0 15px rgba(255, 180, 0, 0.3);
    --glow-green: 0 0 20px rgba(0, 255, 80, 0.35);
    
    /* Layout Dimensions */
    --slide-width: 1280px;
    --slide-height: 720px;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease-out;
}

/* ==========================================================================
   Global Reset & Base Setup
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    height: 100%;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: var(--transition-fast);
    border-bottom: 1px dashed var(--accent-cyan-dim);
}

a:hover {
    color: var(--text-primary);
    border-bottom-color: var(--accent-cyan);
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
}

/* ==========================================================================
   Widescreen 16:9 Presentation Frame
   ========================================================================== */
.presentation-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at center, hsl(225, 24%, 10%) 0%, var(--bg-primary) 100%);
}

.slides-wrapper {
    width: var(--slide-width);
    height: var(--slide-height);
    position: relative;
    transform-origin: center center;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

/* ==========================================================================
   Slide Base & Animations
   ========================================================================== */
.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.98) translateY(10px);
    transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1),
                transform 0.5s cubic-bezier(0.25, 1, 0.5, 1),
                visibility 0.5s;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
    z-index: 2;
}

.slide-content {
    width: 100%;
    height: 100%;
    padding: 40px 60px;
    display: flex;
    flex-direction: column;
}

/* Slide Typography */
.slide-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ffffff 30%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.slide-subtitle {
    font-size: 1.35rem;
    color: var(--accent-cyan);
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.body-text {
    font-size: 1.45rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-weight: 300;
}

.body-text strong {
    color: var(--text-primary);
    font-weight: 500;
}

/* ==========================================================================
   Layouts
   ========================================================================== */

/* 1. Title Slide Layout */
.title-layout {
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0;
}

.title-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(180, 0, 255, 0.08) 0%, rgba(0, 255, 255, 0.05) 50%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
    animation: slow-pulse 10s infinite alternate;
}

@keyframes slow-pulse {
    0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

.badge-logo-container {
    z-index: 1;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.25));
}

.badge-vector {
    width: 130px;
    height: 130px;
}

.badge-base {
    fill: var(--bg-tertiary);
    stroke: var(--accent-cyan);
    stroke-width: 2;
}

.badge-art {
    fill: none;
    stroke: var(--accent-violet);
    stroke-width: 2.5;
    stroke-dasharray: 4, 2;
    animation: rotate-art 20s linear infinite;
    transform-origin: 50px 50px;
}

@keyframes rotate-art {
    100% { transform: rotate(360deg); }
}

.badge-copper-line {
    fill: none;
    stroke: var(--accent-gold);
    stroke-width: 1.5;
}

.badge-led {
    fill: var(--accent-cyan);
    animation: blink-led 1.5s infinite alternate;
}
.badge-led:nth-child(even) {
    animation-delay: 0.75s;
}

@keyframes blink-led {
    0% { fill: var(--bg-primary); filter: none; }
    100% { fill: var(--accent-cyan); filter: drop-shadow(0 0 5px var(--accent-cyan)); }
}

.badge-coil {
    fill: none;
    stroke: var(--accent-copper);
    stroke-width: 2;
}

.title-text-group {
    z-index: 1;
}

.slide-tag {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent-violet);
    font-weight: 600;
    margin-bottom: 15px;
    display: inline-block;
}

.glow-text {
    font-family: 'Outfit', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffffff 40%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 15px rgba(0,255,255,0.1));
}

.subtitle {
    font-size: 1.6rem;
    color: var(--text-secondary);
    font-weight: 300;
    margin-bottom: 40px;
}

.author-info {
    font-size: 1.1rem;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    display: inline-block;
}

.author-name {
    color: var(--text-primary);
    font-weight: 500;
}

.author-org {
    color: var(--accent-violet);
    font-size: 0.95rem;
    letter-spacing: 1px;
    margin-top: 2px;
}

/* 2. Split (Left/Right) Layout */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    height: 100%;
}

.text-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.visual-column {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* ==========================================================================
   UI Components (Cards, Lists, etc.)
   ========================================================================== */

/* Glassmorphism Containers */
.card-glow {
    background-color: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.card-glow:hover {
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), var(--glow-cyan);
}

/* Features List */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 2rem;
    background-color: var(--bg-tertiary);
    width: 55px;
    height: 55px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border-color);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.feature-desc h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.feature-desc p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 300;
}

/* Roadmap Layout */
.roadmap-layout {
    justify-content: space-between;
}

.roadmap-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 20px 0;
    padding: 0 40px;
}

.timeline-track {
    position: absolute;
    top: 30px;
    left: 80px;
    right: 80px;
    height: 4px;
    background-color: var(--bg-tertiary);
    z-index: 0;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 280px;
    text-align: center;
    z-index: 1;
}

.step-marker {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--bg-tertiary);
    border: 3px solid var(--bg-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-secondary);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    transition: var(--transition-smooth);
}

.timeline-step.active .step-marker {
    background-color: var(--bg-primary);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}

.timeline-step.completed .step-marker {
    background-color: var(--accent-violet);
    border-color: var(--accent-violet);
    color: var(--bg-primary);
}

.step-details {
    margin-top: 20px;
}

.step-details h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.55rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.step-time {
    font-family: 'Fira Code', monospace;
    font-size: 1.1rem;
    color: var(--accent-cyan);
    margin-bottom: 10px;
}

.step-details p:last-child {
    font-size: 1.15rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.roadmap-note {
    background-color: var(--bg-tertiary);
    padding: 20px 30px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-violet);
    font-size: 1.3rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   Concepts & Physics Specific Slides
   ========================================================================== */

/* Electromagnetic Spectrum Visualization */
.spectrum-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.spectrum-header {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    color: var(--text-primary);
    text-align: center;
}

.spectrum-bar {
    display: flex;
    height: 150px;
    background-color: var(--bg-tertiary);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.spec-band {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    font-size: 1.1rem;
    text-align: center;
    position: relative;
    border-right: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.spec-band:last-child {
    border-right: none;
}

.spec-band span {
    font-weight: 600;
}

.spec-band .freq {
    font-family: 'Fira Code', monospace;
    font-size: 0.95rem;
    color: var(--text-dim);
    margin-top: 5px;
}

.spec-band.elf {
    flex: 2;
    background: linear-gradient(to bottom, rgba(180, 0, 255, 0.15), rgba(180, 0, 255, 0.05));
    color: var(--accent-violet);
}

.spec-band.rf {
    flex: 1.5;
    background: linear-gradient(to bottom, rgba(0, 180, 255, 0.1), rgba(0, 180, 255, 0.02));
    color: hsl(200, 100%, 65%);
}

.spec-band.wifi {
    flex: 1.5;
    background: linear-gradient(to bottom, rgba(0, 255, 255, 0.1), rgba(0, 255, 255, 0.02));
    color: var(--accent-cyan);
}

.spec-band.visible {
    flex: 1;
    background: linear-gradient(90deg, 
        rgba(255,0,0,0.1), rgba(255,255,0,0.1), rgba(0,255,0,0.1), rgba(0,255,255,0.1), rgba(0,0,255,0.1)
    );
    color: var(--accent-gold);
}

.highlight-tag {
    position: absolute;
    top: 15px;
    background-color: var(--accent-cyan);
    color: var(--bg-primary);
    font-size: 0.9rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700 !important;
    text-transform: uppercase;
    box-shadow: var(--glow-cyan);
    animation: mini-pulse 1.5s infinite alternate;
}

@keyframes mini-pulse {
    0% { transform: scale(0.95); }
    100% { transform: scale(1.05); }
}

.spectrum-disclaimer {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 15px;
    border-radius: 8px;
    font-size: 1.15rem;
    color: var(--text-secondary);
}

/* Maxwell Equation Cards */
.equation-card {
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 12px;
}

.eq-header {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--accent-cyan);
    margin-bottom: 8px;
}

.eq-body {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 300;
}

/* ==========================================================================
   Animations Controls & Panel Frame
   ========================================================================== */
.animation-container {
    width: 100%;
    height: 480px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.animation-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    color: var(--text-primary);
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.svg-container {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    max-height: 280px;
}

.svg-container svg {
    width: 100%;
    height: 100%;
    max-height: 260px;
}

.animation-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.anim-btn {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.anim-btn:hover:not(:disabled) {
    background-color: var(--accent-cyan);
    color: var(--bg-primary);
    box-shadow: var(--glow-cyan);
    border-color: var(--accent-cyan);
}

.anim-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.anim-status {
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    color: var(--accent-violet);
}

/* Solder Lab Tip */
.animation-tip {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 10px;
    font-style: italic;
}

/* ==========================================================================
   Signal Chain Layout (Slide 5)
   ========================================================================== */
.signal-chain {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.chain-step {
    display: flex;
    gap: 20px;
    align-items: center;
    background-color: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 15px 20px;
}

.step-num {
    background-color: var(--accent-cyan-dim);
    color: var(--accent-cyan);
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

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

.step-text p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    font-weight: 300;
}

/* ==========================================================================
   Audio Explorer Layout (Slide 7)
   ========================================================================== */
.audio-explorer-layout {
    justify-content: flex-start;
}

.sound-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
    flex-grow: 1;
}

.sound-card {
    padding: 25px;
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
}

.sound-card:hover {
    border-color: var(--accent-violet);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4), var(--glow-violet);
}

.sound-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.sound-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.sound-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 300;
    flex-grow: 1;
}

.freq-tag {
    position: absolute;
    top: 25px;
    right: 25px;
    font-family: 'Fira Code', monospace;
    font-size: 0.8rem;
    color: var(--accent-cyan);
    border: 1px solid var(--accent-cyan-dim);
    padding: 3px 10px;
    border-radius: 20px;
    background-color: rgba(0, 255, 255, 0.05);
}

/* ==========================================================================
   Badge Anatomy Card (Slide 8)
   ========================================================================== */
.badge-anatomy-card {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 20px;
}

.badge-board {
    width: 100%;
    height: 100%;
}

.badge-board-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}

.pcb-base {
    fill: hsl(140, 45%, 15%);
    stroke: hsl(140, 40%, 25%);
    stroke-width: 4;
}

.pcb-copper-art {
    fill: none;
    stroke: hsl(45, 60%, 45%);
    stroke-width: 3;
    opacity: 0.8;
}

.pcb-component {
    fill: #1e2630;
    stroke: #ffffff;
    stroke-width: 1.5;
    opacity: 0.8;
}

.pcb-component.ic-socket {
    fill: #111;
    stroke: #fff;
    stroke-dasharray: 4,2;
}

.pcb-notch {
    fill: #555;
}

.pcb-component.battery-holder {
    fill: #151c24;
    stroke: var(--accent-cyan);
    stroke-width: 2;
}

.anatomy-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.anatomy-label {
    position: absolute;
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--accent-cyan);
    box-shadow: var(--glow-cyan);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    transform: translate(-50%, -50%);
    pointer-events: auto;
}

/* ==========================================================================
   Solder Joint Steps (Slide 9)
   ========================================================================== */
.steps-solder {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.solder-step {
    display: flex;
    gap: 15px;
    align-items: center;
}

.step-indicator {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--accent-cyan);
    flex-shrink: 0;
}

.solder-step p {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.solder-step strong {
    color: var(--text-primary);
}

.safety-tip {
    background-color: rgba(255, 180, 0, 0.05);
    border-left: 4px solid var(--accent-gold);
    padding: 15px 20px;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ==========================================================================
   Solder Joint Quality Comparison (Slide 10)
   ========================================================================== */
.quality-check-layout {
    justify-content: flex-start;
}

.quality-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin-top: 35px;
    flex-grow: 1;
}

.quality-card {
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-top-width: 4px;
}

.quality-card.good { border-top-color: var(--accent-green); }
.quality-card.bad { border-top-color: var(--accent-red); }
.quality-card.bridge { border-top-color: var(--accent-gold); }

.joint-visual {
    width: 140px;
    height: 110px;
    margin-bottom: 20px;
    background-color: var(--bg-tertiary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
}

.joint-svg {
    width: 100%;
    height: 100%;
}

.quality-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    color: var(--text-primary);
    margin-bottom: 12px;
}

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

/* ==========================================================================
   Troubleshooting & Safety (Slide 11)
   ========================================================================== */
.safety-box {
    background-color: rgba(255, 60, 60, 0.04);
    border: 1px solid rgba(255, 60, 60, 0.15);
    border-radius: 16px;
    padding: 20px;
    height: 100%;
}

.safety-box h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    color: var(--accent-red);
    margin-bottom: 12px;
}

.safety-box ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.safety-box li {
    font-size: 1.05rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 25px;
}

.safety-box li::before {
    content: "•";
    color: var(--accent-red);
    font-size: 1.5rem;
    position: absolute;
    left: 5px;
    top: -3px;
}

.troubleshoot-box {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.troubleshoot-box h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    color: var(--accent-cyan);
    margin-bottom: 12px;
}

.troubleshoot-box ol {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 20px;
}

.troubleshoot-box li {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.troubleshoot-box li strong {
    color: var(--text-primary);
}

.troubleshoot-note {
    margin-top: 15px;
    background-color: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   Donation & Learn More (Slide 12)
   ========================================================================== */
.donation-card {
    background: linear-gradient(135deg, rgba(0, 255, 80, 0.05) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(0, 255, 80, 0.15);
    border-radius: 12px;
    padding: 15px;
    margin-top: 15px;
}

.donation-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    color: var(--accent-green);
    margin-bottom: 10px;
}

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

.explore-details-box {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.explore-details-box h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    color: var(--accent-violet);
    margin-bottom: 12px;
}

.explore-details-box ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.explore-details-box li a {
    font-size: 1.15rem;
    font-weight: 500;
}

.explore-footer-tag {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-cyan);
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
    margin-top: 25px;
    animation: text-pulse 2s infinite alternate;
}

@keyframes text-pulse {
    0% { opacity: 0.8; }
    100% { opacity: 1; text-shadow: 0 0 10px rgba(0, 255, 255, 0.2); }
}

/* ==========================================================================
   Controls Bar Overlay
   ========================================================================== */
.presentation-controls-bar {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: rgba(13, 17, 28, 0.85);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 8px 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    z-index: 10;
    transition: var(--transition-smooth);
}

.presentation-controls-bar:hover {
    border-color: var(--border-hover);
}

.nav-btn {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-fast);
}

.nav-btn:hover {
    background-color: var(--accent-cyan);
    color: var(--bg-primary);
    border-color: var(--accent-cyan);
    box-shadow: var(--glow-cyan);
}

.slide-indicator {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 110px;
    text-align: center;
}

.icon-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    opacity: 0.7;
    transition: var(--transition-fast);
}

.icon-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* ==========================================================================
   Presenter Notes Panel Overlay
   ========================================================================== */
.presenter-notes-panel {
    position: absolute;
    top: 20px;
    right: 20px;
    bottom: 20px;
    width: 480px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    z-index: 15;
    opacity: 0;
    visibility: hidden;
    transform: translateX(30px);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.4s;
}

.presenter-notes-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.notes-header {
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notes-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    color: var(--accent-cyan);
}

.close-notes-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-fast);
}

.close-notes-btn:hover {
    color: var(--text-primary);
}

.notes-content {
    flex-grow: 1;
    padding: 25px;
    overflow-y: auto;
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.notes-content h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.notes-content p {
    margin-bottom: 18px;
}

.notes-footer {
    padding: 15px 25px;
    background-color: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-dim);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.notes-footer code {
    font-family: 'Fira Code', monospace;
    background-color: rgba(255,255,255,0.05);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--accent-violet);
}

/* ==========================================================================
   Print / Export to PDF Layout
   ========================================================================== */
@media print {
    body, html {
        background-color: #ffffff;
        color: #000000;
        overflow: visible;
        height: auto;
    }
    
    .presentation-container {
        display: block;
        width: auto;
        height: auto;
        background: none;
    }
    
    .slides-wrapper {
        width: 100%;
        height: auto;
        border: none;
        border-radius: 0;
        box-shadow: none;
        overflow: visible;
    }
    
    .slide {
        position: relative;
        display: block;
        opacity: 1;
        visibility: visible;
        page-break-after: always;
        transform: none !important;
        transition: none;
        height: var(--slide-height);
        border-bottom: 1px solid #ddd;
    }
    
    .presentation-controls-bar,
    .presenter-notes-panel,
    .animation-controls {
        display: none !important;
    }
}

/* Schematic list labels for Slide 8 */
.schem-info h4 {
    font-size: 1.45rem;
    color: var(--accent-red);
    margin-bottom: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

.schem-info p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
    font-weight: 300;
}

.schem-info p strong {
    color: var(--text-primary);
    font-weight: 500;
}

/* Slide 10 & 13 mini cards and visual alignment */
.quality-card-mini {
    transition: var(--transition-fast);
    border-left-width: 4px;
    border-left-style: solid;
}
.quality-card-mini:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4), var(--glow-cyan);
}
