/* 工具箱页面样式 */

/* 工具区域 */
.tools-section {
    min-height: 70vh;
    padding: 24px 0;
}

/* 工具网格 */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

/* 工具卡片 */
.tool-card {
    background: white;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid #e8e8e8;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: #d9d9d9;
}

.tool-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.tool-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    flex-shrink: 0;
}

.tool-card h2 {
    font-size: 1.2rem;
    color: #1a1a1a;
    font-weight: 600;
}

.tool-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.tool-footer {
    display: flex;
    align-items: center;
    width: 100%;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.tool-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    background: #f6ffed;
    color: #52c41a;
    border: 1px solid #b7eb8f;
}

.tool-arrow {
    margin-left: auto;
    color: #1890ff;
    font-size: 1.1rem;
    transition: transform 0.3s;
}

.tool-card:hover .tool-arrow {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: 1fr;
        padding: 0 16px 32px;
    }
    .tool-card {
        padding: 20px;
    }
}
