/* Homepage motion — scoped to index.html */

.hero-bg {
  overflow: hidden;
}

.hero-bg img {
  transform: scale(1.08);
  transform-origin: center;
}

.hero-bg.is-wide img {
  transform-origin: 62% center;
}

.swiper-slide-active .hero-bg img {
  animation: heroZoom 18s ease-out forwards;
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

.hero-copy > * {
  opacity: 0;
  transform: translateY(28px);
}

.hero-copy.is-anim > * {
  animation: fadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-copy.is-anim > *:nth-child(1) {
  animation-delay: 0.12s;
}

.hero-copy.is-anim > *:nth-child(2) {
  animation-delay: 0.28s;
}

.hero-copy.is-anim > *:nth-child(3) {
  animation-delay: 0.44s;
}

.hero-copy.is-anim > *:nth-child(4) {
  animation-delay: 0.6s;
}

.hero-copy.is-anim > .hero-kicker {
  animation-name: fadeUpSoft;
}

.hero-copy.is-anim.is-done > * {
  animation: none;
  opacity: 1;
  transform: none;
}

.hero-copy.is-anim.is-done > .hero-kicker {
  opacity: 0.8;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeUpSoft {
  to {
    opacity: 0.8;
    transform: none;
  }
}

.site-header {
  transition: box-shadow 0.28s ease, border-color 0.28s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(0, 30, 64, 0.08);
}

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

[data-reveal="left"] {
  transform: translateX(-40px);
}

[data-reveal="right"] {
  transform: translateX(40px);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

[data-reveal] .sec-bar {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.55s 0.18s ease;
}

[data-reveal].is-in .sec-bar {
  transform: scaleX(1);
}

.play-circle {
  animation: playPulse 2.4s ease-in-out infinite;
  transition: transform 0.2s ease, background 0.2s ease;
}

.play-btn:hover .play-circle {
  transform: scale(1.08);
  background: #fff;
}

@keyframes playPulse {
  0%,
  100% {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 0 0 0 rgba(255, 255, 255, 0.55);
  }
  50% {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 0 0 14px rgba(255, 255, 255, 0);
  }
}

.btn-hero,
.btn-blue,
.btn-white {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-hero:hover,
.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 84, 166, 0.28);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.product-card .thumb img {
  transition: transform 0.55s ease;
}

.product-card:hover .thumb img {
  transform: scale(1.06);
}

.carousel-btn {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.carousel-btn:hover {
  transform: scale(1.12);
}

.logo-grid[data-reveal] .logo-cell {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease, box-shadow 0.2s ease;
}

.logo-grid.is-in .logo-cell {
  opacity: 1;
  transform: none;
}

.logo-grid.is-in .logo-cell:nth-child(1) { transition-delay: 0.04s; }
.logo-grid.is-in .logo-cell:nth-child(2) { transition-delay: 0.08s; }
.logo-grid.is-in .logo-cell:nth-child(3) { transition-delay: 0.12s; }
.logo-grid.is-in .logo-cell:nth-child(4) { transition-delay: 0.16s; }
.logo-grid.is-in .logo-cell:nth-child(5) { transition-delay: 0.2s; }
.logo-grid.is-in .logo-cell:nth-child(6) { transition-delay: 0.24s; }
.logo-grid.is-in .logo-cell:nth-child(7) { transition-delay: 0.28s; }
.logo-grid.is-in .logo-cell:nth-child(8) { transition-delay: 0.32s; }
.logo-grid.is-in .logo-cell:nth-child(9) { transition-delay: 0.36s; }
.logo-grid.is-in .logo-cell:nth-child(10) { transition-delay: 0.4s; }

.stat strong {
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg img,
  .hero-copy > *,
  .play-circle,
  [data-reveal],
  [data-reveal] .sec-bar,
  .logo-grid[data-reveal] .logo-cell,
  .product-card .thumb img {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-copy > .hero-kicker {
    opacity: 0.8 !important;
  }
}
