/* 全局样式  合并去重后的CSS样式文件
  移除了重复定义的样式，保留唯一有效的样式规则
  整合了相同部分，保持响应式设计和原有功能
*/

/* 全局样式变量 */
:root {
    --primary: #4361ee;
    --secondary: #3a0ca3;
    --accent: #f72585;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --success: #4cc9f0;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

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

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

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 8px;
}

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

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary);
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--primary);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(67, 97, 238, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

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

/* 英雄区域样式 */
.hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, #f5f7ff 0%, #e6e9ff 100%);
    position: relative;
    overflow: hidden;
}

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

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: perspective(800px) rotateY(-10deg);
    transition: transform 0.5s;
}

.hero-image img:hover {
    transform: perspective(800px) rotateY(0);
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 30px;
}

.app-badges {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.badge {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--dark);
    color: white;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s;
}

.badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.badge i {
    margin-right: 8px;
}

/* 特性区域样式 */
.features {
    padding: 100px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.section-title p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--light);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* 新闻中心区域样式 */
.news {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.news-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 25px;
}

.news-date {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 10px;
}

.news-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.news-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

.news-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.news-link i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.news-link:hover i {
    transform: translateX(5px);
}

/*  testimonials 区域样式 */
.testimonials {
    padding: 100px 0;
    background-color: #fff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--gray);
}

.testimonial-author {
    display: flex;
    align-items: center;
}


/* CTA 区域样式 */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.cta .btn {
    background-color: white;
    color: var(--primary);
    font-size: 1.1rem;
    padding: 15px 40px;
}

.cta .btn:hover {
    background-color: var(--light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* 页面标题区域样式 */
.page-header {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #f5f7ff 0%, #e6e9ff 100%);
    text-align: center;
}

.page-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--dark);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    list-style: none;
    font-size: 1rem;
    color: var(--gray);
}

.breadcrumb li:not(:last-child)::after {
    content: ">";
    margin: 0 10px;
}

.breadcrumb a:hover {
    color: var(--primary);
}

/* 新闻列表样式 */
.news-list {
    padding: 80px 0;
    background-color: #fff;
}

.news-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    background-color: var(--light);
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary);
    color: white;
}

.news-tag {
    display: inline-block;
    padding: 5px 12px;
    background-color: var(--light);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 15px;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    border-radius: 10px;
    background-color: var(--light);
    font-weight: 500;
    transition: all 0.3s;
}

.page-btn.active, .page-btn:hover {
    background-color: var(--primary);
    color: white;
}

/* 新闻通讯样式 */
.newsletter {
    padding: 80px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.newsletter h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.newsletter p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 30px;
}




.newsletter-btn {
    padding: 15px 30px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.newsletter-btn:hover {
    background-color: var(--secondary);
}

/* 文章头部样式 */
.article-header {
    padding: 150px 0 60px;
    background: linear-gradient(135deg, #f5f7ff 0%, #e6e9ff 100%);
}

.article-meta {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.article-date {
    font-size: 1rem;
    color: var(--gray);
    margin-right: 20px;
}

.article-category {
    padding: 5px 15px;
    background-color: var(--primary);
    color: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

.article-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--dark);
}



/* 文章内容样式 */
.article-content {
    padding: 60px 0;
    background-color: #fff;
}

.article-body {
    max-width: 1200px;
    margin: 0 auto;
}
.article-body img{width:100%}
.article-image {
    width: 100%;
    border-radius: 15px;
    margin: 40px 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.article-body h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: var(--dark);
}

.article-body h3 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
    color: var(--dark);
}

.article-body p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dark);
}

.article-body ul, .article-body ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.article-body li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.feature-block {
    background-color: var(--light);
    padding: 30px;
    border-radius: 15px;
    margin: 40px 0;
    border-left: 4px solid var(--primary);
}

.feature-block h3 {
    color: var(--primary);
    margin-top: 0;
}


/* 相关文章样式 */
.related-articles {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.article-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-card-content {
    padding: 25px;
}

.article-card-date {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 10px;
}

.article-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-card-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.article-card-link i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.article-card-link:hover i {
    transform: translateX(5px);
}

/* 底部样式 */
footer {
    background-color: var(--dark);
    color: white;
    padding: 70px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--success);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #adb5bd;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: var(--primary);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #adb5bd;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        margin-bottom: 50px;
    }
    
    .app-badges {
        justify-content: center;
    }
    
    .news-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .article-title {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    h1 {
        font-size: 2.3rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2.3rem;
    }

    

    .newsletter-btn {
        border-radius: 50px;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-header {
        padding: 130px 0 40px;
    }
    
    .article-content {
        padding: 40px 0;
    }
}

@media (max-width: 576px) {
    .btn {
        padding: 10px 20px;
    }
    
    .badge {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .features, .testimonials, .news, .cta {
        padding: 80px 0;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header {
        padding: 130px 0 60px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .news-list, .newsletter {
        padding: 60px 0;
    }
    
    .news-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 6px 15px;
        font-size: 0.9rem;
    }
    
    .article-title {
        font-size: 1.8rem;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .article-date {
        margin-bottom: 10px;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
}