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

:root {
    /* Color Palette */
    --primary-color: #2563eb;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --danger-color: #ef4444;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --card-bg: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-success: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --gradient-warning: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-info: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

body {
    font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: url('../images/background.jpg') center/cover no-repeat fixed;
    color: var(--text-primary);
    overflow: hidden;
    direction: rtl;
    line-height: 1.6;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    z-index: -1;
    backdrop-filter: brightness(1.1);
}

/* ==========================================
   Progress Bar
   ========================================== */
.progress-bar {
    position: fixed;
    top: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-success);
    z-index: 1000;
    transition: width var(--transition-normal);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

/* ==========================================
   Presentation Container
   ========================================== */
.presentation-container {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* ==========================================
   Slides
   ========================================== */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    transition: all var(--transition-slow);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px 120px;
}

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

.slide-content {
    max-width: 1400px;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    padding: 60px 80px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.25);
    backdrop-filter: blur(12px) brightness(1.1);
    -webkit-backdrop-filter: blur(12px) brightness(1.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow-y: auto;
    animation: slideIn var(--transition-slow) ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   Title Slide (Slide 1)
   ========================================== */
.title-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: transparent;
}

.logo-section {
    margin-bottom: 40px;
    animation: fadeInDown 0.8s ease-out;
}

.logo-icon {
    font-size: 80px;
    color: #667eea;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
    filter: drop-shadow(0 4px 6px rgba(102, 126, 234, 0.3));
}

.company-logo {
    max-width: 350px;
    height: auto;
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease-out;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2));
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.company-name {
    font-size: 28px;
    color: #1e293b;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 0 2px 6px rgba(255, 255, 255, 0.8), 0 2px 8px rgba(0, 0, 0, 0.2);
}

.main-title {
    font-size: 64px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 30px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.8), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 36px;
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    text-shadow: 0 2px 6px rgba(255, 255, 255, 0.8), 0 2px 8px rgba(0, 0, 0, 0.2);
}

.title-decoration {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 40px 0;
    animation: fadeIn 0.8s ease-out 0.6s both;
}

