/* Software Icon Styles */
.software-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.software-icon-wrapper:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.software-icon-wrapper i {
    font-size: 40px;
    color: white;
    z-index: 2;
}

/* Software-specific gradients */
.icon-odoo {
    background: linear-gradient(135deg, #714B67 0%, #A64D79 100%);
}

.icon-erpnext {
    background: linear-gradient(135deg, #0089FF 0%, #1A73E8 100%);
}

.icon-mifos {
    background: linear-gradient(135deg, #00A651 0%, #00C853 100%);
}

.icon-fineract {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
}

.icon-ckan {
    background: linear-gradient(135deg, #E63946 0%, #F72585 100%);
}

.icon-dataverse {
    background: linear-gradient(135deg, #4361EE 0%, #7209B7 100%);
}

.icon-geonode {
    background: linear-gradient(135deg, #06A77D 0%, #00D9FF 100%);
}

.icon-geoserver {
    background: linear-gradient(135deg, #2A9D8F 0%, #264653 100%);
}

.icon-superset {
    background: linear-gradient(135deg, #20A4F3 0%, #1E88E5 100%);
}

.icon-metabase {
    background: linear-gradient(135deg, #509EE3 0%, #7B68EE 100%);
}

.icon-openg2p {
    background: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
}

.icon-commcare {
    background: linear-gradient(135deg, #F093FB 0%, #F5576C 100%);
}

.icon-opencrvs {
    background: linear-gradient(135deg, #4FACFE 0%, #00F2FE 100%);
}

.icon-decidim {
    background: linear-gradient(135deg, #FA709A 0%, #FEE140 100%);
}

.icon-consul {
    background: linear-gradient(135deg, #30CFD0 0%, #330867 100%);
}

.icon-alfresco {
    background: linear-gradient(135deg, #A8EDEA 0%, #FED6E3 100%);
}

.icon-paperless {
    background: linear-gradient(135deg, #FF9A56 0%, #FF6A88 100%);
}

.icon-nextcloud {
    background: linear-gradient(135deg, #0082C9 0%, #30C5FF 100%);
}

.icon-grafana {
    background: linear-gradient(135deg, #F46B45 0%, #EEA849 100%);
}

.icon-amundsen {
    background: linear-gradient(135deg, #5F72BD 0%, #9B23EA 100%);
}

.icon-datahub {
    background: linear-gradient(135deg, #0093E9 0%, #80D0C7 100%);
}

.icon-openmetadata {
    background: linear-gradient(135deg, #8EC5FC 0%, #E0C3FC 100%);
}

.icon-postgis {
    background: linear-gradient(135deg, #336791 0%, #699BC6 100%);
}

.icon-qgis-server {
    background: linear-gradient(135deg, #589632 0%, #93B023 100%);
}

.icon-mapserver {
    background: linear-gradient(135deg, #D4145A 0%, #FBB03B 100%);
}

.icon-leaflet {
    background: linear-gradient(135deg, #199900 0%, #7BB32E 100%);
}

/* Category badges with icons */
.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.category-erp {
    background: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    color: white;
}

.category-fintech {
    background: linear-gradient(135deg, #00A651 0%, #00C853 100%);
    color: white;
}

.category-data {
    background: linear-gradient(135deg, #E63946 0%, #F72585 100%);
    color: white;
}

.category-gis {
    background: linear-gradient(135deg, #06A77D 0%, #00D9FF 100%);
    color: white;
}

.category-analytics {
    background: linear-gradient(135deg, #20A4F3 0%, #1E88E5 100%);
    color: white;
}

.category-govtech {
    background: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    color: white;
}

/* Animated background patterns */
.software-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(128, 0, 32, 0.1) 10px, rgba(128, 0, 32, 0.1) 20px);
}

/* Logo placeholder with first letter */
.software-logo-letter {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
