* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --black: #000000;
    --white: #ffffff;
    --gray-50: #f9f9f9;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-600: #525252;
    --gray-800: #262626;
    --gray-900: #171717;
    --dark-gray: #1a1a1a;
    --medium-gray: #2a2a2a;
    --light-gray: #a0a0a0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--black);
    color: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Barre de défilement */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: var(--white);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #f1f1f1;
}

/* Curseur personnalisé */
* {
    cursor: none !important;
}

.custom-cursor {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translate(-50%, -50%);
}

.custom-cursor.hover {
    width: 60px;
    height: 60px;
    border-color: rgba(255, 255, 255, 0.8);
}

/*button:hover ~ .custom-cursor,*/
/*a:hover ~ .custom-cursor,*/
/*input:hover ~ .custom-cursor,*/
/*.upload-zone:hover ~ .custom-cursor {*/
/*    width: 60px;*/
/*    height: 60px;*/
/*    background-color: rgba(255, 255, 255, 0.1);*/
/*    border-color: rgba(255, 255, 255, 0.8);*/
/*}*/

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--medium-gray);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 64px;
    background-color: transparent;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    background-color: rgba(0, 0, 0, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -1.5px;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s infinite;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.space {
    color: var(--black);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    background-color: #d0d0d0;
    padding: 8px 16px;
    border-radius: 50px;
}

.space:hover {
    transform: scale(1.05);
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.space::before {

    
    transition: all 0.3s ease;
    
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Sélecteur de langue */
.language-switcher {
    display: flex;
    gap: 8px;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lang-btn {
    padding: 8px 16px;
    background-color: transparent;
    border: none;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-btn:not(.active) {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.lang-btn:hover:not(.active) {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.lang-btn.active {
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    color: var(--black);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* ======== STYLES POUR LA SECTION AIDE (CTA) ======== */

.help-cta {
    padding: 200px 0;
    margin-bottom: 200px;
    background: var(--black);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Séparation */
}

.help-cta h2 {
    font-size: 56px;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #808080 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 40px;
    letter-spacing: -2px;
}

/* Style de bouton réutilisé (similaire aux boutons d'action) */
.btn-cta {
    display: inline-block; /* Nécessaire pour un tag <a> */
    text-decoration: none;
    padding: 18px 48px;
    background: linear-gradient(135deg, #ffffff 0%, #d0d0d0 100%);
    color: var(--black);
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.btn-cta:hover::before {
    left: 100%;
}

.btn-cta:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 16px 48px rgba(255, 255, 255, 0.4);
}

.btn-cta:active {
    transform: translateY(-2px) scale(1.02);
}

@media (max-width: 768px) {
    .help-cta {
        padding: 80px 24px;
    }
    .help-cta h2 {
        font-size: 38px;
    }
    .btn-cta {
        padding: 16px 32px;
        font-size: 14px;
    }
}

/* Main */
main {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    /* padding: 120px 2rem 2rem; */
    background: radial-gradient(ellipse at top, #1a1a1a 0%, #000000 60%);
    position: relative;
}

main::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 1px,
        rgba(255, 255, 255, 0.03) 1px,
        rgba(255, 255, 255, 0.03) 2px
    );
    animation: gridMove 20s linear infinite;
    pointer-events: none;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.upload-container,
.email-verification,
.code-verification,
.success-section {
    text-align: center;
    max-width: 600px;
    width: 100%;
    animation: fadeIn 0.5s ease;
    position: relative;
    z-index: 1;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Upload Zone */
.upload-zone {
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 80px 48px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.upload-zone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.upload-zone:hover::before {
    opacity: 1;
}

.upload-zone:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.upload-zone.dragover {
    border-color: var(--white);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    transform: scale(1.03);
    box-shadow: 0 32px 80px rgba(255, 255, 255, 0.2);
}

.upload-zone svg {
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.2));
}

.upload-zone:hover svg {
    color: var(--white);
    transform: translateY(-8px) rotate(5deg);
}

.upload-zone h2 {
    font-size: 32px;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: -1px;
}

.upload-zone p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
    font-weight: 300;
}

/* Styles pour la barre de progression */
.progress-container {
    width: 90%; /* Largeur augmentée */
    max-width: 550px; /* Largeur maximale augmentée */
    height: 15px !important; /* Hauteur augmentée */
    background-color: rgba(255, 255, 255, 0.15); /* Fond un peu plus visible */
    border-radius: 10px;
    margin: 30px auto; /* Plus d'espace vertical */
    padding: 0;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2); /* Ajout d'une bordure fine */
}

.progress-bar {
    width: 0%;
    height: 12px !important;
    background-color: #ffffff; /* Couleur blanche unie 
    background: linear-gradient(90deg, #ffffff 0%, #e0e0e0 100%);/* Ou un léger gradient blanc si tu préfères */
    border-radius: 8px; /* Léger arrondi intérieur */
    transition: width 0.4s ease; /* Transition un peu plus longue */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5); /* Ajout d'une lueur */
}


.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px; /* Taille légèrement augmentée */
    font-weight: 700; /* Plus gras */
    color: var(--black); /* Texte noir pour contraster sur le blanc */
    mix-blend-mode: normal; /* Pas besoin de blend-mode si la barre est blanche */
    line-height: 20px; /* Aligner verticalement avec la nouvelle hauteur */
    text-shadow: 0 0 2px rgba(255,255,255,0.5); /* Ombre légère pour lisibilité */
}

/* Ajustements pour le conteneur principal */
.upload-container {
    /* ... (styles existants) ... */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.upload-zone {
     /* ... (styles existants) ... */
    margin-bottom: 30px; /* Augmenter l'espace avant la barre */
}

/* Sections */
.email-verification h2,
.code-verification h2,
.success-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.email-verification p,
.code-verification p,
.success-section p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Inputs */
input[type="email"],
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    color: var(--white);
    font-size: 16px;
    margin-bottom: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

input[type="email"]::placeholder,
input[type="text"]::placeholder,
input[type="password"]::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

input[type="email"]:focus,
input[type="text"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

/* Buttons */
button {
    padding: 18px 48px;
    /* background: linear-gradient(135deg, #ffffff 0%, #d0d0d0 100%); */
    color: var(--black);
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

button:hover::before {
    left: 100%;
}

button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 16px 48px rgba(255, 255, 255, 0.4);
}

button:active {
    transform: translateY(-2px) scale(1.02);
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Code Inputs */
.code-inputs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.code-input {
    width: 60px;
    height: 70px;
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
}

.code-input:focus {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

/* Link Container */
.link-container {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 8px;
    transition: all 0.3s ease;
}

.link-container:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.07);
}

.link-container input {
    flex: 1;
    margin-bottom: 0;
    background: transparent;
    border: none;
    padding: 12px 16px;
}

.link-container input:focus {
    background: transparent;
    box-shadow: none;
    transform: none;
}

.link-container button {
    padding: 12px 24px;
    margin: 0;
}

/* Erreur 404 */

.error-container {
    text-align: center;
}

.error-code {
    font-size: 160px;
}

/* Download Container */
.download-container {
    text-align: center;
    max-width: 600px;
    width: 100%;
    animation: fadeIn 0.5s ease;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    align-content: center;
    padding: 80px 48px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.download-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.download-container:hover::before {
    opacity: 1;
}

.download-container:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    border-color: rgba(255, 255, 255, 0.2);
}

.download-container svg {
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.2));
}

.download-container:hover svg {
    color: var(--white);
    transform: translateY(-8px);
    animation: downloadPulse 1.5s ease-in-out infinite;
}

@keyframes downloadPulse {
    0%, 100% {
        transform: translateY(-8px);
    }
    50% {
        transform: translateY(-2px);
    }
}

.download-container h2 {
    font-size: 32px;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--white);
}

.download-container p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 32px;
}

.download-container button {
    background: linear-gradient(135deg, #ffffff 0%, #d0d0d0 100%);
    margin-top: 24px;
}

/* Responsive pour download-container */
@media (max-width: 768px) {
    .download-container {
        padding: 56px 32px;
    }

    .download-container h2 {
        font-size: 24px;
    }

    .download-container p {
        font-size: 16px;
    }
}

/* Success Icon */
.success-section svg {
    margin-bottom: 32px;
    filter: drop-shadow(0 0 20px rgba(76, 175, 80, 0.5));
    animation: successPulse 2s ease-in-out infinite;
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
}

.footer-column h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--white);
}

.footer-column p {
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    font-weight: 300;
}

.footer-link {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    font-weight: 300;
    position: relative;
    width: fit-content;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--white);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer-link:hover::after {
    width: 100%;
}

.footer-bottom {
    align-items: center;
    align-content: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
    width:100%;
    display:flex;
    justify-content:center;
}

.footer-bottom p {
    width: 330px;
    display:flex;
    justify-content: center;
    gap: 5px;
}

@keyframes successPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 20px 24px;
    }

    .logo {
        font-size: 24px;
    }

    main {
        padding: 100px 24px 24px;
    }

    .upload-zone {
        padding: 56px 32px;
    }

    .upload-zone h2 {
        font-size: 24px;
    }

    .upload-zone p {
        font-size: 16px;
    }

    .code-inputs {
        gap: 0.5rem;
    }

    .code-input {
        width: 50px;
        height: 60px;
        font-size: 1.5rem;
    }

    .link-container {
        flex-direction: column;
    }

    .link-container button {
        width: 100%;
    }

    button {
        padding: 16px 32px;
        font-size: 14px;
    }

    .language-switcher {
        gap: 4px;
    }

    .lang-btn {
        padding: 6px 12px;
        font-size: 11px;
    }
}

/* Curseur personnalisé */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
    mix-blend-mode: difference;
}

