/* Metabyl Website - Tailwind Enhanced Styles */

/* Tailwind CSS is loaded via CDN - this file contains custom overrides */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
button:focus, a:focus {
    outline: 2px solid hsl(142 76% 36%);
    outline-offset: 2px;
}

/* Custom animations */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

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

/* Selection styles */
::selection {
    background: hsl(142 76% 36% / 0.2);
    color: hsl(210 10% 23%);
}

::-moz-selection {
    background: hsl(142 76% 36% / 0.2);
    color: hsl(210 10% 23%);
}

/* Form focus states */
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: hsl(142 76% 36%);
    box-shadow: 0 0 0 3px hsl(142 76% 36% / 0.1);
}

/* Backdrop blur fallback */
.backdrop-blur-sm {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: hsl(120 20% 97%);
}

::-webkit-scrollbar-thumb {
    background: hsl(142 76% 36%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: hsl(142 76% 30%);
}
