/* =========================================================
   PixelWeb v2 — kam matn, ko'p harakat
   Ranglar :root'da. Oq rejim: [data-theme="light"]
   ========================================================= */
:root {
  --bg: #050816;
  --bg-2: #0a1029;
  --card: #0d1433;
  --surface: rgba(255, 255, 255, .04);
  --surface-2: rgba(255, 255, 255, .07);
  --line: rgba(140, 160, 255, .14);
  --text: #eef1ff;
  --muted: #8f9ac4;
  --cyan: #22d3ee;
  --blue: #3b5bff;
  --violet: #8b5cf6;
  --grad: linear-gradient(110deg, var(--cyan), var(--blue) 50%, var(--violet));
  --head: "Unbounded", "Manrope", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  --input: rgba(255, 255, 255, .05);
  --shadow: 0 30px 80px -30px rgba(30, 60, 255, .5);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f5f7ff;
  --bg-2: #eaefff;
  --card: #ffffff;
  --surface: #ffffff;
  --surface-2: #eef2ff;
  --line: rgba(40, 60, 160, .13);
  --text: #0a1130;
  --muted: #59628a;
  --cyan: #0891b2;
  --input: #ffffff;
  --shadow: 0 30px 70px -34px rgba(40, 70, 200, .4);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--blue); color: #fff; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.ic { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
em { font-style: italic; }

/* Sarlavhalardagi kursiv urg'u so'z: serif + gradient */
h1 em, h2 em, .big em {
  font-family: var(--serif); font-weight: 500; text-transform: none; letter-spacing: 0;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--grad); }
.big { font: 800 clamp(40px, 6.4vw, 96px)/1 var(--head); letter-spacing: -.035em; }
.sec-head { margin-bottom: 56px; }

