/* ============================================
   WIDGET FEATURES - MEDIA POSITIF (REVISI TINGGI)
   Minimalist, Clean, Professional UI
   ============================================ */

/* Main Container Card */
.widget-feature-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    
    /* ✅ KUNCI: Agar tinggi menyesuaikan isi, tidak melar */
    height: fit-content; 
    width: 100%;
}

.widget-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #e3f2fd;
}

/* Icon Container */
.widget-icon-wrapper {
    width: 60px;
    height: 60px;
    background: #e3f2fd; /* Biru Langit Soft */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: background 0.3s ease;
    flex-shrink: 0; /* Mencegah icon gepeng */
}

.widget-feature-card:hover .widget-icon-wrapper {
    background: #bbdefb;
}

/* Icon SVG Styling */
.widget-icon-wrapper svg {
    width: 28px;
    height: 28px;
    fill: #0288d1;
}

/* Khusus Support: Icon Hati Merah */
.widget-support-card .widget-icon-wrapper {
    background: #ffebee;
}

.widget-support-card .widget-icon-wrapper svg {
    fill: #e53935;
}

.widget-support-card:hover .widget-icon-wrapper {
    background: #ffcdd2;
}

/* Heading */
.widget-feature-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #333333;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

/* Description */
.widget-feature-card p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #666666;
    line-height: 1.5;
    margin: 0 0 20px 0;
    
    /* ✅ KUNCI: Menghapus flex-grow agar tidak mendorong tombol jauh ke bawah */
    flex-grow: 0; 
}

/* Button / Action Link */
.widget-btn {
    display: inline-block;
    padding: 10px 24px;
    background: #ffffff;
    color: #0288d1;
    border: 2px solid #0288d1;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    width: auto; /* ✅ KUNCI: Lebar otomatis sesuai teks, tidak full width */
    min-width: 140px;
}

.widget-btn:hover {
    background: #0288d1;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(2, 136, 209, 0.2);
}

/* Khusus Support Button */
.widget-support-card .widget-btn {
    border-color: #e53935;
    color: #e53935;
}

.widget-support-card .widget-btn:hover {
    background: #e53935;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(229, 57, 53, 0.2);
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .widget-feature-card {
        padding: 20px 15px;
        margin-bottom: 15px; /* Jarak antar kartu di mobile */
    }
    
    .widget-icon-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .widget-icon-wrapper svg {
        width: 24px;
        height: 24px;
    }
    
    .widget-feature-card h3 {
        font-size: 16px;
    }
    
    .widget-feature-card p {
        font-size: 13px;
        margin-bottom: 15px;
    }
    
    .widget-btn {
        padding: 8px 20px;
        font-size: 13px;
        width: 100%; /* Di mobile boleh full width agar mudah ditekan */
    }
}