﻿/* Import a clean, modern font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

* {
    font-family: 'Inter', sans-serif;
}

/* --- Custom Keyframe Animations --- */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(239, 68, 68, 0.6);
    }
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce-in {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* --- Reusable Animation Classes --- */
.float-animation {
    animation: float 3s ease-in-out infinite;
}

.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

.gradient-bg {
    background: linear-gradient(-45deg, #fee2e2, #fecaca, #ef4444, #dc2626);
    background-size: 400% 400%;
    animation: gradient-shift 8s ease infinite;
}

.slide-up-animation {
    animation: slide-up 0.8s ease-out forwards;
}

.bounce-in-animation {
    animation: bounce-in 0.6s ease-out forwards;
}

.fadeIn-animation {
    animation: fadeIn 0.8s ease-in-out forwards;
}

/* --- UI Component Styling --- */
.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    .card-hover:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    }

.stat-card {
    transition: all 0.3s ease;
}

    .stat-card:hover {
        transform: scale(1.05);
        background: linear-gradient(135deg, #ffffff, #fef2f2);
    }

.search-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(239, 68, 68, 0.2);
}

/* Typing indicator for hero text */
.typing-indicator::after {
    content: '|';
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }

    51%, 100% {
        opacity: 0;
    }
}

.security-badge {
    background: linear-gradient(45deg, #10b981, #059669);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.4);
}
