/* ============================================
   腾隍纽扣 - 客户案例模块 (Cases Section) - 视觉升级版
   ============================================ */

.cases-section {
    padding: 100px 0;
    background-color: #f8f9fa;
}

/* 案例卡片重构 */
.case-card {
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* 图片展示区 */
.case-img-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.case-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* 图片上的行业标签 */
.case-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 15px;
    background-color: rgba(106, 121, 217, 0.9);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 50px;
    backdrop-filter: blur(4px);
    z-index: 2;
}

/* 内容区域 */
.case-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.case-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.case-desc {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* 数据展示块 - 更加精致 */
.case-data {
    margin-top: auto;
    background-color: #fcfcfd;
    border: 1px solid #f0f0f2;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.data-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.data-item:last-child {
    margin-bottom: 0;
}

.data-label {
    font-size: 13px;
    color: #999;
}

.data-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
}

/* 底部说明 */
.case-note {
    font-size: 12px;
    color: #adb5bd;
    display: flex;
    align-items: center;
    gap: 5px;
}

.case-note::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
}

/* 悬停动效 */
@media (min-width: 992px) {
    .case-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        border-color: rgba(106, 121, 217, 0.2);
    }

    .case-card:hover .case-img-wrapper img {
        transform: scale(1.1);
    }
}

/* 响应式调整 */
@media (max-width: 991.98px) {
    .case-img-wrapper {
        height: 200px;
    }
    
    .case-card {
        max-width: 500px;
        margin: 0 auto 30px;
    }
}
