/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Microsoft YaHei", sans-serif;
    color: #333;
    line-height: 1.6;
    background: #f0f7ff;
}

/* 头部导航 */
.header {
    background: #165dff;
    width: 100%;
    box-shadow: 0 2px 8px rgba(22, 93, 255, 0.2);
}
.nav-wrap {
    width: 1200px;
    margin: 0 auto;
}
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.company-name {
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    padding-left: 20px;
}
.company-name a {
    color: #fff;
    text-decoration: none;
}
.nav-links {
    display: flex;
}
.nav-links a {
    color: #fff;
    text-decoration: none;
    padding: 10Px 22px;
    font-size: 16px;
    font-weight: 500;
    transition: background 0.3s;
}
.nav-links a:hover {
    background: #0e4cd1;

}

/* 轮播图（仅首页） */
.banner {
    height: 450px;
    background: linear-gradient(135deg, #165dff 0%, #4080ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}
.banner h1 {
    font-size: 42px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);
}
.banner p {
    font-size: 18px;
    max-width: 800px;
    line-height: 1.8;
    opacity: 0.9;
}

/* 主体容器 */
.container {
    width: 1200px;
    margin: 40px auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

/* 首页特有样式 */
.section {
    margin-bottom: 60px;
}
.section-title {
    font-size: 24px;
    color: #165dff;
    border-bottom: 2px solid #165dff;
    padding-bottom: 10px;
    margin-bottom: 30px;
}
.intro, .product {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(22, 93, 255, 0.08);
}
.intro-content, .product-content {
    line-height: 2;
    color: #555;
    margin-bottom: 20px;
}
.intro-more {
    display: inline-block;
    color: #165dff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}
.intro-more:hover {
    color: #0e4cd1;
    text-decoration: underline;
}
.news-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.news-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(22, 93, 255, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}
.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(22, 93, 255, 0.12);
}
.news-item h3 {
    margin-bottom: 12px;
}
.news-item a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}
.news-item a:hover {
    color: #165dff;
}
.news-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

/* 列表页特有样式 */
.page-title {
    font-size: 28px;
    color: #165dff;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}
.article-list {
    margin-top: 20px;
}
.list-item {
    padding: 18px 0;
    border-bottom: 1px dashed #e0e7ff;
    display: flex;
    align-items: center;
    transition: background 0.3s;
}
.list-item:hover {
    background: #f5f8ff;
}
.list-item a {
    color: #333;
    text-decoration: none;
    font-size: 17px;
    flex: 1;
    transition: color 0.3s;
}
.list-item a:hover {
    color: #165dff;
    text-decoration: underline;
}
.list-date {
    color: #888;
    font-size: 14px;
    margin-left: 20px;
    white-space: nowrap;
}

/* 详情页特有样式 */
.article-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.article-title {
    font-size: 28px;
    color: #165dff;
    margin-bottom: 15px;
}
.article-meta {
    color: #888;
    font-size: 14px;
}
.article-content {
    font-size: 16px;
    color: #555;
    line-height: 2;
}
.article-content p {
    margin-bottom: 20px;
}
.article-content br {
    margin: 5px 0;
}
.back-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 8px 15px;
    background: #165dff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}
.back-btn:hover {
    background: #0e4cd1;
}

/* 底部样式 */
.footer {
    background: #1d2129;
    color: #fff;
    padding: 40px 0;
    margin-top: 50px;
}
.footer-wrap {
    width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.footer-contact {
    margin-bottom: 20px;
}
.footer-contact p {
    margin: 8px 0;
}
.footer-beian {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #333;
}
.footer-beian a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-beian a:hover {
    color: #fff;
    text-decoration: underline;
}
.footer-copyright {
    font-size: 14px;
    color: #ccc;
    margin-top: 10px;
}