/* Estilos adicionais para a landing page App do E-commerce */

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        transform: translate3d(0, -10px, 0);
    }
    70% {
        transform: translate3d(0, -5px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}

/* Responsividade melhorada */
@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem !important;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1.125rem !important;
        line-height: 1.5;
    }
    
    .plugin-card {
        padding: 1rem !important;
    }
    
    .plugin-card h3 {
        font-size: 1rem !important;
    }
    
    .section-title {
        font-size: 2.5rem !important;
    }
    
    .pricing-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .floating-elements {
        display: none;
    }
    
    .nav-mobile {
        padding: 0.5rem;
    }
}

/* Melhorias de performance */
.plugin-card,
.pricing-card,
.tool-card {
    will-change: transform;
    backface-visibility: hidden;
}

/* Efeitos de hover melhorados */
.plugin-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button {
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

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

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Acessibilidade */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating {
        animation: none !important;
    }
}

/* Focus states para acessibilidade */
.focus-visible:focus {
    outline: 2px solid #3cabff;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .gradient-bg {
        background: white !important;
        color: black !important;
    }
    
    .floating-elements,
    .pulse-glow {
        display: none !important;
    }
}

/* Dark mode support (futuro) */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #1a1a1a;
        --text-primary: #ffffff;
        --text-secondary: #a0a0a0;
    }
}

/* Otimizações de performance para animações */
.hover-scale,
.floating,
.pulse-glow {
    transform: translateZ(0);
    will-change: transform;
}