.cursor.hover {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.6);
}

/* Container pour features */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Section Features */
.features {
    padding: 140px 0;
    background: var(--black);
    position: relative;
}

.features h2 {
    text-align: center;
    font-size: 56px;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #808080 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 80px;
    letter-spacing: -2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-card {
    padding: 48px 36px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--white), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.feature-card:hover::before {
    transform: translateX(100%);
}

.feature-card:hover {
    transform: translateY(-16px) scale(1.03);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.8);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-icon, .drive-icon {
    font-size: 56px;
    margin-bottom: 24px;
    display: inline-block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(1);
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(10deg);
    filter: grayscale(0);
}

.feature-card h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    font-size: 16px;
    font-weight: 300;
}

@media (max-width: 768px) {
    header {
        padding: 20px 24px;
    }

    .logo {
        font-size: 24px;
    }

    main {
        padding: 100px 24px 24px;
    }

    .upload-zone {
        padding: 56px 32px;
    }

    .upload-zone h2 {
        font-size: 24px;
    }

    .upload-zone p {
        font-size: 16px;
    }

    .code-inputs {
        gap: 0.5rem;
    }

    .code-input {
        width: 50px;
        height: 60px;
        font-size: 1.5rem;
    }

    .link-container {
        flex-direction: column;
    }

    .link-container button {
        width: 100%;
    }

    button {
        padding: 16px 32px;
        font-size: 14px;
    }

    .language-switcher {
        gap: 4px;
    }

    .lang-btn {
        padding: 6px 12px;
        font-size: 11px;
    }

    .container {
        padding: 0 24px;
    }

    .features {
        padding: 80px 0;
    }

    .features h2 {
        font-size: 38px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

}

.footer-section {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  margin-bottom: 16px;
  transition: all 0.3s ease;
  font-weight: 300;
  position: relative;
  width: fit-content;
}

.footer-section::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--white);
  transition: width 0.3s ease;
}

