/* 客户案例页面专用样式 */
.case-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
}

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

.case-logo {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-radius: 12px;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}

.case-item:hover .case-logo {
    transform: scale(1.05);
}

.case-logo img {
    max-width: 85%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter 0.3s;
}

.case-item:hover .case-logo img {
    filter: grayscale(0%);
}

.case-name {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    letter-spacing: -0.2px;
    position: relative;
    z-index: 1;
}

.case-qrcode {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    z-index: 10;
    border: 2px solid rgba(102, 126, 234, 0.2);
}

.case-item:hover .case-qrcode {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.case-qrcode::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #0063F7, #0063F7);
    border-radius: 22px;
    opacity: 0.1;
    z-index: -1;
}

.case-qrcode img {
    width: 180px;
    height: 180px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.case-qrcode p {
    margin-top: 15px;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
}
