/* ================= 全局变量与重置 ================= */
:root {
    --primary-blue: #0066cc;
    --light-blue: #00a0e9;
    --dark-gray: #333;
    --medium-gray: #666;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --border-color: #e5e5e5;
    --accent-red: #e60012;
    --accent-gold: #ffd700;
    --footer-bg: #2c3e50;
    --footer-text: #bdc3c7;
    --transition-default: all 0.3s ease;
    --box-shadow-light: 0 2px 10px rgba(0, 0, 0, 0.05);
    --box-shadow-medium: 0 5px 15px rgba(0, 0, 0, 0.1);
    --faq-border: #003366;
    --border-light: #eaeaea;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    color: var(--dark-gray);
    line-height: 1.6;
    background-color: #fafafa;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 60px 0;
    background-color: var(--white);
    margin-bottom: 1px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    color: var(--dark-gray);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--light-blue);
}

.section-subtitle {
    color: var(--medium-gray);
    font-size: 16px;
    margin-top: 10px;
}

/* ================= 头部导航 (所有页面通用) ================= */
header {
    background: #fff;
    border-bottom: 1px solid var(--border-light);
    padding: 50px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.top-header {
    background-color: #f0f0f0;
    padding: 8px 0;
    font-size: 14px;
    color: var(--medium-gray);
    text-align: right;
}

.top-header a {
    color: var(--medium-gray);
    margin-left: 15px;
}

.top-header a:hover {
    color: var(--primary-blue);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    flex-wrap: wrap;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-blue);
}

.nav-list {
    display: flex;
    flex-wrap: wrap;
}

.nav-list li {
    position: relative;
    margin: 0 15px;
}

.nav-list a {
    font-size: 16px;
    color: var(--dark-gray);
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: var(--light-blue);
}

.nav-list li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: var(--box-shadow-light);
    min-width: 160px;
    z-index: 1001;
}

.nav-list li:hover ul {
    display: block;
}

.nav-list li ul li {
    width: 100%;
    margin: 0;
}

.nav-list li ul li a {
    display: block;
    padding: 10px 15px;
    font-size: 14px;
}

.lang-selector {
    font-size: 14px;
}

.lang-selector a {
    margin-left: 10px;
    color: var(--medium-gray);
}

.lang-selector a.active {
    color: var(--light-blue);
    font-weight: bold;
}




    /* jiejuewenti轮播图 */
   /* ========== Hero 轮播图独有样式 ========== */
        .hero-carousel-container {
            position: relative;
            width: 100%;
            height: 0;
            padding-bottom: 45%;
            background: #0f2b3d;
        }

        .hero-track {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            transition: transform 0.5s ease-in-out;
        }

        .hero-slide {
            flex: 0 0 100%;
            height: 100%;
            position: relative;
        }

        .hero-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .hero-caption {
            position: absolute;
            bottom: 20%;
            left: 5%;
            background: rgba(0,0,0,0.55);
            color: white;
            padding: 0.8rem 1.8rem;
            border-radius: 40px;
            font-size: 1.2rem;
            font-weight: 500;
            backdrop-filter: blur(4px);
        }

        .hero-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 44px;
            height: 44px;
            background: rgba(0,0,0,0.5);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            border: none;
            color: white;
            font-size: 28px;
            z-index: 20;
        }

        .hero-arrow-left { left: 20px; }
        .hero-arrow-right { right: 20px; }

        .hero-dots {
            position: absolute;
            bottom: 16px;
            left: 0;
            right: 0;
            display: flex;
            justify-content: center;
            gap: 12px;
            z-index: 20;
        }

        .hero-dot {
            width: 10px;
            height: 10px;
            background: rgba(255,255,255,0.5);
            border-radius: 50%;
            cursor: pointer;
        }

        .hero-dot.active {
            background: white;
            transform: scale(1.2);
        }

        @media (max-width: 768px) {
            .hero-carousel-container { padding-bottom: 50%; }
            .hero-caption { font-size: 0.8rem; padding: 0.3rem 1rem; }
            .hero-arrow { width: 32px; height: 32px; font-size: 20px; }
        }





.product-card {
    position: relative;
    cursor: pointer;
}

.product-card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    text-indent: -9999px;
    background: transparent;
}











