/* ===================================
   OOStreams Landing Page
   Minimal shadcn-style Design
   by OnaOnbir
   =================================== */

/* Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background-color: rgba(0, 0, 0, 0.1);
}

.dark ::selection {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Focus */
:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

/* Smooth transitions */
a, button {
    transition: all 150ms ease;
}

/* Feature Cards */
.feature-card {
    transition: background-color 150ms ease;
}

.feature-card:hover {
    background-color: #fafafa;
}

.dark .feature-card:hover {
    background-color: #0a0a0a;
}

/* Step Cards */
.step-card {
    transition: transform 150ms ease;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #d4d4d8;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a1aa;
}

.dark ::-webkit-scrollbar-thumb {
    background: #3f3f46;
}

.dark ::-webkit-scrollbar-thumb:hover {
    background: #52525b;
}

/* Code block */
pre {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', monospace;
}

code {
    font-family: inherit;
}

/* Form elements */
input:focus {
    outline: none;
}

/* Mobile menu animation */
#mobile-menu {
    transition: all 200ms ease;
}

/* Reduced motion */
@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;
    }
}

/* Print */
@media print {
    nav, footer {
        display: none;
    }
}
