/* 搅拌摩擦焊设备介绍样式 */
.fsw-intro-section {
    padding: 0px 0 80px;
   
    position: relative;
}



.fsw-intro-content {
    text-align: center;
    margin: 0 auto;
    position: relative;
}

.fsw-main-title {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    font-family: "OPPOSans-B", "Microsoft YaHei", sans-serif;
    letter-spacing: 1px;
    position: relative;
    text-align: center;
}

.fsw-main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3B4284, #2a2f5e);
    border-radius: 2px;
}

.fsw-subtitle-wrapper {
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.4;
}

.fsw-subtitle-bold {
    display: block;
    font-size: 50px;
    font-weight: 800;
    color: #333333;
    line-height: 70px;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    margin-bottom: 10px;
}

.fsw-subtitle-text {
    display: block;
    font-size: 35px;
    font-weight: 400;
    color: #777777;
    line-height: 49px;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.fsw-description {
    text-align: left;
    line-height: 2.2;
    color: #999999;
    font-size: 15px;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    font-weight: 400;
    margin: 0 auto;
}

.fsw-description p {
    margin-bottom: 0px;
    text-indent: 2em;
}

.fsw-description p:last-child {
    margin-bottom: 0;
}

/* 主营业务样式 */
.main-business-section {
    padding: 40px 0;
    background: #ffffff;
    position: relative;
}



.pro-section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 70px;
    font-family: "OPPOSans-B", "Microsoft YaHei", sans-serif;
    position: relative;
    letter-spacing: 1px;
}



.business-item {
    display: flex;
    align-items: stretch;
  
    background: #fff;
  
    overflow: hidden;
   
    transition: all 0.3s ease;
   
    position: relative;
}

.business-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3B4284, #2a2f5e);
}

.business-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.business-item:nth-child(even) {
    flex-direction: row-reverse;
}

.business-item:nth-child(even) .business-content {
    border-left: none;
    border-right: 1px solid #f0f0f0;
}

.business-image {
    flex: 0 0 50%;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.business-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(59,66,132,0.1), rgba(42,47,94,0.1));
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.business-item:hover .business-image::before {
    opacity: 1;
}

.business-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.business-item:hover .business-image img {
    transform: scale(1.05);
}

.business-content {
    flex: 1;
    padding: 40px;
    border-left: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.business-content h3 {
    font-family: "PingFang SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-weight: bold;
    font-size: 28px;
    color: #333333;
    line-height: 40px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin-bottom: 20px;
    position: relative;
}



.business-features {
    list-style: none;
    padding: 0;
    margin-bottom: 35px;
}

.business-features li {
    padding: 12px 0;
    color: #555;
    position: relative;
    padding-left: 25px;
    font-size: 14px;
    line-height: 1.6;
    border-bottom: 1px solid #f8f9fa;
}

.business-features li:last-child {
    border-bottom: none;
}

.business-features li:before {
    content: "✓";
    color: #3B4284;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 12px;
    font-size: 16px;
}

.business-text {
    font-family: "PingFang SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: #999999;
    line-height: 20px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f8f9fa;
}



.business-text:last-child {
    border-bottom: none;
}

.image-placeholder {
    color: #999;
    font-style: italic;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    margin-top: 25px;
    border: 2px dashed #dee2e6;
    font-size: 15px;
}

.view-more-btn {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(59,66,132,0.2);
    position: relative;
    margin-top: auto;
    align-self: flex-start;
}



.view-more-btn:hover {
    background: #2a2f5e;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59,66,132,0.3);
}

/* 部分案例展示样式 */
.case-showcase-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.case-showcase-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e0e0e0 50%, transparent 100%);
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 16px;
    margin-bottom: 60px;
    font-weight: 400;
    letter-spacing: 1px;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0 auto;
}

.case-item {
    aspect-ratio: 1.5; /* 长方形比例 3:2 */
    background: #f0f0f0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 0;
    padding-bottom: 66.67%; /* 长方形比例 2:3 */
}

.case-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(59,66,132,0.1), rgba(42,47,94,0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.case-item:hover::before {
    opacity: 1;
}

.case-item:hover {
    transform: scale(1.05);
    border-color: #3B4284;
    box-shadow: 0 10px 30px rgba(59,66,132,0.2);
}

.case-placeholder {
    color: #999;
    font-size: 15px;
    text-align: center;
    font-weight: 500;
    z-index: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

/* 应用领域样式 */
.application-area-section {
    padding: 80px 0;
    background: #ffffff;
    position: relative;
}

.application-area-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e0e0e0 50%, transparent 100%);
}

