/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Outfit', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, .font-heading {
    font-family: 'Space Grotesk', sans-serif;
}

/* ── Scroll Reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Fallback: always visible if JS is disabled or prefers-reduced-motion */
.scroll-reveal { opacity: 1; transform: none; }

/* ── Floating animations ── */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(45deg); }
    50% { transform: translateY(-20px) rotate(45deg); }
}
@keyframes float-circle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}
.animate-float {
    animation: float 6s ease-in-out infinite;
}
.animate-float-delayed {
    animation: float 7s ease-in-out infinite;
    animation-delay: 1.5s;
}
.animate-float-circle {
    animation: float-circle 5s ease-in-out infinite;
}

/* ── Navbar ── */
#navbar.scrolled {
    background: rgba(2, 6, 23, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ── Mobile menu ── */
#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
}

/* ── FAQ ── */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-content.open {
    max-height: 200px;
}
.faq-icon.rotated {
    transform: rotate(180deg);
}

/* ── Selection ── */
::selection {
    background: rgba(20, 184, 166, 0.3);
    color: white;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0f172a; }
::-webkit-scrollbar-thumb { background: #1e293b; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #334155; }
