.tools-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.tool-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card, #ffffff);
    border: 1px solid var(--border-color, #e8ecf1);
    border-radius: 16px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow, 0 1px 3px rgba(0, 0, 0, 0.04));
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-color, #0066cc);
}

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

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

.tool-header h2 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary, #1a1a2e);
}

.tool-card p {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary, #666666);
    margin-bottom: 18px;
}

.tool-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tool-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    background: rgba(0, 102, 204, 0.1);
    color: var(--accent-color, #0066cc);
    font-size: 0.8rem;
    font-weight: 500;
}

.tool-arrow {
    color: var(--text-secondary, #666666);
    transition: transform 0.2s, color 0.2s;
}

.tool-card:hover .tool-arrow {
    transform: translateX(4px);
    color: var(--accent-color, #0066cc);
}

@media (max-width: 768px) {
    .tools-section {
        padding: 24px 16px;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }
}
