/* ==========================================================================
   ORTAK TASARIM SİSTEMİ — Demo çubuğu
   Canlı demoların altında sabit durur; alıcıyı satın alma sayfasına götürür.
   Satın alınan şablonda BU DOSYA SİLİNİR.
   ========================================================================== */

.demo-bar {
  position: fixed;
  z-index: 90;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(calc(100% - 2rem), 720px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.7rem 0.6rem 1.1rem;
  border-radius: var(--r-pill);
  background: rgba(17, 24, 39, 0.94);
  color: #fff;
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.3);
  backdrop-filter: blur(10px);
  font-size: var(--fs-sm);
}

.demo-bar__text {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.demo-bar__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  flex: none;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18);
}

.demo-bar__text strong { color: #fff; font-weight: 700; }
.demo-bar__text span { color: #cbd5e1; }

.demo-bar__actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: none;
}

.demo-bar__link {
  color: #e2e8f0;
  font-weight: 600;
  font-size: var(--fs-xs);
  padding: 0.5rem 0.6rem;
}

.demo-bar__link:hover { color: #fff; }

.demo-bar__buy {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  color: var(--ink-900);
  border-radius: var(--r-pill);
  padding: 0.6rem 1.1rem;
  font-size: var(--fs-xs);
  font-weight: 800;
  transition: transform var(--t-fast), background var(--t-fast);
}

.demo-bar__buy:hover { transform: translateY(-2px); background: var(--accent-soft); color: var(--ink-900); }

/* Demo içeriğinin çubuk tarafından kapanmaması için sayfa sonuna boşluk */
body.has-demo-bar { padding-bottom: 92px; }

@media (max-width: 560px) {
  .demo-bar { gap: 0.5rem; padding-left: 0.85rem; }
  .demo-bar__text span { display: none; }
  .demo-bar__link { display: none; }
}
