/* AntiSpam Brasil - Custom Styles */

/* Smooth transitions globais */
* {
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(15, 37, 66, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(76, 175, 80, 0.2);
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(15, 37, 66, 0.6);
    border-color: rgba(76, 175, 80, 0.4);
    transform: translateY(-4px);
}

/* Stat Cards com brilho */
.stat-card {
    background: linear-gradient(135deg, rgba(15, 37, 66, 0.6), rgba(25, 55, 90, 0.4));
    border: 2px solid rgba(76, 175, 80, 0.3);
    box-shadow: 0 8px 32px rgba(76, 175, 80, 0.15);
    transition: all 0.3s ease;
}

.stat-card:hover {
    box-shadow: 0 12px 48px rgba(76, 175, 80, 0.25);
    border-color: rgba(76, 175, 80, 0.5);
    transform: scale(1.05);
}

/* Shield Glow Animation */
.shield-glow {
    filter: drop-shadow(0 0 30px rgba(76, 175, 80, 0.6)) 
            drop-shadow(0 0 60px rgba(255, 193, 7, 0.3));
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        filter: drop-shadow(0 0 30px rgba(76, 175, 80, 0.6)) 
                drop-shadow(0 0 60px rgba(255, 193, 7, 0.3));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(76, 175, 80, 0.8)) 
                drop-shadow(0 0 80px rgba(255, 193, 7, 0.5));
        transform: scale(1.05);
    }
}

/* Primary Button */
.btn-primary {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.6);
    background: linear-gradient(135deg, #45a049 0%, #4CAF50 100%);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(76, 175, 80, 0.4);
}

/* Feature Icons */
.feature-icon {
    background: linear-gradient(135deg, #4CAF50 0%, #81C784 100%);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    transition: all 0.3s ease;
}

.feature-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.5);
}

/* Number Badge */
.number-badge {
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-center;
    border-radius: 50%;
    font-weight: 800;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
    transition: all 0.3s ease;
}

.number-badge:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.6);
}

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

/* Details/Summary estilizado */
details summary {
    list-style: none;
}

details summary::-webkit-details-marker {
    display: none;
}

details[open] summary {
    margin-bottom: 1rem;
}

/* Animação de fade-in para elementos ao scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Background gradients */
.hero-gradient {
    background: radial-gradient(ellipse at top, #1a3a5f 0%, #0a192f 50%);
}

/* Focus states para acessibilidade */
:focus-visible {
    outline: 2px dashed #4CAF50;
    outline-offset: 4px;
}

/* Loading skeleton (opcional) */
.skeleton {
    background: linear-gradient(90deg, #1a2c4f 25%, #2a3c5f 50%, #1a2c4f 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Responsividade adicional */
@media (max-width: 768px) {
    .shield-glow {
        max-width: 200px;
        max-height: 200px;
    }
    
    .stat-card {
        padding: 1rem;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
}

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