/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部导航样式 */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo h1 {
    font-size: 24px;
    color: #1e88e5;
    padding: 15px 0;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 20px 12px;
    display: inline-block;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: #1e88e5;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: #1e88e5;
    background-color: rgba(30, 136, 229, 0.05);
}

.nav-links a:hover::after {
    width: 60%;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Banner样式 */
.banner {
    background: linear-gradient(135deg, #1e88e5 0%, #43a047 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.banner-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.banner-content p {
    font-size: 20px;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s both;
}

/* 按钮样式 */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
    cursor: pointer;
    animation: fadeInUp 1s ease 0.4s both;
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.25);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f57c00 0%, #ff9800 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    border-radius: 50px;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(255, 152, 0, 0.4);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:active {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(255, 152, 0, 0.3);
}

.btn-large {
    padding: 18px 45px;
    font-size: 18px;
    font-weight: 700;
}

.btn-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f57c00 0%, #ff9800 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    border-radius: 50px;
}

.btn-large:hover::before {
    opacity: 1;
}

/* 平台优势样式 */
.advantages {
    padding: 100px 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.advantages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, rgba(30, 136, 229, 0.05), transparent);
    z-index: 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: #333;
    margin-bottom: 70px;
    position: relative;
    font-weight: 700;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #1e88e5, #43a047);
    margin: 20px auto 0;
    border-radius: 2px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.advantage-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.advantage-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(30, 136, 229, 0.15);
}

.advantage-img {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.advantage-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.advantage-card:hover .advantage-img img {
    transform: scale(1.08);
}

.advantage-content {
    padding: 30px;
}

.advantage-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
    position: relative;
    padding-bottom: 12px;
    font-weight: 600;
}

.advantage-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #1e88e5;
    border-radius: 2px;
}

.advantage-content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 0;
    line-height: 1.8;
}

/* 平台优势CTA按钮样式 */
.advantages-cta {
    text-align: center;
    margin-top: 40px;
    padding: 20px 0;
}

/* 统一的FAQ和新闻列表样式 */
.faq-list li,
.news-list li {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #e0e0e0;
    list-style: none;
    position: relative;
    transition: transform 0.3s ease;
}

.faq-list li:hover,
.news-list li:hover {
    transform: translateX(5px);
}

.faq-list li:last-child,
.news-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-list a,
.news-list a {
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-radius: 8px;
}

.faq-list a:hover,
.news-list a:hover {
    color: #1e88e5;
    background-color: rgba(30, 136, 229, 0.03);
    padding-left: 10px;
    padding-right: 10px;
}

.faq-list h4,
.news-list h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.faq-list a:hover h4,
.news-list a:hover h4 {
    color: #1e88e5;
}

.faq-list .date,
.news-list .date {
    font-size: 12px;
    color: #999;
    white-space: nowrap;
    background-color: #f5f5f5;
    padding: 2px 8px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.faq-list a:hover .date,
.news-list a:hover .date {
    background-color: #e3f2fd;
    color: #1e88e5;
}

/* 代理商评价样式 */
.testimonials {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.testimonial-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.testimonial-content h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.testimonial-content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
    font-style: italic;
}

.rating {
    color: #ff9800;
    font-size: 20px;
}

.cta-section {
    text-align: center;
    margin-top: 50px;
}

/* 常见问题和最新资讯样式 */
.info-section {
    padding: 100px 0;
    background-color: #fff;
    position: relative;
}

.info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, #f5f5f5, transparent);
    z-index: 0;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    position: relative;
    z-index: 1;
}

.faq, .news {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.faq:hover, .news:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(30, 136, 229, 0.08);
}

/* 新闻列表页面样式 */
.main-content {
    min-height: 70vh;
}

/* 页面头部样式 */
.page-header {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.page-title {
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-description {
    font-size: 18px;
    color: #666;
    margin: 0;
}

/* 新闻区域样式 */
.news-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 新闻容器 */
.news-container {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* 新闻条目样式 */
.news-entry {
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

/* 最后一条新闻条目移除底部边框 */
.news-entry:last-child {
    border-bottom: none;
}

/* 新闻内容链接 */
.news-content {
    display: block;
    padding: 30px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

/* 新闻条目悬停效果 */
.news-content:hover {
    background-color: #fafafa;
}

/* 新闻标题样式 */
.news-heading {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

/* 标题悬停颜色变化 */
.news-content:hover .news-heading {
    color: #ff9800;
}

/* 新闻元数据样式 */
.news-meta {
    margin-bottom: 15px;
}

/* 新闻时间样式 */
.news-time {
    font-size: 14px;
    color: #999;
    font-style: normal;
}

/* 新闻摘要样式 */
.news-summary {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* 分页导航包装器 */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

/* 分页导航样式 */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

/* 上一页按钮样式 */
.pagination-prev,
.pagination-next {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.2);
    min-width: 100px;
    text-align: center;
}

/* 分页按钮悬停效果 */
.pagination-prev:hover,
.pagination-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.3);
}

/* 分页信息样式 */
.pagination-info {
    font-size: 16px;
    color: #666;
    font-weight: 500;
    min-width: 150px;
    text-align: center;
}

/* 响应式设计调整 */
@media (max-width: 768px) {
    .page-title {
        font-size: 28px;
    }
    
    .page-description {
        font-size: 16px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-heading {
        font-size: 18px;
    }
    
    .news-summary {
        font-size: 15px;
    }
    
    .pagination {
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .pagination-prev,
    .pagination-next {
        padding: 10px 20px;
        font-size: 14px;
        min-width: auto;
    }
    
    .pagination-info {
        font-size: 14px;
        order: -1;
        width: 100%;
        margin-bottom: 10px;
    }
}

/* 新闻详情页面样式 */
.news-detail-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
    color: #999;
}

.breadcrumb a {
    color: #ff9800;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #f57c00;
}

.news-detail-content {
    background-color: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.news-detail-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
}

.news-detail-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 16px;
    color: #666;
}

.news-detail-body {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.news-detail-body p {
    margin-bottom: 25px;
}

.news-detail-body h3 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 30px 0 20px;
}

.news-detail-body ul {
    margin-left: 20px;
    margin-bottom: 25px;
}

.news-detail-body li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.news-detail-body li::before {
    content: '•';
    color: #ff9800;
    font-size: 20px;
    position: absolute;
    left: 0;
    top: -5px;
}

/* 新闻详情页中的A链接样式 */
.news-detail-body a {
    text-decoration: none; /* 去除默认下划线 */
    color: #1e88e5; /* 设置链接颜色 */
    transition: all 0.3s ease; /* 添加过渡效果 */
    position: relative;
    padding-bottom: 2px;
}

.news-detail-body a:hover {
    color: #1565c0; /* 悬停时颜色变深 */
}

.news-detail-body a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #1e88e5;
    transition: width 0.3s ease;
}

.news-detail-body a:hover::after {
    width: 100%; /* 悬停时显示下划线 */
}

/* 上一篇/下一篇导航样式 */
.news-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #f0f0f0;
    gap: 20px;
}

.news-prev, .news-next {
    flex: 1;
}

.nav-btn {
    display: block;
    padding: 20px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.2);
}

.nav-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.3);
}

