/* 首页特定组件样式 */

/* 英雄区/主横幅轮播 */
.zs-hero {
    position: relative;
    height: calc(100vh - 152px); /* 减去顶部信息条和导航栏的高度，刚好一屏显示 */
    min-height: 500px;
    margin-top: 0;
    overflow: hidden;
}

.zs-hero-slider {
    position: relative;
    height: 100%;
    width: 100%;
}

.zs-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.zs-slide.active {
    opacity: 1;
    visibility: visible;
}

.zs-hero .zs-container {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
}

.zs-hero-content {
    max-width: 800px;
    color: var(--white);
    transform: translateY(30px);
    opacity: 0;
    transition: transform 1s ease, opacity 1s ease;
    transition-delay: 0.5s;
}

.zs-slide.active .zs-hero-content {
    transform: translateY(0);
    opacity: 1;
}

.zs-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    color: var(--white);
}

.zs-hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: rgba(255, 255, 255, 0.9);
}

.zs-hero-benefits {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xl);
    color: var(--primary-color);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.zs-hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.zs-hero-buttons .zs-btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.zs-hero-buttons .zs-btn-outline:hover {
    background-color: var(--white);
    color: var(--text-primary);
}

/* 轮播控制 */
.zs-slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0;
    z-index: 20;
    width: 100%;
    max-width: 80%; /* 和 .zs-container 保持一致 */
    padding: 0 var(--spacing-md);
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .zs-slider-controls {
        max-width: 90%;
        padding: 0 var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .zs-slider-controls {
        max-width: 95%;
        padding: 0 var(--spacing-xs);
    }
}

.zs-slider-dots {
    display: flex;
    gap: 16px;
    align-items: flex-end;
}

.zs-slider-dot {
    width: 30px;
    background: transparent;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0 0 8px 0;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-family-en);
    font-size: 14px;
    font-weight: 500;
    text-align: left;
}

.zs-slider-dot::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

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

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

.zs-slider-dot.active {
    width: 70px;
    color: var(--white);
}

.zs-slider-dot.active::after {
    background: var(--white);
}

/* 鼠标滚动图标 */
.zs-scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.zs-mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--white);
    border-radius: 12px;
    position: relative;
    display: flex;
    justify-content: center;
}

.zs-wheel {
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    margin-top: 6px;
    animation: scroll 2s infinite;
}

.zs-scroll-down::after {
    content: '';
    width: 1px;
    height: 40px;
    background: var(--white);
    margin-top: 10px;
    opacity: 0.5;
}

@keyframes scroll {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(10px);
        opacity: 0;
    }
}

/* 响应式调整 (补充英雄区) */
@media (max-width: 768px) {
    .zs-hero {
        min-height: 500px;
    }
    
    .zs-hero-title {
        font-size: 1.5rem;
    }
    
    .zs-hero-subtitle {
        font-size: 1.2rem;
    }
    
    .zs-hero-buttons {
        flex-direction: column;
    }
    
    .zs-hero-buttons .zs-btn {
        width: 100%;
    }
}

/* 通用网格布局增强 */
.zs-values-grid,
.zs-products-grid,
.zs-applications-grid,
.zs-bestsellers-grid,
.zs-certifications-grid {
    display: grid;
    gap: var(--spacing-lg);
}

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

.zs-applications-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.zs-bestsellers-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.zs-certifications-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* 价值主张区 */
.zs-values {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
}

.zs-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    padding: var(--spacing-xl) 0;
}

@media (max-width: 992px) {
    .zs-values-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: var(--spacing-md) 0;
    }
    .zs-value-card:nth-child(even)::after {
        display: none;
    }
    .zs-value-card:nth-child(1)::before,
    .zs-value-card:nth-child(2)::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 20%;
        width: 60%;
        height: 1px;
        background-color: rgba(0, 0, 0, 0.06);
    }
}

@media (max-width: 576px) {
    .zs-values-grid {
        grid-template-columns: 1fr;
    }
    .zs-value-card::after {
        display: none !important;
    }
    .zs-value-card:not(:last-child)::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 20%;
        width: 60%;
        height: 1px;
        background-color: rgba(0, 0, 0, 0.06);
    }
}

