/* ============================================================
   landing.css — OnlineBiznes qo'nish sahifasi (index.html)
   Mijoz paneli (css/bulut.css, "Bulut") bilan bir xil vizual til:
   — yorug' kulrang fon, oq shishasimon kartalar (18px), indigo urg'u
   — Outfit (sarlavha) + Inter (matn), pill tugmalar, yumshoq soyalar
   — tungi rejim: html[data-theme="dark"] (js/settings.js, [data-theme-toggle])
   Tokenlar bulut.css bilan bir xil nomlangan — panelda o'zgarsa, shu yerda ham
   moslab yangilang. Bu fayl faqat index.html'ga ulanadi.
   ============================================================ */

:root {
  --bg-grad: linear-gradient(180deg, #f1f3f7 0%, #eceff4 100%);
  --bg-solid: #f1f3f7;
  --glass: rgba(255, 255, 255, 0.92);
  --glass-b: #e2e5ec;
  --solid: #ffffff;
  --ink: #151a2b;
  --text: #3a4157;
  --mut: #687088;
  --dim: #a2a8b9;
  --line: #e6e9f0;
  --acc: #4458f0;
  --acc2: #5a6cf6;
  --acc-ink: #3345dc;
  --acc-soft: #e7eafd;
  --btn-grad: linear-gradient(135deg, #4458f0, #5a6cf6);
  --ok: #0f9d6b;   --okbg: #dcf5ea;
  --bad: #d63a52;  --badbg: #fde6ea;
  --warn: #c27a00; --warnbg: #fff1d6;
  --sh: 0 10px 28px -20px rgba(20, 30, 70, 0.28);
  --sh-lg: 0 28px 56px -30px rgba(20, 30, 70, 0.38);
  --sh-acc: 0 8px 18px -8px rgba(68, 88, 240, 0.7);
  --overlay: rgba(21, 26, 43, 0.38);
  --hf: "Outfit", system-ui, sans-serif;
  --bf: "Inter", system-ui, sans-serif;
  --r: 18px;
  --r-sm: 12px;
  --nav-h: 68px;
  --max: 1200px;
  --gutter: 28px;
  color-scheme: light;
}
html[data-theme="dark"] {
  --bg-grad: linear-gradient(180deg, #0f121a 0%, #121725 100%);
  --bg-solid: #0f121a;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-b: rgba(255, 255, 255, 0.1);
  --solid: #1a1f2e;
  --ink: #eef1fa;
  --text: #c3c9da;
  --mut: #949bb0;
  --dim: #687087;
  --line: rgba(255, 255, 255, 0.09);
  --acc: #7d8cff;
  --acc2: #95a2ff;
  --acc-ink: #a9b4ff;
  --acc-soft: rgba(125, 140, 255, 0.15);
  --btn-grad: linear-gradient(135deg, #4b5ef2, #6475f7);
  --sh-acc: 0 8px 18px -8px rgba(80, 100, 245, 0.6);
  --ok: #3ddc9f;   --okbg: rgba(15, 157, 107, 0.2);
  --bad: #ff7a8e;  --badbg: rgba(214, 58, 82, 0.2);
  --warn: #ffc166; --warnbg: rgba(194, 122, 0, 0.22);
  --sh: 0 12px 30px -18px rgba(0, 0, 0, 0.65);
  --sh-lg: 0 30px 60px -28px rgba(0, 0, 0, 0.8);
  --overlay: rgba(5, 7, 14, 0.6);
  color-scheme: dark;
}

/* ---------- Asos ---------- */
*, *::before, *::after { box-sizing: border-box; }
:root { --ease-out: cubic-bezier(0.16, 1, 0.3, 1); }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body.lx {
  margin: 0;
  min-height: 100vh;
  background: var(--bg-grad);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--bf);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
:where(.lx) :where(h1, h2, h3, h4) { font-family: var(--hf); color: var(--ink); margin: 0; line-height: 1.2; }
:where(.lx) :where(p, dl, dd) { margin: 0; }
:where(.lx) :where(ul, ol) { margin: 0; padding: 0; list-style: none; }
:where(.lx) :where(a) { color: inherit; text-decoration: none; }
:where(.lx) :where(button) { font: inherit; color: inherit; cursor: pointer; }
:where(.lx) :where(img) { max-width: 100%; display: block; }
.lx :focus-visible { outline: 3px solid var(--acc); outline-offset: 2px; border-radius: 10px; }
.lx code { font-size: 0.9em; background: var(--acc-soft); color: var(--acc-ink); padding: 0.15em 0.5em; border-radius: 8px; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* shisha karta — paneldagi .glass bilan bir xil */
.glass, .hs-item, .catalog, .step, .sugg-card, .trust-band, .pv-notif {
  background: var(--glass);
  border: 1px solid var(--glass-b);
  border-radius: var(--r);
  box-shadow: var(--sh);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* ---------- Bo'lim sarlavhalari ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 14px 40px; margin-bottom: 24px; }
.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--acc-soft); color: var(--acc-ink);
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.section-title { margin-top: 12px; font-size: clamp(26px, 2.2vw + 14px, 36px); font-weight: 700; letter-spacing: -0.5px; text-wrap: balance; }
.section-subtitle { color: var(--mut); font-size: 15.5px; max-width: 46ch; }

/* ---------- Tugmalar (paneldagi .btn) ---------- */
.btn, .hero-btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 10px 18px;
  border-radius: 999px; border: 1px solid transparent;
  font-family: var(--bf); font-size: 14px; font-weight: 600; line-height: 1.2;
  white-space: nowrap; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease, filter 0.18s ease;
}
.btn-sm { min-height: 38px; padding: 8px 14px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn-primary, .hero-btn-main { background: var(--btn-grad); color: #fff; box-shadow: var(--sh-acc); }
.btn-primary:hover, .hero-btn-main:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn-soft, .hero-btn-ghost { background: var(--solid); color: var(--ink); border-color: var(--line); }
.btn-soft:hover, .hero-btn-ghost:hover { border-color: var(--acc); color: var(--acc-ink); }
.hero-btn { min-height: 50px; padding: 12px 24px; font-size: 15px; }
.hero-btn:active:not(:disabled), .btn:active { transform: scale(0.98); }
.hero-btn:disabled { opacity: 0.6; cursor: wait; }
.hb-arrow { display: inline-flex; transition: transform 0.2s ease; }
.hero-btn-main:hover .hb-arrow { transform: translateX(3px); }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
  background: var(--okbg); color: var(--ok); white-space: nowrap;
}
.app-free-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--okbg); color: var(--ok); font-size: 13px; font-weight: 700; }

.icon-btn {
  position: relative;
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; border: 1px solid var(--glass-b);
  background: var(--glass); color: var(--text);
  box-shadow: var(--sh);
  transition: color 0.18s, border-color 0.18s;
}
.icon-btn:hover { color: var(--acc-ink); border-color: var(--acc); }

/* ============ NAVBAR (paneldagi yuqori menyu) ============ */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--glass);
  border-bottom: 1px solid var(--glass-b);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.navbar.scrolled { box-shadow: var(--sh); }
.nav-container { display: flex; align-items: center; gap: 18px; height: var(--nav-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--hf); font-weight: 800; font-size: 19px; color: var(--ink); letter-spacing: -0.3px; flex-shrink: 0; }
.logo-icon { width: 36px; height: 36px; border-radius: 11px; overflow: hidden; box-shadow: var(--sh-acc); flex-shrink: 0; }
.logo-icon img { width: 100%; height: 100%; object-fit: cover; }

.nav-links { position: relative; flex: 1 1 auto; display: flex; justify-content: center; align-items: center; gap: 4px; }
.nav-link {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center;
  padding: 9px 14px; border-radius: 999px;
  color: var(--mut); font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: color 0.18s;
}
.nav-link:hover, .nav-link.is-hover { color: var(--ink); }
.nav-link.active { color: var(--acc-ink); }
/* main.js yaratadigan sirpanuvchi indikator — paneldagi faol band ko'rinishida */
.nav-indicator {
  position: absolute; left: 0; top: 50%; z-index: 0;
  height: 38px; margin-top: -19px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--acc) 13%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--acc) 22%, transparent);
  opacity: 0; pointer-events: none;
  clip-path: inset(0 14px round 999px);
}
.nav-indicator.on { opacity: 1; }
.nav-indicator.ready { transition: transform 0.3s ease, width 0.3s ease, opacity 0.2s; }
.nav-auth { display: none; }
.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.lang-switch { position: relative; }
.lang-trigger {
  display: inline-flex; align-items: center; gap: 7px;
  height: 40px; padding: 0 12px;
  border-radius: 12px; border: 1px solid var(--glass-b);
  background: var(--glass); color: var(--text);
  box-shadow: var(--sh);
  font-size: 13px; font-weight: 600;
}
.lang-trigger:hover { color: var(--acc-ink); border-color: var(--acc); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60;
  min-width: 190px; padding: 6px;
  background: var(--solid); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.35);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.16s, transform 0.16s, visibility 0.16s;
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-opt {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 10px 12px; border: 0; border-radius: 8px; background: transparent;
  color: var(--ink); font-size: 14px; font-weight: 600; text-align: left;
}
.lang-opt:hover { background: var(--acc-soft); }
.lang-opt .fa-check { margin-left: auto; color: var(--acc); visibility: hidden; font-size: 13px; }
.lang-opt.active { color: var(--acc-ink); }
.lang-opt.active .fa-check { visibility: visible; }

