@keyframes rotateSquare {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.intro-pattern-overlay {
    background-image: repeating-linear-gradient(45deg, transparent, transparent 20px, currentColor 20px, currentColor 40px);
    opacity: 0.03;
    top: -20%;
    left: -30%;
    width: 100%;
    height: 100%;
    animation: rotateSquare 20s linear infinite;
}

.intro-pattern-content {
    max-width: 56rem;
}

.features-tab-grid__decor--pulse {
    top: 0;
    right: 0;
    animation: features-tab-grid-pulse-kf 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.features-tab-grid__decor--spin {
    bottom: 0;
    left: 0;
    animation: features-tab-grid-spin-kf 1s linear infinite;
}

.features-tab-grid__decor--bounce {
    top: 50%;
    left: 25%;
    transform: rotate(-6deg);
    animation: features-tab-grid-bounce-kf 1s infinite;
}

.features-tab-grid__decor--line {
    top: 33.333333%;
    right: 25%;
    transform: rotate(6deg);
}

.features-tab-grid__tab {
    cursor: pointer;
}

.features-tab-grid__tab--active {
    border-bottom-color: var(--bs-primary, #0d6efd);
    color: var(--bs-primary, #0d6efd);
}

.features-tab-grid__tab--inactive {
    border-bottom-color: transparent;
    color: inherit;
}

.features-tab-grid__tab:hover {
    border-bottom-color: var(--bs-primary, #0d6efd);
    opacity: 0.8;
}

.features-tab-grid__card {
    transition: all 0.3s ease;
}

.features-tab-grid__card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.features-tab-grid__card:hover .features-tab-grid__title {
    color: var(--bs-primary, #0d6efd);
}

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

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

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

/* -- 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;
}
/* Bootstrap: ΡΠ΅ΡΠΊΠ° 1β3 ΠΊΠΎΠ»ΠΎΠ½ΠΊΠΈ + gap ΠΊΠ°ΠΊ Ρ Tailwind (row + row-cols Π±Π΅Π· col β ΡΠ»ΠΈΠΏΠ°Π½ΠΈΠ΅) */
.whyus-highlight-cards__grid-mb {
    margin-bottom: 2rem;
}

.whyus-highlight-cards__bs-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5rem;
    width: 100%;
}

@media (min-width: 768px) {
    .whyus-highlight-cards__bs-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

.whyus-highlight-cards__subtitle-max {
    max-width: 42rem;
}

.whyus-highlight-cards__desc-max {
    max-width: 48rem;
}

.whyus-highlight-cards__thumb {
    width: 4rem;
    height: 4rem;
    flex-shrink: 0;
}

.whyus-highlight-cards__badge {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
}

.whyus-highlight-cards__inner {
    z-index: 10;
}

.whyus-highlight-cards__decor {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
}

.whyus-highlight-cards__accent {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    width: 1rem;
    height: 1rem;
}

.frame-scroll-container { -webkit-overflow-scrolling: touch; }

/* BS (ΠΏΡΠ΅Π²βΡ + Π΅ΠΊΡΠΏΠΎΡΡ): ΠΊΠ°ΡΡΠΊΠΈ ~Π²Π΄Π²ΡΡΡ Π²ΡΠΆΡΡ Π·Π° w-72; TW Π±Π΅Π· Π·ΠΌΡΠ½ */
.about-frame-strip--bs .frame-scroll-container > li:not([aria-hidden="true"]),
#section-preview-root.section-preview--bootstrap .frame-scroll-container > li:not([aria-hidden="true"]),
[data-preview-framework="bootstrap"] .frame-scroll-container > li:not([aria-hidden="true"]) {
    flex: 0 0 16rem !important;
    width: 16rem !important;
    max-width: min(16rem, 85vw) !important;
}

.frame-sq-12 { width: 3rem; height: 3rem; flex-shrink: 0; }

.frame-card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.frame-card-hover:hover {
    transform: translateY(-0.25rem);
    box-shadow: var(--bs-box-shadow);
}

.frame-icon-hover {
    transition: transform 0.2s ease;
}

.frame-card-hover:hover .frame-icon-hover {
    transform: scale(1.05);
}

.frame-title-hover {
    transition: color 0.2s ease;
}

.frame-card-hover:hover .frame-title-hover {
    color: var(--bs-primary);
}

