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

:root {
    --primary-bg: #000000;
    --accent-green: #00ff7f;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-muted: #666666;
    --surface: #1a1a1a;
    --surface-light: #2a2a2a;
    --border: #333333;
    --border-light: #404040;
    --shadow: rgba(0, 255, 127, 0.1);
    --shadow-strong: rgba(0, 255, 127, 0.2);
    --gradient-primary: linear-gradient(135deg, var(--accent-green), #00cc66);
    --gradient-bg: linear-gradient(135deg, #000000, #0a0a0a);
}

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

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

/* Announcement Banner */
.announcement-banner {
    background: var(--gradient-primary);
    color: var(--primary-bg);
    padding: 12px 0;
    text-align: center;
    font-weight: 600;
    position: relative;
    z-index: 1000;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.banner-link {
    color: var(--primary-bg);
    text-decoration: none;
    font-weight: 700;
    transition: opacity 0.3s ease;
}

.banner-link:hover {
    opacity: 0.8;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 999;
    padding: 16px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.logo-text {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent-green);
    letter-spacing: -0.02em;
}

.logo-tagline {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 400;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-green);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Buttons */
.btn-primary, .btn-primary-large {
    background: var(--gradient-primary);
    color: var(--primary-bg);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
}

.btn-primary-large {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 12px;
}

.btn-primary:hover, .btn-primary-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--shadow-strong);
}

.btn-secondary, .btn-secondary-large {
    background: transparent;
    color: var(--accent-green);
    border: 2px solid var(--accent-green);
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
}

.btn-secondary-large {
    padding: 14px 30px;
    font-size: 16px;
    border-radius: 12px;
}

.btn-secondary:hover, .btn-secondary-large:hover {
    background: var(--accent-green);
    color: var(--primary-bg);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: var(--gradient-bg);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(600px circle at 50% 50%, rgba(0, 255, 127, 0.1), transparent);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

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

.hero-subtitle {
    font-size: 24px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 600px;
    line-height: 1.4;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

/* Video Container Styles */
.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
}

.video-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 60px rgba(0, 255, 127, 0.15), 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Hero Video Styles */
.hero-video {
    width: 100%;
    height: auto;
    display: block;
    background: #111;
    transition: all 0.3s ease;
}

/* Video Controls */
.video-controls {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    padding: 12px 18px;
    border-radius: 30px;
    border: 1px solid rgba(0, 255, 127, 0.3);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-container:hover .video-controls {
    opacity: 1;
    transform: translateY(0);
}

.play-pause-btn {
    background: none;
    border: none;
    color: var(--accent-green);
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
}

.play-pause-btn:hover {
    color: #ffffff;
    background: rgba(0, 255, 127, 0.1);
    transform: scale(1.1);
}

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

.play-pause-btn svg {
    width: 18px;
    height: 18px;
    transition: all 0.2s ease;
}

.video-label {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.3px;
}

/* Legacy image styles (kept for compatibility) */
.hero-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.ai-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
}

.ai-message {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid var(--accent-green);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(10px);
}

.ai-indicator {
    width: 12px;
    height: 12px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Section Styles */
.section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Problem Section */
.problem-section {
    padding: 100px 0;
    background: var(--surface);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.problem-item {
    text-align: center;
    padding: 40px 20px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--primary-bg);
    transition: all 0.3s ease;
}

.problem-item:hover {
    border-color: var(--accent-green);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--shadow);
}



.problem-item h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--accent-green);
}

.problem-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Vision Section */
.vision-section {
    padding: 100px 0;
    background: var(--primary-bg);
}

.vision-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.vision-feature {
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface);
    transition: all 0.3s ease;
}

.vision-feature:hover {
    border-color: var(--accent-green);
    transform: translateY(-2px);
}



.vision-feature h3 {
    color: var(--accent-green);
    margin-bottom: 12px;
    font-size: 18px;
}

