/* ══════════════════════════════════════════════════════════════════════════
   صفحهٔ موقت mrkonkor.com
   نکتهٔ مهم: CSP سرور روی style-src 'self' است؛ پس هیچ استایل درون‌خطی
   (نه تگ <style> و نه صفت style="") کار نمی‌کند. هر مقدار پویا فقط از راه
   CSSOM ست می‌شود (element.style.setProperty) که CSP جلویش را نمی‌گیرد.
   ══════════════════════════════════════════════════════════════════════════ */

@font-face {
  font-family: "Vazirmatn";
  src: url("/vazirmatn.woff2") format("woff2-variations");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

/* برای چرخاندن گرادیان مخروطیِ قاب کارت؛ نبودش فقط انیمیشن را ساکن می‌کند. */
@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

:root {
  color-scheme: dark;
  --night: #070a12;
  --night-2: #0c1120;
  --ink: #f3f6ff;
  --muted: #96a2c0;
  --dim: #6b7797;
  --orange: #ff7a1f;
  --orange-hot: #ff5a00;
  --amber: #ffb020;
  --gold: #ffd76a;
  --violet: #8a5bff;
  --blue: #3f7dff;
  --line: rgba(255, 255, 255, .09);
  --glass: rgba(255, 255, 255, .045);
  --success: #37d39a;
  --danger: #ff7a7a;
  --mx: 0;
  --my: 0;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { min-height: 100%; }

body {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background: var(--night);
  color: var(--ink);
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button, input { font: inherit; color: inherit; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ═══════════════════ لایه‌های پس‌زمینه ═══════════════════ */

.fx-aurora,
.fx-grid,
.fx-beam,
.fx-grain,
.fx-canvas {
  position: fixed;
  pointer-events: none;
  z-index: 0;
}

.fx-aurora {
  inset: 0;
  overflow: hidden;
  transform: translate3d(calc(var(--mx) * 16px), calc(var(--my) * 16px), 0);
  transition: transform .6s cubic-bezier(.2, .8, .25, 1);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}

.blob-a {
  width: 46vmax;
  height: 46vmax;
  top: -16vmax;
  right: -12vmax;
  background: radial-gradient(circle, rgba(255, 106, 24, .55), transparent 66%);
  animation: drift-a 19s ease-in-out infinite alternate;
}

.blob-b {
  width: 40vmax;
  height: 40vmax;
  bottom: -18vmax;
  left: -10vmax;
  background: radial-gradient(circle, rgba(138, 91, 255, .42), transparent 66%);
  animation: drift-b 23s ease-in-out infinite alternate;
}

.blob-c {
  width: 34vmax;
  height: 34vmax;
  top: 34%;
  left: 26%;
  background: radial-gradient(circle, rgba(63, 125, 255, .3), transparent 68%);
  animation: drift-c 27s ease-in-out infinite alternate;
}

/* شبکهٔ نقشه‌کشی که به‌سمت بیننده می‌آید — حسِ «کارگاه ساخت» */
.fx-grid {
  right: -20%;
  bottom: 0;
  left: -20%;
  height: 48vh;
  background-image:
    linear-gradient(to right, rgba(140, 180, 255, .16) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(140, 180, 255, .16) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: perspective(320px) rotateX(66deg);
  transform-origin: bottom center;
  -webkit-mask-image: linear-gradient(to top, #000, transparent 78%);
  mask-image: linear-gradient(to top, #000, transparent 78%);
  opacity: .55;
  animation: grid-run 6s linear infinite;
}

.fx-beam {
  inset: -40% -60%;
  background: linear-gradient(102deg, transparent 43%, rgba(255, 196, 130, .07) 50%, transparent 57%);
  animation: beam-sweep 12s ease-in-out infinite;
}

.fx-grain {
  inset: 0;
  background-image: url("/grain.svg");
  background-size: 200px 200px;
  opacity: .32;
  mix-blend-mode: overlay;
}

.fx-canvas {
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ═══════════════════ چیدمان ═══════════════════ */

.stage {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(20px, 4vw, 48px) clamp(16px, 4vw, 40px);
}

.card {
  position: relative;
  display: grid;
  gap: clamp(28px, 4vw, 46px);
  width: min(100%, 1040px);
  padding: clamp(26px, 4.4vw, 52px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02) 42%, rgba(255, 255, 255, .05)),
    rgba(10, 14, 26, .62);
  box-shadow:
    0 40px 120px rgba(0, 0, 0, .55),
    inset 0 1px 0 rgba(255, 255, 255, .07);
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  animation: card-in 1s cubic-bezier(.2, .8, .25, 1) both;
}

/* قابِ نورانی که آرام دور کارت می‌چرخد */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  /* مقدار پیش‌فرضِ var لازم است: اگر @property پشتیبانی نشود، قاب به‌جای
     ناپدید شدن، ساکن می‌ماند. */
  background: conic-gradient(
    from var(--angle, 0deg),
    transparent 0deg 190deg,
    rgba(255, 150, 40, .5) 250deg,
    rgba(255, 226, 160, .85) 285deg,
    rgba(255, 150, 40, .5) 320deg,
    transparent 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: border-spin 9s linear infinite;
  pointer-events: none;
}

.card-main,
.card-side { position: relative; }

.card-side {
  display: grid;
  align-content: start;
  gap: 26px;
}

/* ═══════════════════ برند ═══════════════════ */

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 26px;
  animation: rise-in .8s cubic-bezier(.2, .8, .25, 1) both;
  animation-delay: .1s;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--orange), var(--orange-hot));
  box-shadow: 0 8px 22px rgba(255, 106, 24, .34), inset 0 1px 0 rgba(255, 255, 255, .38);
}

.brand-mark svg { width: 26px; height: 26px; }

.mark-ring {
  stroke: rgba(255, 255, 255, .55);
  stroke-width: 3;
  stroke-dasharray: 126;
  stroke-dashoffset: 126;
  animation: draw-ring 1.1s ease-out .3s forwards;
}

.mark-check {
  stroke: #fff;
  stroke-width: 5.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 34;
  stroke-dashoffset: 34;
  animation: draw-ring .5s ease-out 1.1s forwards;
}

.brand-name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.01em;
}

/* ═══════════════════ نشان وضعیت ═══════════════════ */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin: 0 0 18px;
  padding: 7px 15px 7px 13px;
  border: 1px solid rgba(255, 140, 40, .26);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 122, 31, .16), rgba(255, 122, 31, .04));
  color: #ffc888;
  font-size: 12.5px;
  font-weight: 700;
  animation: rise-in .8s cubic-bezier(.2, .8, .25, 1) both;
  animation-delay: .18s;
}