.hamburger {
  display: none; width: 40px; height: 40px; padding: 0;
  border-radius: 12px; border: 1px solid var(--glass-b); background: var(--glass); box-shadow: var(--sh);
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.hamburger span { width: 17px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.25s ease, opacity 0.2s; }
.hamburger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============ HERO ============ */
.hero { padding: 56px 0 40px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-areas: "copy media" "stats stats";
  gap: 40px 48px;
  align-items: center;
}
.hero-content { grid-area: copy; }
.hero-stats { grid-area: stats; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  background: var(--solid); border: 1px solid var(--line);
  color: var(--mut); font-size: 13px; font-weight: 600;
  margin-bottom: 22px;
}
.eyebrow .live { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--okbg); }
.hero-title { font-size: clamp(36px, 3.6vw + 16px, 62px); font-weight: 800; line-height: 1.05; letter-spacing: -1.6px; text-wrap: balance; }
.hero-title .text-accent {
  font-style: normal;
  background: var(--btn-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
html[data-theme="dark"] .hero-title .text-accent { background: linear-gradient(135deg, #95a2ff, #c0c8ff); -webkit-background-clip: text; background-clip: text; }
.hero-subtitle { margin-top: 18px; max-width: 50ch; color: var(--mut); font-size: 17px; line-height: 1.6; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.pv-notif {
  position: absolute; left: -22px; bottom: -22px;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px;
  background: var(--solid);
  box-shadow: var(--sh-lg);
}
.pv-notif-ic { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #e3f2fd; color: #229ed9; font-size: 19px; }
html[data-theme="dark"] .pv-notif-ic { background: rgba(34, 158, 217, 0.18); }
.pv-notif b { display: block; font-size: 13.5px; color: var(--ink); }
.pv-notif small { color: var(--mut); font-size: 12px; }

/* --- statistika kartalari --- */
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 12px; }
.hs-item { display: flex; align-items: center; gap: 14px; padding: 18px 20px; }
.hs-ic { width: 46px; height: 46px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; background: var(--acc-soft); color: var(--acc-ink); font-size: 18px; }
.hs-num { font-family: var(--hf); font-size: 28px; font-weight: 800; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.hs-label { color: var(--mut); font-size: 13.5px; }

/* ============ ISHONCH LENTASI ============ */
.trust-band { display: block; max-width: var(--max); margin: 0 auto; width: calc(100% - var(--gutter) * 2); overflow: hidden; }
.trust-inner { display: flex; align-items: center; gap: 4px; padding: 8px; }
.trust-label {
  flex-shrink: 0; padding: 8px 14px; border-radius: 999px;
  background: var(--acc-soft); color: var(--acc-ink);
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.trust-track { flex: 1; min-width: 0; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.trust-logos { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.trust-band:hover .trust-logos { animation-play-state: paused; }
.trust-logos span { display: inline-flex; align-items: center; gap: 9px; padding: 8px 22px; color: var(--mut); font-family: var(--hf); font-weight: 600; font-size: 16px; white-space: nowrap; }
.trust-logos i { color: var(--dim); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ ILOVALAR — katalog ============ */
.apps-section { padding: 88px 0 72px; }
.catalog { padding: 8px; }
.cat-row { --acc-app: var(--acc); border-radius: 14px; transition: background 0.2s; }
.cat-row + .cat-row { margin-top: 2px; }
.cat-row:not(.open):hover { background: color-mix(in srgb, var(--acc-app) 5%, transparent); }
.cat-row.open { background: color-mix(in srgb, var(--acc-app) 7%, var(--solid)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--acc-app) 22%, transparent); }
.cat-head {
  width: 100%;
  display: grid; grid-template-columns: 52px minmax(0, 0.9fr) minmax(0, 1.1fr) 36px;
  align-items: center; gap: 16px;
  padding: 14px 16px;
  background: none; border: 0; text-align: left;
}
.cat-ic {
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 15px;
  background: color-mix(in srgb, var(--acc-app) 13%, transparent);
  color: var(--acc-app); font-size: 22px;
}
.cat-name { font-family: var(--hf); font-size: 19px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.cat-name small { display: block; font-family: var(--bf); font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; color: var(--dim); margin-bottom: 2px; }
.cat-tag { color: var(--mut); font-size: 14px; }
.cat-toggle {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid var(--line); background: var(--solid);
  color: var(--mut); font-size: 12px;
  transition: transform 0.25s ease, color 0.2s, border-color 0.2s, background 0.2s;
}
.cat-head:hover .cat-toggle { border-color: var(--acc); color: var(--acc-ink); }
.cat-row.open .cat-toggle { transform: rotate(180deg); background: var(--acc-app); border-color: var(--acc-app); color: #fff; }

.cat-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease; }
.cat-row.open .cat-body { grid-template-rows: 1fr; }
.cat-body > div { overflow: hidden; }
.cat-body-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 4px 16px 18px 84px; }
.cat-feats { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 380px; }
.cat-feats li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: var(--solid); border: 1px solid var(--line); color: var(--ink); font-size: 13px; font-weight: 500; }
.cat-feats li i { color: var(--acc-app); font-size: 11px; }
.cat-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cat-actions .hero-btn { min-height: 42px; padding: 10px 18px; font-size: 14px; }
.apps-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding: 0 8px; color: var(--mut); font-size: 13px; }

/* ============ QANDAY ISHLAYDI (paneldagi .ns-step) ============ */
.how-section { padding: 40px 0 72px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: start; padding: 20px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.step:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.step-num {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--acc-soft); color: var(--acc-ink);
  font-family: var(--hf); font-weight: 800; font-size: 16px;
}
.step:last-child .step-num { background: var(--btn-grad); color: #fff; box-shadow: var(--sh-acc); }
.step h3 { font-size: 17px; font-weight: 700; margin-top: 2px; padding-right: 26px; }
.step p { margin-top: 4px; color: var(--mut); font-size: 14px; }
.step-ic { position: absolute; top: 20px; right: 20px; color: var(--dim); font-size: 16px; }
.step code { display: inline-block; margin-top: 4px; }

/* ============ TAKLIFLAR ============ */
.finale-section { padding: 40px 0 88px; }
.finale-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
.finale-copy .section-subtitle { margin-top: 12px; }
.finale-call {
  margin-top: 26px; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center;
  padding: 14px 20px 14px 14px; width: fit-content;
  border-radius: var(--r); background: var(--glass); border: 1px solid var(--glass-b); box-shadow: var(--sh);
}
.finale-call::before {
  content: "\f095"; font: var(--fa-font-solid); grid-row: 1 / span 2;
  width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--btn-grad); color: #fff; box-shadow: var(--sh-acc);
}
.finale-call small { color: var(--mut); font-size: 12.5px; }
.finale-call a { font-family: var(--hf); font-size: 20px; font-weight: 700; color: var(--ink); }
.finale-call a:hover { color: var(--acc-ink); }

.sugg-card { padding: 24px 26px 26px; }
.sugg-card-head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.sch-ic { width: 46px; height: 46px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; background: var(--btn-grad); color: #fff; font-size: 18px; box-shadow: var(--sh-acc); }
.sugg-card-head b { display: block; font-family: var(--hf); font-size: 18px; color: var(--ink); }
.sugg-card-head small { color: var(--mut); font-size: 13px; }
.sugg-form { display: grid; gap: 16px; }
.sugg-topics { display: flex; flex-wrap: wrap; gap: 8px; }
.sugg-topics label { cursor: pointer; }
.sugg-topics input { position: absolute; opacity: 0; pointer-events: none; }
.sugg-topics span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--solid); color: var(--text); font-size: 13.5px; font-weight: 600; transition: all 0.18s; }
.sugg-topics label:hover span { border-color: var(--acc); }
.sugg-topics input:checked + span { background: color-mix(in srgb, var(--acc) 13%, transparent); border-color: color-mix(in srgb, var(--acc) 35%, transparent); color: var(--acc-ink); }
.sugg-topics input:focus-visible + span { outline: 3px solid var(--acc); outline-offset: 2px; }
.sugg-field { position: relative; display: grid; gap: 7px; }
.sugg-field > span { font-size: 13.5px; font-weight: 600; color: var(--text); }
.sugg-field input, .sugg-field textarea {
  width: 100%;
  font-family: var(--bf); font-size: 15px; color: var(--ink);
  background: var(--solid); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 11px 14px; resize: vertical;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.sugg-field textarea { min-height: 120px; }
.sugg-field input::placeholder, .sugg-field textarea::placeholder { color: var(--dim); }
.sugg-field input:focus, .sugg-field textarea:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 4px var(--acc-soft); }
.sugg-field .bad { border-color: var(--bad); box-shadow: 0 0 0 4px var(--badbg); }
.sugg-count { position: absolute; right: 0; top: 2px; color: var(--dim); font-size: 12px; }
.sugg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sugg-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.sugg-status { flex: 1; min-height: 1.4em; color: var(--mut); font-size: 13.5px; }
.sugg-status.ok { color: var(--ok); }
.sugg-status.err { color: var(--bad); }

/* ============ FOOTER ============ */
.footer { background: var(--solid); border-top: 1px solid var(--line); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 36px; }
.footer-desc { margin-top: 14px; max-width: 36ch; color: var(--mut); font-size: 14px; }
.footer h4 { font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.footer-links li, .footer-contacts li { margin-bottom: 9px; font-size: 14px; color: var(--mut); }
.footer-links a:hover, .footer-contacts a:hover { color: var(--acc-ink); }
.footer-contacts li { display: flex; gap: 10px; align-items: baseline; }
.footer-contacts i { width: 14px; color: var(--acc); font-size: 13px; }
.social-links { display: flex; gap: 8px; margin-top: 18px; }
.social-links a { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid var(--line); background: var(--solid); color: var(--mut); transition: color 0.18s, border-color 0.18s; }
.social-links a:hover { color: var(--acc-ink); border-color: var(--acc); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 44px; padding: 20px 0 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }

/* ============ TOAST / YUQORIGA / MODAL ============ */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 100; transform: translate(-50%, 20px); padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--solid); font-size: 14px; opacity: 0; pointer-events: none; box-shadow: var(--sh-lg); transition: opacity 0.25s, transform 0.25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.scroll-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--btn-grad); color: #fff; box-shadow: var(--sh-acc); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.25s ease; }
.scroll-top.show { opacity: 1; visibility: visible; transform: none; }
.app-detail-overlay { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: var(--overlay); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s; }
.app-detail-overlay.show { opacity: 1; visibility: visible; }
.app-detail-box { position: relative; width: min(560px, 100%); max-height: 88vh; overflow: auto; padding: 28px; background: var(--solid); border: 1px solid var(--glass-b); border-radius: 22px; box-shadow: var(--sh-lg); }
.app-detail-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--solid); color: var(--mut); }

/* settings.js umumiy sozlamalar panelini qo'shadi — bu sahifada til menyusi yetarli */
.settings-panel, .settings-overlay { display: none !important; }

/* ============ REVEAL — xira holatdan aniq bo'lib, pastdan ko'tariladi ============ */
.reveal {
  opacity: 0; transform: translateY(28px); filter: blur(8px);
  transition: opacity 0.8s var(--ease-out), transform 0.9s var(--ease-out), filter 0.8s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.reveal.visible { opacity: 1; transform: none; filter: none; }


/* ============ HARAKAT (motion) ============
   Ketma-ket kirish: menyu → belgi → sarlavha → matn → tugmalar → panel → yoy nuri.
   Scroll: panel 3D holatdan tekislanadi, yoy ko'tariladi (js/landing-motion.js --p beradi). */
@keyframes lxNav   { from { opacity: 0; transform: translateY(-100%); } }
@keyframes lxBlur  { from { opacity: 0; transform: translateY(22px); filter: blur(12px); } }
@keyframes lxPanel { from { opacity: 0; transform: perspective(1200px) translateY(80px) rotateX(18deg) scale(0.94); filter: blur(8px); } }
@keyframes lxArc   { from { opacity: 0; transform: translateY(45%); } }
@keyframes lxPop   { from { opacity: 0; transform: translateX(-18px) scale(0.9); filter: blur(6px); } }
@keyframes lxBreathe { 50% { opacity: 0.6; transform: translate(-50%, 0) scale(1.08); } }
@keyframes lxSheen { from { transform: translateX(-160%) skewX(-20deg); } to { transform: translateX(260%) skewX(-20deg); } }
@keyframes lxRow   { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } }

.navbar { animation: lxNav 0.9s var(--ease-out) both; }

.hero { position: relative; overflow-x: clip; --p: 0; }
.hero::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: 50%; top: -220px; width: min(1100px, 140vw); aspect-ratio: 2 / 1;
  transform: translate(-50%, 0);
  background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--acc) 22%, transparent), transparent 70%);
  filter: blur(20px);
  animation: lxBlur 1.6s var(--ease-out) both 0.2s, lxBreathe 9s ease-in-out infinite 2s;
}

