/*
 * FilexFlow CORE-001D — Benefits component
 */

.fx-benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.fx-benefit-card {
    min-width: 0;
    padding: 24px;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 22px;
    background:
        linear-gradient(145deg, rgba(15, 23, 42, .82), rgba(7, 15, 31, .92));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.fx-benefit-card__icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    margin-bottom: 18px;
    border: 1px solid rgba(96, 165, 250, .30);
    border-radius: 13px;
    background: rgba(37, 99, 235, .12);
    color: #93c5fd;
    font-size: 1.2rem;
}

.fx-benefit-card__title {
    margin: 0;
    color: #f8fafc;
    font-size: 1.05rem;
    line-height: 1.3;
}

.fx-benefit-card__text {
    margin: 10px 0 0;
    color: #9eacc0;
    line-height: 1.65;
}

html[data-theme="light"] .fx-benefit-card,
body[data-theme="light"] .fx-benefit-card {
    border-color: rgba(71, 85, 105, .16);
    background: rgba(255, 255, 255, .78);
}

html[data-theme="light"] .fx-benefit-card__title,
body[data-theme="light"] .fx-benefit-card__title {
    color: #0f172a;
}

html[data-theme="light"] .fx-benefit-card__text,
body[data-theme="light"] .fx-benefit-card__text {
    color: #526176;
}

@media (max-width: 880px) {
    .fx-benefits__grid {
        grid-template-columns: 1fr;
    }
}
