/* ══════════════════════════════════════════════════════════════
   VINEX — Investor Pitch (pitch.vinex.uz)
   1920×1080 slaydlar, Soft UI (neumorfizm), faqat oq-qora palitra,
   kun / tun. Tuzilma va navigatsiya hamyon pitch shabloni asosida.
   ══════════════════════════════════════════════════════════════ */
@font-face { font-family: "Archivo"; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url("fonts/Archivo-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap;
  src: url("fonts/Inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap;
  src: url("fonts/Inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4; }
@font-face { font-family: "Plex Mono"; font-weight: 500; font-display: swap; src: url("fonts/PlexMono-500.woff2") format("woff2"); }

:root, :root[data-theme="light"] {
  --bg: #e8e8e8; --sh-d: #c4c4c4; --sh-l: #ffffff;
  --txt: #121212; --txt-2: #5a5a5a; --txt-3: #8c8c8c; --line: rgba(0,0,0,.09);
  --inv: #121212; --inv-txt: #fafafa; --inv-txt-2: rgba(250,250,250,.64); --inv-line: rgba(255,255,255,.14);
  --inv-sh: 0 26px 50px -24px rgba(0,0,0,.6); --ring: rgba(0,0,0,.16);
  --glow: #f4f4f4; --page: #d4d4d4;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #1c1c1c; --sh-d: #111111; --sh-l: #292929;
  --txt: #f2f2f2; --txt-2: #a6a6a6; --txt-3: #747474; --line: rgba(255,255,255,.09);
  --inv: #f4f4f4; --inv-txt: #101010; --inv-txt-2: rgba(16,16,16,.6); --inv-line: rgba(0,0,0,.12);
  --inv-sh: 0 26px 50px -24px rgba(0,0,0,.8); --ring: rgba(255,255,255,.22);
  --glow: #242424; --page: #0f0f0f;
  color-scheme: dark;
}
:root {
  --raise-lg: 22px 22px 50px var(--sh-d), -22px -22px 50px var(--sh-l);
  --raise:    14px 14px 32px var(--sh-d), -14px -14px 32px var(--sh-l);
  --raise-sm: 7px 7px 16px var(--sh-d), -7px -7px 16px var(--sh-l);
  --raise-xs: 4px 4px 9px var(--sh-d), -4px -4px 9px var(--sh-l);
  --sunk-lg:  inset 18px 18px 40px var(--sh-d), inset -18px -18px 40px var(--sh-l);
  --sunk:     inset 8px 8px 18px var(--sh-d), inset -8px -8px 18px var(--sh-l);
  --sunk-sm:  inset 4px 4px 9px var(--sh-d), inset -4px -4px 9px var(--sh-l);
  --ease: cubic-bezier(.22,.81,.3,1); --spring: cubic-bezier(.18,.89,.32,1.16);
  --f-display: "Archivo", "Inter", system-ui, sans-serif;
  --f-body: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-mono: "Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--page); }
body { font-family: var(--f-body); color: var(--txt); -webkit-font-smoothing: antialiased; letter-spacing: -.011em; }
html.theming * { transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease) !important; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
ul { list-style: none; }
.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ── Slayd ─────────────────────────────────────────────────── */
.slide {
  width: 1920px; height: 1080px; position: relative; overflow: hidden; padding: 80px 100px;
  background: radial-gradient(900px 640px at 92% -8%, var(--glow) 0%, transparent 62%), var(--bg);
  color: var(--txt); margin: 0 auto 40px; page-break-after: always; break-after: page;
}
@media print { html, body { background: none; } .slide { margin: 0; } }
@page { size: 1920px 1080px; margin: 0; }

.card { background: var(--bg); border-radius: 40px; box-shadow: var(--raise); }
.card.sm { border-radius: 30px; box-shadow: var(--raise-sm); }
.inv { background: var(--inv); color: var(--inv-txt); box-shadow: var(--inv-sh); }
.inv .mut { color: var(--inv-txt-2); }
.sunk { border-radius: 30px; box-shadow: var(--sunk); }
.mut { color: var(--txt-2); }

.kicker { display: inline-flex; align-items: center; gap: 16px; font-family: var(--f-mono); font-size: 22px; letter-spacing: .18em; text-transform: uppercase; color: var(--txt-2); margin-bottom: 18px; }
.kicker b { display: inline-grid; place-items: center; min-width: 50px; height: 38px; padding: 0 10px; border-radius: 12px; background: var(--inv); color: var(--inv-txt); font-weight: 500; letter-spacing: .04em; }
h1, h2, h3, .num { font-family: var(--f-display); }
h2 { font-size: 70px; font-weight: 850; font-stretch: 108%; line-height: 1.02; letter-spacing: -.035em; }
h2 em, .soft { font-style: normal; color: var(--txt-3); }
h3 { font-weight: 800; font-stretch: 105%; letter-spacing: -.02em; line-height: 1.12; }
.lead { font-size: 27px; color: var(--txt-2); line-height: 1.42; margin-top: 18px; max-width: 1080px; }
.num { font-weight: 850; font-stretch: 108%; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.02; }
.lbl { font-family: var(--f-mono); font-size: 16px; letter-spacing: .14em; text-transform: uppercase; color: var(--txt-2); }
.inv .lbl { color: var(--inv-txt-2); }
.pill { display: inline-flex; align-items: center; gap: 12px; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 21px; box-shadow: var(--raise-sm); background: var(--bg); }
.pill.inv { box-shadow: var(--inv-sh); background: var(--inv); }
.pill .ic { font-size: 22px; }
.icon { width: 68px; height: 68px; border-radius: 22px; display: grid; place-items: center; background: var(--inv); color: var(--inv-txt); box-shadow: var(--inv-sh); font-family: var(--f-display); font-weight: 800; font-size: 30px; flex: none; }
.icon .ic { font-size: 32px; }
.icon.soft-i { background: var(--bg); color: var(--txt); box-shadow: var(--raise-xs); }
.row { display: flex; gap: 32px; }
.src { font-size: 15px; color: var(--txt-3); line-height: 1.4; }
.footer { position: absolute; left: 100px; right: 100px; bottom: 30px; display: flex; justify-content: space-between; align-items: center; gap: 30px; font-size: 16px; color: var(--txt-3); font-weight: 600; }
.footer b { color: var(--txt); }
.footer .src { text-align: center; flex: 1; }
.tnum { font-variant-numeric: tabular-nums; }

/* Logo */
.wordmark { display: inline-flex; align-items: center; gap: .07em; font-family: var(--f-display); font-weight: 900; font-stretch: 118%; letter-spacing: .02em; line-height: 1; }
.wordmark svg { height: .74em; width: auto; fill: currentColor; transform: translateY(-.02em); }
.badge-logo { position: relative; display: grid; place-items: center; border-radius: 50%; background: var(--inv); color: var(--inv-txt); flex: none; box-shadow: var(--inv-sh); }
.badge-logo svg { width: 46%; height: auto; fill: currentColor; transform: translate(2%, 3%); }
.badge-logo::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--ring); }

/* Lottie */
.well { border-radius: 50%; box-shadow: var(--sunk); padding: 14px; }
.lot { width: 100%; height: 100%; }
.lot svg { width: 100% !important; height: 100% !important; }

/* ── 1. Titul: telefon ─────────────────────────────────────── */
.stage { position: absolute; right: 10px; top: 40px; width: 900px; height: 1000px; display: grid; place-items: center; }
.stage::before { content: ""; position: absolute; width: 760px; height: 760px; border-radius: 50%; box-shadow: var(--sunk-lg); }
.stage::after { content: ""; position: absolute; width: 900px; height: 900px; border-radius: 50%; border: 2px dashed var(--line); }
.phone { position: relative; z-index: 2; width: 316px; height: 652px; padding: 9px; border-radius: 54px; background: var(--inv); box-shadow: var(--raise-lg), var(--inv-sh); transform: scale(1.26); }
.screen { position: relative; width: 100%; height: 100%; border-radius: 46px; overflow: hidden; background: var(--bg); font-size: 13px; line-height: 1.4; }
.island { position: absolute; left: 50%; top: 10px; width: 92px; height: 27px; margin-left: -46px; border-radius: 20px; background: #050505; z-index: 5; }
.status { display: flex; justify-content: space-between; align-items: center; height: 46px; padding: 6px 28px 0 30px; font-size: 13px; font-weight: 650; }
.status .bat { width: 23px; height: 11px; border-radius: 3.5px; border: 1.2px solid currentColor; padding: 1.4px; }
.status .bat::before { content: ""; display: block; height: 100%; width: 72%; border-radius: 1.5px; background: currentColor; }
.a-top { display: flex; align-items: center; gap: 8px; height: 50px; padding: 0 14px; }
.a-top .badge-logo { width: 33px; height: 33px; box-shadow: var(--raise-xs); }
.a-top .sp { flex: 1; }
.a-ibtn { width: 33px; height: 33px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--raise-xs); font-size: 15px; }
.a-pill { height: 33px; padding: 0 12px; border-radius: 99px; display: inline-flex; align-items: center; gap: 5px; box-shadow: var(--raise-xs); font-weight: 700; font-size: 11.5px; }
.a-bal { position: relative; overflow: hidden; margin: 6px 14px 0; padding: 17px 16px 15px; border-radius: 26px; background: var(--inv); color: var(--inv-txt); box-shadow: var(--inv-sh); }
.a-bal .hd { display: flex; align-items: center; gap: 10px; }
.a-ava { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(127,127,127,.18); font-size: 16px; }
.a-lbl { font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--inv-txt-2); }
.a-usr { font-size: 11px; color: var(--inv-txt-2); }
.a-val { margin-top: 12px; font-size: 27px; font-weight: 800; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.a-val small { font-size: 12px; font-weight: 600; color: var(--inv-txt-2); margin-left: 4px; }
.a-acts { display: flex; gap: 8px; margin-top: 13px; }
.a-acts span { flex: 1; height: 36px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; font-size: 11.5px; font-weight: 650; border: 1px solid var(--inv-line); }
.a-acts span.p { background: var(--inv-txt); color: var(--inv); border-color: transparent; }
.a-title { margin: 18px 18px 10px; font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--txt-3); }
.a-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; padding: 0 14px; }
.a-tile { display: flex; flex-direction: column; gap: 8px; padding: 13px 12px 12px; border-radius: 20px; box-shadow: 4px 4px 9px var(--sh-d), -4px -4px 9px var(--sh-l); }
.a-tile .ti { width: 32px; height: 32px; border-radius: 11px; display: grid; place-items: center; background: var(--inv); color: var(--inv-txt); font-size: 15px; }
.a-tile b { font-size: 12px; } .a-tile span { margin-top: -6px; font-size: 9.5px; color: var(--txt-3); }
.a-tabs { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4,1fr); height: 74px; padding: 8px 10px 18px; background: var(--bg); box-shadow: 0 -12px 22px -16px var(--sh-d); }
.a-tabs span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 9px; font-weight: 600; color: var(--txt-3); border-radius: 14px; }
.a-tabs span .ic { font-size: 17px; }
.a-tabs span.on { color: var(--txt); box-shadow: var(--sunk-sm); }
.home-ind { position: absolute; left: 50%; bottom: 7px; width: 110px; height: 4px; margin-left: -55px; border-radius: 4px; background: var(--txt); opacity: .8; }
.float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 18px; padding: 18px 28px 18px 18px; border-radius: 30px; background: var(--bg); box-shadow: var(--raise); }
.float .fi { width: 62px; height: 62px; border-radius: 20px; display: grid; place-items: center; background: var(--inv); color: var(--inv-txt); font-size: 28px; }
.float .num { font-size: 36px; }
.float small { display: block; font-size: 18px; color: var(--txt-2); margin-top: 4px; font-weight: 600; }
.float .well { width: 84px; height: 84px; padding: 8px; }

