/* ===== EzNav 导航站样式 ===== */

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1a1a2e;
    background: #f8f9fc;
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e8ecf1;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.site-header .container {
    display: flex;
    align-items: center;
    gap: 24px;
}
.site-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    color: #6c5ce7;
    white-space: nowrap;
}
.logo-icon { font-size: 28px; }
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 4px;
    flex-wrap: nowrap;
    white-space: nowrap;
}
.main-nav a {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    transition: all 0.2s;
    white-space: nowrap;
    display: inline-block;
}
.main-nav a:hover {
    background: #f0f0ff;
    color: #6c5ce7;
}

.search-box {
    margin-left: auto;
}
.search-box form {
    display: flex;
    gap: 0;
}
.search-box input {
    padding: 8px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px 0 0 8px;
    font-size: 14px;
    width: 240px;
    outline: none;
    transition: border-color 0.2s;
}
.search-box input:focus { border-color: #6c5ce7; }
.search-box button {
    padding: 8px 14px;
    background: #6c5ce7;
    color: #fff;
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 0;
    text-align: center;
    color: #fff;
}
.hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
}
.hero .highlight {
    background: rgba(255,255,255,0.2);
    padding: 2px 12px;
    border-radius: 8px;
}
.hero-desc {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}
.hero-search {
    max-width: 600px;
    margin: 0 auto 24px;
}
.hero-search form {
    display: flex;
    gap: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-radius: 12px;
    overflow: hidden;
}
.hero-search input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    font-size: 16px;
    outline: none;
    min-width: 0;
}
.hero-search button {
    padding: 0 18px;
    background: #6c5ce7;
    color: #fff;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.hero-search button:hover { background: #5a4bd1; }
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    font-size: 14px;
    opacity: 0.9;
}
.hero-stats strong { font-weight: 600; }

/* Category Section */
.category-section {
    margin: 40px 0;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.section-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
}
.view-all {
    font-size: 14px;
    color: #6c5ce7;
    font-weight: 500;
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.tool-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e8ecf1;
    transition: all 0.3s;
}
.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border-color: #6c5ce7;
}
.tool-link {
    display: block;
    padding: 20px;
}
.tool-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: #f0f0ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    overflow: hidden;
}
.tool-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.default-icon { font-size: 28px; }
.tool-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #1a1a2e;
}
.tool-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tool-price {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}
.price-free { background: #e8f5e9; color: #2e7d32; }
.price-freemium { background: #e3f2fd; color: #1565c0; }
.price-paid { background: #fce4ec; color: #c62828; }
.price-trial { background: #fff3e0; color: #e65100; }

/* Tool Detail */
.tool-detail { max-width: 800px; margin: 40px auto; }
.tool-header {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 32px;
}
.tool-icon-large {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: #f0f0ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.tool-icon-large img { width: 100%; height: 100%; object-fit: cover; }
.default-icon-large { font-size: 40px; }
.tool-info h1 { font-size: 28px; margin-bottom: 8px; }
.tool-meta { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.price-badge, .cat-badge {
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
}
.cat-badge { background: #f0f0ff; color: #6c5ce7; }
.btn-visit {
    display: inline-block;
    padding: 10px 24px;
    background: #6c5ce7;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.2s;
}
.btn-visit:hover { background: #5a4bd1; }
.tool-content {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    border: 1px solid #e8ecf1;
}
.tool-content h2 { margin-bottom: 16px; }
.tool-tags { margin-top: 24px; }
.tool-tags h3 { margin-bottom: 12px; }
.tags-list { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 16px;
    font-size: 13px;
    color: #666;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 40px 0;
}
.pagination a, .pagination span {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    border: 1px solid #e0e0e0;
    color: #555;
}
.pagination .current {
    background: #6c5ce7;
    color: #fff;
    border-color: #6c5ce7;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #999;
}

/* Footer */
.site-footer {
    background: #1a1a2e;
    color: #ccc;
    padding: 32px 0;
    margin-top: 60px;
}
.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-nav ul {
    list-style: none;
    display: flex;
    gap: 24px;
}
.footer-nav a { font-size: 14px; }
.footer-nav a:hover { color: #fff; }
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 13px;
    color: #888;
}
.footer-bottom p {
    margin: 4px 0;
}
.footer-bottom a {
    color: #888;
    text-decoration: underline;
}
.footer-bottom a:hover {
    color: #fff;
}


/* 响应式 */
@media (max-width: 768px) {
    .site-header .container { flex-wrap: wrap; }
    .main-nav { display: none; }
    .search-box { width: 100%; }
    .search-box input { width: 100%; font-size: 16px; padding: 10px 12px; }
    .search-box button { padding: 10px 14px; font-size: 16px; }
    

    .hero h1 { font-size: 28px; }
    .hero-stats { flex-direction: column; gap: 8px; }
    .tools-grid { grid-template-columns: 1fr 1fr; }
    .tool-header { flex-direction: column; }
    .footer-content { flex-direction: column; gap: 16px; text-align: center; }
}

/* Tool Detail Page */
.tool-intro h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 28px 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #6c5ce7;
}
.tool-intro h2:first-child {
    margin-top: 0;
}
.tool-intro p {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 12px;
}
.tool-intro ul, .tool-intro ol {
    padding-left: 20px;
    margin-bottom: 16px;
}
.tool-intro li {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 6px;
}
.tool-intro li strong {
    color: #1a1a2e;
}
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}
.price-table th, .price-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e8ecf1;
}
.price-table th {
    background: #f8f9fc;
    font-weight: 600;
    color: #1a1a2e;
}
.price-table tr:hover td {
    background: #f8f9fc;
}

/* Reviews Grid */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
    margin: 40px 0;
}
.review-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8ecf1;
    transition: all 0.3s;
    overflow: hidden;
}
.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border-color: #6c5ce7;
}
.review-link {
    display: block;
    padding: 24px;
}
.review-icon {
    font-size: 32px;
    margin-bottom: 12px;
}
.review-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
    line-height: 1.4;
}
.review-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
}
.review-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #999;
}
.review-more {
    color: #6c5ce7;
    font-weight: 500;
}

