/* ===================================
   AysimaPOS Landing Page - Features Section
   Modern SaaS Design - Variables Based
   =================================== */

.features-section {
    padding: 0;
}

.features-section .section-content-wrapper {
    background: #f8f9fa;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    padding: var(--spacing-8);
    border-radius: 16px;
    max-width: 1280px;
    margin: 0 auto;
}

.feature-card {
    background: #ffffff;
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-8);
    height: 100%;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-duration-300) var(--transition-timing-function-out);
    border: none;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-duration-300) var(--transition-timing-function-out);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-300);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--border-radius-xl);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-6);
    transition: all var(--transition-duration-300) var(--transition-timing-function-out);
    box-shadow: var(--shadow-md);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-lg);
}

.feature-icon i {
    font-size: var(--font-size-3xl);
    color: #ffffff;
}

.feature-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--gray-800);
    margin-bottom: var(--spacing-4);
    line-height: var(--line-height-tight);
}

.feature-description {
    font-size: var(--font-size-base);
    color: var(--gray-600);
    line-height: var(--line-height-relaxed);
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .features-section .section-content-wrapper {
        padding: var(--spacing-6);
    }
}

@media (max-width: 767.98px) {
    .features-section .section-content-wrapper {
        padding: var(--spacing-4);
    }
    
    .feature-card {
        padding: var(--spacing-6);
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: var(--font-size-2xl);
    }
    
    .feature-title {
        font-size: var(--font-size-lg);
    }
    
    .feature-description {
        font-size: var(--font-size-sm);
    }
}