.pill-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber);
}

.pill-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border: 1px solid var(--amber);
  border-radius: 50%;
  animation: ping 2s cubic-bezier(.2, .8, .25, 1) infinite;
}

/* ═══════════════════ تیتر ═══════════════════ */

.headline {
  margin: 0;
  font-size: clamp(31px, 5.6vw, 58px);
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: -.035em;
}

.headline .w {
  display: inline-block;
  animation: word-in .9s cubic-bezier(.2, .8, .25, 1) both;
}

.headline .w:nth-child(1) { animation-delay: .26s; }
.headline .w:nth-child(2) { animation-delay: .34s; }
.headline .w:nth-child(3) { animation-delay: .42s; }
.headline .w:nth-child(4) { animation-delay: .5s; }
.headline .w:nth-child(5) { animation-delay: .58s; }

.headline .hot {
  background: linear-gradient(100deg, var(--orange) 12%, var(--gold) 42%, #fff5da 52%, var(--gold) 62%, var(--orange) 90%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation:
    word-in .9s cubic-bezier(.2, .8, .25, 1) .58s both,
    hot-sweep 5.5s linear 1.4s infinite;
}

.lede {
  max-width: 46ch;
  margin: 14px 0 34px;
  color: var(--muted);
  font-size: 15.5px;
  animation: rise-in .9s cubic-bezier(.2, .8, .25, 1) both;
  animation-delay: .66s;
}

/* ═══════════════════ نوار پیشرفت ═══════════════════ */

.gauge {
  --p: 0%;
  animation: rise-in .9s cubic-bezier(.2, .8, .25, 1) both;
  animation-delay: .74s;
}

.gauge-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.gauge-caption {
  color: var(--dim);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
}

.gauge-readout {
  display: flex;
  align-items: baseline;
  gap: 3px;
  line-height: 1;
}

.gauge-number {
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg, #fff6e4, var(--gold) 55%, var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(38px, 6.4vw, 56px);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.03em;
}

/* پژواکِ محوِ همان عدد، پشتش — درخششی که با هر تغییر نفس می‌کشد */
.gauge-number::after {
  content: attr(data-v);
  position: absolute;
  inset: 0;
  z-index: -1;
  color: var(--amber);
  filter: blur(16px);
  opacity: .7;
}

.gauge-unit {
  color: var(--amber);
  font-size: clamp(17px, 2.6vw, 22px);
  font-weight: 800;
}

.track {
  position: relative;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(4, 7, 14, .92), rgba(16, 22, 40, .8));
  box-shadow: inset 0 2px 7px rgba(0, 0, 0, .6);
}

