/* === VARIABLES === */
:root {
    --primary: #3B82F6;
    --primary-light: #60A5FA;
    --primary-dark: #1E3A5F;
    --primary-darker: #0F1C2E;
    --gold: #F59E0B;
    --gold-light: #FBBF24;
    --white: #FFFFFF;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-400: #9CA3AF;
    --gray-600: #4B5563;
    --green: #10B981;
    --cyan: #06B6D4;
    --orange: #F97316;
    --purple: #8B5CF6;
    --red: #EF4444;
    --pink: #EC4899;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: 20px;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 50%, #0f1c2e 100%);
    color: var(--white);
    overflow: hidden;
    height: 100vh;
}

/* === ANIMATED BACKGROUND === */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.08) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
    animation: backgroundPulse 15s ease-in-out infinite;
}

@keyframes backgroundPulse {

    0%,
    100% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
    }
}

/* Floating Particles */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(59, 130, 246, 0.4), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(245, 158, 11, 0.4), transparent),
        radial-gradient(2px 2px at 130px 80px, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(1px 1px at 160px 120px, rgba(139, 92, 246, 0.3), transparent);
    background-size: 200px 200px;
    animation: floatingParticles 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes floatingParticles {
    0% {
        transform: translateY(0) translateX(0);
    }

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

/* === BOTTOM NAVIGATION === */
.bottom-nav {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 28, 46, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 100;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bottom-nav:hover {
    background: rgba(15, 28, 46, 0.8);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(59, 130, 246, 0.1);
    transform: translateX(-50%) translateY(-2px);
}

.slide-counter {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 55px;
    text-align: center;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.nav-btn:hover::before {
    width: 100%;
    height: 100%;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.nav-btn.primary {
    background: linear-gradient(135deg, var(--gold), var(--orange));
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.nav-btn.primary:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    box-shadow: 0 6px 25px rgba(245, 158, 11, 0.6);
    transform: scale(1.15);
}

/* === PROGRESS BAR === */
.progress-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 99;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--purple), var(--gold));
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
    width: 7%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* === SLIDES === */
.slides-container {
    height: 100vh;
    padding-top: 0;
    position: relative;
    z-index: 1;
}

.slide {
    display: none;
    height: calc(100vh - 69px);
    padding: 40px 60px;
}

.slide.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.slide-content {
    max-width: 1400px;
    width: 100%;
    padding: 50px;
    position: relative;
}

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

/* === TITLE SLIDE === */
.title-slide {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.title-bg {
    position: absolute;
    top: 50%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--gold) 0%, var(--orange) 30%, transparent 70%);
    opacity: 0.12;
    transform: translateY(-50%);
    border-radius: 50%;
    animation: floatBg 8s ease-in-out infinite;
    filter: blur(40px);
}

.title-slide::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary) 0%, var(--purple) 30%, transparent 70%);
    opacity: 0.1;
    border-radius: 50%;
    animation: floatBg 10s ease-in-out infinite reverse;
    filter: blur(60px);
}

@keyframes floatBg {

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

    50% {
        transform: translateY(-45%) scale(1.1);
    }
}

.title-content {
    text-align: center;
    z-index: 1;
}

.title-content .badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold), var(--orange));
    color: var(--primary-darker);
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 30px;
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.3);
    animation: badgePulse 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.title-content .badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: badgeShine 3s ease-in-out infinite;
}

@keyframes badgeShine {

    0%,
    100% {
        left: -100%;
    }

    50% {
        left: 100%;
    }
}

@keyframes badgePulse {

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

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

.title-content h1 {
    font-size: 5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--primary-light), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    letter-spacing: -2px;
    text-shadow: 0 0 80px rgba(59, 130, 246, 0.3);
    animation: titleGlow 4s ease-in-out infinite;
}

@keyframes titleGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.2));
    }

    50% {
        filter: drop-shadow(0 0 40px rgba(59, 130, 246, 0.4));
    }
}