.footer-section:hover {
  color: var(--white);
  transform: translateX(4px);
}

.footer-section:hover::after {
  width: 100%;
}

/* ... (Tous vos styles existants) ... */

/* ======== STYLES POUR LE MODAL CGU ======== */
.hidden {
    display: none !important;
}

.cgu-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Fond plus opaque */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9990;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.cgu-modal-content {
    background-color: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: 24px;
    max-width: 600px;
    width: 90%;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 9991;
}

.cgu-modal-content h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--white);
    text-align: center;
}

.cgu-text-box {
    height: 300px;
    overflow-y: auto;
    background: var(--black);
    border: 1px solid var(--gray-800);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.6;
}

.cgu-text-box p {
    margin-bottom: 1rem;
}
.cgu-text-box p:last-child {
    margin-bottom: 0;
}

.cgu-modal-content .btn-cta {
    width: 100%;
    margin-top: 1rem;
}

/* Désactive l'upload lorsque le modal est actif */
body.modal-active main {
    pointer-events: none;
    filter: blur(5px);
}


@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}



/* Pricing */

.pricing {
  padding: 140px 0;
  background: radial-gradient(ellipse at center, #1a1a1a 0%, #000000 70%);
  position: relative;
}

.pricing h2 {
  text-align: center;
  font-size: 56px;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 0%, #808080 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 80px;
  letter-spacing: -2px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;

  
}

.price-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 32px;
  padding: 56px 40px;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: visible;
}