/* ── Grafiklar ─────────────────────────────────────────────── */
.chart { position: relative; }
.grid-y { position: absolute; left: 0; right: 0; border-top: 2px dashed var(--line); }
.grid-y span { position: absolute; left: 0; top: -12px; transform: translateY(-50%); font-family: var(--f-mono); font-size: 15px; color: var(--txt-3); }
.bars { position: absolute; left: 70px; right: 0; top: 0; bottom: 0; display: flex; align-items: flex-end; gap: 22px; }
.bar { flex: 1; position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; cursor: default; }
.bar i { display: block; width: 100%; border-radius: 14px 14px 4px 4px; background: var(--inv); transition: opacity .2s var(--ease); }
.bar.part i { background: repeating-linear-gradient(135deg, var(--inv) 0 6px, transparent 6px 12px); box-shadow: inset 0 0 0 2px var(--inv); }
.bar:hover i { opacity: .82; }
.bar .v { position: absolute; font-family: var(--f-display); font-weight: 800; font-size: 22px; white-space: nowrap; transform: translateY(-12px); }
.bar .x { position: absolute; bottom: -54px; font-family: var(--f-mono); font-size: 14px; color: var(--txt-2); white-space: nowrap; text-align: center; line-height: 1.35; }
.hbar { display: grid; grid-template-columns: 210px 1fr 150px; align-items: center; gap: 20px; font-size: 21px; }
.hbar .t { height: 26px; border-radius: 13px; box-shadow: var(--sunk-sm); padding: 4px; }
.hbar .t i { display: block; height: 100%; border-radius: 10px; background: var(--inv); min-width: 6px; }
.hbar b { text-align: right; font-family: var(--f-display); font-weight: 800; font-variant-numeric: tabular-nums; }
.hbar span.n { font-weight: 650; }
#tip { position: fixed; z-index: 200; pointer-events: none; padding: 12px 16px; border-radius: 14px; background: var(--inv); color: var(--inv-txt); font: 600 14px/1.45 var(--f-body); box-shadow: 0 14px 30px -14px rgba(0,0,0,.6); opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s; white-space: pre; }
#tip.on { opacity: 1; transform: none; }