.nav-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    opacity: 0.9;
}

.nav-title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

/* 底部样式 */
.footer {
    background-color: #333;
    color: #fff;
    padding: 30px 0 20px;
}

/* 底部内容主容器 */
.footer-content-wrapper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

/* 左侧区域 */
.footer-left {
    flex: 1;
    margin-right: 30px;
}

.friend-links, .other-platforms {
    margin-bottom: 20px;
}

/* 右侧独立框架：微信客服 - 按钮版 */
.wechat-service {
    width: 144px;
}

/* 微信客服卡片 - 按钮版 */
.wechat-card {
    text-align: center;
    padding: 10px 4px;
}

/* 标题样式 - 已移除 */
.wechat-card h3 {
    display: none;
}

.wechat-card h3::after {
    display: none;
}

/* 二维码容器 - 按钮版 */
.qr-code-container {
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
}

/* 二维码样式 - 按钮版 */
.wechat-qrcode {
    background-color: #fff;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.wechat-qrcode img {
    width: 96px;
    height: 96px;
    display: block;
}

/* 客服联系方式区域 - 按钮版 */
.wechat-id-section {
    margin-bottom: 0;
    text-align: center;
}

/* 客服联系方式按钮 - 吸引人的按钮样式 */
.wechat-id {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 13px;
    font-family: 'Arial', sans-serif;
    letter-spacing: 0.5px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
    min-width: 100px;
    position: relative;
    overflow: hidden;
}

/* 按钮悬停效果 */
.wechat-id:hover {
    background: linear-gradient(135deg, #f57c00, #ef6c00);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 152, 0, 0.4);
}

/* 按钮点击效果 */
.wechat-id:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.3);
}

/* 按钮文本样式 */
.wechat-id span {
    color: white;
    font-weight: bold;
    font-size: 13px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* 按钮内部发光效果 */
.wechat-id::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
    transform: scale(0);
    opacity: 0;
    transition: all 0.3s ease;
}

.wechat-id:hover::after {
    transform: scale(1);
    opacity: 1;
}

.friend-links h3, .other-platforms h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #fff;
}

.friend-links p {
    font-size: 14px;
    margin-bottom: 10px;
    color: #ccc;
}

.links-list {
    display: flex;
    flex-wrap: nowrap;
    list-style: none;
    overflow-x: auto;
    padding-bottom: 10px;
}

.links-list li {
    margin-right: 15px;
    white-space: nowrap;
}

.links-list a {
    text-decoration: none;
    color: #ccc;
    transition: color 0.3s ease;
    font-size: 14px;
}

.links-list a:hover {
    color: #fff;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #555;
}

.copyright p {
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 返回顶部按钮样式 */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #1e88e5;
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
@media (max-width: 1200px) {
    .advantages-grid, .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .banner-content h1 {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        padding: 10px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 10px;
    }
    
    .nav-links li {
        margin: 0 10px;
    }
    
    .nav-links a {
        padding: 10px 0;
    }
    
    .banner {
        padding: 60px 0;
    }
    
    .banner-content h1 {
        font-size: 32px;
    }
    
    .banner-content p {
        font-size: 18px;
    }
    
    .advantages-grid, .testimonials-grid, .info-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .advantage-img img {
        height: 200px;
    }
    
    .links-list li {
        margin-right: 20px;
        margin-bottom: 15px;
    }
    
    /* 底部布局响应式设计 */
    .footer-content-wrapper {
        flex-direction: column;
    }
    
    .footer-left {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    /* 微信客服响应式设计 */
    .wechat-service {
        width: 100%;
    }
    
    .wechat-card {
        max-width: 280px;
        margin: 0 auto;
    }
    
    /* 调整二维码大小 */
    .wechat-qrcode img {
        width: 120px;
        height: 120px;
    }
    
    /* 微信号区域调整 */
    .wechat-id {
        flex-wrap: wrap;
    }
    
    .wechat-id span {
        margin-right: 8px;
        margin-bottom: 5px;
    }
    
    .copy-btn {
        font-size: 12px;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .banner-content h1 {
        font-size: 28px;
    }
    
    .banner-content p {
        font-size: 16px;
    }
    
    .btn-primary {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .advantage-content h3 {
        font-size: 20px;
    }
    
    .container {
        padding: 0 15px;
    }
}