/* 模块级动效：以内容层和伪元素为主，不干扰现有滚动揭示与鼠标倾斜。 */
.section-heading.in-view .kicker,
.section > .reveal.in-view > .kicker,
.journey .reveal.in-view > .kicker,
.faq > .reveal.in-view > .kicker {
  animation: kicker-slide .65s cubic-bezier(.2,1.35,.3,1) both;
}

.phone {
  animation: phone-bob 3.6s ease-in-out infinite;
  will-change: translate;
}

.section-heading.in-view h2,
.section > .reveal.in-view > h2,
.journey .reveal.in-view > h2,
.faq > .reveal.in-view > h2 {
  animation: title-unfold .8s .08s cubic-bezier(.2,.85,.2,1) both;
  transform-origin: left center;
}

.section-heading.in-view h2::after,
.section > .reveal.in-view > h2::after,
.journey .reveal.in-view > h2::after,
.faq > .reveal.in-view > h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 72px;
  height: 6px;
  border: 1px solid var(--ink);
  border-radius: 99px;
  background: var(--yellow);
  transform-origin: left;
  animation: underline-grow .75s .45s cubic-bezier(.2,1.2,.3,1) both;
}

.feature.in-view h3 {
  animation: card-copy-up .65s .12s both cubic-bezier(.2,.85,.2,1);
}

.feature.in-view p {
  animation: card-copy-up .65s .2s both cubic-bezier(.2,.85,.2,1);
}

.feature.in-view .text-button {
  display: inline-block;
  animation: card-copy-up .65s .28s both cubic-bezier(.2,.85,.2,1);
}

.feature:hover .feature-icon {
  animation: feature-icon-pop .6s cubic-bezier(.2,1.5,.3,1);
}

.feature .text-button::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 2px;
  margin-left: 6px;
  vertical-align: middle;
  background: var(--ink);
  transition: width .3s ease;
}

.feature:hover .text-button::after {
  width: 28px;
}

.universe-stage.in-view .universe-copy h3 {
  animation: universe-copy-in .85s .15s both cubic-bezier(.15,.85,.25,1);
}

.universe-stage.in-view .universe-copy p,
.universe-stage.in-view .universe-copy .primary {
  animation: universe-copy-in .85s .3s both cubic-bezier(.15,.85,.25,1);
}

.collection-core {
  animation: core-hover 4.5s ease-in-out infinite;
}

.collect-item {
  transition: border-radius .35s, box-shadow .35s;
}

.collect-item:hover {
  border-radius: 50%;
  box-shadow: 0 15px 35px rgba(128,94,0,.2);
}

.steps .reveal.in-view b {
  display: inline-block;
  animation: step-number-pop .65s .12s both cubic-bezier(.2,1.5,.3,1);
}

.steps .reveal.in-view h3 {
  animation: card-copy-up .6s .22s both;
}

.steps .reveal.in-view p {
  animation: card-copy-up .6s .32s both;
}

.steps > div::after {
  content: "";
  position: absolute;
  inset: auto 20px 16px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--yellow), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s ease;
}

.steps > div:hover::after {
  transform: scaleX(1);
}

.post-wall.in-view article::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.65) 49%, transparent 60%);
  transform: translateX(-130%);
  animation: post-card-shine 6s ease-in-out infinite;
}

.post-wall.in-view article:nth-child(2)::after {
  animation-delay: -2s;
}

.post-wall.in-view article:nth-child(3)::after {
  animation-delay: -4s;
}

.community .reveal.in-view .community-topics span {
  display: inline-block;
  animation: topic-pop .55s .2s both cubic-bezier(.2,1.35,.3,1);
}

.community .reveal.in-view .community-topics span:nth-child(2) {
  animation-delay: .3s;
}

.community .reveal.in-view .community-topics span:nth-child(3) {
  animation-delay: .4s;
}

.assurance-grid article.in-view > div::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(23,24,22,.22);
  border-radius: 23px;
  animation: assurance-ring 2.6s ease-out infinite;
}

