/* ============================================
   HOMEPAGE FEATURES SECTION - NEON STYLE
   Sekcja ze sloganami w stylu neonowym
   ============================================ */

.features-section {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(10, 10, 30, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(0, 245, 255, 0.03) 2px,
            rgba(0, 245, 255, 0.03) 4px
        );
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.feature-box {
    background: rgba(0, 10, 20, 0.6);
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #00f5ff 50%, 
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 245, 255, 0.8);
    box-shadow: 
        0 0 30px rgba(0, 245, 255, 0.4),
        0 0 60px rgba(0, 245, 255, 0.2),
        inset 0 0 20px rgba(0, 245, 255, 0.1);
}

.feature-box:hover::before {
    opacity: 1;
}

.feature-box::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.1) 0%, rgba(0, 128, 255, 0.1) 100%);
    border: 2px solid rgba(0, 245, 255, 0.4);
    border-radius: 50%;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.feature-icon svg {
    width: 35px;
    height: 35px;
    stroke: #00f5ff;
    filter: drop-shadow(0 0 8px rgba(0, 245, 255, 0.6));
    transition: all 0.4s ease;
}

.feature-box:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 0 25px rgba(0, 245, 255, 0.6),
        inset 0 0 15px rgba(0, 245, 255, 0.2);
}

.feature-box:hover .feature-icon svg {
    stroke: #fff;
    filter: drop-shadow(0 0 15px rgba(0, 245, 255, 0.9));
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    color: #00f5ff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    text-shadow: 
        0 0 10px rgba(0, 245, 255, 0.6),
        0 0 20px rgba(0, 245, 255, 0.4);
    transition: all 0.3s ease;
}

.feature-box:hover .feature-title {
    color: #fff;
    text-shadow: 
        0 0 15px rgba(0, 245, 255, 0.9),
        0 0 30px rgba(0, 245, 255, 0.6);
}

.feature-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.feature-box:hover .feature-desc {
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .features-section {
        padding: 60px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-box {
        padding: 30px 20px;
    }
    
    .feature-title {
        font-size: 16px;
    }
    
    .feature-desc {
        font-size: 14px;
    }
}

/* Tech Description Style Update */
.tech-description {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 20px;
    padding: 25px;
    background: rgba(0, 245, 255, 0.05);
    border-left: 3px solid #00f5ff;
    border-radius: 8px;
    box-shadow: 
        0 0 20px rgba(0, 245, 255, 0.1),
        inset 0 0 15px rgba(0, 245, 255, 0.05);
}

@media (max-width: 768px) {
    .tech-description {
        font-size: 15px;
        padding: 20px;
    }
}
