
[data-reveal] {
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-ready [data-reveal="up"]    { opacity: 0; transform: translateY(55px); }
.js-ready [data-reveal="down"]  { opacity: 0; transform: translateY(-55px); }
.js-ready [data-reveal="left"]  { opacity: 0; transform: translateX(-65px); }
.js-ready [data-reveal="right"] { opacity: 0; transform: translateX(65px); }
.js-ready [data-reveal="scale"] { opacity: 0; transform: scale(0.82); }
.js-ready [data-reveal="fade"]  { opacity: 0; }

.js-ready [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

[data-stagger] > *:nth-child(1) { transition-delay: 0.05s; }
[data-stagger] > *:nth-child(2) { transition-delay: 0.15s; }
[data-stagger] > *:nth-child(3) { transition-delay: 0.25s; }
[data-stagger] > *:nth-child(4) { transition-delay: 0.35s; }
[data-stagger] > *:nth-child(5) { transition-delay: 0.45s; }
[data-stagger] > *:nth-child(6) { transition-delay: 0.55s; }


@keyframes floatUp {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-18px); }
}
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-14px) rotate(2deg); }
  66%       { transform: translateY(-7px) rotate(-1deg); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes spinReverse {
  to { transform: rotate(-360deg); }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(26,86,184,0.45), 0 0 25px rgba(75,191,107,0.2); }
  50%       { box-shadow: 0 0 0 14px rgba(26,86,184,0), 0 0 50px rgba(75,191,107,0.35); }
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.5); opacity: 0.7; }
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes scrollDot {
  0%   { transform: translateY(0); opacity: 1; }
  50%  { transform: translateY(11px); opacity: 0.4; }
  100% { transform: translateY(0); opacity: 1; }
}
@keyframes heroEntrance {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes badgeEntrance {
  from { opacity: 0; transform: translateY(-20px) scale(0.9); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes cardEntrance {
  from { opacity: 0; transform: translateX(30px) scale(0.9); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes ripple {
  to { transform: scale(4.5); opacity: 0; }
}
@keyframes countUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}
@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.5; }
  40%  { transform: translate(25px, -50px) scale(1.15); opacity: 0.8; }
  80%  { transform: translate(-15px, -90px) scale(0.85); opacity: 0.4; }
  100% { transform: translate(8px, -130px) scale(1); opacity: 0; }
}
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge      { animation: badgeEntrance 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both; }
.hero-title      { animation: heroEntrance  0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both; }
.hero-desc       { animation: heroEntrance  0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both; }
.hero-actions    { animation: heroEntrance  0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.65s both; }
.hero-stats      { animation: heroEntrance  0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.8s both; }
.hero-visual     { animation: heroEntrance  0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both; }
.hero-card--1    { animation: cardEntrance  0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 1.0s both; }
.hero-card--2    { animation: cardEntrance  0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 1.2s both; }
.hero-card--3    { animation: cardEntrance  0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 1.4s both; }

.anim-float      { animation: floatUp   5.5s ease-in-out infinite; }
.anim-float-slow { animation: floatSlow 7.5s ease-in-out infinite; }
.anim-pulse      { animation: pulseGlow 3s ease-in-out infinite; }

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--grad-brand);
  pointer-events: none;
  animation: drift 4.5s ease-in-out infinite;
}

.hover-lift {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease;
}
.hover-lift:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.btn-ripple {
  position: relative;
  overflow: hidden;
}
.btn-ripple .ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
  transform: scale(0);
  animation: ripple 0.65s linear;
  pointer-events: none;
}

#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--grad-brand);
  z-index: 9999;
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
  transition: width 0.08s linear;
  box-shadow: 0 0 8px rgba(75, 191, 107, 0.6);
}

.underline-draw { position: relative; display: inline-block; }
.underline-draw::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 3px;
  background: var(--grad-brand);
  border-radius: var(--radius-full);
  transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}
.is-revealed .underline-draw::after,
.underline-draw.is-revealed::after { width: 100%; }

@keyframes fadeInTab {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
