/* Custom styles that complement Tailwind */

/* Base font smoothing */
html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
    background-color: rgba(174, 127, 255, 0.2);
    color: #2e1754;
}

/* Focus visible styles */
:focus-visible {
    outline: 1px solid #fbbf24;
    outline-offset: 2px;
}

/* Smooth image rendering */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Prevent horizontal scroll */
body {
    overflow-x: hidden;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    .hero-img {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .fade-up {
        opacity: 1;
        transform: none;
    }
}

/* Print styles */
@media print {
    nav, #mobile-menu, .fade-up {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