.zs-value-card {
    background: transparent;
    padding: var(--spacing-md) var(--spacing-lg);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.zs-value-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: rgba(0, 0, 0, 0.06);
}

.zs-value-card:hover {
    transform: translateY(-5px);
}

.zs-value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-md);
    background-color: #f5f8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.zs-value-card:hover .zs-value-icon {
    background-color: var(--primary-color);
}

.zs-value-card:hover .zs-value-icon svg {
    color: var(--white);
    transform: scale(1.1);
}

.zs-value-icon svg {
    width: 32px;
    height: 32px;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.zs-value-card h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.zs-value-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* 核心产品展示 */
.zs-products {
    padding: var(--spacing-xxl) 0;
    background-color: var(--bg-light);
}

.zs-product-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
    padding-top: 15px; /* 增加顶部内边距，防止悬停时上边框和阴影被裁切 */
    padding-bottom: 15px;
    margin-top: -15px; /* 抵消增加的内边距，保持原有布局 */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.zs-products-panels {
    position: relative;
}

.zs-products-grid-panel {
    display: none;
}

.zs-products-grid-panel.is-active {
    display: grid;
}

/* Core Product Series: keep card width stable even when only one item exists */
.zs-products-panels .zs-products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1200px) {
    .zs-products-panels .zs-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .zs-products-panels .zs-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .zs-products-panels .zs-products-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1200px) {
    .zs-product-categories {
        justify-content: flex-start;
    }
}

.zs-product-categories::-webkit-scrollbar {
    height: 6px;
}

.zs-product-categories::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.zs-product-categories::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.zs-product-categories::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.zs-category-btn {
    display: inline-block;
    padding: 8px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    background-color: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    white-space: nowrap;
    flex-shrink: 0;
}

.zs-category-btn:hover {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.zs-category-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border: 1px solid var(--primary-color);
}

.zs-product-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.zs-product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.zs-product-image {
    height: 240px;
    overflow: hidden;
}

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

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

.zs-product-content {
    padding: var(--spacing-lg);
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zs-product-content h3 {
    text-align: center;
    font-weight: normal;
    margin: 0;
}

/* 数据统计区 */
.zs-stats {
    background-color: transparent;
    color: var(--white);
    padding: 0;
    margin-top: 40px;
    width: 100%;
}

.zs-stats .zs-container {
    background-color: var(--primary-color);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    max-width: 100%;
    width: 100%;
}

.zs-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--spacing-lg);
}

.zs-stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    text-align: left;
}

.zs-stat-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.95);
}

.zs-stat-icon svg {
    width: 100%;
    height: 100%;
}

.zs-stat-content {
    display: flex;
    flex-direction: column;
}

.zs-stat-number {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-family-en);
    line-height: 1.1;
    margin-bottom: 4px;
}

.zs-stat-label {
    font-size: 1.125rem;
    opacity: 0.9;
    white-space: nowrap;
}

/* Flooring Categories Section (SPC & LVT) */
.zs-flooring-categories {
    padding: var(--spacing-xxl) 0;
    background-color: var(--white);
}

.zs-flooring-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
}

.zs-flooring-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.zs-flooring-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.zs-flooring-image {
    width: 100%;
    height: 350px;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.zs-flooring-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zs-flooring-content {
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-grow: 1;
}

.zs-flooring-content .zs-section-title {
    margin-bottom: var(--spacing-sm);
}

.zs-flooring-content .zs-section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.zs-flooring-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.zs-flooring-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-sm);
}

.zs-flooring-tag {
    background-color: var(--bg-light);
    color: var(--text-primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #e0e0e0;
}

@media (max-width: 992px) {
    .zs-flooring-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .zs-flooring-categories {
        padding: var(--spacing-xl) 0;
    }

    .zs-flooring-image {
        height: auto;
        aspect-ratio: auto;
        padding: 0;
    }

    .zs-flooring-image img {
        display: block;
        height: auto;
        object-fit: fill;
    }

    .zs-flooring-content {
        padding: var(--spacing-lg);
    }

    .zs-flooring-subtitle {
        margin-bottom: var(--spacing-md);
    }
}

@media (max-width: 576px) {
    .zs-flooring-image {
        aspect-ratio: auto;
        padding: 0;
    }

    .zs-flooring-content {
        padding: var(--spacing-md);
    }

    .zs-flooring-tag {
        padding: 6px 14px;
        font-size: 0.85rem;
    }
}

/* 应用场景 */
.zs-applications {
    padding: var(--spacing-xxl) 0;
    background-color: var(--bg-light);
}

.zs-application-card {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    height: 300px;
    box-shadow: var(--shadow-sm);
    display: block;
    text-decoration: none;
}

.zs-application-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.zs-application-card:hover img {
    transform: scale(1.05);
}

.zs-application-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--spacing-lg);
    color: var(--white);
}

