/* -- Button hover states -- */
.hero-btn-primary {
    transition: filter 0.2s ease, transform 0.15s ease;
}
.hero-btn-primary:hover,
.hero-btn-primary:focus {
    filter: brightness(1.12);
    transform: translateY(-1px);
}

.hero-btn-outline-secondary {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.hero-btn-outline-secondary:hover,
.hero-btn-outline-secondary:focus {
    background-color: var(--bs-secondary) !important;
    color: #fff !important;
    border-color: var(--bs-secondary) !important;
    transform: translateY(-1px);
}

.hero-btn-outline-primary-light {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.hero-btn-outline-primary-light:hover,
.hero-btn-outline-primary-light:focus {
    background-color: var(--bs-primary) !important;
    color: #fff !important;
    border-color: var(--bs-primary) !important;
    transform: translateY(-1px);
}
.intro-bouncing-mosaic__area {
    max-width: 48rem;
}

.intro-bouncing-mosaic__decor--p1 {
    top: 0;
    left: 0;
    width: 2rem;
    height: 3rem;
    animation-duration: 2s;
}

.intro-bouncing-mosaic__decor--p2 {
    top: 0;
    left: 25%;
    width: 1.5rem;
    height: 2.5rem;
    animation-duration: 2.5s;
}

.intro-bouncing-mosaic__decor--p3 {
    top: 0;
    left: 50%;
    width: 2.5rem;
    height: 2rem;
    animation-duration: 1.8s;
}

.intro-bouncing-mosaic__decor--p4 {
    top: 0;
    left: 75%;
    width: 1.75rem;
    height: 2.75rem;
    animation-duration: 2.2s;
}

.intro-bouncing-mosaic__decor--p5 {
    top: 0;
    right: 0;
    width: 2.25rem;
    height: 2.25rem;
    animation-duration: 2.8s;
}

.intro-bouncing-mosaic__decor--p6 {
    top: 25%;
    left: 0;
    width: 1.5rem;
    height: 2rem;
    animation-duration: 3s;
}

.intro-bouncing-mosaic__decor--p7 {
    top: 25%;
    left: 25%;
    width: 2rem;
    height: 1.5rem;
    animation-duration: 1.5s;
}

.intro-bouncing-mosaic__decor--p8 {
    top: 25%;
    left: 50%;
    width: 1.25rem;
    height: 2.25rem;
    animation-duration: 2.3s;
}

.intro-bouncing-mosaic__decor--p9 {
    top: 25%;
    left: 75%;
    width: 1.75rem;
    height: 1.75rem;
    animation-duration: 2.7s;
}

.intro-bouncing-mosaic__decor--p10 {
    top: 25%;
    right: 0;
    width: 1.5rem;
    height: 2.5rem;
    animation-duration: 1.9s;
}

.intro-bouncing-mosaic__decor--p11 {
    top: 50%;
    left: 0;
    width: 2.25rem;
    height: 1.5rem;
    animation-duration: 2.1s;
}

.intro-bouncing-mosaic__decor--p12 {
    top: 50%;
    left: 25%;
    width: 1.75rem;
    height: 2rem;
    animation-duration: 2.6s;
}

.intro-bouncing-mosaic__decor--p13 {
    top: 50%;
    left: 50%;
    width: 1.5rem;
    height: 1.75rem;
    animation-duration: 1.7s;
}

.intro-bouncing-mosaic__decor--p14 {
    top: 50%;
    left: 75%;
    width: 2rem;
    height: 1.25rem;
    animation-duration: 2.4s;
}

.intro-bouncing-mosaic__decor--p15 {
    top: 50%;
    right: 0;
    width: 1.25rem;
    height: 2rem;
    animation-duration: 2.9s;
}

.intro-bouncing-mosaic__decor--p16 {
    top: 75%;
    left: 0;
    width: 2rem;
    height: 1.75rem;
    animation-duration: 2.2s;
}

.intro-bouncing-mosaic__decor--p17 {
    top: 75%;
    left: 25%;
    width: 1.5rem;
    height: 2.25rem;
    animation-duration: 1.8s;
}

.intro-bouncing-mosaic__decor--p18 {
    top: 75%;
    left: 50%;
    width: 1.75rem;
    height: 1.5rem;
    animation-duration: 2.5s;
}

.intro-bouncing-mosaic__decor--p19 {
    top: 75%;
    left: 75%;
    width: 1.25rem;
    height: 2rem;
    animation-duration: 2.1s;
}

.intro-bouncing-mosaic__decor--p20 {
    top: 75%;
    right: 0;
    width: 2.25rem;
    height: 1.5rem;
    animation-duration: 2.7s;
}

.intro-bouncing-mosaic__decor--p21 {
    bottom: 0;
    left: 0;
    width: 1.5rem;
    height: 2rem;
    animation-duration: 2.3s;
}

.intro-bouncing-mosaic__decor--p22 {
    bottom: 0;
    left: 25%;
    width: 2rem;
    height: 1.25rem;
    animation-duration: 1.6s;
}

.intro-bouncing-mosaic__decor--p23 {
    bottom: 0;
    left: 50%;
    width: 1.75rem;
    height: 1.75rem;
    animation-duration: 2.8s;
}

.intro-bouncing-mosaic__decor--p24 {
    bottom: 0;
    left: 75%;
    width: 1.25rem;
    height: 2.25rem;
    animation-duration: 2s;
}

.intro-bouncing-mosaic__decor--p25 {
    bottom: 0;
    right: 0;
    width: 2rem;
    height: 1.5rem;
    animation-duration: 2.4s;
}

.perks-triple-band__tile,
.perks-triple-band__hero-img {
    transition: transform 0.2s ease;
}

.perks-triple-band__thumb {
    width: 3rem;
    height: 3rem;
}

.perks-triple-band__hero-img {
    max-height: 25rem;
    object-fit: contain;
}

@media (min-width: 640px) {
    .perks-triple-band__tile:hover {
        transform: scale(1.05);
    }

    .perks-triple-band__hero-img:hover {
        transform: scale(1.05);
    }
}

/* advantages zigzag — 50/50 split, alternating direction, image cover + hover zoom (layout only, no colors) */

.advantages-zigzag__media {
    aspect-ratio: 4 / 3;
}

.advantages-zigzag__img {
    object-fit: cover;
    transition: transform 0.4s ease;
}

.advantages-zigzag__media:hover .advantages-zigzag__img {
    transform: scale(1.05);
}

@media (min-width: 768px) {
    /* equal halves regardless of framework (BS has no responsive w-50 utility) */
    .advantages-zigzag__row > * {
        flex: 1 1 0%;
        min-width: 0;
    }

    /* first row image-left/text-right; every even row mirrors */
    .advantages-zigzag__row:nth-child(even) {
        flex-direction: row-reverse;
    }
}

/* Лише hover scale — розміри в @sem (tw) та width/height на img (bs) */
.quote-author-media-hover {
  transition: transform 0.3s ease;
}

.quote-author-media-hover:hover {
  transform: scale(1.05);
}

/* Hover — поза @sem; TW і BS */
.stats-card-hover {
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.stats-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: scale(1.05);
}

.stats-card-hover .stats-value-hover,
.stats-card-hover .stats__label,
.stats-card-hover .stats__desc {
  transition: color 0.3s ease;
}

.stats-card-hover:hover .stats-value-hover {
  color: rgb(30 41 59);
}

.stats-card-hover:hover .stats__label {
  color: rgb(30 41 59);
}

.stats-card-hover:hover .stats__desc {
  color: rgb(51 65 85);
}

.features-timeline__decor--pulse {
    animation: features-timeline-pulse-kf 2s infinite;
}
.features-timeline__decor--bounce {
    animation: features-timeline-bounce-kf 2s infinite;
    transform: rotate(12deg);
}
.features-timeline__decor--spin {
    animation: features-timeline-spin-kf 4s linear infinite;
}
.features-timeline__decor--pulse-small {
    animation: features-timeline-pulse-kf 2s infinite;
}
.features-timeline__item:hover .features-timeline__icon {
    transform: scale(1.1);
    transition: transform 0.25s ease;
}
.features-timeline__item:hover .features-timeline__title {
    color: var(--bs-primary);
}

/* ?? step number (BS mode) ?? */
.features-timeline__num-bs {
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1;
    color: var(--bs-primary-border-subtle);
    opacity: 0.8;
    min-width: 2.75rem;
    flex-shrink: 0;
    transition: color 0.25s ease, opacity 0.25s ease;
}
.features-timeline__item:hover .features-timeline__num-bs {
    color: var(--bs-primary);
    opacity: 1;
}

@keyframes features-timeline-pulse-kf {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}
@keyframes features-timeline-bounce-kf {
    0%, 100% { transform: translateY(-25%) rotate(12deg); animation-timing-function: cubic-bezier(0.8,0,1,1); }
    50% { transform: none rotate(12deg); animation-timing-function: cubic-bezier(0,0,0.2,1); }
}
@keyframes features-timeline-spin-kf {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* -- 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;
}

/* ?? v19 timeline connector line ?? */
.features-timeline__connector {
    position: absolute;
    left: 1.75rem;
    top: 1.75rem;
    bottom: 2rem;
    width: 1px;
    background: linear-gradient(to bottom, var(--bs-primary), rgba(var(--bs-primary-rgb), 0.3), transparent);
    pointer-events: none;
}

/* ?? v19 number watermark ?? */
.features-timeline__number {
    left: -0.25rem;
    top: -0.75rem;
    line-height: 1;
    font-size: 3rem;
    font-weight: 900;
    color: var(--bs-border-color);
    opacity: 0.6;
    pointer-events: none;
    user-select: none;
    position: absolute;
    z-index: 0;
}
.bulletin-sidebar-merge__card {
    max-width: 56rem;
}

.bulletin-sidebar-merge__halo {
    width: 12rem;
    height: 12rem;
}


.signup-conversion__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.signup-conversion__slate--lift:hover { transform: scale(1.05); transition: transform .2s ease; }

.signup-conversion__action--lift:hover { transform: scale(1.05); transition: transform .2s ease; }

.signup-conversion__cards-bs {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
}

.signup-conversion__cards-bs > .signup-conversion__slate--lift {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .signup-conversion__cards-bs > .signup-conversion__slate--lift {
        flex: 1 1 calc((100% - 2rem) / 2);
        max-width: calc((100% - 2rem) / 2);
    }
}

@media (min-width: 992px) {
    .signup-conversion__cards-bs > .signup-conversion__slate--lift {
        flex: 1 1 calc((100% - 4rem) / 3);
        max-width: calc((100% - 4rem) / 3);
    }
}

