.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(8px);
    z-index: 1000;
    padding: 12px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.nav-logo img {
    height: 60px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 0 40px 0 30px; /* 减少左间距，让logo更靠左 */
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    opacity: 1;
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FF4D00;
    transition: width 0.3s ease;
}

.nav-link:hover {
    opacity: 1;
}

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

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.button {
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.button-primary {
    background: linear-gradient(135deg, #FF4D00 0%, #FF6B00 100%);
    color: #fff;
    border: none;
}

.button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 77, 0, 0.3);
}

.nav .button-outline {
    background: transparent;
    color: #fff;
    border: 1px solid transparent;
    box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.35);
    background-clip: padding-box;
}

.nav .button-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: transparent;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 1);
}

.nav.scrolled {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    padding: 8px 0;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .nav-links {
        gap: 30px;
        margin: 0 20px 0 25px; /* 增大左间距，保持与桌面版的比例 */
    }

    .nav-logo img {
        height: 44px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-logo img {
        height: 36px;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-buttons .button-outline {
        display: none;
    }
} 