.navbar {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 90%;
    max-width: 1200px;
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 100px;
    z-index: -1;
    pointer-events: none;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.nav-links .cta-button {
    background: #000000;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    color: white;
    font-size: 1rem;
    border: none;
    transition: all 0.3s ease;
    margin-left: 1rem;
    font-weight: 600;
}

.nav-links .cta-button:hover {
    background: #333333;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.4);
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

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

.nav-links a {
    text-decoration: none;
    color: #4a5568;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 2px;
}

.nav-links a:hover {
    color: #1a202c;
}

.nav-links a:not(.cta-button)::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #000000;
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.nav-links a:not(.cta-button):hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.nav-links .cta-button::after {
    display: none;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #2d3748;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .navbar {
        top: 20px;
        left: 5%;
        margin: 0;
        width: 90%;
        padding: 1rem 1.5rem;
        background: none;
    }

    .hamburger {
        display: flex;
        z-index: 2100;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100vh;
        width: 100vw;
        background: rgba(230, 230, 230, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        border-radius: 0;
        z-index: 2000;
        transform: scale(1.05);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
    }

    .nav-links.active {
        transform: scale(1);
        opacity: 1;
        visibility: visible;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .nav-links a {
        font-size: 1.5rem;
    }
}
