/* 头部整体样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 999;
    transition: all 0.3s ease;
}
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo 样式 */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.logo-img {
    height: 60px;
    width: auto;
}

/* 导航栏样式 */
.nav {
    flex: 1;
    margin: 0 2rem;
}
.nav-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
}
.nav-item a {
    font-size: 1.05rem;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    color: #333;
}
.nav-item.active a {
    color: #007bff;
    border-bottom: 2px solid #007bff;
}
.nav-item a:hover {
    color: #007bff;
}

/* 下载按钮样式 */
.download-btn {
    background-color: #007bff;
    color: #fff !important;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    flex-shrink: 0;
}
.download-btn:hover {
    background-color: #0069d9;
    transform: translateY(-2px);
}

/* 移动端菜单按钮 */
.menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    z-index: 999;
}
.menu-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #333;
    transition: all 0.3s ease;
}

/* 移动端适配 */
@media (max-width: 992px) {
    .nav {
        margin: 0 1rem;
    }
    .nav-list {
        gap: 1.5rem;
    }
}
@media (max-width: 768px) {
    .header {
        height: 60px;
    }
    .main {
        margin-top: 60px;
    }
    /* 移动端导航隐藏为侧边栏 */
    .nav {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 60px);
        background-color: #fff;
        margin: 0;
        padding: 2rem;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        z-index: 999;
        transition: right 0.3s ease;
    }
    .nav.show {
        right: 0;
    }
    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
    }
    .menu-btn {
        display: flex;
    }
    .download-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}
/* 全局重置：CSS Reset，消除浏览器默认样式，保证跨端一致性 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "SimSun", sans-serif;
}
html {
    scroll-behavior: smooth; /* 平滑滚动，提升体验 */
    font-size: 16px;
}
body {
    color: #333;
    background-color: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased; /* 抗锯齿，提升视觉 */
}
ul, ol {
    list-style: none;
}
a {
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}
a:hover {
    color: #007bff;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
button {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}
input, textarea {
    outline: none;
    border: 1px solid #eee;
}
/* 容器：居中布局，响应式宽度 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* 板块标题：统一样式，企业级视觉 */
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
}
.section-title span {
    color: #007bff;
    margin-left: 0.5rem;
}
.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: #007bff;
    margin: 0.5rem auto 0;
}
/* 隐藏类：适配移动端/交互 */
.hide {
    display: none !important;
}
/* 懒加载占位图 */
.lazyload {
    background: #f5f5f5 url(../images/lazyload.png) center no-repeat;
    background-size: 50px;
}

/* 头部样式：固定顶部，吸顶效果 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 999;
    transition: all 0.3s ease;
}
.header.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.logo {
    display: flex;
    align-items: center;
}
.logo-img {
    height: 60px;
    width: auto;
}
/* 导航样式 */
.nav {
    flex: 1;
    margin: 0 2rem;
}
.nav-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
}
.nav-item a {
    font-size: 1.05rem;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}
.nav-item.active a {
    color: #007bff;
    border-bottom: 2px solid #007bff;
}
.nav-item a:hover {
    color: #007bff;
}
/* 下载按钮：主色调，突出转化 */
.download-btn, .banner-btn, .feature-link {
    background-color: #007bff;
    color: #fff !important;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
}
.download-btn:hover, .banner-btn:hover {
    background-color: #0069d9;
    transform: translateY(-2px);
}
/* 移动端菜单按钮：隐藏PC端 */
.menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
}
.menu-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #333;
    transition: all 0.3s ease;
}

/* 主内容区：预留头部高度，避免遮挡 */
.main {
    margin-top: 80px;
}

/* 横幅区样式 */
.banner {
    background: linear-gradient(135deg, #007bff, #0069d9);
    color: #fff;
    padding: 6rem 0;
}
.banner.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.banner-content {
    flex: 1;
}
.banner-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
.banner-desc {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}
.banner-btn {
    font-size: 1.2rem;
    padding: 0.8rem 2rem;
}
.banner-img {
    flex: 1;
    text-align: right;
}

/* 核心功能区样式 */
.feature {
    padding: 8rem 0;
    background-color: #f8f9fa;
}
.feature-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.feature-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.3s ease;
}
.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.feature-img {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
}
.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.feature-desc {
    color: #666;
    margin-bottom: 1.5rem;
}
.feature-link {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

/* 下载区样式 */
.download {
    padding: 8rem 0;
    text-align: center;
}
.download-desc {
    color: #dc3545;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}
.download-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}
.download-qr {
    text-align: center;
}
.qr-img {
    width: 300px;
    height: 300px;
    margin: 0 auto 1rem;
    border: 5px solid #eee;
    border-radius: 8px;
}
.qr-tip {
    font-size: 1.1rem;
    font-weight: 500;
}
.download-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.download-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 2rem;
    border: 1px solid #eee;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    width: 300px;
    transition: all 0.3s ease;
}
.download-item:hover {
    border-color: #007bff;
    color: #007bff;
    transform: translateY(-5px);
}
.item-icon {
    font-size: 1.5rem;
}
.item-version {
    margin-left: auto;
    color: #999;
    font-size: 0.9rem;
}