/* بالاتر از نوارِ پُرشده می‌نشیند تا نشانه‌های ردشده روی خودِ نوار بدرخشند. */
.tick {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 1px;
  height: 9px;
  background: rgba(255, 255, 255, .16);
  transform: translateY(-50%);
  transition: background .4s, box-shadow .4s;
}

.tick-25 { right: 25%; }
.tick-50 { right: 50%; }
.tick-75 { right: 75%; }

.tick.is-passed {
  background: rgba(255, 233, 190, .85);
  box-shadow: 0 0 8px rgba(255, 200, 120, .8);
}

/* پُرشدن از راست به چپ — جهت طبیعیِ صفحهٔ راست‌به‌چپ */
.fill {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: var(--p);
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(to left, var(--orange-hot), var(--orange) 42%, var(--amber) 72%, var(--gold));
  box-shadow: 0 0 24px rgba(255, 130, 30, .45), 0 0 60px rgba(255, 120, 20, .22);
}

.fill > span {
  position: absolute;
  inset: 0;
}

/* پلاسمای مذاب داخل نوار */
.fill-plasma {
  background:
    radial-gradient(60px 30px at 20% 45%, rgba(255, 255, 255, .5), transparent 70%),
    radial-gradient(90px 34px at 70% 60%, rgba(255, 210, 120, .55), transparent 72%);
  filter: blur(6px);
  animation: plasma-roll 4.2s ease-in-out infinite alternate;
}

.fill-stripes {
  background: repeating-linear-gradient(
    118deg,
    rgba(255, 255, 255, .17) 0 9px,
    transparent 9px 22px
  );
  background-size: 44px 100%;
  animation: stripes-run 1.15s linear infinite;
}

.fill-shine {
  background: linear-gradient(100deg, transparent 32%, rgba(255, 255, 255, .55) 50%, transparent 68%);
  animation: shine-sweep 2.6s cubic-bezier(.5, 0, .3, 1) infinite;
}

.fill-gloss {
  background: linear-gradient(180deg, rgba(255, 255, 255, .38), rgba(255, 255, 255, .04) 46%, rgba(0, 0, 0, .16));
}

/* دنباله‌دارِ لبهٔ نوار */
.comet {
  position: absolute;
  top: 50%;
  right: var(--p);
  width: 20px;
  height: 20px;
  transform: translate(50%, -50%);
}

