.intro-split-icon {
    width: 3rem;
    height: 3rem;
}

/* Як TW: w-64 → sm:w-80 → lg:w-96 (одна шкала для обох фреймворків) */
.intro-split-thumb {
    width: 16rem;
    height: 16rem;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .intro-split-thumb {
        width: 20rem;
        height: 20rem;
    }
}

@media (min-width: 1024px) {
    .intro-split-thumb {
        width: 24rem;
        height: 24rem;
    }
}

/* Bootstrap: flex + gap (no .row negative margins; works with section overflow). Tailwind grid ignores flex on items. */
@media (min-width: 576px) {
    .intro-split-benefits__row > * {
        flex: 1 1 0%;
        min-width: 0;
    }
}

/* Features v24 — sidebar nav state */
.features-sidebar-nav__btn {
    transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
    border: none !important;
    outline: none;
    /* Left accent via inset box-shadow — reliable across all BS versions */
    box-shadow: inset 3px 0 0 transparent;
}

.features-sidebar-nav__btn.features-sidebar-nav__btn--active {
    background-color: var(--bs-primary-bg-subtle);
    color: var(--bs-primary) !important;
    box-shadow: inset 3px 0 0 var(--bs-primary);
    font-weight: 700;
}

.features-sidebar-nav__btn.features-sidebar-nav__btn--idle {
    background-color: transparent;
    color: var(--bs-body-color);
    box-shadow: inset 3px 0 0 transparent;
    font-weight: 400;
}

.features-sidebar-nav__btn.features-sidebar-nav__btn--idle:hover {
    background-color: var(--bs-secondary-bg);
    color: var(--bs-emphasis-color);
    box-shadow: inset 3px 0 0 var(--bs-primary-bg-subtle);
}

@keyframes features-sidebar-nav-pulse-kf {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

@keyframes features-sidebar-nav-bounce-kf {
    0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8,0,1,1); }
    50% { transform: none; animation-timing-function: cubic-bezier(0,0,0.2,1); }
}

@keyframes features-sidebar-nav-spin-kf {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.features-sidebar-nav__decor--pulse {
    filter: blur(48px);
    animation: features-sidebar-nav-pulse-kf 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.features-sidebar-nav__decor--bounce {
    transform: rotate(45deg);
    animation: features-sidebar-nav-bounce-kf 1s infinite;
}

.features-sidebar-nav__decor--spin {
    animation: features-sidebar-nav-spin-kf 1s linear infinite;
}

.features-sidebar-nav__decor--pulse-rotated {
    transform: rotate(45deg);
    animation: features-sidebar-nav-pulse-kf 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* -- Feature card hover -- */
.feat-card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feat-card-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,.12) !important;
}

/* -- Icon box sizing -- */
.feat-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 2.5rem;
    min-height: 2.5rem;
}
.feat-icon-box--lg {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
}
.feat-icon-box--xl {
    width: 5rem;
    height: 5rem;
    border-radius: 1rem;
}
.feat-icon-box--circle {
    border-radius: 50%;
}

/* -- Nav/filmstrip button hover -- */
.feat-btn-nav {
    transition: transform 0.15s ease, background-color 0.15s ease;
}
.feat-btn-nav:hover {
    transform: scale(1.1);
}

/* -- Table row hover -- */
.feat-table-row-hover {
    transition: background-color 0.15s ease;
}
.feat-table-row-hover:hover {
    background-color: var(--bs-primary-bg-subtle) !important;
}

/* -- Accordion item hover -- */
.feat-accordion-hover summary:hover {
    background-color: var(--bs-primary-bg-subtle);
    border-radius: 0.75rem;
}

/* -- DL item hover -- */
.feat-dl-item-hover {
    transition: background-color 0.15s ease;
    border-radius: 0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
.feat-dl-item-hover:hover {
    background-color: var(--bs-primary-bg-subtle);
}

/* -- Deck button hover -- */
.feat-deck-btn {
    transition: filter 0.2s ease, transform 0.15s ease;
}
.feat-deck-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

/* -- BS-mode decorative shapes  subtle, non-intrusive -- */
.features-decor__bs-blob {
    background-color: var(--bs-primary-bg-subtle);
    opacity: 0.35;
    filter: blur(48px);
}
.features-decor__bs-shape {
    opacity: 0.15;
}
.features-decor__bs-line {
    border-left: 1px solid var(--bs-primary-border-subtle);
    opacity: 0.18;
}

@keyframes matrix-gridview-iconframe-throb-track {
    0%, 100% { opacity: 1; }
    50%       { opacity: .5; }
}
.matrix-gridview__iconframe--throb {
    animation: matrix-gridview-iconframe-throb-track 2s cubic-bezier(.4,0,.6,1) infinite;
}