/* 新闻资讯区带图样式 */
.news-hot {
padding: 8rem 0;
background-color: #f8f9fa;
}
.news-list {
max-width: 1000px;
margin: 0 auto 2rem;
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.news-item {
display: flex;
align-items: center;
gap: 1.5rem;
padding: 1.2rem;
background-color: #fff;
border-radius: 8px;
box-shadow: 0 2px 10px rgba (0,0,0,0.05);
transition: all 0.3s ease;
}
.news-item:hover {
transform: translateX (10px);
box-shadow: 0 5px 15px rgba (0,0,0,0.1);
}
.news-img {
width: 120px;
height: 80px;
flex-shrink: 0;
border-radius: 4px;
overflow: hidden;
}
.news-img img {
width: 100%;
height: 100%;
object-fit: cover;
}
.news-content {
flex: 1;
}
.news-date {
color: #007bff;
font-weight: 700;
font-size: 0.9rem;
margin-bottom: 0.3rem;
display: block;
}
.news-title {
font-size: 1.05rem;
line-height: 1.4;
color: #333;
}
.news-more {
display: inline-block;
color: #007bff;
font-weight: 500;
padding: 0.5rem 1.5rem;
border: 1px solid #007bff;
border-radius: 4px;
}
.news-more:hover {
background-color: #007bff;
color: #fff !important;
}
/* 移动端适配 */
@media (max-width: 768px) {
.news-item {
flex-direction: column;
text-align: center;
gap: 1rem;
}
.news-img {
width: 100%;
height: 150px;
}
}

/* 页脚样式 */
.footer {
    background-color: #343a40;
    color: #fff;
    padding: 4rem 0 2rem;
}
.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #495057;
}
.footer-logo img {
    height: 60px;
}
.footer-nav-title, .footer-contact-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.footer-nav-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.footer-nav-list a {
    color: #adb5bd;
}
.footer-nav-list a:hover {
    color: #007bff;
}
.contact-text {
    color: #adb5bd;
    margin-bottom: 1rem;
}
.footer-bottom {
    text-align: center;
    color: #adb5bd;
    font-size: 0.9rem;
    line-height: 1.8;
}
.copyright {
    margin-bottom: 0.5rem;
}

/* 回到顶部按钮 */
.back-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background-color: #007bff;
    color: #fff;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 700;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}
.back-top.show {
    opacity: 1;
    visibility: visible;
}
.back-top:hover {
    background-color: #0069d9;
    transform: translateY(-5px);
}

/* 子页面通用样式：download/tutorial/absut/about/news */
.sub-page {
    padding: 4rem 0;
}
.sub-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    color: #333;
}
.sub-desc {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    line-height: 1.8;
}
.sub-content {
    max-width: 1000px;
    margin: 0 auto;
    line-height: 2;
    font-size: 1.05rem;
}
.sub-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
    color: #007bff;
}
.sub-content p {
    margin-bottom: 1rem;
}
.sub-content img {
    margin: 2rem auto;
    border-radius: 8px;
    max-width: 80%;
}
/* 新闻中心页面专属样式 */
.news-list-page {
    max-width: 1000px;
    margin: 0 auto;
}
.news-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.news-card-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}
.news-card-date {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: block;
}
.news-card-desc {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.news-card-link {
    color: #007bff;
    font-weight: 500;
}

/* 响应式适配：平板（992px以下） */
@media (max-width: 992px) {
    .nav {
        margin: 0 1rem;
    }
    .nav-list {
        gap: 1.5rem;
    }
    .banner-title {
        font-size: 2.5rem;
    }
    .feature-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    .footer-logo {
        grid-column: 1 / -1;
        margin-bottom: 1rem;
    }
}

/* 响应式适配：手机（768px以下）- 核心适配，提升移动端SEO体验 */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    .header {
        height: 60px;
    }
    .main {
        margin-top: 60px;
    }
    /* 移动端导航：隐藏，转为侧边栏 */
    .nav {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 60px);
        background-color: #fff;
        margin: 0;
        padding: 2rem;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        z-index: 999;
        transition: right 0.3s ease;
    }
    .nav.show {
        right: 0;
    }
    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
    }
    .nav-item a {
        font-size: 1.2rem;
    }
    /* 显示移动端菜单按钮 */
    .menu-btn {
        display: flex;
        z-index: 999;
    }
    /* 下载按钮：缩小 */
    .download-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    /* 横幅区：单列布局 */
    .banner.container {
        flex-direction: column;
        text-align: center;
    }
    .banner {
        padding: 4rem 0;
    }
    .banner-title {
        font-size: 2rem;
    }
    .banner-img {
        margin-top: 2rem;
        text-align: center;
    }
    /* 功能区：单列布局 */
    .feature {
        padding: 4rem 0;
    }
    .feature-list {
        grid-template-columns: 1fr;
    }
    /* 下载区：间距缩小 */
    .download {
        padding: 4rem 0;
    }
    .download-box {
        gap: 2rem;
    }
    /* 热门新闻区：padding缩小 */
    .news-hot {
        padding: 4rem 0;
    }
    /* 页脚：单列布局 */
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-logo {
        justify-content: center;
    }
    /* 回到顶部按钮：缩小 */
    .back-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
    /* 子页面：适配手机 */
    .sub-title {
        font-size: 2rem;
    }
    .sub-content img {
        max-width: 100%;
    }
}

/* 响应式适配：小屏手机（576px以下） */
@media (max-width: 576px) {
    .banner-title {
        font-size: 1.8rem;
    }
    .qr-img {
        width: 200px;
        height: 200px;
    }
    .download-item {
        width: 250px;
        padding: 1rem 1.5rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
}

/* 吸顶效果：滚动时头部缩小，提升体验 */
.header.scroll {
    height: 60px;
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.header.scroll .logo-img {
    height: 40px;
}