.comet-core {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 22%, var(--gold) 48%, rgba(255, 140, 30, 0) 74%);
  box-shadow: 0 0 18px rgba(255, 214, 140, .95), 0 0 40px rgba(255, 140, 40, .6);
  animation: core-throb 1.5s ease-in-out infinite;
}

.comet-ring {
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(255, 205, 130, .85);
  border-radius: 50%;
  animation: ping 1.9s cubic-bezier(.2, .8, .25, 1) infinite;
}

.gauge-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  color: var(--dim);
  font-size: 13px;
}

.gauge-label::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
  animation: blink 1.8s ease-in-out infinite;
}

/* ═══════════════════ مراحل ═══════════════════ */

.side-title {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.stages { animation: rise-in .9s cubic-bezier(.2, .8, .25, 1) .82s both; }

.stage-list {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stage-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 11px;
  overflow: hidden;
  border-radius: 13px;
  color: var(--dim);
  font-size: 13.5px;
  transition: color .45s, background .45s;
}

.stage-item.is-done { color: var(--ink); }

.stage-item.is-active {
  background: linear-gradient(90deg, rgba(255, 140, 40, .13), rgba(255, 140, 40, .02));
  color: #ffd0a2;
}

/* برقِ روانی که روی مرحلهٔ در حال انجام رد می‌شود */
.stage-item.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 38%, rgba(255, 200, 130, .16) 50%, transparent 62%);
  animation: shine-sweep 3s linear infinite;
}

.stage-dot {
  position: relative;
  display: grid;
  flex: none;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1.5px solid rgba(255, 255, 255, .17);
  border-radius: 50%;
  transition: background .4s, border-color .4s, box-shadow .4s;
}

.stage-dot svg { width: 13px; height: 13px; }

.tick-path {
  stroke: #221000;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 22;
  stroke-dashoffset: 22;
}

.is-done .stage-dot {
  border-color: transparent;
  background: linear-gradient(145deg, var(--gold), var(--orange));
  box-shadow: 0 0 0 4px rgba(255, 140, 40, .11), 0 6px 16px rgba(255, 120, 30, .3);
  animation: dot-pop .5s cubic-bezier(.2, 1.4, .4, 1);
}

.is-done .tick-path { animation: draw-tick .45s ease-out .1s forwards; }

.is-active .stage-dot::before {
  content: "";
  position: absolute;
  inset: -4px;
  border: 2px solid transparent;
  border-top-color: var(--amber);
  border-radius: 50%;
  animation: spin 1.05s linear infinite;
}

.stage-body {
  display: grid;
  flex: 1;
  gap: 6px;
  min-width: 0;
}

/* نوار کوچکِ درصدِ خودِ مورد — فقط وقتی برایش درصد گذاشته باشید */
.stage-mini {
  position: relative;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
}

.stage-mini-fill {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: var(--sp, 0%);
  border-radius: 999px;
  background: linear-gradient(to left, var(--orange), var(--gold));
  box-shadow: 0 0 8px rgba(255, 150, 50, .55);
  transition: width .9s cubic-bezier(.2, .8, .25, 1);
}

.stage-state {
  flex: none;
  font-size: 11px;
  font-weight: 700;
  opacity: 0;
  transition: opacity .4s;
}

.is-done .stage-state { color: var(--gold); opacity: 1; }
.is-active .stage-state { color: var(--amber); opacity: 1; }

/* ═══════════════════ ثبت شماره ═══════════════════ */

.notify {
  position: relative;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--glass);
  animation: rise-in .9s cubic-bezier(.2, .8, .25, 1) .9s both;
}

