/* Modern Benefits Section */
.benefits {
    padding: 120px 60px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(251, 191, 36, 0.04) 0%, transparent 40%);
    z-index: 1;
}

.benefits .container {
    position: relative;
    z-index: 2;
}

.benefits h2 {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 80px;
    background: linear-gradient(135deg, #1e293b, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.benefits h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 2px;
}

/* Benefits Grid */
.benefits-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual Benefit Cards */
.benefit {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.benefit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: transparent;
    transition: all 0.4s ease;
}

.benefit:nth-child(1)::before {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.benefit:nth-child(2)::before {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.benefit:nth-child(3)::before {
    background: linear-gradient(135deg, #ec4899, #be185d);
}

.benefit:nth-child(4)::before {
    background: linear-gradient(135deg, #10b981, #059669);
}

.benefit:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.95);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.8);
}

/* Animated Icons */
.benefit-icon {
    font-size: 4rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 50%;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 2px 4px rgba(255, 255, 255, 0.5);
    position: relative;
    flex-shrink: 0;
    animation: iconFloat 4s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.benefit:nth-child(1) .benefit-icon {
    background: linear-gradient(135deg, #fef3c7, #fbbf24);
    animation-delay: 0s;
}

.benefit:nth-child(2) .benefit-icon {
    background: linear-gradient(135deg, #e0e7ff, #6366f1);
    animation-delay: 0.5s;
}

.benefit:nth-child(3) .benefit-icon {
    background: linear-gradient(135deg, #fce7f3, #ec4899);
    animation-delay: 1s;
}

.benefit:nth-child(4) .benefit-icon {
    background: linear-gradient(135deg, #d1fae5, #10b981);
    animation-delay: 1.5s;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        box-shadow:
            0 8px 32px rgba(0, 0, 0, 0.1),
            inset 0 2px 4px rgba(255, 255, 255, 0.5);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
        box-shadow:
            0 12px 48px rgba(0, 0, 0, 0.15),
            inset 0 2px 4px rgba(255, 255, 255, 0.5);
    }
}

.benefit-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #fff, #f1f5f9);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: sparkle 3s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Benefit Content */
.benefit-content {
    flex: 1;
    padding-top: 5px;
}

.benefit-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
    line-height: 1.3;
    position: relative;
}

.benefit:nth-child(1) .benefit-content h3 {
    color: #f59e0b;
}

.benefit:nth-child(2) .benefit-content h3 {
    color: #6366f1;
}

.benefit:nth-child(3) .benefit-content h3 {
    color: #ec4899;
}

.benefit:nth-child(4) .benefit-content h3 {
    color: #059669;
}

.benefit-content p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Hover Effects */
.benefit:hover .benefit-icon {
    animation-play-state: paused;
    transform: translateY(-5px) scale(1.1) rotate(10deg);
}

.benefit:hover .benefit-content h3 {
    color: #1e293b;
}

.benefit:hover .benefit-content p {
    color: #475569;
}

/* Modern Fun Facts Section */
.fun-facts {
    padding: 120px 60px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    position: relative;
    overflow: hidden;
}

.fun-facts::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(251, 191, 36, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 70% 70%, rgba(99, 102, 241, 0.08) 0%, transparent 40%);
    z-index: 1;
}

.fun-facts .container {
    position: relative;
    z-index: 2;
}

.fun-facts h2 {
    text-align: center;
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 80px;
    color: white;
    position: relative;
}

.fun-facts h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 2px;
}

/* Facts Grid */
.facts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.fact {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 50px 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.fact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.fact:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.fact:hover::before {
    opacity: 1;
}

.fact-number {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    display: block;
    animation: numberPulse 3s ease-in-out infinite;
}

@keyframes numberPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.fact-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .benefits {
        padding: 80px 40px;
    }

    .benefits h2 {
        font-size: 2.8rem;
    }

    .benefits-list {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .facts-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .fun-facts {
        padding: 80px 40px;
    }

    .fun-facts h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .benefits {
        padding: 60px 20px;
    }

    .benefits h2 {
        font-size: 2.2rem;
        margin-bottom: 50px;
    }

    .benefit {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .benefit-icon {
        margin: 0 auto 20px;
    }

    .benefit-content h3 {
        font-size: 1.5rem;
    }

    .benefit-content p {
        font-size: 1rem;
    }

    .fun-facts {
        padding: 60px 20px;
    }

    .fun-facts h2 {
        font-size: 2rem;
        margin-bottom: 50px;
    }

    .fact {
        padding: 40px 20px;
    }

    .fact-number {
        font-size: 3rem;
    }

    .fact-text {
        font-size: 1rem;
    }
}