/* Animações — Gestor de Senhas */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
    }
    50% {
        box-shadow: 0 0 35px rgba(0, 212, 255, 0.3);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.animate-in {
    animation: fadeInUp 0.7s ease forwards;
}

.hero-text {
    animation: fadeInUp 0.6s ease forwards;
}

.hero-visual {
    animation: fadeInUp 0.6s ease 0.15s forwards;
    opacity: 0;
}

.hero-visual.animated {
    opacity: 1;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.license-demo {
    animation: pulse-glow 3s ease-in-out infinite;
}

.hero-visual img {
    animation: float 5s ease-in-out infinite;
}

.card {
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .hero-visual {
        opacity: 1;
        animation: none;
    }
}
