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

@keyframes features-matrix-table-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-matrix-table-spin-kf {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.features-matrix-table__decor--pulse {
    animation: features-matrix-table-pulse-kf 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.features-matrix-table__decor--bounce {
    transform: rotate(12deg);
    animation: features-matrix-table-bounce-kf 1s infinite;
}

.features-matrix-table__decor--spin {
    animation: features-matrix-table-spin-kf 1s linear infinite;
}

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

.features-matrix-table__row--hover:hover {
    background-color: var(--bs-primary-bg-subtle);
}

.features-matrix-table__row--hover:hover .features-matrix-table__title--hover {
    color: var(--bs-primary);
}

/* -- 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 */
.features-matrix-table__decor--bs-line-h {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--bs-primary-border-subtle), transparent);
    opacity: 0.4;
}
.features-matrix-table__decor--bs-shape {
    opacity: 0.15;
}
/* process diagonal â€” bg blob, card clip-path variants, hover lift */
.process-diag__bg-blob {
    position: absolute;
    width: 35rem;
    height: 35rem;
    border-radius: 50%;
    filter: blur(6rem);
    opacity: 0.05;
    pointer-events: none;
    top: -10rem;
    left: 30%;
    background: var(--bs-primary);
}
.process-diag__card {
    transition: transform 200ms ease;
}
.process-diag__card:hover {
    transform: scale(1.01);
}
.process-diag__card--0 {
    clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
}
.process-diag__card--1 {
    clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 95%);
}
.process-diag__watermark {
    z-index: 0;
    max-width: 100%;
    overflow: hidden;
    user-select: none;
}

/* integrations â€” unified hover (layout; shadow + lift; respect reduced motion) */
.integrations-card-hover {
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.integrations-card-hover:hover {
    box-shadow:
        0 20px 25px -5px rgb(0 0 0 / 0.1),
        0 8px 10px -6px rgb(0 0 0 / 0.1);
    transform: translateY(-2px) scale(1.03);
}

.integrations-card-hover--shadow-only {
    transition: box-shadow 0.35s ease;
}

.integrations-card-hover--shadow-only:hover {
    transform: none;
    box-shadow:
        0 20px 25px -5px rgb(0 0 0 / 0.1),
        0 8px 10px -6px rgb(0 0 0 / 0.1);
}

@media (prefers-reduced-motion: reduce) {
    .integrations-card-hover:hover {
        transform: none;
    }
}

/* Primary tile: wpg-preview --tw-primary-* | --bs-primary-scale-*; inherited --bs-primary hex */
.integrations__icon-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    --_ie-from: rgb(var(--tw-primary-500, var(--bs-primary-scale-500, 99 102 241)) / 1);
    --_ie-to: rgb(var(--tw-primary-600, var(--bs-primary-scale-600, 79 70 229)) / 1);
    background-color: var(--bs-primary, rgb(var(--tw-primary-600, var(--bs-primary-scale-600, 79 70 229)) / 1));
    background-image: linear-gradient(to bottom right, var(--_ie-from), var(--_ie-to));
}
.integrations__icon-tile i {
    color: inherit;
}
.integrations__icon-tile svg,
.integrations__icon-tile :is(path, circle, rect, polygon) {
    fill: currentColor;
}

/* Softer card hover shadow (avoids muddy stack with shadow-lg / BS cards) */
.integrations-card-hover:hover {
    box-shadow: 0 0.375rem 1rem rgba(15, 23, 42, 0.07);
}
.integrations-card-hover--shadow-only:hover {
    box-shadow: 0 0.375rem 1rem rgba(15, 23, 42, 0.07);
}

/* Dot grid background */
.integrations__dot-grid {
    background-image: radial-gradient(circle, currentColor 1px, transparent 1px);
    background-size: 28px 28px;
    color: rgb(148 163 184 / 0.3);
}

/* v11 fixed sizes (Bootstrap branch; no colors) */
.integrations-v11__icon-tile {
    width: 3rem;
    height: 3rem;
}

.integrations-v11__center-dot {
    width: 1.25rem;
    height: 1.25rem;
    border: 4px solid var(--bs-body-bg);
}

.integrations-v11__step-dot {
    width: 0.5rem;
    height: 0.5rem;
}

.integrations-v11__card-col {
    width: 100%;
}

@media (min-width: 768px) {
    .integrations-v11__card-col {
        width: 41.666667%;
    }
}

.integrations-v11__dot-col {
    width: 16.666667%;
}

.integrations-v11__number {
    font-size: 3.75rem;
    line-height: 1;
    font-weight: 900;
    opacity: 0.25;
    user-select: none;
}

/* Hover effects moved out of the sem directive (custom classes, framework-independent) */
.integrations-v11__fx-card .integrations__icon-tile { transition: transform 0.3s ease; }
.integrations-v11__fx-card:hover .integrations__icon-tile { transform: scale(1.1); }
.integrations-v11__fx-card h3 { transition: color 0.3s ease; }
.integrations-v11__fx-card:hover h3 { color: var(--bs-primary, rgb(var(--tw-primary-400) / 1)); }
.dark .integrations-v11__fx-card:hover h3 { color: var(--bs-primary, rgb(var(--tw-primary-600) / 1)); }
@media (prefers-reduced-motion: reduce) {
    .integrations-v11__fx-card:hover .integrations__icon-tile { transform: none; }
}

