﻿/* 左右双栏flex布局 - 电脑端比例均衡，间距适中 */
.showcase .grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    padding: 2.5rem 2.5rem;
}

/* 左侧媒体区域：仅视频容器 */
.showcase .media-side {
    margin-top: 1rem;
    flex: 0.8;
    min-width: 380px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* 视频卡片容器 - 圆润阴影，适合电脑端hover */
.showcase .video-card {
    position: relative;
    background: #000;
    border-radius: 0.1rem;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.3s;
}

.showcase .video-card:hover {
    transform: translateY(-2px);
}

/* 视频元素 - 16:9 比例，电脑端完美展示 */
.showcase .video-element {
    width: 100%;
    display: block;
    aspect-ratio: 12 / 9;
    object-fit: cover;
    background: #0a0f1a;
    cursor: pointer;
}

/* 自定义播放按钮 - 电脑端大小适宜 */
.showcase .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 88px;
    height: 88px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3), 0 0 0 3px rgba(255,255,255,0.3);
    z-index: 10;
}

.showcase .play-btn:hover {
    background: #4db045;
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4), 0 0 0 4px rgba(255,255,255,0.5);
}

.showcase .play-btn svg {
    width: 42px;
    height: 42px;
    fill: white;
    margin-left: 6px;
}

/* 播放时隐藏按钮 */
.showcase .play-btn.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* 右侧文字区域 - 电脑端留白舒适，字号适配 */
.showcase .content-side {
    flex: 1.2;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.2rem;
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(4px);
    border-radius: 1.75rem;
    padding: 0.2rem 0.2rem;
    border: 1px solid rgba(255,255,255,0.9);
}

/* 小标题 16px (严格遵循) */
.showcase .sub-title {
    font-size: 16px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 600;
    color: #333;
    display: inline-block;
    width: fit-content;
    padding: 0.4rem 0 0 0;
    backdrop-filter: blur(2px);
}

/* 大标题 20px (严格遵循) */
.showcase .main-title {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.35;
    color: #0f172a;
    margin-top: 0.15rem;
    letter-spacing: -0.01em;
    border-left: 4px solid #7b4801;
    padding-left: .1rem;
}

/* 正文描述 - 电脑端阅读舒适 */
.showcase .description {
    font-size: 16px;
    line-height: 1.25;
    color: #333;
    /* margin: 0.5rem 0 0.5rem 0; */
    font-weight: 450;
}
/* 可选行动点按钮 - 电脑端合适尺寸 */
.showcase .action-tag {
    background: #666;
    color: white;
    border: none;
    padding: 0.1rem 0.3rem;
    border-radius: 40px;
    font-weight: 500;
    font-size: 0.15rem;
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    cursor: pointer;
    transition: 0.2s;
}

.showcase .action-tag:hover {
    background: #4db045;
    transform: scale(0.98);
}

/* 电脑端自适应：保持比例，无过多媒体干扰 */
@media (max-width: 1200px) {
    .showcase .grid-container {
        gap: .1rem;
        padding: 0;
    }
    .showcase .content-side {
        padding: 0.1rem 0.1rem;
    }
    .showcase .play-btn {
        width: 78px;
        height: 78px;
    }
    .showcase .play-btn svg {
        width: 38px;
        height: 38px;
    }
}

/* 针对笔记本/小屏电脑优化边距 */
@media (max-width: 1000px) {
    .showcase .grid-container {
        gap: .8rem;
        padding: .8rem;
    }
    .showcase .media-side {
        min-width: 320px;
    }
    .showcase .content-side {
        min-width: 280px;
    }
}

/* 平板横屏以及窄电脑保持整洁 */
@media (max-width: 880px) {
    
    .showcase .grid-container {
        padding: 0.5rem;
        gap: 0.5rem;
    }
    .showcase .content-side {
        padding: 0.1rem 0.1rem;
    }
    .showcase .play-btn {
        width: 70px;
        height: 70px;
    }
    .showcase .play-btn svg {
        width: 34px;
        height: 34px;
    }
    .showcase .main-title {
        font-size: 20px; /* 确保20px固定 */
    }
    .showcase .sub-title {
        font-size: 16px; /* 确保16px固定 */
    }
}

/* 移动端兼顾但不破坏电脑优先原则，字体保持大小不变 */
@media (max-width: 640px) {
    .showcase .grid-container {
        padding: 0.2rem;
        gap: 0.2rem;
    }
    .showcase .main-title {
        font-size: 20px;
    }
    .showcase .sub-title {
        font-size: 16px;
    }
    .showcase .play-btn {
        width: 60px;
        height: 60px;
    }
    .showcase .play-btn svg {
        width: 28px;
        height: 28px;
    }
    .showcase .description {
        font-size: 0.25rem;
    }
}