.price-card::after {
  content: '';
  position: absolute;
  /*inset: 0;*/
  border-radius: 32px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.price-card:hover::after {
  opacity: 1;
}

.price-card:hover {
  transform: translateY(-16px) scale(1.03);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.8);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
  border-color: rgba(255, 255, 255, 0.2);
}

.price-card.featured {
  border-color: rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ffffff 0%, #d0d0d0 100%);
  color: var(--black);
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  z-index: inherit;
  letter-spacing: 1.5px;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(1.05);
  }
}

.price-card h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.price {
  font-size: 64px;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 0%, #808080 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 40px;
  line-height: 1;
  letter-spacing: -2px;
}

.price span {
  font-size: 20px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
}

.price-card ul {
  list-style: none;
  margin-bottom: 40px;
  text-align: left;
}

.price-card li {
  padding: 16px 0;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  padding-left: 36px;
  font-weight: 300;
  font-size: 15px;
  transition: all 0.3s ease;
}

.price-card li:hover {
  color: var(--white);
  transform: translateX(4px);
}

.price-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
}

.app {
    height: 100vh;
}

/* Style du bouton/lien de la carte de prix */
.btn-outline,
.a-outline { /* AJOUT DE .a-outline ICI */
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 18px 40px;
  border-radius: 16px;
  font-weight: 700;
  /* CURSOR NONE RETIRÉ ICI */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 16px;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  text-decoration: none; /* Pour .a-outline */
  display: block; /* Pour .a-outline */
}

.btn-outline::before,
.a-outline::before { /* AJOUT DE .a-outline::before ICI */
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.btn-outline:hover::before,
.a-outline:hover::before { /* AJOUT DE .a-outline:hover::before ICI */
  transform: translateY(0);
}

.btn-outline:hover,
.a-outline:hover { /* AJOUT DE .a-outline:hover ICI */
  color: var(--black);
  border-color: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(255, 255, 255, 0.3);
}

.price-card .btn-primary {
  width: 100%;
}

/* Ajoutez ces styles à votre fichier style.css existant */

/* Liste des fichiers sélectionnés */
.selected-files {
    width: 100%;
    max-width: 600px;
    margin: 2rem auto;
    padding: 32px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.selected-files h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.selected-files ul {
    list-style: none;
    margin-bottom: 24px;
    max-height: 300px;
    overflow-x: hidden;
    overflow-y: auto;
}


.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.file-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
}

.file-name {
    flex: 1;
    color: var(--white);
    font-weight: 500;
    margin-right: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-size {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin-right: 16px;
}

.remove-file {
    width: 32px;
    height: 32px;
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 50%;
    color: #ff6b6b;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-file:hover {
    background: rgba(255, 0, 0, 0.3);
    border-color: #ff6b6b;
    transform: scale(1.1);
}

/* Actions des fichiers */
.files-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.btn-secondary {
    flex: 1;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-primary {
    flex: 1;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ffffff 0%, #d0d0d0 100%);
    border: none;
    border-radius: 16px;
    color: var(--black);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    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.4), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 16px 48px rgba(255, 255, 255, 0.4);
}

/* Barre de progression mise à jour */
/*.progress-container {*/
/*    width: 90%;*/
/*    max-width: 550px;*/
/*    margin: 30px auto;*/
/*    padding: 24px;*/
/*    background: rgba(255, 255, 255, 0.05);*/
/*    border: 1px solid rgba(255, 255, 255, 0.1);*/
/*    border-radius: 16px;*/
/*    backdrop-filter: blur(10px);*/
/*    -webkit-backdrop-filter: blur(10px);*/
/*}*/

/*.progress-info {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*    margin-bottom: 16px;*/
/*    color: var(--white);*/
/*    font-size: 14px;*/
/*    font-weight: 600;*/
/*}*/

#currentFileInfo {
    color: rgba(255, 255, 255, 0.7);
}



/* Compteur de fichiers dans la section succès */
.files-count {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .selected-files {
        padding: 24px;
    }
    
    .files-actions {
        flex-direction: column;
    }
    
    .btn-secondary,
    .btn-primary {
        width: 100%;
    }
    
    .file-item {
        flex-wrap: wrap;
    }
    
    .file-name {
        flex: 1 1 100%;
        margin-bottom: 8px;
    }
}

/* Style pour la section mot de passe sur la page download */
#passwordSection input[type="password"] {
    transition: all 0.3s ease;
}