.hero-content > .eyebrow  { animation: lxBlur 0.9s var(--ease-out) both 0.15s; }
.hero-title > *           { display: inline-block; animation: lxBlur 1s var(--ease-out) both; }
.hero-title > :nth-child(1) { animation-delay: 0.28s; }
.hero-title > :nth-child(2) { animation-delay: 0.4s; }
.hero-title > :nth-child(3) { animation-delay: 0.52s; }
.hero-title > :nth-child(4) { animation-delay: 0.64s; }
.hero-content > .hero-subtitle { animation: lxBlur 1s var(--ease-out) both 0.8s; }
.hero-content > .hero-buttons  { animation: lxBlur 1s var(--ease-out) both 0.95s; }
.hero-content {
  transform: translateY(calc(var(--p) * -24px));
  opacity: calc(1 - var(--p) * 0.35);
  will-change: transform, opacity;
}

/* --- hero foni: shahar xaritasi videosi ---
   Desktop: hero'ning o'ng tomonida mutlaq joylashgan fon, chap/past/yuqori chetlari mask bilan eriydi.
   Mobil (<=900px): matndan keyin oqimda, 720px versiya. */
.hero-media {
  grid-area: media;
  position: absolute; z-index: -1; top: -24px; right: 0;
  width: min(1320px, 78vw); aspect-ratio: 16 / 9;
  pointer-events: none;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 34%),
    linear-gradient(to bottom, transparent 0%, #000 12%, #000 72%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 34%),
    linear-gradient(to bottom, transparent 0%, #000 12%, #000 72%, transparent 100%);
  mask-composite: intersect;
  animation: lxMedia 1.2s var(--ease-out) both 1.05s;
}
@keyframes lxMedia { from { opacity: 0; transform: translateY(40px); } }
.hero-video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: right center; background: var(--bg-solid); }
.hero.motion .hero-video { transform: scale(calc(1 + var(--p) * 0.05)); transform-origin: 72% 58%; will-change: transform; }
/* matn ostida yumshoq fon — tor ekranlarda xarita matnga yaqinlashsa ham o'qiladi */
.hero-content { position: relative; }
.hero-content::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: -40px -60px -40px -40px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--bg-solid) 85%, transparent), transparent);
}
/* tungi rejim: xarita teskari ranglarda — fon qorong'i, pinlar indigo bo'lib qoladi */
html[data-theme="dark"] .hero-video { filter: invert(1) hue-rotate(180deg) brightness(0.92) contrast(0.95); background: #0e0c08; }

.hv-glow {
  position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none;
  animation: lxArc 1.6s var(--ease-out) both 1.15s;
}
.hv-arc {
  position: absolute; left: -25%; width: 150%; aspect-ratio: 1; top: calc(100% - 112px);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(20, 28, 90, 0.55) 86%, transparent 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.9),
    inset 0 18px 40px -10px rgba(255, 200, 140, 0.55),
    0 -6px 30px rgba(255, 255, 255, 0.45),
    0 -30px 90px rgba(180, 195, 255, 0.55);
}
.pv-notif { animation: lxPop 0.9s var(--ease-out) both 1.7s; }

