.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.visible > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0ms; }
.reveal-stagger.visible > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 80ms; }
.reveal-stagger.visible > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 160ms; }
.reveal-stagger.visible > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 240ms; }
.reveal-stagger.visible > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 320ms; }
.reveal-stagger.visible > *:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 400ms; }

.hero-text-enter {
  animation: heroTextIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-visual-enter {
  animation: heroVisualIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

@keyframes heroTextIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroVisualIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.demo-input.selected {
  border-color: rgba(127, 119, 221, 0.7);
  outline: 2px dashed rgba(127, 119, 221, 0.7);
  animation: selectPulse 0.35s ease;
}

@keyframes selectPulse {
  0%   { box-shadow: 0 0 0 0 rgba(127, 119, 221, 0.4); }
  70%  { box-shadow: 0 0 0 8px rgba(127, 119, 221, 0); }
  100% { box-shadow: 0 0 0 0 rgba(127, 119, 221, 0); }
}

.demo-blurred .blur-overlay {
  position: absolute;
  inset: 0;
  border-radius: 6px;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  background: rgba(200, 200, 200, 0);
  transition: backdrop-filter 0.4s ease, background-color 0.4s ease;
}

.demo-blurred.active .blur-overlay {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(200, 200, 200, 0.25);
}

.sticker {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  animation: floatBadge 3s ease-in-out infinite;
}

.sticker:nth-child(2) { animation-delay: 0.5s; }
.sticker:nth-child(3) { animation-delay: 1s; }

@keyframes floatBadge {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-4px); }
}

.sticker-purple { background: var(--purple-light); color: var(--purple); border: 1.5px solid rgba(127, 119, 221, 0.2); }
.sticker-peach  { background: rgba(245, 196, 179, 0.3); color: #b05a3a; border: 1.5px solid rgba(245, 196, 179, 0.5); }
.sticker-teal   { background: rgba(159, 225, 203, 0.3); color: #2a8a6e; border: 1.5px solid rgba(159, 225, 203, 0.5); }

.rec-pulse {
  animation: recPulse 1.2s ease-in-out infinite;
}

@keyframes recPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.85); }
}

.blurred-word {
  transition: filter 0.6s ease;
}

.step-card {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
