/* ================================
   App Demo Page
   Keeps the old app demo isolated inside an iframe,
   so the new VibeQ header/footer and hero styling stay intact.
================================ */

.demo-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 22px;
}

.demo-toolbar h2 {
  margin-top: 8px;
}

.demo-toolbar p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  margin-bottom: 0;
}

.demo-toolbar .btn {
  white-space: nowrap;
}

.demo-frame-card {
  border-radius: var(--radius-xl);
  padding: 14px;
  background:
    radial-gradient(circle at top right, rgba(82,255,224,.16), transparent 34%),
    linear-gradient(135deg, rgba(82,255,224,.10), rgba(185,150,255,.10)),
    rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.app-demo-frame {
  width: 100%;
  height: 86vh;
  min-height: 760px;
  border: 0;
  border-radius: 24px;
  background: #050612;
  display: block;
}

@media (max-width: 920px) {
  .demo-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .app-demo-frame {
    height: 78vh;
    min-height: 680px;
  }
}

@media (max-width: 640px) {
  .demo-frame-card {
    padding: 8px;
  }

  .app-demo-frame {
    min-height: 620px;
    border-radius: 18px;
  }

  .demo-toolbar .btn {
    width: 100%;
  }
}
