#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--blue), var(--blue-light));
    z-index: 9999;
    transition: width .08s linear;
}

#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 500;
    height: 72px;
    transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
    border-bottom: 1px solid transparent;
}

#navbar.scrolled {
    background: rgba(0, 9, 26, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: rgba(255, 255, 255, .06);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .35);
}

.nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 28px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo img {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    object-fit: cover;
    transition: transform .3s ease;
}

.nav-logo:hover img {
    transform: rotate(6deg) scale(1.05);
}

.nav-logo-text {
    font-family: var(--font-d);
    font-weight: 800;
    font-size: 17px;
    color: white;
    letter-spacing: -.01em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 13.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, .6);
    transition: color .2s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--blue-light);
    transition: width .25s ease;
}

.nav-links a:hover {
    color: white;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-btn-tool {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue-light) !important;
    background: rgba(26, 144, 240, .1);
    border: 1px solid rgba(26, 144, 240, .25);
    padding: 8px 16px;
    border-radius: 8px;
    transition: all .25s ease !important;
}

.nav-btn-tool::after {
    display: none !important;
}

.nav-btn-tool:hover {
    background: rgba(26, 144, 240, .2) !important;
    color: white !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    display: block;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all .35s cubic-bezier(.68, -.55, .265, 1.55);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

#mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--dark);
    z-index: 499;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.23, 1, .32, 1);
}

#mobile-menu.open {
    transform: translateX(0);
}

.mobile-link {
    font-family: var(--font-d);
    font-size: 32px;
    font-weight: 700;
    color: rgba(255, 255, 255, .7);
    transition: color .2s;
}

.mobile-link:hover {
    color: white;
}

.mobile-tool-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--blue-light);
    background: rgba(26, 144, 240, .1);
    border: 1px solid rgba(26, 144, 240, .3);
    padding: 12px 24px;
    border-radius: 10px;
}