/* Jadval */
.tbl { width: 100%; border-collapse: collapse; font-size: 21px; }
.tbl th { text-align: left; font-family: var(--f-mono); font-weight: 500; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--txt-2); padding: 0 14px 14px; }
.tbl td { padding: 15px 14px; border-top: 2px solid var(--line); }
.tbl td:first-child { font-weight: 700; }
.tbl .me { font-weight: 800; }
.tbl th.me { color: var(--txt); }

/* ── Deck navigatsiyasi ────────────────────────────────────── */
@media screen {
  html, body { height: 100%; overflow: hidden; }
  .slide { position: absolute; left: 50%; top: 50%; margin: 0;
    transform: translate(-50%, -50%) scale(var(--s, 1)) translateX(var(--dx, 0px));
    opacity: 0; visibility: hidden; pointer-events: none;
    box-shadow: 0 30px 80px rgba(0,0,0,.28);
    transition: opacity .38s ease, transform .45s cubic-bezier(.22,.61,.36,1), visibility .45s; }
  .slide.is-on { opacity: 1; visibility: visible; pointer-events: auto; }
  .deck-ui { position: fixed; z-index: 99; font-family: var(--f-body); }
  .deck-bar { left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px;
    padding: 8px 10px; border-radius: 999px; background: var(--bg); box-shadow: 0 12px 30px rgba(0,0,0,.22);
    opacity: .5; transition: opacity .25s; }
  .deck-bar:hover, .deck-bar:focus-within { opacity: 1; }
  body.idle .deck-bar:not(:hover):not(:focus-within) { opacity: 0; pointer-events: none; }
  body.idle { cursor: none; }
  .deck-nav { width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer; background: var(--bg); color: var(--txt);
    box-shadow: 3px 3px 7px var(--sh-d), -3px -3px 7px var(--sh-l); display: grid; place-items: center; transition: box-shadow .2s, transform .2s; }
  .deck-nav .ic { width: 18px; height: 18px; }
  .deck-nav:hover:not(:disabled) { background: var(--inv); color: var(--inv-txt); box-shadow: none; }
  .deck-nav:active:not(:disabled) { transform: scale(.93); }
  .deck-nav:disabled { opacity: .3; cursor: default; }
  .deck-dots { display: flex; align-items: center; gap: 7px; padding: 0 4px; }
  .deck-dot { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: var(--txt-3); opacity: .5; transition: width .25s, background .25s, opacity .25s; }
  .deck-dot.is-on { width: 26px; border-radius: 999px; background: var(--txt); opacity: 1; }
  .deck-num { font-weight: 800; font-size: 14px; color: var(--txt-2); min-width: 50px; text-align: center; font-variant-numeric: tabular-nums; }
  .deck-sep { width: 1px; height: 22px; background: var(--line); }
  .theme-btn { position: relative; overflow: hidden; }
  .theme-btn .ic { position: absolute; transition: transform .45s var(--spring), opacity .3s; }
  .theme-btn .i-moon { transform: translateY(130%); opacity: 0; }
  :root[data-theme="dark"] .theme-btn .i-sun { transform: translateY(-130%); opacity: 0; }
  :root[data-theme="dark"] .theme-btn .i-moon { transform: none; opacity: 1; }
}
@media print { .deck-ui, #tip { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .slide { transition: none !important; } }
