/* Custom Styles for ShortInstant AI Redesign */

@layer utilities {
    .bg-300\% {
        background-size: 300% 300%;
    }
}

/* Animations */
@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animate-gradient {
    animation: gradient 6s ease infinite;
}

@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

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

.animate-pulse-fast {
    animation: pulse 1s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* For fixed header */
}

/* Perspective for 3D UI */
.perspective-1000 {
    perspective: 1000px;
}

/* Glassmorphism utility not fully covered by tailwind defaults */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.dark-glass {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Step Indicators */
.step-indicator {
    position: relative;
    transition: all 0.3s ease;
}

.step-indicator.active .rounded-full {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

/* Custom Scrollbar for the App Container */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9; 
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1; 
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8; 
}
