/* ================================
   Products Catalogue Page Styles
   ================================ */

/* Role Tabs */
.role-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.role-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border: 2px solid var(--border-color, #e5e7eb);
    border-radius: 50px;
    background: var(--white, #ffffff);
    color: var(--gray-text, #6b7280);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.role-tab:hover {
    border-color: var(--primary-blue, #1b5cac);
    color: var(--primary-blue, #1b5cac);
    background: rgba(27, 92, 172, 0.05);
}

.role-tab.active {
    background: var(--primary-blue, #1b5cac);
    border-color: var(--primary-blue, #1b5cac);
    color: var(--white, #ffffff);
}

.role-tab i {
    font-size: 1.1rem;
}

/* Role Content */
.role-content {
    display: none;
}

.role-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Catalogue Section */
.catalogue-section {
    padding: 3rem 0 2rem;
}

/* Feature Category */
.feature-category {
    margin-bottom: 3rem;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, var(--primary-blue, #1b5cac), var(--secondary-blue, #487cbc));
    border-radius: 12px;
    color: var(--white, #ffffff);
}

.category-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    flex-shrink: 0;
}

.category-icon i {
    font-size: 1.5rem;
    color: var(--white, #ffffff);
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    color: var(--white, #ffffff);
}

.category-desc {
    font-size: 0.95rem;
    margin: 0;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}

.feature-grid-2x2 {
    grid-template-columns: repeat(2, 1fr);
}

/* Feature Card */
.feature-card {
    background: var(--white, #ffffff);
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.feature-card:hover {
    border-color: var(--primary-blue, #1b5cac);
    box-shadow: 0 4px 20px rgba(27, 92, 172, 0.12);
    transform: translateY(-2px);
}

.feature-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-blue, #d1deee);
    border-radius: 10px;
    margin-bottom: 1rem;
}

.feature-icon i {
    font-size: 1.15rem;
    color: var(--primary-blue, #1b5cac);
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark-text, #1f2937);
    margin: 0 0 0.5rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--gray-text, #6b7280);
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.catalogue-cta {
    text-align: center;
    padding: 4rem 0;
    background: var(--light-gray, #f8fafc);
}

.catalogue-cta h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-text, #1f2937);
    margin: 0 0 1rem;
}

.catalogue-cta > .container > p {
    font-size: 1.1rem;
    color: var(--gray-text, #6b7280);
    max-width: 600px;
    margin: 0 auto;
}

/* ================================
   Responsive Design
   ================================ */

@media (max-width: 768px) {
    .role-tabs {
        gap: 0.5rem;
    }

    .role-tab {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    .role-tab span {
        display: inline;
    }

    .category-header {
        padding: 1.25rem 1.5rem;
        gap: 1rem;
    }

    .category-title {
        font-size: 1.25rem;
    }

    .category-icon {
        width: 42px;
        height: 42px;
    }

    .category-icon i {
        font-size: 1.2rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .catalogue-cta h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .role-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .role-tab {
        justify-content: center;
    }

    .category-header {
        flex-direction: column;
        text-align: center;
    }

    .feature-card {
        padding: 1.25rem;
    }
}
