/* -- 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);
}
/* No custom CSS needed for this version */

/* -- 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);
}
.perks-aside-visual__blob--tr {
    position: absolute;
    width: 24rem;
    height: 24rem;
    top: 0;
    right: 0;
    filter: blur(64px);
}

.perks-aside-visual__blob--bl {
    position: absolute;
    width: 20rem;
    height: 20rem;
    bottom: 0;
    left: 0;
    filter: blur(64px);
}

/* Лише layout / рух; кольори теми — у Blade */
.socialproof-card-hover {
    transition:
        box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.socialproof__stat-value,
.socialproof__stat-label {
    transition: transform 0.3s ease, color 0.2s ease;
}

@media (hover: hover) {
    .socialproof-card-hover:hover {
        box-shadow: 0 22px 44px -18px rgba(15, 23, 42, 0.2);
    }

    .dark .socialproof-card-hover:hover {
        box-shadow: 0 22px 44px -14px rgba(0, 0, 0, 0.5);
    }

    .socialproof-card-hover:hover .socialproof__stat-value {
        transform: scale(1.08);
    }
}

@media (hover: hover) and (min-width: 640px) {
    .socialproof-card-hover--lift:hover {
        transform: translateY(-4px) scale(1.02);
    }
}

@media (prefers-reduced-motion: reduce) {
    .socialproof-card-hover,
    .socialproof__stat-value,
    .socialproof__stat-label {
        transition: none;
    }

    .socialproof-card-hover:hover,
    .socialproof-card-hover:hover .socialproof__stat-value,
    .socialproof-card-hover--lift:hover {
        transform: none;
    }
}

.socialproof__pulse {
    animation: socialproof__breathe 4s ease-in-out infinite;
}

@keyframes socialproof__breathe {
    0%, 100% { opacity: 0.15; transform: scale(1); }
    50% { opacity: 0.25; transform: scale(1.04); }
}

.socialproof__pulse-2 {
    animation: socialproof__breathe 4s ease-in-out infinite 1s;
}

.socialproof__pulse-3 {
    animation: socialproof__breathe 4s ease-in-out infinite 2s;
}

.socialproof__hero-value {
    background: linear-gradient(135deg, var(--color-primary-600, #4f46e5), var(--color-primary-400, #818cf8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    
}

.socialproof__stat-card {
    min-width: 0;
}

.socialproof__hero-inner-minh {
    min-height: 12rem;
}

.masonry-offset-cards-quote__track {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
    gap: 2rem;
}

@media (min-width: 768px) {
    .masonry-offset-cards-quote__track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.25rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .masonry-offset-cards-quote__track {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2.5rem 1.5rem;
    }
}

.masonry-offset-cards-quote__col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.masonry-offset-cards-quote__surface {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 0;
    flex: 1 1 auto;
}

@media (min-width: 768px) {
    .masonry-offset-cards-quote__surface {
        gap: 1.25rem;
    }
}

/* Geometry shared by both CSS frameworks (Bootstrap has no utilities for it) */
.whyus-tundra {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.mxw-4xl {
    max-width: 56rem !important;
}

.mxw-3xl {
    max-width: 48rem !important;
}

.whyus-tundra__head {
    margin-bottom: 2.5rem;
}

.whyus-tundra__steps,
.whyus-tundra__kicker {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.whyus-tundra__title {
    font-size: 1.875rem;
    letter-spacing: 0.05em;
}

.whyus-tundra__lead {
    font-size: 1rem;
}

.whyus-tundra__feature {
    padding: 1.5rem;
    margin-bottom: 2.5rem;
}

.whyus-tundra__feature-text {
    font-size: 1.25rem;
}

.whyus-tundra__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.whyus-tundra__card {
    transition: box-shadow 150ms ease;
}

/* hover ring — `:where()` keeps specificity at 0-1-0 so Tailwind's hover:ring-2 wins there */
:where(.whyus-tundra__card):hover {
    box-shadow: 0 0 0 2px var(--bs-primary-border-subtle);
}

.whyus-tundra__card-title {
    font-size: 1rem;
    letter-spacing: 0.025em;
}

.whyus-tundra__card-desc {
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .whyus-tundra {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    .whyus-tundra__head,
    .whyus-tundra__feature {
        margin-bottom: 3.5rem;
    }

    .whyus-tundra__title {
        font-size: 2.25rem;
    }

    .whyus-tundra__lead,
    .whyus-tundra__card-title {
        font-size: 1.125rem;
    }

    .whyus-tundra__feature {
        padding: 2rem;
    }

    .whyus-tundra__feature-text {
        font-size: 1.5rem;
    }

    .whyus-tundra__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
        margin-bottom: 4rem;
    }

    .whyus-tundra__card-desc {
        font-size: 1rem;
    }
}

@media (min-width: 1024px) {
    .whyus-tundra__title {
        font-size: 3rem;
    }

    .whyus-tundra__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* whyus v25 — tundra split-diagonal decor + benefit card grid */

/* Diagonal divider line — skewed accent spanning corner to corner */
.whyus-tundra__divider {
    top: 38%;
    left: -10%;
    width: 120%;
    height: 2px;
    transform: rotate(-7deg);
    transform-origin: center;
}

/* Tundra semicircles — sparse organic accents at the section edges */
.whyus-tundra__semicircle {
    border-radius: 999px;
    overflow: hidden;
}

.whyus-tundra__semicircle--left {
    top: -3rem;
    left: -4rem;
    width: 10rem;
    height: 10rem;
}

.whyus-tundra__semicircle--right {
    top: 15%;
    right: -5rem;
    width: 8rem;
    height: 8rem;
}

.whyus-tundra__semicircle--bottom {
    bottom: -6rem;
    left: 20%;
    width: 14rem;
    height: 14rem;
}

/* Frosted-glass CTA accent — blur, padding and hover lift for both frameworks */
.whyus-tundra__glass {
    padding: 0.75rem 1.5rem;
    letter-spacing: 0.05em;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    --bs-bg-opacity: 0.3;
    transition: transform 150ms ease;
}

:where(.whyus-tundra__glass):hover {
    transform: scale(1.05);
}

/* Benefit cards — staggered entrance */
.whyus-tundra__card {
    animation: whyus-tundra-card-in 0.55s ease both;
}

.whyus-tundra__card:nth-child(1) { animation-delay: 0.05s; }
.whyus-tundra__card:nth-child(2) { animation-delay: 0.1s; }
.whyus-tundra__card:nth-child(3) { animation-delay: 0.15s; }
.whyus-tundra__card:nth-child(4) { animation-delay: 0.2s; }
.whyus-tundra__card:nth-child(5) { animation-delay: 0.25s; }
.whyus-tundra__card:nth-child(6) { animation-delay: 0.3s; }

@keyframes whyus-tundra-card-in {
    from {
        opacity: 0;
        transform: translateY(0.5rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Choreographed entrance — heading, featured panel, CTA */
@keyframes whyusTundraEnter {
    from {
        opacity: 0;
        transform: translateY(0.75rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.whyus-tundra__enter {
    animation: whyusTundraEnter 600ms ease-out both;
}

.whyus-tundra__enter--1 {
    animation-delay: 0ms;
}

.whyus-tundra__enter--2 {
    animation-delay: 200ms;
}

.whyus-tundra__enter--3 {
    animation-delay: 400ms;
}

@media (prefers-reduced-motion: reduce) {
    .whyus-tundra__enter,
    .whyus-tundra__card {
        animation: none;
    }
}

/* process rail — awards list rows, serif marquee */
.process-rail__stage {
    min-height: 24rem;
}

.process-rail__top {
    min-height: 18rem;
}

.process-rail__row {
    transition: background-color 0.25s ease;
}

.process-rail__row:hover {
    background-color: color-mix(in srgb, currentColor 8%, transparent);
}

.process-rail__marquee-track {
    display: flex;
    width: max-content;
    animation: process-rail-marquee 28s linear infinite;
}

.process-rail__marquee-text {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: clamp(1.5rem, 6vw, 4rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    white-space: nowrap;
    padding-inline: 1rem;
    flex-shrink: 0;
}

.process-rail__animation {
    width: 8rem;
    height: 8rem;
    animation: process-rail-pulse 2s ease-in-out infinite;
}

@keyframes process-rail-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

@keyframes process-rail-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .process-rail__marquee-track {
        animation: none;
    }
}

@media (min-width: 992px) {
    .process-rail__stage {
        min-height: 28rem;
    }

    .process-rail__top {
        min-height: 22rem;
    }
}

/* cta particles card — animated dot field */
.cta-particles-card__root {
  position: relative;
  overflow: hidden;
}

.cta-particles-card__particles {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: radial-gradient(circle, var(--tw-primary-500, var(--bs-primary)) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: cta-particles-card__drift 20s linear infinite;
}

@keyframes cta-particles-card__drift {
  from { transform: translateY(0); }
  to { transform: translateY(100px); }
}

