#benefits {
    background: var(--bg-dark);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 6% 8%;
    background-image:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, transparent 100%),
        radial-gradient(circle at 75% 75%, rgba(164, 133, 255, 0.05) 0%, transparent 30%);
}

.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.benefits-header {
    text-align: center;
    margin-bottom: 4rem;
}

.benefits-header h2 {
    font-family: 'Clash Display', sans-serif;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple), var(--accent-pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    position: relative;
}

.benefits-header h2::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(106, 226, 255, 0.2) 0%, transparent 70%);
    top: -15px;
    left: -15px;
    z-index: -1;
}

.benefits-subheading {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.benefit-card {
    background: rgba(20, 20, 30, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.benefit-card:hover {
    transform: translateY(-8px);
    background: rgba(20, 20, 30, 0.35);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(106, 226, 255, 0.2),
        inset 0 1px 2px rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.benefit-card .gradient-overlay {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(106, 226, 255, 0.05) 0%,
        rgba(164, 133, 255, 0.05) 50%,
        rgba(255, 102, 196, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    pointer-events: none;
}

.benefit-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg,
        var(--accent-cyan),
        var(--accent-purple),
        var(--accent-pink));
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Add light reflection for glassmorphism effect */
.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transform: skewX(-25deg);
    transition: all 0.75s ease;
    z-index: 1;
    pointer-events: none;
}

.benefit-card:hover::before {
    left: 150%;
}

.benefit-card:hover .gradient-overlay {
    opacity: 1;
}

.benefit-card:hover::after {
    opacity: 0.7;
}

.benefit-stat {
    font-family: 'Clash Display', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    line-height: 1;
    position: relative;
    padding-bottom: 10px;
}

.benefit-stat::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    border-radius: 3px;
    transition: width 0.3s ease;
}

.benefit-card:hover .benefit-stat::after {
    width: 60px;
}

.benefit-title {
    font-family: 'Clash Display', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-white);
    position: relative;
    transition: color 0.3s ease;
}

.benefit-card:hover .benefit-title {
    color: var(--accent-cyan);
}

.benefit-description {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.benefit-source {
    margin-top: auto;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    transition: border-color 0.3s ease;
}

.benefit-card:hover .benefit-source {
    border-color: rgba(106, 226, 255, 0.2);
}

.benefit-source a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 2px;
}

.benefit-source a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-cyan);
    transition: width 0.3s ease;
}

.benefit-source a:hover {
    color: var(--accent-purple);
}

.benefit-source a:hover::after {
    width: 100%;
    background: var(--accent-purple);
}

.source-icon {
    font-size: 1rem;
    opacity: 0.7;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.benefit-card:hover .source-icon {
    opacity: 1;
    transform: translateY(-2px);
}

/* Card color variations */
.benefit-card:nth-child(1) {
    border-color: rgba(106, 226, 255, 0.3);
}

.benefit-card:nth-child(1):hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(106, 226, 255, 0.2);
    border-color: rgba(106, 226, 255, 0.5);
}

.benefit-card:nth-child(2) {
    border-color: rgba(164, 133, 255, 0.3);
}

.benefit-card:nth-child(2):hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(164, 133, 255, 0.2);
    border-color: rgba(164, 133, 255, 0.5);
}

.benefit-card:nth-child(3) {
    border-color: rgba(255, 102, 196, 0.3);
}

.benefit-card:nth-child(3):hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 102, 196, 0.2);
    border-color: rgba(255, 102, 196, 0.5);
}

.benefit-card:nth-child(4) {
    border-color: rgba(106, 226, 255, 0.3);
}

.benefit-card:nth-child(4):hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(106, 226, 255, 0.2);
    border-color: rgba(106, 226, 255, 0.5);
}

.benefit-card:nth-child(5) {
    border-color: rgba(164, 133, 255, 0.3);
}

.benefit-card:nth-child(5):hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(164, 133, 255, 0.2);
    border-color: rgba(164, 133, 255, 0.5);
}

/* Benefit card animations are now in styles.css */

/* Responsive adjustments */
@media (max-width: 768px) {
    .benefits-header h2 {
        font-size: 2.5rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefit-card {
        padding: 2rem;
    }

    .benefit-stat {
        font-size: 3rem;
    }
}
