/* 通用样式 - 开云（中国）科技配色风格 */

/* 基础样式 */
body {
    background-color: #F8FAFF;
    color: #1A2C4E;
    overflow-x: hidden;
}

/* 玻璃拟态卡片 - 调整为蓝白风格 */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 30px rgba(0, 50, 120, 0.08);
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(30, 111, 217, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 70, 180, 0.12);
}

/* 蓝色卡片变体 */
.blue-card {
    background: linear-gradient(135deg, #1E6FD9, #3B8EFF);
    color: white;
    border: none;
}

.blue-card:hover {
    background: linear-gradient(135deg, #1A63C4, #3580E6);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(30, 111, 217, 0.25);
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #F0F5FF;
}
::-webkit-scrollbar-thumb {
    background: #1E6FD9;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #FF6B35;
}

/* 动画类 */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 轮播图动画 */
.slide-enter {
    animation: slideIn 0.8s ease-out forwards;
}
@keyframes slideIn {
    from { opacity: 0; transform: scale(1.05); }
    to { opacity: 1; transform: scale(1); }
}

/* 产品轮播容器 */
.product-scroller {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 2rem;
    padding-bottom: 1rem;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.product-scroller::-webkit-scrollbar {
    display: none;
}

/* 蓝色背景区 */
.blue-section {
    background: linear-gradient(135deg, #0B3B6C, #1A5FA3);
    color: white;
}

/* 白色背景区 */
.white-section {
    background: #FFFFFF;
}

/* 浅蓝背景区 */
.light-blue-section {
    background: #F0F5FF;
}

/* 品牌颜色定义 */
:root {
    --brand-blue-dark: #0B3B6C;
    --brand-blue-primary: #1E6FD9;
    --brand-blue-light: #3B8EFF;
    --brand-blue-pale: #E6F0FF;
    --brand-blue-muted: #A0C4F7;
    --brand-white-primary: #FFFFFF;
    --brand-white-off: #F8FAFF;
    --brand-white-muted: #F0F5FF;
    --brand-accent: #FF6B35;
    --brand-text-primary: #1A2C4E;
    --brand-text-secondary: #4A5568;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .glass-card {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    
    .product-scroller {
        gap: 1rem;
    }
}

/* Banner文字入场动画 */
.banner-text {
    opacity: 0;
    transform: translateY(30px);
    animation: bannerFadeIn 0.8s ease-out forwards;
}

@keyframes bannerFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}