/* ========================================
   AI WORKSHOP PRESENTATION - STYLES
   ======================================== */

:root {
    /* Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);

    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);

    --accent-blue: #4f8cff;
    --accent-purple: #a855f7;
    --accent-cyan: #06b6d4;
    --accent-green: #10b981;
    --accent-orange: #f97316;
    --accent-red: #ef4444;
    --accent-pink: #ec4899;

    --gradient-1: linear-gradient(135deg, #4f8cff 0%, #a855f7 100%);
    --gradient-2: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
    --gradient-3: linear-gradient(135deg, #f97316 0%, #ec4899 100%);

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(79, 140, 255, 0.3);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow: hidden;
    min-height: 100vh;
}

/* ========================================
   PRESENTATION CONTAINER
   ======================================== */

.presentation-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: var(--bg-primary);
}

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

.progress-fill {
    height: 100%;
    background: var(--gradient-1);
    width: 9%;
    transition: width var(--transition-normal);
}

/* Navigation */
.nav-controls {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 100;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-blue);
    transform: scale(1.1);
}

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

.nav-btn svg {
    width: 20px;
    height: 20px;
}

.slide-counter {
    font-size: 0.9rem;
    color: var(--text-secondary);
    min-width: 60px;
    text-align: center;
    font-weight: 500;
}

/* Slide Dots */
.slide-dots {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 100;
}

.slide-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.slide-dot:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.3);
}

.slide-dot.active {
    background: var(--accent-blue);
    transform: scale(1.2);
    box-shadow: 0 0 10px var(--accent-blue);
}

/* ========================================
   SLIDES
   ======================================== */

.slides-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2rem 4rem 6rem 4rem;
    overflow: hidden;
}

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

.slide.prev {
    transform: translateX(-100px);
}

.slide-content {
    max-width: 1400px;
    width: 100%;
    height: auto;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    z-index: 1;
    overflow-y: auto;
    padding-bottom: 1rem;
}

/* ========================================
   TITLE SLIDE (Slide 1)
   ======================================== */

.slide-1 {
    background: radial-gradient(ellipse at center, #1a1a2e 0%, #0a0a0f 100%);
}

.neural-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(79, 140, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.05) 0%, transparent 70%);
    animation: pulseBackground 8s ease-in-out infinite;
}

@keyframes pulseBackground {

    0%,
    100% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
    }
}