.zs-application-overlay h3 {
    color: var(--white);
    margin-bottom: var(--spacing-xs);
    transform: translateY(45px); /* 初始位置进一步下移到底部 */
    transition: transform 0.3s ease; /* 添加平滑动画过渡 */
}

.zs-application-card:hover .zs-application-overlay h3 {
    transform: translateY(0); /* 鼠标经过时恢复原位，形成上滑效果 */
}

.zs-application-overlay p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.875rem;
    transform: translateY(45px);
    opacity: 0;
    transition: all 0.3s ease;
}

.zs-application-card:hover .zs-application-overlay p {
    transform: translateY(0);
    opacity: 1;
}

/* 热销产品 */
.zs-bestsellers {
    padding: var(--spacing-xxl) 0;
}

.zs-bestseller-card {
    text-align: center;
}

.zs-bestseller-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.zs-bestseller-card:hover img {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

@media (min-width: 993px) and (max-width: 1600px) {
    .zs-container {
        max-width: 92%;
        padding: 0 var(--spacing-sm);
    }

    .zs-flooring-grid,
    .zs-factory-content {
        gap: var(--spacing-lg);
    }

    .zs-applications-grid,
    .zs-bestsellers-grid {
        grid-template-columns: repeat(3, minmax(260px, 1fr));
        gap: var(--spacing-md);
    }

    .zs-bestseller-card,
    .zs-application-card,
    .zs-quality-card {
        min-width: 0;
    }

    .zs-bestseller-card img {
        height: 220px;
    }

    .zs-quality-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .zs-certifications-carousel-wrapper {
        padding: 0 24px;
    }
}

/* Factory Strength Section */
.zs-factory {
    padding: var(--spacing-xxl) 0;
    background-color: var(--bg-light);
}

.zs-factory-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.zs-factory-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.zs-factory-feature {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.zs-factory-feature h4 {
    margin-bottom: var(--spacing-xs);
    font-size: 1.125rem;
}

.zs-factory-feature p {
    margin: 0;
    font-size: 0.875rem;
}

.zs-factory-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
}

.zs-factory-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    transform: rotate(180deg);
}

.zs-factory-gallery img:first-child {
    grid-column: 1 / -1;
    height: 300px;
}

/* Quality & Lab Section */
.zs-quality-lab {
    padding: var(--spacing-xxl) 0;
    background-color: var(--white);
}

.zs-quality-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.zs-quality-intro {
    text-align: center;
    max-width: 800px;
    margin-bottom: var(--spacing-xl);
}

.zs-quality-intro p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.zs-quality-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    width: 100%;
    margin-bottom: var(--spacing-xl);
}

.zs-quality-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.zs-quality-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.zs-quality-img {
    height: 240px;
    overflow: hidden;
}

.zs-quality-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.zs-quality-card:hover .zs-quality-img img {
    transform: scale(1.05);
}

