/* Benefits Section Styles */
.benefits-section {
    position: relative;
    padding: 100px 0;
    background: var(--dark-bg);
    overflow: hidden;
}

.benefits-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.benefits-bg .grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 0, 0, 0.1) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 0, 0, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.1;
    animation: gridShift 20s linear infinite;
}

.benefits-bg .glow-orbs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.benefits-bg .glow-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
}

.benefits-bg .orb-1 {
    top: 20%;
    left: 10%;
    background: rgba(255, 0, 0, 0.15);
    animation: orbFloat 15s ease-in-out infinite;
}

.benefits-bg .orb-2 {
    bottom: 10%;
    right: 15%;
    background: rgba(255, 0, 0, 0.1);
    animation: orbFloat 20s ease-in-out infinite reverse;
}

.benefits-section .container {
    position: relative;
    z-index: 2;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 0, 0, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.benefit-card:hover::before {
    transform: translateX(100%);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.benefit-icon i {
    font-size: 24px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon i {
    transform: scale(1.2) rotate(10deg);
}

.benefit-card h3 {
    color: #fff;
    font-size: 0.85rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.benefit-card h3 {
    color: #ff0000;
    font-size: 0.85rem;
    margin-bottom: 20px;
    font-weight: 600;
}
.benefit-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.benefit-card .btn {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid rgba(255, 0, 0, 0.3);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

.benefit-card .btn:hover {
    background: rgba(255, 0, 0, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Make card box invisible by default */
.benefit-card {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

/* Keep the same transparent background on hover */
.benefit-card:hover {
    background: transparent;
    border-color: rgba(255, 0, 0, 0.3);
}



.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.benefit-list li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-size: 0.75rem;
}

.benefit-list li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 14px;
}

.benefit-stats {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
}

.stat-value {
    display: block;
    color: var(--primary-color);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.benefit-animation {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    transform: translateX(-100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit-card:hover .benefit-animation {
    animation: slideRight 2s ease infinite;
    opacity: 1;
}

.benefits-cta {
    text-align: center;
    margin-top: 80px;
    padding: 40px;

    border-radius: 20px;
 
}

.benefits-cta h3 {
    color: #fff;
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 600;
}

.benefits-cta p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(30px, -30px);
    }
}

@keyframes slideRight {
    0% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100%);
    }
}

@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-cta {
        padding: 30px 20px;
    }
    
    .benefits-cta h3 {
        font-size: 28px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

/* SVG Animations */
.circuit-svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.5;
}

.circuit-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawPath 3s ease forwards, glowPath 4s ease-in-out infinite;
}

.circuit-node {
    animation: nodeGlow 2s ease-in-out infinite;
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
    z-index: 0;
}

.card-pattern {
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.icon-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: -1;
}

.ring {
    animation: ringPulse 2s ease-in-out infinite;
    transform-origin: center;
    opacity: 0;
}

.ring:nth-child(1) {
    animation-delay: 0s;
}

.ring:nth-child(2) {
    animation-delay: 0.5s;
}

.ring:nth-child(3) {
    animation-delay: 1s;
}

.benefit-card:hover .ring {
    animation-play-state: paused;
}

@keyframes drawPath {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes glowPath {
    0%, 100% {
        stroke-opacity: 0.1;
        stroke-width: 2;
    }
    50% {
        stroke-opacity: 0.3;
        stroke-width: 3;
    }
}

@keyframes nodeGlow {
    0%, 100% {
        r: 4;
        fill-opacity: 0.3;
    }
    50% {
        r: 6;
        fill-opacity: 0.5;
    }
}

@keyframes ringPulse {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.benefit-card {
    position: relative;
    overflow: visible;
}

.benefit-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), transparent, var(--primary-color));
    z-index: -1;
    border-radius: 22px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit-card:hover::after {
    opacity: 0.2;
    animation: borderRotate 4s linear infinite;
}

@keyframes borderRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Responsive Adjustments for SVG Animations */
@media (max-width: 992px) {
    .circuit-svg {
        opacity: 0.3;
    }
    
    .benefit-card::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .circuit-path {
        stroke-width: 1;
    }
    
    .icon-rings {
        transform: translate(-50%, -50%) scale(0.8);
    }
} 