/* Refinamentos locais que preservam a direção visual original. */
html,
body {
  overflow-x: hidden;
}

.nav-cta {
  cursor: pointer;
  font: inherit;
}

.button-icon {
  width: 21px;
  height: 21px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.message-wa-icon,
.conversation-wa,
.dialog-wa-icon {
  object-fit: contain;
  filter: saturate(1.12) brightness(1.06) drop-shadow(0 0 5px rgba(37, 211, 102, .38));
}

.message-wa-icon {
  width: 25px;
  height: 25px;
  flex: none;
}

.conversation-wa {
  width: 28px;
  height: 28px;
  margin-left: auto;
}

.dialog-wa-icon {
  width: 30px;
  height: 30px;
}

.check-mark {
  color: #42e38a;
  font-size: 20px;
  font-weight: 800;
}

.meta-partner:not(.meta-card) img {
  width: 164px !important;
  height: auto !important;
  max-width: 100%;
}

.meta-card {
  width: min(300px, 78vw);
  margin-top: 28px;
  background: transparent;
}

.meta-card-inner {
  position: relative;
  display: grid;
  place-items: center;
  height: 146px;
  padding: 0 32px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
}

.meta-card-inner img {
  width: 210px !important;
  height: auto !important;
  max-width: 100%;
  filter: contrast(1.08) saturate(1.05);
}

.meta-verified {
  position: absolute;
  top: -17px;
  right: -15px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  font-size: 21px;
  font-weight: 800;
  background: #2f9aec;
  clip-path: polygon(50% 0, 61% 12%, 75% 6%, 80% 20%, 94% 25%, 88% 39%, 100% 50%, 88% 61%, 94% 75%, 80% 80%, 75% 94%, 61% 88%, 50% 100%, 39% 88%, 25% 94%, 20% 80%, 6% 75%, 12% 61%, 0 50%, 12% 39%, 6% 25%, 20% 20%, 25% 6%, 39% 12%);
  box-shadow: 0 10px 22px rgba(47, 154, 236, .28);
}

.hero-3d .hero-meta-card {
  position: absolute;
  z-index: 5;
  top: 64%;
  left: -28px;
  width: 230px;
  margin: 0;
  animation: float-panel 6s ease-in-out infinite;
}

.hero-3d .hero-meta-card .meta-card-inner {
  height: 116px;
  padding: 0 20px;
  overflow: visible;
  border-radius: 14px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, .28), 0 2px 8px rgba(255, 255, 255, .12) inset;
}

.hero-3d .hero-meta-card .meta-card-inner img {
  width: 172px !important;
}

.hero-3d .hero-meta-card .meta-verified {
  top: -14px;
  right: -13px;
  width: 38px;
  height: 38px;
  font-size: 17px;
}

.journey-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.human-journey article {
  animation: journey-settle both;
  animation-timeline: view();
  animation-range: entry 0% cover 30%;
}

.human-journey article:nth-of-type(2) {
  animation-range: entry 5% cover 35%;
}

.human-journey article:nth-of-type(3) {
  animation-range: entry 10% cover 40%;
}

