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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Empêcher le scroll horizontal sur mobile */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
        padding-top: 80px; /* Espace pour le countdown banner fixe */
    }
    
    html {
        overflow-x: hidden;
    }
}

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

/* Bandeau avec chronomètre */
.countdown-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.countdown-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.countdown-icon {
    font-size: 1.2rem;
    color: #ffd700;
    animation: pulse 2s infinite;
}

.countdown-text {
    font-weight: 600;
    font-size: 1rem;
    color: white;
}

.countdown-timer {
    display: flex;
    align-items: center;
    gap: 8px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.countdown-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd700;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 8px;
    min-width: 50px;
    text-align: center;
    display: block;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.countdown-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.countdown-separator {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd700;
    margin-top: -10px;
}

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

/* Responsive pour le bandeau */
@media (max-width: 768px) {
    .countdown-banner {
        padding: 10px 0;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }
    
    .countdown-content {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }
    
    .countdown-timer {
        gap: 4px;
        justify-content: center;
    }
    
    .countdown-item {
        min-width: 50px;
    }
    
    .countdown-number {
        font-size: 1.2rem;
        padding: 6px 10px;
        min-width: 40px;
    }
    
    .countdown-label {
        font-size: 0.7rem;
    }
    
    .countdown-separator {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 70px; /* Espace réduit pour le countdown banner fixe sur mobile */
    }
    
    .countdown-banner {
        padding: 8px 0;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }
    
    .countdown-text {
        font-size: 0.9rem;
    }
    
    .countdown-item {
        min-width: 45px;
    }
    
    .countdown-number {
        font-size: 1rem;
        padding: 4px 8px;
        min-width: 35px;
    }
    
    .countdown-label {
        font-size: 0.65rem;
    }
    
    .countdown-separator {
        font-size: 1rem;
    }
}


/* Hero Section */
.hero {
    padding: 80px 0 80px 0;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 50%, #ffffff 100%);
    color: #1f2937;
    max-height: none;
    height: auto;
    display: flex;
    align-items: flex-start;
    padding-top: 60px;
    margin-top: 50px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
    margin-top: 40px;
}

.mission-content-integrated {
    grid-column: 1 / -1;
    max-width: 800px;
    margin: -35.5rem auto 0 auto;
    text-align: center;
    padding: 0;
}

.mission-content-integrated h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #ffffff;
}

