/* Alternating Benefits Section Styles */
.benefit-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.benefit-row:nth-child(even) {
    animation-delay: 0.2s;
}

.benefit-row:nth-child(odd) {
    animation-delay: 0.4s;
}

/* Stat Box - Large Number Display */
.benefit-stat {
    min-width: 250px;
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(217, 70, 239, 0.1) 100%);
    border-radius: 24px;
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    overflow: hidden;
}

.benefit-stat::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, #6366f1, #d946ef);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.6;
}

.stat-number {
    font-size: 4.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #6366f1 0%, #d946ef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 0 20px rgba(138, 43, 226, 0.5));
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Benefit Content */
.benefit-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.benefit-content:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(160, 32, 240, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(138, 43, 226, 0.2);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(217, 70, 239, 0.2) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.benefit-content h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Alternating Layout */
.benefit-left {
    flex-direction: row;
}

.benefit-right {
    flex-direction: row-reverse;
}

/* Animation */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive - Forced Horizontal Layout */
@media (max-width: 768px) {
    .benefit-row {
        flex-direction: row !important;
        /* Force side-by-side */
        gap: 0.8rem !important;
        /* Ensure uniform gap on mobile */
        margin-bottom: 2rem;
        padding: 0 0.5rem;
        width: 100%;
        box-sizing: border-box;
    }

    /* Reset the desktop adjustment for mobile */
    .benefit-row:last-of-type {
        gap: 0.8rem !important;
    }

    .benefit-right {
        flex-direction: row-reverse !important;
    }

    .benefit-stat {
        min-width: 100px;
        flex: 0 0 110px;
        padding: 1.2rem 0.5rem;
        border-radius: 12px;
    }

    .benefit-stat::before {
        border-radius: 12px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.55rem;
        letter-spacing: 0;
    }

    .benefit-content {
        padding: 1rem;
        border-radius: 12px;
        text-align: left;
    }

    .benefit-icon {
        width: 30px;
        height: 30px;
        font-size: 1rem;
        margin-bottom: 0.5rem;
        margin-left: 0;
    }

    .benefit-content h3 {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }

    .benefit-content .card-text {
        font-size: 0.65rem;
        line-height: 1.3;
    }
}