@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden; /* Prevent horizontal scroll due to animations */
}

/* Base dark mode styles for elements that don't have explicit dark: classes */
.dark body {
    color: #e2e8f0; /* Tailwind gray-200 */
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -50px;
    width: 2px;
    height: 50px;
    background-color: #3B82F6;
}

@media (max-width: 768px) {
    .timeline-item:not(:last-child)::after {
        left: 30px;
        bottom: -30px;
        height: 30px;
    }
}

/* Blob animation for hero section */
@keyframes blob {
    0% {
        transform: translate(0px, 0px) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    100% {
        transform: translate(0px, 0px) scale(1);
    }
}

.animate-blob {
    animation: blob 7s infinite cubic-bezier(0.6, 0.01, 0.3, 0.9);
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

/* Techy background for the entire page */
.techy-hero-bg {
    background-color: #000000; /* Base black */
    background-image:
        /* Subtle radial glow in the center */
        radial-gradient(circle at center, rgba(30, 0, 60, 0.5) 0%, transparent 70%),
        /* Very subtle grid pattern */
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 20px 20px, 20px 20px; /* First for radial, second/third for grid */
    background-position: center center, 0 0, 0 0;
}

/* Scroll-triggered animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.animate {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease-out;
}

.fade-in.animate {
    opacity: 1;
}

/* Button hover animation */
.btn-hover-scale:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease-in-out;
}

/* Privacy Score animation (kept in CSS but not used in HTML) */
@keyframes score-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.score-pulse-animation {
    animation: score-pulse 0.5s ease-in-out;
}


/* Add hover animation for the chatbot button */
#chatbot-toggle {
    transition: transform 0.3s ease-in-out;
}

#chatbot-toggle:hover {
    transform: translateY(-5px); /* Makes the button float upward */
  }

/* Risk level indicators */
.low-risk {
    color: green;
    font-weight: bold;
}

.medium-risk {
    color: orange;
    font-weight: bold;
}

.high-risk {
    color: red;
    font-weight: bold;
}
