/* Custom styles */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
        max-width: 1280px;
    }
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #327DA0;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2a6d8c;
}

/* Mobile App Mockups */
.phone-mockup {
    position: relative;
    background: linear-gradient(145deg, #1f2937, #374151);
    border-radius: 2.5rem;
    padding: 0.25rem;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.phone-screen {
    background: white;
    border-radius: 2.25rem;
    overflow: hidden;
    height: 500px;
    position: relative;
}

.screenshot-placeholder {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
    transition: all 0.3s ease;
}

.screenshot-placeholder:hover {
    background: rgba(0, 0, 0, 0.1);
}

.screenshot-badge {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Animation for phone mockups */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.phone-mockup:nth-child(1) {
    animation: float 6s ease-in-out infinite;
}

.phone-mockup:nth-child(2) {
    animation: float 6s ease-in-out infinite 2s;
}

.phone-mockup:nth-child(3) {
    animation: float 6s ease-in-out infinite 4s;
}

/* Responsive adjustments for vertical layout */
@media (max-width: 1024px) {
    .phone-mockup {
        margin: 0 auto;
    }
    
    .phone-mockup:nth-child(2) {
        margin-top: 1rem;
    }
    
    .phone-mockup:nth-child(3) {
        margin-top: 1rem;
    }
}

/* Hero image with slogan */
.hero-image {
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.02);
}

/* Supprimé - le flou est maintenant uniquement sur le bloc de texte */

.slogan-text {
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Animation pour l'apparition du slogan */
@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slogan-container {
    animation: slideUpFade 0.8s ease-out 0.5s both;
}

