/* ============================================================
   LANDING (T11) — faqat saytga xos qismlar. Ranglar, shrift, tugma va kartalar — dizayn.css (yagona dizayn tizimi, T6.09):
   bu yerda yangi rang yozilmaydi, faqat tokenlar. Mobil birinchi (360 px), keyin 720 / 1040 px.
   ============================================================ */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-size: 16px; line-height: 1.6; }
img, svg { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 7vw, 52px); font-weight: 750; }
h2 { font-size: clamp(24px, 4.6vw, 36px); font-weight: 700; }
h3 { font-size: 18px; font-weight: 650; }
p { margin: 0 0 1em; }
a.btn { text-decoration: none; }
.ichki { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.otish { position: absolute; left: -999px; top: 8px; background: var(--panel); padding: 8px 12px; border-radius: var(--radius-sm); z-index: 50; }
.otish:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--text-2); }
.kichik { font-size: var(--fs-sm); }

/* Prototip belgisi (CEO ko'rib chiqishi uchun) */
.taklif-banner { background: var(--brand-soft); color: var(--brand-ink); font-size: var(--fs-sm); text-align: center; padding: 8px 16px; border-bottom: 1px solid var(--border); }
.prototip { background: var(--warn-soft); color: var(--warn); font-size: var(--fs-sm); text-align: center; padding: 6px 16px; border-bottom: 1px solid var(--border); }
.toldir { background: var(--warn-soft); color: var(--warn); border-radius: 6px; padding: 0 6px; font-weight: 600; font-size: .8em; }

