/* QarzGo — «Ovoz va surat bilan kiritish» bo'limi (V82 + V83, 2026-10-02). Faqat index.html ulaydi.
   Telefon ichidagi maketlar ilovaning o'z tokenlari bilan (prototip kanvasidagi yorug' mavzu) — ilova
   ko'rinishi o'zgarsa, quyidagi .qz tokenlarini ham yangilang. Animatsiya — assets/ai.js. JS bo'lmasa yoki
   «kamroq harakat» yoqilgan bo'lsa, ikkala maket ham tugagan holatda (to'ldirilgan forma, o'qilgan sahifa)
   statik turadi. */

/* Shriftlar — OFL, faqat kerakli belgilar (assets/fonts/LICENSE.txt). */
@font-face { font-family: "QG Manrope"; src: url("fonts/manrope-500.woff?v=1") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "QG Manrope"; src: url("fonts/manrope-700.woff?v=1") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "QG Manrope"; src: url("fonts/manrope-800.woff?v=1") format("woff"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "QG Caveat"; src: url("fonts/caveat-500.woff?v=1") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }

/* ---------- Bo'lim ---------- */
.ai {
  --ai-ink: #F2F8F4;
  --ai-soft: rgba(232, 243, 236, .80);
  --ai-mute: rgba(232, 243, 236, .62);
  --ai-mint: #8EDBB8;
  --ai-line: rgba(255, 255, 255, .13);
  --ai-glass: rgba(255, 255, 255, .055);
  position: relative;
  overflow: hidden;
  color: var(--ai-ink);
  background:
    radial-gradient(1000px 560px at 88% -6%, rgba(59, 186, 140, .20), transparent 62%),
    radial-gradient(760px 560px at -6% 104%, rgba(21, 122, 86, .26), transparent 62%),
    #0F231A;
}
/* Fonda katak daftar izi — mavzuning o'zidan (qog'oz daftar) */
.ai::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0%, transparent 100%);
}
.ai .container { position: relative; }
.ai a { color: var(--ai-mint); }
.ai :focus-visible { outline-color: var(--ai-mint); }

.ai .section-head h2 { color: #fff; text-wrap: balance; }
.ai .section-head p { color: var(--ai-soft); }
.ai-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 5px 14px 5px 5px;
  border-radius: var(--r-pill);
  background: var(--ai-glass);
  border: 1px solid var(--ai-line);
  font-size: .86rem;
  font-weight: 700;
  color: #D5EEE2;
}
.ai-new {
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: #3BBA8C;
  color: #05261A;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ---------- Ikki sahna: matn + jonli maket ---------- */
.ai-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.ai-stage + .ai-stage { margin-top: 104px; }
.ai-stage--paper .ai-visual { order: -1; }

.ai-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: .92rem;
  font-weight: 700;
  color: var(--ai-mint);
}
.ai-kicker svg {
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 11px;
  background: rgba(142, 219, 184, .14);
  flex: none;
}
.ai-copy h3 {
  margin: 0 0 14px;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.025em;
  color: #fff;
  text-wrap: balance;
}
.ai-copy > p {
  margin: 0;
  max-width: 520px;
  font-size: 1.06rem;
  color: var(--ai-soft);
}
.ai-copy > p + p { margin-top: 12px; }
.ai-copy > p.ai-note { font-size: .93rem; color: var(--ai-mute); }

