/* Premium motion — homepage polish (respects reduced motion) */
:root {
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-elevated: 0 20px 50px rgba(0, 0, 0, 0.14);
  --shadow-premium: 0 28px 64px rgba(0, 0, 0, 0.2);
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Hero load-in ─── */
@keyframes premium-hero-in {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-copy {
  animation: premium-hero-in 1.05s var(--ease-out-expo) both;
}

.hero-cta-box {
  animation: premium-hero-in 1.05s var(--ease-out-expo) 0.14s both;
  will-change: transform;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    118deg,
    transparent 38%,
    rgba(255, 143, 31, 0.07) 48%,
    transparent 58%
  );
  background-size: 220% 100%;
  animation: premium-hero-shine 9s ease-in-out infinite;
}

@keyframes premium-hero-shine {
  0%,
  100% {
    background-position: 120% 0;
    opacity: 0.35;
  }
  50% {
    background-position: -20% 0;
    opacity: 0.65;
  }
}

.hero-cta-box {
  border-radius: 2px;
  transition:
    transform 0.45s var(--ease-out-expo),
    box-shadow 0.45s var(--ease-out-expo);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.08),
    0 24px 48px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.hero-cta-box:hover {
  transform: translateY(-5px);
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.1),
    0 32px 64px rgba(0, 0, 0, 0.32);
}

.btn-fill {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #e31c1c 0%, #c0160f 100%);
  transition:
    transform 0.35s var(--ease-out-expo),
    box-shadow 0.35s var(--ease-out-expo);
}

.btn-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 28%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 72%
  );
  transform: translateX(-130%);
  transition: transform 0.65s var(--ease-out-expo);
  pointer-events: none;
}

.btn-fill:hover::after {
  transform: translateX(130%);
}

.btn-fill:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(227, 28, 28, 0.38);
}

/* ─── Section labels ─── */
.section-label {
  position: relative;
}

.section-label::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  margin: 10px auto 0;
  background: currentColor;
  opacity: 0.85;
  transition: width 0.75s var(--ease-out-expo);
}

.reveal.is-visible.section-label::after,
.benefit-row-inner.is-visible .section-label::after {
  width: 44px;
}

.benefit-row-inner .section-label::after {
  margin-left: 0;
  margin-right: auto;
}

@media (min-width: 901px) {
  .benefits-bg-video {
    transform: translate(-50%, -50%) scale(1.28);
    object-position: center 32%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .benefits-section-bg {
    display: none;
  }
}

/* ─── Schedule atmosphere ─── */
@keyframes premium-orb-drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(24px, -18px) scale(1.06);
  }
}

.schedule-section::before {
  animation: premium-orb-drift 20s ease-in-out infinite;
}

.schedule-section::after {
  animation: premium-orb-drift 26s ease-in-out infinite reverse;
}

.schedule-board {
  transition:
    box-shadow 0.55s var(--ease-out-expo),
    border-color 0.55s var(--ease-out-expo);
}

.schedule-board.is-visible {
  animation: premium-board-in 0.9s var(--ease-out-expo) both;
}

@keyframes premium-board-in {
  from {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  }
  to {
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  }
}

.schedule-board:hover {
  border-color: rgba(245, 124, 0, 0.35);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.55),
    0 0 48px rgba(245, 124, 0, 0.08);
}

/* ─── Feature circles ─── */
.circle-img {
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.12);
  transition:
    transform 0.55s var(--ease-out-expo),
    box-shadow 0.55s var(--ease-out-expo);
}

.circle-card:hover .circle-img {
  transform: scale(1.035);
  box-shadow: 0 26px 52px rgba(227, 28, 28, 0.14);
}

.circle-img img {
  transition: transform 0.65s var(--ease-out-expo);
}

.circle-card:hover .circle-img img {
  transform: scale(1.07);
}

.circle-card h3 {
  transition: color 0.3s ease;
}

.circle-card:hover h3 {
  color: var(--red);
}

/* ─── Benefits ─── */
.benefit-img {
  overflow: hidden;
}

.benefit-img img {
  transition: transform 0.75s var(--ease-out-expo);
}

.benefit-row-inner:hover .benefit-img img {
  transform: scale(1.04);
}

.benefit-num {
  transition: transform 0.5s var(--ease-out-expo), opacity 0.5s ease;
}

.benefit-row-inner.is-visible:hover .benefit-num {
  transform: translateY(-4px);
  opacity: 0.22;
}

/* ─── Stats ─── */
.stat-card {
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition:
    transform 0.45s var(--ease-out-expo),
    box-shadow 0.45s var(--ease-out-expo);
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.35);
}

/* ─── Pricing ─── */
.pricing-card {
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.45s var(--ease-out-expo),
    box-shadow 0.45s var(--ease-out-expo);
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-premium);
}

.pricing-card.featured:hover {
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.45);
}

.pricing-card.promo {
  box-shadow:
    0 10px 32px rgba(227, 28, 28, 0.18),
    0 0 0 2px rgba(227, 28, 28, 0.28);
}

.pricing-card.promo:hover {
  box-shadow:
    0 16px 40px rgba(227, 28, 28, 0.28),
    0 0 0 2px #e31c1c;
}

.pricing-card.featured.promo:hover {
  box-shadow:
    0 20px 52px rgba(227, 28, 28, 0.5),
    0 0 0 2px #ff4444;
}

/* ─── FAQ accordion ─── */
.faq-item {
  transition:
    box-shadow 0.35s var(--ease-out-expo),
    transform 0.35s var(--ease-out-expo);
}

.faq-item.active {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy,
  .hero-cta-box,
  .schedule-board.is-visible,
  .hero::after,
  .schedule-section::before,
  .schedule-section::after {
    animation: none !important;
  }

  .hero-cta-box:hover,
  .stat-card:hover,
  .pricing-card:hover,
  .circle-card:hover .circle-img,
  .circle-card:hover .circle-img img,
  .benefit-row-inner:hover .benefit-img img {
    transform: none;
  }

  .btn-fill::after {
    display: none;
  }
}