/* ---------- Sarlavha ---------- */
.bosh { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--border); }
.bosh .ichki { display: flex; align-items: center; gap: 16px; height: 64px; }
.brend { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brend small { display: block; font-size: 11.5px; color: var(--text-3); line-height: 1.1; }
.brend b { display: block; line-height: 1.15; }
.menyu { display: none; gap: 4px; margin-left: auto; }
.menyu a { color: var(--text-2); text-decoration: none; padding: 8px 12px; border-radius: var(--radius-xs); font-weight: 550; font-size: 15px; }
.menyu a:hover { background: var(--panel-2); color: var(--text); }
.bosh .chaqiriq { margin-left: auto; }
@media (min-width: 860px) { .menyu { display: flex; } .bosh .chaqiriq { margin-left: 8px; } }

/* ---------- Bo'limlar ---------- */
section { padding: 56px 0; }
section.och { background: var(--panel); border-block: 1px solid var(--border); }
.bolim-bosh { max-width: 720px; margin-bottom: 28px; }
.bolim-bosh p { color: var(--text-2); font-size: 17px; }
.yorliq { display: inline-block; font-size: var(--fs-sm); font-weight: 650; color: var(--brand-ink); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.panjara { display: grid; gap: 16px; }
.panjara > *, .namuna > *, .hero .ichki > * { min-width: 0; }   /* grid bolalari sahifani kengaytirmasin */
@media (min-width: 720px) { .panjara.p2 { grid-template-columns: repeat(2, 1fr); } .panjara.p3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .panjara.p4 { grid-template-columns: repeat(4, 1fr); } section { padding: 80px 0; } }
@media (min-width: 720px) and (max-width: 1039px) { .panjara.p4 { grid-template-columns: repeat(2, 1fr); } }
.card { padding: 20px; box-shadow: none; }
.card h3 { margin-bottom: 6px; }
.card p:last-child { margin-bottom: 0; }
.ikonka { width: 40px; height: 40px; border-radius: 11px; background: var(--brand-soft); color: var(--brand-ink); display: grid; place-items: center; margin-bottom: 12px; }
.ikonka.ok { background: var(--ok-soft); color: var(--ok); }
.ikonka svg { width: 22px; height: 22px; }
.btn.katta { padding: 14px 22px; font-size: 17px; border-radius: 12px; }

/* ---------- 1. Hero ---------- */
.hero { padding: 40px 0 56px; }
.hero .ichki { display: grid; gap: 36px; align-items: center; }
@media (min-width: 1040px) { .hero .ichki { grid-template-columns: 1.05fr 1fr; } .hero { padding: 72px 0 88px; } }
.hero p.lid { font-size: clamp(17px, 2.4vw, 20px); color: var(--text-2); max-width: 560px; }
.hero .tugmalar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 24px 0 10px; }
.ishonch { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ishonch li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); }
.ishonch svg { color: var(--ok); width: 20px; height: 20px; margin-top: 2px; }
@media (min-width: 720px) { .ishonch { grid-template-columns: repeat(3, auto); gap: 18px; } }
.gradient-matn { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Hero: dastur oynasi (jonli yozilayotgan javob) */
.oyna { background: var(--panel); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.oyna-bosh { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--border); background: var(--panel-2); align-items: center; }
.oyna-bosh i { width: 11px; height: 11px; border-radius: 50%; background: var(--border); display: block; }
.oyna-bosh span { margin-left: 8px; font-size: var(--fs-sm); color: var(--text-3); }
.oyna-tana { padding: 18px; display: grid; gap: 12px; min-height: 340px; align-content: start; }
.xabar { max-width: 92%; padding: 11px 14px; border-radius: 14px; font-size: 15px; }
.xabar.men { justify-self: end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.xabar.u { background: var(--panel-2); border-bottom-left-radius: 4px; white-space: pre-line; }
.xabar.u .manba { display: block; margin-top: 8px; font-size: var(--fs-sm); color: var(--text-2); }
.kursor::after { content: "▍"; animation: miltilla 1s steps(1) infinite; color: var(--brand-ink); }
@keyframes miltilla { 50% { opacity: 0; } }

/* ---------- 3. Qanday ishlaydi ---------- */
.qadam { position: relative; }
.qadam .raqam { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; margin-bottom: 12px; }

.skrinshot { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--border); box-shadow: var(--shadow-lg); }

/* ---------- 4. Jonli namuna ---------- */
.namuna { display: grid; gap: 16px; }
@media (min-width: 1040px) { .namuna { grid-template-columns: 340px 1fr; } }
.savollar { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
@media (min-width: 1040px) { .savollar { flex-direction: column; overflow: visible; } }
.savollar button { flex: none; width: 260px; text-align: left; padding: 12px 14px; border: 1px solid var(--border); background: var(--panel); border-radius: 12px; cursor: pointer; scroll-snap-align: start; font-size: 15px; }
@media (min-width: 1040px) { .savollar button { width: auto; } }
.savollar button[aria-selected="true"] { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-ring); }
.savollar small { display: block; color: var(--text-3); font-size: 12px; margin-bottom: 2px; }
.javob { padding: 22px; }
.javob .savol-matn { font-weight: 650; font-size: 17px; margin-bottom: 12px; }
.javob .matn { white-space: pre-line; }
.javob .belgi { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* ---------- 5. Sohalar ---------- */
.sohalar { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.soha { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 14px 16px; }
.soha.toliq { border-color: var(--ok); }

/* ---------- 7. Solishtirish ---------- */
.jadval { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); }
.jadval table { border-collapse: collapse; width: 100%; min-width: 640px; }
.jadval th, .jadval td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; font-size: 15px; }
.jadval thead th { font-size: var(--fs-sm); color: var(--text-2); }
.jadval th.biz, .jadval td.biz { background: var(--brand-soft); }
.jadval tr:last-child td { border-bottom: 0; }
.ha { color: var(--ok); font-weight: 650; } .yoq { color: var(--text-3); }

/* ---------- 9. Narxlar ---------- */
.tarif { display: flex; flex-direction: column; gap: 12px; padding: 24px; }
.tarif.tanlangan { border: 2px solid var(--brand); }
.tarif .narx { font-size: 32px; font-weight: 750; letter-spacing: -0.02em; }
.tarif .narx small { font-size: 15px; font-weight: 500; color: var(--text-2); }
.tarif ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--text-2); }
.tarif li::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: 8px; }
.tarif .btn { margin-top: auto; }

/* ---------- 10. FAQ ---------- */
.faq details { border-bottom: 1px solid var(--border); padding: 4px 0; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand-ink); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 0 16px; color: var(--text-2); }