@keyframes journey-settle {
  0% {
    opacity: 0;
    transform: translateY(42px) scale(.94);
    filter: blur(2px);
  }
  72% {
    opacity: 1;
    transform: translateY(-4px) scale(1.01);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Fallback for browsers that do not support view-timeline. */
.human-journey article {
  opacity: 0;
  transform: translateY(42px) scale(.94);
  animation: none;
  transition: opacity .2s ease, transform .2s ease;
}

.human-journey article.journey-visible {
  animation: journey-settle .78s cubic-bezier(.2, .75, .25, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  .human-journey article {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

html.motion-showcase .hero-3d .hero-meta-card { animation: hero-card-left 1s cubic-bezier(.18,.8,.24,1) .35s both, meta-hover 6s ease-in-out 1.35s infinite !important; }
html.motion-showcase .hero-3d .hero-message-strip { animation: hero-card-right 1s cubic-bezier(.18,.8,.24,1) .58s both !important; }
html.motion-showcase .hero-copy > .cta:first-of-type { animation: cta-bounce 3.8s cubic-bezier(.35,.08,.25,1) 1.6s infinite !important; }
html.motion-showcase .hero-3d .mascot-stage > img { animation: mascot-float 6.5s ease-in-out infinite, mascot-breathe 4.8s ease-in-out .2s infinite !important; }
html.motion-showcase .statement .typing-copy { animation: typing-line 1.45s steps(25,end) both !important; }
html.motion-showcase .statement .typing-copy:nth-of-type(2) { animation-delay: 1.55s !important; }
html.motion-showcase .conversation-preview.is-visible .bubble { animation: chat-bubble-in .55s cubic-bezier(.2,.75,.25,1) both !important; }
html.motion-showcase .human-journey article.is-visible { animation: journey-card-in .7s cubic-bezier(.2,.75,.25,1) both !important; }

/* Focused motion and visual treatments for the five requested sections. */
.hero-hook .hook-char {
  opacity: 0;
  animation: hook-character .14s cubic-bezier(.2, .75, .25, 1) calc(var(--hook-index) * 9ms) both;
}

.hero-hook.is-writing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: .86em;
  margin-left: .08em;
  vertical-align: -.06em;
  background: #11c8f4;
  animation: hook-caret .72s steps(2, end) infinite;
}

.mascot-stage {
  isolation: isolate;
}

.mascot-stage > img {
  z-index: 2;
  position: relative;
}

.solar-system {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  display: grid;
  place-items: center;
  perspective: 650px;
}

.solar-orbit {
  position: absolute;
  top: 49%;
  left: 50%;
  width: min(94%, 460px);
  height: 44%;
  border: 1px solid #35d8f45c;
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(67deg);
  animation: solar-revolution 16s linear infinite;
  box-shadow: 0 0 18px #14cbed18;
}

.solar-orbit i {
  position: absolute;
  top: 50%;
  left: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #39e2ec;
  box-shadow: 0 0 13px #39e2ec;
}

.solar-orbit-two {
  width: min(76%, 360px);
  height: 67%;
  border-color: #8270ff66;
  animation-duration: 23s;
  animation-direction: reverse;
}

.solar-orbit-two i {
  width: 7px;
  height: 7px;
  background: #9c88ff;
  box-shadow: 0 0 12px #9c88ff;
}

.solar-orbit-three {
  width: min(58%, 270px);
  height: 32%;
  border-color: #25d36655;
  animation-duration: 12s;
}

.solar-orbit-three i {
  width: 6px;
  height: 6px;
  background: #53ec8b;
  box-shadow: 0 0 12px #53ec8b;
}

.human-journey article.journey-visible {
  animation: journey-card-in .72s cubic-bezier(.2, .75, .25, 1) var(--journey-delay, 0ms) both;
}

.whatsapp-simulation {
  overflow: hidden;
  border-color: #b6d8c5;
  background: #f5f8f6;
  transform: none;
  box-shadow: 0 20px 35px #172e3d12, 9px 11px #bfe4d0;
}

.wa-header {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  color: #fff;
  background: #087e68;
}

.wa-back {
  font-size: 31px;
  line-height: 1;
}

.wa-avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #f5fbfc;
}

.wa-avatar img {
  display: none;
}

.wa-avatar::after {
  content: "SC";
  color: #0b7891;
  font-size: 13px;
  font-weight: 700;
}

.wa-contact {
  min-width: 0;
  display: grid;
  gap: 3px;
  margin-right: auto;
}

.wa-contact strong {
  font-size: 14px;
}

.wa-contact span {
  color: #d1f3e7;
  font-size: 11px;
}

.wa-video,
.wa-menu {
  width: 28px;
  height: 28px;
  text-align: center;
  font-size: 21px;
}

.wa-video {
  position: relative;
  display: grid;
  place-items: center;
  font-size: 0;
}

.wa-video::before {
  content: "";
  width: 13px;
  height: 10px;
  border: 1.6px solid currentColor;
  border-radius: 3px;
}

.wa-video::after {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  right: 2px;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid currentColor;
}

.wa-chat {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 16px 14px 13px;
  background-color: #e8efe9;
  background-image: radial-gradient(circle at 16px 16px, #6c90720d 1.5px, transparent 2px), radial-gradient(circle at 40px 39px, #6c90720b 2px, transparent 2.5px);
  background-size: 54px 54px;
}

.wa-day {
  align-self: center;
  padding: 5px 10px;
  border-radius: 8px;
  color: #597164;
  background: #f8fbf8;
  font-size: 10px;
  letter-spacing: .5px;
}

.wa-message {
  width: fit-content;
  max-width: 88%;
  display: grid;
  gap: 4px;
  padding: 9px 11px 6px;
  border-radius: 10px;
  color: #263b32;
  background: #fff;
  box-shadow: 0 1px 1px #20332918;
  font-size: 13px;
  line-height: 1.5;
}

.wa-message time {
  justify-self: end;
  color: #72837a;
  font-size: 9px;
  line-height: 1;
}

.wa-message time b {
  color: #35a8c8;
  font-size: 11px;
  letter-spacing: -2px;
}

.wa-customer {
  align-self: flex-end;
  border-top-right-radius: 3px;
  background: #d9fdd3;
}

.wa-scar {
  align-self: flex-start;
  border-top-left-radius: 3px;
}

.wa-final {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 9px;
  max-width: 96%;
}

.wa-final > span:first-child {
  display: grid;
  gap: 5px;
}

.wa-mascot-reaction {
  width: 48px;
  height: 70px;
  position: relative;
  display: grid;
  align-items: end;
  justify-items: center;
  border-left: 1px solid #e6eee8;
  padding-left: 7px;
}

.wa-mascot-reaction img {
  width: 39px;
  height: 66px;
  object-fit: contain;
}

.wa-mascot-reaction b {
  position: absolute;
  top: 0;
  right: -6px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #d9fdd3;
  font-size: 14px;
}

.wa-composer {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 12px;
  border-radius: 24px;
  color: #75867c;
  background: #fff;
  font-size: 12px;
}

.wa-composer span:nth-child(2) {
  flex: 1;
}

.wa-mic {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #087e68;
  position: relative;
  font-size: 0;
}

.wa-mic::before {
  content: "";
  width: 5px;
  height: 10px;
  position: absolute;
  top: 5px;
  border: 1.4px solid currentColor;
  border-radius: 5px;
}

.wa-mic::after {
  content: "";
  width: 10px;
  height: 8px;
  position: absolute;
  bottom: 5px;
  border: 1.4px solid currentColor;
  border-top: 0;
  border-radius: 0 0 8px 8px;
}

.js-motion .whatsapp-simulation .wa-message {
  opacity: 0;
  transform: translateY(9px) scale(.98);
}

.js-motion .whatsapp-simulation.is-visible .wa-message {
  animation: wa-message-in .44s cubic-bezier(.2, .75, .25, 1) both;
}

.js-motion .whatsapp-simulation.is-visible .wa-mascot-reaction b {
  animation: thumbs-up-pop .45s cubic-bezier(.2, .8, .25, 1) 1.48s both;
}

.js-motion .whatsapp-simulation.is-visible .wa-chat > .wa-message:nth-child(2) { animation-delay: .12s; }
.js-motion .whatsapp-simulation.is-visible .wa-chat > .wa-message:nth-child(3) { animation-delay: .5s; }
.js-motion .whatsapp-simulation.is-visible .wa-chat > .wa-message:nth-child(4) { animation-delay: .88s; }
.js-motion .whatsapp-simulation.is-visible .wa-chat > .wa-message:nth-child(5) { animation-delay: 1.26s; }

.demo-section .marker-highlight {
  padding-inline: .04em;
  background-image: linear-gradient(transparent 59%, #18cbe850 59%, #18cbe850 91%, transparent 91%);
  background-repeat: no-repeat;
  background-size: 0% 100%;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.demo-section.is-visible .marker-highlight {
  background-size: 100% 100%;
  transition: background-size .85s cubic-bezier(.2, .75, .25, 1) .22s;
}

.offer-scene {
  width: 100%;
  max-width: 550px;
  height: 294px;
  margin: 29px 0 20px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #285a6b;
  border-radius: 20px;
  background: radial-gradient(ellipse at 50% 76%, #0cb9d42b, transparent 47%), linear-gradient(145deg, #0e202d, #0a121c 74%);
}

.offer-mascot {
  height: 93%;
  width: auto;
  max-width: 42%;
  position: absolute;
  z-index: 2;
  bottom: -2%;
  left: 50%;
  object-fit: contain;
  translate: -50% 0;
  transform: none;
  filter: drop-shadow(0 16px 18px #0008) drop-shadow(0 0 18px #19cae733);
  animation: mascot-float 5.6s ease-in-out infinite;
}

.offer-tool {
  width: clamp(104px, 27%, 138px);
  min-height: 44px;
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border: 1px solid #3a7888;
  border-radius: 11px;
  color: #e8f7fa;
  background: #102634eF;
  box-shadow: 0 9px 20px #0005, 0 0 16px #17c8e51c;
  font-size: 11px;
  white-space: nowrap;
  animation: offer-tool-float 4s ease-in-out calc(var(--tool-index, 0) * -420ms) infinite;
}

.offer-tool img {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  object-fit: contain;
  filter: drop-shadow(0 3px 5px #0006);
}

.offer-tool-1 { top: 14%; left: 2%; --tool-index: 0; }
.offer-tool-2 { top: 42%; left: 2%; --tool-index: 1; }
.offer-tool-3 { top: 70%; left: 2%; --tool-index: 2; }
.offer-tool-4 { top: 14%; right: 2%; --tool-index: 3; }
.offer-tool-5 { top: 42%; right: 2%; --tool-index: 4; }
.offer-tool-6 { top: 70%; right: 2%; --tool-index: 5; }

.offer-energy {
  width: 24%;
  height: 24px;
  position: absolute;
  z-index: 1;
  top: 71%;
  border-top: 1px solid #30d6eb88;
  filter: drop-shadow(0 0 7px #18cbe966);
}

.offer-energy-left {
  left: 20%;
  border-radius: 70% 0 0;
  transform: rotate(-14deg);
}

.offer-energy-right {
  right: 20%;
  border-radius: 0 70% 0 0;
  transform: rotate(14deg) scaleX(-1);
}

.js-motion .offer-scene.is-visible .offer-tool {
  animation-name: offer-tool-arrive, offer-tool-float;
  animation-duration: .7s, 4s;
  animation-timing-function: cubic-bezier(.2, .75, .25, 1), ease-in-out;
  animation-delay: calc(var(--tool-index, 0) * 110ms), calc(var(--tool-index, 0) * -420ms + 700ms);
  animation-fill-mode: both, none;
  animation-iteration-count: 1, infinite;
}

@keyframes hook-character {
  from { opacity: 0; filter: blur(2px); transform: translateY(5px); }
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}

@keyframes hook-caret {
  50% { opacity: 0; }
}

@keyframes solar-revolution {
  from { transform: translate(-50%, -50%) rotateX(67deg) rotateZ(0deg); }
  to { transform: translate(-50%, -50%) rotateX(67deg) rotateZ(360deg); }
}

@keyframes journey-card-in {
  from { opacity: 0; filter: blur(2px); transform: translateX(-36px) scale(.97); }
  72% { opacity: 1; filter: blur(0); transform: translateX(4px) scale(1.005); }
  to { opacity: 1; filter: blur(0); transform: translateX(0) scale(1); }
}

@keyframes wa-message-in {
  from { opacity: 0; transform: translateY(9px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes thumbs-up-pop {
  from { opacity: 0; transform: scale(.4) rotate(-14deg); }
  75% { opacity: 1; transform: scale(1.14) rotate(5deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes offer-tool-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -7px; }
}

@keyframes offer-tool-arrive {
  from { opacity: 0; scale: .82; }
  to { opacity: 1; scale: 1; }
}

@media (max-width: 700px) {
  .solar-orbit { width: 96%; height: 38%; }
  .solar-orbit-two { width: 78%; height: 61%; }
  .solar-orbit-three { width: 60%; height: 29%; }
  .wa-chat { padding: 13px 10px 11px; }
  .wa-message { max-width: 91%; font-size: 12px; }
  .wa-mascot-reaction { width: 43px; }
  .offer-scene { height: 268px; margin-top: 23px; }
  .offer-mascot { height: 91%; max-width: 39%; }
  .offer-tool { width: 28%; min-height: 40px; gap: 5px; padding: 6px; font-size: 10px; }
  .offer-tool img { width: 23px; height: 23px; flex-basis: 23px; }
  .offer-tool-1, .offer-tool-4 { top: 12%; }
  .offer-tool-2, .offer-tool-5 { top: 41%; }
  .offer-tool-3, .offer-tool-6 { top: 70%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-hook .hook-char { opacity: 1; animation: none; }
  .hero-hook.is-writing::after { display: none; }
  .solar-orbit,
  .human-journey article.journey-visible,
  .wa-mascot-reaction b,
  .offer-mascot,
  .offer-tool,
  .js-motion .offer-scene.is-visible .offer-tool {
    animation: none !important;
  }
  .js-motion .whatsapp-simulation .wa-message { opacity: 1; transform: none; }
  .demo-section .marker-highlight { background-size: 100% 100%; transition: none; }
}

/* Final showcase overrides: the requested visual demo remains visible in the preview. */
html.motion-showcase .hero-3d .hero-meta-card {
  animation: hero-card-left 1s cubic-bezier(.18, .8, .24, 1) .35s both, meta-hover 6s ease-in-out 1.35s infinite !important;
}

html.motion-showcase .hero-3d .hero-message-strip {
  animation: hero-card-right 1s cubic-bezier(.18, .8, .24, 1) .58s both !important;
}

html.motion-showcase .hero-copy > .cta:first-of-type {
  animation: cta-bounce 3.8s cubic-bezier(.35, .08, .25, 1) 1.6s infinite !important;
}

html.motion-showcase .hero-3d .mascot-stage > img {
  animation: mascot-float 6.5s ease-in-out infinite, mascot-breathe 4.8s ease-in-out .2s infinite !important;
}

html.motion-showcase .statement .typing-copy {
  animation: typing-line 1.45s steps(25, end) both !important;
}

html.motion-showcase .statement .typing-copy:nth-of-type(2) {
  animation-delay: 1.55s !important;
}

html.motion-showcase .conversation-preview.is-visible .bubble {
  animation: chat-bubble-in .55s cubic-bezier(.2, .75, .25, 1) both !important;
}

html.motion-showcase .human-journey article.is-visible {
  animation: journey-card-in .7s cubic-bezier(.2, .75, .25, 1) both !important;
}

@media (max-width: 700px) {
  .js-motion .hero-copy,
  .js-motion .hero-visual {
    animation: mobile-intro .8s cubic-bezier(.2, .75, .25, 1) both;
  }

  .js-motion .hero-visual {
    animation-delay: .12s;
  }

  .hero-3d::before,
  .hero-3d::after {
    filter: blur(25px);
    animation-duration: 9s;
  }

  .hero-3d .mascot-stage > img,
  .agent-art > img {
    animation-duration: 7s;
  }

  .honeycomb-grid.calm-hive .module-card:nth-child(n) {
    animation-name: mobile-card-breathe;
    animation-duration: 6.8s;
  }

  .honeycomb-grid.calm-hive .module-card:nth-child(2n) {
    animation-delay: -2.2s;
  }

  .honeycomb-grid.calm-hive .module-card:nth-child(3n) {
    animation-delay: -4.4s;
  }

  .honeycomb-grid.calm-hive .module-card.is-visible {
    animation-name: mobile-card-breathe;
  }

  .cta:active,
  .nav-cta:active,
  .demo-floating:active {
    transform: scale(.97);
  }

  .demo-floating {
    animation: mobile-float-button 3.8s ease-in-out infinite;
  }
}

@keyframes mobile-intro {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

@keyframes mobile-card-breathe {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-5px) scale(1.006); }
}

@keyframes mobile-float-button {
  0%, 100% { box-shadow: 0 8px 30px #0005; }
  50% { box-shadow: 0 10px 34px #25d36666, 0 0 0 5px #25d36618; }
}

@media (max-width: 700px) and (prefers-reduced-motion: reduce) {
  .js-motion .hero-copy,
  .js-motion .hero-visual,
  .honeycomb-grid.calm-hive .module-card:nth-child(n),
  .demo-floating {
    animation: none !important;
  }
}

/* Explicit showcase mode keeps the requested LP choreography visible even when the preview browser reduces motion. */
html.motion-showcase .hero-3d .hero-meta-card {
  animation: hero-card-left 1s cubic-bezier(.18, .8, .24, 1) .35s both, meta-hover 6s ease-in-out 1.35s infinite !important;
}

html.motion-showcase .hero-3d .hero-message-strip {
  animation: hero-card-right 1s cubic-bezier(.18, .8, .24, 1) .58s both !important;
}

html.motion-showcase .hero-copy > .cta:first-of-type {
  animation: cta-bounce 3.8s cubic-bezier(.35, .08, .25, 1) 1.6s infinite !important;
}

html.motion-showcase .hero-3d .mascot-stage > img {
  animation: mascot-float 6.5s ease-in-out infinite, mascot-breathe 4.8s ease-in-out .2s infinite !important;
}

html.motion-showcase .conversation-preview.is-visible .bubble {
  animation: chat-bubble-in .55s cubic-bezier(.2, .75, .25, 1) both;
}

html.motion-showcase .conversation-preview.is-visible .bubble:nth-child(1) { animation-delay: .15s; }
html.motion-showcase .conversation-preview.is-visible .bubble:nth-child(2) { animation-delay: .65s; }
html.motion-showcase .conversation-preview.is-visible .bubble:nth-child(3) { animation-delay: 1.15s; }
html.motion-showcase .conversation-preview.is-visible .bubble:nth-child(4) { animation-delay: 1.65s; }

html.motion-showcase .human-journey article.is-visible {
  animation: journey-card-in .7s cubic-bezier(.2, .75, .25, 1) both;
}

html.motion-showcase .human-journey article.is-visible:nth-of-type(2) { animation-delay: .22s; }
html.motion-showcase .human-journey article.is-visible:nth-of-type(3) { animation-delay: .44s; }

.statement .typing-copy {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  white-space: nowrap;
  width: 0;
  border-right: 2px solid #39d9f5;
  animation: typing-line 1.45s steps(25, end) both;
}

.statement .typing-copy:nth-of-type(2) {
  animation-delay: 1.55s;
}

@keyframes chat-bubble-in {
  from { opacity: 0; transform: translateY(12px) scale(.97); }
  to { opacity: 1; transform: none; }
}

@keyframes journey-card-in {
  from { opacity: 0; transform: translateY(22px) scale(.98); }
  to { opacity: 1; transform: none; }
}

@keyframes typing-line {
  from { width: 0; }
  to { width: 100%; }
}

@media (max-width: 700px) {
  .statement .typing-copy {
    max-width: 100%;
    font-size: .96em;
  }
}

/* Hero choreography: the two supporting cards frame the mascot on entry. */
.hero-3d .hero-meta-card {
  animation: hero-card-left 1s cubic-bezier(.18, .8, .24, 1) .35s both, meta-hover 6s ease-in-out 1.35s infinite;
}

.hero-3d .hero-message-strip {
  animation: hero-card-right 1s cubic-bezier(.18, .8, .24, 1) .58s both;
}

.hero-copy > .cta:first-of-type {
  animation: cta-bounce 3.8s cubic-bezier(.35, .08, .25, 1) 1.6s infinite;
}

.hero-3d .mascot-stage > img {
  animation: mascot-float 6.5s ease-in-out infinite, mascot-breathe 4.8s ease-in-out .2s infinite;
}

@keyframes hero-card-left {
  from { opacity: 0; transform: translate3d(-48px, 18px, 0) rotate(-5deg); }
  to { opacity: 1; transform: translate3d(0, 0, 0) rotate(0); }
}

@keyframes hero-card-right {
  from { opacity: 0; transform: translate3d(48px, 18px, 0) rotate(5deg); }
  to { opacity: 1; transform: translate3d(0, 0, 0) rotate(0); }
}

@keyframes cta-bounce {
  0%, 68%, 100% { transform: translateY(0); }
  73% { transform: translateY(-7px); }
  78% { transform: translateY(0); }
  83% { transform: translateY(-3px); }
  88% { transform: translateY(0); }
}

@keyframes mascot-breathe {
  0%, 100% { filter: drop-shadow(0 22px 26px #0009) drop-shadow(0 0 9px #16cde855); }
  50% { filter: drop-shadow(0 25px 30px #000a) drop-shadow(0 0 22px #16cde888); }
}

@keyframes meta-hover {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-6px) rotate(.8deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-3d .hero-meta-card,
  .hero-3d .hero-message-strip,
  .hero-copy > .cta:first-of-type,
  .hero-3d .mascot-stage > img {
    animation: none !important;
  }
}

.demo-dialog .demo-identification {
  margin: 0 0 22px;
}

.demo-dialog form {
  margin-top: 0;
}

.demo-dialog .demo-symbol {
  overflow: hidden;
}

.honeycomb-grid.calm-hive .module-card:nth-child(n) {
  opacity: 0;
  animation: none !important;
  transform: translateY(24px) scale(.985);
}

.honeycomb-grid.calm-hive .module-card.card-visible:nth-child(n) {
  animation:
    card-rise .72s cubic-bezier(.22, .8, .3, 1) var(--card-delay) both,
    hive-breathe 7s ease-in-out calc(var(--card-delay) + .8s) infinite !important;
}

.honeycomb-grid.calm-hive .module-card.card-visible:nth-child(2n) {
  animation-duration: .72s, 7.8s !important;
}

@keyframes card-rise {
  from {
    opacity: 0;
    transform: translateY(24px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (hover: hover) and (pointer: fine) {
  .honeycomb-grid.calm-hive .module-card.card-visible:hover {
    animation-play-state: paused !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .honeycomb-grid.calm-hive .module-card:nth-child(n) {
    opacity: 1;
    animation: none !important;
    transform: none;
    translate: none;
  }
}

@media (max-width: 700px) {
  .hero-3d .hero-meta-card {
    top: 70%;
    left: -7px;
    width: 204px;
  }

  .hero-3d .hero-meta-card .meta-card-inner {
    height: 104px;
    padding: 0 16px;
    overflow: visible;
  }

  .hero-3d .hero-meta-card .meta-card-inner img {
    width: 154px !important;
  }

  .hero-3d .hero-meta-card .meta-verified {
    top: -12px;
    right: -11px;
    width: 34px;
    height: 34px;
    font-size: 15px;
  }

  .meta-card {
    width: min(272px, 72vw);
  }

  .meta-card-inner {
    height: 138px;
    padding: 0 28px;
  }

  .meta-card-inner img {
    width: 190px !important;
  }
}

/* Motion layer: quiet entrance, depth and light without changing the layout. */
.js-motion .reveal,
.js-motion .statement,
.js-motion .demo-section,
.js-motion .price-card,
.js-motion .conversation-preview {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .72s ease var(--reveal-delay, 0ms), transform .72s cubic-bezier(.2, .75, .25, 1) var(--reveal-delay, 0ms);
}

.js-motion .reveal.is-visible,
.js-motion .statement.is-visible,
.js-motion .demo-section.is-visible,
.js-motion .price-card.is-visible,
.js-motion .conversation-preview.is-visible {
  opacity: 1;
  transform: none;
}

.hero-3d {
  isolation: isolate;
}

.hero-3d::before,
.hero-3d::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(34px);
  opacity: .45;
  animation: ambient-light 8s ease-in-out infinite alternate;
}

.hero-3d::before {
  width: 160px;
  height: 160px;
  top: 14%;
  left: 6%;
  background: #13cfea;
}

.hero-3d::after {
  width: 130px;
  height: 130px;
  right: 8%;
  bottom: 18%;
  background: #25d366;
  animation-delay: -3s;
}

.hero-3d .mascot-stage > img,
.agent-art > img {
  animation: mascot-float 6.5s ease-in-out infinite;
  transform-origin: 50% 90%;
}

.hero-3d .hero-meta-card,
.agent-seal {
  transform: translate3d(0, 0, 0) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform .35s ease, box-shadow .35s ease;
}

.cta,
.nav-cta,
.demo-floating {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.cta::after,
.nav-cta::after,
.demo-floating::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 32%, #ffffff80 48%, transparent 64%);
  transform: translateX(-125%);
  transition: transform .65s ease;
}

@media (hover: hover) and (pointer: fine) {
  .cta:hover::after,
  .nav-cta:hover::after,
  .demo-floating:hover::after {
    transform: translateX(125%);
  }
}

.honeycomb-grid.calm-hive .module-card {
  transform: translate3d(0, 0, 0) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.honeycomb-grid.calm-hive .module-card::before {
  animation: card-sheen 6s ease-in-out infinite;
}

.journey-line {
  background-size: 200% 100%;
  animation: line-flow 5s linear infinite;
}

@keyframes mascot-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-9px) rotate(.7deg); }
}

@keyframes ambient-light {
  from { opacity: .28; transform: translate3d(-8px, 5px, 0) scale(.9); }
  to { opacity: .58; transform: translate3d(10px, -8px, 0) scale(1.12); }
}

@keyframes card-sheen {
  0%, 62%, 100% { transform: translateX(-115%); }
  78% { transform: translateX(115%); }
}

@keyframes line-flow {
  to { background-position: 200% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .js-motion .reveal,
  .js-motion .statement,
  .js-motion .demo-section,
  .js-motion .price-card,
  .js-motion .conversation-preview {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-3d::before,
  .hero-3d::after,
  .hero-3d .mascot-stage > img,
  .agent-art > img,
  .journey-line,
  .honeycomb-grid.calm-hive .module-card::before {
    animation: none;
  }
}

/* Preview override stays last so the requested choreography is visible in the local showcase. */
html.motion-showcase .hero-3d .hero-meta-card { animation: hero-card-left 1s cubic-bezier(.18,.8,.24,1) .35s both, meta-hover 6s ease-in-out 1.35s infinite !important; }
html.motion-showcase .hero-3d .hero-message-strip { animation: hero-card-right 1s cubic-bezier(.18,.8,.24,1) .58s both !important; }
html.motion-showcase .hero-copy > .cta:first-of-type { animation: cta-bounce 3.8s cubic-bezier(.35,.08,.25,1) 1.6s infinite !important; }
html.motion-showcase .hero-3d .mascot-stage > img { animation: mascot-float 6.5s ease-in-out infinite, mascot-breathe 4.8s ease-in-out .2s infinite !important; }
html.motion-showcase .statement .typing-copy { animation: typing-line 1.45s steps(25,end) both !important; }
html.motion-showcase .statement .typing-copy:nth-of-type(2) { animation-delay: 1.55s !important; }
html.motion-showcase .conversation-preview.is-visible .bubble { animation: chat-bubble-in .55s cubic-bezier(.2,.75,.25,1) both !important; }
html.motion-showcase .human-journey article.is-visible { animation: journey-card-in .7s cubic-bezier(.2,.75,.25,1) both !important; }
