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

:root {
    --primary-color: #2c5aa0;
    --secondary-color: #f39c12;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --dark: #1a1a1a;
}

html {
    scroll-behavior: smooth;
    -webkit-scroll-behavior: smooth;
    -moz-scroll-behavior: smooth;
}

body {
    font-family: 'Microsoft YaHei', 'Arial', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 导航栏 */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
    height: auto;
    position: relative;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    object-position: center;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    -ms-interpolation-mode: nearest-neighbor;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
}

.logo-text-only {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

/* 移动端logo调整 */
@media (max-width: 768px) {
    .logo-img {
        max-height: 60px;
        width: auto;
        height: auto;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .logo {
        gap: 8px;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu li a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 16px;
    transition: color 0.3s;
    position: relative;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--primary-color);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
}

/* Mobile navigation: show toggle and collapse menu into a dropdown */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        right: 20px;
        top: 100%;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 10px;
        border-radius: 8px;
        box-shadow: 0 6px 20px rgba(0,0,0,0.12);
        min-width: 200px;
        z-index: 1200;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 6px 0;
    }

    .nav-menu li a {
        padding: 8px 12px;
        display: block;
    }
}

/* 首屏轮播图 */
.hero-slider {
    margin-top: 80px;
    position: relative;
    height: 600px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.18);
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-content {
    text-align: center;
    color: var(--white);
    z-index: 2;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 760px;
}

.slide-content h1 {
    font-size: 48px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.35);
}

.slide-content p {
    font-size: 20px;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.35);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot:hover {
    background: rgba(255,255,255,0.8);
}

.slider-dot.active {
    background: var(--white);
    width: 30px;
    border-radius: 6px;
}

/* 全宽背景区块 */
.section-wrapper {
    width: 100%;
}

.section-wrapper.light-bg {
    background: var(--light-bg);
}

.section-wrapper.white-bg {
    background: var(--white);
}

/* 通用区块样式 */
.section {
    padding: 80px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
}

/* 产品特性展示 - 使用伪元素实现全宽背景 */
.features {
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: var(--light-bg);
    z-index: -1;
}

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

/* Homepage featured products showcase (big image + product info) */
.feature-showcase {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    margin: 0 auto 50px;
    max-width: 1200px;
    align-items: stretch;
}

.feature-showcase-media {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
    background: #e9eef7;
    min-height: 420px;
}

.feature-showcase-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, filter 0.25s ease;
}

.feature-showcase-media img.is-switching {
    filter: blur(1px);
    transform: scale(1.02);
}

.feature-showcase-badge {
    position: absolute;
    left: 16px;
    bottom: 16px;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 13px;
    backdrop-filter: blur(8px);
}

