/* Modern Feature Cards */
.feature-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.9));
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    text-align: center;
}

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

.feature-card:hover::before {
    left: 100%;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.feature-card:hover::after {
    width: 300px;
    height: 300px;
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: #00d4ff;
    box-shadow: 
        0 10px 25px rgba(0, 212, 255, 0.2),
        0 0 20px rgba(0, 212, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Feature Icon */
.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00d4ff, #0ea5e9);
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 1.5rem;
    transition: all 0.4s ease;
    box-shadow: 
        0 8px 25px rgba(0, 212, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00d4ff, #0ea5e9);
    border-radius: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.feature-card:hover .feature-icon::before {
    opacity: 1;
}

.feature-card:hover .feature-icon {
    transform: scale(1.05);
    box-shadow: 
        0 8px 25px rgba(0, 212, 255, 0.4),
        0 0 30px rgba(0, 212, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Feature Content */
.feature-card h4 {
    color: #f1f5f9;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.feature-card:hover h4 {
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.feature-card p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.feature-card:hover p {
    color: #cbd5e1;
}

/* Feature Card Variants */
.feature-card:nth-child(1) .feature-icon {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.feature-card:nth-child(1):hover {
    border-color: #22c55e;
    box-shadow: 
        0 20px 50px rgba(34, 197, 94, 0.3),
        0 0 40px rgba(34, 197, 94, 0.2);
}

.feature-card:nth-child(2) .feature-icon {
    background: linear-gradient(135deg, #a855f7, #9333ea);
}

.feature-card:nth-child(2):hover {
    border-color: #a855f7;
    box-shadow: 
        0 20px 50px rgba(168, 85, 247, 0.3),
        0 0 40px rgba(168, 85, 247, 0.2);
}

.feature-card:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.feature-card:nth-child(3):hover {
    border-color: #ef4444;
    box-shadow: 
        0 20px 50px rgba(239, 68, 68, 0.3),
        0 0 40px rgba(239, 68, 68, 0.2);
}

.feature-card:nth-child(4) .feature-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.feature-card:nth-child(4):hover {
    border-color: #f59e0b;
    box-shadow: 
        0 20px 50px rgba(245, 158, 11, 0.3),
        0 0 40px rgba(245, 158, 11, 0.2);
}

.feature-card:nth-child(5) .feature-icon {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.feature-card:nth-child(5):hover {
    border-color: #06b6d4;
    box-shadow: 
        0 20px 50px rgba(6, 182, 212, 0.3),
        0 0 40px rgba(6, 182, 212, 0.2);
}

.feature-card:nth-child(6) .feature-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.feature-card:nth-child(6):hover {
    border-color: #8b5cf6;
    box-shadow: 
        0 20px 50px rgba(139, 92, 246, 0.3),
        0 0 40px rgba(139, 92, 246, 0.2);
}



/* Responsive */
@media (max-width: 768px) {
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
    
    .feature-card h4 {
        font-size: 1.1rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
}