/* ============================================
   INSPIREUS CATEGORY HUB PAGE STYLES
   Clean, Minimal, Professional
   ============================================ */

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
    padding: 20px 0;
    background: var(--background);
    border-bottom: 1px solid var(--gray-200);
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb-link {
    color: var(--gray-500);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: var(--primary);
}

.breadcrumb-separator {
    color: var(--gray-300);
    font-size: 14px;
}

.breadcrumb-current {
    color: var(--gray-800);
    font-weight: var(--font-weight-medium);
}

/* ============================================
   CATEGORY HERO - COMPACT
   ============================================ */
.category-hero {
    background: linear-gradient(160deg, #0A7C6E 0%, #086356 100%);
    padding: 48px 0;
    position: relative;
    overflow: hidden;
}

.category-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.category-hero-content {
    display: flex;
    align-items: center;
    gap: 28px;
    position: relative;
    z-index: 1;
}

.category-hero-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    backdrop-filter: blur(10px);
}

.category-hero-text h1 {
    color: var(--white);
    font-size: var(--font-size-h2);
    margin-bottom: 8px;
}

.category-hero-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 12px;
    max-width: 600px;
}

.category-hero-meta {
    display: flex;
    gap: 10px;
}

.meta-badge {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.15);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: var(--font-weight-medium);
}

/* ============================================
   TOOLS GRID - MAIN SECTION
   ============================================ */
.tools-section {
    padding: 80px 0;
    background: var(--white);
}

.tools-grid-category {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.tool-card-category {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--background);
    border: 1px solid transparent;
    border-radius: var(--border-radius);
    padding: 20px 24px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.tool-card-category:hover {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.tool-card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: background 0.25s ease;
}

.tool-card-category:hover .tool-card-icon {
    background: var(--primary-light);
}

.tool-card-info {
    flex: 1;
    min-width: 0;
}

.tool-card-info h3 {
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    color: var(--gray-900);
    margin-bottom: 3px;
}

.tool-card-info p {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tool-card-arrow {
    flex-shrink: 0;
    color: var(--gray-300);
    font-size: 18px;
    transition: all 0.25s ease;
}

.tool-card-category:hover .tool-card-arrow {
    color: var(--primary);
    transform: translateX(4px);
}

/* ============================================
   TRENDING ROW - COMPACT
   ============================================ */
.trending-category {
    padding: 80px 0;
    background: var(--background);
}

.trending-row-category {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.trending-card-category {
    background: var(--white);
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-200);
    padding: 24px;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.trending-card-category:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.trending-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.trending-card-category h3 {
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    color: var(--gray-900);
    margin-bottom: 6px;
}

.trending-card-category p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.5;
    margin-bottom: 18px;
    flex: 1;
}

.trending-card-category .btn-sm {
    align-self: flex-start;
    height: 38px;
    padding: 0 18px;
    font-size: 13px;
}

.tool-icon-small {
    font-size: 24px;
    width: 42px;
    height: 42px;
    background: var(--primary-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trend-badge-minimal {
    font-size: 11px;
    font-weight: var(--font-weight-medium);
    color: var(--accent);
    background: #FFF5F0;
    padding: 4px 10px;
    border-radius: 20px;
}

/* ============================================
   FAQ - COMPACT
   ============================================ */
.faq-category {
    padding: 80px 0;
    background: var(--white);
}

.faq-container-minimal {
    max-width: 640px;
    margin: 0 auto;
}

.faq-item-minimal {
    background: var(--background);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.faq-item-minimal:hover {
    border-color: var(--gray-300);
}

.faq-item-minimal.active {
    border-color: var(--primary);
    background: var(--white);
}

.faq-question-minimal {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: var(--font-weight-medium);
    color: var(--gray-800);
    text-align: left;
    transition: color 0.2s ease;
}

.faq-item-minimal.active .faq-question-minimal {
    color: var(--primary);
}

.faq-arrow {
    flex-shrink: 0;
    color: var(--gray-400);
    transition: transform 0.25s ease;
}

.faq-item-minimal.active .faq-arrow {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer-minimal {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item-minimal.active .faq-answer-minimal {
    max-height: 200px;
}

.faq-answer-minimal p {
    padding: 0 20px 16px;
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ============================================
   RELATED CATEGORIES - COMPACT
   ============================================ */
.related-categories {
    padding: 80px 0;
    background: var(--background);
}

.related-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.related-category-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--white);
    border: 1px solid transparent;
    border-radius: var(--border-radius);
    padding: 18px 20px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.related-category-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.related-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: background 0.25s ease;
}

.related-category-card:hover .related-icon {
    background: var(--primary);
}

.related-info {
    flex: 1;
}

.related-info h3 {
    font-size: 15px;
    font-weight: var(--font-weight-bold);
    color: var(--gray-900);
    margin-bottom: 2px;
}

.related-info span {
    font-size: 12px;
    color: var(--gray-500);
}

.related-arrow {
    flex-shrink: 0;
    color: var(--gray-300);
    font-size: 16px;
    transition: all 0.25s ease;
}

.related-category-card:hover .related-arrow {
    color: var(--primary);
    transform: translateX(3px);
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */
@media screen and (max-width: 1024px) {
    .tools-grid-category {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trending-row-category {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .related-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   RESPONSIVE - TABLET PORTRAIT
   ============================================ */
@media screen and (max-width: 768px) {
    .category-hero {
        padding: 40px 0;
    }
    
    .category-hero-content {
        gap: 20px;
    }
    
    .category-hero-icon {
        width: 64px;
        height: 64px;
        font-size: 28px;
        border-radius: 16px;
    }
    
    .category-hero-text h1 {
        font-size: 24px;
    }
    
    .category-hero-text p {
        font-size: 14px;
    }
    
    .tools-section,
    .trending-category,
    .faq-category,
    .related-categories {
        padding: 60px 0;
    }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@media screen and (max-width: 480px) {
    .breadcrumb {
        padding: 14px 0;
    }
    
    .breadcrumb-list {
        gap: 6px;
    }
    
    .breadcrumb-item {
        font-size: 13px;
        gap: 6px;
    }
    
    .category-hero {
        padding: 32px 0;
    }
    
    .category-hero-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .category-hero-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
        border-radius: 14px;
    }
    
    .category-hero-text h1 {
        font-size: 22px;
    }
    
    .category-hero-meta {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .meta-badge {
        font-size: 12px;
        padding: 3px 10px;
    }
    
    .tools-grid-category {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .tool-card-category {
        padding: 16px 18px;
    }
    
    .tool-card-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        border-radius: 10px;
    }
    
    .tool-card-info h3 {
        font-size: 15px;
    }
    
    .tool-card-info p {
        font-size: 13px;
    }
    
    .trending-row-category {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    
    .related-categories-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .related-category-card {
        padding: 14px 16px;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .related-icon {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
    
    .related-info h3 {
        font-size: 14px;
    }
    
    .related-arrow {
        display: none;
    }
    
    .faq-question-minimal {
        padding: 14px 16px;
        font-size: 14px;
    }
    
    .faq-answer-minimal p {
        padding: 0 16px 14px;
        font-size: 13px;
    }
}