* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #F2F2F2;
    color: #000;
    display: flex;
    justify-content: center;
    overflow-x: hidden;
}

/* Language Selector */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.language-selector.hidden {
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
}

.lang-button {
    background-color: #FFFFFF;
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #000;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.lang-button:hover {
    background-color: #000;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.lang-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.lang-text {
    min-width: 20px;
    text-align: center;
}

.lang-icon {
    font-size: 16px;
    line-height: 1;
    filter: grayscale(100%);
    opacity: 0.7;
}


.container {
    width: 100%;
    max-width: 1250px;
    padding: 0 20px;
    margin: 20px auto;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    padding: 50px 100px;
    gap: 20px;
    margin-bottom: 20px;
}

.hero-content {
    flex: 1;
}

.feature-image-0 {
    max-width: 140px;
}

.hero h1 {
    font-size: 42px;
    font-weight: 200;
    margin-top: 24px;
    margin-bottom: 24px;
    color: #000;
}

.hero p {
    font-size: 20px;
    font-weight: 200;
    color: #606873;
    line-height: 1.5;
}

.whatsapp-badge {
    display: inline-block;
    color: #1ebe57;
    border: #1ebe57 2px solid;
    padding: 0px 8px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.3px;
    position: relative;
}

.hero .soon {
    font-size: 16px;
    font-weight: 300;
    color: #000000;
    line-height: 1.5;
    margin-top: 24px;
}

.emoji-cry {
    display: inline-block;
    font-size: 30px;
    animation: emojiCryBounce 1s ease-in-out infinite;
    position: relative;
    top: 2px;
}

@keyframes emojiCryBounce {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-2px) rotate(0deg);
    }

    75% {
        transform: translateY(-2px) rotate(0deg);
    }
}

.store-buttons {
    display: flex;
    margin-left: 30px;
    justify-content: flex-start;
    gap: 30px;
    margin-top: 20px;
    margin-bottom: 30px;
}

.store-buttons img {
    height: 60px;
    width: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding-bottom: 100px;
    justify-items: center;
}

.hero-video {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0;
    padding: 0;
}

.hero-video video {
    width: 64%;
    max-width: 400px;
    height: auto;
    border-radius: 29px;
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.05),
        0 8px 16px rgba(0, 0, 0, 0.1),
        0 20px 20px rgba(0, 0, 0, 0.15),
        0 40px 60px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.hero .soon {
    font-size: 16px;
    font-weight: 300;
    color: #000000;
    line-height: 1.5;
    margin-top: 24px;
}

.feature-card {
    background-color: #FFFFFF;
    border-radius: 22px;
    height: 600px;
    width: 390px;
    max-width: 100%;
    padding: 0px 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);

    /* Animation initial state */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.hero-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card h2 {
    font-size: 28px;
    color: #000;
    margin-top: 50px;
    font-weight: 200;
}

.feature-card p {
    font-size: 16px;
    color: #606873;
    margin-top: 16px;
    line-height: 1.4;
    font-weight: 200;
}

.feature-card-5 {
    justify-content: space-between;
}

.feature-card-4 {
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

#confetti-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.feature-card-4>*:not(canvas) {
    position: relative;
    z-index: 2;
}



.feature-image {
    width: 100%;
    max-width: 316px;
    height: auto;
    margin-top: auto;
}

.feature-image-1 {
    max-width: 420px;
    height: auto;
    padding-bottom: 10px;
    margin-top: auto;
    /* Pousse l'image tout en bas */
}

.feature-image-3 {
    max-width: 390px;
    height: auto;
    padding-bottom: 10px;
    /* margin-top: auto; Removed because wrapper handles it now */
}

.duo-container {
    position: relative;
    margin-top: auto;
    display: flex;
    justify-content: center;
    width: 100%;
}

.bouncing-emoji {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 52px;
    z-index: 10;
    animation: bounce 1s infinite ease-in-out;
    filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.2));
}

@keyframes bounce {

    0%,
    100% {
        transform: translate(-50%, -50%) translateY(0);
    }

    50% {
        transform: translate(-50%, -50%) translateY(-2px);
    }
}

@keyframes textFloat {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.9;
    }

    50% {
        transform: translateY(-3px);
        opacity: 1;
    }
}

/* Block 2 - Participation Interface */


.participation-container {
    position: relative;
    margin-top: auto;
    display: flex;
    justify-content: center;
    width: 100%;
}

.participation-interface {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -100%);
    width: 90%;
    max-width: 380px;
    padding: 16px 10px;
    border-radius: 20px;
    z-index: 10;
}

.participation-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.status-icon {
    width: 74px;
    height: 74px;
    object-fit: contain;
    transition: transform 0.3s ease-out;
}

.percentage-text {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 300;
    color: #000;
}

.participation-slider-container {
    width: 100%;

}

.participation-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 12px;
    background: linear-gradient(to right, #000 0%, #000 50%, #DBDBDB 50%, #DBDBDB 100%);
    border-radius: 6px;
    outline: none;
    border: 4px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 20, 0, 0.30);
    box-sizing: border-box;
}

.participation-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 30px;
    height: 30px;
    background: #000;
    border-radius: 50%;
    border: #fff 3px solid;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.participation-slider::-moz-range-thumb {
    width: 30px;
    height: 30px;
    background: #000;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    border: none;

}

.confidentialite-container {
    position: relative;
    margin-top: auto;
    display: flex;
    justify-content: center;
    width: 100%;
}

.friends-badge {
    position: absolute;
    top: 27%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.friends-emoji {
    font-size: 40px;
    margin-bottom: 6px;
    animation: handsPulse 0.4s ease-in-out;
}


@keyframes handsPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1) translateY(-4px);
    }
}

