/* SPEEDER ANIMATE */

.anim-title {
  font-size: clamp(22px, 3.5vw, 40px);
  font-weight: 600;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.anim-title.on { opacity: 1; transform: translateY(0); }
.anim-title .anim-line {
  position: absolute; bottom: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, #96b896, rgba(150,186,150,0.1));
}
.anim-title.on .anim-line { animation: lineSlide 1.1s cubic-bezier(0.22,1,0.36,1) 0.7s forwards; }
@keyframes lineSlide { from { width: 0; } to { width: 100%; } }

.anim-type {
  display: inline-block;
  font-size: clamp(14px, 2vw, 20px);
  font-weight: 500;
  color: #96b896;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  opacity: 0;
  vertical-align: bottom;
}
.anim-type.on { opacity: 1; animation: typeIn 2s steps(26) forwards; }
@keyframes typeIn { to { width: 100%; } }

.anim-counter-item {
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.anim-counter-item.on { opacity: 1; transform: translateY(0); }

.anim-card {
  background: rgba(93,109,86,0.07);
  border: 1px solid rgba(93,109,86,0.12);
  border-radius: 14px;
  padding: 24px 18px;
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.anim-card:hover { background: rgba(93,109,86,0.13); border-color: rgba(93,109,86,0.25); }
.anim-card.on { opacity: 1; transform: translateY(0); }
.anim-card:nth-child(1) { transition-delay: 0s; }
.anim-card:nth-child(2) { transition-delay: 0.12s; }
.anim-card:nth-child(3) { transition-delay: 0.24s; }
.anim-card:nth-child(4) { transition-delay: 0.36s; }

.anim-glow {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #96b896, #5D6D56);
  opacity: 0;
  transform: scale(0.75);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.anim-glow.on {
  opacity: 1; transform: scale(1);
  animation: orbPulse 4s ease-in-out infinite;
}
.anim-glow:nth-child(2) { animation-delay: 1.33s; background: radial-gradient(circle at 40% 40%, #A6B58F, #5D6D56); width: 48px; height: 48px; }
.anim-glow:nth-child(3) { animation-delay: 2.66s; background: radial-gradient(circle at 40% 40%, #7a9a78, #48564e); width: 32px; height: 32px; }
@keyframes orbPulse {
  0%,85%,100% { box-shadow: 0 0 4px rgba(150,186,150,0.08), 0 0 8px rgba(93,109,86,0.05); opacity: 0.25; }
  40%,55%      { box-shadow: 0 0 20px rgba(150,186,150,0.5), 0 0 40px rgba(93,109,86,0.2); opacity: 1; }
}

.anim-sep-line {
  width: 1px; height: 48px;
  background: linear-gradient(180deg, transparent, rgba(150,186,150,0.25), transparent);
  opacity: 0;
  transition: opacity 0.6s ease;
}
.anim-sep-line.on { opacity: 1; }

.anim-particle-wrap {
  position: relative; height: 160px;
  background: rgba(10,33,25,0.4);
  border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(93,109,86,0.1);
}
.anim-particle {
  position: absolute; border-radius: 50%; background: #96b896;
  bottom: -10px; opacity: 0;
}
.anim-particle.on {
  animation: dotRise var(--dur, 5s) ease-in-out infinite;
  animation-delay: var(--del, 0s); opacity: 0.5;
}
@keyframes dotRise {
  0%   { transform: translateY(0) scale(0.4); opacity: 0; }
  12%  { opacity: 0.5; }
  88%  { opacity: 0.5; }
  100% { transform: translateY(calc(-160px - 50px)) scale(1.1); opacity: 0; }
}

.anim-slide-line {
  display: inline-block;
  font-size: clamp(13px, 1.8vw, 18px);
  color: #b8ccb4;
  padding-bottom: 10px;
  position: relative;
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.anim-slide-line.on { opacity: 1; transform: translateX(0); }
.anim-slide-line::after {
  content: ''; position: absolute; bottom: 0; left: 0; height: 1px; width: 0;
  background: linear-gradient(90deg, #A6B58F, transparent);
  transition: width 1.2s cubic-bezier(0.22,1,0.36,1) 0.3s;
}
.anim-slide-line.on::after { width: 140px; }

.anim-slide-right {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.anim-slide-right.on { opacity: 1; transform: translateX(0); }

.anim-blur {
  filter: blur(6px);
  opacity: 0;
  transition: filter 0.7s ease, opacity 0.7s ease;
}
.anim-blur.on { filter: blur(0); opacity: 1; }

.anim-scale {
  opacity: 0;
  transform: scale(0.72);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.anim-scale.on { opacity: 1; transform: scale(1); }

.anim-gradient-text {
  background: linear-gradient(90deg, #96b896, #b0bcb4, #5D6D56, #96b896);
  background-size: 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.anim-gradient-text.on {
  opacity: 1;
  animation: gradShift 3s linear infinite;
}
@keyframes gradShift { to { background-position: 200% center; } }
