/* Landing demo refinements: clearer use cases and compact WhatsApp mock UI. */
[hidden] { display: none !important; }

.aero-avatar {
  overflow: hidden;
  flex: 0 0 34px;
  background: #06152a;
}

.aero-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 2px;
  object-fit: contain;
}

.demo-controls { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.demo-step { min-width: 0; line-height: 1.2; }
.demo-step span { flex: 0 0 auto; }

.demo-playback-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 7px;
}

.demo-playback-status { color: #71849a; font-size: 8px; }

.demo-rotation-toggle {
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 7px;
  background: rgba(255, 255, 255, .025);
  color: #a9b9ca;
  font-size: 8px;
  font-weight: 700;
  cursor: pointer;
}

.demo-rotation-toggle:hover,
.demo-rotation-toggle:focus-visible {
  border-color: rgba(0, 229, 255, .4);
  color: #c7fbff;
}

.demo-visual {
  align-self: flex-start;
  width: min(92%, 340px);
  animation: bubble-in .24s ease both;
}

.demo-visual-card {
  overflow: hidden;
  padding: 10px 11px;
  border: 1px solid rgba(119, 198, 211, .18);
  border-radius: 11px;
  background: linear-gradient(145deg, #142832, #101e28);
  color: #e5edf1;
  box-shadow: 0 3px 8px #0003;
}

.demo-asset-card { padding: 7px; }
.demo-asset-link { display: block; overflow: hidden; border-radius: 7px; background: #071321; }
.demo-asset-link img { display: block; width: 100%; height: 280px; object-fit: contain; object-position: top center; background: #071321; }
.demo-asset-link video { display: block; width: 100%; height: 280px; object-fit: contain; background: #071321; }
.demo-asset-caption { display: block; padding: 6px 3px 1px; color: #91a1ae; font-size: 7px; text-align: center; }

.visual-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  color: #9cecf2;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .07em;
}

.visual-card-heading small {
  color: #8495a5;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0;
}

.compare-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.compare-column {
  display: grid;
  gap: 5px;
  padding: 7px;
  border: 1px solid rgba(0, 229, 255, .15);
  border-radius: 6px;
  background: rgba(0, 229, 255, .06);
  color: #a6b5c2;
  font-size: 8px;
}

.compare-column strong { color: #e7fbff; font-size: 8px; text-align: center; }

.highlight-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 0;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.highlight-icon {
  display: grid;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 7px;
  background: rgba(0, 229, 255, .1);
  color: #72e9f1;
  font-weight: 800;
}

.highlight-green { background: rgba(0, 255, 136, .1); color: #7dffbd; }
.highlight-row strong, .highlight-row small { display: block; }
.highlight-row strong { font-size: 9px; }
.highlight-row small { margin-top: 1px; color: #91a1ae; font-size: 7px; }

.friend-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  border-top: 1px solid rgba(255, 255, 255, .06);
  font-size: 8px;
}

.friend-row b { color: #ecf6fa; }
.friend-row span { color: #9baab6; text-align: right; }
.visual-footnote { margin: 6px 0 0; color: #718391; font-size: 7px; }

.chat-audio-note {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 2px 8px;
  min-width: 190px;
  padding: 9px 10px;
}

.audio-play {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #e7fff5;
  font-size: 9px;
}

.audio-wave { display: flex; align-items: center; justify-content: space-between; height: 20px; }
.audio-wave i { width: 2px; height: 7px; border-radius: 2px; background: #b6f4d9; }
.audio-wave i:nth-child(3n) { height: 14px; }
.audio-wave i:nth-child(3n + 1) { height: 10px; }
.audio-wave i:nth-child(4n) { height: 17px; }
.audio-length { color: #d8ebe3; font-size: 8px; font-variant-numeric: tabular-nums; }
.chat-audio-note small { grid-column: 2 / 4; color: #9bb0a8; font-size: 7px; }

.demo-pro-tag {
  display: inline-flex;
  width: fit-content;
  margin-top: 7px;
  padding: 3px 6px;
  border: 1px solid rgba(0, 255, 136, .2);
  border-radius: 5px;
  background: rgba(0, 255, 136, .08);
  color: #83ffc1;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .04em;
}

.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 760px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .feature-grid { grid-template-columns: 1fr; }
  .demo-step { justify-content: flex-start; padding-inline: 8px; font-size: 9px; }
  .demo-visual { width: min(96%, 340px); }
  .demo-asset-link img { height: 250px; }
  .demo-asset-link video { height: 250px; }
  .demo-playback-status { max-width: 70%; }
}

@media (prefers-reduced-motion: reduce) {
  .demo-visual, .chat-bubble { animation: none; }
}
