/* =============================================
   NEXUS FITNESS — ANIMATIONS
   animations.css
   ============================================= */

/* ── Preloader ── */
@keyframes loaderBar {
  0% {
    width: 0%;
  }

  30% {
    width: 40%;
  }

  70% {
    width: 75%;
  }

  100% {
    width: 100%;
  }
}

@keyframes barbellLift {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-12px);
  }
}

/* ── Hero Text Reveal ── */
@keyframes textReveal {
  from {
    opacity: 0;
    transform: translateY(30px);
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}

/* ── Float Badge ── */
@keyframes floatBadge {

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

  50% {
    transform: translateY(-12px);
  }
}

/* ── Glow Pulse ── */
@keyframes glowPulse {

  0%,
  100% {
    box-shadow: 0 0 20px var(--glow);
  }

  50% {
    box-shadow: 0 0 40px var(--glow), 0 0 80px var(--glow);
  }
}

/* ── Marquee Scroll ── */
@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ── Glitch Effect ── */
@keyframes glitchEffect {
  0% {
    clip-path: polygon(0 0, 100% 0, 100% 10%, 0 10%);
    transform: translate(-3px, 0);
    color: #FF3D00;
  }

  10% {
    clip-path: polygon(0 30%, 100% 30%, 100% 40%, 0 40%);
    transform: translate(3px, 0);
    color: #00D4FF;
  }

  20% {
    clip-path: polygon(0 60%, 100% 60%, 100% 70%, 0 70%);
    transform: translate(-3px, 0);
    color: #FF3D00;
  }

  30% {
    clip-path: polygon(0 80%, 100% 80%, 100% 90%, 0 90%);
    transform: translate(3px, 0);
  }

  40% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transform: translate(0);
  }

  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transform: translate(0);
  }
}

/* ── Dumbbell Float ── */
@keyframes dumbellFloat {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  25% {
    transform: translateY(-20px) rotate(5deg);
  }

  75% {
    transform: translateY(-10px) rotate(-5deg);
  }

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

/* ── Navbar Slide ── */
@keyframes navbarSlide {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Shake Card (Login Error) ── */
@keyframes shakeCard {

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

  15% {
    transform: translateX(-10px);
  }

  30% {
    transform: translateX(10px);
  }

  45% {
    transform: translateX(-8px);
  }

  60% {
    transform: translateX(8px);
  }

  75% {
    transform: translateX(-5px);
  }

  90% {
    transform: translateX(5px);
  }
}

.shake-animation {
  animation: shakeCard 0.5s ease;
}

/* ── Strength Bar ── */
@keyframes strengthBar {
  from {
    width: 0%;
  }

  to {
    width: var(--target-width);
  }
}

/* ── Order Success ── */
@keyframes orderSuccess {
  0% {
    transform: scale(0) rotate(-180deg);
    opacity: 0;
  }

  60% {
    transform: scale(1.2) rotate(10deg);
  }

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

.order-success-icon {
  display: inline-block;
  animation: orderSuccess 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* ── Toast Slide ── */
@keyframes toastSlide {
  from {
    transform: translateX(120%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes toastFadeOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }

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

.toast-fade-out {
  animation: toastFadeOut 0.3s ease forwards;
}

/* ── Counter Number ── */
@keyframes counterReveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Spinner ── */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ── Fade In Up ── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Scale In ── */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.85);
  }

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

/* ── Slide In Right ── */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ── Slide In Left ── */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ── Pulse Ring ── */
@keyframes pulseRing {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }

  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.pulse-ring {
  position: relative;
}

.pulse-ring::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent-primary);
  animation: pulseRing 2s ease-out infinite;
}

/* ── Gradient Shift ── */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

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

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

/* ── Border Trace ── */
@keyframes borderTrace {
  0% {
    clip-path: polygon(0 0, 0 0, 0 0, 0 0);
  }

  25% {
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  }

  50% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  75% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}

/* ── Stagger Animation Classes ── */
.animate-delay-1 {
  animation-delay: 0.1s;
}

.animate-delay-2 {
  animation-delay: 0.2s;
}

.animate-delay-3 {
  animation-delay: 0.3s;
}

.animate-delay-4 {
  animation-delay: 0.4s;
}

.animate-delay-5 {
  animation-delay: 0.5s;
}

/* ── Hover Lift ── */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* ── Glow Button ── */
.glow-btn {
  animation: glowPulse 2s ease-in-out infinite;
}

/* ── AOS Custom Overrides ── */
[data-aos="nexus-fade-up"] {
  opacity: 0;
  transform: translateY(40px);
  transition-property: opacity, transform;
}

[data-aos="nexus-fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* ── 404 Glitch ── */
.glitch-text {
  position: relative;
  font-family: var(--font-heading);
  font-size: clamp(8rem, 25vw, 20rem);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
}

.glitch-text::before {
  color: var(--accent-primary);
  animation: glitchEffect 2s infinite linear alternate-reverse;
}

.glitch-text::after {
  color: #00D4FF;
  animation: glitchEffect 3s infinite linear alternate;
}

/* ── Step Circle ── */
.step-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 61, 0, 0.1);
  border: 2px solid var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--accent-primary);
  margin: 0 auto 1.5rem;
  position: relative;
  transition: all var(--transition);
}

.step-circle:hover {
  background: var(--accent-primary);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 0 30px var(--glow);
}