.mission-content-integrated .mission-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.mission-content-integrated .mission-highlights {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

/* Responsive Hero */
@media (max-width: 1024px) {
    .hero-container {
        gap: 3rem;
        padding: 0 15px;
    }
    
    .hero {
        padding: 60px 0 60px 0;
        margin-top: 40px;
    }
    
    .mission-content-integrated {
        margin: 3rem auto 0 auto;
        padding: 1.5rem 0;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 20px 0 20px 0;
        margin-top: 30px;
        max-height: none;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
        margin-top: 0;
        padding: 0 15px;
        align-items: center;
        width: 100%;
        max-width: 800px;
    }
    
    .mission-content-integrated {
        margin: 2rem auto 0 auto;
        padding: 1rem 0;
    }
    
    .mission-content-integrated h2 {
        font-size: 2rem;
    }
    
    .mission-content-integrated .mission-text {
        font-size: 1rem;
    }
    
    .mission-content-integrated .mission-highlights {
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .hero-logo {
        margin-left: 0;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.1;
    }
    
    .hero-content p {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
        text-align: center;
        white-space: normal;
        word-wrap: break-word;
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 15px 0 15px 0;
        margin-top: 25px;
        max-height: none;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        margin-top: 0;
        padding: 0 10px;
        text-align: center;
        width: 100%;
        max-width: 1200px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.1;
    }
    
    .hero-content p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .btn {
        max-width: 220px;
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }
}

.hero-logo {
    margin-bottom: 2rem;
    text-align: left;
    margin-left: -20px;
}

.hero-logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white;
}

.highlight {
    color: #ffffff;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-description {
    color: white;
    opacity: 1;
}

/* Styles pour les liens SEO */
.hero-description .seo-link,
.seo-link {
    color: white !important;
    text-decoration: none !important;
    transition: opacity 0.3s ease;
    border-bottom: none !important;
    background: none !important;
}

.hero-description .seo-link:hover,
.seo-link:hover {
    opacity: 0.8;
    text-decoration: none !important;
    border-bottom: none !important;
    background: none !important;
    color: white !important;
}

.hero-description .seo-link:visited,
.seo-link:visited {
    color: white !important;
    text-decoration: none !important;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: #5b21b6;
    color: #ffffff;
}

.btn-primary:hover {
    background: #5a21b6cd;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-secondary:hover {
    background: #ffffff;
    color: #5b21b6;
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.btn-submit {
    background: linear-gradient(135deg, #f32ff3 0%, #ef4444 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(243, 47, 243, 0.3);
}

.btn-submit:hover {
    background: linear-gradient(135deg, #d91fd9 0%, #dc2626 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 47, 243, 0.4);
}

/* App Carousel */
.app-carousel {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    margin-top: -450px;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 1800px;
    overflow: visible;
    border-radius: 0;
    background: transparent;
}

/* Responsive Carousel */
@media (max-width: 1024px) {
    .app-carousel {
        max-width: 700px;
        margin-top: -400px;
    }
    
    .carousel-container {
        height: 1600px;
    }
}

@media (max-width: 768px) {
    .app-carousel {
        max-width: 100%;
        margin-top: 0.5rem;
        display: block !important;
        position: relative;
        z-index: 10;
    }
    
    .carousel-container {
        height: 800px !important;
        max-height: 800px;
        position: relative;
        overflow: hidden;
    }
    
    .carousel-slide {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        opacity: 0 !important;
        transform: translateX(100%) !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        transition: all 0.5s ease;
    }
    
    .carousel-slide.active {
        opacity: 1 !important;
        transform: translateX(0) !important;
    }
    
    .carousel-slide.prev {
        transform: translateX(-100%) !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }
    
    .app-screenshot {
        width: 120% !important;
        height: auto !important;
        max-width: 120% !important;
        max-height: 100% !important;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        object-fit: contain !important;
    }
}

@media (max-width: 480px) {
    .app-carousel {
        max-width: 100%;
        margin-top: 0.3rem;
        display: block !important;
    }
    
    .carousel-container {
        height: 700px !important;
        max-height: 700px;
        overflow: hidden;
    }
    
    .app-screenshot {
        border-radius: 12px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        width: 130% !important;
        height: auto !important;
        max-width: 130% !important;
        max-height: 100% !important;
    }
}

@media (max-width: 360px) {
    .app-carousel {
        max-width: 100%;
        margin-top: 0.2rem;
        display: block !important;
    }
    
    .carousel-container {
        height: 600px !important;
        max-height: 600px;
        overflow: hidden;
    }
    
    .app-screenshot {
        width: 140% !important;
        max-width: 140% !important;
        height: auto !important;
        max-height: 100% !important;
    }
}

.carousel-slide {
    position: absolute;
    top: -600px;
    left: 0;
    width: 150%;
    height: 150%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.carousel-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.carousel-slide.prev {
    transform: translateX(-100%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* App Screenshot */
.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    max-width: 100%;
    max-height: 100%;
    box-shadow: none;
    background: transparent;
}

/* Contrôles du carousel supprimés */

.chart-container {
    position: relative;
    height: 200px;
    margin-bottom: 2rem;
}

.chart-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #f32ff3, #ef4444);
    border-radius: 1px;
}

.chart-points {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.point {
    width: 8px;
    height: 8px;
    background: #f32ff3;
    border-radius: 50%;
    position: relative;
}

.point:nth-child(1) { height: 20px; }
.point:nth-child(2) { height: 40px; }
.point:nth-child(3) { height: 60px; }
.point:nth-child(4) { height: 80px; }
.point:nth-child(5) { height: 100px; }

.stats {
    display: flex;
    justify-content: space-around;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #f32ff3;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: #f8fafc;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1f2937;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #764ba2, #9c5bb8);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Mission Section */
.mission {
    padding: 40px 0 80px 0;
    background: transparent;
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.mission-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #764ba2;
}

.mission-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #764ba2;
}

.mission-highlights {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-2px);
}

.highlight-item i {
    color: #764ba2;
    font-size: 1.2rem;
}

.highlight-item span {
    font-weight: 600;
    color: #764ba2;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, rgba(118, 75, 162, 0.61) 100%);
}

.benefits h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1f2937;
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.benefit-number {
    background: linear-gradient(135deg, #764ba2, #9c5bb8);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 1rem;
    flex-shrink: 0;
}

.benefit-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.benefit-content p {
    color: #6b7280;
}

.app-screenshot-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.app-screenshot {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0);
    transition: transform 0.3s ease;
}

.app-screenshot-accueil {
    max-width: 170%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0);
    transition: transform 0.3s ease;
}

/* Effet hover supprimé pour les images du carousel */

/* Signup Section */
.signup {
    padding: 80px 0;
    background: linear-gradient(180deg,#764ba29c 0%, #764ba2 30%, #9c5bb8 70%, #667eea 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.signup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.signup-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.signup h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #f32ff3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.signup p {
    font-size: 1.2rem;
    margin-bottom: 3.5rem;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.signup-form {
    background: rgba(255, 255, 255, 0.08);
    padding: 3rem;
    border-radius: 25px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease, min-height 0.3s ease;
}

.signup-form::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.6s ease;
}

.signup-form:hover::before {
    left: 100%;
}

.signup-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.2);
    border-color: rgba(243, 47, 243, 0.3);
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
    z-index: 50;
}

.form-group:last-of-type {
    margin-bottom: 2.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.08);
    color: black;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    border-color: #f32ff3;
    box-shadow: 0 0 0 4px rgba(243, 47, 243, 0.15);
    transform: translateY(-2px);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: rgba(243, 47, 243, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.5em 1.5em;
    padding-right: 3rem;
}

.form-group select option {
    background: #1f2937;
    color: rgb(0, 0, 0);
    padding: 1rem;
}

.signup-benefits {
    text-align: left;
}

.signup-benefits h3 {
    margin-bottom: 1rem;
    color: #f32ff3;
}

.signup-benefits ul {
    list-style: none;
}

.signup-benefits li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.signup-benefits i {
    color: #10b981;
}

/* Checkbox RGPD - Styles renforcés */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    user-select: none;
}

.checkbox-label:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(243, 47, 243, 0.2);
}

/* Styles spécifiques pour la checkbox RGPD */
.checkbox-label input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    margin: 0;
    flex-shrink: 0;
    margin-top: 0.1rem;
    transform: scale(1.2);
    accent-color: #f32ff3;
    cursor: pointer;
    position: relative;
    z-index: 200;
    pointer-events: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    min-width: 18px;
    min-height: 18px;
    -webkit-appearance: auto !important;
    -moz-appearance: auto !important;
    appearance: auto !important;
    display: block !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
}