.title-content .tagline {
    display: flex;
    justify-content: center;
    gap: 40px;
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 45px;
}

.title-content .tagline span {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.title-content .tagline span:hover {
    background: rgba(245, 158, 11, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.2);
}

.authors {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 35px;
}

.author-box {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 28px 40px;
    border-radius: 24px;
    min-width: 260px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.author-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    opacity: 0;
    transition: opacity 0.3s;
}

.author-box:hover::before {
    opacity: 1;
}

.author-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
}

.author-box.gold::before {
    background: linear-gradient(90deg, var(--gold), var(--orange));
}

.author-box .label {
    color: var(--primary-light);
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.author-box.gold .label {
    color: var(--gold);
}

.author-box p {
    color: var(--white);
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.title-content .year {
    color: var(--gray-400);
    font-size: 1rem;
    letter-spacing: 1px;
}

/* === HEADINGS === */
h2 {
    font-size: 2.2rem;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
}

h2::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--glass-border), transparent);
    margin-left: 20px;
}

.num {
    background: linear-gradient(135deg, var(--gold), var(--orange));
    color: var(--primary-darker);
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 800;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
    position: relative;
}

/* === SOMMAIRE === */
.sommaire {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.sommaire-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sommaire-item {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    padding: 20px 28px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
    overflow: hidden;
    font-size: 1.05rem;
}

.sommaire-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--gold), var(--orange));
    opacity: 0;
    transition: opacity 0.3s;
}

.sommaire-item:hover::before {
    opacity: 1;
}

.sommaire-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(12px);
    border-color: var(--gold);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.sommaire-item span {
    background: linear-gradient(135deg, var(--gold), var(--orange));
    color: var(--primary-darker);
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.2);
    min-width: 44px;
    text-align: center;
}

/* === CONTEXT GRID === */
.context-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.context-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    padding: 40px 35px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.context-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s;
    transform: rotate(45deg);
}

.context-card:hover::before {
    opacity: 1;
}

.context-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3), 0 0 30px rgba(59, 130, 246, 0.1);
}

.icon-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    transition: all 0.4s ease;
}

.context-card:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

.context-card h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    background: linear-gradient(135deg, var(--white), var(--gray-200));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.context-card p {
    color: var(--gray-400);
    font-size: 1rem;
    line-height: 1.7;
}

/* === OBJECTIVES === */
.objectives {
    display: grid;
    gap: 18px;
}

.objective {
    display: flex;
    align-items: center;
    gap: 30px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    padding: 28px 35px;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}



.objective:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.obj-icon {
    background: linear-gradient(135deg, var(--gold), var(--orange));
    color: var(--primary-darker);
    font-size: 1.6rem;
    padding: 22px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
    transition: all 0.4s ease;
}

.objective:hover .obj-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.4);
}

.obj-content h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.obj-content p {
    color: var(--gray-400);
    font-size: 1rem;
}

/* === TECH SECTIONS === */
.tech-sections {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.tech-section {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-section:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.tech-section h4 {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gold);
    font-size: 1.1rem;
}

.tech-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.chip {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.05));
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.chip:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(59, 130, 246, 0.1));
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.2);
}

/* === MVC DIAGRAM === */
.mvc-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.mvc-box {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 2px solid var(--primary);
    padding: 25px 30px;
    border-radius: 20px;
    text-align: center;
    min-width: 130px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.mvc-box::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.mvc-box:hover::after {
    opacity: 1;
}

.mvc-box:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.mvc-box i {
    font-size: 2rem;
    margin-bottom: 12px;
    display: block;
}

.mvc-box span {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.mvc-box small {
    color: var(--gray-400);
    font-size: 0.85rem;
}

.mvc-box.client {
    border-color: var(--gray-400);
}

.mvc-box.view {
    border-color: var(--cyan);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.1);
}

.mvc-box.view i {
    color: var(--cyan);
}

.mvc-box.controller {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
}

.mvc-box.controller i {
    color: var(--primary);
}

.mvc-box.model {
    border-color: var(--purple);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.1);
}

