/* 全局重置 */
* {
    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, li {
    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: background-color 0.3s ease, transform 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;
}

/* 头部导航 */
.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;
}

/* 横幅区域 */
.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;
    flex-wrap: wrap;
}

.banner-content {
    flex: 1;
    min-width: 300px;
}

.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;
}

.banner-img {
    flex: 1;
    text-align: center;
    min-width: 300px;
}

.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;
}

/* 安全板块 */
.security {
    padding: 100px 0;
    background-color: #f5f7fa;
}

.security-wrap {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.security-img {
    flex: 1;
    min-width: 300px;
}

.security-img img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.security-content {
    flex: 1;
    min-width: 300px;
}

.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;
}

.security-content li::before {
    content: "✓";
    color: #165dff;
    font-weight: 700;
    font-size: 18px;
}

/* 首页新闻展示模块 */
.home-news {
    padding: 100px 0;
    background-color: #fff;
}

.home-news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.home-news-header h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1d2129;
}

.home-news-header a {
    color: #165dff;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.home-news-header a:hover {
    color: #0e48d9;
}

.home-news-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.home-news-item {
    background-color: #f9fbff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(22, 93, 255, 0.1);
}

.home-news-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.home-news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.home-news-item:hover .home-news-img img {
    transform: scale(1.05);
}

.home-news-content {
    padding: 20px;
}

.home-news-date {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.home-news-title {
    font-size: 18px;
    font-weight: 600;
    color: #1d2129;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-news-desc {
    font-size: 14px;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

/* 新闻中心页面样式 */
.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;
}

/* 新闻详情页样式 */
.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;
}

/* 帮助中心页面样式 */
.help-page {
    padding: 100px 0;
    background-color: #fff;
}

.help-search {
    max-width: 600px;
    margin: 0 auto 60px;
    position: relative;
}

.help-search input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border: 1px solid #e5e9f2;
    border-radius: 8px;
    font-size: 16px;
    background-color: #f9fbff;
}

.help-search input:focus {
    outline: none;
    border-color: #165dff;
    box-shadow: 0 0 0 2px rgba(22, 93, 255, 0.1);
}

.help-search .icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #999;
}

.help-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 60px;
}

.help-category-item {
    padding: 12px 24px;
    background-color: #f9fbff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.help-category-item.active {
    background-color: #165dff;
    color: #fff;
}

.help-category-item:hover:not(.active) {
    border-color: #165dff;
    color: #165dff;
    transform: translateY(-2px);
}

.help-content {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #e5e9f2;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background-color: #f9fbff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e8f0ff;
}

.faq-question .toggle-icon {
    font-size: 20px;
    color: #165dff;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question .toggle-icon {
    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: 1000px;
}

