#header-container .nav{
   background: transparent;
   transition: all 0.2s ease;
}

#header-container .nav:hover {
  background: url("/images/nav-bg.jpg") no-repeat center / cover !important;
}

#header-container .nav .menu .split-line {
    color: transparent;
}

#header-container .nav:hover .menu .split-line{
    color: var(--color-primary-11);
}

.support-bg{
    box-sizing: border-box;
    width: 100%;
    height: 32vh;
    min-height: 300px;
    position: relative;
    border-top: 1px solid transparent;
}

.support-bg .bg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.support-bg .mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 0;
}

.support-bg .title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: 0.15rem;
    color: #ffffff;
    z-index: 1;
}

.support-container {
    width: 80vw;
    margin: 0 auto;
    border-top: 1px solid transparent;
    position: relative;
    padding-top: 60px;
    padding-bottom: 20px;

}

/* 顶部产线切换 */
.line-tabs {
    display: flex;
    background: #fff;
    border-radius: 30px 30px 0 0;
    overflow: hidden;
    margin-bottom: 0;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.line-tab {
    flex: 1;
    text-align: center;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 2;
    overflow: hidden;
    color: #555;
    border-radius: 30px 30px 0 0;
    height: 60px;
}

.line-tab:hover {
    background: rgba(0, 0, 0, 0.05);
}

.line-tab.active {
    color: white;
    font-size: 22px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.line-tab:focus {
    outline: none;
    box-shadow: none;
    background: transparent;
}

/* 激光切割水波纹效果 */
.line-tab.laser.active {
    background: linear-gradient(135deg, #a00000 0%, #ff6b6b 100%);
}

.line-tab.laser.active::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, #c00000 0%, transparent 80%);
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: ripple-laser 0.8s ease-out forwards;
}

@keyframes ripple-laser {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 400px;
        height: 400px;
        opacity: 0;
    }
}

/* 水切割水波纹效果 */
.line-tab.water.active {
    background: linear-gradient(135deg, #005d8f 0%, #00c6ff 100%);
}

.line-tab.water.active::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, #0077b6 0%, transparent 80%);
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: ripple-water 0.8s ease-out forwards;
}

@keyframes ripple-water {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 400px;
        height: 400px;
        opacity: 0;
    }
}

.line-tab i {
    font-size: 24px;
}

/* 产品系统区域 */
.products-section {
    border-radius: 8px;
    padding: 30px 0;
    margin: 40px auto;
    position: relative;
    width: 90%;
    padding: 0 2rem;
}

.products-container {
    position: relative;
    padding: 15px 0 25px;
    overflow: hidden;
}

.products-container .title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
    position: relative;
    z-index: 1;
}

.products-slider {
    display: flex;
    transition: transform 0.4s ease-in-out;
    gap: 30px;
}

.product-card {
    flex: 0 0 calc(25% - 22.5px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: #fff;
    border: 1px solid #eee;
    height: 260px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.product-card.active {
    /* border: 1px solid rgba(192, 0, 0, 0.25); */
    background: linear-gradient(135deg, rgba(192, 0, 0, 0.2) 0%, rgba(255, 255, 255, 0.9) 100%);
    box-shadow: 2px 3px 10px rgba(192, 0, 0, 0.2);
}

.product-card.active .product-name{
    color: #C00000;
}

.product-card.active .product-type{
    color: #C00000;
}

.water-theme .product-card.active {
    /* border: 1px solid rgba(0, 119, 182, 0.25); */
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.2) 0%, rgba(255, 255, 255, 0.9) 100%);
    box-shadow: 2px 3px 10px rgba(0, 119, 182, 0.2);
}

.water-theme .product-card.active .product-name{
    color: rgb(0, 119, 182);
}

.water-theme .product-card.active .product-type{
    color: rgb(0, 119, 182);
}

.product-icon {
    width: 85px;
    height: 85px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    overflow: hidden;
    border-radius: 12px;
}

.product-card.active .product-icon {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.product-icon svg {
    width: 60px;
    height: 60px;
}

.product-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
    text-align: center;
    color: #303030;
    line-height: 1.5;
    min-height: 2.2em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-type {
    font-size: 1rem;
    color: #666;
    text-align: center;
    line-height: 1.4;
}

.nav-arrows {
    display: flex;
    gap: 20px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: calc(100% + 80px);
    left: -40px;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    color: #555;
    pointer-events: auto;
}

.arrow:hover {
    background: rgba(192,0,0,0.7);
    color: white;
    transform: scale(1.05);
}

.water-theme .arrow:hover {
    background: #0077b6;
    opacity: 0.8;
}

.selected-line {
    position: absolute;
    height: 4px;
    background: #c00000;
    border-radius: 2px;
    transition: all 0.4s ease;
    width: 60%;
    left: 20%;
}

.water-theme .selected-line {
    background: #0077b6;
}

/* 资料卡片区域 */
.download-card {
    background: white;
    border-radius: 8px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 40px auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    position: relative;
    overflow: hidden;
    width: calc(90% - 50px);
    padding: 2rem;
}

.download-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(192, 0, 0, 0.15);
    border-color: rgba(192, 0, 0, 0.3);
}

.download-card:hover .download-title{
    color: #c00000;
}

.water-theme .download-card:hover {
    border-color: rgba(0, 119, 182, 0.3);
    box-shadow: 0 8px 25px rgba(0, 119, 182, 0.15);
}

    .water-theme .download-card:hover .download-title{
    color: rgb(0, 119, 182);;
}