.application-grid {
    column-count: 4;
    column-gap: 20px;
    margin: 0 auto;
    height: auto;
    min-height: auto;
    column-fill: balance;
}

.application-item {
    text-align: center;
    padding: 0px;
    position: relative;
    overflow: hidden;
    height: auto;
    display: inline-block;
    width: 100%;
    break-inside: avoid;
    margin-bottom: 20px;
    page-break-inside: avoid;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    min-height: auto;
}




.application-image {
    width: 100%;
    position: relative;
    height: auto;
}

.application-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.application-item:hover .application-image img {
    transform: scale(1.05);
}

.application-label-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #1a1a1a;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    margin-top: 8px;
}

.application-icon-small {
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.application-icon-small svg {
    width: 12px;
    height: 12px;
    color: #1a1a1a;
}

.application-label {
    font-size: 14px;
    font-weight: 600;
    color: white;
    display: block;
    transition: color 0.3s ease;
    font-family: "OPPOSans-M", "Microsoft YaHei", sans-serif;
}

.application-item:hover .application-label {
    color: white;
}

/* 产品网格样式 */
.product-grid-container {
    padding: 40px 0;
    position: relative;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}



.product-item {
    position: relative;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(59, 66, 132, 0.15);
    text-decoration: none;
    color: inherit;
}

.product-image {
    position: relative;
    width: 100%;
    height:300px;
    overflow: hidden;
}



.product-image img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

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

.product-label {
    text-align: center;
    padding: 15px 10px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    background: #fff;
    border-top: 1px solid #e9ecef;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.4;
}

/* 产品详情页面样式 */

.product-detail-container {
    padding: 40px 0;
}

/* 产品图片区域 */
.product-image-section {
    position: relative;
}

.product-image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.product-image-slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.product-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    z-index: 20;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    z-index: 21;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.nav-btn img {
    width: 20px;
    height: 20px;
}

/* CSS箭头样式 */
.arrow-left,
.arrow-right {
    width: 0;
    height: 0;
    border: 8px solid transparent;
    display: inline-block;
}

.arrow-left {
    border-right-color: #333;
    border-left: none;
}

.arrow-right {
    border-left-color: #333;
    border-right: none;
}

.nav-btn:hover .arrow-left {
    border-right-color: #3B4284;
}

.nav-btn:hover .arrow-right {
    border-left-color: #3B4284;
}

.image-dots {
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #3B4284;
}

.dot:hover {
    background: #3B4284;
}

.product-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    color: white;
    margin: 0;
}

.product-title h3 {
    margin: 0;
    color: white;
    font-size: 18px;
    font-weight: 600;
}