/* 下拉菜单样式 */
.main-nav ul li {
    position: relative;
}
.main-nav ul li.has-dropdown:hover > ul.dropdown {
    display: block;
}
.main-nav ul ul.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 150px;
    z-index: 1000;
    padding: 8px 0;
}
.main-nav ul ul.dropdown li {
    width: 100%;
}
.main-nav ul ul.dropdown li a {
    display: block;
    padding: 8px 16px;
    border-radius: 0;
}
.main-nav ul ul.dropdown li a:hover {
    background: #f0f0ff;
    color: #6c5ce7;
}

/* AI资源链接样式 */
.ai-resources {
    padding: 60px 0;
    background: #f8f9fa;
}
.ai-resources .section-title {
    text-align: center;
    margin-bottom: 20px;
}
.ai-resources p {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.resource-item h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}
.resource-item ul {
    list-style: none;
    padding: 0;
}
.resource-item li {
    margin-bottom: 8px;
}
.resource-item a {
    color: #6c5ce7;
    text-decoration: none;
    transition: color 0.2s;
}
.resource-item a:hover {
    color: #5a4bd1;
    text-decoration: underline;
}

/* 面包屑导航样式 */
.breadcrumb {
    background: #f8f9fa;
    padding: 12px 0;
    font-size: 14px;
    border-bottom: 1px solid #e0e0e0;
}
.breadcrumb a {
    color: #6c5ce7;
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb a:hover {
    color: #5a4bd1;
    text-decoration: underline;
}
.breadcrumb .separator {
    margin: 0 8px;
    color: #999;
}
.breadcrumb .current {
    color: #666;
}

/* ========== 移动端优化 ========== */

/* 汉堡菜单按钮 */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    color: #333;
}

