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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding-top: 70px; /* Compensation pour la navbar fixe */
    min-height: 100vh;
    margin: 0; /* S'assurer qu'il n'y a pas de marges par défaut */
    overflow-x: hidden; /* Éviter le scroll horizontal */
}

/* Pages sans navbar (login, register, etc.) */
body.no-navbar {
    padding-top: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative; /* Pour éviter les problèmes de positionnement */
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 70px; /* Hauteur fixe */
    z-index: 1000;
    transform: translateZ(0); /* Force la création d'un nouveau layer pour éviter les problèmes de scroll */
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    height: 70px;
    gap: 20px;
}

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

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nav-logo a:hover {
    opacity: 0.8;
}

.nav-logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
}

.nav-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

/* Menu principal centré */
.nav-menu-center {
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

.nav-menu-center a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu-center a:hover {
    color: #2563eb;
}

/* Éléments de droite */
.nav-right {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: flex-end;
}

.nav-right a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-right a:hover {
    color: #2563eb;
}

/* Menu mobile */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 4px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 3px;
    background: #374151;
    border-radius: 2px;
    transition: 0.3s;
}

.mobile-nav {
    display: none !important; /* Forcer à être masqué par défaut */
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 999;
}

.mobile-nav-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav-content a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 16px;
}

.mobile-nav-content a:hover {
    color: #2563eb;
}

.mobile-login {
    background: #2563eb;
    color: white !important;
    text-align: center;
    border-radius: 8px;
    margin-top: 8px;
    border: none !important;
}

.mobile-login:hover {
    background: #1d4ed8 !important;
}

/* Sélecteur de langue mobile */
.mobile-lang-selector {
    position: relative;
    margin-left: 10px;
    display: none; /* Masqué par défaut */
}

.mobile-lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    color: #374151;
    transition: all 0.3s ease;
}

.mobile-lang-btn:hover {
    border-color: #2563eb;
    background: #f8fafc;
}

.mobile-lang-flag {
    font-size: 16px;
}

.mobile-lang-code {
    font-weight: 500;
}

.mobile-lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 160px;
    z-index: 1000;
    margin-top: 4px;
}

.mobile-lang-dropdown.show {
    display: block;
}

.mobile-lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    text-decoration: none;
    color: #374151;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.mobile-lang-option:hover {
    background: #f8fafc;
}

.mobile-lang-option.active {
    background: #2563eb;
    color: white;
}

.mobile-lang-option .flag {
    font-size: 16px;
}

.mobile-lang-option .lang-name {
    font-weight: 500;
}

/* Bouton hamburger */
.hamburger-menu {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 4px;
    transition: all 0.3s ease;
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background-color: #374151;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-menu:hover .hamburger-line {
    background-color: #2563eb;
}

/* Menu mobile */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-menu-content a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    transition: color 0.3s ease;
}

.mobile-menu-content a:hover {
    color: #2563eb;
}

.mobile-menu-content a:last-child {
    border-bottom: none;
}

.mobile-cta {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white !important;
    padding: 12px 20px !important;
    border-radius: 8px;
    text-align: center;
    margin-top: 8px;
    border: none !important;
}

.mobile-cta:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-1px);
}

/* Sélecteur de langue mobile */
.mobile-language-selector {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.mobile-language-title {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 12px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-language-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.mobile-language-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    color: #374151;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.mobile-language-option:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.mobile-language-option.active {
    background: #2563eb;
    color: white;
}

.mobile-language-option .flag {
    font-size: 1.1rem;
}

/* Animation du bouton hamburger */
.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.language-menu {
    position: relative;
    margin-left: 15px;
}

.language-toggle {
    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.9rem;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 80px;
    justify-content: center;
}

.language-toggle:hover {
    border-color: #2563eb;
    background: #f8fafc;
}

.language-toggle:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.globe-icon {
    font-size: 1rem;
}

.current-lang {
    font-weight: 500;
    font-size: 0.8rem;
}

.arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.language-menu.open .arrow {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    min-width: 160px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 5px;
}

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

.language-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    text-decoration: none;
    color: #374151;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f1f5f9;
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: #f8fafc;
}