.contact-support {
    max-width: 900px;
    margin: 60px auto 0;
    padding: 30px;
    background: linear-gradient(135deg, #e8f0ff 0%, #f0f5ff 100%);
    border-radius: 12px;
    text-align: center;
}

.contact-support h3 {
    font-size: 24px;
    color: #1d2129;
    margin-bottom: 20px;
}

.contact-support p {
    color: #666;
    margin-bottom: 30px;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.contact-method .icon {
    font-size: 32px;
    color: #165dff;
    margin-bottom: 10px;
}

.contact-method h4 {
    font-size: 18px;
    color: #1d2129;
}

.contact-method p {
    margin: 0;
    font-size: 14px;
}

/* 关于我们页面样式 */
.about-page {
    padding: 100px 0;
    background-color: #fff;
}

.brand-intro {
    max-width: 900px;
    margin: 0 auto 80px;
    text-align: center;
}

.brand-intro p {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
    margin-top: 30px;
}

.timeline-section {
    padding: 60px 0;
    background-color: #f9fbff;
    margin: 60px 0;
    border-radius: 12px;
}

.timeline-section h3 {
    font-size: 28px;
    color: #1d2129;
    text-align: center;
    margin-bottom: 40px;
}

.timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background-color: #e8f0ff;
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-left: 50%;
    padding-right: 0;
}

.timeline-content {
    width: 90%;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(22, 93, 255, 0.08);
}

.timeline-date {
    font-size: 14px;
    color: #165dff;
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-title {
    font-size: 18px;
    color: #1d2129;
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.timeline-dot {
    position: absolute;
    top: 20px;
    right: calc(50% - 8px);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #165dff;
    border: 4px solid #e8f0ff;
    z-index: 1;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: calc(50% - 8px);
    right: auto;
}

.team-section {
    margin: 80px 0;
}

.team-section h3 {
    font-size: 28px;
    color: #1d2129;
    text-align: center;
    margin-bottom: 40px;
}

.team-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.team-card {
    background-color: #f9fbff;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(22, 93, 255, 0.1);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background-color: #e8f0ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #165dff;
}

.team-name {
    font-size: 18px;
    color: #1d2129;
    font-weight: 600;
    margin-bottom: 5px;
}

.team-position {
    font-size: 14px;
    color: #165dff;
    margin-bottom: 15px;
}

.team-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.philosophy-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #e8f0ff 0%, #f0f5ff 100%);
    border-radius: 12px;
    margin: 80px 0;
}

.philosophy-section h3 {
    font-size: 28px;
    color: #1d2129;
    text-align: center;
    margin-bottom: 40px;
}

.philosophy-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.philosophy-item {
    text-align: center;
    padding: 20px;
}

.philosophy-icon {
    font-size: 40px;
    color: #165dff;
    margin-bottom: 20px;
}

.philosophy-title {
    font-size: 20px;
    color: #1d2129;
    font-weight: 600;
    margin-bottom: 15px;
}

.philosophy-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.partners-section {
    margin: 80px 0;
}

.partners-section h3 {
    font-size: 28px;
    color: #1d2129;
    text-align: center;
    margin-bottom: 40px;
}

.partners-list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.partner-item {
    width: 120px;
    height: 60px;
    background-color: #f9fbff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #165dff;
    font-weight: 600;
    font-size: 14px;
}

.contact-section {
    max-width: 900px;
    margin: 80px auto;
    padding: 40px;
    background-color: #f9fbff;
    border-radius: 12px;
    text-align: center;
}

.contact-section h3 {
    font-size: 28px;
    color: #1d2129;
    margin-bottom: 20px;
}

.contact-section p {
    color: #666;
    margin-bottom: 30px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.contact-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.contact-info-icon {
    font-size: 24px;
    color: #165dff;
}

.contact-info-label {
    font-size: 14px;
    color: #999;
}

.contact-info-value {
    font-size: 16px;
    color: #1d2129;
    font-weight: 500;
}

/* 底部样式 */
.footer {
    background-color: #1d2129;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-logo img {
    height: 40px;
}

.footer-logo p {
    margin-top: 20px;
    color: #999;
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 60px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.footer-links h4 {
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #999;
}

.footer-links a:hover {
    color: #165dff;
}

.footer-copyright {
    border-top: 1px solid #333;
    padding-top: 20px;
    color: #999;
    font-size: 14px;
    text-align: center;
}

/* 响应式适配 - 768px以下 */
@media (max-width: 768px) {
    .mobile-nav-btn {
        display: block;
    }
    .nav ul {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        display: none;
        z-index: 998;
    }
    .nav ul.active {
        display: flex;
    }
    .banner-content h1 {
        font-size: 32px;
    }
    .section-title {
        font-size: 28px;
    }
    .timeline::before {
        left: 20px;
        transform: none;
    }
    .timeline-item, .timeline-item:nth-child(even) {
        padding-left: 60px;
        padding-right: 0;
        justify-content: flex-start;
    }
    .timeline-dot, .timeline-item:nth-child(even) .timeline-dot {
        left: 12px;
        right: auto;
        transform: none;
    }
    .timeline-content {
        width: 100%;
    }
    .home-news-header h3, .security-content h3, .timeline-section h3, .team-section h3, .philosophy-section h3, .partners-section h3, .contact-section h3 {
        font-size: 24px;
    }
    .help-categories {
        gap: 10px;
    }
    .help-category-item {
        padding: 10px 16px;
        font-size: 14px;
    }
    .contact-methods, .contact-info {
        gap: 20px;
    }
    .partners-list {
        gap: 20px;
    }
    .partner-item {
        width: 100px;
        height: 50px;
        font-size: 12px;
    }
    .footer-links {
        gap: 30px;
    }
}