/* 技能站点公共样式 */

/* 页面标题样式 */
.page-title {
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.page-title i {
    color: #0d6efd;
}

/* 搜索框样式优化 */
#searchInput,
#categorySearchInput {
    border-radius: 8px 0 0 8px;
    border-color: #e9ecef;
    padding: 12px 16px;
    font-size: 14px;
    transition: all 0.3s ease;
}

#searchInput:focus,
#categorySearchInput:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
}

#searchBtn,
#categorySearchBtn {
    border-radius: 0 8px 8px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 0 20px;
    transition: all 0.3s ease;
}

#searchBtn:hover,
#categorySearchBtn:hover {
    background: linear-gradient(135deg, #5a6fd6 0%, #6a4190 100%);
    transform: scale(1.02);
}

/* 分类标签样式 - 优化版 */
.category-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.category-btn {
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1.5px solid #e9ecef;
    background: white;
    color: #6c757d;
    cursor: pointer;
}

.category-btn:hover {
    border-color: #667eea;
    color: #667eea;
    background: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}

.category-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.category-btn.active:hover {
    background: linear-gradient(135deg, #5a6fd6 0%, #6a4190 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

/* 技能卡片样式 */
.skill-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    background: white;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--skill-color-start, #667eea);
}

.skill-card-header {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.skill-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
}

.skill-info {
    flex: 1;
    min-width: 0;
}

.skill-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.skill-meta {
    font-size: 12px;
    color: #6c757d;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.skill-meta span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.skill-card-body {
    padding: 0 20px 20px;
}

.skill-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.skill-card-footer {
    padding: 15px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
}

.install-btn {
    width: 100%;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    border: 1px solid #e9ecef;
    background: white;
    color: #667eea;
    transition: all 0.3s ease;
}

.install-btn:hover {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border-color: #667eea;
    color: #5a6fd6;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}

.install-btn:active {
    transform: translateY(0);
}

/* 安装卡片按钮 - 浅色系优化 */
.btn-install-primary {
    width: 100%;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    border: 1px solid #e9ecef;
    background: white;
    color: #667eea;
    transition: all 0.3s ease;
}

.btn-install-primary:hover {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border-color: #667eea;
    color: #5a6fd6;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}

.btn-install-primary:active {
    transform: translateY(0);
}

.btn-install-outline {
    width: 100%;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    border: 1px solid #e9ecef;
    background: white;
    color: #6c757d;
    transition: all 0.3s ease;
}

.btn-install-outline:hover {
    border-color: #adb5bd;
    color: #495057;
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-install-outline:active {
    transform: translateY(0);
}

.btn-install-outline i {
    margin-right: 6px;
}

/* 分类页样式 */
.category-title {
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

/* 搜索和排序容器 */
.search-sort-container {
    display: flex;
    gap: 16px;
    align-items: stretch;
    flex-wrap: wrap;
}

/* 搜索框包装器 */
.search-wrapper {
    flex: 1;
    min-width: 250px;
    position: relative;
    display: flex;
}

.search-input {
    width: 100%;
    padding: 12px 50px 12px 16px;
    border: 1.5px solid #e9ecef;
    border-radius: 10px 0 0 10px;
    font-size: 14px;
    background: white;
    color: #333;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-button {
    padding: 0 20px;
    border: none;
    border-radius: 0 10px 10px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-button:hover {
    background: linear-gradient(135deg, #5a6fd6 0%, #6a4190 100%);
    transform: scale(1.05);
}

/* 排序选择框包装器 */
.sort-wrapper {
    min-width: 180px;
}

.sort-select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e9ecef;
    border-radius: 10px;
    font-size: 14px;
    background: white;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.sort-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.sort-select:hover {
    border-color: #adb5bd;
}

/* 分类统计信息 */
.category-stats {
    display: flex;
    gap: 16px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border: 1px solid #e0e7ff;
    border-radius: 12px;
    flex-wrap: wrap;
}

.stat-item-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e0e7ff;
    color: #6c757d;
    font-size: 14px;
    transition: all 0.3s ease;
}

.stat-item-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.stat-item-stat i {
    font-size: 16px;
    color: #667eea;
}

.stat-item-stat strong {
    color: #333;
    font-weight: 600;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .search-sort-container {
        flex-direction: column;
    }

    .search-wrapper {
        min-width: 100%;
    }

    .sort-wrapper {
        min-width: 100%;
    }

    .category-stats {
        flex-direction: column;
        gap: 12px;
    }

    .stat-item-stat {
        width: 100%;
    }
}

/* 详情页样式 */
.skill-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.skill-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
}

.skill-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.skill-category-badge .badge {
    font-size: 14px;
    padding: 8px 16px;
}

/* 统计容器 - 移动端友好 */
.stats-container {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e0e0e0;
}

/* 统计项 */
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    height: 100%;
    min-height: 100px;
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #0d6efd;
}

.stat-icon {
    font-size: 24px;
    color: #0d6efd;
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    text-align: center;
    word-break: break-word;
}

.stat-label {
    font-size: 12px;
    color: #6c757d;
    text-align: center;
}

/* 统计卡片（兼容旧版） */
.stat-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #0d6efd;
}

/* 安装卡片 */
.install-card {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
}

.install-card .card-header {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    border: none;
    padding: 14px 20px;
}

.install-card .card-header h5 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #667eea;
}

.install-card .card-body {
    padding: 20px;
}

.install-command {
    position: relative;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 50px 12px 12px;
    overflow: hidden;
    font-family: 'Consolas', 'Monaco', monospace;
}

.install-command code {
    display: block;
    font-size: 13px;
    color: #333;
    word-break: break-all;
    line-height: 1.5;
}

.install-command .copy-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    background: white;
    color: #667eea;
    transition: all 0.2s ease;
}

.install-command .copy-btn:hover {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

/* 移动端安装命令优化 */
@media (max-width: 576px) {
    .install-command {
        padding: 10px;
    }

    .install-command code {
        font-size: 12px;
        padding-right: 65px;
    }

    .install-command .copy-btn {
        font-size: 12px;
        padding: 4px 8px;
    }
}

/* 信息项 */
.info-item {
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item strong {
    color: #333;
}

/* 相关技能 */
.related-skill-item {
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: block;
}

.related-skill-item:hover {
    border-color: #0d6efd;
    background: #f8f9fa;
    text-decoration: none;
}

.related-skill-item:last-child {
    margin-bottom: 0;
}

.related-skill-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.related-skill-meta {
    font-size: 12px;
    color: #6c757d;
}

/* 分页样式 */
.pagination .page-link {
    color: #0d6efd;
    border-radius: 8px;
    margin: 0 3px;
}

.pagination .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* 面包屑导航 - 优化版 */
.custom-breadcrumb {
    background: transparent;
    border-radius: 0;
    padding: 0;
    border: none;
    margin-bottom: 20px;
}

.custom-breadcrumb .breadcrumb-item {
    font-size: 14px;
}

.custom-breadcrumb .breadcrumb-item a {
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
}

.custom-breadcrumb .breadcrumb-item a:hover {
    color: #667eea;
    text-decoration: none;
    background: #f8f9ff;
}

.custom-breadcrumb .breadcrumb-item a i {
    font-size: 16px;
    color: #6c757d;
    transition: color 0.3s ease;
}

.custom-breadcrumb .breadcrumb-item a:hover i {
    color: #667eea;
}

.custom-breadcrumb .breadcrumb-item.active {
    color: #333;
    font-weight: 500;
    padding: 6px 12px;
}

.custom-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: #dee2e6;
    content: "/";
    font-size: 16px;
    margin: 0 8px;
}

/* 排序选择框 */
#sortSelect {
    border-radius: 8px;
    border-color: #e9ecef;
    padding: 12px 16px;
    font-size: 14px;
    transition: all 0.3s ease;
}

#sortSelect:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .skill-header {
        flex-direction: column;
        text-align: center;
    }

    .skill-icon-large {
        margin: 0 auto;
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .skill-title {
        font-size: 22px;
    }

    /* 统计信息优化 */
    .stats-container {
        padding: 15px;
    }

    .stat-item {
        padding: 12px;
        min-height: 90px;
    }

    .stat-icon {
        font-size: 20px;
    }

    .stat-value {
        font-size: 16px;
        font-weight: 600;
    }

    .stat-label {
        font-size: 11px;
    }
}

