
/* =========================================
   VEMSALES — NAVBAR
   ========================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 76px;
    z-index: 1000;

    background: rgba(8, 11, 20, 0.78);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.navbar-container {
    width: min(1180px, calc(100% - 48px));
    height: 100%;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* =========================================
   LOGO
   ========================================= */

.navbar-logo {
    display: flex;
    align-items: center;

    text-decoration: none;

    height: 42px;

    transition: opacity 0.25s ease;
}

.navbar-logo:hover {
    opacity: 0.85;
}

.navbar-logo img {
    display: block;

    max-width: 150px;
    max-height: 42px;

    width: auto;
    height: auto;

    object-fit: contain;
}

/* =========================================
   NAVIGATION
   ========================================= */

.navbar-links {
    display: flex;
    align-items: center;
    gap: 34px;

    margin-left: auto;
    margin-right: 34px;
}

.navbar-link {
    position: relative;

    color: #949bad;
    text-decoration: none;

    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.01em;

    padding: 8px 0;

    transition:
        color 0.25s ease;
}

.navbar-link::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 0;
    height: 1px;

    background: #8b5cf6;

    transition: width 0.25s ease;
}

.navbar-link:hover {
    color: #f4f4f5;
}

.navbar-link:hover::after {
    width: 100%;
}

.navbar-link.active {
    color: #f4f4f5;
}

.navbar-link.active::after {
    width: 100%;
}

/* =========================================
   CTA
   ========================================= */

.navbar-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    height: 40px;
    padding: 0 17px;

    border: 1px solid rgba(139, 92, 246, 0.45);
    border-radius: 7px;

    background: rgba(124, 58, 237, 0.12);

    color: #ddd6fe;
    text-decoration: none;

    font-size: 13px;
    font-weight: 600;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.navbar-cta:hover {
    background: rgba(124, 58, 237, 0.2);
    border-color: rgba(139, 92, 246, 0.75);

    transform: translateY(-1px);

    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.12);
}

.navbar-cta-icon {
    font-size: 14px;
    line-height: 1;
}

/* =========================================
   MOBILE BUTTON
   ========================================= */

.navbar-toggle {
    display: none;

    width: 40px;
    height: 40px;

    padding: 0;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 7px;

    background: rgba(255, 255, 255, 0.03);

    cursor: pointer;

    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.navbar-toggle span {
    display: block;

    width: 17px;
    height: 1px;

    background: #d4d4d8;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 800px) {

    .navbar {
        height: 68px;
    }

    .navbar-container {
        width: min(100% - 32px, 1180px);
    }

    .navbar-links {
        position: absolute;

        top: calc(100% + 1px);
        left: 16px;
        right: 16px;

        display: none;
        flex-direction: column;
        align-items: stretch;

        gap: 0;

        margin: 0;
        padding: 10px;

        background: rgba(10, 13, 23, 0.97);

        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 10px;

        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);

        backdrop-filter: blur(20px);
    }

    .navbar-links.open {
        display: flex;
    }

    .navbar-link {
        padding: 13px 12px;

        border-radius: 6px;
    }

    .navbar-link:hover {
        background: rgba(255, 255, 255, 0.035);
    }

    .navbar-link::after {
        display: none;
    }

    .navbar-cta {
        margin: 8px 0 2px;
        width: 100%;
        height: 43px;
    }

    .navbar-toggle {
        display: flex;
    }

    .navbar-logo img {
        max-width: 135px;
        max-height: 38px;
    }
}
