/* Hero v5 Animation Styles */

@keyframes hero-v5-particle-float {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-40px) scale(1.2);
        opacity: 0.7;
    }
}

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

.particle {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    animation: hero-v5-particle-float 6s ease-in-out infinite;
}

.hero-v5-particle--1 { animation-delay: 0s; top: 20%; left: 10%; }
.hero-v5-particle--2 { animation-delay: 1s; top: 40%; left: 30%; }
.hero-v5-particle--3 { animation-delay: 2s; top: 60%; left: 50%; }
.hero-v5-particle--4 { animation-delay: 3s; top: 30%; left: 70%; }
.hero-v5-particle--5 { animation-delay: 4s; top: 50%; left: 90%; }
.hero-v5-particle--6 { animation-delay: 5s; top: 70%; left: 20%; }

.animate-fade-in-up {
    animation: hero-v5-fade-in-up 0.8s ease-out both;
}

.hero-v5-fade--1 { animation-delay: 0.2s; }
.hero-v5-fade--2 { animation-delay: 0.4s; }
.hero-v5-fade--3 { animation-delay: 0.6s; }
.hero-v5-fade--4 { animation-delay: 1s; }
.hero-v5-fade--5 { animation-delay: 1.2s; }

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

.hero-v5-bounce--1 { animation-delay: 0.5s; }
.hero-v5-bounce--2 { animation-delay: 1s; }

.hero-v5-ring--slow {
    top: 0;
    left: 0;
    width: 24rem;
    height: 24rem;
    max-width: 100%;
    animation-duration: 20s;
}

.hero-v5-ring--reverse {
    top: 0;
    left: 0;
    width: 24rem;
    height: 24rem;
    max-width: 100%;
    animation-duration: 15s;
    animation-direction: reverse;
}

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

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

.hero-v5-scroll-wrap {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    margin-left: -0.75rem;
}

.hero-v5-max-desc {
    max-width: 42rem;
}

.hero-v5-blob-nw {
    top: 3rem;
    left: 3rem;
    width: 18rem;
    height: 18rem;
    filter: blur(64px);
}

.hero-v5-blob-se {
    bottom: 3rem;
    right: 3rem;
    width: 24rem;
    height: 24rem;
    filter: blur(64px);
}

.hero-v5-card-fixed {
    width: 24rem;
    height: 24rem;
    max-width: 100%;
}

.hero-v5-card-glass {
    backdrop-filter: blur(4px);
}

.hero-v5-overlay-inner {
    top: 1rem;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
}

.hero-v5-dot--top-end {
    top: -0.5rem;
    right: -0.5rem;
    width: 2rem;
    height: 2rem;
}

.hero-v5-dot--bottom-start {
    bottom: -0.5rem;
    left: -0.5rem;
    width: 1.5rem;
    height: 1.5rem;
}

.hero-v5-dot--mid-end {
    top: 50%;
    right: -2rem;
    width: 1rem;
    height: 1rem;
}

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

.hero-v5-btn-ghost:hover,
.hero-v5-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);
}
.intro-cta-content {
    max-width: 56rem;
}

/* Layout / motion only — colors stay in Blade utilities (CLAUDE.md) */

.perks-fourcol-glow__blob--a {
    position: absolute;
    width: 8rem;
    height: 8rem;
    top: 5rem;
    left: 2.5rem;
    filter: blur(64px);
}

.perks-fourcol-glow__blob--b {
    position: absolute;
    width: 10rem;
    height: 10rem;
    bottom: 5rem;
    right: 2.5rem;
    filter: blur(64px);
}

.perks-fourcol-glow__badge {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    width: 2rem;
    height: 2rem;
}

.perks-fourcol-glow__thumb {
    width: 5rem;
    height: 5rem;
}

.perks-fourcol-glow__card,
.perks-fourcol-glow__thumb {
    transition: transform 0.3s ease;
}

.perks-fourcol-glow__overlay {
    transition: opacity 0.5s ease;
}

.perks-fourcol-glow__accent {
    transition: opacity 0.5s ease;
}

@media (min-width: 640px) {
    .perks-fourcol-glow__group:hover .perks-fourcol-glow__card {
        transform: scale(1.05);
    }

    .perks-fourcol-glow__group:hover .perks-fourcol-glow__thumb {
        transform: scale(1.1);
    }
}

.perks-fourcol-glow__group:hover .perks-fourcol-glow__overlay {
    opacity: 1;
}

.perks-fourcol-glow__group:hover .perks-fourcol-glow__accent {
    opacity: 1;
}

.steps-tip-cards__col {
    max-width: 20rem;
}

.steps-tip-cards__badge-circle {
    width: 4rem;
    height: 4rem;
}

.staircase-cascade-quote__portrait {
    width: 5rem;
    height: 5rem;
}

.staircase-cascade-quote__step:nth-child(1) .staircase-cascade-quote__shadow {
    transform: translate(0, 0);
}

.staircase-cascade-quote__step:nth-child(2) .staircase-cascade-quote__shadow {
    transform: translate(16px, 16px);
}

.staircase-cascade-quote__step:nth-child(3) .staircase-cascade-quote__shadow {
    transform: translate(32px, 32px);
}

.staircase-cascade-quote__step:nth-child(4) .staircase-cascade-quote__shadow {
    transform: translate(48px, 48px);
}

.staircase-cascade-quote__step:nth-child(5) .staircase-cascade-quote__shadow {
    transform: translate(64px, 64px);
}

.staircase-cascade-quote__step:nth-child(6) .staircase-cascade-quote__shadow {
    transform: translate(80px, 80px);
}

.staircase-cascade-quote__step:nth-child(n + 7) .staircase-cascade-quote__shadow {
    transform: translate(96px, 96px);
}

.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);
}

.stats-media-hover {
  transition: background-color 0.3s ease;
}

.stats-card-hover:hover .stats-media-hover {
  background-color: rgb(191 219 254);
}

.stats-icon-hover {
  transition: color 0.3s ease;
}

.stats-card-hover:hover .stats-icon-hover {
  color: rgb(30 64 175);
}

.stats-value-hover {
  transition: color 0.3s ease;
}

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

.stats__label {
  transition: color 0.3s ease;
}

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

/* Лише 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 {
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 12px, 12px 0, 100% 0, 100% 100%, 0 100%);
}

.socialproof__scan {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    animation: socialproof__scan 3s linear infinite;
    pointer-events: none;
    z-index: 5;
}

@keyframes socialproof__scan {
    0% { top: 0%; }
    100% { top: 100%; }
}

.socialproof__pulse-dot {
    animation: socialproof__dot-pulse 2s ease-in-out infinite;
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

@keyframes socialproof__dot-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.8); }
}

.socialproof__metric {
    position: relative;
    transition: background-color 0.2s ease;
}

.socialproof__metric::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    opacity: 0.5;
}

.socialproof__metric:hover:before {
    opacity: 1;
}

.socialproof__value {
    font-family: 'Courier New', Courier, monospace;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.socialproof__sidebar-bar {
    height: 100%;
    width: 40px;
    clip-path: polygon(0 0, 70% 0, 100% 10%, 100% 90%, 70% 100%, 0 100%);
}


.prompt-beacon__section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

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

.prompt-beacon__sheet--haze { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