.feature-showcase-panel {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feature-tabs {
    display: grid;
    grid-template-columns: 1fr;
    border-bottom: 1px solid #eee;
}

.feature-tab {
    text-align: left;
    padding: 16px 18px;
    border: 0;
    background: transparent;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-tab:hover {
    background: #f6f8ff;
}

.feature-tab.active {
    background: rgba(44, 90, 160, 0.08);
}

.feature-tab-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(44, 90, 160, 0.35);
    flex-shrink: 0;
}

.feature-tab.active .feature-tab-dot {
    background: var(--primary-color);
}

.feature-tab-title {
    font-weight: 600;
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.3;
}

.feature-details {
    padding: 22px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-details h3 {
    font-size: 22px;
    color: var(--primary-color);
    line-height: 1.3;
}

.feature-details p {
    color: #666;
    line-height: 1.7;
    font-size: 14px;
}

.feature-meta {
    color: #999;
    font-size: 13px;
}

.feature-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    flex-wrap: wrap;
}

.btn-outline {
    padding: 12px 18px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background: #1e4280;
    color: #fff;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-card p {
    color: #666;
    line-height: 1.8;
}

/* 公司资质展示 */
.qualifications {
    background: var(--white);
}

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

.qual-card {
    text-align: center;
    padding: 30px 20px;
    transition: transform 0.3s;
}

.qual-card:hover {
    transform: scale(1.05);
}

.qual-number {
    font-size: 48px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.qual-text {
    font-size: 18px;
    color: #666;
}

/* 证书板块整体容器 */
.certificates-section {
    width: 100%;
    max-width: 1400px; /* 增加宽度防止拥挤 */
    margin: 60px auto;
    padding: 0 20px;
    background: var(--light-bg); /* 确保背景色统一 */
}

.certificates-container {
    width: 100%;
    margin: 0 auto;
    padding: 40px 0;
    text-align: center;  /* Fallback for any inline/flow layout */
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.certificates-container img,
.certificates-container .cert-item,
.certificates-container .cert-item-wrapper {
    display: inline-block;
    margin: 8px auto;
    vertical-align: middle;
}

.cert-container {
    margin: 0 auto;
}

.cert-container {
    position: relative;
    width: 100%;
    max-width: 1000px; /* 限制内部扇形区域最大宽度 */
    height: 380px;     /* 稍微调高高度，给图片更多空间 */
    margin: 0 auto;
    /* 移除背景色和阴影，只作为定位基准，显得更干净 */
    /* background: ...; box-shadow: ...; */ 
}

/* 新增：专门负责定位的包装器 */
.cert-item-wrapper {
    position: absolute;
    width: 320px;  /* 给定基准宽度 */
    height: 380px; /* 给定基准高度 */
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    /* 关键：设置变换原点为底部中心，这样旋转看起来更自然 */
    transform-origin: bottom center; 
}

/* 核心证书的包装器位置 */
.cert-item-wrapper.high-wrapper {
    left: 50%;
    top: 5%;
    transform: translateX(-50%) !important; /* 强制覆盖行内样式的 rotate */
    z-index: 20 !important;
    width: 380px; /* 核心证书大一点 */
    height: 480px;
}

/* 图片本体样式 */
.cert-item {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 保证证书完整显示不被裁剪 */
    background: #fff;    /* 图片背景白底，防止PNG透明穿透 */
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    padding: 10px; /* 留白，像相框一样 */
}

/* 悬停效果 */
.cert-item-wrapper:hover {
    z-index: 30 !important; /* 悬停时层级最高 */
    transform: scale(1.1) translateY(-10px) !important; /* 这里的transform会覆盖行内的rotate，如果想要保留角度需用JS，或者简单放大即可 */
}

.cert-item.cert-high {
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(44, 90, 160, 0.2);
}

/* --- 响应式处理 (手机端改为网格) --- */
@media (max-width: 768px) {
    .cert-container {
        height: auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 两列布局 */
        gap: 15px;
        padding: 0;
    }

    .cert-item-wrapper {
        position: relative !important; /* 取消绝对定位 */
        inset: auto !important;        /* 取消 top/left */
        transform: none !important;    /* 取消旋转 */
        width: 100%;
        height: 200px;
        margin-bottom: 20px;
    }

    .cert-item-wrapper.high-wrapper {
        grid-column: 1 / -1; /* 核心证书跨两列 */
        width: 100%;
        margin: 0 auto;
        left: auto;
        top: auto;
    }
}


/* 合并证书与实力区域样式 */
.credentials {
    /* container kept minimal, individual rules below */
}
.credentials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    /* 改为顶部对齐，避免证书滚动与数字卡片垂直居中造成的错位 */
    align-items: start;
    margin-top: 30px;
}
.credentials-certs {
    /* 保持现有滚动证书样式 */
}
.credentials-stats .qual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 18px;
}
.credentials-stats .qual-card {
    background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
    border-radius: 10px;
    padding: 24px 18px;
    box-shadow: 0 8px 24px rgba(16, 42, 90, 0.06);
    text-align: center;
}
.credentials-stats .qual-number {
    font-size: 44px;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 700;
}
.credentials-stats .qual-text {
    color: #555;
    font-size: 14px;
}
.credentials-cta {
    margin-top: 16px;
    display: flex;
    justify-content: center;
}

@media (max-width: 992px) {
    .credentials-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .certificates-track {
        justify-content: center;
    }
}


/* 保持视频在左列铺满的兼容性 */
.credentials-certs.credentials-video .video-wrapper { max-width:100%; margin:0; }

@media (max-width: 992px) {
    .collage-slide img { max-height: 260px; }
    .collage-thumbs .collage-thumb { flex: 0 0 72px; height:54px; }
}

@media (max-width: 520px) {
    .collage-slide img { max-height: 200px; }
    .collage-thumbs { padding:8px; }
    .collage-thumbs .collage-thumb { flex: 0 0 56px; height:44px; }
}

/* 企业视频展示 */
.company-video {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e5e5e5;
}

.video-wrapper {
    max-width: 900px;
    margin: 30px auto 0;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 宽高比 */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.video-wrapper iframe,
.video-wrapper video,
.video-wrapper embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0.06));
    cursor: pointer;
}

.video-poster {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #f8f9fb 0%, #eef3fb 100%);
}

.video-play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(44,90,160,0.95);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 8px 18px rgba(16,42,90,0.22);
    transform: translateY(-6px);
}

.video-wrapper:focus {
    outline: 3px solid rgba(44, 90, 160, 0.18);
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .video-wrapper {
        padding-bottom: 56.25%;
        margin-top: 20px;
    }
}

/* 案例展示 */
.cases {
    position: relative;
}

.cases::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: var(--light-bg);
    z-index: -1;
}

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

.case-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.case-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
}

.case-card:hover .case-image {
    transform: scale(1.05);
}

.case-content {
    padding: 20px;
}

