.hero-scene {
  position: relative;
  height: 548px;
  min-width: 0;
  perspective: 1300px;
  margin: -32px -18px 0 -50px;
}
.scene-assembly {
  --turn: 0deg;
  --tilt: 0deg;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateY(var(--turn)) rotateX(var(--tilt));
  cursor: grab;
  touch-action: pan-y;
}
.scene-assembly.is-dragging {
  cursor: grabbing;
}
.scene-assembly > * {
  position: absolute;
  backface-visibility: hidden;
}
.hero-bird {
  width: 245px;
  height: 245px;
  object-fit: contain;
  left: -50px;
  top: -24px;
  transform: translateZ(120px) rotate(-12deg);
  pointer-events: none;
}
.flight-orbit {
  width: 580px;
  max-width: 115%;
  height: 290px;
  bottom: 22px;
  left: -12px;
  transform: translateZ(-120px) rotateX(55deg) rotateZ(-12deg);
  pointer-events: none;
}
.flight-orbit svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.flight-orbit ellipse {
  fill: #dce8fa;
  stroke: #b2c8ec;
  stroke-width: 1.5;
  stroke-dasharray: 7 9;
}
.flight-orbit path {
  fill: var(--blue);
}
.destination-print {
  width: 180px;
  height: 235px;
  top: 8px;
  right: -16px;
  padding: 8px;
  background: white;
  transform: translateZ(10px) rotateZ(12deg);
}
.destination-print img {
  width: 100%;
  height: 185px;
}
.destination-print span {
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
}
.destination-print .icon {
  width: 15px;
  height: 15px;
}
.hero-board {
  width: 315px;
  top: 92px;
  left: 190px;
  background: white;
  border-radius: 19px;
  padding: 23px;
  transform: translateZ(70px) rotateY(-14deg) rotateX(7deg) rotateZ(-5deg);
  border: 1px solid #e3ebf5; /* taste-skill-ignore: real control inside data-ui. */
  transform-style: preserve-3d;
  box-shadow: /* taste-skill-ignore: floating product depth or open menu overlay. */
    7px 9px 0 #c8d7ed,
    12px 14px 0 #bdcee7;
}
.board-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.board-brand {
  color: var(--blue);
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -1.2px;
}
.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ece4d7;
  color: #765a33;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}