.zs-quality-card h3 {
    padding: var(--spacing-md);
    margin: 0;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.zs-quality-action {
    text-align: center;
    margin-top: var(--spacing-md);
}

@media (max-width: 768px) {
    .zs-quality-lab {
        padding: var(--spacing-xl) 0;
    }

    .zs-quality-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .zs-quality-img {
        height: 220px;
    }

    .zs-quality-card h3 {
        font-size: 1.35rem;
        line-height: 1.3;
        padding: var(--spacing-md) var(--spacing-sm);
        word-break: break-word;
    }
}

/* Quality Certifications Section */
.zs-certifications {
    padding: var(--spacing-xxl) 0;
    background-color: var(--bg-light);
}

.zs-certification-item {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.zs-certification-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.zs-certification-item img {
    height: 260px;
    width: auto;
    max-width: 100%;
    margin: 0 auto var(--spacing-md);
    object-fit: contain;
}

/* OEM Services Section */
.zs-oem-services {
    padding: var(--spacing-xxl) 0;
    background-color: var(--bg-light);
}

.zs-oem-content {
    display: flex;
    gap: var(--spacing-xxl);
    align-items: stretch;
}

.zs-oem-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.zs-oem-services-list {
    margin-bottom: var(--spacing-xl);
}

.zs-oem-services-list h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-size: 1.5rem;
    position: relative;
    display: inline-block;
}

.zs-oem-services-list h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.zs-oem-services-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.zs-oem-services-list li {
    position: relative;
    padding-left: 24px;
    color: var(--text-primary);
    font-size: 1.05rem;
    line-height: 1.5;
    font-weight: 500;
}

.zs-oem-services-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.zs-oem-steps {
    background-color: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.zs-oem-steps h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
    font-size: 1.5rem;
    text-align: center;
}

.zs-step-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    position: relative;
}

.zs-step {
    background-color: var(--white);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 30px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zs-step:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.zs-step span {
    background-color: var(--primary-color);
    color: var(--white);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(120, 161, 56, 0.3);
}

.zs-step-arrow {
    color: #cbd5e1;
    font-weight: bold;
    font-size: 1.5rem;
}

.zs-oem-images {
    flex: 1;
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-height: 400px;
}

.zs-oem-images img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 8s linear;
    transform: scale(1.05);
    z-index: 1;
}

.zs-oem-images img.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.zs-oem-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.zs-oem-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.zs-oem-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.zs-oem-dot.active {
    background-color: var(--white);
    transform: scale(1.2);
}

@media (max-width: 992px) {
    .zs-oem-content {
        flex-direction: column;
    }
    
    .zs-oem-images {
        min-height: 300px;
    }
    
    .zs-step-flow {
        justify-content: center;
    }
}

/* Projects / Customers Section */
.zs-projects-customers {
    padding: var(--spacing-xxl) 0;
    background-color: var(--white);
    overflow: hidden;
}

.zs-projects-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.zs-projects-text {
    flex: 1;
}

.zs-projects-text .zs-section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.zs-projects-text .zs-section-title::after {
    left: 0;
    transform: none;
}

.zs-projects-intro {
    text-align: left;
    max-width: 100%;
    margin: 0;
}

.zs-projects-intro p {
    margin-bottom: var(--spacing-md);
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.zs-projects-intro p.zs-lead-text {
    font-size: 1.15rem;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 1.5rem;
    padding-left: 1.25rem;
    border-left: 4px solid var(--primary-color);
    position: relative;
}

.zs-projects-visual {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    padding: 2.5rem 0;
}

.zs-projects-visual .zs-gallery-item {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    height: 260px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    background: var(--white);
}

.zs-projects-visual .zs-gallery-item:nth-child(2),
.zs-projects-visual .zs-gallery-item:nth-child(4) {
    transform: translateY(2.5rem);
}

.zs-projects-visual .zs-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.zs-projects-visual .zs-gallery-item:hover {
    box-shadow: var(--shadow-lg);
    z-index: 2;
    position: relative;
    transform: translateY(-8px);
}

.zs-projects-visual .zs-gallery-item:nth-child(2):hover,
.zs-projects-visual .zs-gallery-item:nth-child(4):hover {
    transform: translateY(calc(2.5rem - 8px));
}

.zs-projects-visual .zs-gallery-item:hover img {
    transform: scale(1.08);
}

@media (max-width: 992px) {
    .zs-projects-wrapper {
        flex-direction: column;
        gap: 2rem;
    }
    
    .zs-projects-text .zs-section-title {
        text-align: center;
    }
    
    .zs-projects-text .zs-section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .zs-projects-intro {
        text-align: center;
    }
    
    .zs-projects-intro p.zs-lead-text {
        padding-left: 0;
        border-left: none;
        padding-top: 1rem;
        border-top: 3px solid var(--primary-color);
        display: inline-block;
    }

    .zs-projects-visual {
        padding: 1rem 0;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .zs-projects-visual {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .zs-projects-visual .zs-gallery-item:nth-child(2),
    .zs-projects-visual .zs-gallery-item:nth-child(4) {
        transform: none;
    }
    
    .zs-projects-visual .zs-gallery-item:nth-child(2):hover,
    .zs-projects-visual .zs-gallery-item:nth-child(4):hover {
        transform: translateY(-8px);
    }
}

/* Latest Insights */
.zs-latest-insights {
    padding: var(--spacing-xxl) 0;
    background-color: var(--white);
}

.zs-insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.zs-insight-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
}

.zs-insight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.zs-insight-image {
    height: 220px;
    overflow: hidden;
}

.zs-insight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.zs-insight-content {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.zs-insight-content h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
}

.zs-insight-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    flex: 1;
}

.zs-insight-readmore {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-top: auto;
    display: inline-block;
    transition: color 0.3s ease;
}

.zs-insight-card:hover .zs-insight-readmore {
    color: var(--primary-color);
}

@media (max-width: 992px) {
    .zs-insights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .zs-insights-grid {
        grid-template-columns: 1fr;
    }
}

/* FAQ Section */
.zs-faq-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--white);
}

