/* ===============================================
   Modern Icon Styles - Moveworks Inspired
   =============================================== */

/* Icon Wrapper - Glassmorphism Style */
.icon-wrapper {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.icon-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.icon-wrapper:hover::before {
    opacity: 1;
}

.feature-card:hover .icon-wrapper {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.25);
    border-color: rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
}

.icon-wrapper svg {
    color: #667eea;
    transition: all 0.3s ease;
}

.feature-card:hover .icon-wrapper svg {
    transform: scale(1.1);
    color: #764ba2;
}

/* Use Case Icons - Larger, Bold Style */
.use-case-icon .icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 24px;
}

/* Tech Icons - Inline Modern Style */
.tech-item h4 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1.25rem;
    font-weight: 700;
}

.tech-item .tech-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12), rgba(118, 75, 162, 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(102, 126, 234, 0.15);
    transition: all 0.3s ease;
}

.tech-item:hover .tech-icon-wrapper {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    border-color: rgba(102, 126, 234, 0.3);
    transform: rotate(-5deg);
}

.tech-icon-wrapper svg {
    color: #667eea;
    width: 22px;
    height: 22px;
}

/* Problem/Solution Icons */
.icon-box {
    width: 90px;
    height: 90px;
    margin: 0 auto var(--spacing-md) auto;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(245, 101, 101, 0.1), rgba(237, 100, 166, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(245, 101, 101, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-solution {
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.1), rgba(56, 178, 172, 0.1));
    border-color: rgba(72, 187, 120, 0.2);
}

.problem-box:hover .icon-box {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 15px 35px rgba(245, 101, 101, 0.3);
}

.solution-box:hover .icon-box {
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 15px 35px rgba(72, 187, 120, 0.3);
}

.icon-box svg {
    width: 48px;
    height: 48px;
    color: #f56565;
}

.icon-solution svg {
    color: #48bb78;
}

/* Modern Card Enhancements */
.feature-card {
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.use-case-card,
.benefit-card {
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.use-case-card:hover,
.benefit-card:hover {
    border-color: rgba(102, 126, 234, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .icon-wrapper {
        width: 64px;
        height: 64px;
        border-radius: 18px;
    }

    .use-case-icon .icon-wrapper {
        width: 72px;
        height: 72px;
        border-radius: 20px;
    }

    .icon-box {
        width: 80px;
        height: 80px;
        border-radius: 24px;
    }

    .icon-box svg {
        width: 40px;
        height: 40px;
    }
}

/* Animation Keyframes */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.feature-icon .icon-wrapper {
    animation: float 6s ease-in-out infinite;
}

.feature-card:nth-child(2n) .icon-wrapper {
    animation-delay: 1s;
}

.feature-card:nth-child(3n) .icon-wrapper {
    animation-delay: 2s;
}
