/* Hero v8 Animation Styles */

/* Initial fade — do NOT use Bootstrap .opacity-0 (it uses !important and blocks the animation end state) */
.hero-v8-fade--1,
.hero-v8-fade--2,
.hero-v8-fade--3,
.hero-v8-fade--4,
.hero-v8-fade--5 {
    opacity: 0;
}

.hero-v8-fade--1.animate-fade-in-up { animation-delay: 0.2s; }
.hero-v8-fade--2.animate-fade-in-up { animation-delay: 0.4s; }
.hero-v8-fade--3.animate-fade-in-up { animation-delay: 0.6s; }
.hero-v8-fade--4.animate-fade-in-up { animation-delay: 0.8s; }
.hero-v8-fade--5.animate-fade-in-up { animation-delay: 1s; }

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fade-in-up 0.8s ease-out forwards;
}

@keyframes wave {
    0%, 100% {
        transform: translateY(0px);
    }
    25% {
        transform: translateY(-10px);
    }
    50% {
        transform: translateY(0px);
    }
    75% {
        transform: translateY(10px);
    }
}

.animate-wave {
    animation: wave 3s ease-in-out infinite;
}

.hero-v8-decor-top {
    position: absolute;
    top: -5rem;
    left: 0;
    right: 0;
    pointer-events: none;
    z-index: 1;
}

.hero-v8-dot--1 { animation-delay: 0s; top: 5rem; left: 4rem; }
.hero-v8-dot--2 { animation-delay: 1s; top: 8rem; right: 5rem; }
.hero-v8-dot--3 { animation-delay: 2s; bottom: 6rem; left: 5rem; }
.hero-v8-dot--4 { animation-delay: 3s; bottom: 8rem; right: 4rem; }
.hero-v8-dot--5 { animation-delay: 4s; top: 50%; left: 25%; }
.hero-v8-dot--6 { animation-delay: 5s; top: 33%; right: 33%; }

.hero-v8-blob--delayed { animation-delay: 2s; }

.hero-v8-glow--top { top: 5rem; left: 5rem; }
.hero-v8-glow--bottom { bottom: 5rem; right: 5rem; }

/* Description max width when Bootstrap omits max-w-2xl */
.hero-v8-desc-max {
    max-width: 42rem;
}

.hero-testimonial-overlay__wave-line {
    height: var(--wave-h);
    animation-delay: var(--wave-d);
}

/* -- 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);
}
.stats__icon-dim--lg {
  width: 5rem;
  height: 5rem;
}

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


.services__link--lift {
  transition: transform 0.2s ease, filter 0.2s ease;
}

.services__link--lift:hover {
  transform: translateX(2px);
  filter: brightness(1.08);
}

/* Лише 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__panel {
    font-family: 'Courier New', Courier, monospace;
    position: relative;
}

.socialproof__panel::before {
    content: '┌───────────────────────────────────────────┐';
    display: block;
    color: rgba(99, 102, 241, 0.5);
    font-size: 0.7rem;
    white-space: nowrap;
    overflow: hidden;
    padding: 0.5rem 1rem 0;
}

.socialproof__panel::after {
    content: '└────────────────────────────────────────────────────┘';
    display: block;
    color: rgba(99, 102, 241, 0.5);
    font-size: 0.7rem;
    white-space: nowrap;
    overflow: hidden;
    padding: 0 1rem 0.5rem;
}

.socialproof__row {
    transition: background-color 0.15s ease;
}

.socialproof__row:hover {
    background-color: rgba(99, 102, 241, 0.06);
}

.socialproof__value {
    color: var(--color-primary-400, #818cf8);
    font-weight: 700;
    font-family: 'Courier New', Courier, monospace;
}

.socialproof__cursor::after {
    content: '▌';
    animation: socialproof__blink 1s step-end infinite;
    color: var(--color-primary-400, #818cf8);
}

@keyframes socialproof__blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}


.bodycopy-storyblock__icon-trail { margin-bottom: 2rem; }

.bodycopy-storyblock__title-trail { margin-bottom: 2rem; }

.bodycopy-storyblock__lead-trail { margin-bottom: 2rem; }

.bodycopy-storyblock__wrapper-section-pad {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.content-prose-measure {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.content-heading-gap {
    margin-bottom: 2rem;
}

.stream-timeline-axis__wrap {
    max-width: 64rem;
}

.stream-timeline-axis__date-ring {
    width: 2.5rem;
    height: 2.5rem;
    position: relative;
    z-index: 2;
}

/* Линия таймлайна — под кругами (без цветов в правилах z-index) */
.stream-timeline-axis__spine {
    left: 50%;
    width: 1px;
    z-index: 0;
}

.stream-timeline-axis__lane {
    width: 41.666667%;
}

.stream-timeline-axis__hub {
    width: 16.666667%;
}

.stream-timeline-axis__date-stack {
    width: 3.5rem;
    height: 3.5rem;
    position: relative;
    z-index: 2;
}

/* Decor geometry (layout only; colors stay in Blade / @sem) */
.leaflet-document__decor-1 {
    position: absolute;
    width: 8rem;
    height: 8rem;
    top: 0;
    left: 0;
    transform: translate(-4rem, -4rem);
    z-index: 0;
    pointer-events: none;
}

.leaflet-document__decor-2 {
    position: absolute;
    width: 12rem;
    height: 12rem;
    bottom: 0;
    right: 0;
    transform: translate(6rem, 6rem);
    z-index: 0;
    pointer-events: none;
}

.leaflet-document__decor-3 {
    position: absolute;
    width: 6rem;
    height: 6rem;
    top: 50%;
    right: 0;
    transform: translate(3rem, -50%);
    z-index: 0;
    pointer-events: none;
}

.leaflet-document__decor-4 {
    position: absolute;
    width: 4rem;
    height: 4rem;
    left: 25%;
    bottom: 25%;
    transform: translate(-50%, 50%);
    z-index: 0;
    pointer-events: none;
}

.leaflet-document__divider-bar {
    height: 0.25rem;
}

.leaflet-document__title-trail { margin-bottom: 2rem; }

.leaflet-document__rule-trail { margin-bottom: 3rem; }

.leaflet-document__wrapper-section-pad {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.content-prose-measure {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.content-heading-gap {
    margin-bottom: 2rem;
}


.writeup-document__accent-trail {
    margin-bottom: 2rem;
    width: 4rem;
    height: 0.25rem;
}

.writeup-document__title-trail { margin-bottom: 2rem; }

.writeup-document__hull-section-pad {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.content-prose-measure {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.content-heading-gap {
    margin-bottom: 2rem;
}

/* Layout-only hover; theme colors stay in Tailwind/Bootstrap via Blade */
.pricing-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);
}

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

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

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

.pricing-card-hover:hover .pricing__btn {
  transform: scale(1.02);
}

.pricing__btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}


/* v19 accordion — button UA reset (no BS btn class) */
.perks-linear-accord__trigger {
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    cursor: pointer;
    line-height: inherit;
}

/* body indent (BS has no ps-10 analog at this size) */
.perks-linear-accord__body {
    padding-left: 2.5rem;
}

/* chevron rotation when expanded */
.perks-linear-accord__item[data-open] .perks-linear-accord__chevron i {
    transform: rotate(180deg);
    transition: transform 0.25s ease;
}

.perks-linear-accord__chevron i {
    transition: transform 0.25s ease;
}

/* glossary invert — hover lift supplied via Tailwind on @sem('block'). */

.contact-us-flex__min {
    min-width: 0;
}

.contact-us-media__cover {
    object-fit: cover;
}

