/* ==============================
   中国稀土AI大模型 - 主题样式
   ============================== */

/* 基础样式 */
:root {
    --bs-primary: #4f46e5;
    --bs-primary-rgb: 79, 70, 229;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f8fafc;
    color: #334155;
}

/* 毛玻璃效果 */
.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.glass-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* 导航栏毛玻璃效果 */
.glass-nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* 页脚样式 */
.footer-section {
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
}

/* 按钮样式 */
.btn-primary {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border: none;
    border-radius: 12px;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #4338ca, #6d28d9);
    transform: translateY(-1px);
}

.btn-outline-primary {
    border-radius: 12px;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
}

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #1e293b;
}

/* 链接样式 */
a {
    color: var(--bs-primary);
    text-decoration: none;
}

a:hover {
    color: #4338ca;
}

/* 区块标题 */
.section-title {
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border-radius: 2px;
}

/* 统计卡片 */
.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 响应式 */
@media (max-width: 768px) {
    .glass-card {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .hero-section {
        min-height: 40vh;
    }
}