.vision-feature p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Departments Section - Modern Design */
.departments-section {
    padding: 100px 0;
    background: var(--surface);
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.department-card-modern {
    background: var(--primary-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.department-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 255, 127, 0.02), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.department-card-modern:hover {
    border-color: var(--accent-green);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 255, 127, 0.08);
}

.department-card-modern:hover::before {
    opacity: 1;
}

.card-header {
    margin-bottom: 24px;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.card-intro {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0;
}

/* Skills Bubbles Animation */
.skills-bubbles-container {
    position: relative;
    min-height: 180px;
    margin: 0 0 24px 0;
    padding: 20px;
    background: linear-gradient(135deg, rgba(0, 255, 127, 0.03), rgba(0, 255, 127, 0.01));
    border-radius: 12px;
    overflow: hidden;
}

.skill-bubble {
    display: inline-block;
    background: rgba(0, 255, 127, 0.1);
    border: 1px solid rgba(0, 255, 127, 0.3);
    border-radius: 20px;
    padding: 8px 16px;
    margin: 6px;
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    animation: bubbleFloat 6s ease-in-out infinite;
    opacity: 0;
    transform: translateY(20px);
}

.skill-bubble:nth-child(1) { animation-delay: 0.2s; }
.skill-bubble:nth-child(2) { animation-delay: 0.4s; }
.skill-bubble:nth-child(3) { animation-delay: 0.6s; }
.skill-bubble:nth-child(4) { animation-delay: 0.8s; }
.skill-bubble:nth-child(5) { animation-delay: 1.0s; }
.skill-bubble:nth-child(6) { animation-delay: 1.2s; }

.skill-bubble.visible {
    opacity: 1;
    transform: translateY(0);
}

.skill-bubble:hover {
    background: rgba(0, 255, 127, 0.2);
    border-color: var(--accent-green);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 255, 127, 0.15);
}

.skill-bubble::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 127, 0.1), transparent);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.skill-bubble:hover::before {
    opacity: 1;
}

/* Bubble Float Animation */
@keyframes bubbleFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-5px) rotate(1deg);
    }
    50% {
        transform: translateY(-10px) rotate(0deg);
    }
    75% {
        transform: translateY(-5px) rotate(-1deg);
    }
}

/* ERP Logos Section */
.erp-logos-section {
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.erp-logos-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

/* ERP Logo Images with White Background Removal */
.erp-logo {
    height: 32px;
    width: auto;
    max-width: 100px;
    object-fit: contain;
    transition: all 0.3s ease;
    opacity: 0.9;
    /* Filtre doux pour préserver les couleurs naturelles */
    filter: brightness(1.05) contrast(1.1);
    background: transparent;
}

.erp-logo:hover {
    opacity: 1;
    transform: scale(1.1);
    filter: brightness(1.2) contrast(1.2);
    /* Hover doux sans altération de couleur */
}

/* Section simplifiée pour éviter les surcouches de couleur */
.erp-logos-section {
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid var(--border);
}

/* Department specific bubble colors */
[data-department="accounting"] .skill-bubble {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

[data-department="accounting"] .skill-bubble:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

[data-department="hr"] .skill-bubble {
    background: rgba(139, 69, 19, 0.1);
    border-color: rgba(139, 69, 19, 0.3);
}

[data-department="hr"] .skill-bubble:hover {
    background: rgba(139, 69, 19, 0.2);
    border-color: #8b4513;
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.15);
}

[data-department="procurement"] .skill-bubble {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
}

[data-department="procurement"] .skill-bubble:hover {
    background: rgba(34, 197, 94, 0.2);
    border-color: #22c55e;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.15);
}

[data-department="construction"] .skill-bubble {
    background: rgba(249, 115, 22, 0.1);
    border-color: rgba(249, 115, 22, 0.3);
}

[data-department="construction"] .skill-bubble:hover {
    background: rgba(249, 115, 22, 0.2);
    border-color: #f97316;
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.15);
}

/* AI Workers Summary Section */
.ai-workers-summary {
    padding: 80px 0;
    background: var(--primary-bg);
}

.workers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.worker-card-compact {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.worker-card-compact:hover {
    border-color: var(--accent-green);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 255, 127, 0.06);
}