.language-option.active {
    background: #eff6ff;
    color: #2563eb;
    font-weight: 500;
}

.flag {
    font-size: 1.2rem;
}

.lang-name {
    font-size: 0.9rem;
}

/* Responsive pour le menu de langue */
@media (max-width: 768px) {
    .language-menu {
        margin-left: 10px;
    }
    
    .language-toggle {
        padding: 6px 10px;
        font-size: 0.8rem;
        min-width: 70px;
    }
    
    .language-dropdown {
        min-width: 140px;
    }
    
    .nav-logo img {
        width: 32px;
        height: 32px;
    }
    
    .nav-logo .logo-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .language-menu {
        order: -1;
        margin-left: 0;
        margin-bottom: 10px;
        width: 100%;
    }
    
    .language-toggle {
        width: 100%;
        justify-content: center;
    }
    
    .language-dropdown {
        width: 100%;
        right: 0;
    }
}

/* Messages Flash */
.flash-messages {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    max-width: 500px;
    width: 90%;
}

.flash-message {
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: slideInDown 0.3s ease-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.flash-success {
    background: #10b981;
    color: white;
    border-left: 4px solid #059669;
}

.flash-error {
    background: #ef4444;
    color: white;
    border-left: 4px solid #dc2626;
}

.flash-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.flash-close:hover {
    opacity: 1;
}

@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Styles pour le contenu protégé */
.protected-loading {
    padding: 20px;
    text-align: center;
    color: #64748b;
    font-style: italic;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px dashed #cbd5e1;
    animation: pulse 2s infinite;
}

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

/* Responsive Hero Section */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        padding: 100px 0 60px 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin: 0 auto 30px auto;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .trust-stats {
        gap: 20px;
        justify-content: center;
    }
    
    .trust-badges {
        gap: 10px;
    }
    
    .trust-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .tablet-screen {
        width: 300px;
        height: 225px;
    }
    
    .detection-message {
        font-size: 0.7rem;
        padding: 6px 12px;
    }
    
    /* Ajuster le positionnement sur tablette - 3 éléments avec espacement égal */
    .detection-message:nth-child(1) {
        top: 18%;
    }
    
    .detection-message:nth-child(2) {
        top: 50%;
        transform: translateX(-50%) translateY(-50%);
    }
    
    .detection-message:nth-child(3) {
        top: 82%;
        transform: translateX(-50%) translateY(-100%);
    }
    
    .shield-icon-large {
        width: 50px;
        height: 50px;
        top: 15px;
        left: 15px;
    }
    
    .shield-checkmark {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 100vh;
        padding: 80px 0 40px 0;
    }
    
    .hero-container {
        gap: 30px;
        padding: 0 15px;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .tablet-screen {
        width: 250px;
        height: 188px;
    }
    
    .detection-message {
        font-size: 0.6rem;
        padding: 4px 8px;
    }
    
    /* Ajuster le positionnement sur mobile - 3 éléments avec espacement égal */
    .detection-message:nth-child(1) {
        top: 15%;
    }
    
    .detection-message:nth-child(2) {
        top: 50%;
        transform: translateX(-50%) translateY(-50%);
    }
    
    .detection-message:nth-child(3) {
        top: 85%;
        transform: translateX(-50%) translateY(-100%);
    }
    
    .shield-icon-large {
        width: 40px;
        height: 40px;
        top: 10px;
        left: 10px;
    }
    
    .shield-checkmark {
        font-size: 1rem;
    }
}

.cta-button {
    background: #2563eb;
    color: white !important;
    padding: 10px 20px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background: #1d4ed8;
}

/* Bouton Demo */
.demo-button {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white !important;
    padding: 10px 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(5, 150, 105, 0.2);
    position: relative;
    overflow: hidden;
}

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

.demo-button:hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(5, 150, 105, 0.3);
}

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

