.motion-visual {
  --orbit-duration: 24s;
  --float-duration: 6s;
  --pulse-duration: 3s;
  pointer-events: none;
}

.motion-dashboard .art-orbit {
  width: min(100%, 480px);
  height: auto;
  aspect-ratio: 1;
  top: 50%;
  left: 50%;
  animation: dashboard-orbit var(--orbit-duration) linear infinite;
}

.motion-dashboard .orbit-two {
  width: min(76%, 365px);
  animation-duration: 20s;
  animation-direction: reverse;
}

.motion-dashboard .art-orbit::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px #36c5ed66;
}

.motion-dashboard .main-panel {
  animation: dashboard-panel-float 7s ease-in-out infinite;
}

.motion-dashboard .panel-body {
  padding: 24px;
}

.motion-dashboard .panel-bars {
  height: 142px;
}

.motion-dashboard .panel-bars span {
  transform-origin: center bottom;
  animation: dashboard-bar 4.8s ease-in-out var(--motion-delay, 0s) infinite;
}

.motion-dashboard .panel-line svg {
  display: block;
  height: 55px;
  overflow: visible;
}

.dashboard-chart-line {
  animation: dashboard-graph 5.5s ease-in-out infinite;
}

.motion-dashboard .chart-point,
.motion-dashboard .art-dot {
  transform-box: fill-box;
  transform-origin: center;
  animation: visual-node-pulse var(--pulse-duration) ease-in-out var(--motion-delay, 0s) infinite;
}

.motion-dashboard .dot-b {
  --motion-delay: -1.5s;
}

.motion-dashboard .float-top {
  top: 18px;
  right: 2%;
  animation: dashboard-card-top 5.5s ease-in-out infinite;
}

.motion-dashboard .float-bottom {
  bottom: 35px;
  left: 0;
  animation: dashboard-card-bottom var(--float-duration) ease-in-out -2s infinite;
}

.dashboard-connections {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.flow-dot-top {
  animation: dashboard-flow-top 4s linear -1s infinite;
}

.flow-dot-bottom {
  animation: dashboard-flow-bottom 4.5s linear -2s infinite;
}

.motion-business::before,
.motion-business::after {
  content: none;
}

.business-orbit-stage {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 1;
  container-type: inline-size;
  --orbit-radius: 36cqw;
}

.business-orbit-path {
  position: absolute;
  inset: 14%;
  border: 1px solid #75cafa4f;
  border-radius: 50%;
  animation: business-path-turn var(--orbit-duration) linear infinite;
}

.business-orbit-path::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  background: #69d8f3;
  border-radius: 50%;
  left: 50%;
  top: -3px;
}

.business-orbit-inner {
  inset: 26%;
  border-style: dashed;
  border-color: #75cafa30;
  animation-duration: 16s;
  animation-direction: reverse;
}

.motion-business .visual-center {
  position: absolute;
  inset: auto;
  top: 50%;
  left: 33%;
  width: 34%;
  font-size: clamp(1rem, 6cqw, 2rem);
  transform: translateY(-50%);
  animation: business-center-float 7s ease-in-out infinite;
}

.business-orbit-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  z-index: 2;
  transform: rotate(var(--orbit-angle));
  animation: business-item-orbit var(--orbit-duration) linear infinite;
}

.business-orbit-position {
  transform: translateX(var(--orbit-radius));
}

.business-orbit-label {
  position: absolute;
  display: block;
  padding: clamp(6px, 1.8cqw, 9px) clamp(5px, 2cqw, 11px);
  border: 1px solid #b9eaff;
  border-radius: 8px;
  background: #f7fcff;
  color: var(--navy);
  font-size: clamp(.625rem, 2.65cqw, .78rem);
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
  box-shadow: 0 8px 20px #0002;
  transform: translate(-50%, -50%) rotate(calc(-1 * var(--orbit-angle)));
  animation: business-label-upright var(--orbit-duration) linear infinite;
}

