/* 雷打扫描效果商务风格加载动画 */

.integrated-data-dashboard.loading {
    position: relative;
    width: 100%;
    height: 120px;
    overflow: hidden;
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        #ffffff 0%, 
        #f8fafc 25%, 
        #f1f5f9 50%, 
        #e2e8f0 75%, 
        #cbd5e1 100%
    );
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* 层次分明商务背景 */
.business-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.bg-layer-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(59, 130, 246, 0.08) 0%, 
        rgba(16, 185, 129, 0.06) 50%, 
        rgba(245, 158, 11, 0.04) 100%
    );
}

.bg-layer-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.08) 0%, transparent 40%);
    opacity: 0.4;
}

.bg-layer-3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    animation: bgShine 6s ease-in-out infinite;
}

.scan-line {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(59, 130, 246, 0.6) 50%, 
        transparent 100%
    );
    animation: scanMove 4s ease-in-out infinite;
    filter: blur(1px);
}

/* 横幅内容布局 */
.banner-content {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 95%;
    height: 80px;
    padding: 0 15px;
    gap: 20px;
}

/* 横向宣传文字 */
.horizontal-promo {
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 10px 0;
}

.promo-title {
    font-size: 26px;
    font-weight: bold;
    color: #1e293b;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 1px;
    background: linear-gradient(45deg, #1e293b, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

.promo-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: #3b82f6;
    background: linear-gradient(45deg, #3b82f6, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: subtitlePulse 4s ease-in-out infinite;
}

.promo-tagline {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
    background: linear-gradient(45deg, #64748b, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: taglineFloat 5s ease-in-out infinite;
}

/* 雷打扫描进度指示器 */
.radar-progress {
    flex: 0 0 25%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.radar-container {
    position: relative;
    width: 60px;
    height: 60px;
}

.radar-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: 
        radial-gradient(circle at center, transparent 40%, rgba(59, 130, 246, 0.1) 100%),
        conic-gradient(
            #3b82f6 0%, 
            #10b981 25%, 
            #f59e0b 50%, 
            #ef4444 75%, 
            #3b82f6 100%
        );
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.radar-scan {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.8), transparent);
    transform-origin: left center;
    animation: radarScan 2s linear infinite;
    filter: blur(1px);
}

.radar-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.progress-percent {
    font-size: 12px;
    font-weight: bold;
    color: #3b82f6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.progress-text {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
    animation: textPulse 2s ease-in-out infinite;
}

/* 品牌标识 */
.brand-section {
    flex: 0 0 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(5px);
    animation: brandFloat 6s ease-in-out infinite;
}

.brand-logo {
    font-size: 20px;
    font-weight: bold;
    color: #1e293b;
    background: linear-gradient(45deg, #3b82f6, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-slogan {
    font-size: 10px;
    color: #64748b;
    font-weight: 500;
    text-align: center;
}

/* 稳定进度条 */
.stable-progress-bar {
    position: absolute;
    bottom: 12px;
    left: 2.5%;
    width: 95%;
    height: 6px;
    z-index: 10;
}

.progress-track {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, 
        #3b82f6, 
        #10b981, 
        #f59e0b
    );
    border-radius: 3px;
    transition: width 0.5s ease;
    position: relative;
    width: 0%;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

.progress-label {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    font-size: 10px;
    font-weight: bold;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* 动画定义 */
@keyframes bgShine {
    0%, 100% { opacity: 0; transform: translateX(-100%); }
    50% { opacity: 0.3; transform: translateX(100%); }
}

@keyframes scanMove {
    0% { left: -100%; opacity: 0; }
    50% { left: 0; opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

@keyframes titleGlow {
    0% { 
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        transform: scale(1);
    }
    100% { 
        text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 0 15px rgba(59, 130, 246, 0.2);
        transform: scale(1.01);
    }
}

@keyframes subtitlePulse {
    0%, 100% { 
        opacity: 0.8; 
        transform: scale(1); 
    }
    50% { 
        opacity: 1; 
        transform: scale(1.02); 
    }
}

@keyframes taglineFloat {
    0%, 100% { 
        transform: translateY(0);
        opacity: 0.7;
    }
    50% { 
        transform: translateY(-2px);
        opacity: 1;
    }
}

@keyframes radarScan {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes textPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes brandFloat {
    0%, 100% { 
        transform: translateY(0);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    50% { 
        transform: translateY(-3px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .banner-content {
        flex-direction: column;
        height: auto;
        gap: 15px;
        padding: 15px;
    }
    
    .horizontal-promo,
    .radar-progress,
    .brand-section {
        flex: none;
        text-align: center;
    }
    
    .promo-title {
        font-size: 22px;
    }
    
    .promo-subtitle {
        font-size: 12px;
    }
    
    .promo-tagline {
        font-size: 10px;
    }
    
    .radar-container {
        width: 50px;
        height: 50px;
    }
    
    .radar-center {
        width: 25px;
        height: 25px;
    }
    
    .progress-percent {
        font-size: 10px;
    }
    
    .brand-section {
        padding: 6px 10px;
    }
    
    .brand-logo {
        font-size: 18px;
    }
    
    .brand-slogan {
        font-size: 9px;
    }
    
    .stable-progress-bar {
        bottom: 8px;
    }
}