/* ╔══════════════════════════════════════════╗
   ║  ViralTools — Shared Navigation Styles  ║
   ╚══════════════════════════════════════════╝ */

/* ---- reset & font ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ---- nav shell ---- */
.vt-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 9999;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    background: rgba(8, 6, 24, 0.55);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background 0.35s ease, box-shadow 0.35s ease;
    font-family: 'Outfit', sans-serif;
}

.vt-nav.scrolled {
    background: rgba(8, 6, 24, 0.92);
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.vt-nav__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ---- logo ---- */
.vt-nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: -0.3px;
}
.vt-nav__logo strong { font-weight: 800; color: #a78bfa; }

.vt-nav__logo-icon {
    width: 34px; height: 34px;
    border-radius: 9px;
    background: linear-gradient(135deg, #7c3aed, #c026d3);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem;
    color: #fff;
    box-shadow: 0 0 14px rgba(124,58,237,0.55);
}

/* ---- links ---- */
.vt-nav__links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.vt-nav__links a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: rgba(255,255,255,0.72);
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.2s, background 0.2s;
}
.vt-nav__links a i { font-size: 0.8rem; }
.vt-nav__links a:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
}
.vt-nav__links a.active {
    color: #a78bfa;
    background: rgba(124,58,237,0.18);
}

/* ---- hamburger ---- */
.vt-nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.vt-nav__toggle span {
    display: block;
    width: 22px; height: 2px;
    background: rgba(255,255,255,0.8);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.vt-nav__toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.vt-nav__toggle.active span:nth-child(2) { opacity: 0; }
.vt-nav__toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- offset body so content doesn't hide behind fixed nav ---- */
body { padding-top: 64px !important; }

/* ---- responsive ---- */
@media (max-width: 700px) {
    .vt-nav__toggle { display: flex; }
    .vt-nav__links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 64px; left: 0; right: 0;
        background: rgba(8, 6, 24, 0.97);
        border-bottom: 1px solid rgba(255,255,255,0.08);
        padding: 12px 0;
        gap: 2px;
    }
    .vt-nav__links.open { display: flex; }
    .vt-nav__links a { padding: 12px 24px; border-radius: 0; font-size: 0.95rem; }
}