.decoration-line {
    width: 150px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.decoration-icon {
    font-size: 32px;
    color: var(--primary-color);
    animation: rotate 3s linear infinite;
}

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

.presentation-info {
    font-size: 20px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ==========================================
   Slide Title & Subtitle
   ========================================== */
.slide-title {
    font-size: 48px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 3px solid rgba(255, 255, 255, 0.5);
    animation: slideInRight 0.6s ease-out;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
}

.slide-title i {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slide-subtitle {
    font-size: 22px;
    color: #1e293b;
    margin-bottom: 40px;
    animation: fadeIn 0.6s ease-out 0.2s both;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==========================================
   Challenge Cards (Slide 2)
   ========================================== */
.challenge-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.challenge-card {
    background: rgba(255, 255, 255, 0.25);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
    backdrop-filter: blur(10px) brightness(1.05);
    -webkit-backdrop-filter: blur(10px) brightness(1.05);
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(20px);
}

.slide.active .challenge-card[data-animation="1"] {
    animation: fadeInUp 0.5s ease-out 0.3s both;
}

.slide.active .challenge-card[data-animation="2"] {
    animation: fadeInUp 0.5s ease-out 0.5s both;
}

.slide.active .challenge-card[data-animation="3"] {
    animation: fadeInUp 0.5s ease-out 0.7s both;
}

.slide.active .challenge-card[data-animation="4"] {
    animation: fadeInUp 0.5s ease-out 0.9s both;
}

.challenge-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.challenge-icon {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 32px;
    color: white;
}

.challenge-card h3 {
    font-size: 24px;
    color: #0f172a;
    margin-bottom: 10px;
    font-weight: 800;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.challenge-card p {
    font-size: 18px;
    color: #1e293b;
    line-height: 1.6;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

/* ==========================================
   Key Message Box
   ========================================== */
.key-message {
    background: rgba(255, 255, 255, 0.2);
    padding: 30px 40px;
    border-radius: 20px;
    border-right: 5px solid var(--primary-color);
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    animation: fadeIn 0.6s ease-out 1.2s both;
    backdrop-filter: blur(10px) brightness(1.05);
    -webkit-backdrop-filter: blur(10px) brightness(1.05);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.key-message i {
    font-size: 36px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.key-message p {
    font-size: 22px;
    color: #0f172a;
    font-weight: 700;
    line-height: 1.8;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.key-message.warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(239, 68, 68, 0.1) 100%);
    border-right-color: var(--accent-color);
}

.key-message.warning i {
    color: var(--accent-color);
}

.key-message.success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
    border-right-color: var(--secondary-color);
}

.key-message.success i {
    color: var(--secondary-color);
}

.key-message.info {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border-right-color: var(--primary-color);
}

/* ==========================================
   Process List (Slides 3 & 4)
   ========================================== */
.process-list {
    margin: 40px 0;
}

.process-item {
    background: rgba(255, 255, 255, 0.25);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
    backdrop-filter: blur(10px) brightness(1.05);
    -webkit-backdrop-filter: blur(10px) brightness(1.05);
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateX(-20px);
}

.slide.active .process-item[data-animation="1"] {
    animation: slideInRight 0.5s ease-out 0.3s both;
}

.slide.active .process-item[data-animation="2"] {
    animation: slideInRight 0.5s ease-out 0.5s both;
}

.slide.active .process-item[data-animation="3"] {
    animation: slideInRight 0.5s ease-out 0.7s both;
}

.process-item:hover {
    transform: translateX(-5px);
    box-shadow: var(--shadow-lg);
}

.process-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.process-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 8px 20px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
}

.process-badge.stopped {
    background: var(--gradient-warning);
}

.process-badge.designing {
    background: var(--gradient-info);
}

.process-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 10px;
}

.status-active {
    color: var(--secondary-color);
    background: rgba(16, 185, 129, 0.1);
}

.status-stopped {
    color: var(--accent-color);
    background: rgba(245, 158, 11, 0.1);
}

.process-item h3 {
    font-size: 24px;
    color: #0f172a;
    margin-bottom: 10px;
    font-weight: 800;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.process-value {
    font-size: 18px;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.process-value i {
    color: var(--accent-color);
}

.improvement-reason {
    font-size: 16px;
    color: #1e293b;
    line-height: 1.8;
    background: rgba(255, 255, 255, 0.3);
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
    font-weight: 600;
}

.improvement-reason strong {
    color: #0f172a;
    font-weight: 800;
}

/* ==========================================
   Improvement Cycle Chart (Slide 4)
   ========================================== */
.improvement-cycle {
    margin: 40px auto;
    max-width: 500px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
    backdrop-filter: blur(10px) brightness(1.05);
    -webkit-backdrop-filter: blur(10px) brightness(1.05);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

/* ==========================================
   Future Process Cards (Slide 5)
   ========================================== */
.future-processes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.future-process-card {
    background: rgba(255, 255, 255, 0.25);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
    backdrop-filter: blur(10px) brightness(1.05);
    -webkit-backdrop-filter: blur(10px) brightness(1.05);
    border: 1px solid rgba(255, 255, 255, 0.35);
    text-align: center;
    transition: all var(--transition-normal);
    opacity: 0;
    transform: scale(0.9);
}

.slide.active .future-process-card[data-animation="1"] {
    animation: zoomIn 0.5s ease-out 0.3s both;
}

.slide.active .future-process-card[data-animation="2"] {
    animation: zoomIn 0.5s ease-out 0.5s both;
}

.slide.active .future-process-card[data-animation="3"] {
    animation: zoomIn 0.5s ease-out 0.7s both;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.future-process-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.progress-circle {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 25px;
}

.progress-circle svg {
    transform: rotate(-90deg);
    width: 140px;
    height: 140px;
}

.progress-circle circle {
    fill: none;
    stroke-width: 10;
    stroke-linecap: round;
}

.progress-circle circle:first-child {
    stroke: var(--border-color);
}

.progress-circle circle:last-child {
    stroke: url(#gradient);
    stroke-dasharray: 408;
    stroke-dashoffset: 408;
    transition: stroke-dashoffset 1s ease-in-out;
}

.slide.active .progress-circle[data-progress="60"] circle:last-child {
    stroke-dashoffset: calc(408 - (408 * 60) / 100);
}

.slide.active .progress-circle[data-progress="10"] circle:last-child {
    stroke-dashoffset: calc(408 - (408 * 10) / 100);
}

.slide.active .progress-circle[data-progress="100"] circle:last-child {
    stroke-dashoffset: 0;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.future-process-card h3 {
    font-size: 22px;
    color: #0f172a;
    margin: 15px 0 10px;
    font-weight: 800;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.future-process-card p {
    font-size: 16px;
    color: #1e293b;
    font-weight: 600;
}

/* ==========================================
   PM4 Features Grid
   ========================================== */
.pm4-features {
    background: rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 20px;
    margin: 30px 0;
    backdrop-filter: blur(10px) brightness(1.05);
    -webkit-backdrop-filter: blur(10px) brightness(1.05);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.pm4-features h3 {
    font-size: 26px;
    color: #0f172a;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 800;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.pm4-features h3 i {
    color: var(--accent-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.3);
    padding: 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
    color: #0f172a;
    font-weight: 700;
    box-shadow: 0 4px 16px 0 rgba(31, 38, 135, 0.15);
    backdrop-filter: blur(8px) brightness(1.05);
    -webkit-backdrop-filter: blur(8px) brightness(1.05);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(10px);
}

.slide.active .feature-item[data-animation="4"] {
    animation: fadeInUp 0.5s ease-out 0.9s both;
}

.slide.active .feature-item[data-animation="5"] {
    animation: fadeInUp 0.5s ease-out 1s both;
}

.slide.active .feature-item[data-animation="6"] {
    animation: fadeInUp 0.5s ease-out 1.1s both;
}

.slide.active .feature-item[data-animation="7"] {
    animation: fadeInUp 0.5s ease-out 1.2s both;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.feature-item i {
    font-size: 24px;
    color: var(--primary-color);
}

/* ==========================================
   Roadmap (Slide 6)
   ========================================== */
.roadmap {
    margin: 40px 0;
}

.roadmap-item {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding: 30px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
    backdrop-filter: blur(10px) brightness(1.05);
    -webkit-backdrop-filter: blur(10px) brightness(1.05);
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateX(20px);
}

.slide.active .roadmap-item[data-animation="1"] {
    animation: slideInLeft 0.5s ease-out 0.3s both;
}

.slide.active .roadmap-item[data-animation="2"] {
    animation: slideInLeft 0.5s ease-out 0.5s both;
}

.slide.active .roadmap-item[data-animation="3"] {
    animation: slideInLeft 0.5s ease-out 0.7s both;
}

.slide.active .roadmap-item[data-animation="4"] {
    animation: slideInLeft 0.5s ease-out 0.9s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.roadmap-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.roadmap-icon {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    flex-shrink: 0;
}

.roadmap-item.completed .roadmap-icon {
    background: var(--gradient-success);
    color: white;
}

.roadmap-item.in-progress .roadmap-icon {
    background: var(--gradient-info);
    color: white;
}

.roadmap-item.planned .roadmap-icon {
    background: rgba(100, 116, 139, 0.1);
    color: var(--text-secondary);
}

.roadmap-content h3 {
    font-size: 24px;
    color: #0f172a;
    margin-bottom: 10px;
    font-weight: 800;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.roadmap-content p {
    font-size: 18px;
    color: #1e293b;
    margin-bottom: 10px;
    font-weight: 600;
}

.roadmap-status {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.4);
    color: #0f172a;
}

/* ==========================================
   Achievements (Slide 7)
   ========================================== */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.achievement-card {
    background: rgba(255, 255, 255, 0.25);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
    backdrop-filter: blur(10px) brightness(1.05);
    -webkit-backdrop-filter: blur(10px) brightness(1.05);
    border: 1px solid rgba(255, 255, 255, 0.35);
    text-align: center;
    transition: all var(--transition-normal);
    opacity: 0;
    transform: scale(0.9);
}

.slide.active .achievement-card[data-animation="1"] {
    animation: zoomIn 0.5s ease-out 0.3s both;
}

.slide.active .achievement-card[data-animation="2"] {
    animation: zoomIn 0.5s ease-out 0.5s both;
}

.achievement-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.chart-container {
    height: 250px;
    margin-bottom: 25px;
}

.achievement-card h3 {
    font-size: 26px;
    color: #0f172a;
    margin-bottom: 15px;
    font-weight: 800;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.before-after {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 18px;
    color: #1e293b;
    font-weight: 600;
}

.before-after .before {
    color: var(--danger-color);
    font-weight: 600;
}

.before-after .after {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 20px;
}

.before-after i {
    color: var(--primary-color);
}

/* ==========================================
   Stats Summary
   ========================================== */
.stats-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.stat-item {
    background: var(--gradient-primary);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    color: white;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(20px);
}

.slide.active .stat-item[data-animation="3"] {
    animation: fadeInUp 0.5s ease-out 0.7s both;
}

.slide.active .stat-item[data-animation="4"] {
    animation: fadeInUp 0.5s ease-out 0.8s both;
}

.slide.active .stat-item[data-animation="5"] {
    animation: fadeInUp 0.5s ease-out 0.9s both;
}

.slide.active .stat-item[data-animation="6"] {
    animation: fadeInUp 0.5s ease-out 1s both;
}

.stat-item:hover {
    transform: translateY(-5px) scale(1.05);
}

.stat-number {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    font-weight: 500;
    opacity: 0.95;
}

/* ==========================================
   Summary Slide (Slide 8)
   ========================================== */
.summary-slide {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.key-points {
    margin: 40px 0;
}

.key-point {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
    backdrop-filter: blur(10px) brightness(1.05);
    -webkit-backdrop-filter: blur(10px) brightness(1.05);
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateX(-20px);
}

.slide.active .key-point[data-animation="1"] {
    animation: slideInRight 0.5s ease-out 0.3s both;
}

.slide.active .key-point[data-animation="2"] {
    animation: slideInRight 0.5s ease-out 0.5s both;
}

.slide.active .key-point[data-animation="3"] {
    animation: slideInRight 0.5s ease-out 0.7s both;
}

.slide.active .key-point[data-animation="4"] {
    animation: slideInRight 0.5s ease-out 0.9s both;
}

.key-point:hover {
    transform: translateX(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.point-number {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    flex-shrink: 0;
}

.point-content h3 {
    font-size: 24px;
    color: #0f172a;
    margin-bottom: 10px;
    font-weight: 800;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.point-content p {
    font-size: 18px;
    color: #1e293b;
    line-height: 1.6;
    font-weight: 600;
}

/* ==========================================
   CTA Section
   ========================================== */
.cta-section {
    margin-top: 50px;
}

.cta-box {
    background: var(--gradient-success);
    padding: 50px;
    border-radius: 25px;
    text-align: center;
    color: white;
    box-shadow: var(--shadow-xl);
    animation: fadeInUp 0.6s ease-out 1.2s both;
}

.cta-box i {
    font-size: 64px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.cta-box h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.5;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.qa-text {
    font-size: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
}

/* ==========================================
   Navigation Controls
   ========================================== */
.controls {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.2);
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.3);
    backdrop-filter: blur(15px) brightness(1.1);
    -webkit-backdrop-filter: blur(15px) brightness(1.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    z-index: 100;
}

.control-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.control-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.control-btn:active {
    transform: scale(0.95);
}

.control-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.slide-indicator {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    padding: 0 20px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.current-slide {
    color: #2563eb;
    font-size: 24px;
    font-weight: 900;
}

/* ==========================================
   Fullscreen Button
   ========================================== */
.fullscreen-btn {
    position: fixed;
    bottom: 40px;
    left: 40px;
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: var(--gradient-info);
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    z-index: 100;
}

.fullscreen-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

/* ==========================================
   Help Button & Overlay
   ========================================== */
.help-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: var(--gradient-warning);
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    z-index: 100;
}

.help-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.help-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 200;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.help-overlay.active {
    display: flex;
    opacity: 1;
}

.help-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 50px;
    border-radius: 25px;
    max-width: 600px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    animation: zoomIn 0.3s ease-out;
}

.help-content h3 {
    font-size: 32px;
    color: #0f172a;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 800;
}

.help-content ul {
    list-style: none;
    margin-bottom: 30px;
}

.help-content li {
    font-size: 20px;
    color: #1e293b;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
}

kbd {
    background: var(--gradient-primary);
    color: white;
    padding: 5px 15px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    font-size: 16px;
    box-shadow: var(--shadow-sm);
}

.close-help {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 15px;
    background: var(--gradient-primary);
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.close-help:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 1200px) {
    .main-title { font-size: 48px; }
    .subtitle { font-size: 28px; }
    .slide-content { padding: 40px 50px; }
    .challenge-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .future-processes { grid-template-columns: 1fr; }
    .achievements-grid { grid-template-columns: 1fr; }
    .stats-summary { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .slide { padding: 40px 20px 100px; }
    .slide-content { padding: 30px 25px; }
    .main-title { font-size: 36px; }
    .subtitle { font-size: 22px; }
    .slide-title { font-size: 32px; }
    .controls { bottom: 20px; padding: 10px 20px; }
    .fullscreen-btn, .help-btn { bottom: 20px; width: 50px; height: 50px; font-size: 20px; }
    .fullscreen-btn { left: 20px; }
    .help-btn { right: 20px; }
}

/* ==========================================
   Process Flow Diagram (Slide 4)
   ========================================== */
.process-flow-diagram {
    margin: 30px 0;
}

.swim-lanes {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.swim-lane {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
    backdrop-filter: blur(10px) brightness(1.05);
    -webkit-backdrop-filter: blur(10px) brightness(1.05);
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateX(-20px);
}

.slide.active .swim-lane[data-animation="1"] {
    animation: slideInRight 0.5s ease-out 0.3s both;
}

.slide.active .swim-lane[data-animation="2"] {
    animation: slideInRight 0.5s ease-out 0.5s both;
}

.slide.active .swim-lane[data-animation="3"] {
    animation: slideInRight 0.5s ease-out 0.7s both;
}

.slide.active .swim-lane[data-animation="4"] {
    animation: slideInRight 0.5s ease-out 0.9s both;
}

.slide.active .swim-lane[data-animation="5"] {
    animation: slideInRight 0.5s ease-out 1.1s both;
}

.swim-lane:hover {
    transform: translateX(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.lane-header {
    background: var(--gradient-primary);
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.lane-header i {
    font-size: 20px;
}

.lane-steps {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.flow-step {
    background: rgba(255, 255, 255, 0.6);
    padding: 12px 18px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all var(--transition-normal);
    backdrop-filter: blur(8px);
}

.flow-step:hover {
    background: var(--gradient-info);
    color: white;
    transform: scale(1.05);
    border-color: transparent;
}

.flow-step i {
    font-size: 16px;
}

.flow-step.step-start {
    background: var(--gradient-success);
    color: white;
    border-color: transparent;
}

.flow-step.step-end {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

.flow-arrow {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 700;
}

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

.stat-box {
    background: rgba(255, 255, 255, 0.25);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
    backdrop-filter: blur(10px) brightness(1.05);
    -webkit-backdrop-filter: blur(10px) brightness(1.05);
    border: 1px solid rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all var(--transition-normal);
    opacity: 0;
    transform: scale(0.9);
}

.slide.active .stat-box[data-animation="6"] {
    animation: zoomIn 0.5s ease-out 1.3s both;
}

.slide.active .stat-box[data-animation="7"] {
    animation: zoomIn 0.5s ease-out 1.4s both;
}

.slide.active .stat-box[data-animation="8"] {
    animation: zoomIn 0.5s ease-out 1.5s both;
}

.stat-box:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.stat-box i {
    font-size: 32px;
    color: var(--primary-color);
}

.stat-box strong {
    display: block;
    font-size: 20px;
    color: #0f172a;
    margin-bottom: 5px;
    font-weight: 800;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.stat-box p {
    font-size: 14px;
    color: #1e293b;
    margin: 0;
    font-weight: 600;
}

/* ==========================================
   Scrollbar Styling
   ========================================== */
.slide-content::-webkit-scrollbar {
    width: 10px;
}

.slide-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.slide-content::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
}

.slide-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* ==========================================
   Print Styles
   ========================================== */
@media print {
    .controls, .fullscreen-btn, .help-btn, .progress-bar {
        display: none !important;
    }
    
    .slide {
        page-break-after: always;
        position: relative;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
}