/* 集团案例模块样式 - 适配整体页面风格 */
.group-cases-section {
    padding: 100px 0;
    background: #f8f9ff;
    position: relative;
    overflow: hidden;
}

.group-cases-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    z-index: 1;
}

.group-cases-section .container {
    width: 85%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.tabs-container {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.tabs-container:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.tab-buttons {
    display: flex;
    background: linear-gradient(135deg, #f8f9ff 0%, #f1f3ff 100%);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
}

.tab-buttons::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.3), transparent);
}

.tab-btn {
    flex: 1;
    padding: 24px 20px;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 500;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border-bottom: 3px solid transparent;
    text-align: center;
}

.tab-btn:hover {
    background: rgba(102, 126, 234, 0.05);
    color: #667eea;
    transform: translateY(-2px);
}

.tab-btn.active {
    background: #ffffff;
    color: #667eea;
    font-weight: 600;
    border-bottom-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.tab-content {
    padding: 60px;
    background: #ffffff;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.group-intro, .store-cases, .results-show {
    margin-bottom: 50px;
}

.group-intro h3, .store-cases h3, .results-show h3 {
    font-size: 28px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 25px;
    position: relative;
    padding-left: 20px;
}

.group-intro h3::before, .store-cases h3::before, .results-show h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.group-intro p {
    font-size: 17px;
    line-height: 1.9;
    color: #4a5568;
    text-align: justify;
    background: rgba(102, 126, 234, 0.03);
    padding: 30px;
    border-radius: 12px;
    border-left: 3px solid rgba(102, 126, 234, 0.2);
    margin-bottom: 0;
}

.group-image-placeholder {
    margin-bottom: 25px;
    text-align: center;
    width: 100%;
}

.group-image-placeholder img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.group-image-placeholder img:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .group-image-placeholder img {
        height: 200px;
        border-radius: 8px;
    }
}
/* 案例网格 */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 30px;
    width: 100%;
}

.case-item {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    height: 320px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(20px);
}

.case-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.25);
    border-color: rgba(102, 126, 234, 0.4);
}

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

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

.case-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.9);
}

.case-item:hover img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

.case-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.7) 85%,
        rgba(0, 0, 0, 0.9) 100%
    );
    z-index: 2;
}

.case-item span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: #fff;
    padding: 30px 20px 20px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    text-align: center;
    z-index: 3;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    backdrop-filter: blur(8px);
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-item:hover span {
    transform: translateY(-8px);
    padding-bottom: 28px;
    font-size: 17px;
}

.results-show ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.results-show li {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    padding: 32px;
    border-radius: 20px;
    font-size: 16px;
    line-height: 1.8;
    color: #4a5568;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.results-show li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.results-show li::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(102, 126, 234, 0.03) 50%, transparent 70%);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.results-show li:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.results-show li:hover::after {
    transform: rotate(45deg) translate(50%, 50%);
}

.results-show strong {
    color: #667eea;
    font-weight: 700;
    font-size: 18px;
    display: block;
    margin-bottom: 12px;
    position: relative;
    padding-left: 24px;
}

.results-show strong::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 2px;
    color: #667eea;
    font-weight: 900;
    font-size: 14px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.results-show li p {
    margin: 0;
    color: #2d3748;
    font-weight: 400;
}

/* 大屏幕优化 */
@media (min-width: 1600px) {
    .group-cases-section .container {
        width: 85%;
        max-width: 1600px;
        padding: 0 60px;
    }
    
    .cases-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 35px;
    }
    
    .case-item {
        padding: 25px;
    }
}

/* 响应式设计 - 与整体页面保持一致 */
@media (max-width: 1600px) {
    .group-cases-section .container {
        width: 85%;
        max-width: 1400px;
        padding: 0 40px;
    }
}

@media (max-width: 1200px) {
    .group-cases-section .container {
        width: 85%;
        max-width: 1200px;
        padding: 0 30px;
    }
    
    .cases-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .group-cases-section .container {
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
    }
    
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .group-cases-section {
        padding: 40px 20px;
    }
    
    .group-cases-section .container {
        width: 100%;
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .tab-buttons {
        flex-direction: column;
    }
    
    .tab-btn {
        padding: 18px 15px;
        font-size: 14px;
        border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    }
    
    .tab-content {
        padding: 25px 15px;
    }
    
    .group-intro h3, .store-cases h3, .results-show h3 {
        font-size: 22px;
    }
    
    .group-intro p {
        font-size: 15px;
        padding: 15px;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .case-item {
        height: 240px;
        border-radius: 12px;
    }
    
    .case-item span {
        font-size: 14px;
        padding: 25px 12px 12px;
    }
    
    .case-item:hover span {
        font-size: 15px;
        padding-bottom: 15px;
    }
    
    .results-show ul {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .results-show li {
        padding: 20px;
        font-size: 14px;
        border-radius: 16px;
    }
    
    .results-show strong {
        font-size: 16px;
        margin-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .group-cases-section {
        padding: 40px 15px;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .tab-btn {
        padding: 15px 10px;
        font-size: 14px;
    }
    
    .tab-content {
        padding: 20px 15px;
    }
    
    .group-intro p {
        font-size: 15px;
        padding: 15px;
    }
}