/* --- Container & Header --- */
.catalog-container {
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 20px;
    font-family: Inter, sans-serif;
}

.catalog-header {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #282828;
}

/* --- Filters --- */
.catalog-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    background: #f5f5f5;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #282828;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #e0e0e0;
    border-color: #282828;
}

.filter-btn.active {
    background: #282828;
    color: white;
    border-color: #282828;
}

/* --- Grid & Cards (Equal Height) --- */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
    align-items: stretch;
}

.catalog-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.catalog-card-link:hover {
    transform: translateY(-2px);
}

.catalog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 1;
}

.catalog-card-link:hover .catalog-card {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* --- Card Image --- */
.catalog-image {
    height: 180px;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.catalog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalog-image-placeholder {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
}

/* --- Card Content --- */
.catalog-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.catalog-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 15px;
}

.catalog-badge-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #0D96F7;
    color: white;
    border-radius: 50%;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
}

.catalog-badge-text {
    line-height: 1.4;
}

.catalog-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #282828;
}

.catalog-description {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 400;
    flex-grow: 1;
    line-height: 1.6;
}

.catalog-funding {
    font-size: 32px;
    color: #282828;
    margin-bottom: 10px;
    line-height: 130%;
    font-weight: 600;
}

.catalog-status {
    font-size: 16px;
    margin-bottom: 10px;
}

.catalog-investors {
    font-size: 16px;
    color: #282828;
    border-top: 1px solid #eee;
    padding-top: 10px;
    margin-top: auto;
    display: flex;
    align-items: center;
}

.catalog-more-text {
    display: inline-block;
    vertical-align: middle;
}

.catalog-more-icon {
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
    transition: transform 0.2s ease;
}

.catalog-card-link:hover .catalog-more-icon {
    transform: translateX(4px);
}

/* --- Empty State --- */
.catalog-empty {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 18px;
    grid-column: 1 / -1;
}

/* --- Show More Button --- */
.catalog-show-more-btn {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    padding: 14px 24px;
    background: #0D96F7;
    color: white;
    border: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 150, 247, 0.3);
}

.catalog-show-more-btn:hover {
    background: #0b85e0;
    box-shadow: 0 6px 20px rgba(13, 150, 247, 0.4);
    transform: translateY(-2px);
}

.catalog-show-more-btn:active {
    transform: translateY(0);
}

/* Tablet: ≤ 992px */
@media (max-width: 992px) {
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: ≤ 576px */
@media (max-width: 576px) {
    .catalog-container {
        padding: 15px;
    }
    
    .catalog-header {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .catalog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .catalog-filters {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .filter-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .catalog-card {
        border-radius: 12px;
    }
    
    .catalog-image {
        height: 200px;
    }
    
    .catalog-content {
        padding: 16px;
    }
    
    .catalog-title {
        font-size: 18px;
    }
    
    .catalog-description {
        font-size: 14px;
    }
    
    .catalog-funding {
        font-size: 28px;
    }
    
    .catalog-show-more-btn {
        max-width: 100%;
        font-size: 15px;
        padding: 12px 20px;
    }
}

/* Small Mobile: ≤ 380px */
@media (max-width: 380px) {
    .catalog-header {
        font-size: 22px;
    }
    
    .catalog-title {
        font-size: 16px;
    }
    
    .catalog-description {
        font-size: 13px;
    }
    
    .catalog-funding {
        font-size: 24px;
    }
    
    .catalog-badge {
        font-size: 14px;
    }
    
    .catalog-badge-number {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
}