/* ------------------------------ */
/*         MODERN NAVBAR          */
/* ------------------------------ */

.navbar {
    position: fixed;
    inset: 0 0 auto;
    padding: 18px 0;
    z-index: 999;
    background: rgba(13, 13, 13, 0.65);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.navbar.sticky {
    background: rgba(10, 10, 10, 0.92);
    padding: 12px 0;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.35);
}

.nav-inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 clamp(16px, 5vw, 60px);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 28px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    justify-content: flex-start;
}

.logo-copy {
    text-align: left;
}

.logo-mark {
    background: linear-gradient(135deg, rgba(11, 179, 209, 0.9), rgba(103, 58, 183, 0.9));
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 1px;
}

.logo-copy strong {
    font-size: 20px;
    letter-spacing: 0.08rem;
    display: block;
}

.logo-copy small {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.2rem;
    text-transform: uppercase;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
}

.menu {
    list-style: none;
    display: flex;
    gap: 18px;
}

.menu li a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    padding: 10px 14px;
    border-radius: 999px;
    transition: color 0.3s ease, background 0.3s ease;
    position: relative;
}

.menu li a:hover,
.menu li a:focus-visible {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}






.menu-btn {
    display: none;
    margin-left: auto;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.4);
    cursor: pointer;
    padding: 0;
    transition: border-color 0.3s ease, background 0.3s ease;
    z-index: 1200;
}

.menu-btn .menu-icon {
    font-size: 1.1rem;
    color: #fff;
    transition: color 0.3s ease;
}

.menu-btn:hover {
    border-color: rgba(11, 179, 209, 0.5);
}

.menu-btn.active {
    background: rgba(11, 179, 209, 0.12);
}

.menu-btn.active .menu-icon {
    color: rgba(11, 179, 209, 0.95);
}

body.nav-open {
    overflow: hidden;
}

/* ------------------------------ */
/*          RESPONSIVE            */
/* ------------------------------ */

@media (max-width: 1024px) {
    .nav-inner {
        padding: 0 30px;
    }
}

@media (max-width: 900px) {
    .menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        padding: 110px 18px 140px;
        flex-direction: column;
        align-items: center;
        gap: 14px;
        background: rgba(5, 5, 5, 0.98);
        transition: left 0.35s ease;
        z-index: 998;
    }

    .navbar .menu.active {
        left: 0;
    }

    .menu li {
        width: min(360px, calc(100% - 40px));
        text-align: center;
    }

    .menu li a {
        width: 100%;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        font-size: 1rem;
        padding: 14px 18px;
        min-height: 35px;
        border-radius: 28px;
        border: 1px solid rgba(255, 255, 255, 0.15);
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(10px);
    }

    .menu li a::after {
        display: none;
    }

    .menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 540px) {
    .nav-inner {
        padding: 0 16px;
        gap: 18px;
    }

    .logo-copy strong {
        font-size: 18px;
    }

    .logo-copy small {
        letter-spacing: 0.12rem;
    }
}