/* 移动端样式 */
@media (max-width: 768px) {
    /* 显示汉堡菜单按钮 */
    .menu-toggle {
        display: block;
    }
    
    /* 导航菜单默认隐藏 */
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    /* 导航菜单展开时 */
    .main-nav.active {
        display: block;
    }
    
    /* 导航菜单垂直排列 */
    .main-nav ul {
        flex-direction: column;
        padding: 10px 0;
    }
    
    .main-nav li {
        width: 100%;
    }
    
    .main-nav a {
        display: block;
        padding: 12px 20px;
        border-bottom: 1px solid #f0f0f0;
    }
    
    /* 下拉菜单样式 */
    .dropdown {
        position: static !important;
    }
    
    .dropdown-menu {
        position: static !important;
        box-shadow: none !important;
        border: none !important;
        background: #f8f9fa !important;
        display: none;
    }
    
    .dropdown-menu.active {
        display: block;
    }
    
    /* Hero区域优化 */
    .hero {
        padding: 30px 0 !important;
    }
    
    .hero h1 {
        font-size: 24px !important;
    }
    
    .hero p {
        font-size: 14px !important;
    }
    
    /* 搜索框优化 */
    .hero-search {
        flex-direction: row;
        border-radius: 12px;
        overflow: hidden;
    }
    
    .hero-search input {
        flex: 1;
        padding: 14px 14px;
        font-size: 16px;
        min-width: 0;
    }
    
    .hero-search button {
        padding: 0 12px;
        min-width: 40px;
        flex-shrink: 0;
    }
    
    /* 统计数据优化 */
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-stats > div {
        margin: 5px 10px;
    }
    
    /* 工具卡片优化 */
    .tools-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    /* 分类区域优化 */
    .category-section {
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 20px !important;
    }
    
    /* 工具详情页优化 */
    .tool-detail-header {
        flex-direction: column;
        text-align: center;
    }
    
    .tool-icon-large {
        margin-bottom: 20px;
    }
    
    /* 页脚优化 */
    .site-footer {
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-links {
        justify-content: center;
    }
}

/* 小屏幕进一步优化 */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 20px !important;
    }
    
    .tool-card {
        padding: 15px !important;
    }
    
    .tool-name {
        font-size: 16px !important;
    }
    
    .tool-desc {
        font-size: 13px !important;
    }
}

/* ========== 工具详情页 - 新增区块样式 ========== */

/* 通用区块样式 */
.tool-section {
    background: #fff;
    border-radius: 12px;
    padding: 28px 32px;
    border: 1px solid #e8ecf1;
    margin-top: 24px;
}
.tool-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #6c5ce7;
}
.tool-section .section-body {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
}
.tool-section .section-body h3 {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 20px 0 10px;
}
.tool-section .section-body ul,
.tool-section .section-body ol {
    padding-left: 20px;
    margin-bottom: 12px;
}
.tool-section .section-body li {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 6px;
}
.tool-section .section-body li strong {
    color: #1a1a2e;
}
.tool-section .section-body p {
    margin-bottom: 12px;
}

/* 使用场景区块 */
.tool-use-cases {
    border-left: 4px solid #6c5ce7;
}

/* 优缺点区块 */
.tool-pros-cons {
    border-left: 4px solid #00b894;
}

/* 价格信息区块 */
.tool-pricing {
    border-left: 4px solid #fdcb6e;
}

/* FAQ 区块 */
.tool-faq {
    border-left: 4px solid #e17055;
}
.faq-list {
    margin-top: 8px;
}
.faq-item {
    border-bottom: 1px solid #f0f0f0;
    padding: 16px 0;
}
.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.faq-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}
.faq-item h3::before {
    content: 'Q';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #6c5ce7;
    color: #fff;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}
.faq-answer {
    padding-left: 32px;
    color: #555;
    font-size: 14px;
    line-height: 1.8;
}
.faq-answer p {
    margin-bottom: 8px;
}

/* ========== 分类页 - 介绍区块样式 ========== */

.category-intro {
    background: #fff;
    border-bottom: 1px solid #e8ecf1;
    padding: 40px 0;
}
.category-intro-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.category-intro-text {
    flex: 2;
}
.category-intro-text h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}
.category-intro-desc {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 16px;
}
.category-intro-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.category-stat {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 4px;
}
.category-stat strong {
    color: #6c5ce7;
    font-weight: 700;
}
.category-intro-highlights {
    flex: 1;
    background: #f8f9fc;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e8ecf1;
}
.category-intro-highlights h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}
.audience-list {
    list-style: none;
    padding: 0;
}
.audience-list li {
    padding: 8px 0;
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #f0f0f0;
}
.audience-list li:last-child {
    border-bottom: none;
}
.audience-check {
    color: #00b894;
    font-weight: 700;
}