.notify-lede {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.notify-form { display: grid; gap: 10px; }

.field { position: relative; }

.field input {
  width: 100%;
  height: 50px;
  padding: 16px 15px 3px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 15px;
  outline: none;
  background: rgba(4, 7, 14, .55);
  direction: ltr;
  text-align: left;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .06em;
  transition: border-color .25s, background .25s;
}

.field label {
  position: absolute;
  top: 14px;
  right: 15px;
  color: var(--dim);
  font-size: 14px;
  pointer-events: none;
  transition: transform .22s cubic-bezier(.2, .8, .25, 1), font-size .22s, color .22s;
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label {
  transform: translateY(-11px);
  color: var(--amber);
  font-size: 11px;
}

.field input:focus { border-color: rgba(255, 140, 40, .5); background: rgba(4, 7, 14, .78); }

.field-glow {
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  box-shadow: 0 0 0 3px rgba(255, 122, 31, .16), 0 0 24px rgba(255, 122, 31, .22);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}

.field input:focus ~ .field-glow { opacity: 1; }

.field.is-bad input { border-color: rgba(255, 122, 122, .65); }
.field.is-bad { animation: shake .42s cubic-bezier(.36, .07, .19, .97); }

.submit {
  position: relative;
  height: 48px;
  overflow: hidden;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-hot) 55%, #ff8f34 100%);
  box-shadow: 0 10px 26px rgba(255, 100, 20, .32), inset 0 1px 0 rgba(255, 255, 255, .3);
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  transition: transform .18s cubic-bezier(.2, .8, .25, 1), box-shadow .18s, filter .18s;
}

.submit:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(255, 100, 20, .42); filter: brightness(1.06); }
.submit:active { transform: translateY(0) scale(.99); }
.submit:focus-visible { outline: 3px solid rgba(255, 190, 120, .55); outline-offset: 3px; }
.submit:disabled { cursor: wait; filter: saturate(.7); transform: none; }

.submit-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 36%, rgba(255, 255, 255, .45) 50%, transparent 64%);
  transform: translateX(-120%);
  animation: sheen-run 3.4s ease-in-out 1.6s infinite;
  pointer-events: none;
}

