/* Premium Aesthetic & Animations */

:root {
    --primary-glow: radial-gradient(var(--color-primary), transparent);
    --secondary-glow: radial-gradient(var(--color-secondary), transparent);
}

body {
    scrollbar-gutter: stable;
}

/* Custom Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounceSlow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-bounce-slow {
    animation: bounceSlow 3s ease-in-out infinite;
}

/* Glassmorphism Classes */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Smooth Scroll behavior already in HTML class */

/* Hover Effects */
.hover-lift {
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hover-lift:hover {
    transform: translateY(-4px);
}

/* Premium Typography refinements */
h1, h2, h3 {
    letter-spacing: -0.025em;
}

/* Form Styles focus */
input:focus, textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

/* Gradient text utility if not using Tailwind's */
.text-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* Toasts */
#toast-container {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.toast {
    padding: 1rem 1.5rem;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: #202124;
    min-width: 300px;
    max-width: 90vw;
    animation: toast-in 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 4px solid #4285F4;
    pointer-events: auto;
}

.toast.error {
    border-left-color: #ef4444;
}

.toast.success {
    border-left-color: #22c55e;
}

@keyframes toast-in {
    from {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.toast-fade-out {
    opacity: 0;
    transform: translate(-50%, -10px) scale(0.95);
    transition: all 0.3s ease;
}

/* Mobile adjustments */
@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
    }
}
