/* 基础样式重置 */
* {
    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;
    background-image: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
}

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

/* 头部样式 */
header {
    background: linear-gradient(135deg, #1a2a6c, #2a4b8d, #3a6cb0);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
}

header h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 18px;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

nav ul li a.active {
    background-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* 主要内容区域 */
main {
    padding: 2.5rem 0;
}

section {
    margin-bottom: 3rem;
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

section h2 {
    color: #1a2a6c;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #3a6cb0;
    position: relative;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #3a6cb0, #4a8cd0);
    border-radius: 3px;
}

/* 公司简介 */
#intro p {
    font-size: 1.15rem;
    margin-bottom: 1.2rem;
    text-align: justify;
    line-height: 1.8;
    color: #444;
}

/* 宣传文案 */
#slogan {
    background: linear-gradient(135deg, #3a6cb0, #1a2a6c);
    color: white;
    text-align: center;
    border-radius: 12px;
    padding: 3rem 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

#slogan blockquote {
    font-size: 1.7rem;
    font-style: italic;
    padding: 2rem;
    position: relative;
}

#slogan blockquote::before,
#slogan blockquote::after {
    content: '"';
    font-size: 4rem;
    position: absolute;
    opacity: 0.3;
}

#slogan blockquote::before {
    top: -20px;
    left: 10px;
}

#slogan blockquote::after {
    bottom: -60px;
    right: 10px;
}

#slogan cite {
    display: block;
    margin-top: 1.5rem;
    font-size: 1.3rem;
    font-weight: bold;
    font-style: normal;
}

/* 新闻动态 */
#news ul {
    list-style: none;
}

#news ul li {
    padding: 15px 0;
    border-bottom: 1px dashed #eee;
    transition: all 0.3s ease;
}

#news ul li:last-child {
    border-bottom: none;
}

#news ul li:hover {
    padding-left: 10px;
}

#news ul li a {
    color: #3a6cb0;
    text-decoration: none;
    font-size: 1.15rem;
    transition: all 0.3s ease;
    display: block;
    position: relative;
    padding-left: 20px;
}

#news ul li a::before {
    content: "➤";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

#news ul li a:hover {
    color: #1a2a6c;
    padding-left: 10px;
}

#news ul li a:hover::before {
    transform: translateX(5px);
    color: #1a2a6c;
}

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

.service-item {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    transition: all 0.4s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
}

.service-item h3 {
    color: #1a2a6c;
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
}

.service-item p {
    color: #555;
    line-height: 1.7;
}

/* 成功案例 */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.case-item {
    padding: 2rem;
    border-left: 5px solid #3a6cb0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 0 12px 12px 0;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.case-item:hover {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.case-item h3 {
    color: #1a2a6c;
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
}

.case-item p {
    color: #555;
    line-height: 1.7;
}

/* 人才发展 */
#careers {
    text-align: center;
    background: linear-gradient(135deg, #1a2a6c, #2a4b8d);
    color: white;
    border-radius: 12px;
    padding: 3rem 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

#careers h2 {
    border-color: #4a8cd0;
    color: #fff;
}

#careers h2::after {
    background: linear-gradient(90deg, #4a8cd0, #7aaced);
}

#careers p {
    font-size: 1.2rem;
    margin-bottom: 1.8rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, #3a6cb0, #1a2a6c);
    color: white;
    padding: 14px 36px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
}

