/* 全局样式 */
* {
    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, #1a2a6c, #2a4b8d, #3a6ea5);
    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.5rem;
    font-weight: 700;
}

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

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

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

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

/* 主视觉区域 */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        linear-gradient(135deg, #3a6ea5, #2a4b8d);
    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: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background: linear-gradient(to right, #ff8c00, #ffa500);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

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

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

section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #ff8c00, #ffa500);
    margin: 10px auto;
    border-radius: 2px;
}

/* 首页样式 */
/* 公司简介 */
.intro {
    background-color: white;
}

.intro p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 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;
    cursor: pointer;
}

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

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

.date {
    color: #ff8c00;
    font-weight: bold;
    margin-bottom: 1rem;
}

.more-link {
    display: block;
    text-align: center;
    color: #2a4b8d;
    font-weight: bold;
    text-decoration: none;
}

.more-link:hover {
    color: #ff8c00;
}

/* 业务范围 */
.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: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
}

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

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

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

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

.case-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.case-image {
    font-size: 4rem;
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #3a6ea5, #2a4b8d);
}

.case-item h3 {
    padding: 1rem;
    color: #2a4b8d;
    text-align: center;
}

.case-item p {
    padding: 0 1rem 1rem;
    text-align: center;
    color: #666;
}

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

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

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

.benefit h3 {
    color: #2a4b8d;
    margin-bottom: 1rem;
}

/* 新闻页面样式 */
.news-content {
    background-color: #f8f9fa;
}

.news-filter {
    text-align: center;
    margin-bottom: 2rem;
}

.filter-btn {
    background: white;
    border: 1px solid #ddd;
    padding: 8px 16px;
    margin: 0 5px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(to right, #ff8c00, #ffa500);
    color: white;
    border-color: #ff8c00;
}

.read-more {
    color: #2a4b8d;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
}

.read-more:hover {
    color: #ff8c00;
}

.pagination {
    text-align: center;
    margin-top: 2rem;
}

.page-link {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    text-decoration: none;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.page-link:hover,
.page-link.active {
    background: linear-gradient(to right, #ff8c00, #ffa500);
    color: white;
    border-color: #ff8c00;
}

/* 产品中心样式 */
.products {
    background-color: white;
}

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

.category-btn {
    background: white;
    border: 1px solid #ddd;
    padding: 8px 16px;
    margin: 0 5px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
    background: linear-gradient(to right, #ff8c00, #ffa500);
    color: white;
    border-color: #ff8c00;
}

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

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

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

.product-image {
    font-size: 4rem;
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #3a6ea5, #2a4b8d);
    color: white;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    color: #2a4b8d;
    margin-bottom: 1rem;
}

.product-desc {
    color: #666;
    margin-bottom: 1rem;
}

.product-features {
    color: #ff8c00;
    font-weight: bold;
    margin-bottom: 1rem;
}

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

.download-list .btn {
    margin-top: 15px;
    padding: 5px 20px
}

/* 服务中心样式 */
.services-overview {
    background-color: white;
}

.service-process {
    background-color: #f0f4f8;
}

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

.step {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(to right, #ff8c00, #ffa500);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.service-advantages {
    background-color: white;
}

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

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

.advantage-item h3 {
    color: #2a4b8d;
    margin-bottom: 1rem;
}

.service-plans {
    background-color: #f0f4f8;
}

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

.plan {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    text-align: center;
}

.plan-header {
    background: linear-gradient(135deg, #3a6ea5, #2a4b8d);
    color: white;
    padding: 2rem;
    text-align: center;
}

.plan-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.plan .btn {
    display: inline-block;
    padding: 5px 20px;
    margin: 10px auto 0 auto;
}

.price {
    font-size: 2rem;
    font-weight: bold;
}

.price small {
    font-size: 1rem;
}

.popular-tag {
    position: absolute;
    top: 15px;
    right: -30px;
    background: #ff8c00;
    color: white;
    padding: 3px 30px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: bold;
}

.plan-features {
    padding: 2rem;
    list-style: none;
}

.plan-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.plan-features li:before {
    content: "✓";
    color: #28a745;
    margin-right: 10px;
    font-weight: bold;
}

/* 知识库样式 */
.knowledge-categories {
    background-color: white;
}

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

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

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

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

.latest-knowledge {
    background-color: #f0f4f8;
}

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

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

.knowledge-item h3 {
    color: #2a4b8d;
    margin-bottom: 0.5rem;
}

.meta {
    color: #ff8c00;
    font-weight: bold;
    margin-bottom: 1rem;
}

.contribute {
    background-color: white;
    text-align: center;
}

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

/* 常见问题样式 */
.faq-section {
    background-color: #f8f9fa;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

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

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

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff8c00;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    display: none;
    border-top: 1px solid #eee;
}

.faq-answer p,
.faq-answer ul,
.faq-answer ol {
    margin-bottom: 1rem;
}

.faq-answer li {
    margin-left: 1.5rem;
}

.faq-contact {
    background-color: white;
    text-align: center;
    padding: 3rem 0;
}

/* 联系我们样式 */
.contact-info {
    background-color: white;
}

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

.contact-item h3 {
    color: #2a4b8d;
    margin-bottom: 1rem;
}

.departments {
    background-color: #f0f4f8;
}

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

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

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

.map {
    background-color: white;
}

.map-placeholder {
    background: #f0f4f8;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.2rem;
    color: #666;
}

.join-us {
    background-color: #f0f4f8;
}

.join-us .description {
    text-align: center;
    margin-bottom: 20px;
}

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

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

.position h3 {
    color: #2a4b8d;
    margin-bottom: 1rem;
}

/* 页脚 */
footer {
    background: linear-gradient(135deg, #1a2a6c, #2a4b8d);
    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;
    }

    .process-steps,
    .advantages-grid,
    .plans-grid,
    .categories-grid,
    .knowledge-list,
    .departments-grid,
    .positions {
        grid-template-columns: 1fr;
    }
}