:root {
    --primary-color: #266dfb;
    --text-color: #333;
    --white: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

a, a:hover, a:focus, a:active {
    text-decoration: none;
}

button, .btn, .btn:hover, .btn:focus, .btn:active {
    text-decoration: none;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 10%;
}
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 15px 0; /* 添加上下内边距确保内容居中 */
}

.logo img {
    height: 30px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center; /* 确保导航链接垂直居中 */
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.auth-buttons {
    display: flex;
    align-items: center; /* 确保按钮组垂直居中 */
}

.auth-buttons .btn {
    margin-left: 10px;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    line-height: 1; /* 统一按钮内文字行高 */
}

.auth-buttons .btn:first-child {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    text-decoration: none;
}

.auth-buttons .btn:last-child {
    background-color: var(--primary-color);
    color: var(--white);
    border: 1px solid var(--primary-color);
    text-decoration: none;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--text-color);
    transition: all 0.3s;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .container {
        padding: 0 5%;
    }
    
.nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    padding-top: 30px;
    transition: left 0.3s;
}
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}
}

/* 新内容基础样式 */
.new-section {
    height: 400px;
    background-color: #f2f5ff;
    padding: 0 10%;
}

.upper-container {
    height: 340px;
    display: flex;
    justify-content: space-between;
    align-items: center; /* 添加垂直居中 */
    padding: 0; /* 移除顶部padding */
}

.left-content {
    width: 30%;
}

.contact-title {
    color: #000;
    font-size: 18px;
    margin-bottom: 15px;
}

.contact-number {
    color: #266dfb;
    font-size: 40px;
    margin-bottom: 20px;
    font-weight: bold;
    font-family: 'Impact';
}

.contact-title i {
    margin-right: 8px;
    color: #266dfb;
}

.contact-icons a {
    text-decoration: none;
}

.contact-icons i {
    font-size: 16px;
    margin-right: 15px;
    color: #fff;
    background-color: #999;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.contact-icons i:hover {
    background-color: #266dfb;
}

.right-content {
    width: 60%;
    display: flex;
    justify-content: space-between;
}

.feature-item {
    text-align: left;
}

.feature-item i {
    font-size: 24px;
    color: #266dfb;
    margin-bottom: 5px;
    display: block;
}

.feature-item div {
    margin-bottom: 5px;
    font-size: 20px;
}

.feature-item div:last-child {
    margin-bottom: 0;
}

.lower-container {
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e8e8e8;
}

.footer-links a {
    margin-right: 15px;
    color: #666;
    text-decoration: none;
}

.copyright {
    color: #999;
}
.em-hover-container{
    position: relative;
    display: inline-block;
}
/* 微信图标悬停效果 */
.wx-hover-container {
    position: relative;
    display: inline-block;
}
.eemail {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    /*height: 120px;*/
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}
.wx-qrcode {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.wx-hover-container:hover .wx-qrcode {
    opacity: 1;
    visibility: visible;
}
.em-hover-container:hover .eemail{
    opacity: 1;
    visibility: visible;
}
.wx-qrcode img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
/* 新内容响应式设计 */
@media (max-width: 992px) {
    .new-section {
        height: auto;
        padding: 20px 5%;
    }
    
    .upper-container {
        height: auto;
        flex-direction: column;
    }
    
    .left-content, 
    .right-content {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .right-content {
        flex-wrap: wrap;
    }
    
    .feature-item {
        width: 50%;
        margin-bottom: 20px;
    }
    
    .lower-container {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
    }
    
    .footer-links {
        margin-bottom: 10px;
    }
    .page-num{
        display: none!important;
    }
}