/* Base animations and custom overrides not handled by Tailwind */

.threat-item span {
    position: relative;
    transition: all 0.4s ease;
}

.threat-item.struck span {
    color: #9ca3af !important;
    background-color: #f3f4f6 !important;
    border-color: #e5e7eb !important;
}

.threat-item.struck span::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 2px;
    background-color: #9ca3af;
    transform: translateY(-50%);
    animation: strike 0.4s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes strike {
    0% { width: 0; }
    100% { width: 100%; }
}

.fade-in {
    animation: fadeIn 0.4s ease-in forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Subtle pulse for the secure badge to draw attention */
.pulse-secure {
    animation: pulseSecure 2s infinite;
}

@keyframes pulseSecure {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
