/* 主要内容区域 */
.section {
    min-height: 100vh;
    padding: 100px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* 产品展示横幅 */
.product-banner {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    padding: 20px 0;
}

.product-card {
    display: inline-block;
    width: 300px;
    margin: 0 20px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .section {
        padding: 50px 20px;
    }

    .product-card {
        width: 250px;
    }
}

/* 新增产品展示样式 */
.product-showcase {
    width: 100%;
    padding: 0;
}

/* 5种不同的渐变背景 */
.product-row:nth-child(1) {
    background: linear-gradient(135deg, #667eea, #5a67d8);
}
.product-row:nth-child(2) {
    background: linear-gradient(135deg, #764ba2, #6B46C1);
}
.product-row:nth-child(3) {
    background: linear-gradient(135deg, #9F7AEA, #805AD5);
}
.product-row:nth-child(4) {
    background: linear-gradient(135deg, #553C9A, #44337A);
}
.product-row:nth-child(5) {
    background: linear-gradient(135deg, #322659, #1A202C);
}

.product-row {
    position: relative;
    width: 100%;
    height: 300px; /* 固定高度 */
    overflow: hidden; /* 隐藏超出部分 */
}

.image-with-overlay {
    position: relative;
    width: 100%;
    height: 300px; /* 固定高度 */
    overflow: hidden;
    display: flex;
    align-items: center;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 图片自适应填充 */
}

/* 原始渐变样式 */
.gradient-overlay-origin {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
              rgb(0, 0, 0) 10%, 
              rgba(0, 0, 0, 0.686) 30%, 
              rgba(0, 0, 0, 0) 100%);
    transition: all 0.3s ease; /* 添加过渡效果 */
}

/* 悬停时渐变增强 */
.image-with-overlay:hover .gradient-overlay {
    background: linear-gradient(
        90deg, 
        rgba(0,0,0,0.9) 0%, 
        rgba(0,0,0,0.5) 50%, 
        rgba(0,0,0,0) 100%
    );
    transition: all 0.3s ease;
}

/* 点击波纹效果
.overlay-content:active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    animation: ripple 0.6s linear;
} */
/* 响应式调整 */
@media (max-width: 768px) {
    .product-content {
        flex-direction: column;
        padding: 30px;
        text-align: center;
        align-items: stretch; /* 使两侧高度一致 */
    }
    
    .product-text {
        padding-right: 0;
        margin-bottom: 30px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .product-image {
        width: 100%;
    }

    .product-image-container {
        width: 100%;
        height: 180px;
    }

    .product-title {
        font-size: 2em;
    }
    
    .product-subtitle {
        font-size: 1.2em;
    }
    
    .image-content {
        width: 90%;
    }
}

/* 波纹动画关键帧 */
/* @keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
} */

/* 波纹效果样式 */
/* .clickable {
    position: relative;
    overflow: hidden;
}
.clickable::after {
    content: '';
    position: absolute;
    top: var(--click-y);
    left: var(--click-x);
    width: 5px;
    height: 5px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    transform: scale(0);
    pointer-events: none;
} */

/* 激活状态 */
/* .clickable:active::after {
    animation: ripple 0.6s linear;
} */

/* 新增样式 */

.button-group {
    position: absolute;
    right: 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 3;
}

.outline-btn {
    background: transparent;
        border: 1px solid white; /* 白色细线边框 */
        color: white; /* 白色文字 */
        padding: 10px 25px;
        border-radius: 25px;
        font-size: 0.9rem;
        cursor: pointer;
        transition: all 0.3s ease;
        outline: none;
        min-width: 120px;
        text-align: center;
}

.outline-btn:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}


/* 响应式调整 */
@media (max-width: 768px) {
    .button-group {
        right: 20px;
        gap: 10px;
    }
    
    .outline-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    .overlay-content {
        margin-right: 120px;
    }
}

 