/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 引入CSS变量 - 现代色彩方案 */
:root {
    /* 主色调：系统蓝（与main.html保持一致） */
    --primary: #3c8dbc;
    --primary-light: #3370ff;
    --primary-dark: #29608c;
    --primary-gradient: linear-gradient(135deg, #3c8dbc 0%, #3370ff 100%);
    
    /* 辅助色 */
    --secondary: #8b5cf6;
    --secondary-light: #a78bfa;
    --accent: #06b6d4;
    
    /* 文本色 */
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-tertiary: #94a3b8;
    --text-light: #cbd5e1;
    
    /* 背景色 */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --border: #e5e7eb;
}

/* 背景样式 - 现代科技感动态背景 */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    /* 主背景渐变 - 增强科技感 */
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 30%, #dbeafe 60%, #eff6ff 100%);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 20px;
    
    /* 科技感背景 - 融合平台特性的动态元素 */
    background-image: 
        /* 1. 智能体连接节点 - 代表平台的连接特性 */
        /* 左侧智能体连接节点 */
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.22) 0%, transparent 20px),
        radial-gradient(circle at 25% 15%, rgba(139, 92, 246, 0.15) 0%, transparent 18px),
        radial-gradient(circle at 5% 40%, rgba(59, 130, 246, 0.15) 0%, transparent 12px),
        radial-gradient(circle at 20% 55%, rgba(139, 92, 246, 0.15) 0%, transparent 14px),
        
        /* 右侧智能体连接节点 */
        radial-gradient(circle at 90% 30%, rgba(139, 92, 246, 0.22) 0%, transparent 20px),
        radial-gradient(circle at 30% 80%, rgba(6, 182, 212, 0.22) 0%, transparent 20px),
        radial-gradient(circle at 70% 70%, rgba(59, 130, 246, 0.22) 0%, transparent 20px),
        
        /* 2. 动态连接光晕 - 代表通讯协同中枢 */
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.12) 0%, transparent 150px),
        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 200px),
        
        /* 3. 多模态交互符号 - 代表多模态交互中枢 */
        /* 语音波符号 */
        linear-gradient(45deg, transparent 45%, rgba(6, 182, 212, 0.15) 45%, rgba(6, 182, 212, 0.15) 55%, transparent 55%),
        linear-gradient(-45deg, transparent 45%, rgba(6, 182, 212, 0.15) 45%, rgba(6, 182, 212, 0.15) 55%, transparent 55%),
        /* 图像识别框 */
        linear-gradient(90deg, transparent 30%, rgba(139, 92, 246, 0.15) 30%, rgba(139, 92, 246, 0.15) 70%, transparent 70%),
        linear-gradient(180deg, transparent 30%, rgba(139, 92, 246, 0.15) 30%, rgba(139, 92, 246, 0.15) 70%, transparent 70%),
        /* 文本识别符号 */
        linear-gradient(0deg, transparent 45%, rgba(59, 130, 246, 0.15) 45%, rgba(59, 130, 246, 0.15) 55%, transparent 55%),
        linear-gradient(90deg, transparent 45%, rgba(59, 130, 246, 0.15) 45%, rgba(59, 130, 246, 0.15) 55%, transparent 55%),
        
        /* 4. 科技感网格纹理 */
        radial-gradient(circle at center, rgba(59, 130, 246, 0.08) 0%, transparent 100%),
        
        /* 5. 动态粒子效果 - 增强科技感 */
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 8px),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.08) 0%, transparent 8px),
        radial-gradient(circle at 40% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 8px),
        radial-gradient(circle at 60% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 8px),
        radial-gradient(circle at 10% 90%, rgba(59, 130, 246, 0.08) 0%, transparent 8px),
        radial-gradient(circle at 90% 10%, rgba(6, 182, 212, 0.08) 0%, transparent 8px);
    
    /* 背景大小设置 */
    background-size: 
        /* 智能体连接节点 */
        100px 100px, 150px 150px, 120px 120px, 130px 130px,
        150px 150px, 120px 120px, 130px 130px,
        /* 动态连接光晕 */
        100% 100%, 100% 100%,
        /* 多模态交互符号 */
        60px 60px, 60px 60px, 100px 100px, 100px 100px,
        80px 80px, 80px 80px,
        /* 科技感网格纹理 */
        100% 100%,
        /* 动态粒子效果 */
        100px 100px, 100px 100px, 100px 100px, 100px 100px, 100px 100px, 100px 100px;
    
    /* 背景位置设置 */
    background-position: 
        /* 智能体连接节点 */
        10% 20%, 25% 15%, 5% 40%, 20% 55%,
        90% 30%, 30% 80%, 70% 70%,
        /* 动态连接光晕 */
        center center, center center,
        /* 多模态交互符号 */
        35% 25%, 35% 25%, 85% 85%, 85% 85%,
        15% 75%, 15% 75%,
        /* 科技感网格纹理 */
        center center,
        /* 动态粒子效果 */
        20% 30%, 80% 70%, 40% 80%, 60% 20%, 10% 90%, 90% 10%;
    
    /* 分层动画效果 - 增强深度感 */
    animation: 
        backgroundAnimate 30s ease-in-out infinite,
        glowPulse 8s ease-in-out infinite;
}