.btn:hover {
    background: linear-gradient(135deg, #4a8cd0, #2a4b8d);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* 服务中心页面样式 */
.service-intro {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.service-intro p {
    margin: 0;
    color: #444;
}

.services-grid .service-detail {
    padding: 1.8rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.services-grid .service-detail:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background: white;
}

.services-grid .service-detail h3 {
    color: #1a2a6c;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.services-grid .service-detail p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.services-grid .service-detail ul {
    list-style: none;
    padding-left: 0;
}

.services-grid .service-detail ul li {
    padding: 0.4rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.services-grid .service-detail ul li::before {
    content: "✓";
    color: #3a6cb0;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.service-process {
    margin-top: 2rem;
}

.service-process h3 {
    color: #1a2a6c;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    text-align: center;
}

.step {
    padding: 1.5rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background: white;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3a6cb0, #1a2a6c);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
    font-size: 1.2rem;
}

.step h4 {
    color: #1a2a6c;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.step p {
    color: #555;
    font-size: 0.95rem;
}

/* 知识库页面样式 */
.knowledge-intro {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.knowledge-intro p {
    margin: 0;
    color: #444;
}

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

.category {
    padding: 1.8rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.category h3 {
    color: #1a2a6c;
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
    text-align: center;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #3a6cb0;
    margin-top: 10px;
}

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

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

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

.category ul li a {
    color: #222;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 0.3rem 0;
}

.category ul li a:hover {
    color: #1a2a6c;
    padding-left: 8px;
}

.knowledge-details .detail-item {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.knowledge-details .detail-item h4 {
    color: #1a2a6c;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.knowledge-details .detail-item p {
    color: #555;
    line-height: 1.7;
}

/* 常见问题页面样式 */
.faq-intro {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.faq-intro p {
    margin: 0;
    color: #444;
}

.faq-intro a {
    color: #3a6cb0;
    text-decoration: none;
    font-weight: bold;
}

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

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

.category h3 {
    color: #1a2a6c;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #3a6cb0;
    text-align: center;
}

.faq-items .faq-item {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-items .faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    background: white;
}

.faq-items .faq-item:last-child {
    margin-bottom: 0;
}

.faq-items .faq-item h4 {
    color: #1a2a6c;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-items .faq-item p {
    color: #555;
    line-height: 1.7;
}

/* 联系我们页面样式 */
.contact-intro {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.contact-intro p {
    margin: 0;
    color: #444;
}

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

.contact-details,
.departments {
    padding: 1.8rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.contact-details h3,
.departments h3 {
    color: #1a2a6c;
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
    text-align: center;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #3a6cb0;
}

.contact-details p,
.departments p {
    color: #555;
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

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

.department:last-child {
    border-bottom: none;
}

.department h4 {
    color: #1a2a6c;
    margin-bottom: 0.5rem;
}

.contact-map {
    margin-bottom: 2.5rem;
}

.contact-map h3 {
    color: #1a2a6c;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #3a6cb0;
}

.map-placeholder {
    height: 300px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.map-placeholder p {
    color: #666;
    font-size: 1.2rem;
}

.contact-form {
    padding: 1.8rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    color: #1a2a6c;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #3a6cb0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1a2a6c;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3a6cb0;
    box-shadow: 0 0 0 3px rgba(58, 108, 176, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

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

footer p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

/* 新闻列表样式 */
.news-item {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.news-item:last-child {
    border-bottom: none;
    margin-bottom: 1rem;
}

.news-item h3 {
    color: #1a2a6c;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.news-meta {
    display: flex;
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
}

.date {
    color: #666;
    margin-right: 1rem;
}

.category {
    background: #3a6cb0;
    color: white;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
}

.news-item p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* 产品页面样式 */
.product-intro {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.product-intro p {
    margin: 0;
    color: #444;
}

.product-categories {
    margin-bottom: 2.5rem;
}

.product-categories h3 {
    color: #1a2a6c;
    margin-bottom: 1rem;
}

.product-categories ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin-bottom: 1rem;
}

.product-categories ul li {
    margin-right: 1rem;
    margin-bottom: 0.5rem;
}

.product-categories ul li a {
    display: block;
    padding: 0.5rem 1.2rem;
    background: #e9ecef;
    color: #1a2a6c;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.product-categories ul li a:hover {
    background: #3a6cb0;
    color: white;
}

.product-category {
    margin-bottom: 3rem;
}

.product-category h3 {
    color: #1a2a6c;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #3a6cb0;
}

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

.product-item {
    padding: 1.8rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background: white;
}

.product-item h4 {
    color: #1a2a6c;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.product-item p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

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

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

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

.product-item ul li::before {
    content: "•";
    color: #3a6cb0;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* 回到顶部按钮 */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #3a6cb0, #1a2a6c);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 26px;
    cursor: pointer;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

#backToTop:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #4a8cd0, #2a4b8d);
}

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

    header h1 {
        font-size: 1.8rem;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 5px 0;
    }

    section {
        padding: 1.8rem;
        margin-bottom: 2rem;
    }

    section h2 {
        font-size: 1.6rem;
    }

    #slogan blockquote {
        font-size: 1.3rem;
        padding: 1.5rem;
    }

    .services-grid,
    .cases-grid,
    .knowledge-categories,
    .faq-categories {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    #careers {
        padding: 2rem 1.5rem;
    }

    #careers p {
        font-size: 1.1rem;
    }

    .btn {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .news-meta {
        flex-direction: column;
    }

    .date {
        margin-bottom: 0.5rem;
    }

    .product-categories ul {
        flex-direction: column;
    }

    .product-categories ul li {
        margin-right: 0;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    footer {
        padding: 2rem 0;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }

    section {
        padding: 1.5rem;
    }

    section h2 {
        font-size: 1.4rem;
    }

    #slogan blockquote {
        font-size: 1.1rem;
    }

    .services-grid,
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-item,
    .case-item,
    .category,
    .faq-items .faq-item {
        padding: 1.2rem;
    }

    .contact-details,
    .departments,
    .contact-form {
        padding: 1.2rem;
    }
}