/* ══════════════════════════════════════════════════════════
   Alfred Linux — Shared Navigation CSS
   Include via: <link rel="stylesheet" href="/assets/css/nav.css">
   ══════════════════════════════════════════════════════════ */
nav {
    position: sticky; top: 0; left: 0; right: 0; z-index: 100;
    padding: 0.75rem 2rem;
    background: rgba(6,6,11,0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex; align-items: center; justify-content: space-between;
}
.nav-brand {
    display: flex; align-items: center; gap: 0.6rem;
    font-size: 1.1rem; font-weight: 700; color: #fff;
    text-decoration: none; flex-shrink: 0;
}
.nav-brand:hover { text-decoration: none; }
.nav-brand .logo-mark {
    width: 30px; height: 30px; border-radius: 8px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem; font-weight: 900; color: #fff;
}
.nav-links {
    display: flex; gap: 1.25rem; align-items: center;
    flex-wrap: nowrap; overflow-x: auto;
    scrollbar-width: none; -ms-overflow-style: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
    color: #9ca3af; text-decoration: none;
    font-size: 0.82rem; font-weight: 500;
    white-space: nowrap;
    transition: color 0.2s;
}
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-cta {
    padding: 0.4rem 1rem; border-radius: 8px;
    background: #6366f1; color: #fff !important;
    font-weight: 600 !important; font-size: 0.8rem !important;
    transition: all 0.2s;
}
.nav-cta:hover { background: #8b5cf6; transform: translateY(-1px); }
.nav-toggle {
    display: none; background: none; border: none;
    color: #fff; font-size: 1.4rem; cursor: pointer;
    padding: 0.25rem;
}

@media (max-width: 1024px) {
    .nav-links { gap: 0.8rem; }
    .nav-links a { font-size: 0.78rem; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .nav-links.open {
        display: flex; flex-direction: column;
        position: absolute; top: 100%; left: 0; right: 0;
        background: rgba(6,6,11,0.97); padding: 1rem 2rem 1.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        gap: 0.5rem;
    }
    .nav-links.open a { font-size: 0.9rem; padding: 0.35rem 0; }
    .nav-cta { text-align: center; margin-top: 0.5rem; }
}