/* 移除原有的伪元素 */
body::before,
body::after {
    display: none;
}

/* 主背景动画 - 平滑移动元素 */
@keyframes backgroundAnimate {
    0%, 100% {
        background-position: 
            /* 智能体连接节点 */
            10% 20%, 25% 15%, 5% 40%, 20% 55%,
            90% 30%, 30% 80%, 70% 70%,
            /* 动态连接光晕 */
            center center, center center,
            /* 多模态交互符号 */
            35% 25%, 35% 25%, 85% 85%, 85% 85%,
            15% 75%, 15% 75%,
            /* 科技感网格纹理 */
            center center,
            /* 动态粒子效果 */
            20% 30%, 80% 70%, 40% 80%, 60% 20%, 10% 90%, 90% 10%;
    }
    25% {
        background-position: 
            /* 智能体连接节点 */
            12% 22%, 22% 18%, 8% 43%, 23% 58%,
            88% 32%, 28% 83%, 72% 72%,
            /* 动态连接光晕 */
            center center, center center,
            /* 多模态交互符号 */
            38% 28%, 38% 28%, 80% 80%, 80% 80%,
            18% 78%, 18% 78%,
            /* 科技感网格纹理 */
            center center,
            /* 动态粒子效果 */
            25% 35%, 85% 75%, 45% 85%, 65% 25%, 15% 95%, 95% 15%;
    }
    50% {
        background-position: 
            /* 智能体连接节点 */
            15% 25%, 28% 12%, 3% 38%, 18% 52%,
            85% 28%, 32% 78%, 68% 68%,
            /* 动态连接光晕 */
            center center, center center,
            /* 多模态交互符号 */
            33% 22%, 33% 22%, 90% 90%, 90% 90%,
            12% 72%, 12% 72%,
            /* 科技感网格纹理 */
            center center,
            /* 动态粒子效果 */
            15% 25%, 75% 65%, 35% 75%, 55% 15%, 5% 85%, 85% 5%;
    }
    75% {
        background-position: 
            /* 智能体连接节点 */
            12% 22%, 24% 16%, 6% 41%, 21% 56%,
            87% 31%, 29% 82%, 71% 71%,
            /* 动态连接光晕 */
            center center, center center,
            /* 多模态交互符号 */
            37% 27%, 37% 27%, 82% 82%, 82% 82%,
            17% 77%, 17% 77%,
            /* 科技感网格纹理 */
            center center,
            /* 动态粒子效果 */
            22% 32%, 82% 72%, 42% 82%, 62% 22%, 12% 92%, 92% 12%;
    }
}

/* 粒子浮动动画 - 增强动态感 */
@keyframes particleFloat {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    100% {
        transform: translateY(-20px) rotate(360deg);
    }
}

/* 光晕脉冲动画 - 增强科技感 */
@keyframes glowPulse {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

/* 平滑过渡动画 */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

/* 响应式设计 - 优化移动端体验 */
@media (max-width: 768px) {
    body {
        background-size: 
            /* 智能体连接节点 - 缩小尺寸 */
            80px 80px, 120px 120px, 100px 100px, 110px 110px,
            120px 120px, 100px 100px, 110px 110px,
            /* 动态连接光晕 */
            100% 100%, 100% 100%,
            /* 多模态交互符号 - 缩小尺寸 */
            50px 50px, 50px 50px, 80px 80px, 80px 80px,
            60px 60px, 60px 60px,
            /* 科技感网格纹理 */
            100% 100%,
            /* 动态粒子效果 - 缩小尺寸 */
            80px 80px, 80px 80px, 80px 80px, 80px 80px, 80px 80px, 80px 80px;
    }
}