.worker-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.worker-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.4;
}

.worker-skills-compact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.worker-skills-compact li {
    padding: 4px 0;
    color: var(--text-secondary);
    font-size: 13px;
    position: relative;
    padding-left: 16px;
}

.worker-skills-compact li::before {
    content: '→';
    color: var(--accent-green);
    position: absolute;
    left: 0;
    font-size: 12px;
}



/* Wiven AI Core Section */
.wiven-core-section {
    padding: 100px 0;
    background: var(--primary-bg);
}

.section-subtitle-core {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.core-modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.core-module {
    padding: 28px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.core-module::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 255, 127, 0.03), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.core-module:hover {
    border-color: var(--accent-green);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 255, 127, 0.08);
}

.core-module:hover::before {
    opacity: 1;
}

.module-title {
    color: var(--accent-green);
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 600;
}

.module-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.tech-visual {
    text-align: center;
}

.tech-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid var(--border);
}

/* Impact Section */
.impact-section {
    padding: 100px 0;
    background: var(--surface);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--primary-bg);
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: var(--accent-green);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--shadow);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--accent-green);
    margin-bottom: 12px;
    line-height: 1;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 16px;
}

.guarantees {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.guarantees h3 {
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--accent-green);
}

.guarantees-list {
    list-style: none;
    text-align: left;
}

.guarantees-list li {
    padding: 8px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
}

.guarantees-list li::before {
    content: '✓';
    color: var(--accent-green);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Team Section */
.team-section {
    padding: 100px 0;
    background: var(--primary-bg);
}

.team-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}

.team-text p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.team-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid var(--border);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--gradient-bg);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent-green);
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 16px;
    font-size: 16px;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-green);
}

.footer-social {
    display: flex;
    gap: 16px;
}

