* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

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

.navbar.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo a {
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: #2989d8;
    text-decoration: none;
    vertical-align: middle;
}

.logo-icon {
    margin-right: 10px;
    font-size: 30px;
}

.logo-img {
    width: 35px;
    height: 35px;
    vertical-align: middle;
}

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

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 0 22px;
    height: 70px;
    line-height: 70px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
}

.nav-menu a:hover {
    color: #409EFF;
}

.nav-menu a.active {
    color: #409EFF;
}

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

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 80%;
}

/* Banner样式 */
.banner {
    background: linear-gradient(135deg, #1e5799 0%,#207cca 51%,#2989d8 100%);
    color: #fff;
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.banner h1 {
    font-size: 52px;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    letter-spacing: 1px;
    animation: fadeInDown 1s ease;
}

.banner p {
    font-size: 22px;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.banner-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

/* 公司简介 */
.intro-section {
    padding: 100px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.section-title h2 {
    font-size: 30px;
    color: #333;
    display: inline-block;
    padding-bottom: 5px;
    font-weight: 600;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #409EFF;
    border-radius: 2px;
}

.section-title p {
    max-width: 700px;
    margin: 20px auto 0;
    color: #666;
    font-size: 18px;
    line-height: 1.8;
    padding-bottom: 20px;
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.intro-text {
    flex: 1;
}

.intro-text p {
    font-size: 17px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 25px;
}

.intro-image {
    flex: 1;
    background: #eef1f6;
    height: 400px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.intro-image i {
    font-size: 100px;
    color: #409EFF;
    opacity: 0.7;
}

/* 文章列表样式 */

.news-section {
    /* 章节的顶部高度 */
    padding: 30px 0;
    background: #f9fbfd;
}

.article-list {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.article-item {
    padding: 35px;
    border-bottom: 1px solid #ebeef5;
    transition: background-color 0.3s;
    display: flex;
}

.article-item:last-child {
    border-bottom: none;
}

.article-item:hover {
    background-color: #f8fafd;
}

.article-date {
    width: 120px;
    text-align: center;
    padding-right: 30px;
    border-right: 1px dashed #dcdfe6;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-day {
    font-size: 36px;
    font-weight: bold;
    color: #409EFF;
    line-height: 1;
    margin-bottom: 5px;
}

.article-month-year {
    font-size: 14px;
    color: #909399;
}

.article-content {
    flex: 1;
    padding-left: 35px;
}

.article-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
}

.article-content h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.article-content h3 a:hover {
    color: #409EFF;
}

.article-meta {
    display: flex;
    margin-bottom: 20px;
    font-size: 15px;
    color: #909399;
}

.article-meta span {
    margin-right: 25px;
    display: flex;
    align-items: center;
}

.article-meta i {
    margin-right: 8px;
}

.article-content p {
    color: #606266;
    font-size: 16px;
    line-height: 1.8;
}

.read-more {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    color: #409EFF;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 16px;
}

.read-more i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* 底部样式 */

.footer {
    background: #fff;
    padding: 40px 0;
    border-top: 1px solid #ebeef5;
}

.footer-content {
    text-align: center;
    color: #909399;
    font-size: 14px;
}

.footer-content p {
    margin: 10px 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 25px 0;
}

.footer-link {
    margin: 0 15px;
    color: #606266;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #409EFF;
}

.footer-content a {
    color: #606266;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-content a:hover {
    color: #409EFF;
    text-decoration: underline;
}

.copyright {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #ebeef5;
    text-align: center;
    color: #909399;
    font-size: 15px;
}

.copyright p {
    margin: 8px 0;
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 992px) {
    .nav-menu a {
        padding: 0 15px;
        font-size: 15px;
    }
    
    .intro-content {
        flex-direction: column;
    }
    
    .intro-image {
        width: 100%;
    }
}

@media (max-width: 768px) {
    :root {
      --base-size: calc(12px + 0.5vw); 
    }
    
    .banner {
        padding: 80px 0 60px;
    }
    
    .banner h1 { 
        font-size: calc(var(--base-size) * 2);
    }
    
    .banner p {
        font-size: calc(var(--base-size) * 1.2);
        padding-right: 20px;
        padding-left: 20px;
    }

    .banner-btns {
        display: flex;
        justify-content: center;
        gap: 5px;
        animation: fadeInUp 1s ease 0.6s forwards;
        opacity: 0;
    }

    .logo-img {
        display: flex;
        width: 1px;
        height: 1px;
        vertical-align: middle;
    }
    
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
    }
    
    .nav-menu {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-menu a {
        height: 50px;
        line-height: 50px;
        padding: 0 12px;
        font-size: 14px;
    }

    .section-title h2 {
        font-size: calc(var(--base-size) * 1.8);
    }

    .section-title p {
        font-size: calc(var(--base-size) * 1.2);
    }
    
    .article-item {
        flex-direction: column;
        padding: 20px;
    }
    
    .article-item {
        flex-direction: column;
        padding: 20px;
    }
    
    .article-date {
        width: auto;
        padding-right: 0;
        border-right: none;
        border-bottom: 1px dashed #dcdfe6;
        padding-bottom: 15px;
        margin-bottom: 15px;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    .article-month-year {
        padding-left: 20px;
        font-size: 14px;
        color: #909399;
    }
    
    .article-content {
        padding-left: 0;
    }

    .article-meta {
        font-size: 12px;
    }
    
    .footer-col {
        flex: 100%;
    }
}