/* 导航卡片专用样式 */
.navigation-section {
    background-color: #fff;
}

.nav-card-item {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    color: inherit;
    text-decoration: none;
}

.nav-card-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(106, 192, 69, 0.2);
    border-color: #6ac045;
}

.nav-card-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.nav-card-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
}

.nav-card-content {
    flex: 1;
    min-width: 0;
}

.nav-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
}

.nav-card-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 8px;
}

.nav-card-meta {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.category-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.search-box {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.search-input {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #6ac045;
    box-shadow: 0 0 0 3px rgba(106, 192, 69, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #6ac045;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 13px;
    color: #666;
}

.hidden-item {
    display: none !important;
}


/* 移动端优化 */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .nav-card-item {
        padding: 10px;
        gap: 10px;
    }
    
    .nav-card-left {
        margin-bottom: 0;
    }
    
    .nav-card-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 18px;
        border-radius: 8px;
    }
    
    .nav-card-title {
        font-size: 14px;
        margin-bottom: 4px;
    }
    
    .nav-card-desc {
        font-size: 11px;
        margin-bottom: 4px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .nav-card-meta {
        font-size: 10px;
    }

    .category-badge {
        padding: 2px 6px;
        font-size: 9px;
    }
    
    .search-input {
        font-size: 16px; /* 防止iOS自动缩放 */
    }
}

/* 字体加载优化 */
@font-face {
    font-family: 'Font Awesome 5 Free';
    font-display: swap;
}

