/* ===================================
   AysimaPOS - Features Detail Card
   SEO-Optimized Internal Linking Card
   Full Width Card for Contact Page
   =================================== */

.features-detail-card {
    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;
    border-radius: var(--border-radius-2xl);
    padding: var(--spacing-10);
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--primary-100);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-duration-300) var(--transition-timing-function-out);
    max-width: 1280px;
    margin: 0 auto;
}

.features-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.features-detail-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-300);
}

.features-detail-card__title {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-extrabold);
    color: var(--gray-900);
    line-height: var(--line-height-tight);
}

.features-detail-card__title i {
    color: var(--primary-600);
}

.features-detail-card__description {
    font-size: var(--font-size-base);
    color: var(--gray-700);
    line-height: var(--line-height-relaxed);
}

.features-detail-card__description strong {
    color: var(--gray-900);
    font-weight: var(--font-weight-semibold);
}

.features-detail-icon-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: center;
    justify-items: center;
    max-width: 220px;
    margin: 0 auto;
}

.features-detail-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb 0%, #10b981 100%);
    border-radius: 16px;
    transition: all var(--transition-duration-300) var(--transition-timing-function-out);
    border: none;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
}

.features-detail-icon i {
    font-size: 2rem;
    color: #ffffff;
    transition: all var(--transition-duration-300) var(--transition-timing-function-out);
}

.features-detail-card:hover .features-detail-icon {
    transform: translateY(-8px) scale(1.05);
    background: linear-gradient(135deg, #1d4ed8 0%, #059669 100%);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.features-detail-card:hover .features-detail-icon i {
    color: #ffffff;
    transform: scale(1.15) rotate(5deg);
}

.features-detail-icon:nth-child(1) {
    transition-delay: 0s;
}

.features-detail-icon:nth-child(2) {
    transition-delay: 0.05s;
}

.features-detail-icon:nth-child(3) {
    transition-delay: 0.1s;
}

.features-detail-icon:nth-child(4) {
    transition-delay: 0.15s;
}

.features-detail-card__buttons {
    display: flex;
    gap: var(--spacing-4);
    align-items: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-5);
}

.features-detail-card__note {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    line-height: var(--line-height-relaxed);
}

/* Responsive */
@media (max-width: 991px) {
    .features-detail-card {
        padding: var(--spacing-8);
    }
    
    .features-detail-card__title {
        font-size: var(--font-size-xl);
        margin-bottom: var(--spacing-3);
    }
    
    .features-detail-card__description {
        font-size: var(--font-size-sm);
        margin-bottom: var(--spacing-4);
    }
    
    .features-detail-card__buttons {
        gap: var(--spacing-3);
    }
    
    .features-detail-icon-group {
        margin-top: var(--spacing-4);
        gap: 15px;
    }
    
    .features-detail-icon {
        width: 70px;
        height: 70px;
    }
    
    .features-detail-icon i {
        font-size: 1.75rem;
    }
}

@media (max-width: 767px) {
    .features-detail-card {
        padding: var(--spacing-6);
    }
    
    .features-detail-card__title {
        font-size: var(--font-size-lg);
    }
    
    .features-detail-card__buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .features-detail-card__buttons .btn {
        width: 100%;
    }
    
    .features-detail-icon-group {
        gap: 12px;
        max-width: 180px;
    }
    
    .features-detail-icon {
        width: 60px;
        height: 60px;
    }
    
    .features-detail-icon i {
        font-size: 1.5rem;
    }
}

@media (max-width: 575px) {
    .features-detail-card {
        padding: var(--spacing-5);
    }
    
    .features-detail-icon-group {
        justify-content: space-between;
    }
}
