/* Industries Section - Clean & Minimal Design */

/* Industries Section */
.industries-section.clean {
    padding: 120px 0;
    background: #FFFFFF;
    position: relative;
    contain: layout style;
}

/* Simple gradient background */
.industries-section.clean::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 400px;
    background: linear-gradient(180deg,
        rgba(124, 58, 237, 0.03) 0%,
        transparent 100%);
    pointer-events: none;
}

/* Header */
.industries-header.clean {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.industries-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gufi-purple);
    margin-bottom: 24px;
}

.industries-header.clean h2 {
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 800;
    margin: 0 0 20px 0;
    letter-spacing: -0.03em;
    color: var(--gufi-purple);
}

.industries-header.clean .subtitle {
    font-size: 20px;
    line-height: 1.5;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
}

/* Grid Layout */
.industries-grid.clean {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Industry Card - Simple & Clean */
.industry-card.clean {
    display: block;
    padding: 32px;
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    transform: translateZ(0); /* Enable GPU acceleration */
    backface-visibility: hidden; /* Prevent flickering */
    position: relative;
    overflow: hidden;
}

.industry-card.clean:hover {
    transform: translateY(-4px);
    box-shadow:
        0 20px 40px rgba(124, 58, 237, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: rgba(124, 58, 237, 0.2);
    will-change: transform, box-shadow;
}

/* Icon - Simple colored background */
.industry-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
    position: relative;
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.15);
}

/* Contextually appropriate colors for each industry */
.industry-card.clean:nth-child(1) .industry-icon-box { background: rgba(107, 114, 128, 0.1); border-color: rgba(107, 114, 128, 0.2); } /* Manufacturing - Gray */
.industry-card.clean:nth-child(2) .industry-icon-box { background: rgba(59, 130, 246, 0.1); border-color: rgba(59, 130, 246, 0.2); } /* Transport - Blue */
.industry-card.clean:nth-child(3) .industry-icon-box { background: rgba(16, 185, 129, 0.1); border-color: rgba(16, 185, 129, 0.2); } /* Retail - Green */
.industry-card.clean:nth-child(4) .industry-icon-box { background: rgba(251, 146, 60, 0.1); border-color: rgba(251, 146, 60, 0.2); } /* Restaurants - Orange */
.industry-card.clean:nth-child(5) .industry-icon-box { background: rgba(139, 92, 246, 0.1); border-color: rgba(139, 92, 246, 0.2); } /* Communications - Purple */
.industry-card.clean:nth-child(6) .industry-icon-box { background: rgba(59, 130, 246, 0.1); border-color: rgba(59, 130, 246, 0.2); } /* Technology - Blue */
.industry-card.clean:nth-child(7) .industry-icon-box { background: rgba(245, 158, 11, 0.1); border-color: rgba(245, 158, 11, 0.2); } /* Energy - Amber */
.industry-card.clean:nth-child(8) .industry-icon-box { background: rgba(239, 68, 68, 0.1); border-color: rgba(239, 68, 68, 0.2); } /* Health - Red */
.industry-card.clean:nth-child(9) .industry-icon-box { background: rgba(30, 64, 175, 0.1); border-color: rgba(30, 64, 175, 0.2); } /* Public Sector - Navy */
.industry-card.clean:nth-child(10) .industry-icon-box { background: rgba(16, 185, 129, 0.1); border-color: rgba(16, 185, 129, 0.2); } /* Financial - Green */
.industry-card.clean:nth-child(11) .industry-icon-box { background: rgba(79, 70, 229, 0.1); border-color: rgba(79, 70, 229, 0.2); } /* Education - Indigo */
.industry-card.clean:nth-child(12) .industry-icon-box { background: rgba(107, 114, 128, 0.1); border-color: rgba(107, 114, 128, 0.2); } /* Professional - Gray */

/* Hover effect for icon box - maintains contextual colors, just stronger */
.industry-card.clean:hover .industry-icon-box {
    transform: scale(1.05);
    transition: all 0.3s ease;
}

