.ts-card,
.card,
button,
.btn,
a[data-button-premium] {
  box-shadow:
    0 2px 8px rgb(16 185 129 / 10%),
    0 8px 32px rgb(201 162 39 / 10%);
  transition:
    box-shadow 0.18s var(--ease-spring, cubic-bezier(0.34, 1.56, 0.64, 1)),
    transform 0.18s var(--ease-spring, cubic-bezier(0.34, 1.56, 0.64, 1));
}

.ts-card:hover,
.card:hover,
button:hover,
.btn:hover,
a[data-button-premium]:hover {
  transform: translateY(-4px) scale(1.03) perspective(600px) rotateX(2deg);
  box-shadow:
    0 8px 32px rgb(16 185 129 / 18%),
    0 16px 48px rgb(201 162 39 / 18%);
  filter: brightness(1.08) saturate(1.1);
}

.ts-card:active,
.card:active,
button:active,
.btn:active,
a[data-button-premium]:active {
  transform: scale(0.98) perspective(600px) rotateX(0deg);
  box-shadow:
    0 2px 8px rgb(16 185 129 / 10%),
    0 8px 32px rgb(201 162 39 / 10%);
}

@supports (animation-timeline: scroll()) {
  .scroll-fade-in,
  .scroll-scale-in,
  .scroll-slide-left,
  .scroll-slide-right {
    animation-timing-function: var(--ease-spring, cubic-bezier(0.34, 1.56, 0.64, 1));
    animation-duration: 0.6s;
  }
}

button[data-button-premium],
a[data-button-premium] {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

button[data-button-premium]:hover,
a[data-button-premium]:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgb(16 185 129 / 30%);
}

button[data-button-premium]:active,
a[data-button-premium]:active {
  transform: translateY(0);
}

.ripple-effect {
  position: relative;
  overflow: hidden;
}

.ripple-effect::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 30%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.ripple-effect:active::after {
  animation: ripple 0.6s var(--ease-out-quint);
}

@keyframes ripple {
  to {
    width: 300%;
    height: 300%;
    opacity: 0%;
  }
}

.shine-effect {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 30%), transparent);
  pointer-events: none;
}

.btn-glow {
  position: relative;
  background: var(--tiller-bg-card);
  isolation: isolate;
}

.btn-glow::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    90deg,
    var(--tiller-color-emerald),
    var(--tiller-color-gold),
    var(--tiller-color-emerald)
  );
  background-size: 200% 100%;
  border-radius: inherit;
  z-index: -1;
  animation: border-shimmer 3s linear infinite;
}

@keyframes border-shimmer {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 200% 50%;
  }
}

[data-tilt] {
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.4s var(--ease-out-quint);
}

[data-tilt]:hover {
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

[data-tilt] > * {
  transform: translateZ(20px);
}

a[data-link-premium] {
  position: relative;
  text-decoration: none;
  color: var(--tiller-color-emerald, #10b981);
  transition: color 0.3s ease;
}

a[data-link-premium]::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--tiller-color-gold, #c9a227);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

a[data-link-premium]:hover::after {
  width: 100%;
}

a[data-link-premium]:hover {
  color: var(--tiller-color-gold, #c9a227);
}

.link-underline-center {
  position: relative;
  text-decoration: none;
}

.link-underline-center::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: currentcolor;
  transition:
    width 0.3s var(--ease-out-quint),
    left 0.3s var(--ease-out-quint);
}

.link-underline-center:hover::after {
  width: 100%;
  left: 0;
}

.link-highlight {
  position: relative;
  text-decoration: none;
  z-index: 1;
}

.link-highlight::before {
  content: '';
  position: absolute;
  inset: -0.25em -0.5em;
  background: rgb(16 185 129 / 0%);
  border-radius: 4px;
  z-index: -1;
  transition: background 0.3s var(--ease-out-quint);
}

.link-highlight:hover::before {
  background: rgb(16 185 129 / 15%);
}

[data-card-premium] {
  position: relative;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-card-premium]:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgb(16 185 129 / 15%);
}

[data-card-premium]::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgb(16 185 129 / 10%), rgb(201 162 39 / 5%));
  opacity: 0%;
  transition: opacity 0.4s ease;
  pointer-events: none;
  border-radius: inherit;
}

[data-card-premium]:hover::before {
  opacity: 100%;
}

