#demo-showcase {
  min-height: 3.2em;
  padding: 10px 0;
}

.demo-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.demo-typing-text {
  font: italic 500 clamp(0.9em, 3vw, 1.25em) var(--font-display);
  color: var(--color-muted);
  text-align: center;
  transition: opacity 0.3s;
}

.demo-typing-text::after {
  content: "|";
  margin-left: 1px;
  font-style: normal;
  animation: cursor-blink 1.06s step-end infinite;
}

.demo-fading .demo-typing-text {
  opacity: 0;
}

.demo-tags {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  transition: opacity 0.3s;
}

.demo-fading .demo-tags {
  opacity: 0;
}

.demo-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  font: 600 0.65em var(--font-display);
  letter-spacing: 0.3px;
  border-radius: 10px;
  text-transform: uppercase;
}

.demo-tag-smart-ai {
  color: #7c5cbf;
  background: rgba(162, 155, 254, 0.15);
}

.demo-tag-web-search {
  color: #2b7eb5;
  background: rgba(74, 185, 255, 0.15);
}

.demo-tag-precise-location {
  color: #1a8a5e;
  background: rgba(0, 184, 148, 0.15);
}

.demo-tag-live-data {
  color: #b5651d;
  background: rgba(225, 112, 85, 0.15);
}

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

/* Hide during screenshot capture */
.capturing .demo-showcase {
  display: none;
}

/* Reduced motion: no cursor blink */
@media (prefers-reduced-motion: reduce) {
  .demo-typing-text::after {
    animation: none;
  }
}
