
        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 0;
            margin-bottom: 3rem;
            position: relative;
            z-index: 1000;
        }

        .nav-links {
            display: flex;
            gap: 2rem;
            list-style: none;
            transition: all 0.3s ease;
        }

        .nav-link {
            color: var(--text-primary);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
            position: relative;
            white-space: nowrap;
        }

        /* 悬浮动画 */
        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary-color);
            transition: width 0.3s ease;
        }

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

        .nav-link:hover {
            color: var(--primary-color);
        }

        .menu-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            padding: 0.5rem;
        }

        @media (max-width: 768px) {
            .nav-links {
                position: absolute;
                top: 100%;
                right: 0;
                flex-direction: column;
                background: white;
                padding: 1rem;
                border-radius: 0.5rem;
                box-shadow: 0 4px 12px rgba(0,0,0,0.1);
                max-height: 0;
                overflow: hidden;
                opacity: 0;
                visibility: hidden;
            }

            .nav-links.active {
                max-height: 500px;
                opacity: 1;
                visibility: visible;
            }

            .menu-toggle {
                display: block;
            }

            .nav-link {
                padding: 0.8rem 1.5rem;
            }

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