.card-spotlight {
  position: relative;
  overflow: hidden;
}

.card-spotlight::after {
  content: '';
  position: absolute;
  top: var(--mouse-y, 50%);
  left: var(--mouse-x, 50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgb(16 185 129 / 15%) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0%;
  transition: opacity 0.3s ease;
}

.card-spotlight:hover::after {
  opacity: 100%;
}

.card-border-glow {
  position: relative;
  background: var(--tiller-bg-card);
  border-radius: 12px;
  isolation: isolate;
}

.card-border-glow::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(
    135deg,
    rgb(16 185 129 / 50%),
    rgb(201 162 39 / 30%),
    rgb(16 185 129 / 50%)
  );
  background-size: 200% 200%;
  border-radius: inherit;
  z-index: -1;
  opacity: 0%;
  animation: gradient-shift 4s ease infinite;
  transition: opacity 0.4s ease;
}

.card-border-glow:hover::before {
  opacity: 100%;
}

.card-stack {
  position: relative;
  z-index: 1;
}

.card-stack::before,
.card-stack::after {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  border-radius: inherit;
  z-index: -1;
  transition:
    transform 0.4s var(--ease-out-quint),
    opacity 0.4s ease;
}

.card-stack::before {
  transform: translateY(8px) scale(0.95);
  opacity: 50%;
}

.card-stack::after {
  transform: translateY(16px) scale(0.9);
  opacity: 30%;
}

.card-stack:hover::before {
  transform: translateY(12px) scale(0.93);
}

.card-stack:hover::after {
  transform: translateY(24px) scale(0.86);
}

input[type='text'],
input[type='email'],
input[type='tel'],
textarea,
select {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  border-color: rgb(201 162 39 / 30%);
}

input[type='text']:focus,
input[type='email']:focus,
input[type='tel']:focus,
textarea:focus,
select:focus {
  border-color: var(--tiller-color-emerald, #10b981);
  box-shadow: 0 0 0 3px rgb(16 185 129 / 10%);
  outline: none;
}

.input-floating {
  position: relative;
}

.input-floating input,
.input-floating textarea {
  padding-top: 1.5rem;
}

.input-floating label {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  color: var(--tiller-text-muted);
  pointer-events: none;
  transition:
    top 0.25s var(--ease-out-quint),
    font-size 0.25s var(--ease-out-quint),
    color 0.25s ease;
}

.input-floating input:focus + label,
.input-floating input:not(:placeholder-shown) + label,
.input-floating textarea:focus + label,
.input-floating textarea:not(:placeholder-shown) + label {
  top: 0.5rem;
  font-size: 0.75rem;
  color: var(--tiller-color-emerald);
}

@keyframes spin-smooth {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    opacity: 100%;
    box-shadow: 0 0 0 0 rgb(16 185 129 / 70%);
  }

  50% {
    opacity: 80%;
    box-shadow: 0 0 0 10px rgb(16 185 129 / 0%);
  }
}

@keyframes skeleton-shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.skeleton {
  background: linear-gradient(
    90deg,
    var(--tiller-bg-slate) 25%,
    var(--tiller-bg-elevated) 50%,
    var(--tiller-bg-slate) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: 4px;
}

@keyframes dot-bounce {
  0%,
  80%,
  100% {
    transform: scale(0);
  }

  40% {
    transform: scale(1);
  }
}

.dot-loader {
  display: inline-flex;
  gap: 0.25rem;
}

.dot-loader span {
  width: 8px;
  height: 8px;
  background: var(--tiller-color-emerald);
  border-radius: 50%;
  animation: dot-bounce 1.4s infinite ease-in-out both;
}

.dot-loader span:nth-child(1) {
  animation-delay: -0.32s;
}

.dot-loader span:nth-child(2) {
  animation-delay: -0.16s;
}

.dot-loader span:nth-child(3) {
  animation-delay: 0s;
}

@keyframes progress-indeterminate {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(400%);
  }
}

.progress-bar-indeterminate {
  position: relative;
  overflow: hidden;
  height: 4px;
  background: var(--tiller-bg-slate);
  border-radius: 2px;
}

.progress-bar-indeterminate::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 30%;
  background: linear-gradient(90deg, transparent, var(--tiller-color-emerald), transparent);
  animation: progress-indeterminate 1.5s infinite;
}

.spinner {
  animation: spin-smooth 1s linear infinite;
}