/* 分类底部推荐区 */
.category-bottom-section {
    margin-top: 48px;
    padding: 32px;
    background: #f8f9fc;
    border-radius: 12px;
    border: 1px solid #e8ecf1;
}
.category-bottom-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}
.category-bottom-section p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 8px;
}

/* 分类面包屑 */
.category-breadcrumb {
    background: #fff;
    border-bottom: 1px solid #e8ecf1;
}

/* ========== 响应式 - 新增区块 ========== */
@media (max-width: 768px) {
    .tool-section {
        padding: 20px;
    }
    .tool-section h2 {
        font-size: 18px;
    }
    .category-intro-content {
        flex-direction: column;
        gap: 24px;
    }
    .category-intro-meta {
        flex-direction: column;
        gap: 8px;
    }
    .category-bottom-section {
        padding: 20px;
    }
}
/* ===== 内链优化样式 ===== */

/* 相关工具/文章区块 */
.related-section {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    border: 1px solid #e8ecf1;
}
.related-header {
    margin-bottom: 24px;
}
.related-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 4px;
}
.related-subtitle {
    font-size: 14px;
    color: #888;
}

/* 相关工具卡片网格 */
.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.related-card {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: #f8f9fc;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: all 0.3s;
    align-items: flex-start;
}
.related-card:hover {
    border-color: #6c5ce7;
    box-shadow: 0 4px 16px rgba(108,92,231,0.1);
    transform: translateY(-2px);
}
.related-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid #e8ecf1;
}
.related-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.related-info h3 {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 4px;
    line-height: 1.3;
}
.related-info p {
    font-size: 12px;
    color: #888;
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.price-tag {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
}
.related-more {
    margin-top: 20px;
    text-align: center;
}
.related-more a {
    color: #6c5ce7;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
}
.related-more a:hover {
    color: #5a4bd1;
    text-decoration: underline;
}

/* 相关文章列表 */
.related-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.related-article {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: #f8f9fc;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: all 0.3s;
    align-items: flex-start;
}
.related-article:hover {
    border-color: #6c5ce7;
    box-shadow: 0 4px 16px rgba(108,92,231,0.1);
}
.article-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 24px;
    border: 1px solid #e8ecf1;
}
.article-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 6px;
    line-height: 1.4;
}
.article-info p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #999;
}

/* 首页热门工具/最新文章区块 */
.home-section {
    margin-bottom: 40px;
}

/* 首页文章卡片网格 */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.article-card {
    display: block;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8ecf1;
    transition: all 0.3s;
}
.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border-color: #6c5ce7;
}
.article-card .article-icon {
    width: 56px;
    height: 56px;
    background: #f0f0ff;
    border: none;
    margin-bottom: 16px;
    font-size: 28px;
}
.article-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
    line-height: 1.4;
}
.article-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-card .article-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #999;
}

/* 首页分类网格 */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}
.category-card {
    display: block;
    padding: 16px 20px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e8ecf1;
    text-align: center;
    transition: all 0.3s;
}
.category-card:hover {
    border-color: #6c5ce7;
    box-shadow: 0 4px 12px rgba(108,92,231,0.1);
}
.category-card strong {
    display: block;
    color: #6c5ce7;
    font-size: 15px;
    margin-bottom: 4px;
}
.category-card span {
    font-size: 13px;
    color: #888;
}

/* ===== 响应式 - 内链区块 ===== */
@media (max-width: 1024px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .related-section {
        padding: 20px;
    }
    .related-grid {
        grid-template-columns: 1fr;
    }
    .articles-grid {
        grid-template-columns: 1fr;
    }
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .related-card {
        padding: 12px;
    }
    .related-article {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr 1fr;
    }
}
