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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.slide-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-logo {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 500;
    background: white;
    padding: 8px 16px 8px 8px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.slide-logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #667eea;
}

.slide-logo span {
    font-size: 0.9em;
    font-weight: 600;
    color: #2d3748;
    white-space: nowrap;
}

.slide {
    background: white;
    width: 90%;
    max-width: 1200px;
    height: 90%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    padding: 60px 80px;
    display: none;
    flex-direction: column;
    position: relative;
    margin-left: 190px;
}

.slide.active {
    display: flex;
}

.slide h1 {
    font-size: 3em;
    color: #2d3748;
    margin-bottom: 20px;
    line-height: 1.2;
}

.slide h2 {
    font-size: 2em;
    color: #667eea;
    margin-bottom: 30px;
    margin-top: 20px;
}

.slide h3 {
    font-size: 1.5em;
    color: #4a5568;
    margin-top: 25px;
    margin-bottom: 15px;
}

.slide p {
    font-size: 1.2em;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 15px;
}

.slide ul, .slide ol {
    margin-left: 30px;
    margin-bottom: 20px;
}

.slide li {
    font-size: 1.15em;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 10px;
}

.slide strong {
    color: #2d3748;
}

.content {
    flex: 1;
    overflow-y: auto;
}

.slide-number {
    position: absolute;
    bottom: 30px;
    right: 40px;
    color: #a0aec0;
    font-size: 1em;
}

.controls {
    position: fixed;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%) translateY(50%);
    display: flex;
    gap: 12px;
    z-index: 1000;
}

.controls button {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 1em;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
}

.controls button:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.controls button:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.controls button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.08);
}

.controls button:disabled:hover {
    transform: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.controls button:disabled:focus {
    outline: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.highlight {
    background: #fef5e7;
    padding: 20px;
    border-left: 4px solid #f39c12;
    margin: 20px 0;
    border-radius: 4px;
}

.good {
    color: #27ae60;
}

.bad {
    color: #e74c3c;
}

code {
    background: #f7fafc;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #e74c3c;
}

pre {
    background: #2d3748;
    color: #e2e8f0;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
    font-size: 0.95em;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.title-slide {
    justify-content: center;
    align-items: center;
    text-align: center;
}

.title-slide h1 {
    font-size: 4em;
    margin-bottom: 20px;
}

.title-slide p {
    font-size: 1.5em;
    color: #667eea;
}

.title-slide img {
    width: 200px;
    height: 200px;
    margin-bottom: 30px;
    object-fit: cover;
    border-radius: 50%;
    animation: fadeInScale 1s ease-out;
    filter: drop-shadow(0 10px 25px rgba(102, 126, 234, 0.3));
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Section Separator Slides */
.section-separator {
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.section-separator h1 {
    font-size: 4.5em;
    margin-bottom: 20px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.section-separator .section-subtitle {
    font-size: 1.8em;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    font-weight: 300;
}

.section-separator .section-description {
    font-size: 1.3em;
    color: rgba(255, 255, 255, 0.85);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-nav {
    position: fixed;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 10px;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 400;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 44px;
    height: 44px;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.nav-toggle:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 400px;
    overflow: hidden;
    opacity: 1;
}

.nav-buttons.collapsed {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
}

.section-nav button:not(.nav-toggle) {
    display: block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.2s ease;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    min-width: 160px;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.section-nav button:not(.nav-toggle):hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.25);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.section-nav button:not(.nav-toggle):focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.35);
    color: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.section-nav button.active {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    font-weight: 600;
}

.section-nav button.active:hover {
    background: rgba(255, 255, 255, 0.3);
}

.section-nav button.active:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25), 0 4px 15px rgba(0, 0, 0, 0.15);
}

.slide a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.slide a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Evolution Timeline Styles */
.evolution-timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 30px 0;
}

.evolution-stage {
    flex: 1;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.evolution-stage:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.evolution-stage.highlight {
    background: linear-gradient(135deg, #667eea15, #764ba215);
    border: 2px solid #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.evolution-stage h2 {
    font-size: 1.3em;
    color: #2d3748;
    margin: 10px 0 5px 0;
}

.evolution-stage .stage-description {
    font-size: 0.9em;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 15px;
}

.evolution-stage ul {
    text-align: left;
    margin: 15px 0;
    font-size: 0.95em;
}

.evolution-stage li {
    font-size: 0.95em;
    margin-bottom: 8px;
}

.evolution-stage .stage-time {
    font-size: 1em;
    font-weight: 700;
    color: #667eea;
    margin-top: 10px;
}

.evolution-arrow {
    font-size: 2em;
    color: #667eea;
    font-weight: bold;
    flex-shrink: 0;
}

/* Three Column Comparison Styles */
.three-col-comparison {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.comparison-card {
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.comparison-card.highlight-card {
    background: linear-gradient(135deg, #667eea15, #764ba215);
    border: 2px solid #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.comparison-card h2 {
    font-size: 1.3em;
    color: #2d3748;
    margin: 0 0 5px 0;
    text-align: center;
}

.comparison-card h4 {
    font-size: 1em;
    color: #4a5568;
    margin: 15px 0 8px 0;
    border-bottom: 2px solid #667eea;
    padding-bottom: 5px;
}

.comparison-card .comparison-subtitle {
    font-size: 0.9em;
    color: #667eea;
    font-weight: 600;
    text-align: center;
    margin-bottom: 15px;
}

.comparison-card ul {
    margin: 8px 0 8px 20px;
    font-size: 0.9em;
}

.comparison-card li {
    font-size: 0.9em;
    margin-bottom: 6px;
    line-height: 1.4;
}

/* Workflow Diagram Styles */
.workflow-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.workflow-step {
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 15px;
    flex: 1;
    min-width: 150px;
    position: relative;
}

.workflow-step.ai-step {
    background: linear-gradient(135deg, #667eea15, #764ba215);
    border: 2px solid #667eea;
}

.workflow-step .step-number {
    position: absolute;
    top: -12px;
    left: 10px;
    background: #667eea;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85em;
}

.workflow-step h4 {
    margin: 8px 0 8px 0;
    color: #2d3748;
    font-size: 1em;
}

.workflow-step p {
    font-size: 0.85em;
    color: #4a5568;
    line-height: 1.4;
    margin: 0;
}

.workflow-arrow {
    font-size: 2em;
    color: #667eea;
    font-weight: bold;
    flex-shrink: 0;
}

/* Stat Card Styles */
.stat-card {
    background: linear-gradient(135deg, #667eea15, #764ba215);
    border: 2px solid #667eea;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin: 15px 0;
}

.stat-card h2 {
    margin: 0;
}

.stat-card p {
    margin: 10px 0 0 0;
    font-size: 0.95em;
    color: #4a5568;
}
