html.ycx-js .ycx-reveal {
  opacity: 0 !important;
  transform: translate3d(0, 44px, 0) scale(0.972) !important;
  transition:
    opacity 980ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 980ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 260ms ease,
    background-color 260ms ease,
    box-shadow 260ms ease;
  transition-delay: var(--ycx-delay, 0ms);
  will-change: opacity, transform;
}

html.ycx-js .ycx-reveal.ycx-reveal-left {
  transform: translate3d(-42px, 0, 0) scale(0.972) !important;
}

html.ycx-js .ycx-reveal.ycx-reveal-right {
  transform: translate3d(42px, 0, 0) scale(0.972) !important;
}

html.ycx-js .ycx-reveal.is-visible {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) scale(1) !important;
}

.ycx-soft-float {
  animation: ycxSoftFloat 8s ease-in-out infinite;
}

.ycx-soft-breathe {
  animation: ycxSoftBreathe 9s ease-in-out infinite;
}

.ycx-card-tilt {
  transform-style: preserve-3d;
}

.ycx-card-tilt:hover {
  box-shadow: 0 24px 70px rgba(22, 143, 227, 0.18), 0 12px 42px rgba(0, 0, 0, 0.24);
}

.ycx-counting {
  font-variant-numeric: tabular-nums;
}

#top > .absolute.inset-0:first-child {
  transform-origin: 50% 38%;
  animation: ycxHeroDrift 12s ease-in-out infinite;
}

#growth [class*="rounded-"][class*="border"],
#proof [class*="rounded-"][class*="border"],
#services a[class*="rounded-"],
#services [class*="rounded-"][class*="border"] {
  animation: ycxModuleFloat 7.5s ease-in-out infinite;
}

#growth [class*="rounded-"][class*="border"]:nth-child(2n),
#proof [class*="rounded-"][class*="border"]:nth-child(2n),
#services a[class*="rounded-"]:nth-child(2n),
#services [class*="rounded-"][class*="border"]:nth-child(2n) {
  animation-delay: -2.4s;
}

#growth [class*="rounded-"][class*="border"]:nth-child(3n),
#proof [class*="rounded-"][class*="border"]:nth-child(3n),
#services a[class*="rounded-"]:nth-child(3n),
#services [class*="rounded-"][class*="border"]:nth-child(3n) {
  animation-delay: -4.8s;
}

.ycx-growth-stack {
  position: absolute;
  isolation: isolate;
  overflow: hidden;
  animation:
    ycxStackFloat 3.8s ease-in-out infinite,
    ycxStackGlow 2.8s ease-in-out infinite;
  box-shadow:
    0 30px 100px rgba(22, 143, 227, 0.24),
    0 12px 46px rgba(0, 0, 0, 0.32);
}

.ycx-growth-stack::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(circle at 18% 12%, rgba(98, 229, 240, 0.22), transparent 36%),
    radial-gradient(circle at 82% 18%, rgba(245, 154, 35, 0.20), transparent 34%);
  opacity: 0.88;
  pointer-events: none;
}

.ycx-growth-stack::after {
  content: "";
  position: absolute;
  inset: -40% -70%;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.16) 48%, transparent 60%);
  opacity: 0.62;
  pointer-events: none;
  transform: translate3d(-34%, 0, 0) rotate(8deg);
  animation: ycxStackSweep 7.2s ease-in-out infinite;
}

.ycx-stack-title {
  letter-spacing: 0.08em;
}

.ycx-stack-live {
  position: relative;
  text-shadow: 0 0 18px rgba(245, 154, 35, 0.72);
  animation: ycxLivePulse 1s ease-in-out infinite;
}

.ycx-stack-live::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #f59a23;
  box-shadow: 0 0 14px rgba(245, 154, 35, 0.8);
  transform: translateY(-50%);
}

.ycx-stack-row {
  opacity: 0;
  transform: translate3d(24px, 16px, 0) scale(0.965);
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 280ms ease,
    background-color 280ms ease,
    box-shadow 280ms ease;
  transition-delay: var(--ycx-stack-delay, 0ms);
}

.ycx-stack-row.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.ycx-growth-stack .ycx-stack-row {
  animation: ycxStackRowPulse 3.2s ease-in-out infinite;
  animation-delay: var(--ycx-stack-delay, 0ms);
}

.ycx-stack-row:hover {
  border-color: rgba(98, 229, 240, 0.32);
  background: rgba(255, 255, 255, 0.095);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035), 0 12px 28px rgba(22, 143, 227, 0.16);
}

.ycx-stack-bar {
  width: 24%;
  min-width: 24%;
  transform-origin: left center;
  background-size: 220% 100%;
  animation:
    ycxStackBar 2.6s ease-in-out infinite,
    ycxBarShimmer 1.6s linear infinite;
  animation-delay: var(--ycx-bar-delay, 0ms);
}