/* ================= Hero Slider 通用 ================= */
.hero-slider {
    height: 100%;
    background: linear-gradient(135deg, #ffffff, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-slider img {
    max-width: 100%;
    height: auto;
    display: block;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 24px;
    opacity: 0.9;
}

/* ================= 首页轮播图 ================= */
.slider-container {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    display: block;
    height: 950px;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 40px 20px 20px;
}

.slide-content h3 {
    margin: 0 0 10px;
    font-size: 24px;
}

.slide-content p {
    margin: 0;
    font-size: 16px;
    opacity: 0.9;
}

.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.nav-btn {
    background: rgba(255, 255, 255, 0.5);
    border: none;
    color: black;
    font-size: 18px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.8);
}

.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.indicator.active {
    background: white;
}

/* ================= 首页第二轮播图 ================= */
.second-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background: #f0f0f0;
}

.second-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.second-slide {
    flex: 0 0 100%;
    position: relative;
}

.second-slide img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 6;
    object-fit: cover;
}

.second-slide-content {
    position: absolute;
    bottom: 20%;
    left: 8%;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 12px 24px;
    border-radius: 8px;
    backdrop-filter: blur(4px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.second-slide-content h3 {
    margin: 0 0 6px;
    font-size: 1.8rem;
}

.second-slide-content p {
    margin: 0;
    font-size: 1rem;
}

.second-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
    pointer-events: none;
}

.second-nav-btn {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    pointer-events: auto;
    transition: 0.2s;
}

.second-nav-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.second-slider-indicators {
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.second-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    border: none;
    transition: 0.2s;
}

.second-indicator.active {
    width: 28px;
    border-radius: 6px;
    background: #e63946;
}

/* ================= About Section ================= */
.about-section {
    padding: 80px 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 280px;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.about-text p {
    margin-bottom: 15px;
    color: var(--medium-gray);
    text-align: justify;
}

.about-image {
    flex: 1;
    min-width: 280px;
    height: 300px;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-gray);
    font-size: 18px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.read-more-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background-color: var(--light-blue);
    color: white;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.read-more-btn:hover {
    background-color: #0088cc;
}

/* ================= Advantages Section ================= */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 40px 20px;
    border: 1px solid var(--border-color);
    transition: var(--transition-default);
}

.advantage-item:hover {
    box-shadow: var(--box-shadow-medium);
    transform: translateY(-5px);
}

.adv-icon {
    font-size: 48px;
    color: var(--light-blue);
    margin-bottom: 20px;
}

.advantage-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.advantage-item p {
    color: var(--medium-gray);
    font-size: 15px;
}

/* ================= 首页产品展示 ================= */
.products-section {
    background-color: var(--light-gray);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    justify-items: center;
}

.products-grid .product-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow-light);
    transition: transform 0.3s;
    max-width: 310px;
    width: 100%;
}

.products-grid .product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    height: 490px;
    background-color: #eaeaea;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-gray);
    font-size: 14px;
    width: 100%;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.products-grid .product-info {
    padding: 20px;
    text-align: center;
}

.products-grid .product-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.products-grid .product-info p {
    color: var(--medium-gray);
    font-size: 14px;
}

/* ================= 产品中心页面 (product.html) ================= */
.page-title {
    text-align: center;
    font-size: 2rem;
    margin: 40px 0;
    color: #2c2c2c;
    /* border-bottom: 2px solid var(--faq-border); */
    padding-bottom: 10px;
    display: inline-block;
    width: auto;
}





/* .filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}
.filter-btn {
    width: 150px;
    height: 60px;
    
    border: 1px solid #ddd;
    border-radius: 20px;
    background: #fff;
    cursor: pointer;
    transition: var(--transition-default);
}

.filter-btn a {
    width: 150px;
    height: 60px;
    display: block;
    line-height: 60px;
} */
/* 筛选按钮 - 修复行高问题 */
.filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 30px;
    background: #fff;
    cursor: pointer;
    transition: var(--transition-default);
    overflow: hidden;
}

.filter-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    text-decoration: none;
    color: inherit;
    height: 100%;
    width: 100%;
    line-height: 1.4;  /* 恢复正常行高 */
    white-space: nowrap; /* 防止文字换行时高度变化 */
}