.case-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.case-content p {
    color: #666;
    font-size: 14px;
}

/* 新闻资讯 */
.news {
    background: var(--white);
}

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

.news-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
    background: var(--white);
    display: flex;
    flex-direction: column;
}

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

.news-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    background: var(--light-bg);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-date {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    font-size: 14px;
    text-align: center;
}

.news-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-color);
    transition: color 0.3s;
}

.news-content h3 a {
    color: inherit;
    text-decoration: none;
}

.news-card:hover .news-content h3,
.news-card:hover .news-content h3 a {
    color: var(--primary-color);
}

.news-content p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.news-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.news-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* 联系表单 */
.contact {
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: var(--light-bg);
    z-index: -1;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

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

.btn-submit {
    background: var(--primary-color);
    color: var(--white);
    padding: 14px 50px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    width: 100%;
}

.btn-submit:hover {
    background: #1e4280;
    transform: translateY(-2px);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.contact-info {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-item {
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

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

.contact-icon {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
    font-size: 18px;
}

.contact-details h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
    font-size: 16px;
}

.contact-details p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 页脚 */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 50px 20px 30px;
    text-align: center;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

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

/* 响应式设计 */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .qual-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        padding: 15px 0;
        border-bottom: 1px solid #eee;
    }
    
    .hero-slider {
        height: 450px;
    }
    
    .slide-content h1 {
        font-size: 32px;
    }
    
    .slide-content p {
        font-size: 16px;
    }
    
    .section {
        padding: 60px 20px;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .features-grid,
    .cases-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-image {
        height: 200px;
    }
    
    .news-content {
        padding: 15px;
    }
    
    .news-content h3 {
        font-size: 16px;
    }
    
    .qual-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .qual-number {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 350px;
    }
    
    .slide-content h1 {
        font-size: 24px;
    }
    
    .slide-content p {
        font-size: 14px;
    }
    
    .section {
        padding: 50px 15px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .contact-form,
    .contact-info {
        padding: 25px;
    }
    
    .qual-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .qual-number {
        font-size: 30px;
    }
    
    .qual-text {
        font-size: 14px;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .btn-submit {
        padding: 12px 30px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.case-card,
.news-card,
.qual-card {
    animation: fadeInUp 0.6s ease-out;
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1e4280;
}

/* ==================== 页面头部背景 ==================== */
.page-header {
    position: relative;
    height: 300px;
    margin-top: 70px;
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a8a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
    opacity: 0.3;
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.page-header-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* 面包屑导航 */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
}

.breadcrumb a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: white;
    text-decoration: underline;
}

.breadcrumb span {
    color: rgba(255,255,255,0.6);
}

/* ==================== 产品展示 ==================== */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    flex-wrap: wrap;
}

.filter-label {
    font-weight: 600;
    color: var(--text-color);
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border: 1px solid #ddd;
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-color);
    font-size: 14px;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #f5f5f5;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
    font-size: 60px;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 90, 160, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.btn-view {
    padding: 12px 30px;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-view:hover {
    background: var(--secondary-color);
    color: white;
    transform: scale(1.05);
}

.product-info {
    padding: 25px;
}

.product-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(44, 90, 160, 0.1);
    color: var(--primary-color);
    font-size: 12px;
    border-radius: 15px;
    margin-bottom: 10px;
}

.product-title {
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.product-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.product-title a:hover {
    color: var(--primary-color);
}

.product-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.product-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
}

.btn-more {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.btn-more:hover {
    color: var(--secondary-color);
}

/* ==================== 产品详情页 ==================== */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.product-detail-left {
    position: relative;
}

.product-detail-image {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.product-detail-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-detail-info {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.product-detail-title {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.product-detail-description {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

.product-detail-price {
    padding: 20px 0;
    margin: 20px 0;
    border-top: 2px solid #f0f0f0;
    border-bottom: 2px solid #f0f0f0;
}

.price-label {
    font-size: 16px;
    color: #666;
}

.price-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-left: 10px;
}

.product-detail-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.product-detail-content {
    margin-top: 60px;
}

.content-box {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    line-height: 1.8;
    font-size: 16px;
    color: #666;
}

/* 富文本内容中的表格样式 */
.content-box table,
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border: 1px solid #ddd;
    background: white;
    overflow-x: auto;
    display: block;
}

.content-box table thead,
.article-content table thead {
    background: #f8f9fa;
}

.content-box table th,
.content-box table td,
.article-content table th,
.article-content table td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
    vertical-align: middle;
    min-width: 80px;
}

.content-box table th,
.article-content table th {
    font-weight: 600;
    background-color: #f8f9fa;
    color: #333;
}

.content-box table tbody tr:nth-child(odd),
.article-content table tbody tr:nth-child(odd) {
    background-color: #fafbfc;
}

.content-box table tbody tr:hover,
.article-content table tbody tr:hover {
    background-color: #f0f0f0;
}

.content-box table img,
.article-content table img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* 移动端表格响应式 */
@media (max-width: 768px) {
    .content-box table,
    .article-content table {
        font-size: 12px;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .content-box table th,
    .content-box table td,
    .article-content table th,
    .article-content table td {
        padding: 8px 5px;
        min-width: 60px;
    }
}

/* 富文本内容中的内联元素样式 */
.content-box p {
    margin-bottom: 15px;
}

.content-box strong {
    font-weight: 600;
    color: #333;
}

.content-box em {
    font-style: italic;
}

.content-box ul,
.content-box ol {
    margin: 15px 0 15px 30px;
}

.content-box li {
    margin-bottom: 8px;
}

.content-box blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
    margin: 20px 0;
    color: #666;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
}

.content-box a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.content-box a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* ==================== 文章详情页 ==================== */
.article-detail {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.article-meta {
    display: flex;
    gap: 30px;
    padding-bottom: 20px;
    margin-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
    color: #999;
    font-size: 14px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-image {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-content {
    margin-bottom: 30px;
}

.article-footer {
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

/* ==================== 案例详情 ==================== */
.case-detail {
    max-width: 1000px;
    margin: 0 auto;
}

.case-detail-image {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.case-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.case-detail-info {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

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

.info-item {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.info-label {
    font-weight: 600;
    color: var(--text-color);
}

.info-value {
    color: #666;
}

.case-detail-content {
    margin-bottom: 30px;
}

.case-detail-footer {
    display: flex;
    gap: 15px;
    justify-content: center;
    padding-top: 30px;
}

.case-image-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #f5f5f5;
}

.case-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.case-card:hover .case-image {
    transform: scale(1.1);
}

.case-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
    font-size: 60px;
}

.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 90, 160, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.case-card:hover .case-overlay {
    opacity: 1;
}

.case-meta {
    font-size: 13px;
    color: #999;
    margin-bottom: 5px;
}

/* ==================== 分页样式 ==================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.page-link {
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: var(--text-color);
    font-size: 14px;
    transition: all 0.3s;
    min-width: 40px;
    text-align: center;
}

.page-link:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-link.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    font-weight: 600;
}

.page-dots {
    padding: 10px 5px;
    color: #999;
}

/* ==================== 相关内容 ==================== */
.related-products,
.related-articles,
.related-cases {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 2px solid #f0f0f0;
}

/* ==================== 空状态优化 ==================== */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #999;
}

.empty-state .icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 16px;
    margin-bottom: 20px;
}

/* ==================== 关于我们页面 ==================== */
.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.about-intro p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

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

.about-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.about-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-color);
}

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

.company-values {
    background: white;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
}

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

.value-item {
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s;
}

.value-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.value-item h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.value-item:hover h4,
.value-item:hover p {
    color: white;
}

.value-item p {
    color: #666;
    font-size: 14px;
}

/* CTA区域 */
.cta-section {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a8a 100%);
    padding: 80px 20px;
    text-align: center;
    color: white;
    margin-top: 60px;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-section .btn {
    background: white;
    color: var(--primary-color);
}

.cta-section .btn:hover {
    background: var(--secondary-color);
    color: white;
}

/* ==================== 联系我们页面 ==================== */
.contact-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-section {
    margin-bottom: 60px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.contact-info-card {
    background: white;
    padding: 35px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s;
}

.contact-info-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 42px;
    margin-bottom: 15px;
}

.contact-info-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.contact-info-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 5px;
}

.contact-form-section {
    background: white;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.form-description {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 16px;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.btn-block {
    width: 100%;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* ==================== 响应式优化 ==================== */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .about-grid,
    .contact-info-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 992px) {
    .page-header {
        height: 250px;
    }
    
    .page-header-content h1 {
        font-size: 32px;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .filter-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .feature-showcase {
        grid-template-columns: 1fr;
    }

    .feature-showcase-media {
        min-height: 320px;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 380px;
        border-radius: 0;
    }
    .page-header {
        height: 200px;
    }
    
    .page-header-content h1 {
        font-size: 28px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .product-image-wrapper {
        height: 220px;
    }
    
    .article-detail,
    .case-detail {
        padding: 20px;
    }
    
    .product-detail-info {
        padding: 25px;
    }
    
    .product-detail-title {
        font-size: 24px;
    }
    
    .pagination {
        gap: 5px;
    }
    
    .page-link {
        padding: 8px 12px;
        min-width: 36px;
        font-size: 13px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-form-section {
        padding: 30px 20px;
    }
    
    .about-grid,
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .company-values {
        padding: 30px 20px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-section {
        padding: 60px 20px;
    }
    
    .cta-section h2 {
        font-size: 28px;
    }
    
    .cta-section p {
        font-size: 16px;
    }
}
