/* Custom styles that complement Tailwind */

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

/* Prevent content flash on load */
body {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Better focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background: rgba(193, 25, 68, 0.4);
    color: white;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Print styles */
@media print {
    .geo-shape, .pulse-dot, .spin-slow, .float-1, .float-2, .float-3 {
        display: none !important;
    }
    body {
        background: white !important;
        color: black !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .feature-card {
        border-width: 2px;
    }
    .faq-item {
        border-width: 2px;
    }
}

/* Landscape phone optimization */
@media (max-width: 640px) and (orientation: landscape) {
    .hero-gradient {
        min-height: auto;
        padding: 80px 0;
    }
}