/* 小屏幕时允许换行 */
@media (max-width: 768px) {
    .filter-btn a {
        white-space: normal;
        padding: 8px 16px;
        font-size: 13px;
    }
}






.filter-btn:hover,
.filter-btn.active {
    background-color: var(--accent-red);
    color: #fff;
}

.filter-btn.active-page {
    background-color: #e74c3c !important;
    color: white !important;
}

.filter-btn.active-page a {
    color: white !important;
}

/* 产品网格 */
.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    width: calc(25% - 20px);
    min-width: 240px;
    max-width: 300px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    cursor: default;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.product-img-box {
    width: 100%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img-box img {
    width: 100%;
    height: auto;
    transition: transform 0.2s;
}

.product-info {
    padding: 30px;
    text-align: center;
}

.product-name {
    font-weight: 600;
    font-size: 1rem;
}

/* 产品卡片按钮 */
.product-card h3[data-large-src] {
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
    flex: 1;
    height: 80px;
    line-height: 80px;
    background: #f8f8f8;
    border-top: 1px solid #eee;
}

.product-card h3[data-large-src]:hover {
    filter: brightness(0.95);
    transform: scale(0.98);
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
}

/* Lightbox 模态框 */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.2s, opacity 0.2s ease;
}

.lightbox-overlay.active {
    visibility: visible;
    opacity: 1;
}

.lightbox-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: rgba(30, 30, 30, 0.92);
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    text-align: center;
    animation: zoomFadeIn 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes zoomFadeIn {
    0% {
        transform: scale(0.92);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-image {
    max-width: 85vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    display: block;
    margin: 0 auto;
    transition: opacity 0.4s ease, filter 0.4s ease;
}

.lightbox-image.loading {
    opacity: 0.3;
    filter: blur(10px);
}

.lightbox-title {
    margin-top: 18px;
    font-size: 1.3rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 1px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.5);
    display: inline-block;
    padding: 6px 18px;
    border-radius: 40px;
    backdrop-filter: blur(4px);
}

.close-lightbox {
    position: absolute;
    top: 12px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 28px;
    font-weight: bold;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    border: none;
    line-height: 1;
    backdrop-filter: blur(6px);
    z-index: 10;
}

.close-lightbox:hover {
    background: #e74c3c;
    transform: scale(1.06);
}

body.no-scroll {
    overflow: hidden;
}

/* ================= 服务与支持页面 (fuwu.html) ================= */
.main-content {
    padding: 40px 0;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.content-section {
    flex: 3;
    background: #fff;
    padding: 40px;
    border-radius: 4px;
    box-shadow: var(--box-shadow-light);
    min-width: 280px;
}

.breadcrumb {
    font-size: 14px;
    color: #999;
    margin-bottom: 20px;
}

.breadcrumb a:hover {
    color: var(--faq-border);
}

/* FAQ 手风琴样式 */
.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    overflow: hidden;
}

.faq-question {
    background: #f9f9f9;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: bold;
    color: var(--faq-border);
    cursor: pointer;
    position: relative;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #eef2f5;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #666;
}

.faq-question.active::after {
    content: '-';
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    background: #fff;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.faq-answer p {
    margin: 15px 20px;
    font-size: 14px;
    color: #555;
}

.faq-answer.show {
    padding: 15px 20px;
    max-height: 500px;
}

/* 知识文章样式 */
.knowledge-section {
    margin-top: 40px;
}

.knowledge-section h3 {
    font-size: 20px;
    color: #222;
    margin-bottom: 20px;
    border-left: 4px solid var(--faq-border);
    padding-left: 10px;
}

.knowledge-text p {
    margin-bottom: 15px;
    text-indent: 2em;
    font-size: 15px;
    color: #555;
}

.knowledge-list {
    margin-left: 20px;
    margin-bottom: 20px;
}

.knowledge-list li {
    list-style: disc;
    margin-bottom: 10px;
    font-size: 15px;
    color: #555;
}

.knowledge-list ul {
    margin-left: 20px;
}

/* 侧边栏 */
.sidebar {
    flex: 1;
    min-width: 250px;
}

.sidebar-widget {
    background: #fff;
    padding: 30px;
    border-radius: 4px;
    box-shadow: var(--box-shadow-light);
    text-align: center;
    margin-bottom: 20px;
}

.hotline-title {
    font-size: 16px;
    color: #999;
    margin-bottom: 10px;
}

.hotline-number {
    font-size: 28px;
    color: var(--faq-border);
    font-weight: bold;
    margin-bottom: 20px;
    display: block;
}

.company-info {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ================= 解决方案轮播 (jiejuewenti.html) ================= */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    background: url('./images/222.jpg') no-repeat center center/cover;
    padding: 160px 0;
    overflow: hidden;
    margin: 0 auto;
}

.carousel-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    z-index: 1;
}