.submit-spinner {
  display: none;
  width: 19px;
  height: 19px;
  margin: 0 auto;
  border: 2px solid rgba(255, 255, 255, .3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

.notify-form.is-busy .submit-text { display: none; }
.notify-form.is-busy .submit-spinner { display: block; }

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.consent-note {
  margin: 0;
  color: var(--dim);
  font-size: 11.5px;
  line-height: 1.7;
}

.form-message {
  min-height: 18px;
  margin: 0;
  color: var(--danger);
  font-size: 12.5px;
  font-weight: 700;
}

.form-message.is-ok { color: var(--success); }

/* پنل موفقیت */
.notify-done {
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 12px 4px 4px;
  text-align: center;
  animation: rise-in .6s cubic-bezier(.2, .8, .25, 1) both;
}

.done-mark { width: 62px; height: 62px; }
.done-mark svg { width: 100%; height: 100%; }

.done-ring {
  stroke: var(--success);
  stroke-width: 3;
  stroke-dasharray: 164;
  stroke-dashoffset: 164;
  animation: draw-ring .7s cubic-bezier(.2, .8, .25, 1) forwards;
}

.done-check {
  stroke: var(--success);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: draw-ring .45s ease-out .5s forwards;
}

.done-title { font-size: 19px; font-weight: 900; }
.done-text { margin: 0; color: var(--muted); font-size: 13px; }

.ghost-button {
  margin-top: 8px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: transparent;
  color: var(--dim);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition: color .2s, border-color .2s, background .2s;
}

.ghost-button:hover { border-color: rgba(255, 140, 40, .4); background: rgba(255, 140, 40, .08); color: #ffc888; }
.ghost-button:focus-visible { outline: 2px solid rgba(255, 190, 120, .6); outline-offset: 2px; }

/* متن معرفی: عمداً کم‌رنگ ولی واقعی و خوانا — نه پنهان. */
.about {
  position: relative;
  z-index: 1;
  width: min(100%, 1040px);
  margin: 26px 0 0;
  color: var(--dim);
  font-size: 12.5px;
  line-height: 2.1;
  text-align: justify;
  animation: rise-in 1s ease 1.1s both;
}

.about h2 {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, .5);
  font-size: 13px;
  font-weight: 800;
}

.about p { margin: 0 0 9px; }
.about strong { color: rgba(255, 255, 255, .62); font-weight: 800; }

.footnote {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .22);
  font-size: 12px;
  letter-spacing: .12em;
  text-align: center;
}

/* ═══════════════════ انیمیشن‌ها ═══════════════════ */

@keyframes card-in {
  from { opacity: 0; transform: translateY(26px) scale(.985); }
  to { opacity: 1; transform: none; }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes word-in {
  from { opacity: 0; transform: translateY(24px) rotate(2deg); filter: blur(7px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

@keyframes hot-sweep {
  from { background-position: 100% 0; }
  to { background-position: -160% 0; }
}

@keyframes border-spin {
  to { --angle: 360deg; }
}

@keyframes drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-6vmax, 5vmax, 0) scale(1.14); }
}

@keyframes drift-b {
  from { transform: translate3d(0, 0, 0) scale(1.06); }
  to { transform: translate3d(7vmax, -4vmax, 0) scale(.92); }
}

@keyframes drift-c {
  from { transform: translate3d(0, 0, 0) scale(.94); }
  to { transform: translate3d(-5vmax, -6vmax, 0) scale(1.1); }
}

@keyframes grid-run {
  to { background-position: 0 48px, 0 48px; }
}

@keyframes beam-sweep {
  0%, 100% { transform: translateX(-38%); }
  50% { transform: translateX(38%); }
}

@keyframes stripes-run {
  to { background-position: 44px 0; }
}

@keyframes shine-sweep {
  0% { transform: translateX(120%); }
  55%, 100% { transform: translateX(-120%); }
}

@keyframes sheen-run {
  0% { transform: translateX(-120%); }
  38%, 100% { transform: translateX(120%); }
}

@keyframes plasma-roll {
  from { transform: translateX(6%) scale(1); }
  to { transform: translateX(-8%) scale(1.12); }
}

@keyframes core-throb {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.24); opacity: .82; }
}

@keyframes ping {
  0% { transform: scale(.7); opacity: .9; }
  70%, 100% { transform: scale(2.1); opacity: 0; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .25; }
}

@keyframes spin { to { transform: rotate(360deg); } }

@keyframes draw-ring { to { stroke-dashoffset: 0; } }

@keyframes draw-tick { to { stroke-dashoffset: 0; } }

@keyframes dot-pop {
  0% { transform: scale(.55); }
  60% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

@keyframes shake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(4px); }
  30%, 50%, 70% { transform: translateX(-6px); }
  40%, 60% { transform: translateX(6px); }
}

/* عددی که تازه عوض شده یک تکانِ نوری می‌خورد */
.gauge-number.is-bumped { animation: number-bump .45s cubic-bezier(.2, 1.5, .4, 1); }

@keyframes number-bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

/* ═══════════════════ واکنش‌گرایی ═══════════════════ */

@media (min-width: 940px) {
  .card {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    align-items: start;
    gap: 54px;
  }

  .card-side {
    padding-right: 44px;
    border-right: 1px solid var(--line);
  }
}

@media (max-width: 939px) {
  .card { border-radius: 26px; }
  .lede { margin-bottom: 28px; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .stage { padding: 18px 14px 26px; }
  .card { padding: 24px 20px; border-radius: 24px; gap: 26px; }
  .brand { margin-bottom: 20px; }
  .track { height: 21px; }
  .notify { padding: 18px 16px; }
  .fx-grid { height: 34vh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  .fx-beam,
  .fx-grid { display: none; }

  .mark-ring,
  .mark-check,
  .done-ring,
  .done-check,
  .is-done .tick-path { stroke-dashoffset: 0; }
}
