/* Smooth motion — layered on top of the layout CSS */

.button span,
.nav-cta span,
.text-link span {
  display: inline-block;
  transition: transform .28s cubic-bezier(.16, 1, .3, 1);
}

.button:hover span,
.nav-cta:hover span {
  transform: translateX(4px);
}

.text-link:hover span {
  transform: translateX(5px);
}

.journey-step {
  transition:
    border-color .4s ease,
    background .4s ease,
    box-shadow .4s ease,
    padding .4s ease,
    transform .4s ease;
}

.main-nav {
  transition: opacity .25s ease, transform .25s ease;
}

@media (max-width: 980px) {
  .main-nav.is-open {
    animation: nav-drop .35s cubic-bezier(.16, 1, .3, 1);
  }
}

@keyframes rise-in {
  from { opacity: 0; translate: 0 28px; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes rise-in-right {
  from { opacity: 0; translate: 36px 0; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes float-y {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

@keyframes orb-drift {
  0%, 100% { translate: 0 0; opacity: .9; }
  50% { translate: 18px -14px; opacity: 1; }
}

@keyframes pulse-glow {
  0%, 100% { opacity: .7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes status-ring {
  0% { box-shadow: 0 0 0 0 rgba(54, 231, 174, .45), 0 0 16px rgba(54, 231, 174, .8); }
  70% { box-shadow: 0 0 0 10px rgba(54, 231, 174, 0), 0 0 16px rgba(54, 231, 174, .8); }
  100% { box-shadow: 0 0 0 0 rgba(54, 231, 174, 0), 0 0 16px rgba(54, 231, 174, .8); }
}

@keyframes ring-expand {
  0% { opacity: .55; transform: scale(.92); }
  70% { opacity: 0; transform: scale(1.08); }
  100% { opacity: 0; transform: scale(1.08); }
}

@keyframes line-shimmer {
  0%, 100% { opacity: .25; }
  50% { opacity: 1; }
}

@keyframes dot-blink {
  0%, 80%, 100% { opacity: .25; transform: scale(.8); }
  40% { opacity: 1; transform: scale(1); }
}

@keyframes play-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(94, 158, 255, .28); }
  70% { box-shadow: 0 0 0 8px rgba(94, 158, 255, 0); }
}

@keyframes grid-shift {
  from { background-position: 0 0; }
  to { background-position: 72px 72px; }
}

@keyframes nav-drop {
  from { opacity: 0; translate: 0 -8px; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes core-glow {
  0%, 100% { box-shadow: 0 0 80px rgba(47, 102, 255, .38), inset 0 1px rgba(255,255,255,.22); }
  50% { box-shadow: 0 0 110px rgba(72, 140, 255, .55), inset 0 1px rgba(255,255,255,.28); }
}

@keyframes faq-open {
  from { opacity: 0; translate: 0 -6px; }
  to { opacity: 1; translate: 0 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-grid,
  .demo-grid-bg {
    animation: grid-shift 28s linear infinite;
  }

  .site-header {
    animation: fade-in .7s ease both;
  }

  .hero-copy .eyebrow { animation: rise-in .8s cubic-bezier(.16, 1, .3, 1) .05s both; }
  .hero-copy h1 { animation: rise-in .9s cubic-bezier(.16, 1, .3, 1) .14s both; }
  .hero-lead { animation: rise-in .85s cubic-bezier(.16, 1, .3, 1) .24s both; }
  .hero-actions { animation: rise-in .85s cubic-bezier(.16, 1, .3, 1) .34s both; }
  .hero-proof { animation: rise-in .85s cubic-bezier(.16, 1, .3, 1) .44s both; }

  .hero-visual {
    animation: rise-in-right 1s cubic-bezier(.16, 1, .3, 1) .22s both;
  }

  .hero-capabilities > div {
    animation: rise-in .75s cubic-bezier(.16, 1, .3, 1) both;
  }
  .hero-capabilities > div:nth-child(1) { animation-delay: .45s; }
  .hero-capabilities > div:nth-child(2) { animation-delay: .54s; }
  .hero-capabilities > div:nth-child(3) { animation-delay: .63s; }
  .hero-capabilities > div:nth-child(4) { animation-delay: .72s; }

  .eyebrow-dot {
    animation: pulse-glow 2s ease-in-out infinite;
  }

  .play {
    animation: play-pulse 2.4s ease-out infinite;
  }

  .orb-one { animation: orb-drift 9s ease-in-out infinite; }
  .orb-two { animation: orb-drift 11s ease-in-out infinite reverse; }

  .floating-note {
    animation: float-y 5s ease-in-out infinite;
  }
  .note-right { animation-delay: -2.4s; }

  .call-card {
    animation: float-y 6.5s ease-in-out infinite;
  }

  .status-pulse {
    animation: status-ring 1.8s ease-out infinite;
  }

  .live-pill i,
  .console-agent small i,
  .availability-orbit::after {
    animation: pulse-glow 1.8s ease-in-out infinite;
  }

  .thinking-row i {
    animation: dot-blink 1.2s ease-in-out infinite;
  }
  .thinking-row i:nth-child(2) { animation-delay: .15s; }
  .thinking-row i:nth-child(3) { animation-delay: .3s; }

  .voice-avatar > .ring-one,
  .voice-avatar > .ring-two {
    animation: ring-expand 3.2s ease-out infinite;
  }
  .voice-avatar > .ring-two { animation-delay: 1.1s; }

  .connection-lines i {
    animation: line-shimmer 2.6s ease-in-out infinite;
  }
  .connection-lines i:nth-child(2) { animation-delay: .2s; }
  .connection-lines i:nth-child(3) { animation-delay: .4s; }
  .connection-lines i:nth-child(4) { animation-delay: .6s; }
  .connection-lines i:nth-child(5) { animation-delay: .8s; }
  .connection-lines i:nth-child(6) { animation-delay: 1s; }

  .integration-core {
    animation: core-glow 4s ease-in-out infinite;
  }

  .integration-node {
    animation: float-y 6s ease-in-out infinite;
  }
  .node-erp { animation-delay: -1s; }
  .node-calendar { animation-delay: -2s; }
  .node-helpdesk { animation-delay: -3s; }
  .node-api { animation-delay: -1.6s; }
  .node-phone { animation-delay: -2.8s; }

  .demo-orb-one { animation: orb-drift 10s ease-in-out infinite; }
  .demo-orb-two { animation: orb-drift 12s ease-in-out infinite reverse; }

  .faq-list details[open] > p {
    animation: faq-open .4s cubic-bezier(.16, 1, .3, 1);
  }

  .js .manifesto-index,
  .js .oversized-copy,
  .js .manifesto-details p,
  .js .how-section .section-heading,
  .js .journey-step,
  .js .journey-console,
  .js .journey-footnote,
  .js .solutions-section .section-heading,
  .js .solution-card,
  .js .experience-copy .section-heading,
  .js .check-list li,
  .js .voice-lab,
  .js .use-cases-intro .section-heading,
  .js .availability-card,
  .js .use-cases-grid article,
  .js .industries-row > div i,
  .js .impact-section .section-heading,
  .js .impact-grid article,
  .js .comparison-title,
  .js .comparison-table,
  .js .comparison-row,
  .js .integration-visual,
  .js .integrations-copy .section-heading,
  .js .integration-points > div,
  .js .deployment-section .section-heading,
  .js .deployment-steps article,
  .js .control-copy,
  .js .control-cards article,
  .js .faq-intro,
  .js .faq-list details,
  .js .demo-inner .section-eyebrow,
  .js .demo-inner h2,
  .js .demo-inner > p,
  .js .demo-actions,
  .js .demo-promises,
  .js .footer-brand,
  .js .footer-links > div,
  .js .footer-powered {
    opacity: 0;
    translate: 0 32px;
    transition:
      opacity .85s cubic-bezier(.16, 1, .3, 1),
      translate .85s cubic-bezier(.16, 1, .3, 1),
      scale .85s cubic-bezier(.16, 1, .3, 1);
    transition-delay: var(--d, 0ms);
  }

  .js .manifesto-index,
  .js .comparison-title,
  .js .control-copy,
  .js .faq-intro {
    translate: -28px 0;
  }

  .js .journey-console,
  .js .voice-lab,
  .js .comparison-table,
  .js .integration-visual,
  .js .how-section .section-heading {
    translate: 0 20px;
    scale: .97;
  }

  .js .is-in {
    opacity: 1 !important;
    translate: 0 0 !important;
    scale: 1 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-grid,
  .demo-grid-bg,
  .hero-copy .eyebrow,
  .hero-copy h1,
  .hero-lead,
  .hero-actions,
  .hero-proof,
  .hero-visual,
  .hero-capabilities > div,
  .site-header,
  .orb,
  .floating-note,
  .call-card,
  .eyebrow-dot,
  .play,
  .status-pulse,
  .voice-avatar > i,
  .connection-lines i,
  .integration-core,
  .integration-node,
  .demo-orb {
    animation: none !important;
  }

  .js .is-in,
  .js .manifesto-index,
  .js .oversized-copy,
  .js .solution-card,
  .js .journey-step,
  .js .journey-console,
  .js .voice-lab,
  .js .demo-inner h2,
  .js .footer-brand {
    opacity: 1 !important;
    translate: none !important;
    scale: none !important;
  }
}

@media (hover: hover) and (pointer: fine) {
  .has-cursor,
  .has-cursor * {
    cursor: none !important;
  }

  .cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    width: 0;
    height: 0;
    pointer-events: none;
    opacity: 0;
    mix-blend-mode: difference;
    transition: opacity .2s ease;
  }

  .cursor.is-on {
    opacity: 1;
  }

  .cursor-dot,
  .cursor-ring {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
    will-change: transform;
    transform: translate(-50%, -50%);
  }

  .cursor-dot {
    width: 8px;
    height: 8px;
    background: #fff;
    box-shadow: 0 0 16px rgba(255, 255, 255, .55);
    transition: width .2s ease, height .2s ease;
  }

  .cursor-ring {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .78);
    background: transparent;
    transition: width .28s cubic-bezier(.16, 1, .3, 1), height .28s cubic-bezier(.16, 1, .3, 1), background .28s ease, border-color .28s ease;
  }

  .cursor.is-hover .cursor-ring {
    width: 68px;
    height: 68px;
    background: rgba(255, 255, 255, .12);
    border-color: #fff;
  }

  .cursor.is-hover .cursor-dot {
    width: 4px;
    height: 4px;
  }

  .cursor.is-down .cursor-ring {
    width: 28px;
    height: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .has-cursor,
  .has-cursor * {
    cursor: auto !important;
  }

  .cursor {
    display: none !important;
  }
}
