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

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* 头部样式 */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.logo p {
    font-size: 1rem;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: bold;
    padding: 12px 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

nav ul li a:hover,
nav ul li a.active {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 主要内容样式 */
main {
    padding: 0 0 40px 0;
}

main>.container {
    padding-top: 40px;
}

section {
    margin-bottom: 50px;
}

h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: #333;
    position: relative;
    font-weight: bold;
}

h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 10px auto;
    border-radius: 2px;
}

h3 {
    color: #555;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

h4 {
    color: #667eea;
    margin-bottom: 10px;
}

p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* 首页特色区域 */
.hero {
    background: linear-gradient(rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 120px 0;
    margin-bottom: 50px;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero h2::after {
    background: white;
}

/* 新闻动态 */
.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.news-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.news-item .date {
    color: #667eea;
    font-weight: bold;
    margin-bottom: 10px;
}

/* 业务范围 */
.business-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.business-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.business-item h3 {
    font-size: 1.5rem;
    color: #667eea;
}

/* 成功案例 */
.case-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.case-item {
    background: #f8f9fa;
    padding: 25px;
    border-left: 5px solid #667eea;
    border-radius: 5px;
}

/* 人才发展 */
.talent {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 50px 0;
    border-radius: 10px;
}

.talent .container>h2 {
    color: white;
}

.talent .container>h2::after {
    background: white;
}

.talent p {
    max-width: 800px;
    margin: 0 auto 15px;
    font-size: 1.2rem;
}

/* 新闻详情 */
.news-detail {
    background: #f8f9fa;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.news-detail .date {
    color: #667eea;
    font-weight: bold;
    margin-bottom: 20px;
}

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

.news-detail li {
    margin-bottom: 10px;
}

/* 产品中心 */
.product-categories {
    margin-bottom: 40px;
}

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

.category-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.featured-products,
.new-products {
    margin-bottom: 40px;
}

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

.product-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    text-align: center;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-item h4 {
    padding: 15px 10px 5px;
    font-size: 1.2rem;
}

.product-item .price {
    color: #e74c3c;
    font-weight: bold;
    font-size: 1.3rem;
    margin: 5px 0;
}

.product-item .description {
    padding: 0 10px 15px;
    color: #777;
}

/* 服务中心 */
.service-intro {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
}

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

.service-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-item ol,
.service-item ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.service-item li {
    margin-bottom: 10px;
}

/* 知识库 */
.knowledge-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.category {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
}

.articles .article {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.articles .article:last-child {
    margin-bottom: 0;
}

.articles .article h4 a {
    color: #667eea;
    text-decoration: none;
    font-size: 1.2rem;
}

.articles .article h4 a:hover {
    text-decoration: underline;
}

.summary {
    color: #666;
    margin: 10px 0;
}

.date {
    color: #999;
    font-size: 0.9rem;
}

/* 常见问题 */
.faq-section {
    margin-bottom: 40px;
}

.faq-item {
    background: #f8f9fa;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
}

.question {
    color: #667eea;
    margin-bottom: 10px;
}

.answer {
    color: #555;
    line-height: 1.7;
}

/* 联系我们 */
.departments {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.department {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.department h3 {
    color: #667eea;
    margin-bottom: 15px;
}

.department p {
    margin-bottom: 10px;
}

.department a {
    color: #667eea;
    text-decoration: none;
    font-weight: bold;
}

.department a:hover {
    text-decoration: underline;
}

.contact-note {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
}

.contact-note ul {
    margin-left: 30px;
    margin-top: 20px;
}

.contact-note li {
    margin-bottom: 10px;
}

/* 底部样式 */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    nav ul {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 5px;
    }

    nav ul li a {
        font-size: 1.1rem;
        padding: 8px 12px;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .news-list,
    .business-list,
    .case-list,
    .service-items,
    .knowledge-categories,
    .departments {
        grid-template-columns: 1fr;
    }

    h2 {
        font-size: 1.8rem;
    }
}