/* ── Transformation Result Slider ── */
.result-slide {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.result-slide-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.result-label {
  position: absolute;
  top: 1rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
}

.result-label.before {
  left: 1rem;
  background: rgba(0, 0, 0, 0.7);
  color: var(--text-secondary);
}

.result-label.after {
  left: calc(50% + 0.5rem);
  background: var(--accent-primary);
  color: #fff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 61, 0, 0.2);
  border-radius: 4px;
  min-width: 80px;
  text-align: center;
}

/* Slide container */
.result-slide {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
}

/* Image wrapper */
.result-slide-inner {
  position: relative;
  display: flex;
  overflow: hidden;
}

/* Image hover zoom */
.result-slide-inner img {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.result-slide:hover .result-slide-inner img {
  transform: scale(1.05);
}

/* Overlay on hover */
.result-slide-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      transparent 50%,
      rgba(255, 61, 0, 0.08) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.result-slide:hover .result-slide-inner::after {
  opacity: 1;
}

/* Divider line between before/after */
.result-slide-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  background: rgba(255, 61, 0, 0.4);
  z-index: 2;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.result-slide:hover .result-slide-inner::before {
  transform: scaleY(1);
}

/* Labels base */
.result-label {
  position: absolute;
  top: 1rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  z-index: 3;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.result-label.before {
  left: 1rem;
  background: rgba(0, 0, 0, 0.65);
  color: var(--text-secondary);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.result-label.after {
  left: calc(50% + 1rem);
  background: var(--accent-primary);
  color: #fff;
  border: 1px solid rgba(255, 61, 0, 0.3);
}

/* Label hover states */
.result-slide:hover .result-label.before {
  background: rgba(0, 0, 0, 0.85);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  transform: translateY(-2px);
}

.result-slide:hover .result-label.after {
  background: var(--accent-primary);
  box-shadow: 0 4px 20px rgba(255, 61, 0, 0.5);
  border-radius: 8px;
  transform: translateY(-2px);
}

/* Bottom info hover */
.result-slide>div:last-child {
  transition: background 0.3s ease;
}

.result-slide:hover>div:last-child {
  background: #1f1f1f !important;
}

/* Swiper buttons */
.results-prev,
.results-next {
  color: var(--accent-primary) !important;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.results-prev:hover,
.results-next:hover {
  transform: scale(1.2);
  opacity: 1 !important;
}

.results-prev::after,
.results-next::after {
  font-size: 1.2rem !important;
}

/* ── Password Strength ── */
.password-strength-bar {
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  overflow: hidden;
  margin-top: 0.5rem;
}

.password-strength-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.3s ease, background 0.3s ease;
  width: 0%;
}

.password-strength-fill.weak {
  background: var(--danger);
  width: 33%;
}

.password-strength-fill.fair {
  background: var(--warning);
  width: 66%;
}

.password-strength-fill.strong {
  background: var(--success);
  width: 100%;
}

.password-strength-label {
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.password-strength-label.weak {
  color: var(--danger);
}

.password-strength-label.fair {
  color: var(--warning);
}

.password-strength-label.strong {
  color: var(--success);
}

/* ── Profile Avatar ── */
@keyframes avatarAppear {
  from {
    transform: scale(0);
    opacity: 0;
  }

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

.profile-avatar {
  animation: avatarAppear 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Checkout Progress ── */
.checkout-progress .step {
  position: relative;
}

.checkout-progress .step::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  height: 2px;
  width: 100%;
  background: var(--border);
  transform: translateY(-50%);
}

.checkout-progress .step.completed::after {
  background: var(--accent-primary);
}

.checkout-progress .step:last-child::after {
  display: none;
}

/* ── Loading Dots ── */
@keyframes loadingDot {

  0%,
  80%,
  100% {
    transform: scale(0);
    opacity: 0;
  }

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

.loading-dots span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-primary);
  margin: 0 3px;
  animation: loadingDot 1.4s infinite ease-in-out both;
}

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

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

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

/* ── Image Reveal ── */
@keyframes imageReveal {
  from {
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  }

  to {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}

.image-reveal {
  animation: imageReveal 1s cubic-bezier(0.77, 0, 0.18, 1) forwards;
}

/* ── Floating Elements (404) ── */
.floating-dumbbell {
  display: inline-block;
  font-size: 3rem;
  animation: dumbellFloat 3s ease-in-out infinite;
}

.floating-dumbbell:nth-child(2) {
  animation-delay: 0.5s;
  animation-duration: 3.5s;
}

.floating-dumbbell:nth-child(3) {
  animation-delay: 1s;
  animation-duration: 4s;
}

/* ══════════════════════════════════════
   EXTRA ANIMATIONS v2
   ══════════════════════════════════════ */

/* Cart badge bounce */
@keyframes badgeBounce {
  0% {
    transform: scale(1);
  }

  30% {
    transform: scale(1.5);
  }

  60% {
    transform: scale(0.9);
  }

  80% {
    transform: scale(1.15);
  }

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

.badge-bounce {
  animation: badgeBounce 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Spin for loaders */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Reveal scroll animations */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed,
.reveal-scale.revealed {
  opacity: 1;
  transform: none;
}

/* Toast improvements */
.toast-custom {
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast-custom.toast-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.toast-custom.toast-fade-out {
  opacity: 0;
  transform: translateY(-8px) scale(0.95);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.toast-close {
  background: transparent;
  border: none;
  color: inherit;
  opacity: 0.6;
  cursor: pointer;
  margin-left: auto;
  padding: 0 0 0 0.5rem;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.toast-close:hover {
  opacity: 1;
}

/* Add to cart button pulse */
@keyframes addedPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.6);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(var(--accent-rgb), 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0);
  }
}

.btn-added-pulse {
  animation: addedPulse 0.6s ease;
}

/* Hero content entrance */
.hero-content {
  animation: heroEntrance 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

@keyframes heroEntrance {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Floating stats entrance */
.hero-stats {
  animation: heroEntrance 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

/* Product card hover lift */
.product-card {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease !important;
}

.product-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(var(--accent-rgb), 0.12) !important;
}

/* Trainer card hover */
.trainer-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.trainer-card:hover {
  transform: translateY(-8px) scale(1.01) !important;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5) !important;
}

/* Section title accent underline animation */
.section-title span {
  position: relative;
}

.section-title span::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--accent-primary);
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-aos].aos-animate .section-title span::after {
  width: 100%;
}

/* Marquee pause on hover */
.marquee-section:hover .marquee-track {
  animation-play-state: paused;
}

/* Loader auth btn */
.btn-auth-submit .btn-auth-loader {
  display: inline-block;
  animation: spin 0.6s linear infinite;
}

/* Auth card shake */
@keyframes shakeAnim {

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

  20% {
    transform: translateX(-10px);
  }

  40% {
    transform: translateX(10px);
  }

  60% {
    transform: translateX(-6px);
  }

  80% {
    transform: translateX(6px);
  }
}

.shake-animation {
  animation: shakeAnim 0.45s ease;
}


/* =============================================
   NEXUS FITNESS — ANIMATIONS.CSS  v4.0 FINAL
   Pure CSS Only — No JS Required
   Navbar → Hero → Marquee → Features →
   Results → Programs → BMI → Trainers →
   Products → Pricing → Testimonials →
   FAQ → CTA → Footer
   ============================================= */


/* ═══════════════════════════════════════════════
   SECTION 0 — ALL KEYFRAME DEFINITIONS
═══════════════════════════════════════════════ */

/* --- Fade variants --- */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(48px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-56px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(56px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* --- Scale variants --- */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.82);
  }

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

@keyframes scaleInBounce {
  0% {
    opacity: 0;
    transform: scale(0.4);
  }

  65% {
    transform: scale(1.12);
  }

  82% {
    transform: scale(0.95);
  }

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

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0) rotate(-15deg);
  }

  70% {
    transform: scale(1.15) rotate(4deg);
  }

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

/* --- Text effects --- */
@keyframes textReveal {
  from {
    opacity: 0;
    transform: translateY(36px) skewY(4deg);
  }

  to {
    opacity: 1;
    transform: translateY(0) skewY(0deg);
  }
}

@keyframes letterSpacingExpand {
  from {
    letter-spacing: -0.1em;
    opacity: 0;
  }

  to {
    letter-spacing: 0.2em;
    opacity: 1;
  }
}

@keyframes clipRevealRight {
  from {
    clip-path: inset(0 100% 0 0);
  }

  to {
    clip-path: inset(0 0% 0 0);
  }
}

@keyframes underlineDraw {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

/* --- Slide variants --- */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-80px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(80px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(60px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Looping / ambient --- */
@keyframes floatY {

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

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

@keyframes floatYSlow {

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

  50% {
    transform: translateY(-6px);
  }
}

@keyframes floatRotate {

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

  33% {
    transform: translateY(-8px) rotate(2deg);
  }

  66% {
    transform: translateY(-4px) rotate(-2deg);
  }
}

@keyframes breathe {

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

  50% {
    transform: scale(1.12);
    opacity: 0.12;
  }
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes scanlineScroll {
  0% {
    background-position: 0 0;
  }

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

@keyframes rotateSpin {
  from {
    transform: rotate(0deg);
  }

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

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* --- Glow / pulse --- */
@keyframes glowPulse {

  0%,
  100% {
    box-shadow: 0 0 18px rgba(255, 61, 0, 0.35), 0 0 40px transparent;
  }

  50% {
    box-shadow: 0 0 32px rgba(255, 61, 0, 0.7), 0 0 64px rgba(255, 61, 0, 0.2);
  }
}

@keyframes glowPulseBorder {

  0%,
  100% {
    border-color: rgba(255, 61, 0, 0.3);
    box-shadow: none;
  }

  50% {
    border-color: rgba(255, 61, 0, 0.9);
    box-shadow: 0 0 24px rgba(255, 61, 0, 0.3);
  }
}

@keyframes accentPulseWidth {

  0%,
  100% {
    width: 24px;
    opacity: 0.5;
  }

  50% {
    width: 60px;
    opacity: 1;
  }
}

@keyframes badgeBounce {
  0% {
    transform: scale(1);
  }

  28% {
    transform: scale(1.55);
  }

  55% {
    transform: scale(0.88);
  }

  80% {
    transform: scale(1.18);
  }

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

@keyframes ripple {
  from {
    transform: scale(0);
    opacity: 0.5;
  }

  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* --- Preloader --- */
@keyframes loaderBar {
  0% {
    width: 0%;
  }

  55% {
    width: 72%;
  }

  100% {
    width: 100%;
  }
}

@keyframes barbellLift {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-14px);
  }
}

/* --- Toast / Modal --- */
@keyframes toastSlide {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.94);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes slideUpModal {
  from {
    opacity: 0;
    transform: translateY(32px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shakeX {

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

  18% {
    transform: translateX(-10px);
  }

  36% {
    transform: translateX(10px);
  }

  54% {
    transform: translateX(-7px);
  }

  72% {
    transform: translateX(7px);
  }

  90% {
    transform: translateX(-3px);
  }
}

/* --- Misc --- */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

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

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

@keyframes iconBounce {

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

  35% {
    transform: translateY(-9px);
  }

  60% {
    transform: translateY(-4px);
  }
}

@keyframes cardFlicker {

  0%,
  100% {
    border-color: rgba(255, 61, 0, 0.08);
  }

  50% {
    border-color: rgba(255, 61, 0, 0.22);
  }
}

@keyframes accentBarGrow {
  from {
    transform: scaleX(0);
    transform-origin: left;
  }

  to {
    transform: scaleX(1);
    transform-origin: left;
  }
}

@keyframes counterDrop {
  from {
    opacity: 0;
    transform: translateY(-22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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


/* ═══════════════════════════════════════════════
   SECTION 1 — PAGE BASE
═══════════════════════════════════════════════ */

html {
  scroll-behavior: smooth;
}

body {
  animation: fadeIn 0.35s ease both;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
  transition: background 0.3s;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}


/* ═══════════════════════════════════════════════
   SECTION 2 — PRELOADER
═══════════════════════════════════════════════ */

#preloader {
  animation: fadeIn 0.3s ease both;
}

.preloader-logo {
  animation: scaleInBounce 0.65s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.preloader-logo span {
  display: inline-block;
  animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.15s both;
}

.preloader-barbell {
  animation: barbellLift 0.85s ease-in-out infinite alternate;
}

.barbell-plate:first-child {
  animation: scaleIn 0.4s ease 0.1s both;
}

.barbell-plate:last-child {
  animation: scaleIn 0.4s ease 0.2s both;
}

.barbell-bar {
  animation: fadeIn 0.3s ease 0.05s both;
}

.preloader-progress {
  animation: loaderBar 1.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  box-shadow: 0 0 14px var(--glow);
}


/* ═══════════════════════════════════════════════
   SECTION 3 — NAVBAR
═══════════════════════════════════════════════ */

.navbar {
  animation: slideDown 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Brand */
.navbar-brand {
  animation: fadeInLeft 0.5s ease 0.2s both;
  display: inline-block;
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    color 0.25s ease;
}

.navbar-brand:hover {
  transform: scale(1.07);
}

.navbar-brand span {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.25s ease;
}

.navbar-brand:hover span {
  transform: rotate(-6deg) scale(1.15);
  color: var(--accent-secondary);
}

/* Nav items — stagger */
.navbar-nav .nav-item:nth-child(1) {
  animation: fadeInDown 0.45s ease 0.30s both;
}

.navbar-nav .nav-item:nth-child(2) {
  animation: fadeInDown 0.45s ease 0.38s both;
}

.navbar-nav .nav-item:nth-child(3) {
  animation: fadeInDown 0.45s ease 0.46s both;
}

.navbar-nav .nav-item:nth-child(4) {
  animation: fadeInDown 0.45s ease 0.54s both;
}

.navbar-nav .nav-item:nth-child(5) {
  animation: fadeInDown 0.45s ease 0.62s both;
}

/* Nav link underline draw on hover */
.navbar-nav .nav-link {
  position: relative;
  transition: color 0.25s ease;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0.75rem;
  right: 0.75rem;
  height: 2px;
  background: var(--accent-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 1px;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Nav extras */
.nav-extras {
  animation: fadeInRight 0.5s ease 0.5s both;
}

/* Theme buttons */
.theme-btn {
  transition:
    transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.theme-btn:hover {
  transform: scale(1.35) rotate(20deg);
  box-shadow: 0 0 10px currentColor;
}

.theme-btn.active {
  transform: scale(1.25) rotate(10deg);
  border-color: var(--text-primary) !important;
}

/* Cart button */
.nav-cart-btn {
  transition:
    transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 0.25s ease,
    background 0.25s ease;
}

.nav-cart-btn:hover {
  transform: scale(1.14) rotate(-8deg);
  border-color: var(--accent-primary);
  background: rgba(255, 61, 0, 0.1);
}

.nav-cart-btn:active {
  transform: scale(0.9);
}

/* Badge bounce */
.cart-count-badge {
  transition: transform 0.2s ease;
}

.badge-bounce {
  animation: badgeBounce 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Auth buttons */
.btn-nav-login {
  transition: all 0.25s ease;
  position: relative;
}

.btn-nav-login:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-2px);
}

.btn-nav-register {
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.btn-nav-register::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}

.btn-nav-register:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 61, 0, 0.4);
}

.btn-nav-register:hover::before {
  opacity: 1;
}

.btn-nav-register:active {
  transform: scale(0.96);
}

/* Dropdown items */
.dropdown-item {
  transition: all 0.2s ease !important;
}

.dropdown-item:hover {
  transform: translateX(6px);
  color: var(--accent-primary) !important;
  background: transparent !important;
}

/* Close drawer button */
.btn-close-drawer {
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-close-drawer:hover {
  transform: rotate(90deg) scale(1.15);
  border-color: var(--danger);
  color: var(--danger);
}


/* ═══════════════════════════════════════════════
   SECTION 4 — HERO
═══════════════════════════════════════════════ */

/* Hero content — big entrance */
.hero-content {
  animation: slideInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

/* Eyebrow */
.hero-eyebrow {
  animation: fadeInLeft 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

.hero-eyebrow::before {
  display: inline-block;
  animation: accentBarGrow 0.6s ease 0.8s both;
  transition: width 0.4s ease;
}

.hero-eyebrow:hover::before {
  width: 72px;
}

/* Hero title lines */
.hero-title .solid {
  display: block;
  animation: textReveal 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.hero-title .accent {
  display: block;
  animation: textReveal 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

/* Subtitle */
.hero-subtitle {
  animation: fadeInUp 0.65s ease 0.8s both;
}

/* CTA row */
.hero-ctas {
  animation: fadeInUp 0.65s ease 1.0s both;
}

/* CTA Primary button */
.btn-primary-accent {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.28s ease,
    background 0.25s ease;
}

.btn-primary-accent::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.45s ease, height 0.45s ease, opacity 0.45s ease;
  opacity: 0;
}

.btn-primary-accent:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 40px var(--glow);
}

.btn-primary-accent:active::after {
  width: 300px;
  height: 300px;
  opacity: 0;
}

.btn-primary-accent:active {
  transform: translateY(0) scale(0.97);
}

/* Glow button pulse loop */
.glow-btn {
  animation: glowPulse 2.5s ease-in-out infinite;
}

/* CTA Outline button */
.btn-outline-accent {
  position: relative;
  overflow: hidden;
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-outline-accent:hover {
  transform: translateY(-3px);
  border-color: var(--accent-primary) !important;
  color: var(--accent-primary) !important;
}

.btn-outline-accent:active {
  transform: scale(0.97);
}

/* Floating stat badges */
.hero-stats {
  animation: fadeInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.15s both;
}

.stat-badge {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.stat-badge:nth-child(1) {
  animation: floatY 3.2s ease-in-out 0.0s infinite;
}

.stat-badge:nth-child(2) {
  animation: floatY 3.2s ease-in-out 0.7s infinite;
}

.stat-badge:nth-child(3) {
  animation: floatY 3.2s ease-in-out 1.4s infinite;
}

.stat-badge:hover {
  transform: translateY(-6px) scale(1.06) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 16px rgba(255, 61, 0, 0.2);
}

.stat-badge-number {
  animation: counterDrop 0.5s ease both;
  display: block;
}

/* Hero video toggle */
.hero-video-toggle {
  transition:
    transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.25s ease,
    border-color 0.25s ease;
}

.hero-video-toggle:hover {
  transform: scale(1.18) rotate(12deg);
  background: rgba(255, 61, 0, 0.5);
  border-color: rgba(255, 61, 0, 0.7);
}

.hero-video-toggle:active {
  transform: scale(0.88);
}

/* Video scanlines loop */
.hero-video-scanlines {
  animation: scanlineScroll 8s linear infinite;
}

/* Grid overlay */
.hero-grid-overlay {
  animation: fadeIn 2.5s ease 0.5s both;
}

/* Ambient radial BG breathe */
.hero-bg {
  animation: breathe 6s ease-in-out infinite;
}


/* ═══════════════════════════════════════════════
   SECTION 5 — MARQUEE STRIP
═══════════════════════════════════════════════ */

.marquee-section {
  animation: fadeIn 0.6s ease 1.4s both;
  overflow: hidden;
}

.marquee-track {
  animation: marqueeScroll 22s linear infinite;
  will-change: transform;
}

.marquee-section:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  transition: color 0.22s ease, letter-spacing 0.3s ease;
  cursor: default;
}

.marquee-item:hover {
  color: #fff;
  letter-spacing: 0.18em;
}


/* ═══════════════════════════════════════════════
   SECTION 6 — SECTION LABELS & TITLES
═══════════════════════════════════════════════ */

.section-label {
  display: block;
  overflow: hidden;
  transition: letter-spacing 0.35s ease;
}

.section-label:hover {
  letter-spacing: 0.28em;
}

/* Accent underline on section-title span — draws on scroll (AOS) */
.section-title span {
  position: relative;
  display: inline-block;
}

.section-title span::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--accent-primary);
  border-radius: 2px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* AOS fires class — also fires on initial load for above-fold */
.aos-animate .section-title span::after,
.section-title span:hover::after {
  width: 100%;
}


/* ═══════════════════════════════════════════════
   SECTION 7 — WHY US / FEATURE CARDS
═══════════════════════════════════════════════ */

.feature-card {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  animation: cardFlicker 4s ease-in-out infinite;
}

/* Top accent bar draws on hover */
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Radial glow spot follows cursor — CSS approximation */
.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 61, 0, 0.07), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.025);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.55), 0 0 22px rgba(255, 61, 0, 0.1);
  border-color: rgba(255, 61, 0, 0.28) !important;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover::after {
  opacity: 1;
}

/* Feature icon bounce */
.feature-icon {
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.3s ease,
    color 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.18) rotate(8deg);
  background: var(--accent-primary);
  color: #fff;
  animation: iconBounce 0.5s ease;
}

/* Feature card title */
.feature-card h4 {
  transition: color 0.25s ease, letter-spacing 0.3s ease;
}

.feature-card:hover h4 {
  color: var(--accent-primary);
  letter-spacing: 0.04em;
}

.feature-card p {
  transition: color 0.25s ease;
}

.feature-card:hover p {
  color: var(--text-primary);
}


/* ═══════════════════════════════════════════════
   SECTION 8 — TRANSFORMATION RESULTS SLIDER
═══════════════════════════════════════════════ */

.result-slide {
  transition:
    transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.38s ease;
  animation: scaleIn 0.55s ease both;
}

.result-slide:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 28px 58px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 61, 0, 0.15);
}

/* Before/after images zoom on hover */
.result-slide-inner img {
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.result-slide:hover .result-slide-inner img {
  transform: scale(1.06);
}

/* Result labels */
.result-label {
  transition: transform 0.25s ease, letter-spacing 0.3s ease;
}

.result-label.after {
  animation: scaleInBounce 0.5s ease 0.2s both;
}

.result-slide:hover .result-label.after {
  transform: scale(1.08);
  letter-spacing: 0.15em;
}

/* Swiper nav arrows */
.swiper-button-next,
.swiper-button-prev {
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
}

.swiper-button-next:hover {
  transform: scale(1.22) translateX(3px);
}

.swiper-button-prev:hover {
  transform: scale(1.22) translateX(-3px);
}

.swiper-button-next:active {
  transform: scale(0.88) translateX(3px);
}

.swiper-button-prev:active {
  transform: scale(0.88) translateX(-3px);
}

/* Swiper pagination */
.swiper-pagination-bullet {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.swiper-pagination-bullet-active {
  animation: scaleInBounce 0.35s ease;
}


/* ═══════════════════════════════════════════════
   SECTION 9 — PROGRAMS
═══════════════════════════════════════════════ */

.program-card {
  transition:
    transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.42s ease;
  animation: scaleIn 0.6s ease both;
}

.program-card:nth-child(1) {
  animation-delay: 0.05s;
}

.program-card:nth-child(2) {
  animation-delay: 0.15s;
}

.program-card:nth-child(3) {
  animation-delay: 0.25s;
}

.program-card:nth-child(4) {
  animation-delay: 0.35s;
}

.program-card:hover {
  transform: translateY(-12px) scale(1.035) !important;
  box-shadow: 0 36px 72px rgba(0, 0, 0, 0.75), 0 0 36px rgba(255, 61, 0, 0.18) !important;
}

/* Image zoom */
.program-card-img {
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.program-card:hover .program-card-img {
  transform: scale(1.12);
}

/* Tag */
.program-tag {
  transition: all 0.28s ease;
  animation: fadeInUp 0.4s ease both;
}

.program-card:hover .program-tag {
  background: rgba(255, 61, 0, 0.3);
  border-color: rgba(255, 61, 0, 0.65);
  letter-spacing: 0.2em;
}

/* Content lifts up */
.program-card-content {
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

.program-card:hover .program-card-content {
  transform: translateY(-8px);
}

/* Title colour change */
.program-card-content h3 {
  transition: color 0.28s ease, letter-spacing 0.35s ease;
}

.program-card:hover .program-card-content h3 {
  color: var(--accent-primary);
  letter-spacing: 0.05em;
}

/* CTA button reveal */
.program-card-content .btn-outline-accent {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.program-card:hover .program-card-content .btn-outline-accent {
  opacity: 1;
  transform: translateY(0);
}


/* ═══════════════════════════════════════════════
   SECTION 10 — BMI CALCULATOR
═══════════════════════════════════════════════ */

/* BMI card slide in */
.bmi-card {
  transition: box-shadow 0.35s ease;
  animation: fadeInRight 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.bmi-card:hover {
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), 0 0 48px rgba(255, 61, 0, 0.06);
}

/* Unit toggle buttons */
.bmi-unit-btn {
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bmi-unit-btn:hover:not(.active) {
  transform: scale(1.06);
  color: var(--text-primary);
}

.bmi-unit-btn.active {
  animation: scaleInBounce 0.32s ease;
}

.bmi-unit-btn:active {
  transform: scale(0.93);
}

/* Inputs */
.form-control-dark {
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.form-control-dark:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(255, 61, 0, 0.14), 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Submit button */
.bmi-card .btn-primary-accent {
  animation: none;
  transition:
    transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.28s ease;
}

.bmi-card .btn-primary-accent:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px var(--glow);
}

.bmi-card .btn-primary-accent:active {
  transform: scale(0.96);
}

/* Result reveal */
.bmi-result {
  animation: scaleInBounce 0.55s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.bmi-result-number {
  animation: counterDrop 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  transition: color 0.55s ease;
  display: block;
}

.bmi-result-category {
  animation: fadeInUp 0.4s ease 0.15s both;
  transition: color 0.4s ease;
}

/* Scale segments */
.bmi-scale-segment {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.bmi-scale-segment:hover {
  transform: scaleY(1.6);
  opacity: 0.85;
}

/* Left legend bars */
.bmi-section .col-lg-5 [style*="display: flex"] {
  animation: fadeInLeft 0.5s ease both;
}

.bmi-section .col-lg-5 [style*="display: flex"]:nth-child(1) {
  animation-delay: 0.1s;
}

.bmi-section .col-lg-5 [style*="display: flex"]:nth-child(2) {
  animation-delay: 0.18s;
}

.bmi-section .col-lg-5 [style*="display: flex"]:nth-child(3) {
  animation-delay: 0.26s;
}

.bmi-section .col-lg-5 [style*="display: flex"]:nth-child(4) {
  animation-delay: 0.34s;
}


/* ═══════════════════════════════════════════════
   SECTION 11 — TRAINER CARDS
═══════════════════════════════════════════════ */

.trainer-card {
  transition:
    transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.42s ease;
  animation: scaleIn 0.5s ease both;
}

.trainer-card:hover {
  transform: translateY(-12px) scale(1.025) !important;
  box-shadow: 0 36px 72px rgba(0, 0, 0, 0.75) !important;
}

/* Trainer image */
.trainer-img {
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.trainer-card:hover .trainer-img {
  transform: scale(1.08) !important;
}

/* Info panel */
.trainer-info {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.trainer-card:hover .trainer-info {
  transform: translateY(-6px);
}

/* Name */
.trainer-name {
  transition: color 0.25s ease, letter-spacing 0.3s ease;
  animation: fadeInUp 0.4s ease both;
}

.trainer-card:hover .trainer-name {
  color: var(--accent-primary);
  letter-spacing: 0.06em;
}

/* Role text */
.trainer-role {
  transition: letter-spacing 0.35s ease;
}

.trainer-card:hover .trainer-role {
  letter-spacing: 0.16em;
}

/* Social buttons */
.trainer-social-btn {
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.trainer-social-btn:hover {
  transform: scale(1.22) rotate(-8deg) !important;
  background: var(--accent-primary) !important;
  color: #fff !important;
  border-color: var(--accent-primary) !important;
}

.trainer-social-btn:active {
  transform: scale(0.88);
}


/* ═══════════════════════════════════════════════
   SECTION 12 — PRODUCT CARDS (Shop Preview)
═══════════════════════════════════════════════ */

.product-card {
  animation: fadeInUp 0.55s ease both;
  transition:
    transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.38s ease,
    border-color 0.38s ease !important;
}

.product-card:nth-child(1) {
  animation-delay: 0.08s;
}

.product-card:nth-child(2) {
  animation-delay: 0.16s;
}

.product-card:nth-child(3) {
  animation-delay: 0.24s;
}

.product-card:nth-child(4) {
  animation-delay: 0.32s;
}

.product-card:hover {
  transform: translateY(-10px) scale(1.025) !important;
  box-shadow: 0 28px 58px rgba(0, 0, 0, 0.55), 0 0 24px rgba(255, 61, 0, 0.14) !important;
  border-color: rgba(255, 61, 0, 0.35) !important;
}

/* Product image zoom */
.product-img-wrap img {
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.1) !important;
}

/* Badge pop */
.product-badge {
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: scaleInBounce 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s both;
}

.product-badge:hover {
  transform: scale(1.12) !important;
}

/* Action buttons */
.product-actions {
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-card:hover .product-actions {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

.product-action-btn {
  transition: all 0.26s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-action-btn:hover {
  transform: scale(1.18) rotate(-6deg);
  background: var(--accent-primary) !important;
  border-color: var(--accent-primary) !important;
}

.product-action-btn:active {
  transform: scale(0.86);
}

/* Product name */
.product-name {
  transition: color 0.25s ease;
}

.product-card:hover .product-name {
  color: var(--accent-primary);
}

/* Price */
.product-price {
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-block;
}

.product-card:hover .product-price {
  transform: scale(1.07);
}

/* Add to cart button */
.btn-add-cart {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.28s ease,
    background 0.25s ease;
}

.btn-add-cart::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease, opacity 0.4s ease;
  opacity: 1;
}

.btn-add-cart:active::after {
  width: 180px;
  height: 180px;
  opacity: 0;
}

.btn-add-cart:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 61, 0, 0.4);
}

.btn-add-cart:active {
  transform: scale(0.92);
}

/* Cart add pulse animation (applied via JS or CSS) */
@keyframes addedPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 61, 0, 0.7);
  }

  70% {
    box-shadow: 0 0 0 18px rgba(255, 61, 0, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 61, 0, 0);
  }
}

.btn-added-pulse {
  animation: addedPulse 0.65s ease;
}


/* ═══════════════════════════════════════════════
   SECTION 13 — PRICING CARDS
═══════════════════════════════════════════════ */

.pricing-card {
  animation: fadeInUp 0.6s ease both;
  transition:
    transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.42s ease;
}

.pricing-card:nth-child(1) {
  animation-delay: 0.08s;
}

.pricing-card:nth-child(2) {
  animation-delay: 0.18s;
}

.pricing-card:nth-child(3) {
  animation-delay: 0.28s;
}

.pricing-card:hover {
  transform: translateY(-12px) scale(1.025) !important;
  box-shadow: 0 36px 72px rgba(0, 0, 0, 0.6) !important;
}

/* Popular card glows */
.pricing-card.popular {
  animation: glowPulseBorder 3.5s ease-in-out infinite;
}

.pricing-card.popular:hover {
  box-shadow: 0 36px 72px rgba(0, 0, 0, 0.6), 0 0 48px var(--glow) !important;
}

/* Popular badge */
.pricing-popular-badge {
  animation: fadeInDown 0.5s ease 0.35s both;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pricing-card:hover .pricing-popular-badge {
  transform: translateX(-50%) scale(1.08);
}

/* Amount */
.pricing-amount {
  display: inline-block;
  animation: counterDrop 0.55s ease both;
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}

.pricing-card:hover .pricing-amount {
  transform: scale(1.1);
  color: var(--accent-primary);
}

/* Features list */
.pricing-features li {
  animation: fadeInLeft 0.4s ease both;
  transition: all 0.25s ease;
}

.pricing-features li:nth-child(1) {
  animation-delay: 0.08s;
}

.pricing-features li:nth-child(2) {
  animation-delay: 0.14s;
}

.pricing-features li:nth-child(3) {
  animation-delay: 0.20s;
}

.pricing-features li:nth-child(4) {
  animation-delay: 0.26s;
}

.pricing-features li:nth-child(5) {
  animation-delay: 0.32s;
}

.pricing-features li:nth-child(6) {
  animation-delay: 0.38s;
}

.pricing-features li:hover {
  padding-left: 0.6rem;
  color: var(--text-primary);
}

.pricing-check {
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-block;
}

.pricing-features li:hover .pricing-check {
  transform: scale(1.5) rotate(12deg);
}

/* Pricing button */
.pricing-card .btn-outline-accent,
.pricing-card .btn-primary-accent {
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pricing-card:hover .btn-outline-accent,
.pricing-card:hover .btn-primary-accent {
  transform: scale(1.03);
}

.pricing-card .btn-outline-accent:active,
.pricing-card .btn-primary-accent:active {
  transform: scale(0.95);
}


/* ═══════════════════════════════════════════════
   SECTION 14 — TESTIMONIALS
═══════════════════════════════════════════════ */

.testimonial-card {
  animation: fadeInUp 0.6s ease both;
  transition:
    transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.38s ease,
    border-color 0.38s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.55);
  border-color: rgba(255, 61, 0, 0.22) !important;
}

/* Quote mark */
.testimonial-quote {
  transition: transform 0.3s ease, opacity 0.3s ease;
  animation: fadeInDown 0.5s ease both;
  display: block;
}

.testimonial-card:hover .testimonial-quote {
  transform: scale(1.25) rotate(-8deg);
  opacity: 0.55;
}

/* Text */
.testimonial-text {
  animation: fadeIn 0.6s ease 0.15s both;
  transition: color 0.25s ease;
}

.testimonial-card:hover .testimonial-text {
  color: var(--text-primary);
}

/* Avatar */
.testimonial-avatar {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.testimonial-card:hover .testimonial-avatar {
  transform: scale(1.14) rotate(-5deg);
  box-shadow: 0 0 0 3px var(--accent-primary);
}

/* Author name */
.testimonial-name {
  transition: color 0.25s ease;
}

.testimonial-card:hover .testimonial-name {
  color: var(--accent-primary);
}


/* ═══════════════════════════════════════════════
   SECTION 15 — FAQ ACCORDION
═══════════════════════════════════════════════ */

.accordion-item {
  animation: fadeInLeft 0.5s ease both;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.accordion-item:nth-child(1) {
  animation-delay: 0.05s;
}

.accordion-item:nth-child(2) {
  animation-delay: 0.12s;
}

.accordion-item:nth-child(3) {
  animation-delay: 0.19s;
}

.accordion-item:nth-child(4) {
  animation-delay: 0.26s;
}

.accordion-item:nth-child(5) {
  animation-delay: 0.33s;
}

.accordion-item:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

/* Button states */
.accordion-button {
  transition: color 0.25s ease, background 0.25s ease, padding-left 0.35s ease !important;
}

.accordion-button:not(.collapsed) {
  padding-left: 2rem !important;
  border-left: 3px solid var(--accent-primary);
  box-shadow: inset 0 0 0 0 transparent !important;
}

/* Arrow spin — override Bootstrap */
.accordion-button::after {
  transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

/* Body reveal */
.accordion-body {
  animation: fadeInUp 0.32s ease both;
}


/* ═══════════════════════════════════════════════
   SECTION 16 — CTA BANNER
═══════════════════════════════════════════════ */

.cta-banner {
  position: relative;
  overflow: hidden;
}

/* Animated gradient overlay */
.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 40%,
      rgba(0, 0, 0, 0.12) 100%);
  background-size: 200% 200%;
  animation: gradientShift 7s ease-in-out infinite;
  pointer-events: none;
}

/* Content */
.cta-banner-content {
  position: relative;
  z-index: 1;
  animation: scaleIn 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.cta-banner-content h2 {
  animation: textReveal 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
  transition: letter-spacing 0.4s ease;
}

.cta-banner:hover .cta-banner-content h2 {
  letter-spacing: 0.04em;
}

.cta-banner-content p {
  animation: fadeIn 0.6s ease 0.3s both;
}

.cta-banner-content .d-flex {
  animation: fadeInUp 0.6s ease 0.45s both;
}

/* CTA white button inside banner */
.cta-banner .btn-primary-accent {
  transition:
    transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.28s ease;
}

.cta-banner .btn-primary-accent:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}


/* ═══════════════════════════════════════════════
   SECTION 17 — FOOTER
═══════════════════════════════════════════════ */

.footer {
  animation: fadeIn 0.5s ease both;
}

/* Brand */
.footer-brand {
  animation: fadeInLeft 0.6s ease both;
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-brand:hover {
  transform: scale(1.06);
}

.footer-brand span {
  transition: color 0.25s ease;
}

.footer-brand:hover span {
  color: var(--accent-secondary);
}

/* Description */
.footer-desc {
  animation: fadeIn 0.5s ease 0.1s both;
}

/* Social icons */
.footer-social-link {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: scaleInBounce 0.45s ease both;
}

.footer-social-link:nth-child(1) {
  animation-delay: 0.08s;
}

.footer-social-link:nth-child(2) {
  animation-delay: 0.14s;
}

.footer-social-link:nth-child(3) {
  animation-delay: 0.20s;
}

.footer-social-link:nth-child(4) {
  animation-delay: 0.26s;
}

.footer-social-link:nth-child(5) {
  animation-delay: 0.32s;
}

.footer-social-link:hover {
  transform: translateY(-5px) scale(1.16) rotate(-6deg) !important;
  border-color: var(--accent-primary) !important;
  color: var(--accent-primary) !important;
  background: rgba(255, 61, 0, 0.1);
  box-shadow: 0 6px 20px rgba(255, 61, 0, 0.25);
}

.footer-social-link:active {
  transform: scale(0.88) !important;
}

/* Footer headings — animated underline */
.footer-heading {
  position: relative;
  display: inline-block;
  animation: fadeInDown 0.45s ease both;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  height: 2px;
  width: 22px;
  background: var(--accent-primary);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 1px;
}

.footer-heading:hover::after,
.col-sm-6:hover .footer-heading::after,
.col-lg-2:hover .footer-heading::after,
.col-lg-4:hover .footer-heading::after {
  width: 100%;
}

/* Footer links */
.footer-links a {
  display: inline-block;
  transition: all 0.25s ease;
}

.footer-links a:hover {
  color: var(--accent-primary) !important;
  transform: translateX(7px);
}

.footer-links li {
  animation: fadeInLeft 0.4s ease both;
}

.footer-links li:nth-child(1) {
  animation-delay: 0.06s;
}

.footer-links li:nth-child(2) {
  animation-delay: 0.12s;
}

.footer-links li:nth-child(3) {
  animation-delay: 0.18s;
}

.footer-links li:nth-child(4) {
  animation-delay: 0.24s;
}

.footer-links li:nth-child(5) {
  animation-delay: 0.30s;
}

/* Newsletter input */
.footer-newsletter input {
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.footer-newsletter input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(255, 61, 0, 0.12);
}

/* Newsletter button */
.footer-newsletter button {
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-newsletter button:hover {
  transform: scale(1.07);
  background: var(--accent-secondary);
  color: var(--bg-dark);
}

.footer-newsletter button:active {
  transform: scale(0.93);
}

/* Footer bottom links */
.footer-bottom {
  animation: fadeIn 0.5s ease 0.2s both;
}

.footer-bottom a {
  transition: color 0.25s ease, letter-spacing 0.28s ease;
}

.footer-bottom a:hover {
  color: var(--accent-primary) !important;
  letter-spacing: 0.04em;
}


/* ═══════════════════════════════════════════════
   SECTION 18 — CART DRAWER
═══════════════════════════════════════════════ */

.offcanvas {
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.cart-drawer-title {
  animation: fadeInLeft 0.4s ease both;
}

/* Cart items */
.cart-item {
  transition: background 0.22s ease, transform 0.22s ease;
}

.cart-item:hover {
  background: rgba(255, 255, 255, 0.02);
  transform: translateX(4px);
}

.cart-item-img {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cart-item:hover .cart-item-img {
  transform: scale(1.08);
}

.cart-qty-btn {
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cart-qty-btn:hover {
  transform: scale(1.22);
  border-color: var(--accent-primary) !important;
  color: var(--accent-primary) !important;
}

.cart-qty-btn:active {
  transform: scale(0.82);
}

.cart-remove-btn {
  transition: all 0.26s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cart-remove-btn:hover {
  transform: scale(1.35) rotate(90deg) !important;
  color: var(--danger) !important;
}

/* Empty cart icon float */
.cart-empty-icon {
  display: block;
  animation: floatYSlow 2.2s ease-in-out infinite;
}

/* Cart footer links */
.cart-drawer-footer .btn-primary-accent,
.cart-drawer-footer .btn-outline-accent {
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cart-drawer-footer .btn-primary-accent:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px var(--glow);
}

.cart-drawer-footer .btn-outline-accent:hover {
  transform: translateY(-2px);
  border-color: var(--accent-primary) !important;
  color: var(--accent-primary) !important;
}


/* ═══════════════════════════════════════════════
   SECTION 19 — TOAST NOTIFICATIONS
═══════════════════════════════════════════════ */

.toast-custom {
  animation: toastSlide 0.38s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast-custom.toast-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.toast-custom.toast-fade-out {
  opacity: 0;
  transform: translateY(-12px) scale(0.93);
  transition: opacity 0.38s ease, transform 0.38s ease;
}

.toast-icon {
  display: inline-block;
  animation: scaleInBounce 0.42s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.toast-close {
  transition: transform 0.26s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.22s ease;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
  opacity: 0.55;
  margin-left: auto;
  padding: 0 0 0 0.5rem;
}

.toast-close:hover {
  transform: scale(1.32) rotate(90deg);
  opacity: 1;
}


/* ═══════════════════════════════════════════════
   SECTION 20 — AUTH PAGES
═══════════════════════════════════════════════ */

.auth-card {
  animation: slideUpModal 0.48s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.auth-logo {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.auth-logo:hover {
  transform: scale(1.09);
}

.auth-title {
  animation: textReveal 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.auth-subtitle {
  animation: fadeIn 0.5s ease 0.2s both;
}

.auth-form .form-floating:nth-child(1) {
  animation: fadeInUp 0.4s ease 0.15s both;
}

.auth-form .form-floating:nth-child(2) {
  animation: fadeInUp 0.4s ease 0.22s both;
}

.auth-form .form-floating:nth-child(3) {
  animation: fadeInUp 0.4s ease 0.29s both;
}

.btn-auth-submit {
  animation: fadeInUp 0.4s ease 0.3s both;
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-auth-submit:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 32px var(--glow);
}

.btn-auth-submit:active {
  transform: scale(0.96);
}

.btn-auth-guest {
  animation: fadeIn 0.4s ease 0.4s both;
  transition: all 0.25s ease;
}

.btn-auth-guest:hover {
  transform: translateY(-2px);
}

/* Error shake */
.auth-error.visible {
  animation: shakeX 0.45s ease;
}

.shake-animation {
  animation: shakeX 0.45s ease !important;
}

/* Password toggle */
.password-toggle {
  transition: transform 0.26s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.22s ease;
}

.password-toggle:hover {
  transform: scale(1.22);
}

/* Auth BG ambient shapes */
.auth-shape {
  animation: breathe 12s ease-in-out infinite;
}

.auth-shape-1 {
  animation-duration: 14s;
}

.auth-shape-2 {
  animation-duration: 10s;
  animation-delay: -4s;
}

.auth-shape-3 {
  animation-duration: 8s;
  animation-delay: -2s;
}


/* ═══════════════════════════════════════════════
   SECTION 21 — MISC COMPONENTS
═══════════════════════════════════════════════ */

/* Contact cards */
.contact-card {
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  animation: fadeInUp 0.5s ease both;
}

.contact-card:hover {
  transform: translateY(-7px) scale(1.015);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
  border-color: rgba(255, 61, 0, 0.2) !important;
}

.contact-card-icon {
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.3s ease,
    color 0.3s ease;
}

.contact-card:hover .contact-card-icon {
  transform: scale(1.18) rotate(12deg);
  background: var(--accent-primary);
  color: #fff;
}

/* Timeline dots */
.timeline-dot {
  animation: scaleInBounce 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.timeline-item:hover .timeline-dot {
  transform: translateX(-50%) scale(1.5);
  box-shadow: 0 0 0 6px var(--bg-dark), 0 0 0 7px var(--accent-primary), 0 0 18px var(--glow);
}

.timeline-content {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:hover .timeline-content {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

/* Glass cards */
.glass-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.45);
}

/* Step circles */
.step-circle {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.step-circle:hover {
  transform: scale(1.18) rotate(-8deg);
  box-shadow: 0 0 48px var(--glow);
}

/* Stats grid items */
.stat-item {
  transition: background 0.3s ease, transform 0.3s ease;
}

.stat-item:hover {
  background: rgba(255, 61, 0, 0.04);
  transform: scale(1.02);
}

.stat-number {
  display: block;
  transition: color 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-item:hover .stat-number {
  transform: scale(1.08);
}

/* Page hero bg text */
.page-hero-bg-text {
  animation: fadeIn 1.5s ease 0.5s both;
  transition: opacity 0.3s ease;
}

/* Form floating labels */
.form-floating .form-control {
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-floating .form-control:focus {
  box-shadow: 0 0 0 3px rgba(255, 61, 0, 0.15);
  border-color: var(--accent-primary);
}

/* Breadcrumb links */
.breadcrumb-item a {
  transition: color 0.22s ease;
}

.breadcrumb-item a:hover {
  color: var(--accent-primary);
}

/* Rating stars */
.stars {
  display: inline-block;
  animation: scaleInBounce 0.4s ease both;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-card:hover .stars {
  transform: scale(1.12);
}

/* Product category label */
.product-category {
  transition: letter-spacing 0.3s ease;
}

.product-card:hover .product-category {
  letter-spacing: 0.18em;
}

/* Accordion close button overlay on open */
.accordion-button:not(.collapsed)::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent-primary);
  animation: fadeIn 0.25s ease both;
}


/* ═══════════════════════════════════════════════
   SECTION 22 — REDUCED MOTION
═══════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-bg-video {
    display: none;
  }

  .hero-bg-img-fallback {
    opacity: 1 !important;
    z-index: 0;
  }

  .marquee-track {
    animation: none;
  }

  .glow-btn {
    animation: none;
    box-shadow: 0 0 20px var(--glow);
  }

  .stat-badge {
    animation: none !important;
  }

  .pricing-card.popular {
    animation: none;
  }
}


/* ═══════════════════════════════════════════════
   SECTION 23 — MOBILE OPTIMISE
═══════════════════════════════════════════════ */

@media (max-width: 768px) {

  /* Turn off complex hover transforms on touch */
  .product-card:hover {
    transform: none !important;
    box-shadow: none !important;
  }

  .program-card:hover {
    transform: none !important;
  }

  .trainer-card:hover {
    transform: none !important;
  }

  .pricing-card:hover {
    transform: none !important;
  }

  .feature-card:hover {
    transform: none !important;
  }

  /* Keep tap feedback crisp */
  .product-card:active {
    transform: scale(0.97) !important;
  }

  .btn-add-cart:active {
    transform: scale(0.92) !important;
  }

  .btn-primary-accent:active {
    transform: scale(0.96) !important;
  }

  .nav-cart-btn:active {
    transform: scale(0.88) !important;
  }

  /* Disable scanlines on mobile */
  .hero-video-scanlines {
    display: none;
  }

  /* Lighter marquee on mobile */
  .marquee-track {
    animation-duration: 16s;
  }
}