/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.presentation-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    min-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.header {
    text-align: center;
    padding: 30px 0;
    background: linear-gradient(135deg, #61dafb 0%, #21759b 100%);
    border-radius: 10px;
    margin-bottom: 30px;
    color: white;
}

.header h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.header p {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* Navigation Styles */
.slide-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 30px;
}

.slide-nav button {
    background: #61dafb;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(97, 218, 251, 0.3);
}

.slide-nav button:hover {
    background: #21759b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(97, 218, 251, 0.4);
}

.slide-nav button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#slideCounter {
    font-size: 1.1rem;
    font-weight: bold;
    color: #666;
    background: #f8f9fa;
    padding: 8px 16px;
    border-radius: 20px;
}

/* Slide Container */
.slide-container {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.slide {
    display: none;
    animation: slideIn 0.5s ease-in-out;
}

.slide.active {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide h2 {
    font-size: 2.8rem;
    margin-bottom: 30px;
    color: #2c3e50;
    text-align: center;
    position: relative;
}

.slide h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #61dafb, #21759b);
    border-radius: 2px;
}

/* Introduction Slide Styles */
.intro-content {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

.definition-card {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #61dafb;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.definition-card h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.definition-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.analogy-section {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
}

.analogy-section h3 {
    color: #2c3e50;
    font-size: 1.6rem;
    margin-bottom: 25px;
    text-align: center;
}

.analogy-cards {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.analogy-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex: 1;
    max-width: 250px;
}

.analogy-card h4 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.analogy-icon {
    font-size: 3rem;
    margin: 15px 0;
}

.arrow {
    font-size: 2rem;
    color: #61dafb;
    font-weight: bold;
}

.key-benefits {
    background: #f0fff4;
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #48bb78;
}

.key-benefits h3 {
    color: #2f855a;
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.key-benefits ul {
    list-style: none;
}

.key-benefits li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    font-size: 1.1rem;
}

.key-benefits li::before {
    content: '✨';
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.key-benefits strong {
    color: #2f855a;
}

/* Workflow Styles */
.workflow-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.workflow-step {
    display: flex;
    align-items: center;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    border-left: 5px solid #61dafb;
}

.step-number {
    background: #61dafb;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.step-content p {
    color: #666;
    margin-bottom: 15px;
}

.workflow-arrow {
    text-align: center;
    font-size: 2rem;
    color: #61dafb;
    margin: 10px 0;
}

.code-snippet {
    background: #2d3748;
    border-radius: 8px;
    padding: 15px;
    overflow-x: auto;
}

.code-snippet pre {
    color: #e2e8f0;
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
}

.diff-visual {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

.diff-old {
    background: #fed7d7;
    color: #c53030;
    padding: 8px 12px;
    border-radius: 6px;
    font-family: monospace;
}

.diff-new {
    background: #c6f6d5;
    color: #22543d;
    padding: 8px 12px;
    border-radius: 6px;
    font-family: monospace;
}

.diff-arrow {
    color: #666;
    font-weight: bold;
}

/* Structure Demo Styles */
.structure-demo {
    margin-top: 30px;
}

.structure-comparison {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.structure-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #61dafb;
}

.structure-section h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.arrow-down {
    text-align: center;
    font-size: 1.2rem;
    color: #61dafb;
    font-weight: bold;
    margin: 15px 0;
}

.code-example {
    background: #2d3748;
    border-radius: 10px;
    padding: 20px;
    overflow-x: auto;
}

.code-example pre {
    color: #e2e8f0;
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

.interactive-vdom {
    background: #fff5f5;
    padding: 30px;
    border-radius: 15px;
    margin-top: 30px;
    border: 2px solid #fed7d7;
}

.interactive-vdom h3 {
    color: #c53030;
    margin-bottom: 20px;
}

.vdom-explorer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.vdom-input textarea {
    width: 100%;
    height: 150px;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    resize: vertical;
}

.vdom-input button {
    background: #61dafb;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 10px;
    font-weight: bold;
}

.vdom-output {
    background: #2d3748;
    border-radius: 8px;
    padding: 15px;
    overflow-x: auto;
}

.vdom-output pre {
    color: #e2e8f0;
    font-family: 'Fira Code', monospace;
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Diffing Algorithm Styles */
.diffing-content {
    margin-top: 30px;
}

.diffing-principles {
    margin-bottom: 40px;
}

.diffing-principles h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-align: center;
}

.principle-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.principle-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-top: 4px solid #61dafb;
}

.principle-card h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.principle-card p {
    color: #666;
    margin-bottom: 15px;
}

.diff-example {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    font-family: monospace;
    font-size: 0.9rem;
}

.diff-example .before,
.diff-example .after,
.diff-example .result {
    padding: 5px 0;
}

.diff-example .before {
    color: #c53030;
}

.diff-example .after {
    color: #22543d;
}

.diff-example .result {
    color: #61dafb;
    font-weight: bold;
}

.diffing-demo {
    background: #f0f8ff;
    padding: 30px;
    border-radius: 15px;
    border: 2px solid #bee3f8;
}

.diffing-demo h3 {
    color: #2b6cb0;
    margin-bottom: 25px;
}

.diffing-playground {
    background: white;
    padding: 25px;
    border-radius: 12px;
}

.tree-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 25px;
}

.tree-section h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    text-align: center;
}

.tree-visual {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    min-height: 200px;
}

.tree-node {
    background: #e2e8f0;
    padding: 10px;
    margin: 5px 0;
    border-radius: 6px;
    border-left: 4px solid #61dafb;
    font-family: monospace;
    position: relative;
}

.tree-node .tree-node {
    margin-left: 20px;
    border-left-color: #48bb78;
}

.tree-node .tree-node .tree-node {
    border-left-color: #ed8936;
}

.diffing-controls {
    text-align: center;
    margin: 25px 0;
}

.diffing-controls button {
    background: #61dafb;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    margin: 0 10px;
    transition: background 0.3s ease;
}

.diffing-controls button:hover {
    background: #21759b;
}

.diffing-results {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #61dafb;
}

.diffing-results h4 {
    color: #2c3e50;
    margin-bottom: 15px;
}

#diffingList {
    list-style: none;
}

#diffingList li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-family: monospace;
    font-size: 0.9rem;
}