.pulse {
  animation: pulse-glow 2s ease-in-out infinite;
}

[data-reveal-text] {
  opacity: 0%;
  transform: translateY(20px);
}

.reveal-visible {
  animation: reveal-text 0.8s ease-out forwards;
}

@keyframes reveal-text {
  to {
    opacity: 100%;
    transform: translateY(0);
  }
}

.text-split-reveal {
  overflow: hidden;
}

.text-split-reveal span {
  display: inline-block;
  opacity: 0%;
  transform: translateY(100%);
  animation: char-reveal 0.6s var(--ease-out-quint) forwards;
}

@keyframes char-reveal {
  to {
    opacity: 100%;
    transform: translateY(0);
  }
}

.typewriter {
  overflow: hidden;
  border-right: 2px solid var(--tiller-color-emerald);
  white-space: nowrap;
  animation:
    typing 3s steps(40, end),
    blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@keyframes blink-caret {
  0%,
  100% {
    border-color: transparent;
  }

  50% {
    border-color: var(--tiller-color-emerald);
  }
}

@keyframes blur-in {
  from {
    opacity: 0%;
    filter: blur(20px);
    transform: scale(1.1);
  }

  to {
    opacity: 100%;
    filter: blur(0);
    transform: scale(1);
  }
}

.text-blur-in {
  animation: blur-in 0.8s var(--ease-out-quint) forwards;
}

.text-shimmer {
  background: linear-gradient(
    90deg,
    var(--tiller-color-emerald) 0%,
    var(--tiller-color-gold) 50%,
    var(--tiller-color-emerald) 100%
  );
  background-size: 200% auto;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: text-shine 3s linear infinite;
}

@keyframes text-shine {
  to {
    background-position: 200% center;
  }
}

[data-parallax-hero] {
  position: relative;
  overflow: hidden;
}

[data-parallax-image] {
  transform: translateZ(0);
  will-change: transform;
}

.parallax-container {
  perspective: 1000px;
  overflow: hidden;
}

.parallax-layer {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.parallax-layer--back {
  transform: translateZ(-200px) scale(1.5);
}

.parallax-layer--mid {
  transform: translateZ(-100px) scale(1.25);
}

.parallax-layer--front {
  transform: translateZ(0);
}

@keyframes morph {
  0%,
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }

  25% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30%;
  }

  50% {
    border-radius: 50% 60% 30% / 30% 40% 70% 50%;
  }

  75% {
    border-radius: 60% 40% 60% 30% / 70% 30% 50% 60%;
  }
}

.morph-blob {
  animation: morph 10s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  25% {
    transform: translateY(-15px) rotate(2deg);
  }

  50% {
    transform: translateY(-8px) rotate(-1deg);
  }

  75% {
    transform: translateY(-20px) rotate(1deg);
  }
}

.float {
  animation: float 6s ease-in-out infinite;
}

@keyframes orbit {
  from {
    transform: rotate(0deg) translateX(20px) rotate(0deg);
  }

  to {
    transform: rotate(360deg) translateX(20px) rotate(-360deg);
  }
}

.orbit {
  animation: orbit 20s linear infinite;
}

.blur-sm {
  backdrop-filter: blur(4px);
}

.blur-md {
  backdrop-filter: blur(8px);
}

.blur-lg {
  backdrop-filter: blur(16px);
}

.blur-xl {
  backdrop-filter: blur(16px);
}

.glass {
  background: rgb(255 255 255 / 10%);
  backdrop-filter: blur(10px);
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 12px;
}

.glass-light {
  background: rgb(255 255 255 / 5%);
  backdrop-filter: blur(8px);
  border: 1px solid rgb(255 255 255 / 10%);
}

.glass-premium {
  background: linear-gradient(135deg, rgb(255 255 255 / 10%) 0%, rgb(255 255 255 / 5%) 100%);
  backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgb(255 255 255 / 15%);
  border-radius: 16px;
  box-shadow:
    0 8px 32px rgb(0 0 0 / 20%),
    inset 0 1px 0 rgb(255 255 255 / 10%);
}

.glass-dark {
  background: rgb(0 0 0 / 40%);
  backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: 12px;
}

.neumorphic {
  background: var(--tiller-bg-stone);
  border-radius: 16px;
  box-shadow:
    8px 8px 16px rgb(0 0 0 / 30%),
    -8px -8px 16px rgb(255 255 255 / 5%);
}

