/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    background: transparent;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.logo-text h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
}

.logo-text p {
    font-size: 0.875rem;
    color: #6b7280;
}

.nav-desktop {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e7eb;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    color: #374151;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f3f4f6;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, #f8fafc, #e0f2fe);
    color: #3b82f6;
}

.dropdown-item svg {
    color: #6b7280;
    transition: color 0.3s ease;
}

.dropdown-item:hover svg {
    color: #3b82f6;
}

.dropdown-item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dropdown-item span {
    font-weight: 600;
    font-size: 0.95rem;
}

.dropdown-item small {
    color: #6b7280;
    font-size: 0.8rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #3b82f6;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: #4b5563;
    transition: all 0.3s ease;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid #e5e7eb;
    margin-top: 1rem;
}

.mobile-section {
    margin-bottom: 1.5rem;
}

.mobile-section h4 {
    color: #374151;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    padding-left: 8px;
    border-left: 3px solid #3b82f6;
}

.mobile-sub {
    padding-left: 1rem;
    font-size: 0.9rem;
    color: #6b7280 !important;
    margin-bottom: 0.5rem;
}

.mobile-sub:hover {
    color: #3b82f6 !important;
}

/* Modal PDF */
.pdf-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

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

.pdf-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

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

.pdf-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e5e7eb;
    background: linear-gradient(135deg, #f8fafc, #e0f2fe);
}

.pdf-modal-header h3 {
    color: #1f2937;
    font-weight: 700;
    margin: 0;
}

.pdf-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pdf-modal-close:hover {
    background: #f3f4f6;
    color: #374151;
}

.pdf-modal-body {
    padding: 2rem;
    overflow-y: auto;
    max-height: calc(80vh - 100px);
}

.pdf-placeholder {
    text-align: center;
    color: #6b7280;
}

.pdf-placeholder svg {
    color: #3b82f6;
    margin-bottom: 1rem;
}

