/* ===== PULSE FOR FLOATING BUTTONS ===== */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
.float-btn { animation: pulse 2s infinite; }
.float-btn:hover { animation: none; }

/* ===== HERO WORD ANIMATION ===== */
@keyframes heroFadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    15% { opacity: 1; transform: translateY(0); }
    85% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-20px); }
}
.hero-word {
    display: inline-block;
    animation: heroFadeIn 2.5s ease-in-out infinite;
}
.hero-word.w1 { color: #ffcc00; }
.hero-word.w2 { color: #28a745; }
.hero-word.w3 { color: #8a2be2; }
.hero-word.w4 { color: #ff6b35; }

/* ===== TRACKING PAGE ANIMATIONS ===== */
@keyframes trackPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(26,115,232,0.4); }
    50% { box-shadow: 0 0 0 14px rgba(26,115,232,0); }
}
.track-step.current .track-step-dot { animation: trackPulse 2s ease-in-out infinite; }

@keyframes trackCheckBounce {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); opacity: 1; }
}
.track-step.active .track-step-dot i { animation: trackCheckBounce 0.6s ease-out both; }
.track-step:nth-child(3) .track-step-dot i { animation-delay: 0.1s; }
.track-step:nth-child(5) .track-step-dot i { animation-delay: 0.2s; }
.track-step:nth-child(7) .track-step-dot i { animation-delay: 0.3s; }
.track-step:nth-child(9) .track-step-dot i { animation-delay: 0.4s; }

@keyframes trackFadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
.track-section { animation: trackFadeInUp 0.6s ease-out both; }
.track-section:nth-child(1) { animation-delay: 0s; }
.track-section:nth-child(2) { animation-delay: 0.1s; }
.track-section:nth-child(3) { animation-delay: 0.2s; }
.track-section:nth-child(4) { animation-delay: 0.3s; }
.track-section:nth-child(5) { animation-delay: 0.35s; }
.track-section:nth-child(6) { animation-delay: 0.4s; }
.track-section:nth-child(7) { animation-delay: 0.45s; }
.track-section:nth-child(8) { animation-delay: 0.5s; }

@keyframes trackEtaPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.7; }
}
.track-eta-icon { animation: trackEtaPulse 2s ease-in-out infinite; }

@keyframes trackLineGrow {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}
.track-line.active { transform-origin: left; animation: trackLineGrow 0.6s ease-out both; }
.track-progress-bar .track-line:nth-child(2).active { animation-delay: 0.1s; }
.track-progress-bar .track-line:nth-child(4).active { animation-delay: 0.2s; }
.track-progress-bar .track-line:nth-child(6).active { animation-delay: 0.3s; }
.track-progress-bar .track-line:nth-child(8).active { animation-delay: 0.4s; }