.carousel-track-container {
    position: relative;
    z-index: 2;
    overflow: hidden;
    width: 100%;
    padding: 0 50px;
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.card {
    min-width: 310px;
    width: 280px;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
    height: 410px;
}

.card:hover {
    transform: translateY(-5px);
}

.card-image {
    width: 100%;
    height: 270px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    line-height: 1.5;
}

.card.green .card-title {
    color: #009966;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    z-index: 10;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-default);
}

.arrow:hover {
    background: var(--accent-gold);
}

.arrow::after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--accent-gold);
    border-top: 2px solid var(--accent-gold);
}

.arrow:hover::after {
    border-color: #fff;
}

.arrow-left {
    left: 10px;
}

.arrow-left::after {
    transform: rotate(-135deg);
    margin-left: 2px;
}

.arrow-right {
    right: 10px;
}

.arrow-right::after {
    transform: rotate(45deg);
    margin-right: 2px;
}

/* ================= 文章详情页 (jiejue1-11等) ================= */
.article-section {
    flex: 3;
    background: #fff;
    padding: 40px;
    border-radius: 4px;
    box-shadow: var(--box-shadow-light);
    min-width: 280px;
}

.article-title {
    font-size: 28px;
    color: #222;
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.article-body h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

.article-body p {
    margin-bottom: 15px;
    text-indent: 2em;
    font-size: 16px;
    color: #555;
}

.article-body .highlight-text {
    text-indent: 0;
    font-weight: bold;
    margin-bottom: 20px;
}

.article-body img {
    margin: 20px auto;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 100%;
}

.widget-title {
    font-size: 18px;
    border-left: 4px solid #0056b3;
    padding-left: 10px;
    margin-bottom: 20px;
    color: #333;
}

.latest-cases li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}

.latest-cases li:last-child {
    border: none;
}

.latest-cases a {
    font-size: 14px;
    color: #555;
    display: block;
}

.latest-cases a:hover {
    color: #0056b3;
}

/* ================= 联系我们页面 (lianxi.html) ================= */
.contact-container {
    background: rgba(25, 25, 35, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.4);
    width: 90%;
    max-width: 1200px;
    padding: 50px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 40px auto;
}

.contact-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    z-index: 0;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.contact-header {
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.contact-header h1 {
    font-size: 3.5rem;
    background: linear-gradient(to right, #ff7e5f, #feb47b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 15px;
    animation: textGlow 2s infinite alternate, fadeInDown 1s ease-out;
    text-shadow: 0 0 20px rgba(255, 126, 95, 0.5);
}

@keyframes textGlow {
    from { text-shadow: 0 0 10px rgba(255, 126, 95, 0.5); }
    to { text-shadow: 0 0 30px rgba(255, 126, 95, 0.8), 0 0 60px rgba(255, 126, 95, 0.6); }
}

.contact-header p {
    font-size: 1.3rem;
    color: #ddd;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
    margin-bottom: 40px;
}

.contact-card {
    background: rgba(40, 40, 50, 0.7);
    border-radius: 15px;
    padding: 30px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.6s forwards;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-card:nth-child(1) { animation-delay: 0.3s; }
.contact-card:nth-child(2) { animation-delay: 0.5s; }
.contact-card:nth-child(3) { animation-delay: 0.7s; }
.contact-card:nth-child(4) { animation-delay: 0.9s; }
.contact-card:nth-child(5) { animation-delay: 1.1s; }
.contact-card:nth-child(6) { animation-delay: 1.3s; }

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 126, 95, 0.3);
    background: rgba(50, 50, 60, 0.8);
}

.contact-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #ff7e5f;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.3) rotate(10deg);
    filter: drop-shadow(0 0 10px rgba(255, 126, 95, 0.8));
}