#diffingList li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #61dafb;
    font-weight: bold;
}

/* Performance Demo Styles */
.performance-content {
    margin-top: 30px;
}

.performance-demo-container {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #61dafb;
}

.performance-demo-container h3 {
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: center;
}

.test-controls {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.test-config {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    align-items: center;
}

.test-config label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    color: #2c3e50;
}

.test-config input {
    padding: 8px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
}

.test-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.test-buttons button {
    background: #61dafb;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.test-buttons button:hover {
    background: #21759b;
    transform: translateY(-2px);
}

.test-buttons button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.performance-results {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.result-section h4 {
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.metric-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border-top: 4px solid #61dafb;
}

.metric-card.improvement {
    border-top-color: #48bb78;
}

.metric-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.metric-value {
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
}

.metric-card.improvement .metric-value {
    color: #22543d;
}

.metric-unit {
    font-size: 0.8rem;
    color: #666;
}

.visual-comparison {
    margin-top: 20px;
}

.comparison-bars {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bar-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bar-label {
    width: 100px;
    font-weight: bold;
    color: #2c3e50;
}

.performance-bar {
    flex: 1;
    height: 30px;
    background: #e2e8f0;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.bar {
    height: 100%;
    border-radius: 15px;
    transition: width 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
}

.vanilla-bar {
    background: linear-gradient(90deg, #e53e3e, #c53030);
}

.virtual-bar {
    background: linear-gradient(90deg, #61dafb, #21759b);
}

.performance-analysis {
    background: #f0fff4;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #48bb78;
    margin-top: 20px;
}

/* Visualization Styles */
.visualization-content {
    margin-top: 30px;
}

.visualization-demo {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #61dafb;
}

.visualization-demo h3 {
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: center;
}

.inspector-container {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.inspector-controls {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.control-group {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.control-group label {
    font-weight: bold;
    color: #2c3e50;
}

.control-group input {
    padding: 8px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
}

.control-group button {
    background: #61dafb;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.inspector-views {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.view-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
}

.view-section h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    text-align: center;
}

.rendered-view {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    min-height: 200px;
}

.demo-component {
    font-family: Arial, sans-serif;
}

.demo-component h2 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.demo-component p {
    color: #666;
    margin-bottom: 15px;
}

.demo-component ul {
    list-style-type: disc;
    padding-left: 20px;
}

.demo-component li {
    padding: 5px 0;
    color: #555;
}

.vdom-tree {
    background: #2d3748;
    color: #e2e8f0;
    padding: 15px;
    border-radius: 8px;
    font-family: monospace;
    font-size: 0.8rem;
    line-height: 1.4;
    min-height: 200px;
    overflow-x: auto;
}

.change-log {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #61dafb;
}

.change-log h4 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.log-container {
    max-height: 150px;
    overflow-y: auto;
    background: white;
    border-radius: 6px;
    padding: 10px;
}

.log-entry {
    padding: 5px 0;
    border-bottom: 1px solid #e2e8f0;
    font-family: monospace;
    font-size: 0.9rem;
}

.log-entry:last-child {
    border-bottom: none;
}

.timestamp {
    color: #666;
    margin-right: 10px;
}

.operation {
    color: #2c3e50;
}

/* Reconciliation Styles */
.reconciliation-content {
    margin-top: 30px;
}

.reconciliation-overview {
    background: #f0f8ff;
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #61dafb;
    margin-bottom: 30px;
}

.reconciliation-overview h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.reconciliation-overview p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.reconciliation-steps {
    margin-bottom: 40px;
}

.step-visualization {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.recon-step {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-top: 4px solid #61dafb;
    flex: 1;
    max-width: 200px;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.recon-step h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.recon-step p {
    color: #666;
    font-size: 0.9rem;
}

.recon-arrow {
    font-size: 2rem;
    color: #61dafb;
    font-weight: bold;
}

.reconciliation-demo {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #61dafb;
}

.reconciliation-demo h3 {
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: center;
}

.simulator-container {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.simulator-controls {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.simulator-controls select {
    padding: 8px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    flex: 1;
}

.simulator-controls button {
    background: #61dafb;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.simulator-display {
    display: grid;
    gap: 25px;
}

.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.state-view {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
}

.state-view h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    text-align: center;
}

.state-container {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    min-height: 150px;
}

.element {
    background: #e2e8f0;
    padding: 10px;
    margin: 5px 0;
    border-radius: 6px;
    border-left: 4px solid #61dafb;
    font-family: monospace;
    transition: all 0.3s ease;
}

.element.added {
    background: #c6f6d5;
    border-left-color: #48bb78;
}

.element.removed {
    background: #fed7d7;
    border-left-color: #e53e3e;
}

.element.modified {
    background: #faf089;
    border-left-color: #ed8936;
}

.reconciliation-output {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #61dafb;
}

.reconciliation-output h4 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.operations-list {
    background: white;
    padding: 15px;
    border-radius: 8px;
    max-height: 200px;
    overflow-y: auto;
}

/* Keys Demo Styles */
.keys-content {
    margin-top: 30px;
}

.keys-explanation {
    background: #f0fff4;
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #48bb78;
    margin-bottom: 30px;
}

.keys-explanation h3 {
    color: #2f855a;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.keys-explanation p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.keys-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.comparison-section {
    padding: 25px;
    border-radius: 12px;
    border-top: 4px solid #e53e3e;
}

.comparison-section:last-child {
    border-top-color: #48bb78;
}

.comparison-section h4 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.keys-demo {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #61dafb;
}

.keys-demo h3 {
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: center;
}

.keys-playground {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.demo-controls {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    flex-wrap: wrap;
}

.demo-controls button {
    background: #61dafb;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    flex: 1;
    min-width: 120px;
}

.demo-lists {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.list-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
}

.list-section h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    text-align: center;
}

.demo-list {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    min-height: 200px;
}

.demo-list-item {
    background: #e2e8f0;
    padding: 10px;
    margin: 5px 0;
    border-radius: 6px;
    border-left: 4px solid #61dafb;
    font-family: monospace;
    transition: all 0.3s ease;
}

.performance-indicator {
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
    color: #2c3e50;
}

.keys-analysis {
    background: #f0fff4;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #48bb78;
}

.keys-analysis h4 {
    color: #2f855a;
    margin-bottom: 15px;
}

.analysis-results {
    color: #555;
    line-height: 1.6;
}

/* Comparison Styles */
.comparison-content {
    margin-top: 30px;
}

.solutions-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.solution-card {
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-top: 5px solid #61dafb;
}

.solution-card.direct-card {
    border-top-color: #e53e3e;
}

.solution-card.compiled-card {
    border-top-color: #ed8936;
}

.solution-card h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.pros,
.cons {
    padding: 15px;
    border-radius: 8px;
}

.pros {
    background: #f0fff4;
}

.cons {
    background: #fff5f5;
}

.pros h4 {
    color: #22543d;
    margin-bottom: 10px;
}

.cons h4 {
    color: #c53030;
    margin-bottom: 10px;
}

.pros ul,
.cons ul {
    list-style: none;
}

.pros li,
.cons li {
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
    font-size: 0.9rem;
}

.pros li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #22543d;
    font-weight: bold;
}

.cons li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #c53030;
    font-weight: bold;
}

.benchmark-comparison {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #61dafb;
}

.benchmark-comparison h3 {
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: center;
}

.benchmark-chart {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.chart-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.benchmark-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.benchmark-label {
    font-weight: bold;
    color: #2c3e50;
    width: 120px;
    flex-shrink: 0;
}

.benchmark-bars {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bar-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bar-item span {
    width: 60px;
    font-size: 0.9rem;
    color: #666;
}

.bar-item .bar {
    height: 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
    min-width: 60px;
}

/* Summary Styles */
.summary-content {
    margin-top: 30px;
}

.best-practices {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #61dafb;
    margin-bottom: 40px;
}

.best-practices h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-align: center;
}

.practices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.practice-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-top: 4px solid #61dafb;
}

.practice-card h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.practice-card ul {
    list-style: none;
}

.practice-card li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    color: #555;
}

.practice-card li::before {
    content: '💡';
    position: absolute;
    left: 0;
    font-size: 0.9rem;
}

.key-takeaways {
    margin-bottom: 40px;
}

.key-takeaways h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-align: center;
}

.takeaway-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.takeaway-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    border-top: 4px solid #61dafb;
}

.takeaway-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.takeaway-card h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.takeaway-card p {
    color: #555;
    line-height: 1.6;
}

.next-steps {
    background: #f0fff4;
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #48bb78;
}

.next-steps h3 {
    color: #2f855a;
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-align: center;
}

.next-steps-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.next-step {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #48bb78;
}

.next-step h4 {
    color: #2f855a;
    margin-bottom: 10px;
}

.next-step p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
    border-top: 2px solid #f0f0f0;
    color: #666;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .presentation-container {
        max-width: 1000px;
    }

    .vdom-explorer {
        grid-template-columns: 1fr;
    }

    .inspector-views {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .presentation-container {
        margin: 10px;
        padding: 15px;
        min-height: calc(100vh - 20px);
    }

    .header h1 {
        font-size: 2.5rem;
    }

    .slide h2 {
        font-size: 2rem;
    }

    .analogy-cards {
        flex-direction: column;
    }

    .arrow {
        transform: rotate(90deg);
    }

    .tree-container,
    .before-after,
    .demo-lists,
    .keys-comparison,
    .solutions-comparison {
        grid-template-columns: 1fr;
    }

    .test-config {
        flex-direction: column;
        gap: 15px;
    }

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

    .step-visualization {
        flex-direction: column;
    }

    .recon-arrow {
        transform: rotate(90deg);
    }

    .slide-nav {
        flex-direction: column;
        gap: 15px;
    }

    .slide-nav button {
        width: 100%;
        max-width: 200px;
    }

    .demo-controls {
        flex-direction: column;
    }

    .demo-controls button {
        min-width: auto;
    }

    .code-example {
        font-size: 0.8rem;
    }
}