.neumorphic-inset {
  background: var(--tiller-bg-stone);
  border-radius: 16px;
  box-shadow:
    inset 4px 4px 8px rgb(0 0 0 / 30%),
    inset -4px -4px 8px rgb(255 255 255 / 5%);
}

.shadow-sm {
  box-shadow: 0 1px 2px rgb(0 0 0 / 5%);
}

.shadow-md {
  box-shadow: 0 4px 6px rgb(0 0 0 / 10%);
}

.shadow-lg {
  box-shadow: 0 10px 15px rgb(0 0 0 / 15%);
}

.shadow-xl {
  box-shadow: 0 20px 25px rgb(0 0 0 / 20%);
}

.shadow-glow {
  box-shadow: 0 0 20px rgb(16 185 129 / 30%);
}

.shadow-glow-gold {
  box-shadow: 0 0 20px rgb(201 162 39 / 30%);
}

.shadow-elevation-1 {
  box-shadow:
    0 1px 2px rgb(0 0 0 / 30%),
    0 1px 3px 1px rgb(0 0 0 / 15%);
}

.shadow-elevation-2 {
  box-shadow:
    0 1px 2px rgb(0 0 0 / 30%),
    0 2px 6px 2px rgb(0 0 0 / 15%);
}

.shadow-elevation-3 {
  box-shadow:
    0 4px 8px 3px rgb(0 0 0 / 15%),
    0 1px 3px rgb(0 0 0 / 30%);
}

.shadow-elevation-4 {
  box-shadow:
    0 6px 10px 4px rgb(0 0 0 / 15%),
    0 2px 3px rgb(0 0 0 / 30%);
}

.shadow-elevation-5 {
  box-shadow:
    0 8px 12px 6px rgb(0 0 0 / 15%),
    0 4px 4px rgb(0 0 0 / 30%);
}

.shadow-emerald-glow {
  box-shadow:
    0 0 20px rgb(16 185 129 / 30%),
    0 0 60px rgb(16 185 129 / 15%);
}

.shadow-gold-glow {
  box-shadow:
    0 0 20px rgb(201 162 39 / 30%),
    0 0 60px rgb(201 162 39 / 15%);
}

.bloom {
  filter: drop-shadow(0 0 30px rgb(16 185 129 / 40%));
}

.bloom-gold {
  filter: drop-shadow(0 0 30px rgb(201 162 39 / 40%));
}

.neon-emerald {
  text-shadow:
    0 0 5px var(--tiller-color-emerald),
    0 0 10px var(--tiller-color-emerald),
    0 0 20px var(--tiller-color-emerald),
    0 0 40px var(--tiller-color-emerald);
}

.neon-gold {
  text-shadow:
    0 0 5px var(--tiller-color-gold),
    0 0 10px var(--tiller-color-gold),
    0 0 20px var(--tiller-color-gold),
    0 0 40px var(--tiller-color-gold);
}

[data-hover-scale] {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-hover-scale]:hover {
  transform: scale(1.05);
}

.hover-zoom-fade {
  transition:
    transform 0.4s var(--ease-out-quint),
    opacity 0.4s ease;
}

.hover-zoom-fade:hover {
  transform: scale(1.02);
  opacity: 95%;
}

.img-zoom-container {
  overflow: hidden;
  border-radius: inherit;
}

.img-zoom-container img {
  transition: transform 0.6s var(--ease-out-quint);
}

.img-zoom-container:hover img {
  transform: scale(1.08);
}

@keyframes ken-burns {
  0% {
    transform: scale(1) translate(0, 0);
  }

  100% {
    transform: scale(1.15) translate(-2%, -1%);
  }
}

.ken-burns {
  animation: ken-burns 20s ease-out forwards;
}

