/* ========================================
   FusionAI - 科创产业AI工具网 样式表
   ======================================== */

/* 全局样式 */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    color: #333;
}

/* Hero 区域 */
.hero-section {
    background-size: cover;
    background-position: center;
}

/* 分类卡片 */
.category-card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15) !important;
}

/* 工具卡片 */
.tool-card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.tool-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.12) !important;
}

/* 文章内容样式 */
.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content h2, .article-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.article-content p {
    margin-bottom: 1rem;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.article-content pre {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
}

.article-content blockquote {
    border-left: 4px solid #0d6efd;
    padding-left: 1rem;
    margin-left: 0;
    color: #666;
}

/* 导航栏 */
.navbar-brand {
    font-size: 1.4rem;
}

/* 卡片标题链接 */
.card-title a:hover {
    color: #0d6efd !important;
}

/* Badge 间距 */
.badge + .badge {
    margin-left: 0.25rem;
}

/* 页脚链接 */
footer a:hover {
    color: #fff !important;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }

    .hero-section .lead {
        font-size: 1rem;
    }
}
