@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 institution — hairline dividers between trust items (width/style only, color comes from Tailwind/BS classes) */

/* BS flex child needs min-width:0 to shrink instead of overflowing on long titles (no BS utility) */
.features-inst__body {
    min-width: 0;
}

.features-inst__item:not(:first-child) {
    border-top-width: 1px;
    border-top-style: solid;
}

@media (min-width: 768px) {
    /* equal-width columns regardless of text length (basis 0 + min-width:0 lets a text-heavy item shrink) */
    .features-inst__item {
        flex: 1 1 0%;
        min-width: 0;
    }

    .features-inst__item:not(:first-child) {
        border-top-width: 0;
        border-left-width: 1px;
        border-left-style: solid;
    }
}

@keyframes perks-timeline-stripe-line-move-kf {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

.perks-timeline-stripe__line {
    position: absolute;
    width: 2px;
    animation-name: perks-timeline-stripe-line-move-kf;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.perks-timeline-stripe__dot {
    left: -3rem;
    top: 1.5rem;
    width: 1rem;
    height: 1rem;
    transition: transform 0.3s ease;
}

.perks-timeline-stripe__orb--tr {
    width: 24rem;
    height: 24rem;
}

.perks-timeline-stripe__orb--bl {
    width: 20rem;
    height: 20rem;
}

@media (min-width: 768px) {
    .perks-timeline-stripe__rail:hover .perks-timeline-stripe__dot {
        transform: scale(1.5);
    }
}

/* v28 - scattered rotation per card (per-index transform has no TW/BS utility) */
[data-scatter-card] {
    transition: transform 200ms ease;
}

[data-scatter-card="0"] {
    transform: rotate(-3deg);
}

[data-scatter-card="1"] {
    transform: rotate(2deg) translateY(-0.5rem);
}

[data-scatter-card="2"] {
    transform: rotate(-1.5deg);
}

[data-scatter-card]:hover {
    transform: rotate(0deg) translateY(0);
}

/* Лише 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;
    }
}

/* Затримки анімацій частинок (без inline style) */
.socialproof__particle:nth-child(1) {
    animation-delay: 0.5s;
}

.socialproof__particle:nth-child(2) {
    animation-delay: 1s;
}

.socialproof__particle:nth-child(3) {
    animation-delay: 1.5s;
}

.socialproof__particle:nth-child(4) {
    animation-delay: 2s;
}

.socialproof__blob-soft:nth-child(1) {
    animation-delay: 1.2s;
}

.socialproof__blob-soft:nth-child(2) {
    animation-delay: 2.5s;
}

.socialproof__orbs-grid > .socialproof__orb-col:nth-child(1) .socialproof__orb-card {
    animation-delay: 0s;
}

.socialproof__orbs-grid > .socialproof__orb-col:nth-child(2) .socialproof__orb-card {
    animation-delay: 0.1s;
}

.socialproof__orbs-grid > .socialproof__orb-col:nth-child(3) .socialproof__orb-card {
    animation-delay: 0.2s;
}

.socialproof__orbs-grid > .socialproof__orb-col:nth-child(4) .socialproof__orb-card {
    animation-delay: 0.3s;
}

.socialproof__orbs-grid > .socialproof__orb-col:nth-child(5) .socialproof__orb-card {
    animation-delay: 0.4s;
}

.socialproof__orbs-grid > .socialproof__orb-col:nth-child(6) .socialproof__orb-card {
    animation-delay: 0.5s;
}

.socialproof__min-shrink {
    min-width: 0;
}

@keyframes socialproof-pulse {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes socialproof-bounce {
    0%,
    100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }

    50% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

@keyframes socialproof-ping {
    75%,
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.socialproof__particle--pulse,
.socialproof__blob-soft--pulse {
    animation: socialproof-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.socialproof__particle--bounce,
.socialproof__blob-soft--bounce {
    animation: socialproof-bounce 1s infinite;
}

.socialproof__particle--ping {
    animation: socialproof-ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@media (prefers-reduced-motion: reduce) {
    .socialproof__particle--pulse,
    .socialproof__particle--bounce,
    .socialproof__particle--ping,
    .socialproof__blob-soft--pulse,
    .socialproof__blob-soft--bounce {
        animation: none;
    }
}


.lift-signup__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.lift-signup__inner {
    max-width: 56rem;
}

@keyframes lift-signup-spark-beat-cycle {
    0%, 100% { opacity: 1; }
    50%       { opacity: .5; }
}
.lift-signup__spark--beat {
    animation: lift-signup-spark-beat-cycle 2s cubic-bezier(.4,0,.6,1) infinite;
}

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

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

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

/* Bootstrap only (.w-100 on grid) — не перебивать TW display:grid */
.lift-signup__feature-grid-bs.w-100 {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
}

.lift-signup__feature-grid-bs.w-100 > .lift-signup__story--lift {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

@media (min-width: 576px) {
    .lift-signup__feature-grid-bs.w-100:not(.lift-signup__feature-grid-bs--cols-1) > .lift-signup__story--lift {
        flex: 1 1 calc((100% - 1.5rem) / 2);
        max-width: calc((100% - 1.5rem) / 2);
        min-width: min(100%, 11rem);
    }
}

@media (min-width: 992px) {
    .lift-signup__feature-grid-bs.w-100.lift-signup__feature-grid-bs--cols-3 > .lift-signup__story--lift {
        flex: 1 1 calc((100% - 3rem) / 3);
        max-width: calc((100% - 3rem) / 3);
    }
}