.assurance-grid article > div {
  position: relative;
}

.assurance-grid article:nth-child(2) > div::after { animation-delay: -.65s; }
.assurance-grid article:nth-child(3) > div::after { animation-delay: -1.3s; }
.assurance-grid article:nth-child(4) > div::after { animation-delay: -1.95s; }

.faq details.in-view {
  position: relative;
  overflow: hidden;
}

.faq details.in-view::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--yellow);
  transform: scaleY(0);
  transition: transform .35s ease;
}

.faq details:hover::before,
.faq details[open]::before {
  transform: scaleY(1);
}

.faq summary {
  transition: padding-left .3s ease, color .3s;
}

.faq details:hover summary,
.faq details[open] summary {
  padding-left: 16px;
  color: #856400;
}

.download.in-view > div:first-child > * {
  animation: download-copy-in .7s both cubic-bezier(.2,.85,.2,1);
}

.download.in-view > div:first-child > h2 { animation-delay: .1s; }
.download.in-view > div:first-child > p { animation-delay: .2s; }
.download.in-view .download-badges { animation-delay: .3s; }

.download.in-view .qr-card {
  animation: qr-card-hover 4s .4s ease-in-out infinite;
}

.cta.in-view .dark-button {
  animation: cta-button-pulse 2.8s 1s ease-in-out infinite;
}

.cta.in-view .logo-orb::after {
  content: "✦";
  position: absolute;
  right: 3px;
  top: 8px;
  color: var(--ink);
  font-size: 28px;
  animation: cta-star 2.2s ease-in-out infinite;
}

@keyframes kicker-slide {
  from { opacity: 0; transform: translateX(-22px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes phone-bob {
  0%,
  100% { translate: 0 -12px; }
  50% { translate: 0 12px; }
}

@keyframes title-unfold {
  from { opacity: 0; transform: perspective(500px) rotateX(18deg) translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes underline-grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes card-copy-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes feature-icon-pop {
  0% { transform: scale(1) rotate(0); }
  45% { transform: scale(1.22) rotate(-10deg); }
  100% { transform: scale(1) rotate(0); }
}

@keyframes universe-copy-in {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes core-hover {
  0%, 100% { transform: translate(-50%, -50%) rotate(-2deg); }
  50% { transform: translate(-50%, calc(-50% - 10px)) rotate(3deg); }
}

@keyframes step-number-pop {
  from { opacity: 0; transform: scale(.5) rotate(-12deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes post-card-shine {
  0%, 65% { transform: translateX(-130%); }
  90%, 100% { transform: translateX(130%); }
}

@keyframes topic-pop {
  from { opacity: 0; transform: scale(.75) translateY(8px); }
  to { opacity: 1; transform: none; }
}

@keyframes assurance-ring {
  0% { opacity: .65; transform: scale(.82); }
  100% { opacity: 0; transform: scale(1.35); }
}

@keyframes download-copy-in {
  from { opacity: 0; transform: translateX(-25px); }
  to { opacity: 1; transform: none; }
}

@keyframes qr-card-hover {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-9px) rotate(1deg); }
}

@keyframes cta-button-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(23,24,22,0); }
  50% { box-shadow: 0 0 0 8px rgba(23,24,22,.1); }
}

@keyframes cta-star {
  0%, 100% { opacity: .35; transform: scale(.7) rotate(0); }
  50% { opacity: 1; transform: scale(1.2) rotate(90deg); }
}

@media (prefers-reduced-motion: reduce) {
  .section-heading.in-view *,
  .section > .reveal.in-view > *,
  .journey .reveal.in-view > *,
  .faq > .reveal.in-view > *,
  .feature.in-view *,
  .universe-stage.in-view *,
  .collection-core,
  .steps .reveal.in-view *,
  .post-wall.in-view article::after,
  .community .reveal.in-view .community-topics span,
  .assurance-grid article.in-view > div::after,
  .download.in-view *,
  .cta.in-view * {
    animation: none !important;
  }

  .phone {
    animation: none !important;
    translate: 0;
  }
}
