/* Clean Bot Grid Styles */

/* Clean Chess Grid Background Pattern */
#features-4 {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

#features-4::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(to right, #f3f4f6 1px, transparent 1px),
        linear-gradient(to bottom, #f3f4f6 1px, transparent 1px);
    background-size: 150px 150px;
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
}

/* Ensure content is above the pattern */
#features-4 .container {
    position: relative;
    z-index: 2;
}

/* Category Filter Tabs */
.bot-categories {
    margin-bottom: 50px;
}

.category-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-tabs li {
    padding: 12px 24px;
    background: #f8f9ff;
    border: 2px solid #e5e7eb;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #6b7280;
}

.category-tabs li:hover,
.category-tabs li.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Bot Card Styles */
.bot-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.bot-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.bot-card {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid #f3f4f6;
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.bot-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.bot-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.bot-card h4 {
    color: #1f2937;
    margin-bottom: 5px;
    font-weight: 700;
    font-size: 1.3rem;
}

.bot-industry {
    color: #667eea;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.bot-description {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.bot-stats {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid #f3f4f6;
    margin-top: auto;
}

.bot-stats .stat {
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 600;
}

.bot-stats .rating {
    color: #f59e0b;
    font-weight: 700;
}

/* Channel Showcase */
.channel-showcase {
    background: #f8f9ff;
    border-radius: 20px;
    padding: 40px;
    margin-top: 60px;
}

.channel-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.channel-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.channel-icon {
    font-size: 2.5rem;
    background: white;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.channel-item span {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

/* Grid Responsiveness */
@media (max-width: 992px) {
    .bot-card {
        padding: 25px 15px;
    }
    
    .bot-icon {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    .category-tabs {
        gap: 10px;
    }
    
    .category-tabs li {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    
    .bot-card h4 {
        font-size: 1.1rem;
    }
    
    .channel-icons {
        gap: 20px;
    }
    
    .channel-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
}

/* Bot item filtering */
.bot-item {
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.bot-item.hidden {
    display: none !important;
}