/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* 头部样式 */
header {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo h1 {
    font-size: 1.8rem;
    font-weight: bold;
}

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

nav ul li {
    margin-right: 5px;
}

nav ul li:last-child {
    margin-right: 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    transition: color 0.3s ease;
    padding: 0.5rem 0.8rem;
    border-radius: 4px;
    white-space: nowrap;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 主体内容 */
main {
    min-height: calc(100vh - 160px);
}

/* 首页英雄区域 */
.hero {
    background: linear-gradient(rgba(30, 60, 114, 0.8), rgba(42, 82, 152, 0.9)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%232a5298"/><path d="M0 50 L100 50 M50 0 L50 100" stroke="%233a62a8" stroke-width="2"/></svg>');
    background-size: cover;
    color: white;
    text-align: center;
    padding: 5rem 0;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background-color: #ff6b35;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.cta-button:hover {
    background-color: #e55a2b;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 内容区块通用样式 */
section {
    padding: 4rem 0;
}

section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #1e3c72;
    position: relative;
}

section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #ff6b35;
    margin: 0.5rem auto;
    border-radius: 2px;
}

/* 简介部分 */
.intro {
    background-color: white;
}

.intro p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    font-size: 1.1rem;
    color: #555;
}

/* 新闻动态 */
.news {
    background-color: #f0f4f8;
}

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

.news-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    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 h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
}

.news-item p {
    color: #666;
    margin-bottom: 1rem;
}

.date {
    color: #ff6b35;
    font-weight: bold;
    font-size: 0.9rem;
}

/* 业务范围 */
.services {
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-item {
    text-align: center;
    padding: 2rem;
    border-radius: 8px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-item h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
}

.service-item p {
    color: #666;
}

/* 成功案例 */
.cases {
    background-color: #f0f4f8;
}

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

.case-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #ff6b35;
}

.case-item h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
}

.case-item p {
    color: #666;
}

/* 人才发展 */
.careers {
    background-color: white;
}

.careers .container p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    font-size: 1.1rem;
    color: #555;
}

/* 页脚 */
footer {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    text-align: center;
    padding: 2rem 0;
}

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

    nav ul {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 0.5rem;
    }

    .hero {
        padding: 3rem 0;
    }

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

    section {
        padding: 2rem 0;
    }

    section h2 {
        font-size: 1.5rem;
    }
}

/* 子页面通用样式 */
.page-header {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    text-align: center;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2.5rem;
}

.content-section {
    background: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.content-section .container>h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.content-section .container>h2::after {
    margin-left: 0;
}

/* 新闻详情 */
.news-detail,
.industry-article {
    background: #fff;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.news-detail h3,
.industry-article h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
}

.meta {
    color: #777;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.meta .date,
.meta .author {
    margin-right: 1rem;
}

.news-detail p,
.industry-article p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #555;
}

/* 产品中心 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

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

.product-item:hover {
    transform: translateY(-5px);
}

.product-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.product-item h3 {
    color: #1e3c72;
    text-align: center;
    margin-bottom: 1rem;
}

.product-item p {
    color: #666;
    text-align: center;
    margin-bottom: 1rem;
}

.product-item ul {
    list-style-type: none;
    padding: 0;
}

.product-item ul li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed #ddd;
    color: #777;
}

.product-item ul li:last-child {
    border-bottom: none;
}

/* 服务详情 */
.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.service-detail-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-detail-item h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ff6b35;
}

.service-detail-item p {
    color: #666;
    margin-bottom: 1.5rem;
}

.feature {
    margin-bottom: 1.5rem;
}

.feature h4 {
    color: #2a5298;
    margin-bottom: 0.5rem;
}

.feature p {
    color: #777;
    margin-bottom: 0;
}

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

.category {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.category h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #ddd;
}

.category ul {
    list-style-type: none;
    padding: 0;
}

.category ul li {
    padding: 1rem 0;
    border-bottom: 1px dashed #ddd;
}

.category ul li:last-child {
    border-bottom: none;
}

.category ul li h4 a {
    color: #2a5298;
    text-decoration: none;
    transition: color 0.3s ease;
}

.category ul li h4 a:hover {
    color: #ff6b35;
}

.category ul li p {
    color: #777;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* 常见问题 */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background: #f8f9fa;
    padding: 1.5rem;
    cursor: pointer;
    font-weight: bold;
    color: #1e3c72;
    position: relative;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: white;
}

.faq-answer.show {
    padding: 1.5rem;
    max-height: 1000px;
}

.faq-answer ul,
.faq-answer ol {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

.faq-answer p {
    margin-bottom: 1rem;
    color: #555;
}

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

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

.department h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
}

.department p {
    margin-bottom: 0.5rem;
    color: #555;
}

.company-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-top: 2rem;
}

.company-info h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
}

.company-info p {
    margin-bottom: 0.5rem;
    color: #555;
}

/* 行业热点 */
.industry-articles {
    margin-bottom: 3rem;
}

.trends {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

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

.trend-item:hover {
    transform: translateY(-5px);
}

.trend-item h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
}

.trend-item p {
    color: #666;
}