/* 
    Minimalist Apple Keynote Style
    Theme: Soft White, Clean Typography, Subtle Animations
*/

:root {
    --bg-main: #ffffff;
    --bg-subtle: #f5f5f7;
    --text-main: #1d1d1f;
    --text-muted: #86868b;
    --accent-blue: #0066cc;
    --accent-gradient: linear-gradient(135deg, #007aff, #5856d6);
    --border-color: #e5e5ea;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-sans);
    overflow: hidden;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
}

/* Presentation Container */
.presentation {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: var(--bg-main);
}

/* Navigation & Progress */
.nav-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.nav-btn {
    background: transparent;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.nav-btn:hover {
    background: var(--bg-subtle);
    color: var(--accent-blue);
}

.slide-counter {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.progress-bar-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--bg-subtle);
    z-index: 100;
}

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

/* Slides Engine */
.slides-wrapper {
    position: relative;
    width: 85%;
    max-width: 1100px;
    height: 75%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform: scale(0.98) translateY(10px);
    display: flex;
    flex-direction: column;
}

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

.slide.prev {
    transform: scale(1.02) translateY(-10px);
}

/* Layout Utilities */
.center-layout {
    justify-content: center;
    align-items: center;
    text-align: center;
}

.split-layout {
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

.slide-content {
    width: 100%;
}

.w-full { width: 100%; }

/* Typography */
h1, h2, h3, h4 {
    letter-spacing: -0.02em;
    font-weight: 700;
}

.eyebrow {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.huge-question {
    font-size: 5rem;
    margin-bottom: 2rem;
}

.huge-quote {
    font-size: 4rem;
    line-height: 1.2;
    font-style: italic;
}

.closing-quote {
    font-size: 3rem;
    line-height: 1.3;
    font-weight: 600;
}

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

.text-gradient-blue {
    background: linear-gradient(135deg, #007aff, #00c6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lead {
    font-size: 1.8rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.text-huge { font-size: 2.5rem; }
.text-4xl { font-size: 3rem; }
.text-3xl { font-size: 2.5rem; }
.text-2xl { font-size: 2rem; }
.text-xl { font-size: 1.5rem; }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--accent-blue); }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.italic { font-style: italic; }
.text-center { text-align: center; }
.text-strike { text-decoration: line-through; color: var(--text-muted); font-size: 2rem;}

/* Spacing */
.mt-s { margin-top: 1rem; }
.mt-m { margin-top: 1.5rem; }
.mt-l { margin-top: 2.5rem; }
.mt-xl { margin-top: 4rem; }
.mb-s { margin-bottom: 1rem; }
.mb-m { margin-bottom: 1.5rem; }
.mb-l { margin-bottom: 2.5rem; }
.mb-xl { margin-bottom: 4rem; }

/* Components */
.speaker-meta {
    font-size: 1.2rem;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--bg-subtle);
    border-radius: 12px;
}

.speaker-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 0.8rem;
    border: 2px solid var(--accent-blue);
    box-shadow: var(--shadow-sm);
}

.speaker-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker-photo {
    flex-shrink: 0;
}

.speaker-photo img {
    width: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    border: 4px solid white;
}

.speaker-details {
    flex: 1;
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
    max-width: 600px;
    margin-inline: auto;
}

.option-item {
    font-size: 2rem;
    padding: 1.5rem 2rem;
    border-radius: 16px;
    background: var(--bg-subtle);
    transition: all 0.3s;
}

.option-item span {
    font-weight: 700;
    margin-right: 1rem;
    color: var(--text-muted);
}

.highlight-option {
    background: var(--text-main);
    color: white;
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}
.highlight-option span { color: white; }

.minimal-list {
    list-style: none;
    font-size: 1.8rem;
}
.minimal-list li {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.icon-accent { color: var(--accent-blue); }

.callout {
    padding: 2rem;
    border-radius: 16px;
    border-left: 6px solid var(--accent-blue);
    background: var(--bg-subtle);
}

/* Grids & Layouts */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.comparison-grid.centered {
    max-width: 900px;
    margin-inline: auto;
}
.comp-box {
    padding: 3rem;
    border-radius: 24px;
    background: var(--bg-subtle);
    font-size: 1.5rem;
}
.comp-box p { margin-bottom: 1rem; }
.comp-box.fear { opacity: 0.7; }
.comp-box.reality {
    background: white;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.gap-l { gap: 3rem; }

.grid-item, .feature-card, .challenge-item {
    padding: 2rem;
    font-size: 1.6rem;
    font-weight: 500;
    background: var(--bg-subtle);
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Timelines & Steps */
.horizontal-timeline {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.evolution-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.step {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 2rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    opacity: 0.5;
}
.step.active-step {
    opacity: 1;
    background: var(--bg-subtle);
}
.step-version {
    font-weight: 700;
    width: 200px;
    color: var(--text-muted);
}
.step-version.highlight { color: var(--accent-blue); }

.shift-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
}
.shift-arrow { width: 48px; height: 48px; }

/* Pills & Tags */
.pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.pill-group.large { gap: 1.5rem; }
.pill-group.justify-center { justify-content: center; }

.pill {
    padding: 0.8rem 1.5rem;
    background: var(--bg-subtle);
    border-radius: 50px;
    font-weight: 500;
    font-size: 1.2rem;
}
.pill-group.large .pill {
    padding: 1rem 2rem;
    font-size: 1.5rem;
}
.pill.outline {
    background: transparent;
    border: 2px solid var(--border-color);
}
.pill.accent-fill {
    background: var(--text-main);
    color: white;
}

/* Mockups & UI Elements */
.terminal-mockup {
    background: #1e1e1e;
    border-radius: 12px;
    overflow: hidden;
    color: white;
    font-family: monospace;
    box-shadow: var(--shadow-md);
    max-width: 800px;
}
.terminal-header {
    background: #333;
    padding: 0.8rem 1rem;
    display: flex;
    gap: 8px;
}
.dot {
    width: 12px; height: 12px; border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }
.terminal-body {
    padding: 2rem;
    font-size: 1.5rem;
}
.prompt-text { color: #50fa7b; margin-bottom: 1rem; }
.response-text { color: #f8f8f2; }

.tools-grid {
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}
.tools-grid span {
    padding: 1rem 2rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
}

.workflow-flowchart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.flow-item {
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 600;
    background: var(--bg-subtle);
}
.flow-item.ai-assisted {
    background: #e8f2ff;
    color: var(--accent-blue);
    border: 2px solid #b3d4ff;
}
.flow-arrow { width: 24px; height: 24px; }

.divider {
    width: 100px;
    height: 4px;
    background: var(--accent-blue);
    margin: 2rem auto;
}

.danger-list {
    list-style: none;
    font-size: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.danger-list li {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: #d32f2f;
    font-weight: 600;
}
.danger-list i { width: 32px; height: 32px; }

.solid-box {
    padding: 2rem;
    background: var(--bg-subtle);
    border-radius: 16px;
    display: inline-block;
}

.question-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.question-list li {
    padding: 1.5rem 2rem;
    background: var(--bg-subtle);
    border-radius: 12px;
}

.trend-indicator {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
.trend-indicator i { width: 40px; height: 40px; }
.trend-indicator.down { background: #ffebee; color: #d32f2f; }
.trend-indicator.up { background: #e8f5e9; color: #2e7d32; }

.large-list {
    list-style: none;
    font-size: 2.5rem;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.large-list li { color: var(--text-muted); text-decoration: line-through; }

.jobs-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.job-item {
    font-size: 2rem;
    font-weight: 600;
    padding: 2rem;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    transition: 0.3s;
}
.job-item:hover { border-color: var(--accent-blue); background: var(--bg-subtle); }

.role-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.role-icon { width: 48px; height: 48px; color: var(--accent-blue); }
.role-icon.huge { width: 80px; height: 80px; }

.badge-large {
    display: inline-block;
    padding: 1.5rem 3rem;
    border-radius: 50px;
}
.bg-accent-light { background: #e8f2ff; }

.bold-list {
    list-style: none;
    font-size: 2.5rem;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.icon-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: var(--bg-subtle);
    border-radius: 20px;
    width: 150px;
    font-size: 1.2rem;
    font-weight: 600;
}
.icon-card i { width: 40px; height: 40px; color: var(--text-muted); }

.semester-block {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.semester-title {
    font-size: 1.5rem;
    font-weight: 700;
    width: 200px;
}

.social-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}
.social-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 1.5rem 2.5rem;
    border: 2px solid var(--border-color);
    border-radius: 16px;
}

.takeaway-list {
    list-style: none;
    font-size: 2rem;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.takeaway-list .check { margin-right: 1rem; }

/* AI Models Slide */
.model-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
}
.model-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: white;
}
.model-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.model-icon i {
    width: 32px;
    height: 32px;
    color: white;
}
.model-icon.claude { background: linear-gradient(135deg, #d38356, #b04632); }
.model-icon.openai { background: linear-gradient(135deg, #74a89c, #10a37f); }
.model-icon.gemini { background: linear-gradient(135deg, #4285f4, #ea4335, #fbbc05); }
.model-icon.deepseek { background: linear-gradient(135deg, #0052cc, #003399); }

/* AI Agent Products */
.model-icon.github-copilot { background: linear-gradient(135deg, #24292e, #000000); }
.model-icon.opencode { background: linear-gradient(135deg, #4b5563, #1f2937); }
.model-icon.openclaw { background: linear-gradient(135deg, #f59e0b, #d97706); }
.model-icon.cursor-ide { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }

/* Responsive Design for Mobile (HP) */
@media screen and (max-width: 768px) {
    /* Adjust container and typography */
    .slides-wrapper {
        width: 95%;
        height: 88%;
    }
    
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.2rem; margin-bottom: 1.5rem; }
    .section-title { font-size: 1.8rem; margin-bottom: 1rem; }
    .huge-question { font-size: 2.2rem; }
    .huge-quote { font-size: 1.8rem; }
    .closing-quote { font-size: 1.6rem; }
    
    .text-huge { font-size: 1.6rem; }
    .text-4xl { font-size: 1.6rem; }
    .text-3xl { font-size: 1.4rem; }
    .text-2xl { font-size: 1.2rem; }
    .text-xl { font-size: 1.1rem; }
    .lead { font-size: 1.1rem; margin-bottom: 1rem; }
    .eyebrow { font-size: 0.9rem; margin-bottom: 0.5rem; }
    
    /* Layouts */
    .grid-2x2 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .comp-box {
        padding: 1.2rem;
        font-size: 1.1rem;
    }
    
    /* Fix inline flex for Profil Slide */
    .slide-content[style*="display: flex"] {
        flex-direction: column !important;
        gap: 1.5rem !important;
        text-align: center;
        align-items: center !important;
    }
    
    .speaker-photo img {
        width: 180px;
        height: 180px;
    }

    .speaker-details {
        text-align: center;
    }
    
    .speaker-details ul {
        text-align: left;
        margin-top: 1rem !important;
    }
    
    /* Flow & Lists */
    .shift-container {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .shift-arrow { transform: rotate(90deg); }
    
    .pill-group { justify-content: center; }
    .pill { font-size: 0.9rem; padding: 0.5rem 1rem; }
    .pill-group.large .pill { font-size: 1rem; padding: 0.6rem 1.2rem; }
    
    .terminal-body { font-size: 1rem; padding: 1rem; }
    
    .model-card {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem;
        gap: 1rem;
    }
    
    .jobs-list { grid-template-columns: 1fr; gap: 1rem; }
    .job-item { padding: 1rem; font-size: 1.2rem; }
    
    .icon-grid { justify-content: center; gap: 1rem; }
    .icon-card { width: 100px; padding: 1rem; font-size: 0.9rem; }
    
    .semester-block { flex-direction: column; gap: 1rem; text-align: center; }
    .semester-title { width: auto; font-size: 1.2rem; }
    
    .danger-list, .large-list, .bold-list, .minimal-list { font-size: 1.1rem; gap: 0.8rem; }
    .minimal-list[style*="font-size"] { font-size: 1rem !important; }
    
    /* Navigation Controls */
    .nav-controls {
        bottom: 10px;
        padding: 0.4rem 1rem;
        gap: 1rem;
    }
    .nav-btn { width: 35px; height: 35px; }
    
    /* Overrides for spans spanning multiple columns */
    .comp-box[style*="grid-column"] {
        grid-column: span 1 !important;
    }
    
    /* Ensure content can scroll if it exceeds screen height on mobile */
    .slide-content {
        max-height: 80vh;
        overflow-y: auto;
        padding: 10px 5px 60px 5px; /* bottom padding for nav */
    }
    
    .slide-content::-webkit-scrollbar {
        width: 4px;
    }
    .slide-content::-webkit-scrollbar-thumb {
        background-color: var(--border-color);
        border-radius: 4px;
    }
}
