/* Studio Control — landing. Yigʻish bosqichisiz, kutubxonasiz. */
:root {
  --bg: #07060f;
  --bg-2: #0d0b1a;
  --card: rgba(255, 255, 255, .035);
  --card-2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #eeedf7;
  --text-2: #b6b3cc;
  --muted: #8a87a3;
  --accent: #9b86f8;
  --accent-2: #6e56cf;
  --accent-3: #b29cff;
  --green: #34d39a;
  --blue: #6f9bff;
  --amber: #f0b24a;
  --pink: #f472b6;
  --r: 14px;
  --r-lg: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --head: 'Plus Jakarta Sans', Inter, system-ui, sans-serif;
  --font: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.65 var(--font); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--head); letter-spacing: -.02em; margin: 0; }
img, svg { display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent-3); outline-offset: 3px; border-radius: 6px; }
.c-green { color: var(--green); } .c-blue { color: var(--blue); }

/* ── Fon: aurora + don ─────────────────────────────────────── */
.aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.aurora i {
  position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%;
  filter: blur(90px); opacity: .32; will-change: transform;
}
.aurora i:nth-child(1) { background: #6e56cf; left: -18vmax; top: -22vmax; animation: au1 26s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { background: #c026d3; right: -22vmax; top: 4vmax; opacity: .18; animation: au2 32s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { background: #3b82f6; left: 18vmax; top: 48vmax; opacity: .14; animation: au3 30s ease-in-out infinite alternate; }
.aurora i:nth-child(4) { background: #8b6cf0; right: 4vmax; bottom: -30vmax; opacity: .2; animation: au1 36s ease-in-out infinite alternate-reverse; }
@keyframes au1 { to { transform: translate(14vmax, 10vmax) scale(1.15); } }
@keyframes au2 { to { transform: translate(-12vmax, 16vmax) scale(.9); } }
@keyframes au3 { to { transform: translate(10vmax, -14vmax) scale(1.1); } }
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 3px 3px;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.4) 60%, transparent);
}