/* Individual hover states to maintain contextual colors */
.industry-card.clean:nth-child(1):hover .industry-icon-box { background: rgba(107, 114, 128, 0.15); border-color: rgba(107, 114, 128, 0.3); }
.industry-card.clean:nth-child(2):hover .industry-icon-box { background: rgba(59, 130, 246, 0.15); border-color: rgba(59, 130, 246, 0.3); }
.industry-card.clean:nth-child(3):hover .industry-icon-box { background: rgba(16, 185, 129, 0.15); border-color: rgba(16, 185, 129, 0.3); }
.industry-card.clean:nth-child(4):hover .industry-icon-box { background: rgba(251, 146, 60, 0.15); border-color: rgba(251, 146, 60, 0.3); }
.industry-card.clean:nth-child(5):hover .industry-icon-box { background: rgba(139, 92, 246, 0.15); border-color: rgba(139, 92, 246, 0.3); }
.industry-card.clean:nth-child(6):hover .industry-icon-box { background: rgba(59, 130, 246, 0.15); border-color: rgba(59, 130, 246, 0.3); }
.industry-card.clean:nth-child(7):hover .industry-icon-box { background: rgba(245, 158, 11, 0.15); border-color: rgba(245, 158, 11, 0.3); }
.industry-card.clean:nth-child(8):hover .industry-icon-box { background: rgba(239, 68, 68, 0.15); border-color: rgba(239, 68, 68, 0.3); }
.industry-card.clean:nth-child(9):hover .industry-icon-box { background: rgba(30, 64, 175, 0.15); border-color: rgba(30, 64, 175, 0.3); }
.industry-card.clean:nth-child(10):hover .industry-icon-box { background: rgba(16, 185, 129, 0.15); border-color: rgba(16, 185, 129, 0.3); }
.industry-card.clean:nth-child(11):hover .industry-icon-box { background: rgba(79, 70, 229, 0.15); border-color: rgba(79, 70, 229, 0.3); }
.industry-card.clean:nth-child(12):hover .industry-icon-box { background: rgba(107, 114, 128, 0.15); border-color: rgba(107, 114, 128, 0.3); }

/* Content */
.industry-card.clean h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--black);
    margin: 0 0 12px 0;
    letter-spacing: -0.01em;
}

.industry-card.clean p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--gray-600);
    margin: 0 0 20px 0;
}

/* Tags */
.industry-tags-simple {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.industry-tag-simple {
    padding: 6px 12px;
    background: rgba(124, 58, 237, 0.08);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gufi-purple);
}

/* Arrow link */
.industry-arrow {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 32px;
    height: 32px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.industry-arrow svg {
    width: 16px;
    height: 16px;
    fill: var(--gufi-purple);
    transition: transform 0.3s ease;
}

.industry-card.clean:hover .industry-arrow {
    background: var(--gufi-purple);
}

.industry-card.clean:hover .industry-arrow svg {
    fill: white;
    transform: translateX(2px);
}

/* Fade in animation - optimized with will-change */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.industry-card.clean {
    animation: fadeInUp 0.6s ease forwards;
    will-change: transform, opacity;
}

/* Remove will-change after animation completes */
.industry-card.clean:not(:hover) {
    animation-fill-mode: both;
}

/* Staggered animation */
.industry-card.clean:nth-child(1) { animation-delay: 0s; }
.industry-card.clean:nth-child(2) { animation-delay: 0.05s; }
.industry-card.clean:nth-child(3) { animation-delay: 0.1s; }
.industry-card.clean:nth-child(4) { animation-delay: 0.15s; }
.industry-card.clean:nth-child(5) { animation-delay: 0.2s; }
.industry-card.clean:nth-child(6) { animation-delay: 0.25s; }
.industry-card.clean:nth-child(7) { animation-delay: 0.3s; }
.industry-card.clean:nth-child(8) { animation-delay: 0.35s; }
.industry-card.clean:nth-child(9) { animation-delay: 0.4s; }
.industry-card.clean:nth-child(10) { animation-delay: 0.45s; }
.industry-card.clean:nth-child(11) { animation-delay: 0.5s; }
.industry-card.clean:nth-child(12) { animation-delay: 0.55s; }

/* Responsive */
@media (max-width: 768px) {
    .industries-section.clean {
        padding: 80px 0;
    }

    .industries-header.clean {
        margin-bottom: 60px;
    }

    .industries-grid.clean {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .industry-card.clean {
        padding: 24px;
    }
}