.social-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--accent-green);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Video Player Responsive Styles */
/* Skills Bubbles Responsive */
@media (max-width: 768px) {
    .skills-bubbles-container {
        min-height: 200px;
        padding: 16px;
    }
    
    .skill-bubble {
        font-size: 12px;
        padding: 6px 12px;
        margin: 4px;
    }
    
    .erp-logos-grid {
        gap: 16px;
    }
    
    .erp-logo {
        height: 28px;
        max-width: 80px;
    }
    
    .department-card-modern {
        padding: 24px;
    }
    
    .departments-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .video-controls {
        bottom: 15px;
        left: 15px;
        padding: 10px 16px;
        border-radius: 25px;
    }
    
    .play-pause-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .video-label {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .skills-bubbles-container {
        min-height: 220px;
        padding: 12px;
    }
    
    .skill-bubble {
        font-size: 11px;
        padding: 5px 10px;
        margin: 3px;
        border-radius: 15px;
    }
    
    .erp-logos-grid {
        gap: 12px;
    }
    
    .erp-logo {
        height: 24px;
        max-width: 70px;
    }
    
    .department-card-modern {
        padding: 20px;
    }
    
    .departments-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .erp-logos-section {
        padding: 16px;
    }
    
    .video-controls {
        bottom: 12px;
        left: 12px;
        gap: 10px;
        padding: 8px 14px;
    }
    
    .video-label {
        font-size: 12px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 20px;
    }
    
    .hero-title {
        font-size: clamp(36px, 5vw, 64px);
    }
    
    .team-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .problem-grid,
    .vision-features,
    .stats-grid,
    .departments-grid,
    .workers-grid,
    .core-modules-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: clamp(28px, 4vw, 40px);
    }
    
    .department-card-modern,
    .worker-card-compact,
    .core-module {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: clamp(28px, 6vw, 48px);
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .department-card-modern,
    .worker-card-compact,
    .core-module {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .cta-title {
        font-size: 36px;
    }
    
    .departments-grid,
    .workers-grid,
    .core-modules-grid,
    .core-modules-container {
        gap: 16px;
    }
    
    /* Nouvelles sections responsive */
    .core-title {
        font-size: 36px;
    }
    
    .core-subtitle {
        font-size: 18px;
        padding: 0 20px;
    }
    
    .wiven-core-section-modern {
        padding: 80px 0;
        min-height: auto;
    }
    
    .core-modules-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .core-module-modern {
        padding: 32px 24px;
    }
    
    .module-icon {
        width: 60px;
        height: 60px;
    }
    
    .wiven-logo-large {
        width: 200px;
    }
    
    .team-text-elegant p {
        font-size: 18px;
        padding: 0 20px;
    }
    
    .team-section-modern {
        padding: 80px 0;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* Selection styles */
::selection {
    background: var(--accent-green);
    color: var(--primary-bg);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-green);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00cc66;
}

/* =========================
   NOUVELLES SECTIONS MODERNES
   ========================= */

/* Wiven AI Core Section - Ultra Modern */
.wiven-core-section-modern {
    padding: 120px 0;
    background: radial-gradient(ellipse at center, rgba(0, 255, 127, 0.03) 0%, transparent 70%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Animated Background */
.animated-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(0, 255, 127, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(0, 255, 127, 0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(0, 255, 127, 0.4), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(0, 255, 127, 0.3), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(0, 255, 127, 0.2), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: particlesFloat 20s linear infinite;
}

@keyframes particlesFloat {
    0% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(-10px) rotate(240deg); }
    100% { transform: translateY(0px) rotate(360deg); }
}

.grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 127, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 127, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

/* Core Content */
.core-content {
    position: relative;
    z-index: 2;
}

.core-header {
    text-align: center;
    margin-bottom: 80px;
}

.core-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(30px);
    animation: revealTitle 1s ease-out 0.3s forwards;
}

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

.core-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(30px);
    animation: revealSubtitle 1s ease-out 0.6s forwards;
}

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

/* Core Modules Container */
.core-modules-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Core Module Modern */
.core-module-modern {
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 127, 0.1);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.core-module-modern[data-module="ai"] {
    animation: slideInModule 0.8s ease-out 0.9s forwards;
}

.core-module-modern[data-module="ocr"] {
    animation: slideInModule 0.8s ease-out 1.1s forwards;
}

.core-module-modern[data-module="connectors"] {
    animation: slideInModule 0.8s ease-out 1.3s forwards;
}

.core-module-modern[data-module="security"] {
    animation: slideInModule 0.8s ease-out 1.5s forwards;
}

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

.core-module-modern:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(0, 255, 127, 0.4);
    box-shadow: 0 20px 60px rgba(0, 255, 127, 0.15);
}

/* Module Icon */
.module-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    position: relative;
    z-index: 2;
}

.module-icon svg {
    width: 100%;
    height: 100%;
    color: var(--accent-green);
    filter: drop-shadow(0 0 10px rgba(0, 255, 127, 0.3));
    transition: all 0.3s ease;
}

.core-module-modern:hover .module-icon svg {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 20px rgba(0, 255, 127, 0.6));
}

/* Module Content */
.module-content {
    position: relative;
    z-index: 2;
}

.module-title-modern {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.core-module-modern:hover .module-title-modern {
    color: var(--accent-green);
}

.module-description-modern {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    opacity: 0.9;
}

/* Module Glow */
.module-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 255, 127, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.core-module-modern:hover .module-glow {
    opacity: 1;
    animation: pulse 2s ease-in-out infinite;
}

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

/* Team Section Modern - Logo Centered */
.team-section-modern {
    padding: 120px 0;
    background: var(--primary-bg);
    text-align: center;
}

.team-content-centered {
    max-width: 800px;
    margin: 0 auto;
}

.wiven-logo-container {
    margin-bottom: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wiven-logo-large {
    width: 300px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 255, 127, 0.2));
    transition: all 0.4s ease;
}

.wiven-logo-large:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 30px rgba(0, 255, 127, 0.4));
}

.team-text-elegant {
    max-width: 700px;
    margin: 0 auto;
}

.team-text-elegant p {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 300;
    letter-spacing: 0.3px;
    text-align: center;
}
