/* Shared base for all Zexa demo templates. */
@font-face { font-family: "Vazirmatn"; src: url("../fonts/Vazirmatn.woff2") format("woff2-variations"), url("../fonts/Vazirmatn.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: "Vazirmatn", Tahoma, sans-serif; line-height: 1.8; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }
.ico { width: 20px; height: 20px; flex-shrink: 0; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

.zx-ribbon { position: sticky; top: 0; z-index: 60; display: flex; justify-content: center; gap: 10px; align-items: center; padding: 7px 14px; background: #0B1020; color: #B9C8FF; font-size: 13px; text-align: center; }
.zx-ribbon b { color: #fff; }

.zx-toast { position: fixed; z-index: 1000; bottom: 22px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 12px 20px; border-radius: 14px; background: #1b1b22; color: #fff; font-size: 14px; box-shadow: 0 16px 40px rgba(0, 0, 0, .25); animation: zxToast .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes zxToast { from { opacity: 0; transform: translate(-50%, 16px); } }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
