/* styles.css - custom styles, small complements to Tailwind */
/* Font family default (Inter was loaded) */
:root {
    --bg: linear-gradient(180deg, #071024 0%, #0b1220 60%, #071022 100%);
}

/* Base body font and smoothing */
body {
    font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header solid on scroll class toggled by JS */
#site-header.solid {
    background: rgba(6, 10, 18, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* Mobile menu animation handled via max-height transition */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 280ms cubic-bezier(.2, .9, .2, 1);
}

#mobile-menu.open {
    max-height: 400px;
}

/* Smooth scroll behavior for browsers that don't support CSS smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Small entrance animation */
.reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Testimonial track */
#testimonial-track {
    transition: transform 450ms cubic-bezier(.2, .8, .2, 1);
}

/* Focus ring for accessible keyboard nav */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.16);
    border-radius: 8px;
}

/* small screens: adjust hero text sizes for readability */
@media (max-width: 640px) {
    h1 {
        font-size: 1.6rem;
    }
}

/* Subtle scrollbar styling */
body::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    border: 2px solid transparent;
    background-clip: padding-box;
}