/* ========================================
   NexusCPL Landing Page - Estilos Customizados
   ======================================== */

/* Variáveis de cor (tailwind já define via config, mas aqui reforçamos) */
:root {
    --nexus-blue: #0ea5e9;
    --nexus-blue-light: #7dd3fc;
    --nexus-green: #10b981;
    --nexus-green-light: #6ee7b7;
    --nexus-gradient: linear-gradient(135deg, #0ea5e9 0%, #10b981 100%);
    --nexus-gradient-soft: linear-gradient(135deg, rgba(14,165,233,0.08) 0%, rgba(16,185,129,0.08) 100%);
}

/* Animações de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.7s ease-out forwards;
    opacity: 0;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
}

.animate-pulse-soft {
    animation: pulse-soft 3s ease-in-out infinite;
}

/* Delays para entrada escalonada */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }
.delay-600 { animation-delay: 600ms; }

/* Gradientes de fundo decorativos */
.hero-bg-pattern {
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(14,165,233,0.12), transparent),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(16,185,129,0.1), transparent);
}

.section-bg-pattern {
    background-image:
        radial-gradient(circle at 20% 20%, rgba(14,165,233,0.06), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(16,185,129,0.06), transparent 50%);
}

/* Botão WhatsApp flutuante */
.whatsapp-float {
    animation: pulse-soft 2.5s ease-in-out infinite;
    box-shadow: 0 4px 20px rgba(16,185,129,0.35);
}

.whatsapp-float:hover {
    animation: none;
    transform: scale(1.08);
    box-shadow: 0 8px 30px rgba(16,185,129,0.45);
}

/* Cards hover effect */
.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(14,165,233,0.15);
}

/* Step numbers */
.step-number {
    background: var(--nexus-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Navbar backdrop blur */
.navbar-blur {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Focus states para acessibilidade */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--nexus-blue);
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}