/* 产品功能特点 */
.product-features {
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.features-title {
    font-family: PingFang SC, PingFang SC;
    font-weight: bold;
    font-size: 20px;
    color: #333333;
    line-height: 31px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin-bottom: 25px;
    padding-bottom: 10px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    position: relative;
    padding: 12px 0 12px 25px;
    color: #555;
    line-height: 1.6;
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list li::before {
    content: "★";
    position: absolute;
    left: 0;
    top: 12px;
    color: #3B4284;
    font-size: 14px;
}

/* 功能特点文本样式 */
.features-text {
    font-family: PingFang SC, PingFang SC;
    font-weight: 500;
    font-size: 14px;
    color: #777777;
    line-height: 31px;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

/* 产品介绍标题样式 */
.pro-section-title {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 30px;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.pro-title-cn {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    position: relative;
    display: inline-block;
}

.pro-title-cn::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #3B4284;
}

.pro-section-subtitle {
    font-size: 14px;
    color: #999;
    font-weight: 400;
}

/* 产品介绍内容样式 */
.introduction-content {
    font-family: PingFang SC, PingFang SC;
    font-weight: 800;
    font-size: 25px;
    color: #333333;
    line-height: 36px;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

/* 内容副标题样式 */
.content-subtitle {
    font-family: PingFang SC, PingFang SC;
    font-weight: 300;
    font-size: 14px;
    color: #999999;
    line-height: 20px;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

/* 产品介绍和设备参数 */
.product-introduction,
.equipment-parameters {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.section-title {
    color: #333;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.section-subtitle {
    color: #999;
    font-size: 14px;
    font-weight: 400;
}

.content-subtitle {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.feature-list {
    padding-left: 20px;
    margin: 0;
}

.feature-list li {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
    padding-left: 10px;
}

.feature-list li:last-child {
    margin-bottom: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .fsw-main-title {
        font-size: 32px;
    }
    
    .fsw-subtitle-bold {
        font-size: 36px;
        line-height: 50px;
    }
    
    .fsw-subtitle-text {
        font-size: 24px;
        line-height: 34px;
    }
    
    .fsw-description {
        display: none !important;
    }
    
    .business-item {
        flex-direction: column !important;
        margin-bottom: 50px;
    }
    
    .business-item:nth-child(even) .business-content {
        border-right: none;
        border-top: 1px solid #f0f0f0;
    }
    
    .business-image {
        flex: none;
        height: 280px;
    }
    
    .business-content {
        padding: 35px 25px;
        border-left: none;
    }
    
    .business-content h3 {
        font-size: 24px;
        line-height: 32px;
    }
    
    .business-content h3::before {
        left: -25px;
        width: 2px;
        height: 20px;
    }
    
    .business-text {
        font-size: 12px;
        line-height: 18px;
        position: relative;
        max-height: 54px; /* 显示3行内容 */
        overflow: hidden;
        transition: max-height 0.3s ease;
        cursor: pointer;
    }
    
    .business-text.expanded {
        max-height: none;
    }
    
    .business-text::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 18px;
        background: linear-gradient(transparent, white);
        pointer-events: none;
    }
    
    .business-text.expanded::after {
        display: none;
    }
    

    
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin: 0 15px;
    }
    
    
    .application-item {
        margin-bottom: 20px;
        height: auto;
        break-inside: avoid;
        width: 100%;
        display: inline-block;
    }
    
    .application-image {
        height: auto;
    }

    .product-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 20px;
        margin: 0 15px;
    }
    
    .product-image {
        height: 180px;
    }
    
    .product-label {
        font-size: 13px;
        padding: 12px 8px;
    }

    .product-detail-container {
        padding: 20px 0;
    }
    
    .product-main-image {
        height: 300px;
    }
    
    .product-features,
    .product-introduction,
    .equipment-parameters {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .section-title {
        font-size: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .section-subtitle {
        font-size: 12px;
    }
    
    .nav-btn {
        width: 35px;
        height: 35px;
    }
    
    .nav-btn img {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .fsw-intro-section,
    .main-business-section,
    .case-showcase-section,
    .application-area-section {
        padding: 50px 0;
    }
    
    .fsw-main-title {
        font-size: 28px;
    }
    
    .fsw-subtitle-bold {
        font-size: 28px;
        line-height: 40px;
    }
    
    .fsw-subtitle-text {
        font-size: 20px;
        line-height: 28px;
    }
    
    .case-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .application-grid {
        column-count: 2;
        column-gap: 5px;
    }
    
    .application-item {
        margin-bottom: 20px;
        height: auto;
        break-inside: avoid;
        width: 100%;
        display: inline-block;
    }
    
    .application-image img {
        width: 100%;
        height: auto;
        display: block;
    }
    
    .business-content {
        padding: 25px 20px;
    }
    
    .business-content h3 {
        font-size: 20px;
        line-height: 28px;
    }
    
    .business-text {
        font-size: 11px;
        line-height: 16px;
    }
    
    .view-more-btn {
        padding: 12px 25px;
        font-size: 13px;
    }

    .product-grid-container {
        padding: 30px 0;
    }
    
    .product-grid {
        gap: 15px;
        margin: 0 10px;
    }
    
    .product-image {
        height: 160px;
    }
    
    .product-label {
        font-size: 12px;
        padding: 10px 6px;
    }

    .product-main-image {
        height: 250px;
    }
    
    .features-title {
        font-size: 18px;
    }
    
    .content-subtitle {
        font-size: 16px;
    }
    
    .feature-list {
        padding-left: 15px;
    }
    
    .feature-list li {
        font-size: 14px;
    }
}

/* 超小屏幕优化 */
@media (max-width: 360px) {
    
    .application-item {
        margin-bottom: 20px;
    }
}
