/* Relaxfolio app demo mockup (Token Engine landing page) */
.app-demo-stage { min-height: 20rem; }

.app-demo-row {
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.app-demo-row.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.app-demo-heatmap-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.app-demo-heatmap-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}
.app-demo-heatmap-bar-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
  margin-inline-end: 0.15rem;
}
.app-demo-heatmap-toggle {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.2rem 0.45rem;
  border-radius: 0.375rem;
  color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.app-demo-heatmap-toggle.is-active {
  color: #2EC4B6;
  background: rgba(46, 196, 182, 0.12);
  border-color: rgba(46, 196, 182, 0.35);
}
.app-demo-heatmap-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(4, 2.4rem);
  gap: 2px;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.25);
}
.app-demo-heatmap-tile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.1rem;
  padding: 0.25rem;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.35s ease, transform 0.35s ease;
  color: #fff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
  min-width: 0;
  overflow: hidden;
}
.app-demo-heatmap-tile.is-visible {
  opacity: 1;
  transform: scale(1);
}
.app-demo-heatmap-sym {
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
}
.app-demo-heatmap-val {
  font-size: 0.6rem;
  font-weight: 600;
  line-height: 1;
  opacity: 0.95;
}
.app-demo-heatmap-tile.pos-strong { background: hsl(152, 55%, 32%); }
.app-demo-heatmap-tile.pos-mid { background: hsl(152, 48%, 40%); }
.app-demo-heatmap-tile.pos-light { background: hsl(152, 40%, 48%); }
.app-demo-heatmap-tile.neg-neg,
.app-demo-heatmap-tile.neg-mid { background: hsl(0, 55%, 48%); }

@media (prefers-reduced-motion: reduce) {
  .app-demo-row,
  .app-demo-heatmap-tile {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