.zs-faq-list {
    /* Set width to inherit container width, removing the previous 900px restriction */
    width: 100%;
    margin: 0 auto;
}

.zs-faq-item {
    border-bottom: 1px solid #eaeaea;
}

.zs-faq-item:last-child {
    border-bottom: none;
}

.zs-faq-question {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg) 0;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.zs-faq-question::-webkit-details-marker {
    display: none;
}

.zs-faq-question:hover {
    color: var(--primary-color);
}

.zs-faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    color: var(--primary-color);
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: var(--spacing-md);
    position: relative;
}

.zs-faq-icon svg {
    width: 20px;
    height: 20px;
    position: absolute;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.zs-faq-icon .zs-faq-minus {
    opacity: 0;
    transform: scale(0.5) rotate(-90deg);
}

details.is-open .zs-faq-icon {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

details.is-open .zs-faq-icon svg:not(.zs-faq-minus) {
    opacity: 0;
    transform: scale(0.5) rotate(90deg);
}

details.is-open .zs-faq-icon .zs-faq-minus {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.zs-faq-answer {
    padding-bottom: 0;
    padding-right: 50px; /* adjusted for larger icon */
    color: var(--text-light);
    line-height: 1.7;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding-bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

details[open] .zs-faq-answer,
details.is-closing .zs-faq-answer {
    display: block;
}

details.is-open .zs-faq-answer {
    max-height: 800px; /* Needs to be larger than content */
    opacity: 1;
    padding-bottom: var(--spacing-lg);
}

.zs-faq-answer p {
    margin-bottom: var(--spacing-sm);
}

.zs-faq-answer p:last-child {
    margin-bottom: 0;
}

.zs-faq-answer ul {
    padding-left: var(--spacing-xl);
    margin-bottom: var(--spacing-sm);
}

.zs-faq-answer li {
    margin-bottom: var(--spacing-xs);
    list-style-type: disc;
}

@keyframes faqFadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 客户评价 */
.zs-testimonials {
    padding: var(--spacing-xxl) 0;
    background-color: var(--secondary-color);
    color: var(--white);
    text-align: center;
}

.zs-testimonials .zs-section-title {
    color: var(--white);
}

.zs-testimonials .zs-section-title::after {
    background-color: var(--white);
}

.zs-testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.zs-testimonial {
    display: none;
    padding: var(--spacing-lg);
}

.zs-testimonial.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.zs-testimonial-content p {
    font-size: 1.25rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-lg);
}

.zs-testimonial-author strong {
    display: block;
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xs);
}

.zs-testimonial-author span {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* 行动号召区 */
.zs-cta {
    padding: var(--spacing-xxl) 0;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../img/商用.webp') no-repeat center center;
    background-size: cover;
    color: var(--white);
}

.zs-cta h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.zs-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .zs-factory-content {
        grid-template-columns: 1fr;
    }
    
    .zs-factory-gallery img:first-child {
        height: 200px;
    }
    
    .zs-factory-gallery img {
        height: 150px;
    }
    
    .zs-cta h2 {
        font-size: 2rem;
    }
}