.business-orbit-label::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid #69d8f366;
  border-radius: 12px;
  animation: visual-node-pulse var(--pulse-duration) ease-in-out var(--motion-delay, 0s) infinite;
}

@keyframes dashboard-orbit {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes dashboard-panel-float {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-6px) rotate(-3deg); }
}

@keyframes dashboard-card-top {
  0%, 100% { transform: translateY(0) rotate(4deg); }
  50% { transform: translateY(-8px) rotate(4deg); }
}

@keyframes dashboard-card-bottom {
  0%, 100% { transform: translateY(0) rotate(3deg); }
  50% { transform: translateY(7px) rotate(3deg); }
}

@keyframes dashboard-bar {
  0%, 100% { transform: scaleY(.85); opacity: .85; }
  50% { transform: scaleY(1); opacity: 1; }
}

@keyframes dashboard-graph {
  0%, 100% { transform: translateY(2px) scaleY(.97); }
  50% { transform: translateY(-2px) scaleY(1); }
}

@keyframes visual-node-pulse {
  0%, 100% { transform: scale(.95); opacity: .55; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes dashboard-flow-top {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: .9; }
  65% { transform: translate(0, 135px); }
  90% { opacity: .9; }
  100% { transform: translate(-70px, 135px); opacity: 0; }
}

@keyframes dashboard-flow-bottom {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: .9; }
  60% { transform: translate(0, -120px); }
  90% { opacity: .9; }
  100% { transform: translate(80px, -120px); opacity: 0; }
}

@keyframes business-path-turn {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes business-item-orbit {
  from { transform: rotate(var(--orbit-angle)); }
  to { transform: rotate(calc(var(--orbit-angle) + 360deg)); }
}

@keyframes business-label-upright {
  from { transform: translate(-50%, -50%) rotate(calc(-1 * var(--orbit-angle))); }
  to { transform: translate(-50%, -50%) rotate(calc(-1 * var(--orbit-angle) - 360deg)); }
}

@keyframes business-center-float {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 3px)); }
}

@media (max-width: 950px) {
  .motion-dashboard .main-panel { top: 80px; height: 230px; }
  .motion-dashboard .panel-body { padding: 18px; }
  .motion-dashboard .panel-bars { height: 75px; }
  .motion-dashboard .panel-line { margin-top: 12px; }
  .motion-dashboard .panel-line svg { height: 40px; }
  .motion-dashboard .float-top { top: 0; }
  .motion-dashboard .float-bottom { bottom: 0; }
}

@media (max-width: 700px) {
  .motion-dashboard { height: 310px; }
  .motion-dashboard .main-panel { top: 66px; left: 8%; width: 84%; height: 205px; }
  .motion-dashboard .panel-top { padding: 13px; letter-spacing: .05em; }
  .motion-dashboard .panel-top small { font-size: .58rem; }
  .motion-dashboard .panel-body { padding: 18px; }
  .motion-dashboard .panel-bars { height: 60px; }
  .motion-dashboard .panel-line { margin-top: 12px; }
  .motion-dashboard .panel-line svg { height: 40px; }
  .motion-dashboard .float-top { top: 0; right: 0; }
  .motion-dashboard .float-bottom { bottom: 0; left: 0; }
  .motion-dashboard .float-panel strong { font-size: .75rem; }
  .motion-business .visual-kicker { top: 20px; left: 20px; }
  .business-orbit-stage { width: min(100%, 340px); }
}

@media (max-width: 490px) {
  .business-orbit-stage { width: min(100%, 300px); }
}

@media (prefers-reduced-motion: reduce) {
  .motion-visual *,
  .motion-visual *::before,
  .motion-visual *::after {
    animation: none !important;
  }
  .motion-dashboard .art-orbit { transform: translate(-50%, -50%); }
  .motion-dashboard .flow-dot { opacity: 0; }
}