/* ── Tugmalar ──────────────────────────────────────────────── */
.btn {
  --mx: 0px; --my: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 44px; padding: 0 20px; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--card); font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: transform .4s var(--ease), background .3s, border-color .3s, box-shadow .3s;
  transform: translate(var(--mx), var(--my));
}
.btn:hover { background: var(--card-2); border-color: rgba(255,255,255,.22); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary {
  position: relative; overflow: hidden; border: 0; color: #fff;
  background: linear-gradient(135deg, #8f78f3, #6549c9);
  box-shadow: 0 10px 30px -10px rgba(143, 120, 243, .7), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn--primary::after {
  content: ''; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  animation: shine 4.5s var(--ease) infinite;
}
@keyframes shine { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.btn--primary:hover { background: linear-gradient(135deg, #9d88f6, #7055d6); box-shadow: 0 16px 40px -12px rgba(143, 120, 243, .9), inset 0 1px 0 rgba(255,255,255,.3); }
.btn--ghost { background: transparent; }
.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn--lg { height: 54px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn.fake { pointer-events: none; }

/* ── Navigatsiya ───────────────────────────────────────────── */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(1180px, calc(100% - 28px)); height: 60px; padding: 0 10px 0 14px;
  display: flex; align-items: center; gap: 18px; border-radius: 18px;
  background: rgba(13, 11, 26, .55); border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: background .3s, box-shadow .3s;
}
.nav.is-scrolled { background: rgba(13, 11, 26, .82); box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand__dial { width: 34px; height: 34px; }
.brand__name { font-family: var(--head); font-size: 17px; font-weight: 500; color: var(--text-2); letter-spacing: -.01em; }
.brand__name b { color: var(--text); font-weight: 800; }
.dial-track { fill: none; stroke: #2b2550; stroke-width: 5; }
.dial-arc { fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; }
.dial-knob { fill: var(--accent); }
.dial-tick { stroke: var(--bg); stroke-width: 2.5; stroke-linecap: round; transform-origin: 22px 22px; }
.nav__links { display: flex; gap: 4px; margin-left: 8px; }
.nav__links a { padding: 8px 12px; border-radius: 10px; font-size: 14px; color: var(--text-2); transition: color .2s, background .2s; }
.nav__links a:hover { color: var(--text); background: var(--card); }
.nav__end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { display: flex; padding: 3px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); }
.lang button { border: 0; background: none; padding: 5px 9px; border-radius: 7px; font-size: 12px; font-weight: 600; color: var(--muted); transition: background .2s, color .2s; }
.lang button.is-on { background: rgba(155, 134, 248, .18); color: var(--text); }

/* ── Umumiy boʻlim ─────────────────────────────────────────── */
main { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.sec { padding: 120px 0 0; }
.sec__head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.sec__head h2 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.08; font-weight: 800; }
.kicker {
  display: inline-block; margin-bottom: 16px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  background: linear-gradient(90deg, var(--accent-3), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* Yashirish faqat JS ishlaganda: skript yuklanmasa ham sahifa boʻsh qolmaydi. */
.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
.js .reveal:not(.in) { opacity: 0; transform: translateY(26px); filter: blur(6px); }

/* Sichqonchaga ergashuvchi yorugʻlik */
.spot { position: relative; isolation: isolate; }
.spot::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--sx, 50%) var(--sy, 50%), rgba(155, 134, 248, .16), transparent 60%);
}
.spot:hover::before { opacity: 1; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; min-height: 100svh; padding: 130px 0 60px;
  display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 56px;
}
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); font-size: 13px; color: var(--text-2);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(52, 211, 154, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(52, 211, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 154, 0); } }
.hero__title { font-size: clamp(42px, 6.4vw, 82px); line-height: 1.02; font-weight: 800; margin: 24px 0 22px; letter-spacing: -.035em; }
.hero__title .w { display: inline-block; opacity: 0; transform: translateY(.5em) rotate(4deg); filter: blur(10px); }
.hero__title .w--hl {
  background: linear-gradient(100deg, #fff 0%, var(--accent-3) 40%, var(--pink) 80%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); max-width: 540px; margin: 0 0 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__notes { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--muted); }
.hero__notes li { display: flex; align-items: center; gap: 8px; }
.hero__notes li::before { content: ''; width: 16px; height: 16px; border-radius: 50%; background: rgba(52, 211, 154, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%2334d39a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

.hero__stage { position: relative; perspective: 1400px; }
.glow { position: absolute; inset: 8% 4%; border-radius: 40px; background: radial-gradient(closest-side, rgba(143, 120, 243, .55), transparent); filter: blur(40px); z-index: -1; animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .6; transform: scale(.94); } }

/* Oyna (maket) */
.win {
  border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(28, 25, 48, .92), rgba(16, 14, 30, .94));
  border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.06);
  overflow: hidden;
}
.tilt { transform: rotateY(-14deg) rotateX(7deg); transform-style: preserve-3d; transition: transform .8s var(--ease); will-change: transform; }
.win__bar { display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.win__bar > i { width: 11px; height: 11px; border-radius: 50%; background: #3a3654; }
.win__bar > i:nth-child(1) { background: #ff5f57; } .win__bar > i:nth-child(2) { background: #febc2e; } .win__bar > i:nth-child(3) { background: #28c840; }
.win__bar span { margin-left: 10px; }
.live { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: .1em; color: #ff8a8a; }
.live span { width: 7px; height: 7px; border-radius: 50%; background: #ff5f57; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.kpis { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 10px; padding: 14px; }
.kpi { padding: 12px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.kpi small { display: block; font-size: 11.5px; color: var(--muted); }
.kpi strong { font-family: var(--head); font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.kpi em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--muted); }
.floor { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 14px 14px; }
.dc {
  position: relative; padding: 12px; border-radius: 13px; background: var(--card); border: 1px solid var(--line);
  transition: border-color .5s, background .5s, transform .5s var(--ease);
}
.dc::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; border-radius: 2px; background: var(--c); opacity: .7; }
.dc--work { --c: var(--blue); } .dc--free { --c: var(--green); } .dc--pause { --c: var(--amber); }
.dc.flash { animation: flash 1.1s var(--ease); }
@keyframes flash { 0% { transform: scale(1); } 30% { transform: scale(1.05); border-color: var(--c); background: rgba(155,134,248,.12); } 100% { transform: scale(1); } }
.dc__top { display: flex; align-items: center; gap: 8px; }
.ava { --h: 265; width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; background: linear-gradient(135deg, hsl(var(--h) 75% 62%), hsl(calc(var(--h) + 40) 70% 48%)); }
.dc__n { font-size: 13px; font-weight: 600; line-height: 1.2; }
.dc__s { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--c); }
.dc__s::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.dc--work .dc__s::before { animation: blink 1.6s infinite; }
.dc__task { margin-top: 9px; font-size: 11.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 18px; }
.dc__time { font-family: var(--head); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; margin-top: 2px; min-height: 22px; }
.dc--free .dc__time { color: var(--muted); font-weight: 500; font-size: 12px; }

.float {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 14px;
  background: rgba(22, 19, 40, .86); border: 1px solid var(--line-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -16px rgba(0,0,0,.7); font-size: 13px; opacity: 0;
}
.float b { display: block; font-size: 14px; } .float small { color: var(--muted); font-size: 11.5px; }
.float em { font-style: normal; }
.float__ico { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: rgba(52, 211, 154, .16); color: var(--green); font-weight: 800; }
.float--pay { left: -34px; bottom: 16%; }
.float--rate { right: -18px; top: 9%; flex-direction: column; align-items: flex-start; gap: 2px; }
.stars5 { color: #fbbf24; letter-spacing: 2px; font-size: 15px; }

/* ── Raqamlar va marquee ──────────────────────────────────── */
.proof { padding: 30px 0 0; text-align: center; }
.proof__lead { color: var(--muted); font-size: 14px; letter-spacing: .04em; margin: 0 0 22px; }
.proof__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.stat { padding: 28px 16px; background: var(--bg-2); }
.stat b { display: block; font-family: var(--head); font-size: clamp(32px, 4vw, 46px); font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff, #b8adf0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: 14px; color: var(--text-2); }
.marquee { margin-top: 34px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 12px; width: max-content; animation: mq 40s linear infinite; }
.marquee__track span { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 14px; color: var(--text-2); white-space: nowrap; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ── Muammolar ─────────────────────────────────────────────── */
.pains__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pain { padding: 28px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); transition: border-color .3s, transform .5s var(--ease); }
.pain:hover { border-color: var(--line-2); transform: translateY(-3px); }
.pain__q { margin: 0 0 14px; font-family: var(--head); font-size: 20px; font-weight: 700; line-height: 1.3; display: flex; gap: 12px; }
.pain__q::before { content: '✕'; flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 13px; color: #ff8a8a; background: rgba(255, 95, 87, .12); }
.pain__a { margin: 0; color: var(--text-2); display: flex; gap: 12px; }
.pain__a::before { content: '✓'; flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--green); background: rgba(52, 211, 154, .12); }

/* ── Scroll hikoya ─────────────────────────────────────────── */
.story__wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.story__device { position: sticky; top: max(96px, calc(50vh - 230px)); }
.win--device { aspect-ratio: 4 / 3; display: flex; flex-direction: column; }
.screens { position: relative; flex: 1; }
.scr { position: absolute; inset: 0; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; padding: 22px; opacity: 0; transform: translateY(18px) scale(.97); filter: blur(6px); transition: opacity .6s var(--ease), transform .7s var(--ease), filter .6s var(--ease); pointer-events: none; }
.story__device[data-screen="1"] [data-s="1"], .story__device[data-screen="2"] [data-s="2"], .story__device[data-screen="3"] [data-s="3"],
.story__device[data-screen="4"] [data-s="4"], .story__device[data-screen="5"] [data-s="5"], .story__device[data-screen="6"] [data-s="6"] { opacity: 1; transform: none; filter: none; }
.story__steps { list-style: none; padding: 0; margin: 0; }
.step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .5s; }
.step.is-on { opacity: 1; }
.step__n { font-family: var(--head); font-weight: 800; font-size: 14px; color: var(--accent-3); letter-spacing: .1em; }
.step h3 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; margin: 10px 0 14px; font-weight: 800; }
.step p { margin: 0; color: var(--text-2); font-size: 17px; max-width: 460px; }

.form-mock { width: 100%; max-width: 360px; display: grid; gap: 7px; }
.form-mock label { font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.inp { height: 38px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); padding: 0 12px; display: flex; align-items: center; font-size: 13.5px; }
.typing::after { content: '|'; margin-left: 1px; color: var(--accent-3); animation: blink 1s steps(1) infinite; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12.5px; color: var(--text-2); display: inline-flex; align-items: center; gap: 6px; }
.chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.chip--pick { border-color: var(--accent); background: rgba(155, 134, 248, .16); color: var(--text); }
.form-mock .btn { margin-top: 10px; }

.job { width: 100%; max-width: 380px; padding: 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.job__top { display: flex; align-items: center; gap: 10px; }
.job__top b { display: block; font-size: 14px; } .job__top small { color: var(--muted); font-size: 12px; }
.st { margin-left: auto; font-size: 11.5px; padding: 4px 10px; border-radius: 999px; }
.st--work { color: var(--blue); background: rgba(111, 155, 255, .14); }
.job__timer { font-family: var(--head); font-size: 52px; font-weight: 800; text-align: center; margin: 20px 0 6px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.job__cost { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); padding: 12px 0; border-top: 1px dashed var(--line-2); }
.job__cost b { color: var(--text); font-size: 15px; } .job__cost em { font-style: normal; color: var(--muted); font-weight: 500; }
.job__btns { display: flex; gap: 10px; justify-content: flex-end; }

.pay { width: 100%; max-width: 400px; }
.pay__sum { position: relative; padding: 18px 20px; border-radius: 16px; background: linear-gradient(135deg, rgba(52, 211, 154, .16), rgba(52, 211, 154, .04)); border: 1px solid rgba(52, 211, 154, .3); margin-bottom: 14px; }
.pay__sum small { color: var(--muted); font-size: 12px; } .pay__sum b { display: block; font-family: var(--head); font-size: 30px; font-weight: 800; }
.pay__sum em { font-style: normal; font-size: 16px; color: var(--text-2); }
.ok-badge { position: absolute; right: 18px; top: 50%; translate: 0 -50%; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #052b1d; font-weight: 800; font-size: 20px; }
[data-screen="3"] .ok-badge { animation: pop .7s .3s var(--ease) both; }
@keyframes pop { 0% { transform: scale(0); } 60% { transform: scale(1.2); } 100% { transform: scale(1); } }
.pay__rows { display: grid; gap: 9px; }
.pay__rows div { display: grid; grid-template-columns: 70px 1fr 84px; align-items: center; gap: 12px; font-size: 13px; color: var(--text-2); }
.pay__rows b { height: 8px; border-radius: 8px; background: rgba(255,255,255,.06); overflow: hidden; }
.pay__rows b i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent-2), var(--accent-3)); transition: width 1.2s var(--ease); }
.pay__rows .hl b i { background: linear-gradient(90deg, #10b981, var(--green)); }
.pay__rows em { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; color: var(--text); }

.phone-mini { width: 220px; padding: 26px 18px; border-radius: 30px; text-align: center; background: linear-gradient(180deg, #2c2064, #170f33); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 0 60px -10px rgba(251, 191, 36, .35); }
.pm__face { font-size: 46px; line-height: 1; }
.pm__t { font-family: var(--head); font-weight: 700; margin: 12px 0; }
.pm__stars { display: flex; justify-content: center; gap: 4px; font-size: 26px; color: #fbbf24; }
.pm__stars i { font-style: normal; display: inline-block; }
[data-screen="4"] .pm__stars i { animation: starIn .5s var(--ease) both; }
[data-screen="4"] .pm__stars i:nth-child(2) { animation-delay: .1s; } [data-screen="4"] .pm__stars i:nth-child(3) { animation-delay: .2s; }
[data-screen="4"] .pm__stars i:nth-child(4) { animation-delay: .3s; } [data-screen="4"] .pm__stars i:nth-child(5) { animation-delay: .4s; }
@keyframes starIn { 0% { transform: scale(0) rotate(-40deg); opacity: 0; } 70% { transform: scale(1.35); } 100% { transform: none; opacity: 1; } }
.pm__w { margin-top: 10px; color: #fde68a; font-size: 13px; font-weight: 600; }

.podium { display: flex; align-items: flex-end; gap: 12px; height: 230px; }
.pd { width: 96px; border-radius: 14px 14px 0 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px; padding-top: 14px; background: linear-gradient(180deg, rgba(155, 134, 248, .3), rgba(155, 134, 248, .05)); border: 1px solid var(--line-2); border-bottom: 0; position: relative; }
.pd b { font-size: 13px; } .pd i { font-style: normal; font-family: var(--head); font-weight: 800; font-size: 20px; }
.pd--1 { height: 100%; background: linear-gradient(180deg, rgba(251, 191, 36, .35), rgba(251, 191, 36, .05)); }
.pd--2 { height: 75%; } .pd--3 { height: 58%; }
.crown { position: absolute; top: -30px; font-size: 26px; }
[data-screen="5"] .pd { animation: rise .8s var(--ease) both; transform-origin: bottom; }
[data-screen="5"] .pd--1 { animation-delay: .15s; } [data-screen="5"] .pd--3 { animation-delay: .3s; }
@keyframes rise { from { transform: scaleY(0); opacity: 0; } to { transform: none; opacity: 1; } }

.report { width: 100%; max-width: 420px; }
.report__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.report__kpis div { padding: 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.report__kpis small { display: block; color: var(--muted); font-size: 11.5px; } .report__kpis b { font-family: var(--head); font-size: 19px; font-weight: 800; }
.report__chart { width: 100%; height: 150px; }
.report__chart .line { stroke-dasharray: 520; stroke-dashoffset: 520; }
[data-screen="6"] .report__chart .line { animation: draw 1.6s .2s var(--ease) forwards; }
.report__chart .area { opacity: 0; } [data-screen="6"] .report__chart .area { animation: fade 1s .9s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

/* ── Bento ─────────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cell { grid-column: span 1; padding: 22px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, transform .5s var(--ease); }
.cell:hover { border-color: var(--line-2); transform: translateY(-4px); }
.cell--wide { grid-column: span 2; }
.cell h3 { font-size: 19px; font-weight: 700; margin: 0 0 6px; }
.cell p { margin: 0; color: var(--text-2); font-size: 14.5px; }
.cell__vis { height: 120px; margin: -4px -4px 18px; border-radius: 14px; background: rgba(255,255,255,.025); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.vis-floor { display: grid; grid-template-columns: repeat(4, 34px); gap: 12px; justify-content: center; align-content: center; }
.vis-floor .dot { width: 34px; height: 22px; border-radius: 7px; background: var(--c); opacity: .85; animation: dotSwap 6s infinite; }
.dot.g { --c: var(--green); } .dot.b { --c: var(--blue); } .dot.a { --c: var(--amber); }
.vis-floor .dot:nth-child(3n) { animation-delay: -2s; } .vis-floor .dot:nth-child(4n) { animation-delay: -4s; }
@keyframes dotSwap { 0%, 30% { background: var(--c); } 33%, 63% { background: var(--blue); } 66%, 96% { background: var(--green); } }
.vis-timer b { font-family: var(--head); font-size: 34px; font-weight: 800; font-variant-numeric: tabular-nums; }
.vis-bars { display: flex; align-items: flex-end; gap: 10px; padding-bottom: 18px; }
.vis-bars i { width: 18px; height: calc(var(--v) * 80px); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--accent-3), var(--accent-2)); transform-origin: bottom; transform: scaleY(0); transition: transform 1s var(--ease); }
.in .vis-bars i { transform: none; }
.vis-bars i:nth-child(2) { transition-delay: .08s; } .vis-bars i:nth-child(3) { transition-delay: .16s; } .vis-bars i:nth-child(4) { transition-delay: .24s; } .vis-bars i:nth-child(5) { transition-delay: .32s; }
.vis-ring svg { width: 92px; height: 92px; transform: rotate(-90deg); }
.r-track { fill: none; stroke: rgba(255,255,255,.07); stroke-width: 8; }
.r-val { fill: none; stroke: var(--accent); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 201; stroke-dashoffset: 201; transition: stroke-dashoffset 1.6s var(--ease); }
.in .r-val { stroke-dashoffset: 64; }
.vis-ring b { position: absolute; font-family: var(--head); font-size: 20px; font-weight: 800; }
.vis-stars { gap: 6px; font-size: 30px; color: rgba(255,255,255,.12); }
.vis-stars i { font-style: normal; transition: color .3s, transform .4s var(--ease); }
.in .vis-stars i { color: #fbbf24; animation: starIn .6s var(--ease) both; }
.in .vis-stars i:nth-child(2) { animation-delay: .1s; } .in .vis-stars i:nth-child(3) { animation-delay: .2s; } .in .vis-stars i:nth-child(4) { animation-delay: .3s; } .in .vis-stars i:nth-child(5) { animation-delay: .4s; }
.vis-tv { flex-direction: column; align-items: stretch; gap: 6px; padding: 0 28px; }
.vis-tv span { display: flex; justify-content: space-between; padding: 5px 14px; border-radius: 10px; font-size: 13px; background: var(--card); border: 1px solid var(--line); }
.vis-tv .tv__1 { background: linear-gradient(90deg, rgba(251, 191, 36, .22), rgba(251, 191, 36, .04)); border-color: rgba(251, 191, 36, .35); }
.vis-tv b { font-family: var(--head); }
.vis-cert span { font-size: 48px; animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px) rotate(-4deg); } }
.vis-ai { padding: 0 18px; justify-content: flex-start; }
.vis-ai span { padding: 10px 14px; border-radius: 14px 14px 14px 4px; background: rgba(155, 134, 248, .15); border: 1px solid rgba(155, 134, 248, .3); font-size: 13.5px; min-height: 42px; }
.vis-tg { flex-direction: column; gap: 8px; align-items: flex-start; padding: 0 20px; }
.msg { padding: 8px 12px; border-radius: 12px 12px 12px 4px; background: #2b5278; font-size: 13px; opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.in .msg { opacity: 1; transform: none; } .in .msg--2 { transition-delay: .5s; }
.vis-more { flex-wrap: wrap; gap: 8px; padding: 0 16px; align-content: center; }
.vis-more span { padding: 6px 12px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line); font-size: 13px; }

/* ── Baho demosi ───────────────────────────────────────────── */
.rate-demo { display: grid; grid-template-columns: 1fr auto; gap: 64px; align-items: center; }
.rate-demo__copy h2 { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.08; font-weight: 800; margin: 0 0 18px; }
.rate-demo__copy p { color: var(--text-2); font-size: 18px; max-width: 520px; margin: 0; }
.phone {
  --rc: #9b86f8; position: relative; width: 300px; height: 560px; border-radius: 46px; padding: 14px;
  background: #0c0a18; border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 50px 90px -30px rgba(0,0,0,.9), 0 0 90px -20px color-mix(in srgb, var(--rc) 55%, transparent);
  transition: box-shadow .6s;
}
.phone[data-mood="1"], .phone[data-mood="2"] { --rc: #f87171; } .phone[data-mood="3"] { --rc: #fbbf24; } .phone[data-mood="4"] { --rc: #a3e635; } .phone[data-mood="5"] { --rc: #fbbf24; }
.phone__notch { position: absolute; top: 14px; left: 50%; translate: -50% 0; width: 100px; height: 26px; border-radius: 0 0 16px 16px; background: #0c0a18; z-index: 2; }
.phone__in { height: 100%; border-radius: 34px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; overflow: hidden; background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--rc) 28%, #2c2064), #140c2c 70%); transition: background .6s; }
.phone__face { font-size: 72px; line-height: 1; transition: transform .5s var(--ease); }
.phone__face.bump { animation: faceBump .6s var(--ease); }
@keyframes faceBump { 40% { transform: scale(1.3) rotate(-8deg); } }
.phone__t { font-family: var(--head); font-weight: 800; font-size: 21px; margin: 20px 0 22px; }
.phone__stars { display: flex; gap: 6px; }
.phone__stars button { border: 0; background: none; padding: 2px; font-size: 38px; line-height: 1; color: rgba(255,255,255,.18); transition: color .25s, transform .3s var(--ease); }
.phone__stars button:hover { transform: scale(1.15); }
.phone__stars button.on { color: #fbbf24; text-shadow: 0 0 18px rgba(251, 191, 36, .6); }
.phone__stars button.pop { animation: starIn .5s var(--ease); }
.phone__w { margin-top: 22px; min-height: 26px; font-weight: 600; color: var(--text-2); transition: color .3s; }
.phone[data-mood="5"] .phone__w, .phone[data-mood="4"] .phone__w { color: #fde68a; }

/* ── Narxlar ───────────────────────────────────────────────── */
.period { display: inline-flex; margin-top: 26px; padding: 4px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.period button { border: 0; background: none; padding: 8px 18px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--muted); transition: background .3s, color .3s; }
.period button.is-on { background: rgba(155, 134, 248, .2); color: var(--text); }
.period em { font-style: normal; color: var(--green); font-size: 12px; margin-left: 4px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; padding: 30px 26px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .5s var(--ease), border-color .3s; }
.plan:hover { transform: translateY(-4px); border-color: var(--line-2); }
.plan--hot { background: linear-gradient(180deg, rgba(155, 134, 248, .14), rgba(155, 134, 248, .03)); border-color: rgba(155, 134, 248, .45); box-shadow: 0 30px 70px -30px rgba(143, 120, 243, .6); }
.plan__badge { position: absolute; top: -12px; left: 26px; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff; background: linear-gradient(90deg, #8f78f3, #c026d3); }
.plan h3 { font-size: 22px; font-weight: 800; }
.plan__who { color: var(--muted); font-size: 14px; margin: 4px 0 20px; }
.plan__price { font-family: var(--head); font-size: 40px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__price small { font-size: 15px; font-weight: 600; color: var(--muted); }
.plan__per { color: var(--muted); font-size: 13px; margin: 8px 0 22px; min-height: 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; font-size: 14.5px; color: var(--text-2); }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: '✓'; color: var(--green); font-weight: 700; }
.plan .btn { margin-top: auto; }
.plans__note { text-align: center; color: var(--muted); font-size: 14px; margin: 26px 0 0; }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: var(--card); border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.faq details[open] { border-color: var(--line-2); background: var(--card-2); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--card-2); color: var(--accent-3); font-size: 20px; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 24px 22px; color: var(--text-2); }

/* ── Yakuniy ───────────────────────────────────────────────── */
.final { padding-bottom: 100px; }
.final__card {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 56px;
  border-radius: 32px; border: 1px solid rgba(155, 134, 248, .35);
  background: radial-gradient(circle at 0% 0%, rgba(143, 120, 243, .35), transparent 55%), radial-gradient(circle at 100% 100%, rgba(192, 38, 211, .22), transparent 50%), #100d22;
}
.final__dial { width: 64px; height: 64px; margin-bottom: 22px; }
.final__dial .dial-tick { animation: knob 5s var(--ease) infinite; }
@keyframes knob { 0%, 100% { transform: rotate(-60deg); } 50% { transform: rotate(40deg); } }
.final__copy h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.08; font-weight: 800; margin-bottom: 16px; }
.final__copy p { color: var(--text-2); font-size: 17px; margin: 0; }
.lead { display: grid; gap: 14px; align-content: start; }
.lead label { display: grid; gap: 6px; font-size: 13px; color: var(--text-2); }
.lead input, .lead select {
  height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0,0,0,.25);
  color: var(--text); font: inherit; font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
.lead input:focus, .lead select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(155, 134, 248, .18); }
.lead input.bad { border-color: #f87171; }
.lead select option { background: #140f2a; }
.lead .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead .btn { margin-top: 6px; width: 100%; }
.lead .btn.is-busy { pointer-events: none; opacity: .75; }
.lead__msg { margin: 0; min-height: 22px; font-size: 14px; color: var(--muted); }
.lead__msg.ok { color: var(--green); } .lead__msg.err { color: #fca5a5; }
.lead.done { place-items: center; text-align: center; align-content: center; }
.lead__ok { font-size: 56px; animation: pop .7s var(--ease) both; }
.lead__okt { font-family: var(--head); font-size: 24px; font-weight: 800; }

.foot { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 36px 0 48px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot__brand p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.foot__copy { color: var(--muted); font-size: 14px; margin: 0; }

.fx { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 100; }

/* ── Moslashuv ─────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 120px; text-align: center; gap: 48px; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__cta, .hero__notes { justify-content: center; }
  .hero__stage { max-width: 620px; margin: 0 auto; width: 100%; }
  .tilt { transform: rotateX(6deg); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .story__wrap { grid-template-columns: 1fr; gap: 0; }
  .story__device { top: 84px; z-index: 2; max-width: 560px; margin: 0 auto; width: 100%; }
  /* Yuqoriga chiqib ketayotgan qadam matni maket ortida koʻrinib turmasin. */
  .story__device::before { content: ''; position: absolute; z-index: -1; left: -24px; right: -24px; top: -100px; bottom: -28px; background: linear-gradient(180deg, rgba(7, 6, 15, .96) 60%, rgba(7, 6, 15, 0)); pointer-events: none; }
  .step { min-height: 52vh; text-align: center; align-items: center; }
  .rate-demo { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 40px; }
  .rate-demo__copy p { margin: 0 auto; }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .final__card { grid-template-columns: 1fr; padding: 36px 26px; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .nav { top: 8px; width: calc(100% - 16px); height: 56px; gap: 8px; padding: 0 8px 0 10px; }
  .brand__name { display: none; }
  .lang button { padding: 5px 7px; }
  main, .foot { width: calc(100% - 32px); }
  .sec { padding-top: 90px; }
  .sec__head { margin-bottom: 36px; }
  .hero { padding-top: 104px; min-height: auto; }
  .hero__title { font-size: 44px; }
  .btn--lg { height: 52px; padding: 0 20px; font-size: 15px; width: 100%; }
  .hero__cta { flex-direction: column; }
  .kpis { grid-template-columns: 1fr 1fr; } .kpis .kpi:first-child { grid-column: span 2; }
  .floor { grid-template-columns: repeat(2, 1fr); }
  .floor .dc:nth-child(n+5) { display: none; }
  .float--pay { left: -6px; bottom: -22px; } .float--rate { right: -6px; top: -26px; }
  .proof__grid { grid-template-columns: 1fr 1fr; }
  .pains__grid, .bento { grid-template-columns: 1fr; }
  .cell--wide { grid-column: span 1; }
  .win--device { aspect-ratio: 4 / 3; }
  .story__device { top: 70px; }
  .scr > * { transform: scale(.66); }
  .step { min-height: 58vh; } .step p { font-size: 15.5px; }
  .scr { padding: 14px; }
  .job__timer { font-size: 40px; }
  .podium { height: 190px; } .pd { width: 80px; }
  .phone { width: 270px; height: 500px; }
  .final__card { padding: 30px 20px; border-radius: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .hero__title .w { opacity: 1 !important; transform: none !important; filter: none !important; }
  .tilt { transform: none !important; }
  .float { opacity: 1; }
}
