/* Benefits Grid Styles */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px 20px;
    /* Tighter gap */
    margin-top: 60px;
    padding: 20px;
}

.benefit-box {
    position: relative;
    background: rgba(10, 14, 23, 0.6);
    /* Darker, more cyber */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(213, 0, 249, 0.3);
    /* Purple tinted border */
    border-radius: 4px;
    /* Square shape */
    padding: 35px 15px 25px;
    /* Compact padding */
    text-align: center;
    transition: all 0.3s ease;
    overflow: visible;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(213, 0, 249, 0.05);
    /* Deep depth */
}

.benefit-box:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    /* Cyan hover */
    background: rgba(213, 0, 249, 0.1);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.3), inset 0 0 10px rgba(0, 229, 255, 0.1);
    /* Glowing hover */
}

/* Floating Icon Styling */
.benefit-icon {
    position: absolute;
    top: -25px;
    /* Tucked closer */
    left: -15px;
    width: 60px;
    /* Smaller icon container */
    height: 60px;
    color: #fff;
    font-size: 2.5rem;
    /* Smaller icon size */
    filter: drop-shadow(0 0 5px var(--primary));
    /* Neon glow on icon */
    transform: rotate(-10deg);
    transition: transform 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    /* Background to hide line behind it if needed */
    border: 1px solid var(--primary);
    border-radius: 4px;
    /* Square icon box matching parent */
    box-shadow: 0 0 10px rgba(213, 0, 249, 0.4);
}

.benefit-box:hover .benefit-icon {
    transform: rotate(0deg) scale(1.1);
    color: var(--secondary);
    border-color: var(--secondary);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
}

.benefit-box h3 {
    font-size: 1.2rem;
    /* Smaller text */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    margin-top: 10px;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

/* Subtle Glass Texture/Pattern Overlay (Optional) */
.benefit-box::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

/* Mobile Adjustments for Benefits */
@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        /* Stack on mobile */
        gap: 60px;
        /* Space for icons */
        margin-top: 50px;
    }

    .benefit-box {
        margin-left: 20px;
        /* Offset for left-hanging icon */
        text-align: center;
    }

    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 3rem;
        top: -30px;
        left: -15px;
    }
}