/* Key Features Section */
.key-features-section {
    position: relative;
    padding: 100px 0;
    background-color: #0c0c0c;
    color: #fff;
    overflow: hidden;
}

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

.key-features-section .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.15;
}

.key-features-section .glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.key-features-section .orb1 {
    top: 20%;
    left: 10%;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 0, 0, 0.15);
    animation: float 8s ease-in-out infinite;
}

.key-features-section .orb2 {
    bottom: 15%;
    right: 5%;
    width: 400px;
    height: 400px;
    background-color: rgba(255, 0, 0, 0.1);
    animation: float 10s ease-in-out infinite alternate;
}

.key-features-section .circuit-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/circuit-pattern.svg');
    background-size: cover;
    opacity: 0.1;
    mix-blend-mode: overlay;
}

.key-features-section .section-header h2 {
    color: #fff;
    font-size: 2.8rem;
    text-align: center;
}

.key-features-section .highlight-text {
    color: #FF0000;
    font-weight: 700;
}

.key-features-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    align-items: center;
    background: linear-gradient(145deg, rgba(40, 40, 40, 0.6), rgba(20, 20, 20, 0.8));
    border-radius: 12px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 0, 0, 0.1);
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    height: auto;
    max-width: 280px;
    margin: 0 auto;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 0, 0, 0.3);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.2);
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 0, 0, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff3333, #cc0000);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.feature-icon i {
    font-size: 20px;
    color: #fff;
}

.feature-content {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 1;
}

.feature-card h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    font-size: 0.85rem;
    line-height: 1.5;
}

.feature-image {
    position: relative;
    z-index: 1;
    margin-top: auto;
}

.image-placeholder {
    width: 100%;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.image-animation {
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(255, 0, 0, 0.2), 
        rgba(255, 255, 255, 0.1), 
        transparent
    );
    animation: shine 3s infinite;
}

.features-cta {
    text-align: center;
    margin-top: 20px;
}

.features-cta .btn {
    padding: 14px 30px;
    font-size: 1.1rem;
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-20px) translateX(10px);
    }
    100% {
        transform: translateY(0) translateX(0);
    }
}

@keyframes shine {
    0% {
        left: -100%;
    }
    20% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

/* Responsive styles for Key Features Section */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .key-features-section {
        padding: 60px 0;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 600px;
    }
    
    .key-features-section .section-header h2 {
        font-size: 2.2rem;
    }
    
    .feature-card {
        max-width: 250px;
        padding: 18px;
    }
}

@media (max-width: 576px) {
    .key-features-section {
        padding: 50px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 100%;
    }
    
    .feature-card {
        padding: 15px;
        max-width: 90%;
    }
    
    .feature-icon {
        width: 45px;
        height: 45px;
    }
    
    .feature-card h3 {
        font-size: 1rem;
    }
    
    .feature-card p {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }
} 