/* ============================================
   FEATURES SECTION - FULL DEEP DESIGN
   ============================================ */

.features-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: transparent;
    padding: 100px 0;
    margin: 0;
    box-sizing: border-box;
    isolation: isolate;
    transform: translateZ(0);
    z-index: 1;
}



/* ============================================
   FEATURES GRID - PREMIUM REDESIGN
   ============================================ */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* ============================================
   FEATURE CARD - PREMIUM MINIMAL DESIGN
   ============================================ */

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 35px 28px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered animations */
.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

/* Subtle top border */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 212, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.15);
}

/* ============================================
   FEATURE ICON WRAPPER - CLEAN & SIMPLE
   ============================================ */

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.2);
}

.feature-icon-wrapper i {
    font-size: 28px;
    color: #ffffff;
    z-index: 2;
    position: relative;
}

.icon-glow {
    display: none;
}

/* ============================================
   FEATURE TITLE - PREMIUM
   ============================================ */

.feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    font-family: 'Saira', sans-serif;
    color: #ffffff;
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover .feature-title {
    color: #00d4ff;
}

/* ============================================
   FEATURE DESCRIPTION - PREMIUM
   ============================================ */

.feature-description {
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.6;
    transition: all 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.feature-card:hover .feature-description {
    color: #d1d5db;
}

/* ============================================
   FEATURE HOVER EFFECT - SUBTLE
   ============================================ */

.feature-hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.feature-card:hover .feature-hover-effect {
    opacity: 1;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media screen and (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .section-description {
        font-size: 16px;
    }
}

@media screen and (max-width: 1024px) {
    .features-section {
        height: auto;
        min-height: 700px;
        padding: 60px 0;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .feature-card {
        padding: 35px 25px;
    }
    
    .feature-icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .feature-icon-wrapper i {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-description {
        font-size: 15px;
    }
}

@media screen and (max-width: 768px) {
    .features-section {
        height: auto;
        min-height: 600px;
        padding: 50px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .feature-icon-wrapper {
        width: 65px;
        height: 65px;
    }
    
    .feature-icon-wrapper i {
        font-size: 28px;
    }
    
    .feature-title {
        font-size: 20px;
    }
    
    .feature-description {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-description {
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    .features-section {
        height: auto;
        min-height: 550px;
        padding: 40px 0;
    }
    
    .features-grid {
        gap: 15px;
    }
    
    .feature-card {
        padding: 25px 15px;
    }
    
    .feature-icon-wrapper {
        width: 60px;
        height: 60px;
        border-radius: 15px;
    }
    
    .feature-icon-wrapper i {
        font-size: 26px;
    }
    
    .feature-title {
        font-size: 18px;
    }
    
    .feature-description {
        font-size: 13px;
    }
    
    .section-badge {
        font-size: 12px;
        padding: 8px 20px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .section-description {
        font-size: 13px;
    }
}