@media (max-width: 767px) {
  footer {
    width: min(1180px, calc(100% - 18px)) !important;
    border-radius: 1.55rem !important;
    margin-bottom: 12px !important;
  }

  footer > div:nth-of-type(2) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    padding: 22px 16px !important;
  }

  footer > div:nth-of-type(2) > div {
    min-width: 0;
  }

  footer > div:nth-of-type(2) > div:first-child {
    grid-column: 1 / -1;
  }

  footer > div:nth-of-type(2) > div:first-child a span span:first-child {
    height: 56px !important;
    width: 178px !important;
  }

  footer > div:nth-of-type(2) > div:first-child p {
    margin-top: 14px !important;
    max-width: none !important;
    font-size: 0.82rem !important;
    line-height: 1.8 !important;
  }

  footer > div:nth-of-type(2) > div:first-child > div {
    margin-top: 14px !important;
    gap: 6px !important;
  }

  footer > div:nth-of-type(2) > div:nth-child(n+2) {
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 18px;
    background: rgba(6, 19, 33, 0.48);
    padding: 14px;
    backdrop-filter: blur(18px);
  }

  footer > div:nth-of-type(2) > div:nth-child(2) {
    grid-column: 1 / -1;
  }

  footer > div:nth-of-type(2) > div:nth-child(n+2) h3 {
    font-size: 0.82rem !important;
    line-height: 1.2 !important;
  }

  footer > div:nth-of-type(2) > div:nth-child(n+2) > div {
    display: grid !important;
    gap: 8px !important;
    margin-top: 12px !important;
    color: rgba(255, 255, 255, 0.74) !important;
  }

  footer > div:nth-of-type(2) > div:nth-child(n+2) > div > * {
    margin-top: 0 !important;
  }

  footer > div:nth-of-type(2) > div:nth-child(2) > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  footer > div:nth-of-type(2) > div:nth-child(n+3) > div {
    grid-template-columns: 1fr;
  }

  footer > div:nth-of-type(2) > div:nth-child(n+2) a {
    display: flex !important;
    min-height: 42px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.055);
    padding: 9px 10px;
    font-size: 0.78rem !important;
    line-height: 1.28 !important;
    word-break: keep-all;
  }

  footer > div:nth-of-type(3) {
    padding: 18px 16px !important;
  }
}

@keyframes ycxSoftFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -10px, 0);
  }
}

@keyframes ycxSoftBreathe {
  0%, 100% {
    opacity: 0.14;
    transform: scale(1);
  }
  50% {
    opacity: 0.22;
    transform: scale(1.025);
  }
}

@keyframes ycxHeroDrift {
  0%, 100% {
    transform: scale(1) translate3d(0, 0, 0);
    filter: saturate(1) brightness(1);
  }
  50% {
    transform: scale(1.045) translate3d(-1.2%, -1.8%, 0);
    filter: saturate(1.12) brightness(1.06);
  }
}

@keyframes ycxModuleFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0);
    box-shadow: 0 0 0 rgba(22, 143, 227, 0);
  }
  50% {
    transform: translate3d(0, -8px, 0);
    box-shadow: 0 18px 46px rgba(22, 143, 227, 0.14);
  }
}

@keyframes ycxStackFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -22px, 0);
  }
}

@keyframes ycxStackGlow {
  0%, 100% {
    box-shadow:
      0 24px 82px rgba(22, 143, 227, 0.18),
      0 12px 46px rgba(0, 0, 0, 0.32);
  }
  50% {
    box-shadow:
      0 34px 116px rgba(98, 229, 240, 0.32),
      0 0 42px rgba(245, 154, 35, 0.16),
      0 12px 46px rgba(0, 0, 0, 0.32);
  }
}

@keyframes ycxStackSweep {
  0%, 46% {
    transform: translate3d(-36%, 0, 0) rotate(8deg);
  }
  76%, 100% {
    transform: translate3d(36%, 0, 0) rotate(8deg);
  }
}

@keyframes ycxLivePulse {
  0%, 100% {
    opacity: 0.72;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes ycxStackRowPulse {
  0%, 100% {
    border-color: rgba(255, 255, 255, 0.10);
    background-color: rgba(255, 255, 255, 0.06);
  }
  50% {
    border-color: rgba(98, 229, 240, 0.28);
    background-color: rgba(255, 255, 255, 0.10);
  }
}

@keyframes ycxStackBar {
  0%, 100% {
    width: 18%;
    filter: saturate(1);
  }
  50% {
    width: var(--ycx-bar-max, 94%);
    filter: saturate(1.55) brightness(1.12);
  }
}

@keyframes ycxBarShimmer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 220% 50%;
  }
}