.hs-item { animation: lxBlur 1s var(--ease-out) both; }
.hs-item:nth-child(1) { animation-delay: 1.1s; }
.hs-item:nth-child(2) { animation-delay: 1.2s; }
.hs-item:nth-child(3) { animation-delay: 1.3s; }

.trust-band { animation: lxBlur 1s var(--ease-out) both 1.4s; }

/* katalog qatorlari — ro'yxat ko'ringanda navbat bilan */
.catalog.reveal .cat-row { opacity: 0; }
.catalog.visible .cat-row { opacity: 1; animation: lxRow 0.8s var(--ease-out) both; animation-delay: calc(0.15s + var(--i, 0) * 80ms); }

/* asosiy tugma — ustiga kelganda nur o'tadi */
.hero-btn-main::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: translateX(-160%) skewX(-20deg);
}
.hero-btn-main:hover::after { animation: lxSheen 0.9s ease; }

/* kartalarda kursor ortidan yorug'lik */
.spot { position: relative; }
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--acc) 12%, transparent), transparent 70%);
  opacity: 0; transition: opacity 0.3s ease;
}
.spot:hover::after { opacity: 1; }

/* sahifa bo'ylab kursorni kuzatuvchi yumshoq nur */
.lx-glow {
  position: fixed; left: 0; top: 0; z-index: -1; pointer-events: none;
  width: 560px; height: 560px; margin: -280px 0 0 -280px; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--acc) 13%, transparent), transparent);
  opacity: 0; transition: opacity 0.6s ease;
  will-change: transform;
}
.lx-glow.on { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .catalog.reveal .cat-row { opacity: 1; transform: none; filter: none; }
  .hero-content, .hero-video { transform: none !important; opacity: 1 !important; }
  .hero-media { animation: none; }
  .lx-glow { display: none; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .nav-actions .btn-soft { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cat-head { grid-template-columns: 52px minmax(0, 1fr) 36px; }
  .cat-tag { grid-column: 2; grid-row: 2; }
  .cat-toggle { grid-column: 3; grid-row: 1 / span 2; }
  .cat-ic { grid-row: 1 / span 2; }
}

@media (max-width: 900px) {
  :root { --gutter: 16px; --nav-h: 60px; }
  .nav-container { gap: 10px; }
  .hamburger { display: inline-flex; }
  .nav-actions { margin-left: auto; }
  .nav-actions .btn { display: none; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px;
    padding: 12px 16px 20px;
    background: var(--solid);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-lg);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s ease, visibility 0.2s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-link { display: flex; padding: 13px 14px; font-size: 15px; border-radius: 12px; }
  .nav-link.active { background: color-mix(in srgb, var(--acc) 13%, transparent); }
  .nav-indicator { display: none; }
  .nav-auth { display: block; margin-top: 4px; }
  .nav-auth .btn { min-height: 46px; }

  .hero { padding: 32px 0 28px; }
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "media" "stats"; gap: 8px; }
  .hero-media {
    position: relative; top: auto; right: auto; z-index: 0;
    width: calc(100% + var(--gutter) * 2); margin: 0 calc(var(--gutter) * -1);
    aspect-ratio: 5 / 4;
    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, #000 18%, #000 92%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, #000 16%, #000 76%, transparent 100%);
    mask-image:
      linear-gradient(to right, transparent 0%, #000 18%, #000 92%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, #000 16%, #000 76%, transparent 100%);
  }
  .hero-video { object-position: 82% 62%; }
  .hero-content::before { display: none; }
  .hero-stats { margin-top: 0; }

  .section-head { display: block; }
  .section-subtitle { margin-top: 8px; }
  .apps-section { padding: 64px 0 48px; }
  .cat-body-in { padding: 4px 14px 16px; }
  .steps { grid-template-columns: 1fr; }
  .finale-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 560px) {
  .hero-buttons .hero-btn { flex: 1 1 100%; }
  .hero-stats { gap: 8px; }
  .hs-item { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
  .hs-ic { width: 34px; height: 34px; border-radius: 11px; font-size: 14px; }
  .hs-num { font-size: 22px; }
  .hs-label { font-size: 12px; line-height: 1.3; }
  .cat-head { grid-template-columns: 44px minmax(0, 1fr) 32px; gap: 4px 12px; padding: 12px; }
  .cat-ic { width: 44px; height: 44px; font-size: 18px; border-radius: 13px; }
  .cat-name { font-size: 17px; }
  .cat-tag { font-size: 13px; }
  .cat-toggle { width: 32px; height: 32px; }
  .cat-actions { width: 100%; }
  .cat-actions .hero-btn { flex: 1 1 auto; }
  .trust-label { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .sugg-card { padding: 20px 18px; }
  .sugg-send { width: 100%; }
  .lang-trigger .lang-code { display: none; }
  .lang-trigger { padding: 0; width: 40px; justify-content: center; }
}