/* Misol gaplar — bosilsa telefon maketida o'sha gap «aytiladi» */
.ai-try { margin-top: 26px; }
.ai-try-label {
  display: block;
  margin-bottom: 10px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ai-mute);
}
.ai-phrases { display: flex; flex-wrap: wrap; gap: 8px; }
.ai-phrase {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 9px 16px 9px 13px;
  border-radius: 22px;
  border: 1px solid var(--ai-line);
  background: var(--ai-glass);
  color: var(--ai-ink);
  font: inherit;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
}
.ai-phrase:hover { border-color: rgba(255, 255, 255, .32); background: rgba(255, 255, 255, .09); }
.ai-phrase:active { transform: scale(.98); }
.ai-phrase[aria-pressed="true"] { background: #F2F8F4; border-color: #F2F8F4; color: #0F2A1F; }
.ai-eq { display: inline-flex; align-items: flex-end; gap: 2px; width: 15px; height: 14px; flex: none; }
.ai-eq i { width: 3px; height: 45%; border-radius: 2px; background: currentColor; opacity: .6; }
.ai-eq i:nth-child(2) { height: 100%; }
.ai-eq i:nth-child(3) { height: 70%; }
.ai-phrase.is-playing .ai-eq i { opacity: 1; animation: aiEq .9s ease-in-out infinite; }
.ai-phrase.is-playing .ai-eq i:nth-child(2) { animation-delay: -.35s; }
.ai-phrase.is-playing .ai-eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes aiEq { 0%, 100% { height: 30%; } 50% { height: 100%; } }

/* Qisqa faktlar */
.ai-facts {
  list-style: none;
  margin: 30px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--ai-line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.ai-facts li { display: flex; flex-direction: column; gap: 4px; }
.ai-facts b { font-size: 1rem; line-height: 1.3; color: #fff; letter-spacing: -.01em; }
.ai-facts span { font-size: .88rem; line-height: 1.45; color: var(--ai-mute); }

/* ---------- Ishonch qatori va chaqiriq ---------- */
.ai-trust {
  margin-top: 96px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.ai-trust-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--r-card);
  background: var(--ai-glass);
  border: 1px solid var(--ai-line);
}
.ai-trust-ic {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(142, 219, 184, .14);
  color: var(--ai-mint);
}
.ai-trust-item b { display: block; margin-bottom: 3px; font-size: 1rem; line-height: 1.3; color: #fff; }
.ai-trust-item span { display: block; font-size: .9rem; line-height: 1.45; color: var(--ai-mute); }
/* Belgi uyasi ham <span> — yuqoridagi `display: block` uni bosib, belgi chap-yuqoriga siljirdi (2026-10-20) */
.ai-trust-item .ai-trust-ic { display: flex; }
.ai-trust-item a { font-weight: 600; }
.ai-cta { margin-top: 44px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.ai-cta p { margin: 0; color: var(--ai-soft); }
.ai .store-badge { border-color: rgba(255, 255, 255, .42); }
.ai .store-badge:hover { background: #1c1f24; }

/* ---------- Maket ustuni ---------- */
.ai-visual { position: relative; display: flex; justify-content: center; }
.ai-visual::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 86%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 186, 140, .28), transparent 66%);
  filter: blur(10px);
  pointer-events: none;
}

/* ---------- Telefon ramkasi ----------
   Ekran 360×760 «dizayn pikseli»da chiziladi va --k bilan kichraytiriladi (transform — eski
   brauzerlarda ham ishlaydi); ramka o'lchami --k dan hisoblanadi. */
.qz-phone {
  --k: .8;
  position: relative;
  z-index: 1;
  flex: none;
  width: calc(360px * var(--k) + 20px);
  padding: 10px;
  border-radius: calc(44px * var(--k) + 10px);
  background: linear-gradient(150deg, #3b413d 0%, #141815 38%, #0a0c0b 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 44px 90px rgba(0, 0, 0, .5), 0 14px 30px rgba(0, 0, 0, .32);
}
.qz-glass {
  position: relative;
  width: calc(360px * var(--k));
  height: calc(760px * var(--k));
  border-radius: calc(36px * var(--k));
  overflow: hidden;
  background: #F7F8F6;
}

/* Ilova tokenlari (yorug' mavzu) */
.qz {
  --q-bg: #F7F8F6;
  --q-surface: #FFFFFF;
  --q-sunken: #EDF0EC;
  --q-ink: #141914;
  --q-ink-soft: #3E463F;
  --q-ink-mute: #667066;
  --q-ink-fade: #A9B0A8;
  --q-brand: #0F7B57;
  --q-brand-bg: rgba(15, 123, 87, .10);
  --q-fill: #157A56;
  --q-pc: #E4F1E9;
  --q-on-pc: #173B2C;
  --q-pos: #0E7F57;
  --q-pos-bg: rgba(14, 127, 87, .10);
  --q-pos-bg-hi: rgba(14, 127, 87, .16);
  --q-neg: #B8551A;
  --q-neg-bg: rgba(184, 85, 26, .10);
  --q-neg-bg-hi: rgba(184, 85, 26, .15);
  --q-guess: #8F5C0E;
  --q-guess-line: #C98A1F;
  --q-guess-bg: rgba(201, 138, 31, .14);
  --q-line: #E3E7E2;
  --q-line-hi: #D1D8D0;
  --q-hero: #1E3A2E;
  --q-hero-ink: #F2F6F3;
  --q-spring: cubic-bezier(.2, .8, .2, 1);
  position: absolute;
  top: 0;
  left: 0;
  width: 360px;
  height: 760px;
  transform: scale(var(--k));
  transform-origin: 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--q-bg);
  color: var(--q-ink);
  font-family: "QG Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.35;
  text-align: left;
  -webkit-font-smoothing: antialiased;
  user-select: none;
  -webkit-user-select: none;
}
.qz * { box-sizing: border-box; }
.qz .num { font-variant-numeric: tabular-nums; }
.qz-status {
  flex: none;
  height: 40px;
  padding: 0 22px 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
}
.qz-status svg { display: block; }
.qz-status .qz-sic { display: flex; align-items: center; gap: 6px; }
.qz-cam { position: absolute; top: 13px; left: 50%; z-index: 9; width: 13px; height: 13px; margin-left: -6.5px; border-radius: 50%; background: #0b0d0c; }
.qz-home { position: absolute; bottom: 7px; left: 50%; z-index: 9; width: 118px; height: 4px; margin-left: -59px; border-radius: 2px; background: rgba(20, 25, 20, .32); }

/* ---------- Ovozli forma (V83 «B»: Yangi amaliyot) ---------- */
.qz-head { flex: none; display: flex; align-items: center; gap: 10px; padding: 6px 16px 4px; }
.qz-x { width: 44px; height: 44px; flex: none; border-radius: 14px; background: var(--q-sunken); display: flex; align-items: center; justify-content: center; }
.qz-title { flex-grow: 1; min-width: 0; font-size: 18px; line-height: 22px; font-weight: 800; letter-spacing: -.025em; }
.qz-body { flex-grow: 1; min-height: 0; overflow: hidden; padding: 10px 18px 0; display: flex; flex-direction: column; }

/* «Siz aytdingiz» — to'ldirilgandan keyin silliq ochiladi */
.qz-heard-wrap { flex: none; display: grid; grid-template-rows: 0fr; margin-bottom: 0; transition: grid-template-rows .5s var(--q-spring), margin-bottom .5s var(--q-spring); }
.qz-heard-wrap > div { min-height: 0; overflow: hidden; }
.qz[data-state="filled"] .qz-heard-wrap { grid-template-rows: 1fr; margin-bottom: 12px; }
.qz-heard { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: 16px; background: var(--q-pc); color: var(--q-on-pc); }
.qz-hic { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--q-brand-bg); color: var(--q-brand); display: flex; align-items: center; justify-content: center; }
.qz-hcol { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.qz-hl { font-size: 12px; line-height: 16px; font-weight: 800; opacity: .8; }
.qz-ht { font-size: 14px; line-height: 19px; font-weight: 700; }

.qz-types { flex: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.qz-tcard { min-height: 62px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: var(--q-surface); border: 1.5px solid var(--q-line); transition: background .35s ease, border-color .35s ease, color .35s ease; }
.qz-tic { width: 38px; height: 38px; flex: none; border-radius: 12px; display: flex; align-items: center; justify-content: center; transition: background .35s ease, color .35s ease; }
.qz-tcard.gave .qz-tic { background: var(--q-pos-bg); color: var(--q-pos); }
.qz-tcard.got .qz-tic { background: var(--q-neg-bg); color: var(--q-neg); }
.qz-tcol { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.qz-tl { font-size: 14px; line-height: 18px; font-weight: 800; }
.qz-ts { font-size: 11.5px; line-height: 14px; color: var(--q-ink-mute); transition: color .35s ease; }
.qz[data-state="filled"][data-type="gave"] .qz-tcard.gave,
.qz[data-state="filled"][data-type="got"] .qz-tcard.got { color: #fff; }
.qz[data-state="filled"][data-type="gave"] .qz-tcard.gave { background: var(--q-pos); border-color: var(--q-pos); }
.qz[data-state="filled"][data-type="got"] .qz-tcard.got { background: var(--q-neg); border-color: var(--q-neg); }
.qz[data-state="filled"][data-type="gave"] .qz-tcard.gave .qz-tic,
.qz[data-state="filled"][data-type="got"] .qz-tcard.got .qz-tic { background: rgba(255, 255, 255, .2); color: #fff; }
.qz[data-state="filled"][data-type="gave"] .qz-tcard.gave .qz-ts,
.qz[data-state="filled"][data-type="got"] .qz-tcard.got .qz-ts { color: rgba(255, 255, 255, .85); }

.qz-amt { flex: none; margin-top: 12px; padding: 20px 18px; border-radius: 22px; background: var(--q-surface); border: 2px solid var(--q-line-hi); display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; transition: background .35s ease, border-color .35s ease; }
.qz[data-state="filled"][data-type="gave"] .qz-amt { background: var(--q-pos-bg-hi); border-color: var(--q-pos); }
.qz[data-state="filled"][data-type="got"] .qz-amt { background: var(--q-neg-bg-hi); border-color: var(--q-neg); }
.qz-alab { font-size: 12px; line-height: 15px; font-weight: 700; color: var(--q-ink-mute); }
.qz-arow { display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 44px; }
.qz-asign { font-size: 20px; line-height: 44px; font-weight: 800; color: var(--q-ink-fade); }
.qz-anum { font-size: 36px; line-height: 44px; font-weight: 800; letter-spacing: -.025em; font-variant-numeric: tabular-nums; color: var(--q-ink-fade); }
.qz[data-state="filled"][data-type="gave"] .qz-asign, .qz[data-state="filled"][data-type="gave"] .qz-anum { color: var(--q-pos); }
.qz[data-state="filled"][data-type="got"] .qz-asign, .qz[data-state="filled"][data-type="got"] .qz-anum { color: var(--q-neg); }
.qz-qchips { flex: none; margin-top: 10px; display: flex; justify-content: center; gap: 5px; }
.qz-qchip { min-height: 32px; padding: 0 9px; border-radius: 999px; border: 1.5px solid var(--q-line); display: flex; align-items: center; font-size: 12px; font-weight: 700; color: var(--q-ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }

.qz-rows { flex: none; margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.qz-frow { min-height: 64px; display: flex; align-items: center; gap: 13px; padding: 11px 14px; border-radius: 16px; background: var(--q-surface); border: 1px solid var(--q-line); }
.qz-fic { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--q-sunken); color: var(--q-ink-soft); display: flex; align-items: center; justify-content: center; }
.qz-fav { width: 40px; height: 40px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; background: var(--q-pos-bg-hi); color: var(--q-pos); }
.qz-fav.is-neg { background: var(--q-neg-bg-hi); color: var(--q-neg); }
.qz-fav.is-new { background: var(--q-guess-bg); color: var(--q-guess); }
.qz-frc { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.qz-frl { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 12px; line-height: 15px; font-weight: 700; color: var(--q-ink-mute); }
.qz-opt { font-weight: 500; }
.qz-frv { font-size: 15px; line-height: 20px; font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.qz-frv.ph { font-weight: 500; color: var(--q-ink-mute); }
.qz-frs { font-size: 12.5px; line-height: 17px; color: var(--q-ink-mute); font-variant-numeric: tabular-nums; }
.qz-chev { flex: none; display: flex; color: var(--q-ink-mute); }
.qz-gtag { flex: none; padding: 1px 8px; border-radius: 999px; background: var(--q-guess-bg); color: var(--q-guess); font-size: 11.5px; line-height: 16px; font-weight: 800; }
.qz-sk { display: block; border-radius: 10px; background: linear-gradient(90deg, var(--q-sunken) 0%, var(--q-line-hi) 50%, var(--q-sunken) 100%); background-size: 200% 100%; animation: qzSh 1.3s linear infinite; }

/* Holatga qarab almashadigan qismlar: bo'sh / kutilmoqda / to'ldi */
.qz .qz-v-think, .qz .qz-v-full { display: none; }
.qz[data-state="think"] .qz-v-empty, .qz[data-state="filled"] .qz-v-empty { display: none; }
.qz[data-state="think"] .qz-v-think, .qz[data-state="filled"] .qz-v-full { display: flex; }
.qz[data-state="think"] .qz-sk.qz-v-think { display: block; }

/* To'lgan maydonlar navbat bilan bir lahza yorishadi */
.qz[data-state="filled"] .qz-flash { animation: qzFlash 1.1s ease both; animation-delay: var(--d, 0s); }
@keyframes qzFlash {
  0% { box-shadow: 0 0 0 0 rgba(21, 122, 86, 0); }
  25% { box-shadow: 0 0 0 4px rgba(21, 122, 86, .28); }
  100% { box-shadow: 0 0 0 0 rgba(21, 122, 86, 0); }
}

/* Pastki panel: Saqlash + mikrofon */
.qz-fbar { flex: none; position: relative; display: flex; align-items: center; gap: 10px; padding: 12px 18px 22px; border-top: 1px solid var(--q-line); background: var(--q-bg); }
.qz-fcta { flex-grow: 1; min-width: 0; height: 52px; padding: 0 14px; border-radius: 999px; background: var(--q-sunken); color: var(--q-ink-mute); display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14.5px; font-weight: 800; white-space: nowrap; overflow: hidden; transition: background .35s ease, color .35s ease; }
.qz[data-state="filled"][data-type="gave"] .qz-fcta { background: var(--q-pos); color: #fff; }
.qz[data-state="filled"][data-type="got"] .qz-fcta { background: var(--q-neg); color: #fff; }
.qz-fcta .qz-ok { display: none; }
.qz[data-state="filled"] .qz-fcta .qz-ok { display: block; }
.qz[data-state="filled"] .qz-fcta .qz-cta-empty { display: none; }
.qz .qz-fcta .qz-cta-save { display: none; }
.qz[data-state="filled"] .qz-fcta .qz-cta-save { display: inline; }
.qz-micb { position: relative; width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--q-pc); color: var(--q-on-pc); border: 1.5px solid rgba(15, 123, 87, .35); display: flex; align-items: center; justify-content: center; transition: transform .18s ease; }
.qz-micb.is-tap { transform: scale(.88); }
.qz[data-state="idle"] .qz-micb::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--q-brand); animation: qzRing 1.6s ease-out infinite; }
@keyframes qzRing { from { transform: scale(.85); opacity: .9; } to { transform: scale(1.35); opacity: 0; } }

/* Ovoz paneli (dock) — tinglash va tushunish */
.qz-dock { position: absolute; left: 12px; right: 12px; bottom: 16px; z-index: 5; padding: 14px 14px 12px; border-radius: 26px; background: var(--q-hero); color: var(--q-hero-ink); box-shadow: 0 12px 32px rgba(20, 25, 20, .18); display: flex; flex-direction: column; gap: 10px; transform: translateY(calc(100% + 30px)); transition: transform .5s var(--q-spring); }
.qz[data-state="listen"] .qz-dock, .qz[data-state="think"] .qz-dock { transform: none; }
.qz-dock-listen, .qz-dock-think { display: none; flex-direction: column; gap: 10px; }
.qz[data-state="listen"] .qz-dock-listen, .qz[data-state="idle"] .qz-dock-listen, .qz[data-state="think"] .qz-dock-think, .qz[data-state="filled"] .qz-dock-think { display: flex; }
.qz-drow { display: flex; align-items: center; gap: 8px; min-height: 26px; }
.qz-rdot { width: 9px; height: 9px; flex: none; border-radius: 50%; background: #FF7A7A; animation: qzBlink 1.2s ease-in-out infinite; }
.qz-dst { flex-grow: 1; min-width: 0; font-size: 15.5px; line-height: 20px; font-weight: 800; }
.qz-dtime { flex: none; font-size: 14px; font-weight: 700; opacity: .8; font-variant-numeric: tabular-nums; }
.qz-dhint { margin: 0; font-size: 14.5px; line-height: 20px; font-weight: 700; }
.qz-dex { margin: 0; min-height: 40px; font-size: 14px; line-height: 20px; opacity: .85; }
.qz-dex .qz-caret { display: inline-block; width: 2px; height: 15px; margin-left: 2px; vertical-align: -2px; background: currentColor; animation: qzBlink 1s steps(1) infinite; }
.qz-dctl { display: flex; align-items: center; gap: 12px; }
.qz-dx { width: 46px; height: 46px; flex: none; border-radius: 50%; background: rgba(255, 255, 255, .14); display: flex; align-items: center; justify-content: center; }
.qz-wv { flex-grow: 1; min-width: 0; height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 3px; }
.qz-wv i { display: block; width: 4px; border-radius: 2px; background: currentColor; opacity: .6; animation: qzWave 1.1s ease-in-out infinite; }
.qz-ddone { flex: none; min-height: 46px; padding: 0 16px 0 12px; border-radius: 999px; background: var(--q-hero-ink); color: var(--q-hero); display: flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 800; white-space: nowrap; }
.qz-dcap { font-size: 12.5px; line-height: 17px; opacity: .78; text-align: center; }
.qz-dcap.l { text-align: left; }
.qz-spin { width: 18px; height: 18px; flex: none; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .3); border-top-color: #fff; animation: qzSpin .8s linear infinite; }
@keyframes qzSh { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes qzBlink { 50% { opacity: .25; } }
@keyframes qzWave { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
@keyframes qzSpin { to { transform: rotate(360deg); } }

/* ---------- Qog'oz daftar (katak daftar) + o'qish ---------- */
.ai-scene { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: center; }
.ai-scene .qz-phone { --k: .72; margin: 150px 0 0 -70px; }
.ai-paper-box { --pk: 1; position: relative; flex: none; width: calc(300px * var(--pk)); height: calc(420px * var(--pk)); transform: rotate(-4deg); margin-top: 8px; }
.ai-paper {
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: 420px;
  padding: 18px 14px 20px 50px;
  transform: scale(var(--pk));
  transform-origin: 0 0;
  border-radius: 3px 8px 8px 3px;
  background-color: #FCFBF6;
  background-image:
    linear-gradient(90deg, transparent 37px, rgba(219, 84, 84, .55) 37px, rgba(219, 84, 84, .55) 39px, transparent 39px),
    linear-gradient(rgba(96, 140, 192, .22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 140, 192, .22) 1px, transparent 1px);
  background-size: 100% 100%, 17px 17px, 17px 17px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .05), 0 26px 54px rgba(0, 0, 0, .40), 0 8px 18px rgba(0, 0, 0, .22);
  font-family: "QG Caveat", "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
  font-weight: 500;
  color: #23366E;
}
.ai-pline { display: block; height: 34px; font-size: 22px; line-height: 34px; white-space: nowrap; }
.ai-ph { text-align: center; font-size: 26px; }
.ai-pdate { font-size: 19px; color: #3A4C7E; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ai-pe { position: relative; display: inline-flex; gap: 7px; padding: 0 2px; }
.ai-pe::before {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: -8px;
  right: -8px;
  border-radius: 9px;
  border: 1.5px solid transparent;
  transition: border-color .3s ease, background-color .3s ease;
}
.ai-pe.is-read::before { border-color: rgba(15, 123, 87, .62); background-color: rgba(15, 123, 87, .08); }
.ai-pe.is-guess::before { border: 2px dashed #C98A1F; background-color: rgba(201, 138, 31, .14); }
.ai-pn {
  position: absolute;
  left: -46px;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0F7B57;
  color: #fff;
  font-family: "QG Manrope", system-ui, sans-serif;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1;
  transform: scale(0);
  transition: transform .35s cubic-bezier(.3, 1.6, .5, 1);
}
.ai-pe.is-read .ai-pn, .ai-pe.is-guess .ai-pn { transform: scale(1); }
.ai-pe.is-guess .ai-pn { background: #C98A1F; color: #1B1305; }
/* Siyoh yoyilgan raqam yoki harf — AI shu joyni «taxmin» deb belgilaydi */
.ai-smudge { position: relative; display: inline-block; filter: blur(.9px); }
.ai-smudge::after { content: ""; position: absolute; top: 18%; bottom: 8%; left: -35%; right: -35%; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(35, 54, 110, .40), rgba(35, 54, 110, 0) 70%); }
.ai-scan {
  position: absolute;
  top: 12px;
  left: 10px;
  right: 10px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, #3BBA8C 18%, #A8F0CF 50%, #3BBA8C 82%, transparent);
  box-shadow: 0 0 16px 3px rgba(59, 186, 140, .55);
  opacity: 0;
  pointer-events: none;
}
.ai-paper.is-scanning .ai-scan { opacity: 1; animation: aiScan var(--scan-ms, 2800ms) linear forwards; }
@keyframes aiScan { from { top: 12px; } to { top: calc(100% - 16px); } }
.ai-cn { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: #3BBA8C; border: 3px solid #0F231A; opacity: 0; transition: opacity .3s ease; }
.ai-cn:nth-of-type(1) { top: -7px; left: -7px; }
.ai-cn:nth-of-type(2) { top: -7px; right: -7px; }
.ai-cn:nth-of-type(3) { bottom: -7px; left: -7px; }
.ai-cn:nth-of-type(4) { bottom: -7px; right: -7px; }
.ai-paper.is-scanning .ai-cn { opacity: 1; }
.ai-ptag {
  position: absolute;
  top: -15px;
  right: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #0F7B57;
  color: #fff;
  font-family: "QG Manrope", system-ui, sans-serif;
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .28);
  transform: rotate(4deg);
  transition: opacity .35s ease, transform .35s ease;
}
.ai-paper.is-scanning .ai-ptag { opacity: 0; transform: translateY(6px) rotate(4deg); }

/* ---------- Ro'yxat ekrani (V82: daftarga yoziladiganlar) ---------- */
.qz-lhead { flex: none; display: flex; align-items: center; gap: 4px; padding: 4px 14px 4px 6px; }
.qz-back { width: 44px; height: 44px; flex: none; display: flex; align-items: center; justify-content: center; }
.qz-h1 { flex-grow: 1; min-width: 0; font-size: 22px; line-height: 28px; font-weight: 800; letter-spacing: -.02em; }
.qz-add { flex: none; min-height: 36px; padding: 0 13px 0 10px; border-radius: 999px; background: var(--q-pc); color: var(--q-on-pc); display: flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 800; }
.qz-lbody { flex-grow: 1; min-height: 0; overflow: hidden; padding: 6px 16px 0; display: flex; flex-direction: column; gap: 12px; }
.qz-hero { flex: none; padding: 16px; border-radius: 22px; background: var(--q-pc); display: flex; flex-direction: column; gap: 12px; }
.qz-htop { display: flex; flex-direction: column; gap: 1px; color: var(--q-on-pc); }
.qz-hlab { font-size: 13px; font-weight: 700; opacity: .85; }
.qz-big { font-size: 28px; line-height: 34px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.qz-hsub { font-size: 13.5px; font-weight: 600; opacity: .9; font-variant-numeric: tabular-nums; }
.qz-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.qz-stat { padding: 9px 12px; border-radius: 14px; background: var(--q-surface); display: flex; flex-direction: column; gap: 1px; }
.qz-sl { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--q-ink-mute); }
.qz-sv { font-size: 17px; line-height: 23px; font-weight: 800; font-variant-numeric: tabular-nums; }
.qz .pos { color: var(--q-pos); }
.qz .neg { color: var(--q-neg); }
.qz-hguess { min-height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 12px; border-radius: 14px; background: var(--q-guess-bg); transition: opacity .35s ease, transform .35s ease; }
.qz-list[data-state="scan"] .qz-hguess { opacity: 0; transform: translateY(4px); }
.qz-gdot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--q-guess-line); }
.qz-hgt { flex-grow: 1; min-width: 0; font-size: 13.5px; font-weight: 700; }
.qz-hgl { flex: none; display: flex; align-items: center; gap: 2px; font-size: 13.5px; font-weight: 800; color: var(--q-guess); }
.qz-plist { flex: none; background: var(--q-surface); border: 1px solid var(--q-line); border-radius: 20px; overflow: hidden; }
.qz-prow { position: relative; display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 14px 8px 12px; }
.qz-prow + .qz-prow { border-top: 1px solid var(--q-line); }
.qz-prow > * { transition: opacity .35s ease, transform .35s var(--q-spring); }
.qz-av { width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--q-sunken); color: var(--q-ink-soft); display: flex; align-items: center; justify-content: center; font-size: 13.5px; font-weight: 800; }
.qz-prow.is-guess .qz-av { box-shadow: 0 0 0 2px var(--q-surface), 0 0 0 4px var(--q-guess-line); }
.qz-pcol { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.qz-pname { font-size: 15px; line-height: 20px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qz-psub { font-size: 12.5px; line-height: 17px; color: var(--q-ink-mute); white-space: nowrap; }
.qz-prow.is-guess .qz-psub { color: var(--q-guess); font-weight: 700; }
.qz-pnet { flex: none; font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.qz-pnet.g { text-decoration: underline dashed var(--q-guess-line) 2px; text-underline-offset: 4px; }
/* O'qilmagan qator — skelet; qator o'qilganda mazmun paydo bo'ladi */
.qz-prow::before, .qz-prow::after { content: ""; position: absolute; opacity: 0; transition: opacity .25s ease; pointer-events: none; }
.qz-prow::before { left: 12px; top: 50%; width: 38px; height: 38px; margin-top: -19px; border-radius: 50%; background: var(--q-sunken); }
.qz-prow::after { left: 62px; top: 50%; width: 46%; height: 12px; margin-top: -6px; border-radius: 6px; background: linear-gradient(90deg, var(--q-sunken) 0%, var(--q-line-hi) 50%, var(--q-sunken) 100%); background-size: 200% 100%; animation: qzSh 1.3s linear infinite; }
.qz-list[data-state="scan"] .qz-prow:not(.is-in)::before, .qz-list[data-state="scan"] .qz-prow:not(.is-in)::after { opacity: 1; }
.qz-list[data-state="scan"] .qz-prow:not(.is-in) > * { opacity: 0; transform: translateY(6px); }
.qz-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; padding: 12px 16px 24px; background: var(--q-surface); border-top: 1px solid var(--q-line); border-radius: 24px 24px 0 0; box-shadow: 0 -10px 28px rgba(20, 25, 20, .08); }
.qz-cta { min-height: 54px; padding: 0 22px; border-radius: 999px; background: var(--q-fill); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 15.5px; font-weight: 800; transition: opacity .3s ease; }
.qz-list[data-state="scan"] .qz-cta { opacity: .45; }
.qz-cta .num { font-weight: 700; opacity: .85; }

/* ---------- Moslashuvchan o'lchamlar ---------- */
@media (max-width: 1199px) {
  .ai-stage { gap: 44px; }
  .ai-scene .qz-phone { --k: .68; margin-left: -84px; }
  .ai-paper-box { --pk: .92; }
}
@media (max-width: 1079px) {
  .ai-stage { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .ai-stage--paper .ai-visual { order: 0; }
  .ai-stage--paper .ai-copy { order: -1; }
  .ai-copy { width: 100%; max-width: 640px; margin: 0 auto; }
  .ai-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai-scene .qz-phone { --k: .72; margin-left: -40px; margin-top: 110px; }
  .ai-paper-box { --pk: 1; }
}
@media (max-width: 640px) {
  .ai-stage + .ai-stage { margin-top: 80px; }
  .ai-scene { flex-direction: column; align-items: center; }
  .ai-paper-box { --pk: .9; margin-top: 0; }
  .ai-scene .qz-phone { margin: -18px 0 0; }
  .ai-facts { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ai-facts li { flex-direction: row; flex-wrap: wrap; column-gap: 8px; row-gap: 0; align-items: baseline; }
  .ai-trust { grid-template-columns: minmax(0, 1fr); margin-top: 72px; }
  .qz-phone { --k: .76; }
}
@media (max-width: 380px) {
  .qz-phone { --k: .7; }
  .ai-scene .qz-phone { --k: .7; }
  .ai-paper-box { --pk: .84; }
  .ai-phrase { font-size: .9rem; }
}

/* ---------- Tanlangan tur kartasi va taxmin qilingan ism ---------- */
.qz[data-state="filled"][data-type="gave"] .qz-tcard.gave,
.qz[data-state="filled"][data-type="got"] .qz-tcard.got { animation: qzFlash 1.1s ease both; }
.qz-g { text-decoration: underline dashed var(--q-guess-line) 2px; text-underline-offset: 3px; }
.qz-pname { padding-bottom: 3px; margin-bottom: -3px; }

/* ---------- Hero: yangi funksiya belgisi (style.css .badge ustiga) ---------- */
.badge--ai { color: var(--ink-soft); text-decoration: none; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
.badge--ai:hover { text-decoration: none; border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-1px); }
.badge--ai svg { flex: none; color: var(--brand); }
.badge-new { padding: 2px 8px; border-radius: var(--r-pill); background: var(--brand); color: #fff; font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
/* Menyudagi «Ovoz va surat» — o'rta kenglikda sarlavha qatoriga sig'maydi (900 px'da tugmalar ikki qatorga
   bo'linib ketgan). Keng ekranda va mobil menyuda (≤760 px, ustun) ko'rinadi; yuqoridagi «Yangi» belgisi
   o'rta kenglikda ham shu bo'limga olib boradi. */
@media (min-width: 761px) and (max-width: 1079px) { .nav .nav-ai { display: none; } }
/* Ko'rinmay turgan panel animatsiyalari to'xtab turadi (protsessorni behuda yemasin) */
.qz:not([data-state="listen"]) .qz-wv i, .qz:not([data-state="listen"]) .qz-rdot { animation-play-state: paused; }
.qz:not([data-state="think"]) .qz-spin { animation-play-state: paused; }