/* Hero Section */
.hero {
    min-height: 100vh; /* Prendre au minimum la hauteur de l'écran */
    display: flex;
    align-items: center;
    background: #f8fafc;
    margin-top: -70px; /* Compensation pour le padding-top du body */
    position: relative;
    padding: 120px 0 80px 0; /* Plus d'espace au-dessus et en dessous */
    box-sizing: border-box;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, #2563eb 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 500px;
}

/* Éléments de confiance */
.trust-elements {
    margin: 30px 0;
}

.trust-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.trust-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 5px;
}

.trust-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.trust-badge {
    background: #f8fafc;
    color: #374151;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #059669 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.1), 0 2px 4px -1px rgba(37, 99, 235, 0.06);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px -1px rgba(37, 99, 235, 0.2), 0 4px 6px -1px rgba(37, 99, 235, 0.1);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: white;
    color: #374151;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-secondary:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    transform: translateY(-1px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tablet-screen {
    width: 400px;
    height: 300px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border: 8px solid #1e293b;
    overflow: hidden; /* Pour masquer les éléments qui dépassent */
}

/* Texte de détection dans l'écran - Overlay transparent */
.screen-detection-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.detection-message {
    position: absolute;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(5, 150, 105, 0.8);
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(5, 150, 105, 0.3);
    animation: fadeInOut 4s ease-in-out infinite;
    white-space: nowrap;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.2);
    opacity: 0;
}

/* Positionnement des messages en overlay transparent - 3 éléments avec espacement égal */
.detection-message:nth-child(1) {
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.detection-message:nth-child(2) {
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    animation-delay: 1.5s;
}

.detection-message:nth-child(3) {
    top: 80%;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    animation-delay: 3s;
}

/* Animation de fondu pour les messages de détection */
@keyframes fadeInOut {
    0%, 100% {
        opacity: 0;
        transform: translateX(-50%) scale(0.8);
    }
    20%, 80% {
        opacity: 0.9;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.05);
    }
}


.shield-icon-large {
    width: 60px;
    height: 60px;
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2; /* Au-dessus du texte de détection */
}

.shield-gradient {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.shield-gradient:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.shield-checkmark {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.shield-icon {
    font-size: 8rem;
    opacity: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield-icon img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Sections générales */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    color: #1e293b;
    margin-bottom: 50px;
}

/* Features Section */
.features {
    padding: 60px 0 80px 0;
    background: #ffffff;
    position: relative; /* Pour éviter les problèmes de positionnement */
    margin-top: 0; /* S'assurer qu'il n'y a pas d'espace supplémentaire */
    margin-bottom: 0; /* Éviter les marges par défaut */
}

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

.feature-card {
    background: #f8fafc;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 15px;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Feature Highlights Section */
.feature-highlights {
    padding: 60px 0;
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
}

.highlights-grid {
    display: flex;
    justify-content: flex-start;
    gap: 40px;
    max-width: 600px;
    margin: 0 auto;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: #f8fafc;
    border-radius: 25px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
    font-size: 1.5rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

/* Compatibility Section */
.compatibility {
    padding: 80px 0;
    background: #f8fafc;
}

.compatibility-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.compatibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.compatibility-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.compatibility-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #2563eb;
}

.framework-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.compatibility-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 15px;
}

.framework-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 15px;
}

.framework-tag {
    background: #e2e8f0;
    color: #374151;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.compatibility-card:hover .framework-tag {
    background: #2563eb;
    color: white;
}

.compatibility-card p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 20px 0;
}