/* ---------- Tugmalar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  font: 700 15px/1 var(--body); transition: background .25s, box-shadow .25s, border-color .25s; will-change: transform;
}
.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn--lg { padding: 20px 34px; font-size: 17px; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 12px 34px -12px rgba(59, 91, 255, .8); }
.btn--primary:hover { box-shadow: 0 18px 44px -12px rgba(59, 91, 255, 1); }
.btn--ghost { background: var(--surface); border-color: var(--line); }
.link-arrow { font-weight: 700; display: inline-flex; gap: 6px; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: color .2s; }
.link-arrow:hover { color: var(--cyan); }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; color: var(--text); }
.icon-btn .ic { width: 18px; height: 18px; }
.i-moon, :root[data-theme="light"] .i-sun { display: none; }
:root[data-theme="light"] .i-moon { display: block; }

/* ---------- Kirish animatsiyasi ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--bg);
  clip-path: inset(0 0 0 0); transition: clip-path .9s cubic-bezier(.76, 0, .24, 1);
}
.loader.is-done { clip-path: inset(0 0 100% 0); }
.no-js .loader, .loader.is-skip { display: none; }
.loader__mark { display: grid; grid-template-columns: repeat(5, 18px); grid-auto-rows: 18px; gap: 5px; }
.loader__mark i { border-radius: 4px; background: var(--text); opacity: 0; transform: translateY(-40px) scale(.4); animation: px .5s cubic-bezier(.2, .9, .3, 1.3) forwards; animation-delay: calc(var(--k) * 45ms); }
.loader__mark i.off { visibility: hidden; }
.loader__mark i.acc { background: var(--cyan); box-shadow: 0 0 20px var(--cyan); }
@keyframes px { to { opacity: 1; transform: none; } }
.loader__count { position: absolute; right: 32px; bottom: 26px; font: 800 clamp(48px, 9vw, 120px)/1 var(--head); color: var(--surface-2); letter-spacing: -.04em; }
:root[data-theme="light"] .loader__count { color: rgba(10, 17, 48, .08); }

/* ---------- Progress va kursor ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 90; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.cursor {
  position: fixed; left: 0; top: 0; z-index: 150; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%;
  border: 1.5px solid #fff; pointer-events: none; display: grid; place-items: center; opacity: 0;
  transition: width .3s, height .3s, margin .3s, background .3s, border-color .3s, opacity .3s; mix-blend-mode: difference;
}
.cursor span { font: 700 13px/1 var(--body); color: #000; opacity: 0; transition: opacity .2s; }
.cursor.is-on { opacity: 1; }
.cursor.is-hover { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: #fff; border-color: #fff; }
.cursor.is-label { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: #fff; border-color: #fff; mix-blend-mode: normal; }
.cursor.is-label span { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 80; height: 76px; transition: background .3s, border-color .3s, transform .4s; border-bottom: 1px solid transparent; }
.header.is-scrolled { background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; font: 500 19px/1 var(--head); }
.logo img { border-radius: 9px; }
.logo b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { color: var(--muted); font-weight: 600; font-size: 15px; position: relative; transition: color .2s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform .35s; }
.nav a:not(.btn):hover { color: var(--text); }
.nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.header__act { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.lang__btn { border: 0; background: none; padding: 7px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; color: var(--muted); cursor: pointer; }
.lang__btn.is-active { background: var(--text); color: var(--bg); }
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); position: relative; cursor: pointer; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); transition: transform .3s, top .3s; }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- 1. Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 110px 0 80px; overflow: hidden; }
.hero__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px 500px at 78% 40%, rgba(59, 91, 255, .3), transparent 70%), radial-gradient(500px 400px at 10% 20%, rgba(34, 211, 238, .14), transparent 70%); }
.hero__grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; opacity: .5; mask-image: radial-gradient(ellipse at 60% 40%, #000 15%, transparent 65%); -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 15%, transparent 65%); }
.hero__in { position: relative; display: grid; grid-template-columns: 1.35fr .65fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 14px; font-weight: 600; margin-bottom: 28px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.hero__title { font: 800 clamp(46px, 8.2vw, 128px)/.92 var(--head); letter-spacing: -.045em; text-transform: uppercase; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line__in { display: inline-block; transform: translateY(110%); transition: transform 1.1s cubic-bezier(.2, .8, .2, 1); will-change: transform; }
.hero__title .line:nth-child(2) .line__in { transition-delay: .1s; }
.hero__title .line:nth-child(3) .line__in { transition-delay: .2s; }
.hero__title em { font-size: 1.08em; }
.is-ready .hero__title .line__in { transform: none; }
.hero__sub { margin-top: 30px; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 520px; }
.hero__btns { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 36px; }
.hero__sub, .hero__btns, .eyebrow { opacity: 0; transform: translateY(20px); transition: opacity .9s .45s, transform .9s .45s; }
.is-ready .hero__sub, .is-ready .hero__btns, .is-ready .eyebrow { opacity: 1; transform: none; }
.no-js .hero__title .line__in, .no-js .hero__sub, .no-js .hero__btns, .no-js .eyebrow { transform: none; opacity: 1; }

.hero__visual { position: relative; display: flex; justify-content: center; will-change: transform; }
.phone { position: relative; width: 268px; aspect-ratio: 9 / 18.5; border-radius: 46px; padding: 10px; background: linear-gradient(145deg, #2c3456, #0c1129); box-shadow: var(--shadow), inset 0 0 0 1.5px rgba(255, 255, 255, .14); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px); } }
.phone__screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: #fbf6ee; }
.phone__status { position: absolute; inset: 0 0 auto; height: 36px; z-index: 3; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; background: linear-gradient(#fbf6ee 55%, rgba(251, 246, 238, 0)); color: #2a1d14; font-size: 12px; }
.phone__island { position: absolute; left: 50%; top: 9px; transform: translateX(-50%); width: 78px; height: 22px; border-radius: 12px; background: #050505; }
.phone__status i { width: 20px; height: 10px; border-radius: 3px; border: 1.5px solid #2a1d14; }
.phone__site { position: absolute; top: 30px; left: 0; width: 100%; max-width: none; animation: siteScroll 14s ease-in-out infinite; }
@keyframes siteScroll { 0%, 8% { transform: translateY(0); } 24%, 44% { transform: translateY(-30%); } 58%, 78% { transform: translateY(-56%); } 94%, 100% { transform: translateY(0); } }
.phone__tap { position: absolute; left: 26px; top: 212px; z-index: 4; width: 34px; height: 34px; border-radius: 50%; background: rgba(59, 91, 255, .3); border: 2px solid #fff; opacity: 0; animation: tap 14s ease-out infinite; }
@keyframes tap { 0%, 29% { opacity: 0; transform: scale(.5); } 32% { opacity: 1; transform: scale(1); } 34% { transform: scale(.82); } 38% { opacity: 0; transform: scale(1.5); } 100% { opacity: 0; } }
.phone__cart { position: absolute; left: 10px; right: 10px; bottom: 12px; z-index: 3; display: flex; justify-content: space-between; padding: 12px 14px; border-radius: 14px; background: #1f3d2f; color: #fff; font-size: 11.5px; font-weight: 700; transform: translateY(170%); animation: cartIn 14s cubic-bezier(.2, .8, .2, 1) infinite; }
@keyframes cartIn { 0%, 34% { transform: translateY(170%); } 38%, 88% { transform: none; } 94%, 100% { transform: translateY(170%); } }
.notify { position: absolute; left: -40px; bottom: 16%; display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 16px; background: color-mix(in srgb, var(--card) 92%, transparent); border: 1px solid var(--line); box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .5); backdrop-filter: blur(10px); font-size: 13px; animation: notify 14s ease-in-out infinite; }
.notify b { display: block; font-size: 14px; }
.notify small { color: var(--muted); font-size: 13px; }
.notify__ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #2aa3df; color: #fff; flex: none; }
@keyframes notify { 0%, 60% { opacity: 0; transform: translateY(16px) scale(.95); } 64%, 86% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-8px); } }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; color: var(--muted); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.scroll-hint span { width: 24px; height: 38px; border: 1.5px solid var(--muted); border-radius: 14px; position: relative; }
.scroll-hint span::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cyan); animation: wheel 1.6s infinite; }
.scroll-hint em { font-style: normal; }
@keyframes wheel { to { transform: translateY(12px); opacity: 0; } }

/* ---------- 2. Lentalar ---------- */
.bands { position: relative; padding: 60px 0; overflow: hidden; }
.band { overflow: hidden; padding: 18px 0; }
.band--fill { position: relative; z-index: 2; background: var(--grad); transform: rotate(-2.5deg) scale(1.05); box-shadow: 0 20px 60px -20px rgba(59, 91, 255, .6); }
.band--outline { transform: rotate(1.5deg) scale(1.05); margin-top: 14px; background: var(--bg); border-block: 1px solid var(--line); }
.band__track { display: flex; align-items: center; gap: 36px; width: max-content; will-change: transform; }
.band__track span { font: 800 clamp(30px, 5vw, 68px)/1 var(--head); letter-spacing: -.02em; white-space: nowrap; }
.band--fill span { color: #fff; }
.band--outline span { color: var(--muted); opacity: .55; }
.band__track i { width: 22px; height: 22px; border-radius: 5px; transform: rotate(45deg); flex: none; }
.band--fill i { background: #fff; }
.band--outline i { background: var(--grad); }

/* ---------- 3. Yonib boruvchi matn ---------- */
.statement { height: 260vh; position: relative; }
.statement__pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
.statement__text { font: 700 clamp(28px, 4.6vw, 68px)/1.12 var(--head); letter-spacing: -.03em; max-width: 1150px; }
.statement__text .w { opacity: .14; transition: opacity .25s, color .25s; }
.statement__text .w.is-hot { color: var(--cyan); }

/* ---------- 4. Xizmatlar: taxlanadigan kartalar ---------- */
.services { padding: 60px 0 40px; }
.stack { position: relative; }
.scard {
  position: sticky; top: calc(108px + var(--i) * 26px); margin-bottom: 9vh;
  display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: 30px;
  min-height: min(62vh, 560px); padding: clamp(28px, 4vw, 60px); border-radius: 36px;
  background: radial-gradient(600px 300px at 100% 0%, rgba(59, 91, 255, .16), transparent 70%), var(--card);
  border: 1px solid var(--line); box-shadow: 0 -20px 60px -30px rgba(0, 0, 0, .6);
  transform-origin: 50% 0; will-change: transform, filter;
}
.scard--ai { background: radial-gradient(600px 320px at 100% 0%, rgba(139, 92, 246, .3), transparent 70%), radial-gradient(500px 300px at 0% 100%, rgba(34, 211, 238, .16), transparent 70%), var(--card); }
.scard__num { font: 800 clamp(56px, 8vw, 120px)/1 var(--head); color: transparent; -webkit-text-stroke: 1.5px var(--line); display: block; margin-bottom: 10px; }
:root[data-theme="light"] .scard__num { -webkit-text-stroke-color: rgba(40, 60, 160, .25); }
.scard h3 { font: 800 clamp(34px, 5vw, 76px)/1 var(--head); letter-spacing: -.035em; margin-bottom: 26px; }
.tags { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 15px; }
.scard__art { justify-self: center; width: clamp(150px, 22vw, 300px); aspect-ratio: 1; border-radius: 40px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 30px 80px -20px rgba(59, 91, 255, .7); transform: rotate(-6deg); position: relative; }
.scard__art::before, .scard__art::after { content: ""; position: absolute; width: 22%; aspect-ratio: 1; border-radius: 12px; background: var(--cyan); opacity: .9; }
.scard__art::before { top: -9%; right: -9%; }
.scard__art::after { bottom: 6%; left: -14%; width: 13%; background: var(--violet); }
.scard__art .ic { width: 46%; height: 46%; stroke-width: 1.4; }

/* ---------- 5. Ishlarimiz: gorizontal ---------- */
.works { position: relative; }
.works__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
.works__track { display: flex; align-items: center; gap: 4vw; padding: 0 max(24px, calc((100vw - 1280px) / 2 + 24px)); will-change: transform; }
.works__intro { flex: none; width: min(34vw, 440px); }
.works__hint { margin-top: 26px; color: var(--muted); font-weight: 600; display: flex; gap: 10px; align-items: center; }
.works__hint b { color: var(--cyan); animation: nudge 1.4s infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }
.works__cards { display: flex; gap: 4vw; }
.wcard { flex: none; width: min(60vw, 780px); display: block; }
.wcard__frame { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.wcard:hover .wcard__frame { transform: translateY(-8px) rotate(-.6deg); }
.wcard__bar { display: flex; gap: 6px; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.wcard__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.wcard__bar span { margin-left: 10px; font-size: 12px; color: var(--muted); }
.wcard__img { aspect-ratio: 16 / 10; overflow: hidden; }
.wcard__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform .8s; will-change: transform; }
.wcard__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 20px; }
.wcard__meta h3 { font: 800 clamp(24px, 2.6vw, 38px)/1.1 var(--head); letter-spacing: -.02em; }
.wcard__meta span { color: var(--muted); font-weight: 600; font-size: 14px; text-align: right; }
.wcard__tag { display: inline-block; margin-top: 8px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--cyan); }
.works__end { flex: none; width: min(30vw, 380px); aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; padding: 40px; background: var(--grad); color: #fff; font: 700 clamp(18px, 1.8vw, 26px)/1.25 var(--head); transition: transform .4s; }
.works__end b { font-size: 40px; }
.works__end:hover { transform: scale(1.05) rotate(-4deg); }

/* ---------- 6. AI ---------- */
.ai { padding: 140px 0; background: radial-gradient(700px 420px at 85% 30%, rgba(139, 92, 246, .16), transparent 70%), var(--bg-2); border-block: 1px solid var(--line); }
.ai__in { display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: center; }
.ai-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.ai-tab { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; cursor: pointer; overflow: hidden; transition: color .3s, border-color .3s; }
.ai-tab .ic { width: 18px; height: 18px; color: var(--cyan); }
.ai-tab::before { content: ""; position: absolute; inset: 0; background: var(--grad); opacity: 0; transition: opacity .3s; z-index: -1; }
.ai-tab { isolation: isolate; }
.ai-tab.is-active { color: #fff; border-color: transparent; }
.ai-tab.is-active::before { opacity: 1; }
.ai-tab.is-active .ic { color: #fff; }
.ai-tab::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: rgba(255, 255, 255, .7); transform: scaleX(0); transform-origin: 0 50%; }
.ai-tab.is-timing::after { animation: tabTimer var(--t, 12s) linear forwards; }
@keyframes tabTimer { to { transform: scaleX(1); } }
.ai__note { margin-top: 26px; font-size: 13px; color: var(--muted); }
.tg { height: 560px; display: flex; flex-direction: column; border-radius: 30px; overflow: hidden; background: #0e1621; border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 40px 90px -30px rgba(30, 60, 255, .55); }
.tg__head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: #17212b; color: #fff; }
.tg__ava { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); font: 700 14px/1 var(--head); }
.tg__head b { display: block; font-size: 15px; }
.tg__head small { color: #6c9fd4; font-size: 13px; }
.tg__body { flex: 1; overflow: hidden; padding: 16px 14px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
.msg { max-width: 82%; padding: 9px 12px 7px; border-radius: 16px; font-size: 14px; line-height: 1.45; color: #e9edf2; white-space: pre-line; animation: msgIn .35s cubic-bezier(.2, .8, .2, 1) both; }
.msg small { display: block; text-align: right; font-size: 11px; color: rgba(233, 237, 242, .5); }
.msg--in { align-self: flex-start; background: #182533; border-bottom-left-radius: 5px; }
.msg--out { align-self: flex-end; background: #2b5278; border-bottom-right-radius: 5px; }
.msg--sys { align-self: center; background: rgba(34, 211, 238, .14); color: #9fe8f5; font-size: 12.5px; font-weight: 600; border-radius: 12px; padding: 7px 12px; }
.msg__btns { display: grid; gap: 5px; margin-top: 6px; }
.msg__btns span { text-align: center; padding: 8px; border-radius: 10px; background: rgba(255, 255, 255, .08); color: #8cc7ff; font-size: 13px; font-weight: 600; }
@keyframes msgIn { from { opacity: 0; transform: translateY(12px) scale(.97); } }
.typing { align-self: flex-start; display: flex; gap: 4px; padding: 13px 14px; border-radius: 16px; background: #182533; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #6c9fd4; animation: dots 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 30% { transform: translateY(-4px); opacity: 1; } 0%, 60%, 100% { opacity: .5; } }
.tg__input { display: flex; justify-content: space-between; padding: 14px 18px; background: #17212b; color: #6d7f8f; font-size: 14px; }
.tg__input i { color: #5ea9e9; font-style: normal; }

/* AI chat telefon ichida */
.aphone { justify-self: center; width: 330px; aspect-ratio: 9 / 19; border-radius: 52px; padding: 10px; background: linear-gradient(145deg, #2c3456, #0c1129); box-shadow: 0 40px 90px -30px rgba(30, 60, 255, .55), inset 0 0 0 1.5px rgba(255, 255, 255, .14); will-change: transform, opacity; }
.aphone .tg { height: 100%; max-width: none; margin: 0; border-radius: 42px; border: 0; box-shadow: none; }
.tg__status { position: relative; height: 36px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 28px; background: #17212b; color: #fff; font-size: 12px; }
.tg__status i { width: 20px; height: 10px; border: 1.5px solid #fff; border-radius: 3px; }
.aphone .tg__head { padding-top: 6px; }

/* ---------- 7. Raqamlar ---------- */
.nums { padding: 120px 0; }
.nums__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.num { padding: 40px 24px 10px 0; border-right: 1px solid var(--line); }
.num:last-child { border-right: 0; }
.num:not(:first-child) { padding-left: 24px; }
.num b { display: block; font: 800 clamp(40px, 5vw, 80px)/1 var(--head); white-space: nowrap; letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.num > span { display: block; margin-top: 14px; color: var(--muted); font-weight: 600; }

/* ---------- 8. Sohalar ---------- */
.inds { padding: 40px 0 120px; overflow: hidden; }
.chips-row { overflow: hidden; padding: 8px 0; }
.chips-row__track { display: flex; gap: 14px; width: max-content; will-change: transform; }
.ichip { display: inline-flex; align-items: center; gap: 12px; padding: 16px 26px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font: 600 clamp(16px, 1.6vw, 21px)/1 var(--body); white-space: nowrap; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.ichip .ic { width: 22px; height: 22px; color: var(--cyan); transition: color .25s; }
.ichip:hover { background: var(--grad); color: #fff; border-color: transparent; }
.ichip:hover .ic { color: #fff; }

/* ---------- 9. Jarayon ---------- */
.process { padding: 60px 0 140px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps::before, .steps::after { content: ""; position: absolute; left: 0; right: 0; top: 44px; height: 2px; }
.steps::before { background: var(--line); }
.steps::after { background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--lp, 0)); }
.steps li { position: relative; z-index: 1; }
.steps span { display: inline-block; font: 800 72px/1 var(--head); color: var(--bg); -webkit-text-stroke: 1.5px var(--line); background: var(--bg); padding-right: 14px; transition: -webkit-text-stroke-color .4s, color .4s; }
.steps li.is-lit span { -webkit-text-stroke-color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps b { display: block; font: 700 24px/1.2 var(--head); margin-top: 22px; }
.steps small { display: block; color: var(--muted); font-size: 15px; margin-top: 6px; }

/* ---------- 10. Savollar ---------- */
.faq-sec { padding: 40px 0 140px; }
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: start; }
.faq { display: grid; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 50px 26px 0; position: relative; font: 600 clamp(18px, 1.8vw, 24px)/1.3 var(--head); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font: 400 22px/1 var(--body); transition: transform .35s, background .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(135deg); background: var(--grad); color: #fff; border-color: transparent; }
.faq details p { padding: 0 50px 26px 0; color: var(--muted); font-size: 17px; }

/* ---------- 11. Aloqa ---------- */
.contact { padding: 140px 0; background: var(--bg-2); border-top: 1px solid var(--line); }
.contact__in { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.live { display: inline-flex; align-items: center; gap: 10px; margin-top: 32px; padding: 10px 18px; border-radius: 999px; background: rgba(74, 222, 128, .12); color: #4ade80; font-weight: 700; font-size: 14px; }
:root[data-theme="light"] .live { color: #15803d; background: rgba(22, 163, 74, .1); }
.live.is-off { background: rgba(250, 204, 21, .12); color: #eab308; }
.live__dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; animation: blink 1.6s infinite; }
.contact__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pill-link { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; transition: border-color .2s; }
.pill-link:hover { border-color: var(--cyan); }
.pill-link svg { color: var(--cyan); }

.wizard { padding: 30px; border-radius: 30px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.wizard__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ws { display: flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; color: var(--muted); font: 600 13px/1 var(--body); cursor: default; }
.ws i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; border: 1.5px solid var(--line); }
.ws em { font-style: normal; }
.ws.is-active { color: var(--text); }
.ws.is-active i { border-color: var(--cyan); color: var(--cyan); animation: ring 2s infinite; }
@keyframes ring { from { box-shadow: 0 0 0 0 rgba(34, 211, 238, .45); } to { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0); } }
.ws.is-done { color: var(--text); cursor: pointer; }
.ws.is-done i { background: var(--grad); border-color: transparent; color: #fff; }
.ws.is-visited { cursor: pointer; }
.ws.is-visited i { border-color: var(--cyan); }
.wizard__bar { height: 4px; border-radius: 4px; background: var(--surface-2); margin: 16px 0 26px; overflow: hidden; }
.wizard__bar b { display: block; height: 100%; width: 33.3%; background: var(--grad); transition: width .5s cubic-bezier(.2, .8, .2, 1); }
.pane { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 16px; }
.pane.is-active { animation: paneIn .45s cubic-bezier(.2, .8, .2, 1) both; }
.pane.is-back { animation-name: paneBack; }
@keyframes paneIn { from { opacity: 0; transform: translateX(26px); } }
@keyframes paneBack { from { opacity: 0; transform: translateX(-26px); } }
.pane legend { padding: 0; font: 700 26px/1.2 var(--head); margin-bottom: 4px; }
.pick-hint { display: inline-flex; align-items: center; gap: 8px; color: var(--cyan); font-weight: 700; font-size: 14px; margin-top: -6px; }
.pick-hint .ic { width: 18px; height: 18px; animation: tapHint 1.6s infinite; }
@keyframes tapHint { 40%, 55% { transform: translate(3px, 4px) scale(.88); } }
.pane.has-choice .pick-hint { display: none; }
.opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.opt { position: relative; display: grid; justify-items: start; gap: 12px; padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; transition: border-color .2s, transform .2s, background .2s; }
.opt:hover { border-color: var(--cyan); transform: translateY(-3px); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt__ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--cyan); transition: background .3s, color .3s, transform .3s; }
.opt__ic .ic { width: 21px; height: 21px; }
.opt b { font-size: 14.5px; line-height: 1.25; }
.opt:has(input:checked) { border-color: var(--blue); }
.opt:has(input:checked) .opt__ic { background: var(--grad); color: #fff; transform: rotate(-8deg) scale(1.08); }
.pane:not(.has-choice) .opt { animation: optWave 3.6s ease-in-out infinite; animation-delay: calc(var(--n, 0) * .18s + 1s); }
@keyframes optWave { 0%, 22%, 100% { border-color: var(--line); transform: none; box-shadow: none; } 8% { border-color: var(--cyan); transform: translateY(-3px); box-shadow: 0 0 0 4px rgba(34, 211, 238, .12); } }
.inp { width: 100%; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--input); font: 500 16px/1.4 var(--body); transition: border-color .2s, box-shadow .2s; }
.inp:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(34, 211, 238, .15); }
.inp.is-invalid { border-color: #f87171; animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: block; padding: 11px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 14px; transition: background .2s, color .2s; }
.chips input:checked + span { background: var(--grad); color: #fff; border-color: transparent; }
.wizard__nav { display: flex; gap: 10px; margin-top: 4px; }
.wizard__nav .btn--ghost { flex: 0 0 auto; padding-inline: 20px; }
.wizard__nav .btn--primary { flex: 1; }
.form-status { font-size: 14px; font-weight: 600; color: #f87171; }
.form-status:empty { display: none; }
.done { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 20px 0; animation: paneIn .5s both; }
.done__check { width: 84px; height: 84px; fill: none; stroke: #4ade80; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.done__check circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .7s forwards; }
.done__check path { stroke-dasharray: 36; stroke-dashoffset: 36; animation: draw .4s .55s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done h3 { font: 700 24px/1.2 var(--head); }
.done p { color: var(--muted); }
.done__again { border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; font-weight: 600; }

/* ---------- Footer ---------- */
.footer { padding: 20px 0 30px; overflow: hidden; }
.footer__big { font: 800 clamp(48px, 13.6vw, 210px)/.85 var(--head); letter-spacing: -.06em; text-align: center; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; will-change: transform; }
.footer__row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 0; padding-top: 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer__links { display: flex; gap: 22px; }
.footer__links a:hover { color: var(--text); }

/* ---------- Hero: piksellar ---------- */
.hero__px {
  position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
  mask-image: radial-gradient(ellipse at 55% 45%, #000 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 55% 45%, #000 35%, transparent 80%);
}

/* ---------- Konstruktor ---------- */
.build { padding: 140px 0; overflow-x: clip; } /* hidden emas — aks holda sticky ishlamaydi */
.build__in { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.build__sub { color: var(--muted); font-size: 18px; margin: 18px 0 10px; }
.cstep { display: flex; align-items: center; gap: 10px; margin: 26px 0 12px; color: var(--muted); font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.cstep__n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 12px; letter-spacing: 0; }
.cb-inp { font-size: 20px; font-weight: 700; max-width: 420px; }
.cb-inds { display: flex; flex-wrap: wrap; gap: 10px; }
.cb-ind { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-weight: 700; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .2s; }
.cb-ind:hover { transform: translateY(-2px); border-color: var(--cyan); }
.cb-ind .ic { width: 18px; height: 18px; color: var(--cyan); }
.cb-ind.is-on { background: var(--grad); color: #fff; border-color: transparent; }
.cb-ind.is-on .ic { color: #fff; }
.cb-colors { display: flex; flex-wrap: wrap; gap: 12px; }
.cb-color { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--bg); background: var(--c); box-shadow: 0 0 0 1px var(--muted); cursor: pointer; transition: transform .2s, box-shadow .2s; }
.cb-color:hover { transform: scale(1.08); }
.cb-color.is-on { transform: scale(1.14); box-shadow: 0 0 0 2px var(--c), 0 8px 22px -6px var(--c); }
#cbGo { margin-top: 38px; }

.build__preview { --cbc: #3b5bff; position: relative; display: flex; justify-content: center; padding-bottom: 20px; }
.build__preview::before { content: ""; position: absolute; top: 45%; left: 50%; width: 460px; height: 460px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--cbc) 45%, transparent), transparent 65%); transition: background .6s; pointer-events: none; }
.cphone { position: relative; width: 300px; aspect-ratio: 9 / 19; border-radius: 48px; padding: 10px; background: linear-gradient(145deg, #2c3456, #0c1129); box-shadow: var(--shadow), inset 0 0 0 1.5px rgba(255, 255, 255, .14); }
.cphone__screen { --c: #3b5bff; position: relative; height: 100%; display: flex; flex-direction: column; border-radius: 38px; overflow: hidden; background: #fff; color: #111; font-family: var(--body); }
.cs-status { position: absolute; inset: 0 0 auto; height: 34px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; font-size: 12px; z-index: 2; }
.cs-island { position: absolute; left: 50%; top: 9px; transform: translateX(-50%); width: 80px; height: 22px; border-radius: 12px; background: #050505; }
.cs-status i { width: 20px; height: 10px; border: 1.5px solid #111; border-radius: 3px; }
.cs-head { display: flex; align-items: center; gap: 9px; padding: 40px 16px 12px; }
.cs-logo { width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; background: var(--c); color: #fff; font-weight: 800; font-size: 15px; transition: background .4s; }
.cs-head b { flex: 1; font-size: 16px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#cbTitle.is-typing::after { content: "|"; color: var(--c); margin-left: 1px; animation: blink .8s infinite; }
.cs-burger { display: grid; gap: 4px; }
.cs-burger i { display: block; width: 18px; height: 2px; border-radius: 2px; background: #111; }
.cs-hero { position: relative; height: 200px; margin: 0 10px; border-radius: 20px; overflow: hidden; background: var(--c) center / cover no-repeat; transition: background-color .4s, opacity .25s, transform .25s; }
.cs-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .7)); }
.cs-hero.no-img::before { background: radial-gradient(circle at 80% 15%, rgba(255, 255, 255, .4), transparent 55%), linear-gradient(160deg, transparent, rgba(0, 0, 0, .25)); }
.cs-hero__in { position: absolute; left: 16px; right: 16px; bottom: 16px; color: #fff; }
.cs-hero small { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.cs-hero h4 { margin: 5px 0 12px; font: 800 20px/1.12 var(--head); letter-spacing: -.02em; }
.cs-btn { display: inline-block; padding: 9px 15px; border-radius: 999px; background: var(--c); color: #fff; font-size: 11.5px; font-weight: 800; transition: background .4s, color .4s; }
.cs-hero .cs-btn { background: #fff; color: var(--c); }
.cs-sec { padding: 16px 16px 9px; font-size: 14px; font-weight: 800; transition: opacity .25s; }
.cs-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 10px; transition: opacity .25s, transform .25s; }
.cs-card { border-radius: 14px; overflow: hidden; background: #f3f4f8; }
.cs-card__img { aspect-ratio: 1; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 16%, #fff) center / cover no-repeat; color: var(--c); }
.cs-card__img .ic { width: 24px; height: 24px; }
.cs-card b { display: block; padding: 7px 8px 0; font-size: 11px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-card span { display: block; padding: 2px 8px 8px; color: var(--c); font-size: 10px; font-weight: 800; min-height: 22px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-bar { margin-top: auto; padding: 12px; }
.cs-btn--full { display: block; padding: 14px; border-radius: 16px; text-align: center; font-size: 13px; }
#cbScreen.is-swap .cs-hero, #cbScreen.is-swap .cs-cards, #cbScreen.is-swap .cs-sec { opacity: 0; transform: translateY(10px) scale(.98); }
.build__badge { position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 13px; font-weight: 700; white-space: nowrap; box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .5); }

/* Konstruktor: mahsulot, funksiyalar, chat va suzuvchi kartalar */
.cb-prods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cb-prod { display: grid; gap: 6px; justify-items: start; text-align: left; padding: 14px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; transition: background .25s, border-color .25s, transform .2s; }
.cb-prod:hover { transform: translateY(-2px); border-color: var(--cyan); }
.cb-prod .ic { width: 24px; height: 24px; color: var(--cyan); }
.cb-prod b { font-size: 15px; line-height: 1.2; }
.cb-prod small { font-size: 12px; line-height: 1.3; color: var(--muted); }
.cb-prod.is-on { background: var(--grad); border-color: transparent; color: #fff; }
.cb-prod.is-on .ic, .cb-prod.is-on small { color: #fff; }
.cstep__count { margin-left: auto; color: var(--cyan); text-transform: none; letter-spacing: 0; font-weight: 700; }
.cb-feats { display: flex; flex-wrap: wrap; gap: 8px; }
.cb-feat { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; border: 1px dashed var(--line); background: transparent; color: var(--muted); font-weight: 700; font-size: 14px; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.cb-feat .ic { width: 17px; height: 17px; }
.cb-feat::after { content: "+"; font-weight: 800; }
.cb-feat:hover { border-color: var(--cyan); color: var(--text); }
.cb-feat.is-on { border-style: solid; border-color: var(--cyan); background: rgba(34, 211, 238, .1); color: var(--text); }
.cb-feat.is-on .ic, .cb-feat.is-on::after { color: var(--cyan); }
.cb-feat.is-on::after { content: "✓"; }

.cb-view { position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden; transition: opacity .25s, transform .25s; }
#cbScreen.is-swap .cb-view { opacity: 0; transform: scale(.97); }
.cs-lang { flex: none; padding: 4px 7px; border-radius: 999px; border: 1px solid #ddd; color: #555; font-size: 9px; font-weight: 800; }
.cs-cart { position: relative; flex: none; width: 26px; height: 26px; display: grid; place-items: center; color: var(--c); }
.cs-cart .ic { width: 20px; height: 20px; }
.cs-cart i { position: absolute; top: -3px; right: -5px; min-width: 15px; height: 15px; border-radius: 8px; background: var(--c); color: #fff; font: 800 9px/15px var(--body); font-style: normal; text-align: center; }
.cs-hero { flex: none; }
.cb-view--site.is-dense .cs-hero { height: 140px; }
.cb-view--site.is-dense .cs-sec { padding-top: 10px; }
.cs-extras { display: grid; gap: 8px; padding: 10px 10px 0; }
.cs-extras > * { animation: msgIn .35s both; }
.cs-slots { display: flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 800; }
.cs-slots span { padding: 6px 8px; border-radius: 9px; background: #f1f2f6; font-weight: 700; }
.cs-slots span.on { background: var(--c); color: #fff; }
.cs-map { height: 52px; display: flex; align-items: center; gap: 6px; padding: 0 10px; border-radius: 12px; font-size: 10.5px; font-weight: 800;
  background: linear-gradient(90deg, transparent 47%, #fff 47% 51%, transparent 51%), linear-gradient(0deg, transparent 38%, #fff 38% 46%, transparent 46%), linear-gradient(120deg, #dfe9d8, #e6ecf3); }
.cs-map .ic { width: 20px; height: 20px; color: var(--c); }
.cs-map span { padding: 4px 8px; border-radius: 8px; background: #fff; }
.cs-pay { display: flex; align-items: center; gap: 6px; color: #555; font-size: 10.5px; font-weight: 700; }
.cs-pay b { padding: 5px 9px; border-radius: 8px; color: #fff; font-size: 10px; }
.cs-pay b:nth-of-type(1) { background: #12b5c9; }
.cs-pay b:nth-of-type(2) { background: #1a6cf0; }

/* Chat (Telegram bot / AI) */
.cb-view--chat { background: #fff; }
.cv-head { display: flex; align-items: center; gap: 10px; padding: 40px 12px 10px; border-bottom: 1px solid #eee; }
.cv-ava { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; font-weight: 800; font-size: 14px; }
.cv-head b { display: block; font-size: 13.5px; }
.cv-head small { color: #3a8ee6; font-size: 11px; }
.cv-body { flex: 1; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 10px; background: color-mix(in srgb, var(--c) 10%, #dde5ec); }
.cv-msg { max-width: 86%; padding: 7px 10px; border-radius: 14px; font-size: 11.5px; line-height: 1.4; white-space: pre-line; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); animation: msgIn .35s both; animation-delay: var(--dl, 0s); }
.cv-in { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; }
.cv-out { align-self: flex-end; background: #e2f7cb; border-bottom-right-radius: 4px; }
.cv-sys { align-self: center; padding: 4px 10px; border-radius: 10px; background: rgba(0, 0, 0, .22); color: #fff; font-size: 10px; font-weight: 700; box-shadow: none; }
.cv-kb { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 7px; }
.cv-kb span { padding: 7px 4px; border-radius: 9px; background: color-mix(in srgb, var(--c) 12%, #f3f5f8); color: var(--c); font-size: 10.5px; font-weight: 700; text-align: center; }
.cv-kb span:only-child, .cv-kb span:last-child:nth-child(odd) { grid-column: 1 / -1; }
.cv-voice { display: flex; align-items: center; gap: 7px; }
.cv-voice i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #4fae4e; color: #fff; font-size: 9px; font-style: normal; }
.cv-voice em { width: 84px; height: 14px; background: repeating-linear-gradient(90deg, #4fae4e 0 2px, transparent 2px 4px); -webkit-mask: linear-gradient(0deg, #000 30%, transparent 30% 45%, #000 45%); opacity: .8; }
.cv-input { display: flex; justify-content: space-between; padding: 12px 14px; border-top: 1px solid #eee; color: #999; font-size: 12px; }
.cv-input i { color: #3a8ee6; font-style: normal; }

/* Suzuvchi kartalar (Telegram'ga buyurtma, Admin panel) */
.cb-float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .55); font-size: 12px; opacity: 0; transform: translateY(12px) scale(.94); transition: opacity .4s, transform .4s; pointer-events: none; }
.cb-float.is-on { opacity: 1; transform: none; }
.cb-float b { display: block; font-size: 13px; }
.cb-float small { color: var(--muted); }
.cb-float__ic { width: 32px; height: 32px; flex: none; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.cb-float__ic .ic { width: 17px; height: 17px; }
.cb-float--notify { left: calc(50% - 330px); top: 16%; }
.cb-float--notify .cb-float__ic { background: #2aa3df; }
.cb-float--admin { right: calc(50% - 330px); bottom: 20%; }
.cb-float--admin .cb-float__ic { background: var(--grad); }
@media (min-width: 1025px) {
  .build__in { align-items: start; }
  .build__preview { position: sticky; top: 96px; }
}
/* ---------- Pastki bo'limlar uchun scroll effektlari ---------- */
h2.big .hw { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .08em .12em 0; margin-bottom: -.12em; }
h2.big .hw > span { display: inline-block; transform: translateY(112%); transition: transform .95s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--wi) * 70ms); }
h2.big.in .hw > span { transform: none; }
.tg, .num, .steps li, .faq details, .wizard { will-change: transform, opacity; }
.nums__grid { position: relative; border-top: 0; }
.nums__grid::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--np, 0)); }
.footer__big { background: none; }
.footer__big span { display: inline-block; background: var(--grad); background-size: 800% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; will-change: transform; }
.contact { will-change: clip-path; }
@media (min-width: 1025px) { .faq-wrap > h2 { position: sticky; top: 110px; } }

/* ---------- Konstruktor: qadamma-qadam ochiladi ---------- */
.cb-step { display: none; }
.cb-step.is-open { display: block; animation: stepIn .55s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes stepIn { from { opacity: 0; transform: translateY(18px); } }
.cb-step.is-done .cstep__n { background: #16a34a; }
.cb-step.is-current .cstep__n { animation: ring 2s infinite; }
.cb-namerow { display: flex; gap: 10px; max-width: 520px; }
.cb-namerow .inp { flex: 1; min-width: 0; }
.cb-next { flex: none; padding: 0 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-weight: 700; cursor: pointer; transition: border-color .2s, background .2s; }
.cb-next:hover { border-color: var(--cyan); background: var(--surface-2); }

.cb-peek { display: none; }
@media (max-width: 1024px) {
  .cb-peek {
    display: inline-flex; align-items: center; gap: 8px; position: fixed; left: 50%; top: calc(88px + env(safe-area-inset-top, 0px)); z-index: 71;
    padding: 11px 18px; border-radius: 999px; border: 0; background: var(--text); color: var(--bg); font-weight: 800; font-size: 14px; cursor: pointer;
    box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5); transform: translate(-50%, -260%); transition: transform .4s cubic-bezier(.2, .8, .2, 1);
  }
  .cb-peek .ic { width: 18px; height: 18px; }
  .cb-peek.is-show { transform: translate(-50%, 0); }
  .cb-peek.bump { animation: peekBump .5s; }
  @keyframes peekBump { 30% { transform: translate(-50%, -8px) scale(1.06); } }
}
.cfg-note { padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(34, 211, 238, .3); background: rgba(34, 211, 238, .08); font-size: 13px; line-height: 1.45; }

/* ---------- Telefonda pastki tugma ---------- */.mbar { display: none; }

/* ---------- Umumiy paydo bo'lish ---------- */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ================= MOSLASHUVCHANLIK ================= */
@media (max-width: 1024px) {
  .nav { position: fixed; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 24px 24px; background: var(--bg); border-bottom: 1px solid var(--line); transform: translateY(-10px); opacity: 0; visibility: hidden; transition: .3s; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 16px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; }
  .burger { display: block; }
  .hero__in { grid-template-columns: 1fr; }
  .hero__visual { margin-top: 30px; }
  .ai__in, .contact__in, .faq-wrap, .build__in { grid-template-columns: 1fr; }
  .build__preview { margin-top: 20px; }
  .tg { max-width: 460px; width: 100%; margin: 0 auto; }
  .nums__grid { grid-template-columns: 1fr 1fr; }
  .num:nth-child(2) { border-right: 0; }
  .num:nth-child(3) { padding-left: 0; }
  .num { border-bottom: 1px solid var(--line); padding-bottom: 30px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 50px; }
  .steps::before, .steps::after { display: none; }
}
/* Telefonda: gorizontal bo'lim — oddiy barmoq bilan suriladigan lenta */
@media (max-width: 900px) {
  .works { height: auto !important; padding: 100px 0; }
  .works__pin { position: static; height: auto; display: block; }
  .works__track { flex-direction: column; align-items: stretch; transform: none !important; padding: 0; gap: 30px; }
  .works__intro { width: auto; padding: 0 24px; }
  .works__hint { display: none; }
  .works__cards { overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 24px 10px; gap: 16px; scrollbar-width: none; }
  .works__cards::-webkit-scrollbar { display: none; }
  .wcard { width: 82vw; scroll-snap-align: center; }
  .works__end { width: auto; aspect-ratio: auto; border-radius: 26px; margin: 0 24px; padding: 30px; grid-auto-flow: column; gap: 16px; }
  .scard { grid-template-columns: 1fr; min-height: 0; top: calc(90px + var(--i) * 14px); margin-bottom: 6vh; }
  .scard__art { display: none; }

  /* Pastki doimiy tugma */
  .mbar {
    display: flex; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 70;
    padding: 8px; border-radius: 22px; border: 1px solid var(--line);
    background: color-mix(in srgb, var(--card) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .5);
    transform: translateY(160%); transition: transform .45s cubic-bezier(.2, .8, .2, 1);
  }
  .mbar.is-show { transform: none; }
  .mbar__cta { flex: 1; padding: 16px; }
  .mbar__tg { flex: none; width: 54px; border-radius: 16px; display: grid; place-items: center; background: #2aa3df; color: #fff; }
  .footer { padding-bottom: 110px; }
  .build { padding: 90px 0; }
}
@media (max-width: 600px) {
  .header__act { gap: 6px; }
  .lang__btn { padding: 6px 8px; }
  .hero { padding-top: 100px; }
  .hero__btns .btn { width: 100%; }
  .notify { left: -6px; }
  .opts { grid-template-columns: 1fr 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .wizard { padding: 20px 16px; }
  .ws em { font-size: 12px; }
  .statement { height: 200vh; }
  .ai, .contact, .nums { padding: 90px 0; }
  .faq summary { font-size: 18px; }
  .scroll-hint { display: none; }
  .aphone { width: 290px; }
  /* Konstruktor: telefonda maket sarlavhadan keyin, boshqaruv undan pastda — yozganda o'zgarish ko'rinsin */
  .build__in { gap: 0; }
  .build__ctrl { display: contents; }
  .build__ctrl > * { order: 3; }
  .build__ctrl > .kicker, .build__ctrl > h2, .build__ctrl > .build__sub { order: 1; }
  .build__preview { order: 2; margin: 26px 0 6px; }
  .cphone { width: 240px; }
  .cs-hero { height: 150px; }
  .cs-hero h4 { font-size: 17px; }
  .cs-card span { font-size: 9px; padding-inline: 6px; }
  .cb-float { display: none; }
  .cb-prods { gap: 6px; }
  .cb-prod { padding: 11px 10px; }
  .cb-prod small { display: none; }
  .cb-feat { padding: 9px 11px; font-size: 13px; }
  .cb-ind { padding: 11px 15px; }
}
@media (prefers-reduced-motion: reduce) {
  h2.big .hw > span { transform: none !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal], .hero__title .line__in, .hero__sub, .hero__btns, .eyebrow { opacity: 1 !important; transform: none !important; }
  .statement { height: auto; padding: 100px 0; }
  .statement__pin { position: static; height: auto; }
  .statement__text .w { opacity: 1; }
}