.contact-title {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-info-text {
    font-size: 1.1rem;
    color: #bbb;
    line-height: 1.7;
    margin-bottom: 10px;
}

.contact-link {
    color: #feb47b;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-default);
    display: block;
    margin-top: 10px;
}

.contact-link:hover {
    color: #ff7e5f;
    text-decoration: underline;
    transform: translateX(5px);
}

.contact-social-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.social-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(255, 126, 95, 0.4);
    transition: all 0.4s ease;
    transform: translateY(0);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ff7e5f, #feb47b, #ff7e5f);
    background-size: 300% 300%;
    z-index: -1;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.social-icon:hover::before {
    opacity: 1;
    animation: shine 1.5s infinite;
}

@keyframes shine {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.social-icon:hover {
    transform: translateY(-12px) rotate(15deg) scale(1.15);
    box-shadow: 0 15px 35px rgba(255, 126, 95, 0.6);
}

.additional-info {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.additional-info h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
    background: linear-gradient(to right, #4facfe, #00f2fe);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.info-card {
    background: rgba(40, 40, 50, 0.7);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeIn 0.8s ease-out;
    animation-fill-mode: both;
}

.info-card:nth-child(odd) { animation-delay: 0.5s; }
.info-card:nth-child(even) { animation-delay: 0.8s; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.info-card h3 {
    color: #feb47b;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.info-card p {
    color: #ccc;
    line-height: 1.7;
}

.pulse {
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(255, 126, 95, 0.3), rgba(254, 180, 123, 0.3));
    animation: floatShape 20s infinite linear;
}

.shape:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 15%;
    left: 10%;
    animation-duration: 25s;
}
.shape:nth-child(2) {
    width: 80px;
    height: 80px;
    top: 70%;
    left: 85%;
    animation-duration: 30s;
    animation-delay: -5s;
}
.shape:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 40%;
    left: 70%;
    animation-duration: 22s;
    animation-delay: -10s;
}
.shape:nth-child(4) {
    width: 120px;
    height: 120px;
    top: 20%;
    left: 80%;
    animation-duration: 28s;
    animation-delay: -15s;
}
.shape:nth-child(5) {
    width: 70px;
    height: 70px;
    top: 80%;
    left: 15%;
    animation-duration: 24s;
    animation-delay: -8s;
}

@keyframes floatShape {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(40px, 60px) rotate(90deg);
    }
    50% {
        transform: translate(80px, 0) rotate(180deg);
    }
    75% {
        transform: translate(40px, -60px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.typing-effect {
    display: inline-block;
    overflow: hidden;
    border-right: 3px solid #ff7e5f;
    white-space: nowrap;
    animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #ff7e5f; }
}

.glow-border {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 22px;
    z-index: -1;
    animation: glowing-border 3s linear infinite;
}

@keyframes glowing-border {
    0% { box-shadow: inset 0 0 10px rgba(255, 126, 95, 0.5); }
    50% { box-shadow: inset 0 0 20px rgba(255, 126, 95, 0.8); }
    100% { box-shadow: inset 0 0 10px rgba(255, 126, 95, 0.5); }
}

/* ================= 通用联系区域 (所有页面底部) ================= */
.contact-section {
    background: linear-gradient(to bottom, #0077b6, #00a0e9);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.contact-section .section-title h2 {
    color: white;
}

.contact-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.contact-info {
    margin-top: 40px;
}

.contact-item {
    margin-bottom: 20px;
}

.contact-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.contact-phone {
    font-size: 32px;
    font-weight: bold;
    margin: 20px 0;
}

/* ================= 页脚 (所有页面通用) ================= */
footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 0 20px;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    text-align: center;
}

.footer-column h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--light-blue);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--light-blue);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    border-top: 1px solid #34495e;
    padding-top: 20px;
    font-size: 12px;
}

/* ================= 响应式适配 (PC与移动端兼容) ================= */
/* 大屏幕设备 (1200px以上) */
@media (min-width: 1200px) {
    .container {
        /* text-align: center; */
        padding: 0 20px;
    }
}

/* 平板设备 (768px - 1199px) */
@media (max-width: 1199px) {
    .slide img {
        height: 600px;
    }
    
    .product-card {
        width: calc(33.33% - 20px);
    }
    
    .products-grid .product-card {
        max-width: 100%;
    }
}