/* ---------- 11. Yakuniy chaqiriq ---------- */
.yakuniy { text-align: center; background: var(--sidebar); color: var(--sidebar-text); border-radius: 20px; padding: 48px 20px; }
.yakuniy h2 { color: #fff; }

/* ---------- Matnli sahifalar (huquqiy, yordam) ---------- */
.matnli { max-width: 760px; padding: 40px 16px 64px; margin: 0 auto; }
.matnli h1 { font-size: clamp(28px, 5vw, 40px); }
.matnli h2 { font-size: 22px; margin-top: 1.6em; }
.matnli li { margin-bottom: .4em; }
.qoralama { border: 1px solid var(--warn); background: var(--warn-soft); color: var(--warn); padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 24px; }

/* ---------- Yuklab olish ---------- */
.os-blok { padding: 28px; display: grid; gap: 14px; justify-items: start; }
.talablar { display: grid; gap: 6px; padding-left: 20px; margin: 0; color: var(--text-2); }
.qr { width: 168px; height: 168px; background: var(--panel); padding: 8px; border-radius: 12px; border: 1px solid var(--border); }
.qadamlar { counter-reset: q; list-style: none; padding: 0; display: grid; gap: 14px; }
.qadamlar li { counter-increment: q; display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.qadamlar li::before { content: counter(q); width: 34px; height: 34px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-ink); display: grid; place-items: center; font-weight: 700; }
.hash { font: 12px var(--mono); word-break: break-all; color: var(--text-2); }

/* ---------- Oyoq, yopishqoq tugma, cookie ---------- */
.oyoq { border-top: 1px solid var(--border); background: var(--panel); padding: 40px 0 96px; margin-top: 40px; }
.oyoq .ichki { display: grid; gap: 24px; }
@media (min-width: 720px) { .oyoq .ichki:first-child { grid-template-columns: 2fr 1fr 1fr; } .oyoq { padding-bottom: 32px; } }
.oyoq-ustun { display: grid; gap: 8px; align-content: start; }
.oyoq-ustun a:not(.brend) { color: var(--text-2); text-decoration: none; }
.oyoq-ustun a:not(.brend):hover { color: var(--text); text-decoration: underline; }
.oyoq-past { display: flex !important; flex-wrap: wrap; justify-content: space-between; align-items: center; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--border); font-size: var(--fs-sm); }
.yopishqoq { position: fixed; left: 0; right: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--panel); border-top: 1px solid var(--border); z-index: 30; }
.yopishqoq .btn { width: 100%; padding: 13px; font-size: 16px; }
@media (min-width: 720px) { .yopishqoq { display: none !important; } }
.cookie { position: fixed; left: 12px; right: 12px; bottom: 76px; z-index: 40; padding: 16px; max-width: 520px; box-shadow: var(--shadow-lg); }
.cookie p { font-size: 14.5px; margin-bottom: 12px; }
@media (min-width: 720px) { .cookie { left: auto; right: 20px; bottom: 20px; } }

/* Harakat: ko'rinishga kirganda yengil chiqish (harakatni kamaytirish yoqilsa — yo'q) */
.chiq { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.chiq.korindi { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .chiq { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* Yordamchi sinflar — sahifada inline style yo'q (CSP: style-src 'self', sayt/nginx_namuna.conf) */
.m0 { margin: 0; } .mt-4 { margin-top: 4px; } .mt-10 { margin-top: 10px; } .mt-12 { margin-top: 12px; } .mt-14 { margin-top: 14px; }
.mt-16 { margin-top: 16px; } .mt-20 { margin-top: 20px; } .mt-28 { margin-top: 28px; } .mt-32 { margin: 32px 0 0; } .mt-40 { margin-top: 40px; }
.mb-10 { margin: 0 0 10px; } .mb-1em { margin-bottom: 1em; }
.tor { max-width: 820px; } .tor-k { max-width: 860px; } .orta { text-align: center; } .row-orta { justify-content: center; }
.katak { align-items: flex-start; gap: 8px; } .katak input { margin-top: 4px; }
.jadval-tor { min-width: 0 !important; } .asoschi-blok { margin-bottom: 16px; border-color: var(--ok); }
.narx-matn { font-size: 20px; font-weight: 650; color: var(--text); }
