/**
 * Tools Hub Page Styles
 * Category-based tool discovery
 */

.tools-hub-header {
    padding: 60px 0 40px;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    color: white;
    text-align: center;
}

.tools-hub-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.tools-hub-subtitle {
    font-size: 20px;
    margin-bottom: 12px;
    opacity: 0.95;
}

.tools-hub-intro {
    font-size: 16px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Category Tabs */
.tools-categories {
    padding: 32px 0;
    background: #F9FAFB;
    border-bottom: 1px solid #E5E7EB;
    position: sticky;
    top: 0;
    z-index: 100;
}

.category-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.category-tab {
    padding: 12px 20px;
    border: none;
    background: white;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #6B7280;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.category-tab:hover {
    background: #F3F4F6;
    color: #1F2937;
}

.category-tab.active {
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    color: white;
    border-color: #6366F1;
}

/* Tools Grid Section */
.tools-grid-section {
    padding: 48px 0;
}

.tool-category {
    margin-bottom: 64px;
}

.tool-category[style*="display: none"] {
    display: none !important;
}

.category-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1F2937;
    padding: 0 20px;
}

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

.tool-card-hub {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tool-card-hub:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: #6366F1;
}

.tool-card-hub .tool-icon {
    font-size: 40px;
    margin-bottom: 8px;
}

.tool-card-hub h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1F2937;
    margin: 0;
}

.tool-card-hub p {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.5;
    margin: 0;
    flex-grow: 1;
}

.tool-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(99, 102, 234, 0.1);
    color: #6366F1;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-top: auto;
}

/* CTA Section */
.tools-hub-cta {
    padding: 64px 0;
    background: linear-gradient(135deg, #F9FAFB 0%, #FFFFFF 100%);
    text-align: center;
    border-top: 1px solid #E5E7EB;
}

.tools-hub-cta h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1F2937;
}

.tools-hub-cta p {
    font-size: 18px;
    color: #6B7280;
    margin-bottom: 32px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .tools-hub-title {
        font-size: 32px;
    }

    .tools-hub-subtitle {
        font-size: 18px;
    }

    .tools-hub-intro {
        font-size: 14px;
    }

    .category-tabs {
        padding: 0 16px;
    }

    .category-tab {
        padding: 10px 16px;
        font-size: 13px;
    }

    .tools-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 16px;
    }

    .tool-category {
        margin-bottom: 48px;
    }

    .category-title {
        font-size: 24px;
        padding: 0 16px;
    }

    .tools-hub-cta {
        padding: 48px 20px;
    }

    .tools-hub-cta h2 {
        font-size: 24px;
    }

    .tools-hub-cta p {
        font-size: 16px;
    }
}

