/* ── Base & Utilities ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { overflow-x: hidden; }

/* ── Navbar ── */
.nav-fixed {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.nav-scrolled {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}
.nav-link { transition: color 0.2s, background 0.2s; }

/* ── Hero Gradient ── */
.hero-gradient {
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 35%, #0d9488 65%, #1e293b 100%);
    position: relative;
}

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

/* ── Mobile Menu ── */
.mobile-link { transition: background 0.2s, color 0.2s; }

/* ── Subtle card hover lift ── */
.reveal > * { transition: transform 0.3s ease, box-shadow 0.3s ease; }

/* ── Custom scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #94a3b8; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #64748b; }

/* ── Focus visible ── */
:focus-visible {
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
}
