/* 导航栏样式 */
header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    position: fixed;
    width: 100%;
    height: 100px;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: height 0.3s;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px;
    width: auto;
}

.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: #fff;
    z-index: 1100;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-text span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.1rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 4px;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.15);
}

.cta-button {
    background-color: var(--accent);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(245, 166, 35, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(245, 166, 35, 0.4);
    background-color: #e69500;
}

@media (max-width: 900px) {
    header {
        height: 70px;
    }
    .navbar {
        padding: 0.5rem 0;
    }
    .logo-text {
        font-size: 1.1rem;
    }
    .cta-button {
        padding: 0.5rem 1rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .nav-links {
        display: none !important;
        flex-direction: column;
        width: 100vw;
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 999;
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
        padding: 0.5rem 0;
    }
    .nav-links.active {
        display: flex !important;
    }
    .navbar {
        flex-direction: row;
        align-items: flex-start;
    }
    .logo {
        margin-bottom: 0;
    }
    .cta-button {
        width: 100%;
        text-align: center;
        font-size: 1rem;
        padding: 0.7rem 0;
        margin-top: 0.5rem;
    }
}

@media (max-width: 600px) {
    header {
        height: 54px;
    }
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.3rem 0;
    }
    .logo {
        margin-bottom: 0.5rem;
    }
    .cta-button {
        width: 100%;
        text-align: center;
        font-size: 0.95rem;
        padding: 0.6rem 0;
        margin-top: 0.5rem;
    }
}