/* ... existing styles ... */

/* Floating Socials */
.floating-socials {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border-radius: 50px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-family: var(--font-body);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    width: 50px;
    /* Start as icon only */
    overflow: hidden;
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.5);
    /* Basic fallback */
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    width: 160px;
    /* Expand on hover */
    transform: translateX(-5px);
}

.social-link svg {
    min-width: 20px;
    /* Prevent squishing */
}

/* Colors */
.social-link.facebook {
    background: linear-gradient(45deg, #1877F2, #3b5998);
}

.social-link.tiktok {
    background: linear-gradient(45deg, #000000, #25F4EE, #FE2C55);
}

.social-link.whatsapp {
    background: linear-gradient(45deg, #25D366, #128C7E);
}

/* Animations */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 242, 234, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(0, 242, 234, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 242, 234, 0);
    }
}

.pulse-anim {
    animation: pulse 2s infinite;
}

/* Enhancing Slider for "Extraordinary" look - Augmenter l'auto */
.comparison-slider {
    max-width: 800px !important;
    /* Make it bigger */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 242, 234, 0.3) !important;
    border: 3px solid var(--primary);
    aspect-ratio: 16/10 !important;
    /* Cinematic aspect ratio */
}

.label-before {
    background: rgba(255, 0, 85, 0.9);
    animation: shake 5s infinite;
    font-size: 1.2rem !important;
    padding: 10px 20px !important;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-3px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(3px);
    }
}

/* Language Switcher */
.lang-switch {
    display: flex;
    gap: 10px;
    margin: 0 15px;
}

.lang-btn {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
    text-transform: uppercase;
}

.lang-btn:hover,
.lang-btn.active {
    color: var(--primary);
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.about-list {
    margin-top: 1.5rem;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text-muted);
}

.about-list i {
    color: var(--primary);
}

/* Flying Papers Animation */
.papers-container {
    position: relative;
    width: 300px;
    height: 400px;
    margin: 0 auto;
    perspective: 1000px;
}

.person-silhouette {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 15rem;
    color: var(--bg-secondary);
    text-shadow: 0 0 20px var(--primary-glow);
    z-index: 2;
}

.paper {
    position: absolute;
    width: 60px;
    height: 80px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1;
    opacity: 0;
}

/* Animation Keyframes */
@keyframes flyUp {
    0% {
        transform: translateY(300px) rotate(0deg) scale(0.5);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) rotate(360deg) scale(1.2);
        opacity: 0;
    }
}

.p1 {
    left: 20%;
    animation: flyUp 4s infinite linear;
    animation-delay: 0s;
}

.p2 {
    left: 40%;
    animation: flyUp 5s infinite linear;
    animation-delay: 1s;
}

.p3 {
    left: 60%;
    animation: flyUp 4.5s infinite linear;
    animation-delay: 2s;
}

.p4 {
    left: 80%;
    animation: flyUp 6s infinite linear;
    animation-delay: 0.5s;
}

.p5 {
    left: 30%;
    animation: flyUp 5.5s infinite linear;
    animation-delay: 1.5s;
}

/* Partner Marquee */
.partners-marquee {
    width: 100%;
    overflow: hidden;
    background: var(--bg-secondary);
    padding: 1rem 0;
    margin-top: 2rem;
    border-left: 2px solid var(--primary);
    border-right: 2px solid var(--primary);
}

.marquee-content {
    display: inline-block;
    white-space: nowrap;
    animation: scroll 20s linear infinite;
    font-family: var(--font-heading);
    color: var(--text-muted);
    font-size: 1.2rem;
}

.marquee-content span {
    margin: 0 1rem;
    color: #fff;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Make sure mobile is considered */
@media (max-width: 768px) {
    .floating-socials {
        position: fixed;
        bottom: 0;
        top: auto;
        right: 0;
        left: 0;
        flex-direction: row;
        justify-content: center;
        width: 100%;
        transform: none;
        background: rgba(5, 5, 16, 0.95);
        padding: 15px;
        backdrop-filter: blur(15px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 9999;
    }

    .social-links {
        flex-direction: row;
        width: 100%;
        justify-content: space-around;
        gap: 10px;
    }

    .social-link {
        width: auto !important;
        /* Always fully visible or icon-only? Let's do full width with text hidden if needed */
        flex: 1;
        justify-content: center;
        border-radius: 12px;
        padding: 12px;
    }

    .social-link:hover {
        transform: none;
    }

    .nav-container {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }

    nav ul {
        gap: 1rem;
        font-size: 0.9rem;
    }

    /* New mobile styles for About */
    .about-container {
        grid-template-columns: 1fr;
    }

    .papers-container {
        margin-top: 2rem;
    }
}