/* Virtual Demo Styles */
.phone-screen {
  position: relative;
  transition: all 0.5s ease;
}

.demo-cursor {
  position: absolute;
  width: 24px;
  height: 24px;
  background: rgba(34, 197, 94, 0.4);
  border: 2px solid var(--green);
  border-radius: 50%;
  pointer-events: none;
  z-index: 100;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translate(-50%, -50%) scale(1);
  display: none;
}

.demo-cursor.active {
  display: block;
}

.demo-cursor.clicking {
  transform: translate(-50%, -50%) scale(0.8);
  background: rgba(34, 197, 94, 0.8);
}

/* Virtual Keyboard */
.virtual-keyboard {
  position: absolute;
  bottom: -100%;
  left: 0;
  right: 0;
  background: #d1d5db;
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 4px;
  transition: bottom 0.4s ease;
  z-index: 90;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.virtual-keyboard.show {
  bottom: 0;
}

.key {
  background: #fff;
  height: 32px;
  border-radius: 4px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.2);
}

/* Demo States */
.screen-state {
  position: absolute;
  inset: 0;
  padding: 56px 18px 24px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.screen-state.active {
  opacity: 1;
  pointer-events: auto;
}

.ph-address-input {
  background: #f3f4f6;
  padding: 12px;
  border-radius: 12px;
  font-size: 14px;
  border: 1px solid var(--border);
  min-height: 44px;
}

.ph-address-input .typing-text::after {
  content: '|';
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.rider-search-anim {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  text-align: center;
}

.radar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid var(--green);
  position: relative;
  margin-bottom: 20px;
}

.radar::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid var(--green);
  animation: pulse-radar 2s infinite;
}

@keyframes pulse-radar {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}