@media (max-width: 576px) {
    .stat-item {
        padding: 10px;
        min-height: 80px;
    }

    .stat-icon {
        font-size: 18px;
    }

    .stat-value {
        font-size: 14px;
    }

    .stat-label {
        font-size: 10px;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.skill-card {
    animation: fadeIn 0.5s ease-out;
}

/* 卡片悬停效果增强 */
.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--skill-color-start, #667eea), var(--skill-color-end, #764ba2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill-card:hover::before {
    opacity: 1;
}

/* 加载动画 */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* ═══════════════════════════════════════════════════
   首页专属样式 —— Hero / 分类卡片 / Section Header
═══════════════════════════════════════════════════ */

/* ── Hero 区域 ── */
.hero-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 60%, #f093fb 100%);
    padding: 120px 0 80px;
    color: #fff;
}

/* 装饰性背景气泡 */
.hero-bg-shapes { pointer-events: none; }
.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
    background: #fff;
}
.hero-shape-1 { width: 400px; height: 400px; top: -120px; right: -80px; }
.hero-shape-2 { width: 200px; height: 200px; bottom: -60px; left: 10%; }
.hero-shape-3 { width: 120px; height: 120px; top: 40%; left: 55%; }

.hero-content { position: relative; z-index: 1; }

/* 顶部小标签 */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    backdrop-filter: blur(4px);
}
.hero-badge i { font-size: 15px; }

