/* «حساب التجربة» (demo-bar.js): the contact bar while the demo runs, the notice when it ends.
   The colours are the brand's (brand/README.md): teal → navy → violet, the gold of the logo. */
.demo-bar {
  position: sticky; top: 0; z-index: 60;
  background: linear-gradient(90deg, #0F766E, #1E3A8A 55%, #4C1D95);
  color: #fff; font-family: var(--f-body); font-size: 14.5px;
  box-shadow: 0 2px 10px rgb(30 58 138 / .25);
}
.demo-bar-in {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 6px 12px; padding: 7px 16px; max-width: 1100px; margin: 0 auto;
}
.demo-tag {
  display: inline-flex; align-items: center; gap: 4px; font-weight: 700;
  background: #FDE68A; color: #78350F; border-radius: 999px; padding: 2px 10px; font-size: 13.5px;
}
.demo-say { font-weight: 600; }
.demo-wa {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 700;
  background: #fff; color: #0F766E; text-decoration: none; border-radius: 999px; padding: 4px 12px;
}
.demo-wa:hover, .demo-wa:focus-visible { background: #CCFBF1; }
.demo-wa i { font-size: 18px; }
.demo-left { opacity: .85; font-size: 13.5px; }

.demo-end {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center; padding: 16px;
  background: radial-gradient(circle at 50% 30%, #1E3A8A, #0B1437 70%);
}
.demo-end-card {
  background: #fff; color: #1E1B2E; border-radius: 24px; padding: 32px 24px; max-width: 420px; width: 100%;
  text-align: center; box-shadow: 0 20px 60px rgb(0 0 0 / .35); font-family: var(--f-body);
}
.demo-end-card img { border-radius: 18px; margin: 0 auto 12px; display: block; }
.demo-end-card h2 { font-family: var(--f-head); font-size: 24px; margin: 0 0 8px; color: #1E3A8A; }
.demo-end-card p { margin: 0 0 18px; line-height: 1.8; color: #3F3D56; }
.demo-end-card .demo-wa { background: #0F766E; color: #fff; padding: 10px 20px; font-size: 17px; }
.demo-end-card .demo-wa:hover, .demo-end-card .demo-wa:focus-visible { background: #115E59; }

@media (max-width: 520px) {
  .demo-bar { font-size: 13.5px; }
  .demo-left { flex-basis: 100%; text-align: center; }
}
