/* 公共样式文件 - 今东企服 */

/* 背景样式 */
body {
    background: linear-gradient(135deg, #051428 0%, #0F1E3D 30%, #1E3A8A 50%, #1E40AF 80%, #2563EB 100%);
    background-attachment: fixed;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.6) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(30, 64, 175, 0.55) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(30, 58, 138, 0.5) 0%, transparent 40%),
        radial-gradient(circle at 70% 30%, rgba(37, 99, 235, 0.5) 0%, transparent 40%);
    min-height: 100vh;
    position: relative;
}

/* 动态光效动画 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.45) 0%, transparent 50%);
    animation: pulseGlow 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* 磨砂玻璃效果 */
.glass {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 10;
}

/* 卡片样式 */
.product-card,
.service-card,
.mortgage-card,
.case-card {
    transition: all 0.3s ease;
    background: #FFFFFF !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 10;
}

.product-card:hover,
.service-card:hover,
.mortgage-card:hover,
.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -12px rgba(30, 64, 175, 0.25);
}

.product-card:hover {
    transform: translateY(-8px);
}

/* 确保白色背景section不被覆盖 */
section.bg-white,
.bg-white {
    background: #FFFFFF !important;
    position: relative;
    z-index: 10;
}

/* 渐变文字 */
.text-gradient {
    background: linear-gradient(135deg, #0F172A 0%, #1E40AF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
    background: linear-gradient(135deg, #B45309 0%, #D97706 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 弹窗滑入动画 */
@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 滚动容器样式 */
.scroll-container {
    max-height: 800px;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.scroll-container::-webkit-scrollbar {
    width: 8px;
}

.scroll-container::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.scroll-container::-webkit-scrollbar-thumb {
    background: #1E40AF;
    border-radius: 10px;
}

.scroll-container::-webkit-scrollbar-thumb:hover {
    background: #1e3a8a;
}