.checkbox-label input[type="checkbox"]:checked {
    accent-color: #f32ff3;
    background-color: #f32ff3 !important;
    border-color: #f32ff3 !important;
}

.checkbox-label input[type="checkbox"]:focus {
    outline: 2px solid #f32ff3;
    outline-offset: 2px;
}

/* S'assurer que la checkbox est cliquable même si d'autres styles interfèrent */
.checkbox-label input[type="checkbox"]:hover {
    cursor: pointer !important;
    pointer-events: auto !important;
}

.checkbox-text {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    flex: 1;
    pointer-events: none;
    z-index: 150;
    position: relative;
}

.checkbox-text a {
    color: #f32ff3;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
    position: relative;
}

.checkbox-text a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #f32ff3;
    transition: width 0.3s ease;
}

.checkbox-text a:hover::after {
    width: 100%;
}

.checkbox-text a:hover {
    color: #d91fd9;
}

/* Country Selector */
.country-selector {
    position: relative;
    z-index: 1000;
    width: 100%;
}

/* Masquer le checkbox-label quand le country-dropdown est actif */
.country-dropdown.active ~ .form-group .checkbox-label,
.country-dropdown.active + .form-group .checkbox-label {
    display: none;
}

/* Masquer le form-group contenant le checkbox-label quand le dropdown est actif */
.country-dropdown.active ~ .form-group:has(.checkbox-label) {
    display: none;
}

