* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}
body {
    background-color: #fbf7fc;
    color: #444;
    line-height: 1.7;
}
/* 导航栏 */
header {
    background: #fff;
    box-shadow: 0 2px 10px #e8dff5;
    position: sticky;
    top: 0;
    z-index: 99;
}
.nav-wrap {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}
.logo {
    font-size: 26px;
    font-weight: bold;
    color: #a87dc2;
}
.logo span {
    font-size: 14px;
    color: #999;
    display: block;
    font-weight: normal;
}
.nav-list {
    display: flex;
    gap: 35px;
}
.nav-list a {
    text-decoration: none;
    color: #555;
    font-size: 16px;
    transition: 0.3s;
}
.nav-list a:hover {
    color: #a87dc2;
}
.consult-btn {
    background: #a87dc2;
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 30px;
}
.consult-btn:hover {
    background: #9167b0;
}
/* 通用区块 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}
.title-box {
    text-align: center;
    margin-bottom: 60px;
}
.title-box h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 12px;
}
.title-box .line {
    width: 70px;
    height: 3px;
    background: #a87dc2;
    margin: 0 auto 18px;
}
.title-box p {
    color: #777;
    font-size: 16px;
}
/* 服务板块 */
.service-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.service-card {
    background: #fff;
    padding: 40px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px #eee6f5;
    text-align: center;
    transition: 0.3s;
}
.service-card:hover {
    transform: translateY(-8px);
}
.service-card h3 {
    font-size: 22px;
    color: #a87dc2;
    margin: 18px 0 12px;
}
/* 案例板块 */
.case-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.case-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}
.case-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.case-text {
    padding: 20px;
}
.case-text h4 {
    margin-bottom: 8px;
    color: #333;
}
.case-text .label {
    display: inline-block;
    background: #e8dff5;
    color: #a87dc2;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 10px;
}
/* 资讯列表样式（首页） */
.news-section {
    background: #f0e6f8;
}
.news-list {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}
.news-item {
    background: #fff;
    border-radius: 10px;
    padding: 18px 26px;
    box-shadow: 0 3px 12px #e0d2ee;
    transition: 0.3s;
}
.news-item:hover {
    transform: translateY(-4px);
}
.news-item h4 {
    font-size: 18px;
}
.news-item h4 a {
    color: #333;
    text-decoration: none;
}
.news-item h4 a:hover {
    color: #a87dc2;
}
.news-date {
    font-size: 13px;
    color: #999;
    margin-top: 6px;
}
/* 文章详情专用样式（article.html） */
.article-box {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px #eee6f5;
}
.article-back {
    margin-bottom: 30px;
}
.article-back a {
    color: #a87dc2;
    text-decoration: none;
}
.article-back a:hover {
    text-decoration: underline;
}
.article-title {
    font-size: 32px;
    color: #222;
    margin-bottom: 15px;
    line-height: 1.4;
}
.article-meta {
    color: #999;
    font-size: 14px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.article-content p {
    font-size: 17px;
    color: #444;
    margin-bottom: 22px;
    text-indent: 2em;
}
.article-content h3 {
    font-size: 22px;
    color: #a87dc2;
    margin: 35px 0 15px;
}
.article-content ul {
    margin: 15px 0 25px 2em;
}
.article-content li {
    font-size: 17px;
    margin-bottom: 10px;
}
/* 相关推荐 */
.recommend-title {
    font-size: 24px;
    text-align: center;
    margin: 70px 0 40px;
    color: #333;
}
.recommend-list {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}
.recommend-item {
    background: #fff;
    padding: 18px 24px;
    border-radius: 10px;
    box-shadow: 0 3px 12px #e0d2ee;
    transition: 0.3s;
}
.recommend-item:hover {
    transform: translateY(-4px);
}
.recommend-item a {
    text-decoration: none;
    color: #333;
    font-size: 17px;
}
.recommend-item a:hover {
    color: #a87dc2;
}
.recommend-date {
    font-size: 13px;
    color: #999;
    margin-top: 6px;
}
/* 底部 */
footer {
    background: #332440;
    color: #ccc;
    padding: 60px 20px 30px;
}
.footer-row {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #554466;
}
.footer-col p, .footer-col a {
    color: #bbb;
    line-height: 2;
    text-decoration: none;
}
.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #443355;
    font-size: 14px;
}
/* 移动端适配 */
@media (max-width:992px) {
    .service-row, .case-row {
        grid-template-columns: repeat(2,1fr);
    }
}
@media (max-width:768px) {
    .nav-list {
        display: none;
    }
    .service-row, .case-row, .footer-row {
        grid-template-columns: 1fr;
    }
    .news-list, .recommend-list {
        grid-template-columns: 1fr;
    }
    .article-box {
        padding: 30px 20px;
    }
    .article-title {
        font-size: 24px;
    }
}