/* Tam uygulama simülasyonu — iframe kabuğu */
.page-demo .site-header { position: sticky; }

.demo-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 48px;
}

.demo-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.demo-page-head h1 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  margin-bottom: 6px;
}

.demo-page-head p {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 560px;
}

.demo-page-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.demo-page-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.demo-page-actions svg {
  width: 16px;
  height: 16px;
}

.demo-frame-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px rgba(7, 16, 24, 0.16);
  background: var(--bg-primary);
}

.demo-frame-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  background: var(--warning-muted);
  color: var(--warning);
  border: 1px solid rgba(191, 54, 12, 0.35);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  pointer-events: none;
}

.demo-frame {
  display: block;
  width: 100%;
  height: min(780px, 82vh);
  min-height: 560px;
  border: none;
  background: var(--bg-primary);
}

.demo-page-hint {
  margin-top: 14px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* Ana sayfa gömülü demo */
.demo-embed-section {
  padding: 48px 20px 56px;
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--border);
}

.demo-embed-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.demo-embed-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 16px;
  flex-wrap: wrap;
}

.demo-embed-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.demo-embed-actions svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 768px) {
  .demo-frame { min-height: 480px; height: 70vh; }
}
