.features-section {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    opacity: 0.2;
    filter: blur(40px);
}

.features-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
    opacity: 0.2;
    filter: blur(40px);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(223, 230, 233, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(0, 184, 148, 0.05), rgba(9, 132, 227, 0.05));
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-card:hover::before {
    opacity: 1;
}

.card-icon {
    margin-bottom: 1.5rem;
    position: relative;
    width: 80px;
    height: 80px;
}

.icon-3d {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
}

.cube, .sphere, .pyramid, .cylinder, .torus, .cone, .dodecahedron, .octahedron {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 8px;
}

.cube {
    width: 60px;
    height: 60px;
    transform: rotateX(45deg) rotateY(45deg);
}

.sphere {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--primary-color), var(--secondary-color));
}

.pyramid {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 60px solid var(--primary-color);
    background: none;
}

.cylinder {
    width: 50px;
    height: 60px;
    border-radius: 25px/30px;
}

.torus {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: none;
    border: 8px solid var(--primary-color);
    box-shadow: inset 0 0 20px rgba(0, 184, 148, 0.5);
}

.cone {
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-top: 60px solid var(--primary-color);
    background: none;
}

.dodecahedron {
    width: 60px;
    height: 60px;
    background: conic-gradient(from 0deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.octahedron {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.card-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.card-wave {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to left, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s ease;
}

.feature-card:hover .card-wave {
    transform: scaleX(1);
    transform-origin: left;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .card-icon {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}