/* ====================================================
   NeuroPlanck Features Widget
   ==================================================== */

.np-features {
    background: #f5f7fa;
    padding: 60px 0 80px;
    width: 100%;
}
.np-features__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
}
.np-features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Feature card */
.np-features__card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.np-features__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* Card top row */
.np-features__card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

/* Icon */
.np-features__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.np-features__icon i,
.np-features__icon svg {
    width: 20px;
    height: 20px;
    font-size: 18px;
}
.np-features__icon-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}
.np-features__icon--purple {
    background: #ede9fe;
    color: #7c3aed;
}
.np-features__icon--green {
    background: #dcfce7;
    color: #16a34a;
}
.np-features__icon--teal {
    background: #e0f2fe;
    color: #0891b2;
}
.np-features__icon--blue {
    background: #dbeafe;
    color: #2563eb;
}
.np-features__icon--red {
    background: #fee2e2;
    color: #dc2626;
}
.np-features__icon--orange {
    background: #ffedd5;
    color: #ea580c;
}

/* Arrow link */
.np-features__card-link {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    text-decoration: none;
    transition: color 0.2s ease;
}
.np-features__card-link svg {
    width: 16px;
    height: 16px;
}
.np-features__card:hover .np-features__card-link {
    color: #555;
}

/* Title */
.np-features__card-title {
    font-family: 'Geologica', Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 8px;
}

/* Description */
.np-features__card-desc {
    font-family: 'Cabin', Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #888;
    flex: 1;
    margin-bottom: 20px;
}

/* Card bottom */
.np-features__card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.np-features__card-more {
    font-family: 'Cabin', Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid #e0e0e0;
    transition: all 0.2s ease;
}
.np-features__card-more:hover {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

/* ─── Elementor Overrides ─── */
.elementor-widget-np_features {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
}
.elementor-widget-np_features .elementor-widget-container {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
}
.elementor-section:has(.elementor-widget-np_features) {
    padding: 0 !important;
    margin: 0 !important;
}
.elementor-section:has(.elementor-widget-np_features) > .elementor-container {
    max-width: 100% !important;
    padding: 0 !important;
}
.elementor-section:has(.elementor-widget-np_features) > .elementor-container > .elementor-column > .elementor-widget-wrap {
    padding: 0 !important;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
    .np-features__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 900px) {
    .np-features {
        padding: 40px 0 60px;
    }
    .np-features__container {
        padding: 0 24px;
    }
}
@media (max-width: 600px) {
    .np-features__grid {
        grid-template-columns: 1fr;
    }
    .np-features__container {
        padding: 0 16px;
    }
    .np-features__card {
        padding: 20px;
    }
}