/* Block 3 - Notifications */
.notifications-container {
    position: relative;
    margin-top: auto;
    display: flex;
    justify-content: center;
    width: 100%;
}

.notification-item {
    position: absolute;
    width: 100%;
    max-width: 440px;
    opacity: 0;
    transform: translateY(-10px);
    z-index: 10;
}

.feature-card-3.visible .notification-white {
    animation: notificationWhiteLoop 7.5s ease-out 0.5s infinite;
}

.feature-card-3.visible .notification-black {
    animation: notificationBlackLoop 7.5s ease-out 0.5s infinite;
}

@keyframes notificationWhiteLoop {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(1);
        filter: blur(0px);
    }

    /* Slide in */
    5% {
        opacity: 1;
        transform: translateY(-7%) scale(1);
        filter: blur(0px);
    }

    /* Stay visible */
    44% {
        opacity: 1;
        transform: translateY(-7%) scale(1);
        filter: blur(0px);
    }

    /* Shrink and move down when black notification arrives */
    50% {
        transform: translateY(43%) scale(0.8);
        opacity: 1;
        filter: blur(2px);
    }

    /* Stay in background */
    90% {
        transform: translateY(43%) scale(0.8);
        opacity: 1;
        filter: blur(2px);
    }

    /* Disappear (pushed by next white notification) */
    99%,
    100% {
        transform: translateY(43%) scale(0.8);
        opacity: 1;
        filter: blur(2px);
    }
}

@keyframes notificationBlackLoop {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(1);
    }

    /* Wait for white notification */
    44% {
        opacity: 0;
        transform: translateY(-20px) scale(1);
    }

    /* Slide in */
    50% {
        opacity: 1;
        transform: translateY(-7%) scale(1);
    }

    /* Stay visible */
    90% {
        opacity: 1;
        transform: translateY(-7%) scale(1);
        filter: blur(0px);
    }

    /* Shrink and move down (pushed by next white notification) */
    99%,
    100% {
        transform: translateY(-7%) scale(1);
        opacity: 1;
        filter: blur(0px);
    }
}

/* FAQ Section */
.faq-section {
    max-width: 800px;
    margin: 0px auto 60px;
    padding: 0 20px;
}

.faq-title {
    font-family: 'Inter', sans-serif;
    font-size: 36px;
    font-weight: 200;
    color: #000;
    text-align: center;
    margin-bottom: 48px;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background-color: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    transition: background-color 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.faq-item:hover {
    background-color: #F9F9F9;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #000;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: #333;
}

.faq-icon {
    font-size: 24px;
    font-weight: 200;
    color: #606873;
    transition: transform 0.3s ease;
    min-width: 24px;
    text-align: center;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;

}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 28px 24px 28px;
}

.faq-answer p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 200;
    color: #606873;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

/* Download Section */
.download-section {
    max-width: 600px;
    margin: 80px auto 100px;
    padding: 0 20px;
    text-align: center;
}

.download-title {
    font-family: 'Inter', sans-serif;
    font-size: 36px;
    font-weight: 200;
    color: #000;
    margin-bottom: 32px;
}

.qr-code-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.qr-code-download {
    width: 150px;
    height: 150px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}


.qr-code-text {
    font-size: 14px;
    font-weight: 400;
    color: #606873;
    margin: 0;
}

.download-section .store-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.download-section .store-buttons img {
    height: 60px;
    width: auto;
}






/* Tablet responsive - 2 blocks per row */
@media (max-width: 1280px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

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

    .store-buttons {
        margin-left: 0px;
    }

    .qr-code-container {
        display: none;
    }

    .hero-video video {
        width: 90%;
        max-width: 370px;
        margin-bottom: 30px;
        margin-right: 10px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 390px);
        gap: 12px;
        justify-content: center;
    }

    .feature-card {
        width: 390px;
        padding-left: 26px;
        padding-right: 26px;
    }
}

/* Mobile responsive - 1 block per row */
@media (max-width: 840px) {

    .features-grid {
        grid-template-columns: repeat(1, 364px);
        margin-left: 0px;
        gap: 20px;
        justify-content: center;
        padding-bottom: 0px;
    }

    .hero {
        margin-left: 0px;
    }

    .feature-image-0 {
        max-width: 120px;
    }

    .hero-video video {
        width: 90%;
        max-width: 370px;
        margin-bottom: 30px;
        margin-right: 18px;
    }

    .feature-image-1 {
        max-width: 390px;
        height: auto;
        padding-bottom: 10px;
        margin-top: auto;
        /* Pousse l'image tout en bas */
    }

    .faq-section {
        margin: 60px auto 60px;
        padding: 0 12px;
    }


    .download-section {
        padding: 0 12px;
    }

    .hero {
        padding: 60px 0 0px;
    }

    .hero h1 {
        font-size: clamp(28px, 7vw, 32px);
        margin-top: 16px;
        margin-bottom: 16px;
    }

    .hero p {
        font-size: clamp(16px, 4vw, 18px);
        line-height: 1.6;
    }

    .store-buttons {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center;
        align-items: center;
        gap: 12px;
        margin-top: 32px;
        margin-bottom: 24px;
        width: 100%;
    }

    .store-buttons a {
        width: 100%;
        max-width: 200px;
        display: block;
    }

    .store-buttons img {
        width: 100%;
        max-width: 200px;
        height: auto;
        display: block;
    }

    .language-selector {
        top: 12px;
        right: 12px;
    }

    .lang-button {
        padding: 8px 16px;
        font-size: 12px;
    }
}