/* ─── Base & Resets ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; -webkit-font-smoothing: antialiased; }

/* ─── Scroll Reveal ─── */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.revealed,
    .reveal[data-revealed="true"] {
        opacity: 1;
        transform: none;
    }
}

/* ─── Navbar ─── */
#navbar {
    background: transparent;
}
#navbar.scrolled {
    background: rgba(10, 22, 40, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

/* ─── Hero ─── */
#hero {
    position: relative;
}

/* ─── Buttons ─── */
a { transition: color 0.2s, background-color 0.2s, border-color 0.2s, transform 0.2s; }

/* ─── Mobile menu animation ─── */
#mobileMenu {
    animation: slideDown 0.25s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ─── Custom scrollbar ─── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0A1628; }
::-webkit-scrollbar-thumb { background: #1DB88A; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #45C9A0; }

/* ─── Selection ─── */
::selection { background: rgba(29, 184, 138, 0.3); color: #0A1628; }