/* Responsive Feature Highlights */
@media (max-width: 768px) {
    .feature-highlights {
        padding: 40px 0;
    }
    
    .highlights-grid {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .highlight-item {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .feature-highlights {
        padding: 30px 0;
    }
    
    .highlight-item {
        padding: 10px 16px;
    }
    
    .highlight-text {
        font-size: 0.8rem;
    }
}

.card-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.8rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary {
    background: #2563eb;
    color: white;
    border: 1px solid #2563eb;
}

.btn-secondary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

.btn-outline {
    background: transparent;
    color: #2563eb;
    border: 1px solid #2563eb;
}

.btn-outline:hover {
    background: #2563eb;
    color: white;
}

/* Styles pour la carte "View all" */
.view-all-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px dashed #cbd5e1;
    position: relative;
    overflow: hidden;
}

.view-all-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(37, 99, 235, 0.05) 50%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.view-all-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.view-all-icon {
    margin-bottom: 20px;
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    max-width: 120px;
}

.grid-item {
    font-size: 1.5rem;
    padding: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.grid-item:hover {
    transform: scale(1.1);
}

.view-all-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
    text-align: center;
}

.view-all-card p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 25px;
    text-align: center;
    max-width: 200px;
}

.btn-large {
    padding: 12px 24px;
    font-size: 1rem;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
}

.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.view-all-card:hover {
    border-color: #2563eb;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.15);
}

/* Styles pour la page Developers */
.developers-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.developers-hero .hero-title {
    color: white;
}

.developers-hero .hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.code-icon {
    font-size: 4rem;
    opacity: 0.8;
}

/* Navigation active state */
.nav-links a.active {
    color: #2563eb;
    font-weight: 600;
}

/* Technologies Grid */
.technologies {
    padding: 80px 0;
    background: #f8fafc;
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 50px;
}

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

.tech-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
    border-color: #2563eb;
}

.tech-icon {
    text-align: center;
    margin-bottom: 20px;
}

.tech-icon img {
    border-radius: 8px;
}

.nodejs-icon, .java-icon, .api-icon, .cms-icon {
    font-size: 3rem;
    display: block;
    text-align: center;
}

.tech-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 15px;
    text-align: center;
}

.tech-frameworks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 15px;
}

.framework-badge {
    background: #e2e8f0;
    color: #374151;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-card:hover .framework-badge {
    background: #2563eb;
    color: white;
}

.tech-card p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 25px;
    text-align: center;
}

.download-section {
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
}

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

.version {
    background: #10b981;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.date {
    color: #64748b;
    font-size: 0.8rem;
}

.download-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-download, .btn-docs {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    font-size: 0.9rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
}

.btn-download {
    background: #2563eb;
    color: white;
    border: 1px solid #2563eb;
}

.btn-download:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-1px);
}

.btn-docs {
    background: transparent;
    color: #2563eb;
    border: 1px solid #2563eb;
}

.btn-docs:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-1px);
}

/* Quick Start Section */
.quick-start {
    padding: 80px 0;
    background: white;
}

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

.quick-start-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.quick-start-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #2563eb;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 auto 20px;
}

.quick-start-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
}

.quick-start-card p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #f1f5f9;
}

.footer-section a {
    display: block;
    color: #cbd5e1;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #2563eb;
}

.footer-section p {
    color: #cbd5e1;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .technologies-grid {
        grid-template-columns: 1fr;
    }
    
    .download-buttons {
        flex-direction: column;
    }
    
    .version-info {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .quick-start-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.compatibility-cta {
    text-align: center;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.2);
    border: none;
    color: white;
}

.compatibility-cta h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

.compatibility-cta p {
    color: #e2e8f0;
    margin-bottom: 20px;
    font-size: 1rem;
}

.compatibility-cta .btn-primary {
    background: #ffffff;
    color: #2563eb;
    border: 2px solid #ffffff;
}

.compatibility-cta .btn-primary:hover {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

/* Example Section */
.example {
    padding: 80px 0;
    background: #ffffff;
}

.example-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.example-explanation {
    background: #f8fafc;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.example-explanation h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
}

.example-explanation p {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
}

.example-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin-top: 40px;
}

.example-steps .step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.example-steps .step:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.step-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.step-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 5px;
}

.step-text p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

