/* Estilos personalizados para a landing page MaxSEO */

/* Hero Section Background */
#hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #0ea5e9 100%);
}

/* Seção de Problema */
#problema .grid div {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#problema .grid div:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Seção de Solução */
#solucao .grid div {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#solucao .grid div:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Como Funciona - Timeline */
#como-funciona .relative > div:nth-child(odd) .md\:w-1\/2:first-child {
    padding-right: 3rem;
}

#como-funciona .relative > div:nth-child(even) .md\:w-1\/2:first-child {
    padding-left: 3rem;
}

#como-funciona .relative > div:nth-child(odd) .md\:w-1\/2:last-child {
    padding-left: 3rem;
}

#como-funciona .relative > div:nth-child(even) .md\:w-1\/2:last-child {
    padding-right: 3rem;
}

/* Diferenciais */
#diferenciais .grid div {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#diferenciais .grid div:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Prova Social */
#prova-social .grid div {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#prova-social .grid div:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Contato */
#contact .bg-gray-50 {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

#contact .bg-gray-50:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

#contact input:focus,
#contact textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

/* Modal */
#success-modal {
    transition: opacity 0.3s ease;
}

#success-modal > div {
    transition: transform 0.3s ease;
}

/* FAQ */
#faq .border-b {
    transition: background-color 0.3s ease;
}

#faq .border-b:hover {
    background-color: #f9fafb;
}

/* Footer */
footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ffffff;
    transform: scale(1.1);
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

/* Responsividade adicional */
@media (max-width: 768px) {
    #como-funciona .absolute {
        display: none;
    }
    
    #como-funciona .relative > div {
        flex-direction: column;
        text-align: center;
    }
    
    #como-funciona .relative > div > div:first-child {
        order: 2;
        padding: 0 !important;
        margin-top: 1rem;
    }
    
    #como-funciona .relative > div > div:last-child {
        order: 1;
        padding: 0 !important;
    }
    
    #como-funciona .md\:text-right,
    #como-funciona .md\:text-left {
        text-align: center;
    }
    
    #hero h1 {
        font-size: 2.5rem;
    }
    
    #hero h2 {
        font-size: 1.25rem;
    }
    
    #success-modal > div {
        max-width: 90%;
        margin: 0 5%;
    }
}