.download-icon {
    width: 72px;
    height: 72px;
    background: #f0f7ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #c00000;
    z-index: 1;
}

.water-theme .download-icon {
    color: #0077b6;
}

    .download-card:hover .download-icon{
    transform: scale(1.05) rotate(-15deg);
}

.download-content {
    flex: 1;
    z-index: 1;
}

.download-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #222;
}

.download-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.arrow-icon {
    width: 50px;
    height: 83px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #c00000;
    z-index: 1;
}

.water-theme .arrow-icon {
    color: #0077b6;
}

/* 资料卡片组 */
.materials-section {
    margin: 60px auto;
    width: 90%;
    padding: 0 2rem;
}

.section-header {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #222;
    padding-left: 10px;
    border-left: 5px solid #c00000;
}

.water-theme .section-header {
    border-left: 5px solid #0077b6;
}

.cards-container {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.material-card {
    flex: 0 0 calc(33.333% - 16.666px);
    background: white;
    border-radius: 8px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 1.875rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    height: 160px;
    position: relative;
    overflow: hidden;
}

.material-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(192, 0, 0, 0.15);
    border-color: rgba(192, 0, 0, 0.3);
}

    .material-card:hover .material-name{
    color: #c00000;
    }

.water-theme .material-card:hover {
    border-color: rgba(0, 119, 182, 0.3);
    box-shadow: 0 15px 35px rgba(0, 119, 182, 0.15);
}

    .water-theme .material-card:hover .material-name{
    color: rgb(0, 119, 182);
    }

.material-icon {
    width: 68px;
    height:68px;
    background: #f0f7ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #c00000;
    z-index: 1;
}

.water-theme .material-icon {
    color: #0077b6;
}

.material-card:hover .material-icon{
    transform: scale(1.05) rotate(-10deg);
}

.material-content {
    flex: 1;
    z-index: 1;
}

.material-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #222;
}

.material-desc {
    font-size: 15px;
    color: #666;
}

/* 移动端样式优化 */
@media (max-width: 768px) {
    .support-bg{
        min-height: 200px;
    }

    .support-bg .title {
        font-size: 2.5rem;
    }

    /* 1. 父容器宽度92vw */
    .support-container {
        width: 92vw;
        margin: 30px auto;
        padding: 0;
    }
    
    /* 2. 产线标签调整 */
    .line-tab {
        padding: 12px;
        font-size: 16px;
    }
    
    .line-tab i {
        font-size: 18px;
    }
    
    .line-tab.active {
        font-size: 18px;
    }
    
    /* 3. 产品卡片区域 */
    .products-section {
        width: 100%;
        padding: 0;
        margin: 20px auto;
    }
    
    .products-container {
        padding: 10px 0;
    }

    .product-card:hover {
        transform: none !important;
    }

    .product-card {
        flex: 0 0 calc(50% - 20px) !important;
        height: 200px;
    }
    
    .nav-arrows {
        top: 50%;
        width: calc(100% + 3.75rem) !important;
        left: -1.875rem !important;
    }
    
    .arrow {
        width: 30px;
        height: 30px;
        background: transparent;
        box-shadow: none;
        color: #ccc; /* 默认灰色 */
    }
    
    .laser-theme .arrow.active {
        color: #c00000; /* 激活状态为红色 */
    }
    
    .water-theme .arrow.active {
        color: #0077b6; /* 激活状态为蓝色 */
    }
    
    .arrow:hover {
        background: transparent !important;
        transform: none;
    }
    
    /* 4. 软件下载卡片样式 */
    .download-card {
        width: 100%;
        padding: 15px;
        height: auto;
        gap: 15px;
        margin: 20px auto;
    }
    
    .download-title {
        font-size: 18px;
    }
    
    .download-desc {
        font-size: 14px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.4;
    }
    
    .download-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .arrow-icon {
        width: 30px;
        height: auto;
        font-size: 20px;
    }
    
    /* 5. 资料卡片区域 */
    .materials-section {
        width: 100%;
        padding: 0;
        margin: 20px auto;
    }
    
    .section-header {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .cards-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .material-card {
        flex: 0 0 100%;
        height: auto;
        padding: 15px;
        gap: 15px;
    }
    
    .material-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .material-name {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .material-desc {
        font-size: 14px;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .product-card {
        flex: 0 0 calc(33.333% - 20px);
    }
    .material-card {
        flex: 0 0 calc(33.333% - 16.666px);
    }
}

@media (max-width: 992px) {
    .support-container {
        width: 95vw;
        padding: 25px;
        margin: 30px auto;
    }

    .product-card {
        flex: 0 0 calc(50% - 15px);
    }

    .cards-container {
        gap: 20px;
    }

    .material-card {
        flex: 0 0 calc(50% - 10px);
    }
    .nav-arrows {
        width: calc(100% + 60px);
        left: -30px;
    }
}

@media (max-width: 768px) {
    .line-tabs {
        flex-direction: row; /* 保持标签在同一行 */
    }
     .product-card .product-name {
        font-size: 18px !important;
    }
}

@media (max-width: 480px) {
    .support-container {
        margin: 20px auto;
        padding: 15px;
    }
    .download-title, .section-header {
        font-size: 20px;
    }
    .material-card {
        min-width: 100%;
    }

    .product-card .product-name {
        font-size: 18px !important;
    }
}

/* 隐藏空区域的样式 */
.hidden-section {
    display: none !important;
}