@media (min-width: 1440px) {
    .showcase .grid-container {
        gap: .1rem;
        padding: .1rem;
    }
    .showcase .content-side {
        padding: 0.1rem 0.1rem;
    }
    .showcase .main-title {
        font-size: 20px;
    }
    .showcase .sub-title {
        font-size: 16px;
    }
    .showcase .description {
        font-size: 0.16rem;
        line-height: 1.5;
    }
    .showcase .play-btn {
        width: 96px;
        height: 96px;
    }
    .showcase .play-btn svg {
        width: 46px;
        height: 46px;
    }


    .showcase .grid-container {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0;
    }




}

/* 辅助动画 */
.showcase .fade-in {
    animation: fadeScale 0.4s ease-out;
}
@keyframes fadeScale {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.quality-sec1-row {
    margin: 0 auto;
    padding-bottom: 70px;
}

.quality-sec1-row .swiper-slide {
    border: solid 1px #f5f5f5;
}










/* 结构和工艺 */
/* 标题区域 */
.structure-section .title-section {
    text-align: center;
    margin-bottom: 50px;
}

.structure-section .main-title {
    font-size: 40px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.structure-section .sub-title {
    font-size: 18px;
    color: #666;
    margin: 0 auto;
    line-height: 1.6;
}

/* 产品网格布局 - 一行4个，共2行 */
.structure-section .product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding-bottom: 50px;
}

/* 产品卡片 */
.structure-section .product-item {
    width: 100%;
    background-color: #f8f8f8;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* 图片容器 - 正方形比例 */
.structure-section .product-img {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #e0e0e0;
}

/* 如果需要正方形图片，取消下面的注释 */
/*
.product-img {
    padding-bottom: 100%;
}
*/

.structure-section .product-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

/* 如果需要正方形图片并裁剪，使用下面的样式 */
/*
.product-img {
    padding-bottom: 100%;
    position: relative;
}

.product-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
*/

.structure-section .product-item:hover .product-img img {
    transform: scale(1.05);
}

/* 产品信息区域 */
.structure-section .product-info {
    padding: 15px;
    text-align: center;
}

.structure-section .product-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.structure-section .product-desc {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .structure-section .product-grid {
        gap: 15px;
    }
    .structure-section .main-title {
        font-size: 32px;
    }
    .structure-section .product-title {
        font-size: 15px;
    }
    .structure-section .product-desc {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .structure-section .product-grid {
        grid-template-columns: repeat(2, 1fr); /* 平板一行2个 */
        gap: 15px;
    }
    .structure-section .main-title {
        font-size: 28px;
    }
    .structure-section .sub-title {
        font-size: 16px;
    }
    .structure-section .product-info {
        padding: 12px;
    }
    .structure-section .product-title {
        font-size: 14px;
    }
    .structure-section .product-desc {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .structure-section .product-grid {
        grid-template-columns: 1fr; /* 手机一行1个 */
        gap: 15px;
    }
    .structure-section .main-title {
        font-size: 24px;
    }
    .structure-section .product-info {
        padding: 10px;
    }
}




/* 合作方式 */
.zong{background-color: #f8f8f8;}
.cooperation-container{padding: 1rem 0;}
.cooperation-container .master-heading {
    text-align: center;
    margin-bottom: 1.0rem;
}
.cooperation-container .master-heading h1 {
    font-size: 1rem;
    font-weight: 800;
    background: linear-gradient(135deg, #7b4801, #7b4801);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
    display: inline-block;
    padding-bottom: 0.1rem;
    border-bottom: 2px solid #c9dfe8;
}
.cooperation-container .master-heading p {
    margin-top: 0.4rem; /* 原0.8rem → 6px */
    color: #4c6f7e;
    font-weight: 500;
    font-size: 0.75rem; /* 原1.4rem(14px) → 12px */
}

/* 两大分类布局 */
.cooperation-container .categories-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* 每个大类卡片 */
/* .cooperation-container .category-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(2px);
    border-radius: 1rem; 
    box-shadow: 0 10px 18px -8px rgba(0, 0, 0, 0.08);
    padding: 1rem 1.2rem 1.4rem 1.2rem; 
    transition: all 0.2s ease;
    border: 1px solid rgba(128, 170, 182, 0.2);
} */

.cooperation-container .category-header {
    text-align: left;
    margin-bottom: 0.5rem; 
}
.cooperation-container .category-title {
    font-size: 0.18rem;
    font-weight: 800;
    background: #7b480117;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.15rem 0.5rem;
    border-radius: 40px;
    box-shadow: 0 4px 8px -4px rgba(0, 0, 0, 0.05);
    color: #4db045;
}

/* .cooperation-container .category-sub {
    margin-top: 0.4rem; 
    font-size: 0.2rem;
    font-weight: 500;
    color: #666;
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
    letter-spacing: 0.2px;
} */

/* 流程网格 */
.cooperation-container .process-grid {
    display: flex;
    /* grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); */
    gap: 0.2rem; 
    margin-top: 0.6rem;
    height: 3rem;
}

/* 流程卡片 */
.cooperation-container .flow-card {
    width: 24%;
    background: #ffffff;
    border-radius: 0.05rem;
    padding: 0.25rem;
    box-shadow: 0 4px 10px -4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #7b480124;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.cooperation-container .flow-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 18px -8px rgba(26, 92, 104, 0.12);
    border-color: #cbe2ea;
}

/* 卡片头部 */
.cooperation-container .flow-header {
    display: flex;
    align-items: baseline;
    gap: 0.1rem;
    margin-bottom: 0.3rem;
    padding-bottom: 0.3rem;
    border-bottom: 1.5px solid #eef3f8;
}
.cooperation-container .step-num {
    font-size: 0.4rem; /* 原2.2rem(22px) → 14px */
    font-weight: 800;
    color: #ddcfbb;
    line-height: 1;
    transition: color 0.2s;
}
.cooperation-container .flow-card:hover .step-num {
    color: #7b4801;
}
.cooperation-container .flow-title {
    font-size: 0.2rem;
    font-weight: 700;
    color: #333;
    letter-spacing: -0.2px;
}

/* 小标题列表 */
.cooperation-container .sub-list {
    list-style: none;
    margin-top: 0.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    flex: 1;
}
.cooperation-container .sub-list li {
    font-size: 0.15rem; /* 原1rem(10px) → 10px */
    line-height: 1.45;
    color: #333;
    display: flex;
    align-items: flex-start;
    gap: 0.1rem;
    font-weight: 500;
}
.cooperation-container .dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #7b4801;
    border-radius: 50%;
    margin-top: 0.1rem;
    flex-shrink: 0;
}
.cooperation-container .sub-list li span:last-child {
    flex: 1;
}

/* 装饰脚标 */
.cooperation-container .card-footnote {
    margin-top: 0.6rem;
    text-align: right;
    font-size: 0.5rem; /* 原0.8rem(8px) → 8px */
    color: #b3cfdb;
    border-top: 1px solid #eff5f8;
    padding-top: 0.4rem;
}



/* 入场动画保持不变 */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.cooperation-container .category-card {
    animation: fadeUp 0.5s ease backwards;
}
.cooperation-container .category-card:first-child {
    animation-delay: 0.05s;
}
.cooperation-container .category-card:last-child {
    animation-delay: 0.2s;
}
.cooperation-container .flow-card {
    animation: fadeUp 0.4s ease backwards;
}
.cooperation-container .category-card:first-child .flow-card{width: 24%;}
.cooperation-container .category-card:first-child .flow-card:nth-child(1) { animation-delay: 0.08s; }
.cooperation-container .category-card:first-child .flow-card:nth-child(2) { animation-delay: 0.12s; }
.cooperation-container .category-card:first-child .flow-card:nth-child(3) { animation-delay: 0.16s; }
.cooperation-container .category-card:first-child .flow-card:nth-child(4) { animation-delay: 0.2s; }
.cooperation-container .category-card:first-child .flow-card:nth-child(5) { animation-delay: 0.24s; }
.cooperation-container .category-card:first-child .flow-card:nth-child(6) { animation-delay: 0.28s; }
.cooperation-container .category-card:first-child .flow-card:nth-child(7) { animation-delay: 0.32s; }
.cooperation-container .category-card:last-child .flow-card:nth-child(1) { animation-delay: 0.1s; }
.cooperation-container .category-card:last-child .flow-card:nth-child(2) { animation-delay: 0.14s; }
.cooperation-container .category-card:last-child .flow-card:nth-child(3) { animation-delay: 0.18s; }
.cooperation-container .category-card:last-child .flow-card:nth-child(4) { animation-delay: 0.22s; }
.cooperation-container .category-card:last-child .flow-card:nth-child(5) { animation-delay: 0.26s; }
.cooperation-container .category-card:last-child .flow-card:nth-child(6) { animation-delay: 0.3s; }
.cooperation-container .category-card:last-child .flow-card:nth-child(7) { animation-delay: 0.34s; }

@media (min-width: 993px){
    .ind-banner-txt .ind-ban-t {font-size: 40px;}
    .showcase .main-title {font-size: 18px;}
    .showcase .description p{font-size: 14px;line-height: 1.5;}
    .structure-section .product-title{font-size: 14px;margin: 0 0 8px 0;}
    .quality-sec3 .info p{font-size: 14px;  line-height: 20px;}
}

/* 响应式 */
@media (max-width: 780px) {
    .cooperation-container body {
        padding: 1rem 0.75rem;
    }
    .cooperation-container .master-heading h1 {
        font-size: 0.9rem; /* 约14px */
    }
    .cooperation-container .category-title {
        font-size: 0.3rem;
        padding: 0.1rem 0.5rem;
        border-radius: 10px;
    }
    .cooperation-container .category-card {
        padding: 0.8rem;
    }
    .cooperation-container .flow-title {
        font-size: 0.26rem;
    }
    .cooperation-container .step-num {
        font-size: 0.75rem;
    }
    .cooperation-container .sub-list li {
        font-size: 0.26rem;
    }
    .cooperation-container .process-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }



    .cooperation-container .process-grid {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .cooperation-container .category-card:first-child .flow-card {
        width: 100%;
    }
    .cooperation-container .process-grid{height: 100%;}


    .cooperation-container .category-card:last-child .flow-card{width: 100%;}
}