.floating-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.title-slide {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(79, 140, 255, 0.1);
    border: 1px solid rgba(79, 140, 255, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.main-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

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

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

.subtitle {
    font-size: clamp(1.25rem, 2.5vw, 2rem);
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.tagline {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    padding: 0.75rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.presenter-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.presenter-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.presenter-avatar svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.presenter-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.presenter-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.scroll-indicator {
    display: none;
    visibility: hidden;
}

.scroll-indicator svg {
    width: 20px;
    height: 20px;
    animation: bounceRight 1.5s ease-in-out infinite;
}

@keyframes bounceRight {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(5px);
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */

.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
}

.slide.active .animate-slide-up {
    animation: slideUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.1s !important;
}

.delay-2 {
    animation-delay: 0.2s !important;
}

.delay-3 {
    animation-delay: 0.3s !important;
}

.delay-4 {
    animation-delay: 0.4s !important;
}

.delay-5 {
    animation-delay: 0.5s !important;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    opacity: 0;
}

.slide.active .animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* ========================================
   SLIDE 2 - Magic vs Mechanics
   ======================================== */

.section-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(79, 140, 255, 0.15);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.section-badge.industry {
    background: rgba(249, 115, 22, 0.15);
    color: var(--accent-orange);
}

.section-badge.case-study {
    background: rgba(168, 85, 247, 0.15);
    color: var(--accent-purple);
}

.section-badge.conclusion {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-green);
}

.slide-headline {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.slide-subheadline {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.highlight {
    color: var(--accent-blue);
}

.highlight-red {
    color: var(--accent-red);
}

.highlight-orange {
    color: var(--accent-orange);
}

.highlight-green {
    color: var(--accent-green);
}

.highlight-blue {
    color: var(--accent-cyan);
}

.highlight-purple {
    color: var(--accent-purple);
}

/* Split Screen */
.split-screen {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.split-left,
.split-right {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
}

.split-left h3,
.split-right h3 {
    font-size: 1.5rem;
    margin: 1rem 0;
}

.magic-side {
    background: rgba(239, 68, 68, 0.05);
    border-color: rgba(239, 68, 68, 0.2);
}

.mechanics-side {
    background: rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.2);
}

.icon-container {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.crossed-out .cross-line {
    position: absolute;
    width: 140%;
    height: 4px;
    background: var(--accent-red);
    transform: rotate(-45deg);
    border-radius: 2px;
}

.magic-icon {
    position: relative;
    font-size: 3rem;
}

.sparkle {
    position: absolute;
    font-size: 1.5rem;
    animation: sparkle 2s ease-in-out infinite;
}

.s1 {
    top: -20px;
    left: -10px;
    animation-delay: 0s;
}

.s2 {
    top: -10px;
    right: -20px;
    animation-delay: 0.3s;
}

.s3 {
    bottom: 0;
    left: -20px;
    animation-delay: 0.6s;
}

@keyframes sparkle {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.wizard-hat {
    font-size: 4rem;
}

.wand {
    position: absolute;
    bottom: -10px;
    right: -10px;
    font-size: 2rem;
    animation: waveWand 1s ease-in-out infinite;
}

@keyframes waveWand {

    0%,
    100% {
        transform: rotate(-10deg);
    }

    50% {
        transform: rotate(10deg);
    }
}

.mechanics-icon {
    position: relative;
    font-size: 3rem;
}

.gear {
    font-size: 3rem;
}

.gear-1 {
    animation: rotateGear 4s linear infinite;
}

.gear-2 {
    font-size: 2rem;
    position: absolute;
    top: -10px;
    right: -15px;
    animation: rotateGearReverse 3s linear infinite;
}

@keyframes rotateGear {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes rotateGearReverse {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

.divider-line {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.divider-line::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 80%;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.vs-badge {
    background: var(--bg-secondary);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 1;
}

.myth-text,
.reality-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 4px;
    color: var(--accent-green);
    font-size: 0.85rem;
    margin: 0.1rem;
}

.goal-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(79, 140, 255, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    border: 1px solid rgba(79, 140, 255, 0.2);
    border-radius: var(--radius-lg);
    margin-top: 2rem;
}

.goal-icon {
    font-size: 2rem;
}

.goal-banner p {
    color: var(--text-secondary);
}

/* Speaker Notes */
.speaker-notes {
    position: absolute;
    bottom: 5rem;
    left: 4rem;
    right: 4rem;
    z-index: 50;
}

.notes-toggle {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.notes-toggle:hover {
    background: rgba(0, 0, 0, 0.7);
    color: var(--text-secondary);
}

.notes-content {
    display: none;
    margin-top: 0.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.7);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
    max-width: 600px;
}

.notes-content.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* ========================================
   SLIDE 3 - Roadmap
   ======================================== */

.roadmap-container {
    display: flex;
    gap: 0;
    margin: 2rem 0;
    overflow-x: auto;
    padding: 1rem 0;
}

.roadmap-chevron {
    flex: 1;
    min-width: 180px;
    position: relative;
    opacity: 0;
    transform: translateX(-20px);
}

.slide.active .roadmap-chevron {
    animation: slideInChevron 0.5s ease forwards;
}

.slide.active .roadmap-chevron[data-step="1"] {
    animation-delay: 0.1s;
}

.slide.active .roadmap-chevron[data-step="2"] {
    animation-delay: 0.2s;
}

.slide.active .roadmap-chevron[data-step="3"] {
    animation-delay: 0.3s;
}

.slide.active .roadmap-chevron[data-step="4"] {
    animation-delay: 0.4s;
}

.slide.active .roadmap-chevron[data-step="5"] {
    animation-delay: 0.5s;
}

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

.chevron-content {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1.5rem 1rem;
    text-align: center;
    position: relative;
    transition: all var(--transition-fast);
    margin-right: -20px;
}

.roadmap-chevron:hover .chevron-content {
    background: var(--bg-card-hover);
    border-color: var(--accent-blue);
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    background: var(--gradient-1);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.chevron-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.chevron-content p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.chevron-arrow {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 15px solid rgba(79, 140, 255, 0.3);
    z-index: 2;
}

.analogy-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: var(--radius-lg);
    margin-top: 2rem;
}

.car-icon {
    font-size: 3rem;
}

.analogy-card p {
    color: var(--text-secondary);
}

/* ========================================
   SLIDE 4 - Matrix
   ======================================== */

.matrix-section {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

.matrix-container {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: 1fr auto;
    gap: 1rem;
}

.y-axis {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.axis-label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.high-label,
.low-label {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.matrix-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0.5rem;
}

.quadrant {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    transition: all var(--transition-fast);
}

.quadrant:hover {
    transform: scale(1.02);
}

.quadrant-content h4 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.quadrant-content p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.sweet-spot {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
    border-color: var(--accent-green);
}

.sweet-spot .star-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.pulse-ring {
    position: absolute;
    inset: -5px;
    border: 2px solid var(--accent-green);
    border-radius: var(--radius-md);
    animation: pulseRing 2s ease-out infinite;
}

@keyframes pulseRing {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(1.1);
    }
}

.x-axis {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
}

.insights-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.insight-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.card-icon {
    font-size: 1.5rem;
}

.insight-card h4 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

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

.insight-card.trap {
    border-color: rgba(239, 68, 68, 0.3);
}

.insight-card.strategy {
    border-color: rgba(16, 185, 129, 0.3);
}

/* ========================================
   SLIDE 5 - Manufacturing
   ======================================== */

.industry-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.factory-visual {
    position: relative;
}

.factory-scene {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.machine {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    position: relative;
}

.machine-body {
    width: 80px;
    height: 100px;
    background: linear-gradient(180deg, #374151 0%, #1f2937 100%);
    border-radius: var(--radius-sm);
    border: 2px solid #4b5563;
    position: relative;
}

.machine-body::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 40%;
    background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
    border-radius: 4px;
}

.machine-body::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 20%;
    background: #374151;
    border-radius: 2px;
}

.health-bar {
    width: 100%;
    height: 8px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.health-fill {
    height: 100%;
    background: var(--accent-green);
    border-radius: 4px;
    transition: width 1s ease;
}

.health-fill.warning {
    background: var(--accent-orange);
    animation: warningPulse 1s ease-in-out infinite;
}

@keyframes warningPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

.health-text {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    white-space: nowrap;
    color: var(--text-secondary);
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: absolute;
    top: -5px;
    right: -5px;
}

.status-indicator.good {
    background: var(--accent-green);
    box-shadow: 0 0 10px var(--accent-green);
}

.status-indicator.warning {
    background: var(--accent-orange);
    box-shadow: 0 0 10px var(--accent-orange);
    animation: blink 1s ease-in-out infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.alert-popup {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(249, 115, 22, 0.9);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.65rem;
    white-space: nowrap;
    animation: popIn 0.5s ease, float 2s ease-in-out infinite;
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.industry-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pain-point-card,
.solution-card,
.outcome-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.card-header h4 {
    font-size: 0.85rem;
    font-weight: 600;
}

.card-header .icon {
    font-size: 1.25rem;
}

.card-header.pain {
    color: var(--accent-red);
}

.card-header.solution {
    color: var(--accent-blue);
}

.card-header.outcome {
    color: var(--accent-green);
}

.stat-highlight {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.3rem 0.75rem;
    background: rgba(239, 68, 68, 0.1);
    color: var(--accent-red);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.tech-tags {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.tech-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(79, 140, 255, 0.1);
    color: var(--accent-blue);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.metric-badge {
    margin-top: auto;
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-lg);
}

.metric-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.metric-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ========================================
   SHORTCUTS HELP
   ======================================== */

.shortcuts-help {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.shortcuts-help.show {
    display: flex;
}

.shortcuts-content {
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 400px;
}

.shortcuts-content h3 {
    margin-bottom: 1.5rem;
}

.shortcut {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

kbd {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    font-family: monospace;
    font-size: 0.85rem;
}

.shortcuts-content button {
    margin-top: 1.5rem;
    width: 100%;
    padding: 0.75rem;
    background: var(--gradient-1);
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.shortcuts-content button:hover {
    transform: scale(1.02);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    .slide {
        padding: 2rem;
    }

    .split-screen {
        grid-template-columns: 1fr;
    }

    .divider-line {
        display: none;
    }

    .matrix-section {
        grid-template-columns: 1fr;
    }

    .industry-layout {
        grid-template-columns: 1fr;
    }

    .roadmap-container {
        flex-wrap: wrap;
    }

    .roadmap-chevron {
        min-width: calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .nav-controls {
        bottom: 1rem;
        padding: 0.5rem 1rem;
    }

    .slide-dots {
        display: none;
    }

    .speaker-notes {
        display: none;
    }

    .roadmap-chevron {
        min-width: 100%;
    }
}