.mvc-box.model i {
    color: var(--purple);
}

.mvc-box.db {
    border-color: var(--green);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.1);
}

.mvc-box.db i {
    color: var(--green);
}

.mvc-arrow {
    color: var(--gray-400);
    font-size: 1.4rem;
    animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {

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

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

.mvc-features {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-400);
    padding: 12px 24px;
    background: var(--glass-bg);
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.feature:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--green);
    transform: translateY(-3px);
}

.feature i {
    color: var(--green);
    font-size: 1.1rem;
}

/* === UML CLASS DIAGRAM === */
.uml-diagram {
    text-align: center;
}

.class-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 35px;
}

.uml-class {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border-radius: 16px;
    overflow: hidden;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--glass-border);
}

.uml-class:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.class-header {
    padding: 14px 20px;
    font-weight: 700;
    text-align: center;
}

.uml-class.blue .class-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.uml-class.gold .class-header {
    background: linear-gradient(135deg, var(--gold), var(--orange));
    color: var(--primary-darker);
}

.uml-class.cyan .class-header {
    background: linear-gradient(135deg, var(--cyan), #22D3EE);
    color: var(--primary-darker);
}

.uml-class.orange .class-header {
    background: linear-gradient(135deg, var(--orange), var(--red));
}

.uml-class.purple .class-header {
    background: linear-gradient(135deg, var(--purple), var(--pink));
}

.uml-class.green .class-header {
    background: linear-gradient(135deg, var(--green), #34D399);
}

.class-body {
    padding: 18px 20px;
    font-size: 0.9rem;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
}

.class-body p {
    padding: 6px 0;
    border-bottom: 1px solid var(--glass-border);
}

/* === SEQUENCE DIAGRAM === */
.sequence-diagram {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border-radius: 20px;
    padding: 35px;
    border: 1px solid var(--glass-border);
}

.seq-actors {
    display: flex;
    justify-content: space-between;
    margin-bottom: 35px;
}

.seq-actor {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 18px 24px;
    border-radius: 14px;
    text-align: center;
    min-width: 110px;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.seq-actor i {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

/* === NEW SVG SEQUENCE DIAGRAM === */
#slide9 .slide-content {
    text-align: center;
}

#slide9 h2 {
    text-align: left;
}

.sequence-diagram-new {
    display: inline-block;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: 24px;
    padding: 30px;
    border: 1px solid var(--glass-border);
}

.seq-svg {
    width: 100%;
    height: 420px;
}

.actor-label {
    fill: white;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}

.lifeline {
    stroke: #9CA3AF;
    stroke-width: 2;
    stroke-dasharray: 8, 5;
}

.arrow-line {
    stroke-width: 2;
}

.arrow-line.blue {
    stroke: #3B82F6;
}

.arrow-line.gold {
    stroke: #F59E0B;
    stroke-dasharray: 5, 3;
}

.arrow-head.blue {
    fill: #3B82F6;
}

.arrow-head.gold {
    fill: #F59E0B;
}

.msg-label {
    fill: #3B82F6;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
}

.msg-label.gold {
    fill: #F59E0B;
}

/* === USE CASE DIAGRAM === */
.usecase-svg-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.usecase-svg {
    width: 100%;
    max-width: 900px;
    height: 450px;
}

/* === SCREENSHOTS === */
#slide10 .slide-content,
#slide11 .slide-content {
    text-align: center;
}

.screenshot {
    max-width: 100%;
    width: auto;
    max-height: 60vh;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    transition: all 0.4s ease;
    display: inline-block;
}

.screenshot:hover {
    transform: scale(1.02);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

.screenshot.large {
    max-height: 65vh;
}

/* === DEMO GRID === */
.demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.demo-grid.two {
    grid-template-columns: repeat(2, 1fr);
}

.demo-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.demo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
    border-color: var(--gold);
}

.demo-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: top;
    transition: transform 0.4s ease;
}

