/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* 基础样式 */
body {
    color: #333;
    background-color: #f5f7fa;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: #165dff;
    color: #fff !important;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #0e48d9;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid #165dff;
    color: #165dff !important;
}

.btn-outline:hover {
    background-color: #165dff;
    color: #fff !important;
}

/* 板块标题样式 */
.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1d2129;
    text-align: center;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 16px;
    color: #666;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.8;
}

/* 头部导航 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

.header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 40px;
}

.nav ul {
    display: flex;
    gap: 30px;
}

.nav a {
    font-size: 16px;
    font-weight: 500;
    color: #1d2129;
}

.nav a:hover, .nav a.active {
    color: #165dff;
}

/* 移动端导航 */
.mobile-nav-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #1d2129;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    z-index: 998;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

/* 横幅区域 */
.banner {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #e8f0ff 0%, #f0f5ff 100%);
    margin-top: 80px;
}

.banner-wrap {
    display: flex;
    align-items: center;
    gap: 60px;
}

.banner-content {
    flex: 1;
}

.banner-content h1 {
    font-size: 48px;
    font-weight: 800;
    color: #1d2129;
    line-height: 1.2;
    margin-bottom: 20px;
}

.banner-content h1 span {
    color: #165dff;
}

.banner-content p {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.8;
}

.banner-img {
    flex: 1;
    text-align: center;
}

.banner-img img {
    max-width: 100%;
    height: auto;
}

/* 功能板块 */
.features {
    padding: 100px 0;
    background-color: #fff;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    padding: 30px;
    background-color: #f9fbff;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(22, 93, 255, 0.1);
}

.feature-item img {
    height: 80px;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1d2129;
    margin-bottom: 15px;
}

.feature-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

/* 安全板块 */
.security {
    padding: 100px 0;
    background-color: #f5f7fa;
}

.security-wrap {
    display: flex;
    align-items: center;
    gap: 60px;
}

.security-img {
    flex: 1;
}

.security-img img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.security-content {
    flex: 1;
}

.security-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1d2129;
    margin-bottom: 20px;
}

.security-content ul {
    margin-bottom: 30px;
}

.security-content li {
    padding: 10px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #333;
    font-size: 16px;
}

.security-content li::before {
    content: "✓";
    color: #165dff;
    font-weight: 700;
    font-size: 18px;
    margin-top: 2px;
}

/* 下载板块 */
.download {
    padding: 100px 0;
    background-color: #fff;
    text-align: center;
}

.download-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.download-item {
    padding: 30px;
    border: 1px solid #e5e9f2;
    border-radius: 12px;
    width: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(22, 93, 255, 0.1);
}

.download-item img {
    height: 60px;
    margin-bottom: 20px;
}

.download-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #1d2129;
}

.download-item p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

/* 帮助中心样式 */
.help-page {
    padding: 100px 0;
    background-color: #fff;
}

.help-search {
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
}

.help-search input {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #e5e9f2;
    border-radius: 8px;
    font-size: 16px;
}

.help-search button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: #165dff;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
}

.help-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.help-category {
    padding: 20px;
    background-color: #f9fbff;
    border-radius: 8px;
}

.help-category h3 {
    font-size: 18px;
    color: #165dff;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e9f2;
}

.help-category ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.help-category a {
    color: #666;
    font-size: 14px;
}

.help-category a:hover {
    color: #165dff;
}

.help-faq {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e5e9f2;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 18px 20px;
    background-color: #f9fbff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    color: #1d2129;
}

.faq-question::after {
    content: "+";
    color: #165dff;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    content: "-";
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #666;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

/* 关于我们样式 */
.about-page {
    padding: 100px 0;
    background-color: #fff;
}

.about-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    color: #666;
    line-height: 1.8;
    font-size: 16px;
}

.about-team {
    padding: 40px 0;
}

.team-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.team-member h3 {
    font-size: 18px;
    color: #1d2129;
    margin-bottom: 5px;
}

