/* 征辰官网 · 首页专属（Hero分镜 / Mood / Flow / 产品索引 / 资讯） */
/* 依赖 main.css，仅 index.php 引入 */

/* Mood cards (pain dark / value light) + flow track */

.section-pain {
  background: linear-gradient(180deg, #e8eef3 0%, #dfe7ee 100%);
}

.section-value {
  background: linear-gradient(180deg, #f7fbfd 0%, #eef7fb 55%, #f7f9fc 100%);
}

.mood-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.mood-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  border-radius: 20px;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.mood-card:hover {
  transform: translateY(-4px);
}

.mood-copy {
  position: relative;
  z-index: 1;
  padding: 28px 26px 12px;
}

.mood-copy h3 {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 12px;
}

.mood-copy p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.mood-art {
  margin-top: auto;
  padding: 0 8px 4px;
  line-height: 0;
}

.mood-art svg {
  width: 100%;
  height: auto;
  display: block;
}

.mood-dark {
  background: linear-gradient(165deg, #1a3348 0%, #0f2436 55%, #0a1a28 100%);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 28px -18px rgba(8, 28, 44, 0.55);
}

.mood-dark:hover {
  box-shadow: 0 22px 40px -18px rgba(8, 28, 44, 0.65);
}

.mood-dark .mood-copy h3 {
  color: #e8f0f6;
}

.mood-dark .mood-copy p {
  color: rgba(200, 218, 230, 0.78);
}

.mood-light {
  background: linear-gradient(165deg, #ffffff 0%, #e9f6fb 48%, #d7eef8 100%);
  border-color: rgba(10, 107, 156, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 24px -18px rgba(10, 107, 156, 0.28);
}

.mood-light:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 22px 40px -18px rgba(10, 107, 156, 0.32);
}

.mood-light .mood-copy h3 {
  color: var(--accent-deep);
}

.mood-light .mood-copy p {
  color: var(--ink-soft);
}

/* Flowchart: how to use */

.flow-track {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 8px 12px;
  align-items: start;
  padding: 8px 0 4px;
  position: relative;
}

.flow-step.is-on .flow-node span {
  animation: nodePulse 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.flow-step {
  text-align: center;
  padding: 8px 10px 0;
  opacity: 0.28;
  transform: translateY(18px);
  filter: grayscale(0.35);
  transition:
    opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.55s ease;
}

.flow-step.is-on {
  opacity: 1;
  transform: none;
  filter: none;
}

.flow-node {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 10px 22px -12px rgba(10, 107, 156, 0.55);
  transform: scale(0.85);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
}

.flow-step.is-on .flow-node {
  transform: scale(1);
  box-shadow: 0 14px 28px -10px rgba(10, 107, 156, 0.55);
}

.flow-step h3 {
  font-size: 1.08rem;
  font-weight: 650;
  margin: 0 0 8px;
  color: var(--ink);
}

.flow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.flow-arrow {
  width: min(64px, 8vw);
  height: 48px;
  margin-top: 8px;
  align-self: start;
  color: var(--accent);
  display: flex;
  align-items: center;
}

.flow-arrow-svg {
  width: 100%;
  height: 24px;
  overflow: visible;
}

.flow-draw {
  stroke-dasharray: 56;
  stroke-dashoffset: 56;
  transition: stroke-dashoffset 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.35;
}

.flow-head {
  opacity: 0;
  transform-origin: 52px 12px;
  transform: scale(0.6);
  transition: opacity 0.3s ease 0.25s, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.flow-arrow.is-drawn .flow-draw {
  stroke-dashoffset: 0;
  opacity: 1;
}

.flow-arrow.is-drawn .flow-head {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
.mood-cards {
    grid-template-columns: 1fr;
  }

.mood-card {
    min-height: 280px;
  }

.flow-track {
    grid-template-columns: 1fr;
    gap: 0;
  }

.flow-arrow {
    width: 24px;
    height: 40px;
    margin: 2px auto;
    justify-content: center;
  }

.flow-arrow-svg {
    width: 24px;
    height: 40px;
    transform: rotate(90deg);
  }
}

/* —— Motion —— */

/* Mood: copy first, art later */

.mood-card .mood-copy {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.mood-card .mood-art {
  opacity: 0;
  transform: translateY(36px) scale(0.94);
  transition:
    opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.32s,
    transform 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.32s;
}

.mood-card.is-on .mood-copy {
  opacity: 1;
  transform: none;
}

.mood-card.is-on .mood-art {
  opacity: 1;
  transform: none;
}

.mood-card .mood-art svg {
  transform: scale(0.97);
  transform-origin: center;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

.mood-card.is-on .mood-art svg {
  transform: none;
}

/* Hero accent / gradient word (deep-sea, not purple) */

.hero-grad {
  display: inline-block;
  margin-left: 0.12em;
  background: linear-gradient(105deg, #053a56 0%, #0a6b9c 45%, #1490c0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.hero-slide.is-active .hero-accent {
  animation: accentPop 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.32s both;
}

.hero-carousel {
  animation: heroStageIn 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-slide.is-active .hero-slide-copy > * {
  opacity: 0;
  transform: translateY(22px);
  animation: heroIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-slide.is-active .hero-slide-copy > *:nth-child(1) { animation-delay: 0.08s; }

.hero-slide.is-active .hero-slide-copy > *:nth-child(2) { animation-delay: 0.16s; }

.hero-slide.is-active .hero-slide-copy > *:nth-child(3) { animation-delay: 0.24s; }

.hero-slide.is-active .hero-slide-copy > *:nth-child(4) { animation-delay: 0.32s; }

.hero-slide.is-active .hero-slide-copy > *:nth-child(5) { animation-delay: 0.4s; }

.hero-slide.is-active .hero-orbit {
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  animation: heroIn 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.12s forwards;
}

@media (prefers-reduced-motion: reduce) {
.reveal,
  .reveal-stagger > *,
  .hero-carousel,
  .hero-slide.is-active .hero-slide-copy > *,
  .hero-slide.is-active .hero-slide-visual,
  .hero-slide.is-active .hero-orbit,
  .hero-inner > *,
  .device,
  .feature-card,
  .mood-card,
  .mood-card .mood-copy,
  .mood-card .mood-art,
  .flow-step,
  .flow-arrow,
  .hero-accent {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    transition: none !important;
  }

.flow-draw {
    stroke-dashoffset: 0 !important;
    opacity: 1 !important;
  }

.flow-head {
    opacity: 1 !important;
    transform: none !important;
  }

.feature-card:hover,
  .mood-card:hover {
    transform: none;
  }

.hero-dot.is-active {
    animation: none !important;
  }
}

.hero-kicker {
  margin: 0 0 14px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.hero-fact {
  margin-top: 8px;
  max-width: 18em;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

/* === hero carousel === */

.hero-carousel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 70% at 12% -10%, rgba(255, 255, 255, 0.95), transparent 55%),
    radial-gradient(ellipse 70% 55% at 88% 110%, rgba(10, 107, 156, 0.05), transparent 50%),
    linear-gradient(165deg, #fbfcfe 0%, #f3f7fb 48%, #eef3f8 100%);
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
}

.hero-slides {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
}

.hero-slide {
  display: flex;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  padding: 48px 0 88px;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
  filter: blur(10px);
  transform: scale(0.985);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.7s,
    filter 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
  filter: none;
  transform: none;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* Yingdao-like soft window light (deep-sea, very low contrast) */
.hero-slide-bg::before {
  content: "";
  position: absolute;
  inset: -30% -20%;
  background:
    linear-gradient(
      118deg,
      rgba(255, 255, 255, 0.72) 0%,
      rgba(255, 255, 255, 0.18) 22%,
      rgba(255, 255, 255, 0) 38%,
      rgba(10, 107, 156, 0.035) 52%,
      rgba(255, 255, 255, 0) 68%,
      rgba(255, 255, 255, 0.28) 100%
    );
  transform: rotate(-6deg);
  opacity: 0.85;
  pointer-events: none;
}

.hero-slide-bg::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -25%;
  width: 70%;
  height: 120%;
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.12) 32%,
    rgba(255, 255, 255, 0) 58%
  );
  filter: blur(28px);
  opacity: 0.7;
  pointer-events: none;
}

.hero-slide-bg .hero-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  mix-blend-mode: multiply;
}

.hero-slide.is-active .hero-grid {
  animation: hsGridInSoft 1.35s ease forwards;
}

.hero-glow {
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(780px, 92vw);
  height: min(460px, 58vh);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 40% 40%, rgba(255, 255, 255, 0.45), transparent 55%),
    radial-gradient(ellipse at center, rgba(10, 107, 156, 0.11), transparent 70%);
  opacity: 0;
  filter: blur(12px);
}

.hero-slide.is-active .hero-glow {
  animation: hsGlowIn 1.4s ease 0.1s forwards;
}

.hero-slide.is-active[data-phase="4"] .hero-glow {
  opacity: 1;
  animation: hsGlowBreathe 2.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-story {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, 900px);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hs-beat {
  margin: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  filter: blur(8px);
  transition:
    opacity 0.48s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.48s,
    filter 0.48s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.48s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide[data-phase="1"] .hs-beat--grow,
.hero-slide[data-phase="compress"] .hs-beat--grow,
.hero-slide[data-phase="2"] .hs-beat--bridge {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  filter: blur(0);
  transform: translate(-50%, -50%) scale(1);
}

/* pivot sits above the rail ? line pushes the sentence up */
.hero-slide[data-phase="3"] .hs-beat--pivot {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  filter: blur(0);
  transform: translate(-50%, calc(-50% - 1.65em)) scale(1);
  z-index: 4;
}

.hero-slide[data-phase="4"] .hs-beat--final {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  position: relative;
  left: auto;
  top: auto;
  filter: none;
  transform: none;
}

/* ?? 2. Light blade reveal ?? */

.hs-beat--grow {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.2vw, 2.9rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}

.hs-blade-wrap {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.hs-grow-text {
  display: inline-block;
  clip-path: inset(0 100% 0 0);
  will-change: clip-path;
}

.hs-blade {
  position: absolute;
  top: -10%;
  bottom: -10%;
  left: 0;
  width: 5px;
  border-radius: 3px;
  background: linear-gradient(180deg, transparent 0%, #9ad4ef 18%, #fff 50%, #9ad4ef 82%, transparent 100%);
  box-shadow:
    0 0 16px 4px rgba(12, 138, 184, 0.8),
    0 0 42px 10px rgba(10, 107, 156, 0.4),
    0 0 64px 16px rgba(10, 107, 156, 0.18);
  opacity: 0;
  pointer-events: none;
  will-change: left, opacity, transform;
}

.hs-blade::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 4px;
  width: 28px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(154, 212, 239, 0), rgba(154, 212, 239, 0.55) 55%, rgba(255, 255, 255, 0.35));
  filter: blur(5px);
  opacity: 0.9;
  pointer-events: none;
}

.hero-slide[data-phase="1"] .hs-grow-text {
  animation: hsBladeReveal 1.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-slide[data-phase="1"] .hs-blade {
  animation: hsBladeSweep 1.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ?? Energy rail (continues from crush) ?? */

.hs-rail {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(520px, 86vw);
  height: 28px;
  transform: translate(-50%, -50%);
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
}

.hero-slide[data-phase="compress"] .hs-rail,
.hero-slide[data-phase="2"] .hs-rail,
.hero-slide[data-phase="4"] .hs-rail {
  opacity: 1;
  visibility: visible;
}

/* phase 3: rail drops under copy; sentence lifted above */
.hero-slide[data-phase="3"] .hs-rail {
  opacity: 1;
  visibility: visible;
  z-index: 2;
  transform: translate(-50%, calc(-50% + 1.25em));
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s;
}

.hero-slide[data-phase="3"] .hs-rail-line {
  width: min(200px, 48vw);
  opacity: 0.7;
  filter: brightness(1.1);
  box-shadow: 0 0 16px rgba(10, 107, 156, 0.32);
}

.hero-slide[data-phase="3"] .hs-rail-dot {
  opacity: 0 !important;
  animation: none !important;
}

.hero-slide[data-phase="4"] .hs-rail {
  transform: translate(-50%, calc(-50% + 1.25em));
  animation: hsRailExit 0.85s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hs-rail-line {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 3.5px;
  width: 0;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg, #053a56, #0a6b9c 42%, #7ad0ef 70%, #0c8ab8);
  box-shadow: 0 0 18px rgba(10, 107, 156, 0.45);
  transform-origin: center;
  transition:
    width 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.45s ease,
    box-shadow 0.45s ease,
    border-radius 0.45s ease,
    height 0.45s ease;
}

.hero-slide[data-phase="compress"] .hs-rail-line {
  width: min(200px, 50vw);
  animation: hsRailFlash 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-slide[data-phase="2"] .hs-rail-line {
  width: min(460px, 82vw);
  transition-duration: 0.9s;
  filter: brightness(1.15);
  box-shadow:
    0 0 22px rgba(10, 107, 156, 0.5),
    0 0 40px rgba(122, 208, 239, 0.25);
}

.hs-rail-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 10px 2px rgba(122, 208, 239, 0.95),
    0 0 22px 6px rgba(10, 107, 156, 0.45);
  opacity: 0;
  pointer-events: none;
}

.hero-slide[data-phase="2"] .hs-rail-dot {
  animation: hsRailDotRun 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.12s forwards;
}

.hero-slide[data-phase="compress"] .hs-blade { display: none; }

.hero-slide[data-phase="compress"] .hs-grow-text {
  clip-path: none;
  animation: hsCrushText 0.55s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* ?? Bridge: line pulls copy (no arrow) ?? */

.hs-beat--bridge {
  width: min(520px, 90vw);
  text-align: center;
}

.hs-bridge-line {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.7vw, 1.8rem);
  font-weight: 650;
  color: var(--accent-deep);
  line-height: 1.4;
  transform: translateY(-1.15em);
}

.hs-pull-text {
  display: inline-block;
  clip-path: inset(0 100% 0 0);
  opacity: 0.35;
}

.hero-slide[data-phase="2"] .hs-pull-text {
  animation: hsPullText 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.28s forwards;
}

/* dissolve bridge when pivoting */
.hero-slide[data-phase="3"] .hs-beat--bridge {
  opacity: 0;
  visibility: hidden;
  filter: blur(12px);
  transform: translate(-50%, -50%) scale(1.06);
  transition:
    opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.55s ease,
    transform 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.55s;
}

/* ?? pivot: coalesce from same axis ?? */

.hs-beat--pivot {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.6vw, 2.45rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  text-align: center;
  max-width: 16em;
}

.hero-slide[data-phase="3"] .hs-beat--pivot {
  animation: hsPivotIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* pivot crushes down into the rail under it */
.hero-slide[data-phase="4"] .hs-beat--pivot {
  opacity: 0;
  visibility: hidden;
  filter: blur(0);
  z-index: 4;
  transform: translate(-50%, calc(-50% + 0.6em)) scaleX(0.06) scaleY(0.12);
  transition:
    opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.5s;
}

/* ?? 11+12. Final: title slam, then rest; gradient lights later ?? */

.hs-beat--final {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hs-beat--final > * {
  opacity: 0;
}

.hs-beat--final .hero-kicker {
  margin: 0 0 16px;
  font-size: clamp(0.9rem, 1.5vw, 1.02rem);
  font-weight: 650;
  letter-spacing: 0.12em;
  color: var(--accent);
  transform: translateY(14px);
}

.hs-final-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.8vw, 3.25rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15em 0.25em;
  transform: scale(1.06) translateY(10px);
  overflow: visible;
}

.hero-title-main { color: var(--accent-deep); }

.hs-beat--final .hero-grad {
  background: linear-gradient(105deg, #9aa3ab 0%, #9aa3ab 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.hs-beat--final .lead {
  margin: 0 0 12px;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  font-weight: 600;
  color: var(--ink-soft);
  max-width: 22em;
  transform: translateY(16px);
}

.hs-beat--final .hero-fact {
  margin: 0 0 28px;
  max-width: 34em;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
  transform: translateY(16px);
}

.hs-beat--final .btn-row {
  justify-content: center;
  transform: translateY(18px);
}

.hero-slide[data-phase="4"] .hs-beat--final {
  transition-delay: 0.28s;
}

.hero-slide[data-phase="4"] .hs-final-title {
  animation: hsTitleSlam 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.38s forwards;
}

.hero-slide[data-phase="4"] .hero-kicker {
  animation: hsFinalUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.55s forwards;
}

.hero-slide[data-phase="4"] .hs-beat--final .lead {
  animation: hsFinalUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.68s forwards;
}

.hero-slide[data-phase="4"] .hs-beat--final .hero-fact {
  animation: hsFinalUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

.hero-slide[data-phase="4"] .hs-beat--final .btn-row {
  animation: hsFinalUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.95s forwards;
}

.hero-slide[data-phase="4"] .hs-beat--final .hero-grad {
  /* enter light-up, then idle shimmer every 5s (after story settles) */
  animation:
    hsGradLight 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.85s forwards,
    heroKeywordPulse 5s ease-in-out 2.5s infinite;
}

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}

.hero-dot.is-active {
  background: var(--accent);
  transform: scale(1.12);
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 56px;
  height: 56px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(6, 74, 110, 0.72);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    color 0.3s var(--ease),
    opacity 0.45s var(--ease),
    visibility 0.45s;
  -webkit-tap-highlight-color: transparent;
}

.hero-carousel.is-hero-ready .hero-nav {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hero-nav svg {
  width: 36px;
  height: 36px;
  display: block;
  pointer-events: none;
}

.hero-nav:hover,
.hero-nav:focus-visible {
  color: var(--accent);
  outline: none;
}

.hero-nav:active {
  color: var(--accent-deep);
}

/* plain lengths so wide screens never fall back to static bottom-left */
.hero-nav--prev { left: 28px; }

.hero-nav--next { right: 28px; }

@media (max-width: 1100px) {
  .hero-nav--prev { left: 14px; }

  .hero-nav--next { right: 14px; }
}

@media (max-width: 900px) {
  .hero-nav {
    width: 44px;
    height: 44px;
  }

  .hero-nav svg {
    width: 26px;
    height: 26px;
  }

  .hero-nav--prev { left: 6px; }

  .hero-nav--next { right: 6px; }
}


@media (max-width: 900px) {
.hero-carousel,
  .hero-slides,
  .hero-slide { min-height: auto; }

.hero-slide { padding: 48px 0 72px; position: relative; }

.hero-slide:not(.is-active) {
    position: absolute;
  }

.hero-story { min-height: 260px; }

.hs-bridge-line { text-align: center; transform: translateY(-1em); }

.hs-final-title {
    font-size: clamp(1.7rem, 7vw, 2.4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
.hero-slide {
    transition: none !important;
    filter: none !important;
    transform: none !important;
  }

.hs-beat {
    transition: none !important;
    filter: none !important;
  }

.hs-blade::after {
    display: none !important;
  }

.hero-grid,
  .hero-glow,
  .hs-grow-text,
  .hs-blade,
  .hs-rail,
  .hs-rail-line,
  .hs-rail-dot,
  .hs-pull-text,
  .hs-beat--pivot,
  .hs-final-title,
  .hs-beat--final .hero-kicker,
  .hs-beat--final .lead,
  .hs-beat--final .hero-fact,
  .hs-beat--final .btn-row,
  .hs-beat--final .hero-grad {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    stroke-dashoffset: 0 !important;
    filter: none !important;
  }

.hero-slide[data-hero-story] .hs-beat {
    position: absolute;
    opacity: 0;
    visibility: hidden;
  }

.hero-slide[data-hero-story] .hs-beat--final {
    position: relative;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    left: auto;
    top: auto;
    transform: none;
  }

.hs-beat--final .hero-grad {
    background: linear-gradient(105deg, #053a56 0%, #0a6b9c 45%, #1490c0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}

@media (max-width: 900px) {
.hero-carousel,
  .hero-slide {
    min-height: auto;
  }

.hero-slide {
    padding: 36px 0 64px;
  }
}

.pi-item {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 28px 28px 32px;
  color: inherit;
  min-width: 0;
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.35s ease;
}

.pi-item + .pi-item {
  border-left: 1px solid rgba(10, 107, 156, 0.12);
}

.pi-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 0;
  background: var(--accent);
  transition: height 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-index.is-visible .pi-item,
.product-index.is-on .pi-item {
  opacity: 1;
  transform: none;
}

.product-index.is-visible .pi-item:nth-child(1),
.product-index.is-on .pi-item:nth-child(1) { transition-delay: 0.06s; }

.product-index.is-visible .pi-item:nth-child(2),
.product-index.is-on .pi-item:nth-child(2) { transition-delay: 0.16s; }

.product-index.is-visible .pi-item:nth-child(3),
.product-index.is-on .pi-item:nth-child(3) { transition-delay: 0.26s; }

.pi-item:hover {
  color: inherit;
  background: rgba(10, 107, 156, 0.035);
}

.pi-item:hover::before {
  height: 100%;
}

.pi-num {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  color: var(--accent);
  opacity: 0.7;
  line-height: 1.6;
  margin-top: 0.2em;
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.pi-item:hover .pi-num {
  opacity: 1;
  transform: translateY(-2px);
}

.pi-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.pi-name {
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 650;
  color: var(--ink);
  line-height: 1.4;
  transition: color 0.3s ease;
}

.pi-item:hover .pi-name {
  color: var(--accent);
}

.pi-desc {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
  flex: 1;
}

.pi-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 550;
}

.pi-arrow {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.pi-item:hover .pi-arrow {
  transform: translateX(6px);
}

@media (max-width: 900px) {
.pi-item {
    padding: 22px 4px 24px;
    border-bottom: 1px solid rgba(10, 107, 156, 0.12);
  }

.pi-item + .pi-item {
    border-left: none;
  }

.pi-item::before {
    left: 0;
    top: auto;
    bottom: 0;
    width: 0;
    height: 2px;
    transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  }

.pi-item:hover::before {
    width: 100%;
    height: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
.pi-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

.pi-item:hover .pi-arrow,
  .pi-item:hover .pi-num {
    transform: none;
  }
}

/* ?? News split (homepage, iFlytek-like) ?? */

.news-split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 40px 48px;
  align-items: stretch;
  margin-top: 8px;
}

.news-feature {
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: inherit;
  min-width: 0;
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-split.is-visible .news-feature {
  opacity: 1;
  transform: none;
}

.news-feature:hover {
  color: inherit;
}

.news-feature-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #e8eef3;
}

.news-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-feature:hover .news-feature-media img {
  transform: scale(1.04);
}

.news-tag {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 1;
  padding: 5px 10px;
  background: rgba(15, 30, 45, 0.72);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 550;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.news-feature-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-feature-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 650;
  color: var(--ink);
  line-height: 1.4;
  transition: color 0.3s ease;
}

.news-feature:hover .news-feature-title {
  color: var(--accent);
}

.news-feature-meta {
  font-size: 0.82rem;
  color: var(--muted);
}

.news-feature-excerpt {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-side {
  display: flex;
  flex-direction: column;
  min-width: 0;
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.12s,
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.12s;
}

.news-split.is-visible .news-side {
  opacity: 1;
  transform: none;
}

.news-side-label {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 8px;
  padding: 4px 10px;
  background: var(--ink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 550;
  letter-spacing: 0.04em;
}

.news-side-list {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-side-item {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  transition: padding-left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-side-item:first-child {
  border-top: 1px solid var(--line);
}

.news-side-item:hover {
  color: inherit;
  padding-left: 8px;
}

.news-side-date {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.news-side-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
  transition: color 0.25s ease;
}

.news-side-item:hover .news-side-title {
  color: var(--accent);
}

.reveal.news-split {
  opacity: 1;
  transform: none;
  filter: none;
}

@media (max-width: 900px) {
.news-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
.news-feature,
  .news-side {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

.news-feature:hover .news-feature-media img {
    transform: none;
  }
}


/* Shared / local motion keyframes */

@keyframes accentPop {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroStageIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hsCrushText {
  0% { transform: scale(1); opacity: 1; filter: blur(0); letter-spacing: 0; }
  55% { transform: scaleX(1.05) scaleY(0.35); opacity: 0.55; filter: blur(0.4px); }
  100% { transform: scaleX(0.04) scaleY(0.06); opacity: 0; filter: blur(1px); letter-spacing: -0.2em; }
}

@keyframes hsDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes hsRailFlash {
  0% { filter: brightness(1); box-shadow: 0 0 0 transparent; }
  40% {
    filter: brightness(1.9);
    box-shadow: 0 0 32px rgba(122, 208, 239, 0.75), 0 0 14px rgba(10, 107, 156, 0.45);
  }
  100% {
    filter: brightness(1);
    box-shadow: 0 0 16px rgba(10, 107, 156, 0.4);
  }
}

@keyframes hsRailDotRun {
  0% { left: 18%; opacity: 0; transform: scale(0.5); }
  18% { opacity: 1; transform: scale(1); }
  100% { left: 88%; opacity: 1; transform: scale(1); }
}

@keyframes hsRailDotPulse {
  0% { left: 50%; opacity: 0.9; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.35); filter: brightness(1.4); }
  100% { left: 50%; opacity: 0.55; transform: scale(0.85); }
}

@keyframes hsRailExit {
  0% { opacity: 1; transform: translate(-50%, -50%) scaleX(1); }
  35% { opacity: 1; transform: translate(-50%, -50%) scaleX(0.12); filter: brightness(1.6); }
  70% { opacity: 0.85; transform: translate(-50%, -50%) scale(0.15); }
  100% { opacity: 0; visibility: hidden; transform: translate(-50%, -50%) scale(0); }
}

@keyframes hsPivotIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.42);
    filter: blur(14px);
    letter-spacing: 0.12em;
  }
  55% {
    opacity: 1;
    filter: blur(2px);
    letter-spacing: 0.02em;
  }
  100% {
    opacity: 1;
    transform: translate(-50%, calc(-50% - 1.65em)) scale(1);
    filter: none;
    letter-spacing: normal;
  }
}

@keyframes nodePulse {
  0% { transform: scale(0.7); opacity: 0.5; }
  60% { transform: scale(1.08); }
  100% { transform: none; opacity: 1; }
}

/* === hero mark (small laptop/phone + pack) @ title corner === */

.hero-grad-wrap {
  position: relative;
  display: inline-block;
  vertical-align: baseline;
  /* no padding — mark is absolute and must not shift title centering */
  overflow: visible;
}

.hs-beat--final,
.hs-final-title,
.hero-story {
  overflow: visible;
}

.hero-mark {
  position: absolute;
  left: 100%;
  top: -0.7em;
  margin-left: 4px;
  width: 48px;
  height: 40px;
  color: var(--accent, #0a6b9c);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* resting pose; enter keyframes override via animation-fill-mode: both */
  transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  filter: none;
  transform-origin: 30% 70%;
  z-index: 4;
  will-change: transform, opacity, filter;
}

.hero-mark--phone {
  width: 36px;
  height: 46px;
  top: -0.95em;
}

.hero-mark .hm-device {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 3px 8px rgba(10, 70, 110, 0.16));
}

.hero-mark--phone .hm-device {
  width: 82%;
  height: auto;
}

.hm-burst,
.hm-ring,
.hm-trail {
  position: absolute;
  inset: -8px;
  pointer-events: none;
  opacity: 0;
}

.hm-burst {
  background: radial-gradient(circle, rgba(20, 144, 200, 0.5) 0%, transparent 70%);
  border-radius: 50%;
  transform: scale(0.15);
}

.hm-ring {
  border: 1.5px solid rgba(20, 144, 200, 0.6);
  border-radius: 50%;
  transform: scale(0.3);
}

.hm-trail {
  inset: auto;
  width: 160%;
  height: 40%;
  left: -80%;
  top: 25%;
  background: linear-gradient(100deg, transparent 0%, rgba(20, 144, 200, 0.45) 50%, transparent 100%);
  filter: blur(5px);
  transform: rotate(-32deg) scaleX(0.15);
  transform-origin: right center;
  border-radius: 40px;
}

.hm-stage {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 44%;
  height: 38%;
  transform: translate(-50%, -50%);
  overflow: hidden;
  border-radius: 2px;
  z-index: 1;
}

.hero-mark--phone .hm-stage {
  top: 48%;
  width: 50%;
  height: 52%;
  border-radius: 3px;
}

.hm-pack {
  position: absolute;
  inset: 8% 12%;
  border-radius: 2px;
  opacity: 0;
  transform: translateY(120%) scale(0.7) rotate(-8deg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

.hm-pack[data-pack="0"] {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 40%),
    repeating-linear-gradient(90deg, #e8c48a 0 3px, #d4a86a 3px 6px);
}

.hm-pack[data-pack="1"] {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent 40%),
    linear-gradient(135deg, #9ec9a8 0%, #6fa882 55%, #e8f0e4 100%);
}

.hm-pack[data-pack="2"] {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 35%),
    linear-gradient(160deg, #f0e6d4 0%, #c9a882 45%, #8a6a4a 100%);
}

.hm-pack::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 22%;
  height: 18%;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.55);
}

.hm-pack::before {
  content: "";
  position: absolute;
  left: 18%;
  right: 28%;
  top: 52%;
  height: 8%;
  border-radius: 1px;
  background: rgba(40, 50, 60, 0.18);
}

.hm-scan {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 10%;
  height: 1.5px;
  border-radius: 1px;
  background: linear-gradient(90deg, transparent, #5ec8ff, transparent);
  box-shadow: 0 0 6px rgba(80, 190, 255, 0.7);
  opacity: 0;
  z-index: 2;
}

.hm-check {
  position: absolute;
  right: 2%;
  bottom: 4%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #1fa87a;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.75);
  opacity: 0;
  transform: scale(0.4);
  z-index: 3;
}

.hm-check::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 1px;
  width: 3.5px;
  height: 5.5px;
  border: solid #fff;
  border-width: 0 1.4px 1.4px 0;
  transform: rotate(40deg);
}

/*
  Enter AFTER title slam (~1.1s), fly from hero upper-right corner.
  animation-fill-mode: both keeps 0% pose during delay so motion is visible.
*/
.hero-slide[data-phase="4"].is-active .hero-mark {
  visibility: visible;
  animation: hmMarkEnter 1.35s cubic-bezier(0.14, 1.05, 0.24, 1) 1.15s both;
}

.hero-slide[data-phase="4"].is-active .hero-mark.is-settled {
  opacity: 1;
  visibility: visible;
  filter: none;
  transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  animation: none;
}

.hero-slide[data-phase="4"].is-active .hero-mark.is-entering .hm-burst {
  animation: hmBurst 1s ease-out 1.15s both;
}

.hero-slide[data-phase="4"].is-active .hero-mark.is-entering .hm-ring {
  animation: hmRing 1.05s cubic-bezier(0.16, 1, 0.3, 1) 1.2s both;
}

.hero-slide[data-phase="4"].is-active .hero-mark.is-entering .hm-trail {
  animation: hmTrail 0.95s ease-out 1.15s both;
}

@keyframes hmMarkEnter {
  0% {
    opacity: 0;
    filter: blur(12px);
    /* from upper-right corner of the hero relative to title */
    transform: translate3d(210px, -170px, 0) scale(0.18) rotate(-52deg);
  }
  8% {
    opacity: 1;
    filter: blur(6px);
  }
  55% {
    filter: blur(0);
    transform: translate3d(-10px, 8px, 0) scale(1.22) rotate(6deg);
  }
  72% {
    transform: translate3d(5px, -4px, 0) scale(0.9) rotate(-4deg);
  }
  86% {
    transform: translate3d(-2px, 1px, 0) scale(1.06) rotate(1.5deg);
  }
  100% {
    opacity: 1;
    filter: none;
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
}

@keyframes hmBurst {
  0% { opacity: 0; transform: scale(0.1); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: scale(2.2); }
}

@keyframes hmRing {
  0% { opacity: 0.95; transform: scale(0.25); }
  100% { opacity: 0; transform: scale(2); }
}

@keyframes hmTrail {
  0% { opacity: 0; transform: rotate(-32deg) scaleX(0.1); }
  25% { opacity: 1; }
  100% { opacity: 0; transform: rotate(-32deg) scaleX(1.35) translateX(30%); }
}

.hero-mark.is-settled .hm-device {
  animation: hmIdleGlow 5s ease-in-out infinite;
}

@keyframes hmIdleGlow {
  0%, 100% { filter: drop-shadow(0 3px 8px rgba(10, 70, 110, 0.14)); }
  50% { filter: drop-shadow(0 3px 12px rgba(20, 130, 190, 0.3)); }
}

.hero-mark.is-uploading .hm-pack.is-active {
  animation: hmPackIn 0.85s cubic-bezier(0.2, 0.9, 0.25, 1) forwards;
}

.hero-mark.is-scanning .hm-pack.is-active,
.hero-mark.is-done .hm-pack.is-active,
.hero-mark.is-static .hm-pack.is-active {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(0);
}

.hero-mark.is-scanning .hm-scan {
  opacity: 1;
  animation: hmScan 1.6s ease-in-out infinite;
}

.hero-mark.is-done .hm-check {
  animation: hmCheckPop 0.45s cubic-bezier(0.16, 1.2, 0.3, 1) forwards;
}

@keyframes hmPackIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -110%) scale(0.5) rotate(-20deg);
  }
  55% {
    opacity: 1;
    transform: translate(8%, 10%) scale(1.1) rotate(4deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0);
  }
}

@keyframes hmScan {
  0%, 100% { top: 12%; opacity: 0.4; }
  50% { top: 78%; opacity: 1; }
}

@keyframes hmCheckPop {
  0% { opacity: 0; transform: scale(0.3); }
  70% { opacity: 1; transform: scale(1.2); }
  100% { opacity: 1; transform: scale(1); }
}

@media (max-width: 900px) {
  .hero-mark {
    width: 40px;
    height: 34px;
    margin-left: 2px;
    top: -0.55em;
  }
  .hero-mark--phone {
    width: 30px;
    height: 40px;
    top: -0.75em;
  }

  @keyframes hmMarkEnter {
    0% {
      opacity: 0;
      filter: blur(10px);
      transform: translate3d(100px, -110px, 0) scale(0.2) rotate(-42deg);
    }
    8% {
      opacity: 1;
      filter: blur(5px);
    }
    55% {
      filter: blur(0);
      transform: translate3d(-8px, 6px, 0) scale(1.18) rotate(5deg);
    }
    72% {
      transform: translate3d(4px, -3px, 0) scale(0.92) rotate(-3deg);
    }
    100% {
      opacity: 1;
      filter: none;
      transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide[data-phase="4"].is-active .hero-mark {
    animation: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
    transform: none !important;
  }
  .hm-burst, .hm-ring, .hm-trail, .hm-pack, .hm-scan, .hm-check, .hero-mark .hm-device {
    animation: none !important;
  }
  .hero-mark.is-static .hm-pack.is-active {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-mark.is-static .hm-check {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* zc-preview: show hero final frame */
html.zc-preview .reveal,
html.zc-preview .reveal-stagger > *,
html.zc-preview .hero-carousel,
html.zc-preview .hero-slide.is-active .hero-slide-copy > *,
html.zc-preview .hero-slide.is-active .hero-slide-visual,
html.zc-preview .hero-slide.is-active .hero-orbit,
html.zc-preview .hero-inner > *,
html.zc-preview .hero-accent,
html.zc-preview .mood-card,
html.zc-preview .mood-card .mood-copy,
html.zc-preview .mood-card .mood-art,
html.zc-preview .flow-step,
html.zc-preview .flow-arrow {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  animation: none !important;
  transition: none !important;
}
html.zc-preview .hero-slide {
  transition: none !important;
  filter: none !important;
  transform: none !important;
}
html.zc-preview .hero-slide.is-active {
  opacity: 1 !important;
}
html.zc-preview .hero-slide[data-hero-story] .hs-beat {
  position: absolute;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
html.zc-preview .hero-slide[data-hero-story] .hs-beat--final,
html.zc-preview .hero-slide[data-hero-story][data-phase="4"] .hs-beat--final {
  position: relative !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
}
html.zc-preview .hs-beat--final > *,
html.zc-preview .hs-beat--final .hero-kicker,
html.zc-preview .hs-beat--final .lead,
html.zc-preview .hs-beat--final .hero-fact,
html.zc-preview .hs-beat--final .btn-row,
html.zc-preview .hs-beat--final .hero-grad,
html.zc-preview .hs-final-title {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  animation: none !important;
  clip-path: none !important;
  filter: none !important;
}
html.zc-preview .hero-slide[data-phase="4"].is-active .hero-mark {
  opacity: 1 !important;
  transform: none !important;
}