.demo-card:hover img {
    transform: scale(1.05);
}

.demo-label {
    padding: 18px;
    text-align: center;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.2);
}

.demo-label i {
    color: var(--gold);
    font-size: 1.2rem;
}

/* === CONCLUSION === */
.conclusion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    margin-bottom: 50px;
}

.conclusion-box {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.conclusion-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.box-header {
    padding: 20px 30px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.1rem;
}

.box-header.green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.05));
    color: var(--green);
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
}

.box-header.gold {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.05));
    color: var(--gold);
    border-bottom: 1px solid rgba(245, 158, 11, 0.2);
}

.conclusion-box ul {
    padding: 25px 30px;
    list-style: none;
}

.conclusion-box li {
    padding: 14px 0;
    padding-left: 28px;
    position: relative;
    color: var(--gray-400);
    transition: all 0.3s ease;
    font-size: 1rem;
}

.conclusion-box li:hover {
    color: var(--white);
    transform: translateX(5px);
}

.conclusion-box li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    transition: all 0.3s ease;
}

.conclusion-box li:hover::before {
    color: var(--gold);
    transform: translateX(3px);
}

/* === FINAL DEMO SLIDE === */
.demo-final {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 70vh;
}

.demo-final-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary), var(--purple), var(--gold));
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite, iconFloat 3s ease-in-out infinite;
    border-radius: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    margin-bottom: 40px;
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.3);
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes iconFloat {

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

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

.demo-final-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 35px;
    background: linear-gradient(135deg, var(--white), var(--gray-200), var(--white));
    background-size: 200% 200%;
    animation: titleShimmer 3s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes titleShimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.demo-final-link {
    display: inline-block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
    padding: 25px 60px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    border: 2px solid var(--gold);
    border-radius: 60px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.demo-final-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.2), transparent);
    transition: left 0.5s ease;
}

.demo-final-link:hover::before {
    left: 100%;
}

.demo-final-link:hover {
    background: linear-gradient(135deg, var(--gold), var(--orange));
    color: var(--primary-darker);
    transform: scale(1.08);
    box-shadow: 0 0 50px rgba(245, 158, 11, 0.5), 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: transparent;
}

.demo-final-cta {
    display: flex;
    gap: 40px;
    color: var(--gray-400);
}

.demo-final-cta span {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.demo-final-cta span:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    color: var(--white);
}

.demo-final-cta i {
    color: var(--gold);
}

/* === CLASS DIAGRAM SVG === */
.class-diagram-svg-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.class-diagram-svg {
    width: 100%;
    max-width: 950px;
    height: 480px;
}

/* === THANK YOU === */
.thank-you {
    background: linear-gradient(135deg, var(--primary), var(--primary-light), var(--cyan));
    padding: 50px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(59, 130, 246, 0.3);
}

.thank-you h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.thank-you p {
    opacity: 0.9;
    font-size: 1.2rem;
}

.demo-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 15px 30px;
    border-radius: 35px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.demo-link:hover {
    background: var(--gold);
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}

/* === RESPONSIVE === */
@media (max-width: 1200px) {

    .context-grid,
    .demo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .slide {
        padding: 20px 30px;
    }

    .slide-content {
        padding: 30px;
    }

    .title-content h1 {
        font-size: 3rem;
    }

    .sommaire,
    .tech-sections,
    .conclusion-grid {
        grid-template-columns: 1fr;
    }

    .context-grid,
    .demo-grid,
    .demo-grid.two {
        grid-template-columns: 1fr;
    }

    .mvc-diagram {
        flex-direction: column;
    }

    .authors {
        flex-direction: column;
        align-items: center;
    }
}