.example-code {
    background: #1e293b;
    padding: 30px;
    border-radius: 12px;
    color: white;
}

.example-code h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 25px;
    text-align: center;
}

.code-block {
    margin-bottom: 25px;
    background: #0f172a;
    border-radius: 8px;
    overflow: hidden;
}

.code-block:last-child {
    margin-bottom: 0;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #334155;
    border-bottom: 1px solid #475569;
}

.code-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: #e2e8f0;
}

.copy-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.copy-btn:hover {
    background: #1d4ed8;
}

.code-block pre {
    margin: 0;
    padding: 16px;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.code-block code {
    color: #e2e8f0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .example {
        padding: 40px 0;
    }
    
    .example-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }
    
    .example-steps {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 30px;
    }
    
    .example-explanation {
        padding: 25px 20px;
    }
    
    .example-explanation h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .example-explanation p {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .example-steps .step {
        padding: 15px;
        gap: 10px;
    }
    
    .step-icon {
        font-size: 1.5rem;
    }
    
    .step-text h4 {
        font-size: 1rem;
    }
    
    .step-text p {
        font-size: 0.85rem;
    }
    
    .example-code {
        padding: 20px 15px;
    }
    
    .example-code h3 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .code-header {
        padding: 10px 12px;
    }
    
    .code-title {
        font-size: 0.8rem;
    }
    
    .code-block pre {
        padding: 12px;
    }
    
    .code-block code {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .example {
        padding: 30px 0;
    }
    
    .example-content {
        gap: 25px;
        padding: 0 15px;
    }
    
    .example-explanation {
        padding: 20px 15px;
    }
    
    .example-explanation h3 {
        font-size: 1.2rem;
    }
    
    .example-explanation p {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    
    .example-steps {
        gap: 12px;
        margin-top: 25px;
    }
    
    .example-steps .step {
        padding: 12px;
        gap: 8px;
    }
    
    .step-icon {
        font-size: 1.3rem;
    }
    
    .step-text h4 {
        font-size: 0.95rem;
    }
    
    .step-text p {
        font-size: 0.8rem;
    }
    
    .example-code {
        padding: 15px 12px;
    }
    
    .example-code h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .code-header {
        padding: 8px 10px;
    }
    
    .code-title {
        font-size: 0.75rem;
    }
    
    .code-block pre {
        padding: 10px;
    }
    
    .code-block code {
        font-size: 0.75rem;
        line-height: 1.3;
    }
}

.example-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.example-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.example-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 25px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 15px;
}

.example-content {
    line-height: 1.7;
}

.public-content {
    margin-bottom: 25px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #48bb78;
}

.public-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
}

.public-content p {
    color: #4a5568;
    margin-bottom: 0;
}

.protected-content {
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.protected-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 15px;
}

.protected-content p {
    color: #4a5568;
    margin-bottom: 15px;
}

.protected-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.protected-content li {
    color: #4a5568;
    margin-bottom: 8px;
}

.protected-content strong {
    color: #2563eb;
}

.example-info {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.example-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 25px;
    text-align: center;
}

.info-steps {
    margin-bottom: 30px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
}

.step-number {
    background: #2563eb;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 5px;
}

.step-content p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

.code-example {
    background: #1e293b;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.code-example h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.code-example pre {
    margin: 0;
    overflow-x: auto;
}

.code-example code {
    color: #e2e8f0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: #f8fafc;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: #f8fafc;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border: 2px solid #2563eb;
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #2563eb;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 30px;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: #64748b;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-card li {
    padding: 8px 0;
    color: #64748b;
    border-bottom: 1px solid #f1f5f9;
}

.pricing-card li:last-child {
    border-bottom: none;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #ffffff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
}