/* 小屏幕/平板 (768px以下) */
@media (max-width: 768px) {
    /* 全局调整 */
    .section {
        padding: 40px 0;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    /* 导航栏 */
    .main-nav {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-list {
        justify-content: center;
    }
    
    .nav-list li {
        margin: 0 10px;
    }
    
    .nav-list a {
        font-size: 14px;
    }
    
    /* 首页轮播图 */
    .slide img {
        height: 400px;
    }
    
    .slide-content h3 {
        font-size: 18px;
    }
    
    .slide-content p {
        font-size: 14px;
    }
    
    /* 第二轮播图 */
    .second-slide-content h3 {
        font-size: 1.2rem;
    }
    
    .second-slide-content p {
        font-size: 0.8rem;
    }
    
    .second-nav-btn {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
    
    /* About Section */
    .about-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-text h2 {
        font-size: 28px;
    }
    
    .about-image {
        height: 250px;
    }
    
    /* 优势区域 */
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .advantage-item {
        padding: 30px 20px;
    }
    
    /* 首页产品 */
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .product-image {
        height: auto;
        aspect-ratio: 1 / 1.2;
    }
    
    /* 服务与支持页面 */
    .main-content {
        flex-direction: column;
    }
    
    .content-section {
        padding: 20px;
    }
    
    .page-title {
        font-size: 20px;
        display: block;
        text-align: center;
    }
    
    /* 产品中心页面 */
    .product-grid .product-card {
        width: calc(50% - 20px);
        min-width: 200px;
    }
    
    .filter-tabs {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    /* 解决方案轮播 */
    .card {
        min-width: 240px;
        width: 240px;
        height: 360px;
    }
    
    .card-image {
        height: 220px;
    }
    
    .carousel-container {
        padding: 40px 0;
    }
    
    .carousel-track-container {
        padding: 0 20px;
    }
    
    .arrow {
        width: 32px;
        height: 32px;
    }
    
    .arrow::after {
        width: 8px;
        height: 8px;
    }
    
    /* 文章详情页 */
    .article-section {
        padding: 20px;
    }
    
    .article-title {
        font-size: 22px;
    }
    
    .article-body p {
        font-size: 14px;
    }
    
    /* 联系我们页面 */
    .contact-container {
        padding: 30px 15px;
        width: 95%;
    }
    
    .contact-header h1 {
        font-size: 2.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-social-icons {
        gap: 15px;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    /* 底部联系区域 */
    .contact-phone {
        font-size: 24px;
    }
    
    .contact-item h3 {
        font-size: 18px;
    }
    
    /* 页脚 */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    /* Lightbox */
    .lightbox-title {
        font-size: 1rem;
        padding: 4px 12px;
    }
    
    .close-lightbox {
        width: 34px;
        height: 34px;
        font-size: 24px;
        top: 8px;
        right: 12px;
    }
    
    .product-card h3[data-large-src] {
        font-size: 14px;
    }
}

/* 手机设备 (480px以下) */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .nav-list li {
        margin: 0 6px;
    }
    
    .nav-list a {
        font-size: 12px;
    }
    
    .slide img {
        height: 300px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .section-subtitle {
        font-size: 14px;
    }
    
    .product-grid .product-card {
        width: 100%;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-tabs {
        gap: 6px;
    }
    
    .filter-btn {
        padding: 4px 10px;
        font-size: 11px;
    }
    
    .card {
        min-width: 200px;
        width: 200px;
        height: 320px;
    }
    
    .card-image {
        height: 180px;
    }
    
    .card-title {
        font-size: 13px;
    }
    
    .card-content {
        padding: 12px;
    }
    
    .article-title {
        font-size: 18px;
    }
    
    .contact-phone {
        font-size: 20px;
    }
    
    .typing-effect {
        white-space: normal;
        border-right: none;
    }
}

/* ================= 辅助工具类 ================= */
.text-center {
    text-align: center;
}

.hidden-mobile {
    display: block;
}

@media (max-width: 768px) {
    .hidden-mobile {
        display: none;
    }
}

.clearfix::after {
    content: '';
    display: table;
    clear: both;
}