.pdf-placeholder h4 {
    color: #1f2937;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pdf-placeholder p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.pdf-placeholder ul {
    text-align: left;
    max-width: 400px;
    margin: 1rem auto;
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.pdf-placeholder li {
    margin-bottom: 0.5rem;
    color: #374151;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #7c3aed 50%, #4338ca 100%);
}

.hero-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 900px;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #bfdbfe;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.125rem;
    color: #dbeafe;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.wave-visualization {
    width: 100%;
    max-width: 800px;
    height: 200px;
    margin: 3rem auto;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#waveCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    padding: 12px 24px;
    font-weight: 500;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.125rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: rgba(255, 255, 255, 0.6);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Sections communes */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.section-header p {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
}

/* Theory Section */
.theory-section {
    background: white;
}

.concepts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.concept-card {
    background: linear-gradient(135deg, #f8fafc, #e0e7ff);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

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

.concept-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.concept-card:hover .concept-icon {
    transform: scale(1.1);
}

.concept-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.concept-card p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.concept-details {
    list-style: none;
}

.concept-details li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4b5563;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.concept-details li::before {
    content: '→';
    color: #3b82f6;
    font-weight: bold;
}

.scientific-approach {
    background: linear-gradient(135deg, #1e3a8a, #7c3aed);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    color: white;
}

.scientific-approach h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.scientific-approach p {
    color: #bfdbfe;
    margin-bottom: 2rem;
}

.approach-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 8px 20px;
    font-weight: 600;
}

/* Practical Section */
.practical-section {
    background: linear-gradient(135deg, #f9fafb, #e0f2fe);
}

.implementations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.implementation-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.implementation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.implementation-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1.5rem;
}

.implementation-icon.green {
    background: linear-gradient(135deg, #10b981, #059669);
}

.implementation-icon.purple {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.implementation-icon.orange {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.implementation-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.implementation-card p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

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

.tech-tag {
    background: #f3f4f6;
    color: #374151;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.challenges-section {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 4rem;
}

.challenges-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    color: #3b82f6;
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.challenge-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
}

.challenge-status {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.challenge-card.resolved .challenge-status {
    background: #10b981;
}

.challenge-card.ongoing .challenge-status {
    background: #f59e0b;
}

.challenge-card h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.challenge-card p {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.challenge-solution {
    color: #3b82f6 !important;
    font-weight: 500 !important;
}

.openness-section {
    background: linear-gradient(135deg, #4338ca, #7c3aed);
    border-radius: 16px;
    padding: 2rem;
    color: white;
}

.openness-content {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.openness-icon {
    flex-shrink: 0;
    color: #a78bfa;
}

.openness-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.openness-content p {
    color: #c7d2fe;
    margin-bottom: 1rem;
}

.openness-highlight {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 1rem;
    font-size: 0.875rem;
}

/* Demo Section */
.demo-section {
    background: linear-gradient(135deg, #1e3a8a, #7c3aed, #4338ca);
    color: white;
}

.demo-section .section-header h2,
.demo-section .section-header p {
    color: white;
}

.demo-section .section-header p {
    color: #bfdbfe;
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    align-items: start;
}

.demo-control,
.demo-process {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.demo-control h3,
.demo-process h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.enrollment-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.enrollment-section h4 {
    color: #bfdbfe;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.name-input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.name-input {
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
}

.name-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.name-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.start-enrollment-btn {
    padding: 12px 20px;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.start-enrollment-btn:hover {
    background: #059669;
    transform: translateY(-1px);
}

.enrolled-users-list {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    max-height: 200px;
    overflow-y: auto;
}

.enrolled-users-list h4 {
    color: #10b981;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.switch-mode-btn {
    width: 100%;
    padding: 12px 20px;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.switch-mode-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.record-section {
    text-align: center;
    margin-bottom: 2rem;
}

.record-button {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    border: none;
    background: #3b82f6;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.record-button:hover {
    transform: scale(1.05);
}

.record-button.recording {
    background: #ef4444;
    animation: pulse 1.5s infinite;
}

.record-button.analyzing {
    background: #6b7280;
    cursor: not-allowed;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(239, 68, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

#recordStatus {
    font-weight: 600;
}

.audio-level {
    margin-bottom: 2rem;
}

.audio-level-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.5rem;
    color: #bfdbfe;
}

.audio-level-bar {
    width: 100%;
    height: 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.audio-level-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #3b82f6);
    border-radius: 8px;
    transition: width 0.1s ease;
    width: 0%;
}

.recognition-result {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid #10b981;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.recognition-result h4 {
    color: #6ee7b7;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.recognition-result p {
    font-size: 1.125rem;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.5s ease;
}

.process-step.active {
    background: rgba(59, 130, 246, 0.3);
    transform: scale(1.02);
}

.process-step.completed {
    background: rgba(16, 185, 129, 0.2);
}

.step-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #6b7280;
    transition: all 0.5s ease;
}

.process-step.active .step-icon {
    background: #3b82f6;
    animation: pulse-blue 1.5s infinite;
}

.process-step.completed .step-icon {
    background: #10b981;
}

@keyframes pulse-blue {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

.step-content {
    flex: 1;
}

.step-content h4 {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.step-content p {
    color: #bfdbfe;
    font-size: 0.875rem;
}

.step-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.process-step.completed .step-check {
    opacity: 1;
}

.demo-note {
    background: rgba(251, 191, 36, 0.2);
    border: 1px solid #fbbf24;
    border-radius: 12px;
    padding: 1rem;
    margin-top: 3rem;
    text-align: center;
}

.demo-note p {
    color: #fef3c7;
    font-size: 0.875rem;
}

/* Results Section */
.results-section {
    background: white;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.metric-card {
    background: linear-gradient(135deg, #f8fafc, #e0f2fe);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.metric-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto 1.5rem;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 0.5rem;
}

.metric-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.metric-card p {
    color: #6b7280;
}

.findings-section {
    background: linear-gradient(135deg, #f8fafc, #e0f2fe);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 4rem;
}

.findings-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    color: #1f2937;
}

.findings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.finding-card {
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid;
}

.finding-card.success {
    border-color: #d1fae5;
    background: #f0fdf4;
}

.finding-card.warning {
    border-color: #fef3c7;
    background: #fffbeb;
}

.finding-card.insight {
    border-color: #dbeafe;
    background: #eff6ff;
}

.finding-icon {
    margin-bottom: 1rem;
}

.finding-card.success .finding-icon {
    color: #10b981;
}

.finding-card.warning .finding-icon {
    color: #f59e0b;
}

.finding-card.insight .finding-icon {
    color: #3b82f6;
}

.finding-card h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.finding-card p {
    color: #374151;
    font-size: 0.875rem;
}

.improvements-section {
    background: linear-gradient(135deg, #1e3a8a, #7c3aed);
    border-radius: 16px;
    padding: 3rem;
    color: white;
}

.improvements-section h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.improvements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.improvement-category h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #bfdbfe;
}

.improvement-category ul {
    list-style: none;
}

.improvement-category li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.75rem;
    color: #e0e7ff;
}

.improvement-category li::before {
    content: '•';
    color: #60a5fa;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #d1d5db;
    margin-bottom: 1rem;
}

.footer-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9ca3af;
}

.theme-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.theme-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.theme-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.theme-dot.blue {
    background: #60a5fa;
}

.theme-dot.purple {
    background: #a78bfa;
}

.theme-dot.orange {
    background: #fb923c;
}

.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.tech-badge.python {
    background: #3b82f6;
}

.tech-badge.librosa {
    background: #10b981;
}

.tech-badge.sklearn {
    background: #8b5cf6;
}

.tech-badge.numpy {
    background: #f59e0b;
}

.tech-badge.mfcc {
    background: #ef4444;
}

.tech-badge.gmm {
    background: #4338ca;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
    font-size: 0.875rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-mobile.active {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

    .demo-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .openness-content {
        flex-direction: column;
        text-align: center;
    }

    .improvements-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .section {
        padding: 3rem 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .hero-features {
        gap: 1rem;
    }

    .feature-badge {
        padding: 8px 16px;
        font-size: 0.875rem;
    }

    .concepts-grid,
    .implementations-grid,
    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .challenges-grid {
        grid-template-columns: 1fr;
    }

    .findings-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Animations d'entrée */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.concept-card,
.implementation-card,
.metric-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Utilitaires */
.text-center {
    text-align: center;
}

.hidden {
    display: none;
}
/* Styles pour la page Expérience */
/* Nouveaux styles pour la page Expérience */
.experience-image {
    max-width: 800px; /* Limite la largeur de l'image pour un meilleur rendu */
    margin: 0 auto 3rem auto; /* Centre l'image et ajoute de l'espace en dessous */
}

.experience-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.experience-details-container { /* Renommez le div si vous voulez pour plus de clarté */
    max-width: 800px;
    margin: 0 auto; /* Centre le bloc de texte */
}
.experience-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.image-caption {
    font-size: 0.875rem;
    color: #6b7280;
    text-align: center;
    margin-top: 1rem;
}

.experience-details h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.experience-details p {
    margin-bottom: 1.5rem;
}

.experience-details ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.experience-details li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1rem;
}

.experience-details li::before {
    content: '✓';
    color: #10b981;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1.5;
}