/* 业务展示部分样式 */
.business-showcase-section {
    padding: 80px 0;
    background-color: rgba(117, 9, 14);
    opacity: 0;
}

.business-module {
    position: relative;
    height: 500px;
    margin-bottom: 60px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
}

.business-showcase-section.active {
    animation: fadeInUp 1s ease-out forwards;
}

.business-module.active {
    opacity: 1;
    transform: translateY(0);
}

.business-module.active:nth-child(1) {
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.business-module.active:nth-child(2) {
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.business-module:nth-child(1) {
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.business-module:nth-child(2) {
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.business-module:hover {
    transform: translateY(0);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.tax-service-module {
    background-image: url('../image/tax-service-bg.png');
    background-size: cover;
    background-position: center;
}

.agent-service-module {
    background-image: url('../image/agent-service-bg.png');
    background-size: cover;
    background-position: center;
}

.software-service-module {
    background-image: url('../image/software-service-bg.png');
    background-size: cover;
    background-position: center;
}

.business-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 111, 165, 0.85) 0%, rgba(74, 111, 165, 0.7) 100%);
    z-index: 1;
    transition: all 0.6s ease;
}

.business-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 0 60px;
    width: 100%;
    max-width: 800px;
    opacity: 1;
    transform: translateY(0);
}

.business-title {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.business-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

.service-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    position: relative;
    z-index: 3;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
    width: 100%;
    max-width: none;
}

.service-link {
    color: #4a9eff;
    font-weight: bold;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 4;
    opacity: 0;
    transform: translateY(10px);
    font-size: 16px;
    white-space: nowrap;
    flex: 0 0 auto;
}

.service-link:nth-child(1) {
    animation: fadeInUp 0.5s ease-out 0.7s forwards;
}

.service-link:nth-child(2) {
    animation: fadeInUp 0.5s ease-out 0.8s forwards;
}

.service-link:nth-child(3) {
    animation: fadeInUp 0.5s ease-out 0.9s forwards;
}

.service-link:nth-child(4) {
    animation: fadeInUp 0.5s ease-out 1.0s forwards;
}

.service-link:nth-child(5) {
    animation: fadeInUp 0.5s ease-out 1.1s forwards;
}

.service-link:nth-child(6) {
    animation: fadeInUp 0.5s ease-out 1.2s forwards;
}

.tax-service-module::after {
    content: '';
    position: absolute;
    bottom: -60%;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.tax-service-module.service-active-1::after {
    background-image: url('../image/11.png'); /* 财务服务图片 */
    bottom: 0;
    opacity: 1;
}

.tax-service-module.service-active-2::after {
    background-image: url('../image/12.png'); /* 税务服务图片 */
    bottom: 0;
    opacity: 1;
}

.tax-service-module.service-active-3::after {
    background-image: url('../image/13.png'); /* 发票服务图片 */
    bottom: 0;
    opacity: 1;
}

.tax-service-module.service-active-4::after {
    background-image: url('../image/14.png'); /* 进出口退税图片 */
    bottom: 0;
    opacity: 1;
}

.tax-service-module.service-active-5::after {
    background-image: url('../image/15.png'); /* 解除异常图片 */
    bottom: 0;
    opacity: 1;
}

.tax-service-module.service-active-6::after {
    background-image: url('../image/16.png'); /* 账务调整图片 */
    bottom: 0;
    opacity: 1;
}

.agent-service-module::after {
    content: '';
    position: absolute;
    bottom: -60%;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.agent-service-module.service-active-1::after {
    background-image: url('../image/17.png'); /* 营业执照注册图片 */
    bottom: 0;
    opacity: 1;
}

.agent-service-module.service-active-2::after {
    background-image: url('../image/18.png'); /* 营业执照注销图片 */
    bottom: 0;
    opacity: 1;
}

.agent-service-module.service-active-3::after {
    background-image: url('../image/19.png'); /* 许可办理图片 */
    bottom: 0;
    opacity: 1;
}

.agent-service-module.service-active-4::after {
    background-image: url('../image/20.png'); /* 其他服务图片 */
    bottom: 0;
    opacity: 1;
}

.software-service-module::after {
    content: '';
    position: absolute;
    bottom: -60%;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.software-service-module.service-active-1::after {
    background-image: url('../image/23.png'); /* 网页/官网图片 */
    bottom: 0;
    opacity: 1;
}

.software-service-module.service-active-2::after {
    background-image: url('../image/24.png'); /* 办公系统图片 */
    bottom: 0;
    opacity: 1;
}

.software-service-module.service-active-3::after {
    background-image: url('../image/25.png'); /* APP图片 */
    bottom: 0;
    opacity: 1;
}

.software-service-module.service-active-4::after {
    background-image: url('../image/26.png'); /* 小程序图片 */
    bottom: 0;
    opacity: 1;
}

.service-link:hover {
    background-color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: #4a6fa5;
}

.detail-btn {
    background-color: #4a6fa5;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 3;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 1.3s forwards;
}

.detail-btn:hover {
    background-color: #3a5f95;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    50% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .business-module {
        height: 400px;
    }
    
    .business-content {
        padding: 0 30px;
    }
    
    .business-title {
        font-size: 28px;
    }
    
    .business-description {
        font-size: 14px;
    }
    
    .service-links {
        gap: 10px;
    }
    
    .service-link {
        padding: 6px 12px;
        font-size: 14px;
        flex: 0 0 calc(33.333% - 8px);
    }
}

@media (max-width: 480px) {
    .business-module {
        height: 450px;
    }
    
    .business-title {
        font-size: 24px;
    }
    
    .service-links {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .business-module::after {
        display: none;
    }
    
    .business-module {
        animation: fadeInUp 0.8s ease-out forwards !important;
    }
    
    .service-link {
        animation: fadeInUp 0.5s ease-out forwards !important;
    }
}