.text-gradient {
  background: linear-gradient(
    135deg,
    var(--tiller-color-emerald, #10b981) 0%,
    var(--tiller-color-gold, #c9a227) 100%
  );
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-animated {
  background: linear-gradient(
    90deg,
    var(--tiller-color-emerald),
    var(--tiller-color-gold),
    var(--tiller-color-emerald-light),
    var(--tiller-color-gold-light),
    var(--tiller-color-emerald)
  );
  background-size: 300% 100%;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 6s linear infinite;
}

@keyframes fade-in-up {
  from {
    opacity: 0%;
    transform: translateY(40px);
  }

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

@keyframes fade-in-down {
  from {
    opacity: 0%;
    transform: translateY(-40px);
  }

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

@keyframes fade-in-left {
  from {
    opacity: 0%;
    transform: translateX(-40px);
  }

  to {
    opacity: 100%;
    transform: translateX(0);
  }
}

@keyframes fade-in-right {
  from {
    opacity: 0%;
    transform: translateX(40px);
  }

  to {
    opacity: 100%;
    transform: translateX(0);
  }
}

@keyframes scale-in {
  from {
    opacity: 0%;
    transform: scale(0.9);
  }

  to {
    opacity: 100%;
    transform: scale(1);
  }
}

@keyframes scale-in-bounce {
  0% {
    opacity: 0%;
    transform: scale(0.3);
  }

  50% {
    transform: scale(1.05);
  }

  70% {
    transform: scale(0.95);
  }

  100% {
    opacity: 100%;
    transform: scale(1);
  }
}

@keyframes rotate-in {
  from {
    opacity: 0%;
    transform: rotate(-10deg) scale(0.9);
  }

  to {
    opacity: 100%;
    transform: rotate(0) scale(1);
  }
}

@keyframes flip-in-x {
  from {
    opacity: 0%;
    transform: perspective(400px) rotateX(90deg);
  }

  to {
    opacity: 100%;
    transform: perspective(400px) rotateX(0);
  }
}

@keyframes flip-in-y {
  from {
    opacity: 0%;
    transform: perspective(400px) rotateY(90deg);
  }

  to {
    opacity: 100%;
    transform: perspective(400px) rotateY(0);
  }
}

.animate-fade-in-up {
  animation: fade-in-up 0.6s var(--ease-out-quint) forwards;
}

.animate-fade-in-down {
  animation: fade-in-down 0.6s var(--ease-out-quint) forwards;
}

.animate-fade-in-left {
  animation: fade-in-left 0.6s var(--ease-out-quint) forwards;
}

.animate-fade-in-right {
  animation: fade-in-right 0.6s var(--ease-out-quint) forwards;
}

.animate-scale-in {
  animation: scale-in 0.5s var(--ease-out-quint) forwards;
}

.animate-scale-in-bounce {
  animation: scale-in-bounce 0.6s var(--ease-spring) forwards;
}

.animate-rotate-in {
  animation: rotate-in 0.6s var(--ease-out-quint) forwards;
}

.animate-flip-in-x {
  animation: flip-in-x 0.6s var(--ease-out-quint) forwards;
}

.animate-flip-in-y {
  animation: flip-in-y 0.6s var(--ease-out-quint) forwards;
}

.delay-100 {
  animation-delay: 100ms;
}

.delay-200 {
  animation-delay: 200ms;
}

.delay-300 {
  animation-delay: 300ms;
}

.delay-400 {
  animation-delay: 400ms;
}

.delay-500 {
  animation-delay: 500ms;
}

.delay-600 {
  animation-delay: 600ms;
}

.delay-700 {
  animation-delay: 700ms;
}

.delay-800 {
  animation-delay: 800ms;
}

.delay-900 {
  animation-delay: 900ms;
}

.delay-1000 {
  animation-delay: 1000ms;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-4px);
  }

  20%,
  40%,
  60%,
  80% {
    transform: translateX(4px);
  }
}

@keyframes wiggle {
  0%,
  100% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(-3deg);
  }

  75% {
    transform: rotate(3deg);
  }
}

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

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

@keyframes heartbeat {
  0%,
  100% {
    transform: scale(1);
  }

  14% {
    transform: scale(1.15);
  }

  28% {
    transform: scale(1);
  }

  42% {
    transform: scale(1.15);
  }

  70% {
    transform: scale(1);
  }
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.animate-shake {
  animation: shake 0.5s ease-in-out;
}

.animate-wiggle {
  animation: wiggle 1s ease-in-out infinite;
}

.animate-bounce {
  animation: bounce 1s infinite;
}

.animate-heartbeat {
  animation: heartbeat 1.5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.animate-transform {
  will-change: transform;
}

.animate-opacity {
  will-change: opacity;
}

.animate-scroll {
  will-change: scroll-position;
}

.gpu-accelerated {
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

.animate-on-scroll {
  opacity: 0%;
  transform: translateY(30px);
  transition:
    opacity 0.6s var(--ease-out-quint),
    transform 0.6s var(--ease-out-quint);
}

.animate-on-scroll.is-visible {
  opacity: 100%;
  transform: translateY(0);
}

.stagger-children > * {
  opacity: 0%;
  transform: translateY(20px);
  transition:
    opacity 600ms cubic-bezier(0.34, 1.56, 0.64, 1),
    transform 600ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stagger-children.is-visible > *:nth-child(1) {
  transition-delay: 0ms;
}

.stagger-children.is-visible > *:nth-child(2) {
  transition-delay: 100ms;
}

.stagger-children.is-visible > *:nth-child(3) {
  transition-delay: 200ms;
}

.stagger-children.is-visible > *:nth-child(4) {
  transition-delay: 300ms;
}

.stagger-children.is-visible > *:nth-child(5) {
  transition-delay: 400ms;
}

.stagger-children.is-visible > *:nth-child(6) {
  transition-delay: 500ms;
}

.stagger-children.is-visible > *:nth-child(7) {
  transition-delay: 600ms;
}

.stagger-children.is-visible > *:nth-child(8) {
  transition-delay: 700ms;
}

.stagger-children.is-visible > * {
  opacity: 100%;
  transform: translateY(0);
}

.checkbox-animated {
  transition:
    background-color 0.2s ease,
    transform 0.2s var(--ease-spring);
}

.checkbox-animated:checked {
  animation: checkbox-pop 0.3s var(--ease-spring);
}

@keyframes checkbox-pop {
  50% {
    transform: scale(1.15);
  }
}

.icon-btn {
  transition:
    transform 0.2s var(--ease-out-quint),
    color 0.2s ease;
}

.icon-btn:hover {
  transform: scale(1.1);
}

.icon-btn:active {
  transform: scale(0.95);
}

.badge-pulse {
  position: relative;
}

.badge-pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  animation: badge-ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

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

@keyframes checkmark-stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

.checkmark-animated {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: checkmark-stroke 0.4s var(--ease-out-quint) 0.2s forwards;
}

@keyframes confetti-fall {
  0% {
    transform: translateY(-100%) rotate(0deg);
    opacity: 100%;
  }

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

.confetti {
  position: fixed;
  top: -20px;
  animation: confetti-fall 3s ease-in-out forwards;
}

.hover-lift {
  transition:
    transform 0.3s var(--ease-out-quint),
    box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgb(0 0 0 / 15%);
}

.hover-glow {
  transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
  box-shadow:
    0 0 20px rgb(16 185 129 / 40%),
    0 4px 12px rgb(0 0 0 / 10%);
}

.hover-brighten {
  transition: filter 0.3s ease;
}

.hover-brighten:hover {
  filter: brightness(1.1);
}

.hover-saturate {
  filter: saturate(0.8);
  transition: filter 0.4s ease;
}

.hover-saturate:hover {
  filter: saturate(1.2);
}

@keyframes scroll-indicator {
  0% {
    opacity: 100%;
    transform: translateY(0);
  }

  50% {
    opacity: 50%;
    transform: translateY(10px);
  }

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

.scroll-indicator {
  animation: scroll-indicator 2s ease-in-out infinite;
}

.ts-scroll-progress {
  /* Scroll progress indicator */
}

@keyframes btn-pulse {
  0% {
    box-shadow: 0 0 0 0 rgb(16 185 129 / 18%);
  }

  100% {
    box-shadow: 0 0 0 12px rgb(16 185 129 / 4%);
  }
}

[data-magnetic] {
  position: relative;
  transition: transform 0.3s var(--ease-out-quint, cubic-bezier(0.23, 1, 0.32, 1));
  will-change: transform;
  z-index: 2;
}

[data-magnetic]:hover {
  filter: brightness(1.08) saturate(1.1);
}

@keyframes mouse-scroll {
  0% {
    opacity: 0%;
    transform: translateY(0);
  }

  40% {
    opacity: 100%;
  }

  80%,
  100% {
    opacity: 0%;
    transform: translateY(8px);
  }
}

.mouse-scroll-indicator {
  animation: mouse-scroll 2.2s ease infinite;
}

@keyframes btn-pulse {
  0% {
    box-shadow: 0 0 0 0 rgb(16 185 129 / 18%);
  }

  100% {
    box-shadow: 0 0 0 12px rgb(16 185 129 / 4%);
  }
}