#passwordSection input[type="password"]:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

#passwordSection svg {
    display: block;
    margin: 0 auto 16px;
}

/* Animation pour afficher la section mot de passe */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#passwordSection {
    animation: fadeInUp 0.5s ease;
}

/* Section Drive */
.drive-section {
    padding: 60px 0;
    padding-top: 148px;
    background: radial-gradient(ellipse at center, #1a1a1a 0%, #000000 70%);
    position: relative;
    overflow: hidden;
}

.drive-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 1px,
        rgba(255, 255, 255, 0.02) 1px,
        rgba(255, 255, 255, 0.02) 2px
    );
    pointer-events: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.drive-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.drive-text {
    animation: fadeInLeft 0.8s ease;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.drive-text h2 {
    font-size: 56px;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #808080 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 32px;
    letter-spacing: -2px;
    line-height: 1.1;
}

.drive-text p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
    line-height: 1.8;
    font-weight: 300;
}

.drive-features {
    margin: 40px 0;
}

.drive-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.drive-feature-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(8px);
}

.drive-icon {
    font-size: 24px;
    min-width: 24px;
}

.feature-text h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
}

.feature-text p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.drive-cta {
    margin-top: 48px;
}

.btn-drive {
    display: inline-block;
    text-decoration: none;
    padding: 20px 48px;
    background: linear-gradient(135deg, #ffffff 0%, #d0d0d0 100%);
    color: #000000;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-drive::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.btn-drive:hover::before {
    left: 100%;
}

.btn-drive:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 16px 48px rgba(255, 255, 255, 0.4);
}

/* Image Container */
.drive-image {
    position: relative;
    animation: fadeInRight 0.8s ease;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.image-wrapper:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;  /* Changé de 16/10 à 16/9 */
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.4);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    padding: 0;  /* Ajouté pour éviter tout padding */
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;  /* Changé de cover à contain */
    border-radius: 16px;
    filter: contrast(0.4);
    transition: filter 0.5s ease;
}

.image-wrapper:hover .image-placeholder img {
    filter: contrast(1);
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    to {
        left: 100%;
    }
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.image-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 1024px) {
    .drive-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .drive-text h2 {
        font-size: 42px;
    }

    .drive-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .drive-section {
        padding: 80px 0;
    }

    .container {
        padding: 0 24px;
    }

    .drive-text h2 {
        font-size: 32px;
        margin-bottom: 24px;
    }

    .drive-text p {
        font-size: 16px;
    }

    .drive-features {
        margin: 32px 0;
    }

    .drive-feature-item {
        padding: 16px;
    }

    .feature-text h4 {
        font-size: 16px;
    }

    .btn-drive {
        width: 100%;
        text-align: center;
        padding: 18px 32px;
    }

    .image-wrapper {
        padding: 16px;
    }
}
