/**
 * Tools Section - Premium Icons
 * Location: /wp-content/plugins/daf-marketplace/assets/css/tools-section.css
 */

.daf-mp-tools-section {
    padding: 4rem 0;
    background: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.daf-mp-tools-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Header */
.daf-mp-tools-header {
    margin-bottom: 3rem;
}

.daf-mp-section-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.daf-mp-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
}

.daf-mp-header-left {
    flex: 1;
}

.daf-mp-header-right {
    flex-shrink: 0;
}

.daf-mp-tools-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #111827;
    margin: 0 0 0.5rem;
}

.daf-mp-tools-subtitle {
    font-size: 1rem;
    color: #6b7280;
    margin: 0;
}

.daf-mp-view-all-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: #10b981;
    text-decoration: none;
    white-space: nowrap;
}

.daf-mp-view-all-link:hover {
    color: #059669;
}

/* Tools Grid */
.daf-mp-tools-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

/* Tool Card */
.daf-mp-tool-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.25rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.daf-mp-tool-card:hover {
    border-color: #10b981;
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.15);
    transform: translateY(-6px);
}

/* Tool Icon Container */
.daf-mp-tool-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.daf-mp-tool-card:hover .daf-mp-tool-icon {
    transform: scale(1.1);
}

.daf-mp-tool-icon svg {
    width: 100%;
    height: 100%;
}

/* Tool Name */
.daf-mp-tool-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.75rem;
    text-align: center;
    line-height: 1.4;
}

/* Tool Type Badge */
.daf-mp-tool-type {
    display: inline-block;
    padding: 0.3125rem 0.75rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 0.03em;
}

.daf-mp-type-free {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #059669;
}

.daf-mp-type-premium {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #d97706;
}

.daf-mp-type-more-soon {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    color: #6b7280;
}

/* Responsive */
@media (max-width: 1200px) {
    .daf-mp-tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .daf-mp-tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .daf-mp-header-row {
        flex-direction: column;
        gap: 1rem;
    }

    .daf-mp-header-right {
        order: -1;
    }
}

@media (max-width: 600px) {
    .daf-mp-tools-section {
        padding: 3rem 0;
    }

    .daf-mp-tools-container {
        padding: 0 1.25rem;
    }

    .daf-mp-tools-title {
        font-size: 1.5rem;
    }

    .daf-mp-tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .daf-mp-tool-card {
        padding: 1.5rem 1rem;
    }

    .daf-mp-tool-icon {
        width: 56px;
        height: 56px;
    }

    .daf-mp-tool-name {
        font-size: 0.8125rem;
    }
}