/* 主标题 */
.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
    color: #fff;
}
.hero-title-gradient {
    background: linear-gradient(90deg, #fff 0%, #fde68a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 36px;
    max-width: 520px;
    line-height: 1.7;
}

/* ── Hero 搜索框 ── */
.hero-search-wrap { max-width: 560px; }
.hero-search-box {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 14px;
    padding: 6px 6px 6px 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    gap: 10px;
}
.hero-search-icon {
    font-size: 18px;
    color: #adb5bd;
    flex-shrink: 0;
}
.hero-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    color: #333;
    background: transparent;
    padding: 8px 0;
}
.hero-search-input::placeholder { color: #adb5bd; }
.hero-search-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.hero-search-btn:hover {
    background: linear-gradient(135deg, #5a6fd6 0%, #6a4190 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102,126,234,0.4);
}

/* 热门标签 */
.hero-search-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}
.hero-tag-label {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}
.hero-tag {
    display: inline-block;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 12px;
    color: #fff;
    text-decoration: none;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}
.hero-tag:hover {
    background: rgba(255,255,255,0.32);
    color: #fff;
    transform: translateY(-2px);
}

/* ── Hero 右侧预览卡片 ── */
.hero-preview {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 320px;
    width: 100%;
}
.hero-preview-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 14px;
    padding: 14px 16px;
    backdrop-filter: blur(8px);
    transition: all 0.25s ease;
}
.hero-preview-card:hover {
    background: rgba(255,255,255,0.25);
    transform: translateX(-4px);
}
.hero-preview-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    background: linear-gradient(135deg,#667eea,#764ba2);
}
.hero-preview-info { flex: 1; min-width: 0; }
.hero-preview-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hero-preview-meta {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    margin-top: 3px;
}
.hero-preview-btn {
    background: rgba(255,255,255,0.25);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 8px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.hero-preview-btn:hover {
    background: rgba(255,255,255,0.4);
    color: #fff;
}

/* ── Hero 统计数字横栏 ── */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 16px;
    padding: 20px 32px;
    margin-top: 48px;
    backdrop-filter: blur(8px);
    flex-wrap: wrap;
}
.hero-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 100px;
    padding: 4px 0;
}
.hero-stat-num {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.hero-stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    margin-top: 6px;
}
.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.3);
    flex-shrink: 0;
}

/* ── Section Header（带"更多"链接）── */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid #e9ecef;
}
.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-title i { color: #667eea; }
.section-title-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg,#667eea,#764ba2);
    flex-shrink: 0;
}
.section-more {
    font-size: 13px;
    color: #667eea;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    font-weight: 500;
    white-space: nowrap;
}
.section-more:hover {
    color: #5a6fd6;
    gap: 8px;
}

/* ── 分类卡片 ── */
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 12px 20px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    height: 100%;
}
.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(102,126,234,0.15);
    border-color: #667eea;
    color: inherit;
}
.category-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    background: linear-gradient(135deg,#667eea,#764ba2);
    transition: transform 0.3s ease;
}
.category-card:hover .category-card-icon { transform: scale(1.1) rotate(-4deg); }
.category-card-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}
.category-card-count {
    font-size: 12px;
    color: #adb5bd;
}

/* ── 响应式 ── */
@media (max-width: 992px) {
    .hero-title { font-size: 40px; }
    .hero-stats  { padding: 16px 20px; gap: 4px; }
    .hero-stat-num { font-size: 22px; }
}
@media (max-width: 768px) {
    .hero-section { padding: 100px 0 60px; }
    .hero-title   { font-size: 32px; }
    .hero-subtitle{ font-size: 15px; }
    .hero-stats   { justify-content: center; }
    .hero-stat-divider { display: none; }
    .hero-stat-item { min-width: 45%; padding: 8px 0; }
}