.avatar-blue {
  background: #dce8ff;
  color: var(--blue-dark);
}
.board-greeting {
  font-size: 11px;
  color: var(--muted);
  margin-top: 19px;
}
.board-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 5px;
  gap: 12px;
}
.board-heading strong {
  font-size: 19px;
  font-weight: 550;
  letter-spacing: -0.6px;
}
.board-map {
  height: 142px;
  position: relative;
  overflow: clip;
  background: #dceefa;
  margin-top: 18px;
  border-radius: 9px;
}
.board-map > svg {
  width: 100%;
  height: 100%;
}
.map-land {
  fill: #eef1e7;
}
.map-road {
  fill: none;
  stroke: white;
  stroke-width: 6px;
}
.map-route {
  fill: none;
  stroke: var(--blue);
  stroke-width: 4px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.board-map circle {
  fill: white;
  stroke: var(--blue);
  stroke-width: 3px;
}
.map-place {
  position: absolute;
  font-size: 9px;
  font-weight: 500;
}
.map-airport {
  bottom: 20px;
  left: 62px;
}
.map-ubud {
  top: 15px;
  right: 59px;
}
.map-car {
  position: absolute;
  top: 64px;
  left: 112px;
  padding: 5px;
  background: var(--blue);
  color: white;
  border-radius: 7px;
  display: flex;
}
.map-car .icon {
  width: 15px;
  height: 15px;
}
.board-route {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}
.board-route div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.board-route span {
  font-size: 11px;
  color: var(--muted);
}
.board-route strong {
  font-size: 14px;
  font-weight: 550;
}
.board-route > .icon {
  width: 17px;
  color: var(--muted);
}
.board-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 18px;
}
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #eaae49;
  border-radius: 50%;
}
.board-action {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  background: var(--blue);
  color: white;
  margin-top: 15px;
  border-radius: 6px;
  padding: 12px;
  font-size: 13px;
  min-height: 44px;
}
.board-action:hover {
  background: var(--blue-dark);
}
.board-action .icon {
  width: 17px;
  height: 17px;
}
.floating-confirmation {
  left: -15px;
  bottom: 52px;
  transform: translateZ(130px) rotateY(7deg) rotateZ(3deg);
  background: white;
  padding: 16px 18px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 13px;
  box-shadow: 0 12px 28px #345a8a14; /* taste-skill-ignore: floating product depth or open menu overlay. */
}
.confirmation-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  background: #e7f5ee;
  color: var(--green);
  border-radius: 50%;
}
.confirmation-icon .icon {
  width: 19px;
  height: 19px;
}
.floating-confirmation strong {
  display: block;
  font-size: 13px;
  font-weight: 550;
}
.floating-confirmation div > span {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.scene-controls {
  position: absolute;
  bottom: -61px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  white-space: nowrap;
}
.scene-controls > span {
  font-size: 13px;
  color: var(--muted);
}
.scene-controls input {
  width: 85px;
  min-height: 44px;
  accent-color: var(--blue);
  cursor: ew-resize;
}
.scene-controls .icon {
  width: 16px;
}

.product-window {
  padding: 12px;
  background: #edf2f8;
  border-radius: 20px;
  min-width: 0;
}
.window-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 5px 12px 17px;
}
.window-toolbar > span:nth-child(2) {
  font-size: 12px;
  color: var(--muted);
  margin-left: auto;
}
.window-toolbar .board-brand {
  font-size: 23px;
}
#demo-panel {
  border-radius: 12px;
  background: white;
  padding: 32px;
  min-height: 403px;
}
.demo-panel-title {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
}
.demo-panel-title h3 {
  font-size: 24px;
  font-weight: 550;
}
.demo-panel-title > .icon {
  width: 28px;
  height: 28px;
  color: var(--blue);
}
.demo-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 5px;
  background: var(--ice);
  color: var(--blue-dark);
  padding: 7px 10px;
  font-size: 12px;
  margin-bottom: 20px;
}
.demo-status .icon {
  width: 14px;
  height: 14px;
}
.trip-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
}
.route-stop > span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}
.route-stop strong {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -1px;
}
.route-link {
  flex: 1;
  min-width: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  max-width: 130px;
}
.route-link::before {
  content: '';
  flex: 1;
  height: 2px;
  background: #ccdcf5;
}
.trip-metadata {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 17px 20px;
  background: var(--soft);
  border-radius: 6px;
  font-size: 13px;
  color: var(--muted);
}
.demo-primary {
  width: 100%;
  margin-top: 26px;
  min-height: 48px;
  font-size: 14px;
}
.demo-progress {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 22px 16px 10px;
}
.demo-progress span {
  position: relative;
  font-size: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.demo-progress span::before {
  content: '';
  width: 7px;
  height: 7px;
  border: 1px solid #879cb4; /* taste-skill-ignore: real control inside data-ui. */
  border-radius: 50%;
}
.demo-progress span[data-done] {
  color: var(--blue-dark);
}
.demo-progress span[data-done]::before {
  background: var(--blue);
  border-color: var(--blue);
}
.driver-field {
  display: grid;
  gap: 12px;
  margin-top: 6px;
  font-size: 13px;
}
.driver-field select {
  min-height: 52px;
  width: 100%;
  padding: 13px;
  border: 1px solid #d5e0ef; /* taste-skill-ignore: real control inside data-ui. */
  border-radius: 6px;
  background: white;
  color: var(--ink);
  font-size: 15px;
}
.driver-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--soft);
  border-radius: 7px;
  margin-top: 20px;
  font-size: 15px;
}
.driver-summary .avatar {
  width: 38px;
  height: 38px;
}
.demo-guidance {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  padding: 25px 0;
}
.trip-checklist {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 18px;
}
.trip-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}
.trip-checklist .icon {
  color: var(--blue);
  padding: 3px;
  background: var(--ice);
  border-radius: 50%;
}
.trip-checklist .pending-step {
  color: var(--muted);
}
.pending-step .icon {
  color: #8ca0b9;
}
.wallet-amount {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-top: 12px;
}
.wallet-amount strong {
  font-size: 56px;
  letter-spacing: -2px;
  font-weight: 500;
}
.wallet-amount span {
  font-size: 16px;
  color: var(--muted);
}
.wallet-label {
  margin-top: 22px;
  font-size: 13px;
  color: var(--muted);
}
.wallet-note {
  margin-top: 24px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.no-transfer {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 26px;
}
.no-transfer .icon {
  width: 15px;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-board {
    animation: board-arrive 1100ms var(--ease) both;
  }
  .hero-bird {
    animation: bird-glide 6s ease-in-out infinite alternate;
  }
  .destination-print {
    animation: print-arrive 1100ms 100ms var(--ease) both;
  }
  .floating-confirmation {
    animation: confirmation-arrive 1000ms 200ms var(--ease) both;
  }
  .scene-assembly:not(.is-dragging) {
    transition: transform 350ms var(--ease);
  }
  .hero-scene.is-offscreen *,
  .motion-paused .hero-scene * {
    animation-play-state: paused;
  }
  .panel-enter {
    animation: panel-enter 300ms var(--ease);
  }
}
@keyframes board-arrive {
  from {
    opacity: 0;
    transform: translateZ(0) rotateY(-28deg) rotateX(12deg) rotateZ(-10deg) translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateZ(70px) rotateY(-14deg) rotateX(7deg) rotateZ(-5deg);
  }
}
@keyframes bird-glide {
  from {
    transform: translateZ(120px) rotate(-12deg) translateY(0);
  }
  to {
    transform: translateZ(140px) rotate(-6deg) translateY(-16px);
  }
}
@keyframes print-arrive {
  from {
    opacity: 0;
    transform: translateZ(-40px) rotateZ(20deg) translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateZ(10px) rotateZ(12deg);
  }
}
@keyframes confirmation-arrive {
  from {
    opacity: 0;
    transform: translateZ(40px) rotateY(0) rotateZ(0) translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateZ(130px) rotateY(7deg) rotateZ(3deg);
  }
}
@keyframes panel-enter {
  from {
    opacity: 0.5;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
