/* ===== MODERN WIDGET LAYOUTS - LIGHT THEME ===== */

/* Feature Cards with Icons */
.feature-widget {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(59, 130, 246, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #3b82f6, #8b5cf6);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-widget:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.feature-widget:hover::before {
    opacity: 1;
}

.feature-widget-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 16px;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25);
    flex-shrink: 0;
}

.feature-widget-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.feature-widget h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.875rem;
    line-height: 1.3;
}

.feature-widget p {
    color: #64748b;
    line-height: 1.7;
    font-size: 0.95rem;
    flex-grow: 1;
}

/* Process Steps - Timeline Style */
.process-widget {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transition: all 0.4s ease;
    border: 1px solid rgba(59, 130, 246, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.process-widget::after {
    content: '';
    position: absolute;
    top: 0;
    left: 2.5rem;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, #3b82f6, #8b5cf6);
    transition: height 0.6s ease;
}

.process-widget:hover::after {
    height: 100%;
}

.process-number {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    border-radius: 50%;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.process-widget h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.875rem;
}

.process-widget p {
    color: #64748b;
    line-height: 1.7;
    font-size: 0.95rem;
    flex-grow: 1;
}

/* Industry Cards - Grid with Hover */
.industry-widget {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.75rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(59, 130, 246, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.industry-widget::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.industry-widget:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
}

.industry-widget:hover::before {
    opacity: 1;
}

.industry-widget h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.industry-widget p {
    color: #64748b;
    line-height: 1.7;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

/* Section Header with Badge */
.section-header-modern {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    color: #3b82f6;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Stats Section - Light */
.stats-section {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem 0;
}

.stat-item {
    text-align: center;
    padding: 1rem 0.5rem;
}

.stat-number {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 500;
}

/* Responsive Grid */
.modern-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.modern-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}

@media (max-width: 768px) {
    .modern-grid-3,
    .modern-grid-4 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-widget,
    .process-widget,
    .industry-widget {
        padding: 1.5rem;
    }
    
    .section-header-modern {
        margin-bottom: 2rem;
    }
}
