/* 全局样式 */
* {
    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, #667eea 0%, #764ba2 100%);
    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;
}

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

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

nav ul li {
    margin-left: 0.5rem;
}

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

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

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

.page-header {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 3rem 0;
    text-align: center;
}

.page-header h2 {
    font-size: 2.5rem;
    color: #333;
}

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

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

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

.btn {
    display: inline-block;
    background-color: #fff;
    color: #667eea;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid #fff;
}

.btn:hover {
    background-color: transparent;
    color: #fff;
}

/* 首页特色内容 */
.intro {
    padding: 5rem 0;
    background-color: #fff;
}

.intro h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: #333;
}

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

.feature {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
}

.feature h3 {
    color: #667eea;
    margin-bottom: 1rem;
}

.news {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.news h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: #333;
}

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

.news-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.news-item h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.date {
    color: #667eea;
    font-weight: bold;
    margin-bottom: 1rem;
    display: block;
}

.services {
    padding: 5rem 0;
    background-color: #fff;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: #333;
}

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

.service-item {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-item:hover {
    background-color: #667eea;
    color: white;
    transform: scale(1.05);
}

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

.service-item:hover h3 {
    color: white;
}

/* 通用内容样式 */
.content {
    padding: 3rem 0;
    background-color: #fff;
}

/* 关于我们页面 */
.about-content h3 {
    color: #667eea;
    margin: 2rem 0 1rem;
}

.about-content ul {
    list-style-type: none;
    padding-left: 1rem;
}

.about-content ul li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.about-content ul li:before {
    content: "✓";
    color: #667eea;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.timeline {
    position: relative;
    padding-left: 2rem;
    margin-top: 2rem;
}

.timeline:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #667eea, #764ba2);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-year {
    position: absolute;
    left: -3rem;
    top: 0;
    background: #667eea;
    color: white;
    width: 60px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-weight: bold;
}

.timeline-content h4 {
    color: #667eea;
    margin-bottom: 0.5rem;
}

/* 新闻动态页面 */
.news-archive .news-item {
    margin-bottom: 2rem;
}

.read-more {
    display: inline-block;
    color: #667eea;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #764ba2;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.pagination a {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    text-decoration: none;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination a.active {
    background-color: #667eea;
    color: white;
    border-color: #667eea;
}

/* 业务范围页面 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

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

.service-card h3 {
    color: #667eea;
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
    text-align: left;
    margin-top: 1rem;
}

.service-card ul li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-card ul li:before {
    content: "•";
    color: #667eea;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* 成功案例页面 */
.cases-filter {
    text-align: center;
    margin-bottom: 2rem;
}

.filter-btn {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #667eea;
    color: white;
    border-color: #667eea;
}

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

.case-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.case-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.case-image {
    height: 200px;
    background-color: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon {
    font-size: 4rem;
}

.case-content {
    padding: 1.5rem;
}

.case-content h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.case-meta {
    color: #667eea;
    font-weight: bold;
    margin-bottom: 1rem;
    display: block;
}

/* 人才发展页面 */
.careers-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.careers-intro h3 {
    color: #667eea;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    background-color: #667eea;
    color: white;
}

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

.benefit-item:hover .benefit-icon {
    color: white;
}

.benefit-item h4 {
    color: #667eea;
    margin-bottom: 1rem;
}

.benefit-item:hover h4 {
    color: white;
}

.positions-list {
    margin-top: 2rem;
}

.position-item {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.position-item h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.position-meta {
    color: #667eea;
    font-weight: bold;
    margin-bottom: 1rem;
    display: block;
}

.position-item ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.position-item ul li {
    margin-bottom: 0.5rem;
}

.apply-btn {
    display: inline-block;
    background-color: #667eea;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.apply-btn:hover {
    background-color: #764ba2;
}

.campus {
    background-color: #f0f2f5;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.campus h3 {
    color: #667eea;
    margin-bottom: 1rem;
}

/* 联系我们页面 */
.contact-info {
    margin-bottom: 3rem;
}

.contact-info h3,
.departments h3,
.map h3 {
    color: #667eea;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.company-details p {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

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

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

.department-item h4 {
    color: #667eea;
    margin-bottom: 1rem;
}

.department-item a {
    color: #667eea;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.department-item a:hover {
    color: #764ba2;
}

.map-placeholder {
    background-color: #f0f2f5;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.map-icon {
    font-size: 4rem;
    margin-top: 1rem;
}

/* 产品中心页面 */
.products-filter {
    text-align: center;
    margin-bottom: 2rem;
}

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

.product-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 200px;
    background-color: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-content {
    padding: 1.5rem;
}

.product-content h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.product-meta {
    color: #667eea;
    font-weight: bold;
    margin-bottom: 1rem;
    display: block;
}

/* 服务中心页面 */
.support-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.category-card {
    text-align: center;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    background-color: #667eea;
    color: white;
}

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

.category-card h3 a {
    color: #333;
    text-decoration: none;
    font-size: 1.3rem;
}

.category-card:hover h3 a {
    color: white;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.support-commitment ul {
    list-style: none;
    padding-left: 1rem;
}

.support-commitment ul li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.support-commitment ul li:before {
    content: "✓";
    color: #667eea;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* 知识库页面 */
.knowledge-search {
    display: flex;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.search-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
}

.search-btn {
    background-color: #667eea;
    color: white;
    border: none;
    padding: 0 1.5rem;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background-color: #764ba2;
}

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

.category-item h4 {
    color: #667eea;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #667eea;
}

.category-item ul {
    list-style: none;
}

.category-item ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.category-item ul li:before {
    content: "→";
    color: #667eea;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.category-item ul li a {
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-item ul li a:hover {
    color: #667eea;
    padding-left: 5px;
}

.articles-list .article-item {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.article-item h4 a {
    color: #333;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.article-item h4 a:hover {
    color: #667eea;
}

.article-meta {
    color: #999;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* 常见问题页面 */
.faq-search {
    display: flex;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.faq-categories {
    text-align: center;
    margin-bottom: 2rem;
}

.category-btn {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
    background-color: #667eea;
    color: white;
    border-color: #667eea;
}

.faq-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    background-color: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    color: #333;
    margin: 0;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #667eea;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

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

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

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

.faq-answer a:hover {
    text-decoration: underline;
}

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

.topic-item {
    display: flex;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.topic-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.topic-image {
    flex: 0 0 200px;
    background-color: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.topic-content {
    flex: 1;
    padding: 2rem;
}

.topic-content h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.topic-meta {
    color: #667eea;
    font-weight: bold;
    margin-bottom: 1rem;
    display: block;
}

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

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

    .logo {
        margin-bottom: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 0.25rem;
    }

    .hero {
        padding: 3rem 0;
    }

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

    .features,
    .news-list,
    .service-list,
    .services-grid,
    .cases-grid,
    .benefits-grid,
    .departments-grid,
    .products-grid,
    .support-categories,
    .process-steps,
    .categories-grid,
    .industry-topics {
        grid-template-columns: 1fr;
    }

    .topic-item {
        flex-direction: column;
    }

    .topic-image {
        flex: none;
        height: 200px;
    }

    .knowledge-search,
    .faq-search {
        flex-direction: column;
    }

    .search-input {
        border-radius: 4px;
        margin-bottom: 0.5rem;
    }

    .search-btn {
        border-radius: 4px;
        padding: 0.75rem;
    }
}