/* 基础样式重置 */
* {
    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: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    color: #e74c3c;
    font-size: 24px;
}

.logo h1 span {
    font-size: 18px;
    color: #666;
}

.logo p {
    font-size: 14px;
    color: #999;
}

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

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

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 18px;
    transition: color 0.3s;
    padding: 10px 0;
}

nav ul li a:hover,
nav ul li a.active {
    color: #e74c3c;
    border-bottom: 2px solid #e74c3c;
}

/* 页面标题区域 */
.page-header {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 20px;
    opacity: 0.9;
}

/* 主要内容区域 */
main {
    min-height: calc(100vh - 140px);
}

/* 首页横幅 */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 22px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: background 0.3s;
}

.btn:hover {
    background: #c0392b;
}

/* 网站简介 */
.intro {
    padding: 80px 0;
    background: #f8f9fa;
}

.intro h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #333;
}

.intro-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.intro-content p {
    font-size: 18px;
    line-height: 1.8;
    text-align: center;
}

/* 新闻动态 */
.news {
    padding: 80px 0;
    background: #fff;
}

.news h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #333;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.news-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.news-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #e74c3c;
}

.date {
    color: #999;
    font-size: 14px;
    margin-bottom: 15px;
}

.date i {
    margin-right: 5px;
}

.news-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.text-center {
    text-align: center;
}

.btn-outline {
    display: inline-block;
    border: 2px solid #e74c3c;
    color: #e74c3c;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: #e74c3c;
    color: white;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 10px;
}

.page-link {
    display: inline-block;
    padding: 10px 15px;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
}

.page-link:hover,
.page-link.active {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

/* 产品分类 */
.products-categories {
    margin-bottom: 50px;
}

.products-categories h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 30px;
    color: #333;
}

.category-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.category-item {
    display: inline-block;
    padding: 10px 20px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s;
}

.category-item:hover,
.category-item.active {
    background: #e74c3c;
    color: white;
}

/* 产品网格 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.product-icon {
    color: #e74c3c;
    margin-bottom: 20px;
}

.product-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.product-item p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* 知识库 */
.knowledge-content {
    padding: 80px 0;
}

.knowledge-categories {
    margin-bottom: 50px;
}

.knowledge-categories h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 30px;
    color: #333;
}

.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.knowledge-item {
    display: flex;
    gap: 20px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 25px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.knowledge-icon {
    color: #e74c3c;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.knowledge-text h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.knowledge-text .date {
    color: #999;
    font-size: 14px;
    margin-bottom: 15px;
}

.knowledge-text p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* 常见问题 */
.faq-content {
    padding: 80px 0;
}

.faq-search {
    display: flex;
    max-width: 600px;
    margin: 0 auto 50px;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.search-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.search-btn:hover {
    background: #c0392b;
}

.faq-categories {
    margin-bottom: 50px;
}

.faq-categories h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 30px;
    color: #333;
}

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

.faq-item {
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.faq-question h3 {
    font-size: 18px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-question h3 i {
    color: #e74c3c;
}

.faq-question i {
    color: #999;
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    display: none;
    animation: fadeIn 0.3s ease;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer {
    padding: 20px;
    background: #fff;
}

.faq-answer p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.faq-answer ul,
.faq-answer ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.faq-answer li {
    margin-bottom: 10px;
    line-height: 1.6;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* 联系方式 */
.contact-content {
    padding: 80px 0;
}

.contact-intro {
    text-align: center;
    margin-bottom: 60px;
}

.contact-intro h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.contact-intro p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contact-item {
    display: flex;
    gap: 20px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 25px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.contact-icon {
    color: #e74c3c;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.contact-info p {
    color: #666;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info p i {
    color: #e74c3c;
}

.contact-note {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-note h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.contact-note ul {
    list-style: none;
    margin-left: 0;
}

.contact-note li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #666;
}

.contact-note li:last-child {
    border-bottom: none;
}

.news-content {
    padding: 50px 0;
}

.products-content {
    padding: 50px 0;
}

/* 服务中心 */
.services-content {
    padding: 80px 0;
}

.services-intro {
    text-align: center;
    margin-bottom: 60px;
}

.services-intro h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #333;
}

.services-intro p {
    font-size: 18px;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    color: #666;
}

.service-icon {
    color: #e74c3c;
    margin-bottom: 20px;
}

.service-process {
    margin: 80px 0;
}

.service-process h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #333;
}

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

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.step p {
    color: #666;
    line-height: 1.6;
}

.service-commitment {
    margin-top: 80px;
}

.service-commitment h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #333;
}

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

.commitment-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.commitment-item i {
    color: #e74c3c;
    font-size: 24px;
    margin-top: 5px;
}

.commitment-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.commitment-item p {
    color: #666;
    line-height: 1.6;
}

/* 业务范围 */
.services {
    padding: 80px 0;
    background: #f8f9fa;
}

.services h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #333;
}

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

/* 成功案例 */
.cases {
    padding: 80px 0;
    background: #fff;
}

.cases h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #333;
}

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

.case-item {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 40px 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.case-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.case-item p {
    line-height: 1.6;
}

/* 人才发展 */
.careers {
    padding: 80px 0;
    background: #f8f9fa;
}

.careers h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #333;
}

.careers-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.careers-content p {
    font-size: 18px;
    line-height: 1.8;
    text-align: center;
}

/* 页面底部 */
footer {
    background: #333;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #e74c3c;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #e74c3c;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    text-align: center;
    color: #999;
}

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

    .logo {
        margin-bottom: 15px;
        text-align: center;
    }

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

    nav ul li {
        margin: 5px 10px;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero h2 {
        font-size: 32px;
    }

    .hero p {
        font-size: 18px;
    }

    .intro,
    .news,
    .services,
    .cases,
    .careers,
    .services-content,
    .knowledge-content,
    .faq-content,
    .contact-content {
        padding: 50px 0;
    }

    .intro h2,
    .news h2,
    .services h2,
    .cases h2,
    .careers h2,
    .services-intro h2,
    .service-process h2,
    .service-commitment h2,
    .knowledge-categories h2,
    .faq-categories h2,
    .contact-intro h2 {
        font-size: 28px;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .page-header p {
        font-size: 18px;
    }

    .category-list {
        gap: 10px;
    }

    .category-item {
        padding: 8px 15px;
        font-size: 14px;
    }

    .commitment-list {
        grid-template-columns: 1fr;
    }

    .knowledge-item,
    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .knowledge-icon,
    .contact-icon {
        margin: 0 auto 15px;
    }

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