*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "微软雅黑", "PingFang SC", sans-serif;
}

body{
    background: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

/* 顶部导航栏 */
.navbar{
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 999;
}
.nav-container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ========== Logo+文字 左侧布局，完全无重叠 ========== */
.logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px; /* Logo和文字的间距，可自行调整 */
    text-decoration: none;
}
.logo-img {
    width: 45px; /* Logo大小，可自行调整 */
    height: 45px;
    object-fit: contain;
    border-radius: 8px;
}
.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #1976d2;
}
/* ============================================== */

.nav-menu{
    display: flex;
    gap: 35px;
    list-style: none;
}
.nav-menu a{
    text-decoration: none;
    color: #333;
    font-size: 16px;
    transition: color 0.3s;
}
.nav-menu a:hover, .nav-menu a.active{
    color: #1976d2;
}

/* 通用容器 */
.container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* 通用按钮 */
.btn{
    display: inline-block;
    padding: 12px 30px;
    background: #1976d2;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}
.btn:hover{
    background: #1565c0;
}

/* 页脚 */
.footer{
    background: #fff;
    padding: 30px 20px;
    text-align: center;
    color: #666;
    margin-top: 50px;
    border-top: 1px solid #eee;
}
.footer-links{
    margin-bottom: 15px;
}
.footer-links a{
    color: #666;
    margin: 0 15px;
    text-decoration: none;
}
.footer-links a:hover{
    color: #1976d2;
}