/* Masquer le checkbox-group quand le country-dropdown est actif */
.country-dropdown.active ~ .checkbox-group {
    display: none;
}

.country-search {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.country-search::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.country-search:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    border-color: #f32ff3;
    box-shadow: 0 0 0 4px rgba(243, 47, 243, 0.15);
    transform: translateY(-2px);
}

.country-search:hover {
    border-color: rgba(243, 47, 243, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.country-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(31, 41, 55, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 99999;
    display: none;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    margin-top: 0.5rem;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.country-dropdown.active {
    display: block;
}

.country-list {
    padding: 0.5rem 0;
    background: #0b0b0f;
    border-radius: 15px;
}

.country-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    border-radius: 8px;
    margin: 0 0.5rem;
}

.country-item:hover {
    background: rgb(0, 0, 0);
    transform: translateX(5px);
}

.country-item.selected {
    background: rgb(243, 47, 243);
    color: #f32ff3;
    border: 1px solid rgba(243, 47, 243, 0.3);
}

.country-flag {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgb(0, 0, 0);
}

.country-name {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 500;
}

.country-code {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-family: monospace;
    font-weight: 600;
}

/* Bouton de soumission amélioré */
.btn-submit {
    background: linear-gradient(135deg, #f32ff3 0%, #ef4444 50%, #f32ff3 100%);
    background-size: 200% 200%;
    color: #ffffff;
    border: none;
    box-shadow: 0 8px 25px rgba(243, 47, 243, 0.4);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    animation: gradientShift 3s ease infinite;
}

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

.btn-submit::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.6s ease;
}

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

.btn-submit:hover {
    background: linear-gradient(135deg, #d91fd9 0%, #dc2626 50%, #d91fd9 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(243, 47, 243, 0.6);
}

.btn-submit:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(243, 47, 243, 0.5);
}

.btn-submit i {
    margin-right: 0.75rem;
    font-size: 1.2rem;
    animation: rocketPulse 2s ease-in-out infinite;
}

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

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

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

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo .logo-img {
    height: 23px;
    width: auto;
    object-fit: contain;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #ffd729;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffd729;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .logo-img {
        height: 23px;
    }

    .footer-logo .logo-img {
        height: 18px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-logo {
        margin-left: 0;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .hero-logo-img {
        height: 70px;
        width: auto;
        max-width: 100%;
        display: block;
        margin: 0 auto;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

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

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

    .highlight-item {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

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

    .app-carousel {
        max-width: 700px;
    }

    .carousel-container {
        height: 1600px;
    }

    .performance-chart {
        justify-content: center;
    }

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

    /* Responsive pour le formulaire */
    .signup h2 {
        font-size: 2.5rem;
    }

    .signup p {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }

    .signup-form {
        padding: 2rem;
        margin: 0 1rem;
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea,
    .country-search {
        padding: 1rem 1.2rem;
        font-size: 0.95rem;
    }

    .checkbox-label {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .btn-submit {
        font-size: 1rem;
        padding: 1rem 2rem;
    }

    .country-dropdown {
        max-height: 250px;
    }

    .country-item {
        padding: 0.8rem 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-logo {
        margin-left: 0;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .hero-logo-img {
        height: 60px;
        width: auto;
        max-width: 100%;
        display: block;
        margin: 0 auto;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .logo-img {
        height: 15px;
    }

    .footer-logo .logo-img {
        height: 12px;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .app-carousel {
        max-width: 640px;
    }

    .carousel-container {
        height: 1500px;
    }

    .features h2,
    .benefits h2,
    .signup h2 {
        font-size: 2rem;
    }

    /* Responsive pour le formulaire sur mobile */
    .signup h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .signup p {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    .signup-form {
        padding: 1.5rem;
        margin: 0 0.5rem;
        border-radius: 20px;
    }

    .form-group {
        margin-bottom: 1.2rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea,
    .country-search {
        padding: 0.9rem 1rem;
        font-size: 0.9rem;
        border-radius: 12px;
    }

    .checkbox-label {
        padding: 0.7rem;
        font-size: 0.85rem;
        gap: 0.8rem;
    }

    .checkbox-label input[type="checkbox"] {
        transform: scale(1.1);
    }

    .btn-submit {
        font-size: 0.95rem;
        padding: 0.9rem 1.8rem;
    }

    .btn-submit i {
        font-size: 1.1rem;
        margin-right: 0.6rem;
    }

    .country-dropdown {
        max-height: 200px;
        border-radius: 12px;
    }

    .country-item {
        padding: 0.7rem 1rem;
        gap: 0.8rem;
    }

    .country-flag {
        width: 20px;
        height: 15px;
    }

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

    .country-code {
        font-size: 0.8rem;
    }
}

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

.feature-card,
.benefit-item {
    animation: fadeInUp 0.6s ease forwards;
}

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

/* Loading animation for form submission */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f32ff3;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Styles pour les pages légales */
.legal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-link .logo-img {
    height: 40px;
    width: auto;
}

.legal-nav {
    display: flex;
    gap: 1rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.legal-content {
    padding: 3rem 0;
    min-height: calc(100vh - 200px);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    line-height: 1.8;
}

.legal-container h1 {
    color: #333;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-date {
    text-align: center;
    color: #666;
    font-style: italic;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #667eea;
}

.legal-section h3 {
    color: #444;
    font-size: 1.2rem;
    font-weight: 500;
    margin: 1.5rem 0 1rem 0;
}

.legal-section p {
    color: #555;
    margin-bottom: 1rem;
    text-align: justify;
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-section li {
    color: #555;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-section strong {
    color: #333;
    font-weight: 600;
}

.legal-section a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-section a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Responsive design pour les pages légales */
@media (max-width: 768px) {
    .legal-header {
        padding: 0.8rem 0;
    }

    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .logo-link .logo-img {
        height: 35px;
    }

    .legal-nav {
        width: 100%;
        justify-content: center;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }

    .legal-content {
        padding: 2rem 0;
    }

    .legal-container {
        margin: 0 1rem;
        padding: 2rem 1.5rem;
        border-radius: 15px;
    }

    .legal-container h1 {
        font-size: 2rem;
    }

    .legal-section h2 {
        font-size: 1.3rem;
    }

    .legal-section h3 {
        font-size: 1.1rem;
    }

    .legal-section ul {
        padding-left: 1.5rem;
    }
}

@media (max-width: 480px) {
    .legal-container {
        margin: 0 0.5rem;
        padding: 1.5rem 1rem;
    }

    .legal-container h1 {
        font-size: 1.8rem;
    }

    .legal-section h2 {
        font-size: 1.2rem;
    }

    .legal-section h3 {
        font-size: 1rem;
    }

    .nav-link {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
} 

/* Notifications personnalisées */
.custom-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-left: 4px solid #00d4ff;
    z-index: 100001;
    max-width: 350px;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.custom-notification.show {
    transform: translateX(0);
}

.custom-notification.success {
    border-left-color: #00ff88;
}

.custom-notification.info {
    border-left-color: #00d4ff;
}

.custom-notification.warning {
    border-left-color: #f59e0b;
}

.custom-notification.error {
    border-left-color: #ef4444;
}

.custom-notification h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #00d4ff;
}

.custom-notification p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

/* Responsive pour les notifications */
@media (max-width: 768px) {
    .custom-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100px);
    }
    
    .custom-notification.show {
        transform: translateY(0);
    }
} 