.team-member p {
    color: #666;
    font-size: 14px;
}

.about-contact {
    padding: 60px 0;
    background-color: #f9fbff;
    border-radius: 12px;
    margin-top: 60px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.contact-item {
    text-align: center;
}

.contact-item h3 {
    font-size: 18px;
    color: #1d2129;
    margin-bottom: 10px;
}

.contact-item p {
    color: #666;
    font-size: 14px;
}

/* 新闻中心样式 */
.news-page {
    padding: 100px 0;
    background-color: #fff;
}

.news-filter {
    text-align: center;
    margin-bottom: 40px;
}

.news-filter button {
    background: #f9fbff;
    border: 1px solid #e5e9f2;
    padding: 8px 24px;
    border-radius: 20px;
    margin: 0 8px;
    cursor: pointer;
    color: #1d2129;
    font-weight: 500;
    transition: all 0.3s ease;
}

.news-filter button.active {
    background: #165dff;
    color: #fff;
    border-color: #165dff;
}

.news-filter button:hover:not(.active) {
    border-color: #165dff;
    color: #165dff;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.news-item {
    background-color: #f9fbff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(22, 93, 255, 0.1);
}

.news-item-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-item-img img {
    transform: scale(1.05);
}

.news-item-content {
    padding: 20px;
}

.news-item-date {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.news-item-title {
    font-size: 18px;
    font-weight: 600;
    color: #1d2129;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-item-desc {
    font-size: 14px;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.7;
}

/* 新闻详情页样式 */
.news-detail {
    padding: 100px 0;
    background-color: #fff;
}

.news-detail-wrap {
    max-width: 800px;
    margin: 0 auto;
}

.news-detail-title {
    font-size: 32px;
    font-weight: 700;
    color: #1d2129;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.4;
}

.news-detail-meta {
    text-align: center;
    font-size: 14px;
    color: #999;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e9f2;
}

.news-detail-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 30px;
}

.news-detail-content {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
}

.news-detail-content p {
    margin-bottom: 20px;
}

.news-detail-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 30px 0 15px;
    color: #1d2129;
}

.news-detail-back {
    display: inline-block;
    margin-top: 40px;
    padding: 10px 24px;
    border: 1px solid #165dff;
    color: #165dff;
    border-radius: 8px;
    font-weight: 500;
}

.news-detail-back:hover {
    background-color: #165dff;
    color: #fff !important;
}

/* 底部样式 */
.footer {
    background-color: #1d2129;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-logo {
    text-align: center;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 40px;
}

.footer-logo p {
    margin-top: 20px;
    color: #999;
    font-size: 14px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.footer-links h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #999;
    font-size: 14px;
}

.footer-links a:hover {
    color: #165dff;
}

.footer-copyright {
    border-top: 1px solid #333;
    padding-top: 20px;
    color: #999;
    font-size: 14px;
    text-align: center;
    margin-top: 20px;
}

/* 响应式适配 */
@media (max-width: 768px) {
    /* 导航适配 */
    .nav {
        display: none;
    }
    .mobile-nav-btn {
        display: block;
    }
    /* 横幅适配 */
    .banner-wrap {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .banner-content h1 {
        font-size: 36px;
    }
    .banner-content p {
        max-width: 100%;
    }
    /* 安全板块适配 */
    .security-wrap {
        flex-direction: column;
        gap: 40px;
    }
    .security-content {
        order: 1;
    }
    .security-img {
        order: 0;
    }
    /* 新闻板块适配 */
    .news-list {
        grid-template-columns: 1fr;
    }
    .news-detail-title {
        font-size: 24px;
    }
    .news-filter button {
        margin-bottom: 10px;
    }
    /* 通用适配 */
    .section-title {
        font-size: 28px;
    }
    .download-item {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .banner-content h1 {
        font-size: 28px;
    }
    .section-title {
        font-size: 24px;
    }
    .footer-links {
        gap: 30px;
    }
}