/* Декор: клики проходят к контенту */
.hero-v13-decor-layer {
    pointer-events: none;
}

/* Точка в верхнем бейдже */
.hero-v13-badge-dot {
    box-sizing: border-box;
    width: 0.5rem;
    height: 0.5rem;
    flex-shrink: 0;
    border-radius: 9999px;
}

/* Иконка в карточке key-features (w-8 h-8 rounded-lg) */
.hero-v13-feature-icon {
    box-sizing: border-box;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    overflow: hidden;
}

.hero-v13-feature-icon i {
    line-height: 1;
}

/* Плавающие точки — только размеры и позиции */
.hero-v13-dot--1 {
    position: absolute;
    top: 5rem;
    left: 4rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
}

.hero-v13-dot--2 {
    position: absolute;
    top: 8rem;
    right: 5rem;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 9999px;
}

.hero-v13-dot--3 {
    position: absolute;
    bottom: 6rem;
    left: 5rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
}

.hero-v13-dot--4 {
    position: absolute;
    bottom: 8rem;
    right: 4rem;
    width: 1rem;
    height: 1rem;
    border-radius: 9999px;
}

.hero-v13-dot--5 {
    position: absolute;
    top: 50%;
    left: 25%;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
}

.hero-v13-dot--6 {
    position: absolute;
    top: 33%;
    right: 33%;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 9999px;
}

/* Контент: как max-w-5xl / max-w-3xl в Bootstrap */
.hero-v13-area-max {
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-v13-desc-max {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

/* Индикатор скролла внизу — без transform (конфликт с анимациями) */
.hero-v13-scroll-wrap {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    z-index: 10;
    margin-left: -0.75rem;
}

.hero-v13-scroll-track {
    width: 1.5rem;
    height: 2.5rem;
}

.hero-v13-scroll-thumb {
    width: 0.25rem;
    height: 0.75rem;
}

.hero-v13-btn-ghost {
    background-color: transparent;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.hero-v13-btn-ghost:hover,
.hero-v13-btn-ghost:focus {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff !important;
    border-color: #fff !important;
}

/* -- 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);
}
.focus-orb {
    top: 0;
    right: 0;
    width: 18rem;
    height: 18rem;
    filter: blur(3rem);
}

.focus-timeline {
    position: relative;
}

.focus-timeline__rail {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 1.5rem;
    width: 2px;
    pointer-events: none;
    --focus-tl-mid: var(--bs-primary, #60a5fa);
    background: linear-gradient(
        to bottom,
        color-mix(in srgb, var(--focus-tl-mid) 80%, transparent),
        color-mix(in srgb, var(--focus-tl-mid) 35%, transparent),
        transparent
    );
}

.dark .focus-timeline__rail {
    --focus-tl-mid: var(--bs-primary, #3b82f6);
}

@media (min-width: 768px) {
    .focus-timeline__rail {
        left: 50%;
        transform: translateX(-50%);
    }
}

.focus-timeline-dot {
    position: absolute;
    top: 1.25rem;
    left: 1.5rem;
    z-index: 2;
    transform: translateX(-50%);
}

@media (min-width: 768px) {
    .focus-timeline-dot {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Відступ карток від центральної лінії (TW + BS) */
    .focus-timeline__item--left .focus-card-hover {
        margin-inline-start: clamp(1.25rem, 4vw, 2.75rem);
    }

    .focus-timeline__item--right .focus-card-hover {
        margin-inline-end: clamp(1.25rem, 4vw, 2.75rem);
    }
}

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

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

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

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

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

.focus-card-hover:hover .focus-title-hover {
    color: var(--bs-primary, #2563eb);
}

/* Bootstrap: сетка + зазор; пропорции как md:w-1/2 и lg: 2/3 + 1/3 */
.values-bento-split__bs-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    width: 100%;
}

@media (min-width: 768px) {
    .values-bento-split__bs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .values-bento-split__bs-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .values-bento-split__bs-grid .values-bento-split__bs-item--0 {
        grid-column: span 2;
    }

    .values-bento-split__bs-grid .values-bento-split__bs-item--1 {
        grid-column: span 1;
    }

    .values-bento-split__bs-grid .values-bento-split__bs-item--2 {
        grid-column: span 1;
    }

    .values-bento-split__bs-grid .values-bento-split__bs-item--3 {
        grid-column: span 2;
    }
}

.values-bento-split__subtitle-max {
    max-width: 48rem;
}

/* Текст под абсолютным кругом: отступы сильнее, чем были в bs (избегаем перекрытия) */
.values-bento-split__body {
    min-width: 0;
    margin-top: 6rem;
    margin-left: 0;
}

@media (min-width: 768px) {
    .values-bento-split__body {
        margin-top: 2rem;
        margin-left: 6rem;
    }
}

.values-bento-split__thumb {
    width: 4rem;
    height: 4rem;
}

@media (min-width: 768px) {
    .values-bento-split__thumb {
        width: 5rem;
        height: 5rem;
    }
}


.boost-rally__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.boost-rally__inner {
    max-width: 64rem;
}

@keyframes boost-rally-highlight-throb-loop {
    0%, 100% { opacity: 1; }
    50%       { opacity: .5; }
}
.boost-rally__highlight--throb {
    animation: boost-rally-highlight-throb-loop 2s cubic-bezier(.4,0,.6,1) infinite;
}

.boost-rally__appeal--shift:hover { transform: scale(1.05); transition: transform .2s ease; }

.boost-rally__panel--shift:hover { transform: scale(1.05); transition: transform .2s ease; }

/* Всегда на контейнере двух карточек: явный gap для grid (Tailwind) и дублирует зазор для flex (BS) */
.boost-rally__card-stack-gap {
    gap: 2rem;
}

/* Bootstrap only: класс задаётся в bs:, в Tailwind-режиме не выводится — не конфликтует с grid */
.boost-rally__card-row-bs {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    align-items: stretch;
}

@media (min-width: 768px) {
    .boost-rally__card-row-bs {
        flex-direction: row;
    }

    .boost-rally__card-row-bs > .boost-rally__panel--shift {
        flex: 1 1 0;
        min-width: 0;
    }
}

.boost-rally__card-row-bs > .boost-rally__panel--shift {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.boost-rally__card-row-bs > .boost-rally__panel--shift > a:last-of-type {
    margin-top: auto;
}

