/* 全局设置 */
html {
    scroll-behavior: smooth; /* 平滑滚动 */
}
/* 辅助类 */
.scroll-smooth {
    scroll-behavior: smooth;
}

/* 
 * 大模型 Damoxing - 核心样式表
 * 风格：玻璃拟态 + 多巴胺配色 + 现代极简
 */
:root {
    --primary-color: #6366f1;
    --secondary-color: #ec4899;
    --accent-color: #8b5cf6;
    --bg-dark: #0f172a;
    --text-light: #f8fafc;
    --text-gray: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.07);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}
/* 动态背景 */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}
.blob {
    will-change: transform; /* 性能优化 */
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 10s infinite ease-in-out;
}
.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}
.blob-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    bottom: -50px;
    right: -50px;
    animation-delay: -2s;
}
.blob-3 {
    width: 350px;
    height: 350px;
    background: var(--accent-color);
    top: 40%;
    left: 40%;
    animation-delay: -4s;
}
@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(20px, -20px); }
    50% { transform: translate(-20px, 20px); }
    75% { transform: translate(20px, 20px); }
}
/* 通用容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* 玻璃拟态效果 */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 16px;
}
/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    border-radius: 0 0 16px 16px;
    border-top: none;
}
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
}
.logo-icon {
    font-size: 1.5rem;
}
.logo-text small {
    display: block;
    font-size: 0.7rem;
    color: var(--text-gray);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}
.nav-links a:hover {
    color: var(--secondary-color);
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 8px 20px;
    border-radius: 20px;
    color: white !important;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}
/* Hero 区域 */
.hero-section {
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
}
.gradient-text {
    background: linear-gradient(135deg, #fff, var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 30px;
    max-width: 500px;
}
.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
}
.btn-large {
    font-size: 1rem;
    padding: 15px 40px;
}
.btn-glow {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}
.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.7);
}
.btn-outline {
    border: 2px solid var(--glass-border);
    color: var(--text-light);
    background: rgba(255,255,255,0.05);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--text-light);
}
/* 数据统计条 */
.stats-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    max-width: 500px;
}
.stat-item {
    text-align: center;
}
.stat-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}
.stat-label {
    font-size: 0.8rem;
    color: var(--text-gray);
}
.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--glass-border);
}
/* 视觉卡片 */
.model-visual {
    padding: 20px;
    position: relative;
    overflow: hidden;
}
.model-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-gray);
}
.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
/* 特性区域 */
.features-section {
    padding: 100px 0;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.section-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.feature-card {
    padding: 30px;
    transition: transform 0.3s;
}
.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
}
.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}
.feature-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}
/* 性能图表区 */
.performance-section {
    padding: 100px 0;
}
.chart-wrapper {
    padding: 30px;
    margin-top: 40px;
}
/* 页脚 */
.footer {
    margin-top: 100px;
    padding: 60px 0 20px;
    border-radius: 16px 16px 0 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
}
.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 50px;
    margin-bottom: 40px;
}
.footer-brand p {
    color: var(--text-gray);
    margin-top: 15px;
    max-width: 300px;
}
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.link-col h4 {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1rem;
}
.link-col a {
    display: block;
    color: var(--text-gray);
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 0.9rem;
    transition: color 0.3s;
}
.link-col a:hover {
    color: var(--secondary-color);
}
.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
    text-align: center;
    color: var(--text-gray);
    font-size: 0.85rem;
    display: flex;
    justify-content: center; /* 改为居中 */
    align-items: center;
    flex-wrap: wrap;
    gap: 15px; /* 增加间距，防止换行时拥挤 */
}
.tech-signature a {
    color: var(--primary-color);
    text-decoration: none;
}
/* 动画类 */
.fade-in {
    animation: fadeIn 1s ease-out;
}
.fade-in-delay { animation-delay: 0.2s; animation-fill-mode: backwards; }
.fade-in-delay-2 { animation-delay: 0.4s; animation-fill-mode: backwards; }
.fade-in-delay-3 { animation-delay: 0.6s; animation-fill-mode: backwards; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
/* 响应式适配 */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .stats-bar {
        margin: 0 auto;
        justify-content: center;
    }
    
    .nav-links {
        display: none; /* 简化处理，移动端隐藏菜单 */
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
}


/* 无障碍访问：键盘导航焦点样式 */
a:focus-visible, button:focus-visible, .btn:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 4px;
    border-radius: 4px;
}
/* 移除默认焦点轮廓，使用自定义样式 */
a:focus, button:focus {
    outline: none;
}


/* AI 智能体协作区域 */
.agents-section {
    padding: 80px 0;
    position: relative;
}
.agents-visual-container {
    position: relative;
    height: 400px;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.3);
}
#agents-canvas {
    width: 100%;
    height: 100%;
    display: block;
}
.agents-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    gap: 15px;
    pointer-events: none;
}
.agent-log {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #cbd5e1;
    border-left: 3px solid var(--primary-color);
    font-family: 'JetBrains Mono', monospace;
    animation: slideUp 0.5s ease-out;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
    .agents-overlay {
        flex-direction: column;
        gap: 10px;
    }
    .agent-log {
        font-size: 0.75rem;
    }
}