.contact-info p {
    color: #64748b;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-details p {
    margin-bottom: 10px;
    font-weight: 500;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.9rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.contact-form button {
    align-self: flex-start;
}

/* Footer */
.footer {
    background: #1e293b;
    color: #ffffff;
    padding: 60px 0 20px;
}

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

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 20px;
    text-align: center;
    color: #cbd5e1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu-center {
        display: none;
    }
    
    .nav-right {
        display: none;
    }
    
    .hero {
        min-height: 100vh;
        padding: 100px 0 60px 0; /* Espacement cohérent avec le desktop */
    }
    
    .features {
        padding: 20px 0 60px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .example-container {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 200px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .pricing-card {
        padding: 30px 20px;
    }
}

/* Authentication Pages */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 20px;
}

.auth-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header .logo-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 20px;
}

.auth-header .logo-text img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
}

.auth-header .logo-text span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

.auth-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin: 20px 0 10px;
}

.auth-header p {
    color: #64748b;
    font-size: 0.9rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: #374151;
    font-size: 0.9rem;
}

.form-group input {
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #2563eb;
}

.form-group small {
    font-size: 0.8rem;
    color: #64748b;
}

.forgot-password {
    color: #2563eb;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: right;
    display: block;
    margin-top: -10px;
}

.forgot-password:hover {
    text-decoration: underline;
}

.btn-disabled {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%) !important;
    color: #9ca3af !important;
    cursor: not-allowed !important;
    border: 1px solid #d1d5db !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;
    opacity: 0.8;
    transition: all 0.2s ease-in-out;
}

.btn-disabled:hover {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%) !important;
    transform: none !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;
}

.btn-disabled:active {
    transform: none !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;
}

.btn-full {
    width: 100%;
}

.auth-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.auth-footer a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.alert-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

/* Dashboard Styles */
@import url('dashboard.css');
.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px 40px;
}

.dashboard-header {
    margin-bottom: 40px;
}

.dashboard-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.dashboard-header p {
    color: #64748b;
    font-size: 1rem;
}

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

.stat-card {
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon {
    font-size: 2rem;
    opacity: 0.8;
}

.stat-content h3 {
    font-size: 0.9rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
}

.stat-limit {
    font-size: 0.9rem;
    color: #64748b;
}

.dashboard-section {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

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

.section-header h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
}

.api-keys-grid {
    display: grid;
    gap: 20px;
}

.api-key-card {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    background: #f8fafc;
}

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

.key-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
}

.key-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.key-status.active {
    background: #dcfce7;
    color: #16a34a;
}

.key-details {
    margin-bottom: 15px;
}

.key-value {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.key-value code {
    background: #1e293b;
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    flex: 1;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
}

.key-value code:hover {
    background: #334155;
}

.btn-copy {
    background: #2563eb;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-copy:hover {
    background: #1d4ed8;
}

.key-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.8rem;
    color: #64748b;
}

.key-actions {
    display: flex;
    gap: 10px;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.6;
}

.empty-state h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
}

.empty-state p {
    color: #64748b;
    margin-bottom: 20px;
}

.usage-chart {
    height: 300px;
    margin-top: 20px;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.action-card {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.action-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.action-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.action-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.action-card p {
    font-size: 0.9rem;
    color: #64748b;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .nav-menu-center {
        display: none !important;
    }
    
    .nav-right {
        display: none !important;
    }
    
    .nav-container {
        grid-template-columns: 1fr auto;
        justify-content: space-between;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-lang-selector {
        display: flex;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .mobile-lang-selector {
        display: block !important; /* Affiché uniquement sur mobile */
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #ffffff;
    border-radius: 12px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #64748b;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #1e293b;
}

.modal-body {
    padding: 24px;
}

.modal-form {
    padding: 24px;
}

.modal-actions {
    padding: 20px 24px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.new-key-display {
    background: #1e293b;
    color: #ffffff;
    padding: 16px;
    border-radius: 6px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.new-key-display code {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    flex: 1;
    word-break: break-all;
}

/* Responsive Dashboard */
@media (max-width: 768px) {
    .dashboard-container {
        padding: 80px 15px 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        margin: 20px;
    }
} 