@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
    body {
        font-family: 'Inter', sans-serif;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        letter-spacing: -0.02em;
    }
}

/* Custom Scrollbar for dark theme */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #020617;
}

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

/* Glass & Glow Utilities */
.glass-panel {
    @apply bg-slate-800/60 backdrop-blur-xl border border-slate-700 shadow-[0_0_20px_rgba(56, 189, 248, 0.15)];
}

.glow-text {
    text-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

/* Micro Animations */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.2);
}

/* Chatbot animation */
@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    animation: slideUpFade 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* CRM Grid Animation */
@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(56, 189, 248, 0.1);
    }

    50% {
        box-shadow: 0 0 25px rgba(56, 189, 248, 0.3);
    }
}

.animate-pulse-glow {
    animation: pulseGlow 4s ease-in-out infinite;
}