/* ==========================================================================
   VaytFit — ommaviy sayt (landing)
   --------------------------------------------------------------------------
   Freymvorksiz, maqsadli yozilgan CSS. Bootstrap/DashLite ATAYLAB ulanmagan:
   admin panel ularga bog'langan va u yerdagi vendor to'qnashuvlari
   (CLAUDE.md → "DashLite ↔ Bootstrap 5") bu yerga o'tmasligi kerak.

   PALITRA MANBAI — BREND LOGOTIPI (wwwroot/admin/img/vaytfit-logo.svg):
   rose gradient #9F1239 → #BE123C → #E11D48 → #FB7185.
   Ilgari bu yerda ilovadagi somon rang (#F06B6B) ishlatilgan edi — u
   logotipdan farq qilar, butun sayt bitta xira rangga bo'yalib qolardi.

   Monotonlikni buzish uchun IKKILAMCHI aksentlar bor (violet, cyan,
   emerald, amber, pink). Ular faqat kichik yuzalarda — ikonka plitkasi,
   nishon, raqam — ishlatiladi; asosiy amal va urg'u hamisha brend rangida.
   ========================================================================== */

/* ── 1. TOKENLAR ─────────────────────────────────────────────────────────── */
:root {
    /* Sirtlar — sof kulrang emas, binafsha tomon sal og'ishgan:
       qora fon "o'lik" ko'rinmasligi uchun. */
    --bg:            #08070e;
    --bg-soft:       #0d0c16;
    --surface:       #15141f;
    --surface-2:     #1c1b29;
    --surface-3:     #242234;
    --line:          #2b2940;
    --line-soft:     #211f33;

    /* Matn — kontrast WCAG AA dan past tushmaydi.
       Ilgari --muted #a3a7b3 va --dim #6d7180 edi; #6d7180 qora fonda
       atigi ~4.3:1 bergani uchun izoh matnlari o'qilmasdi. */
    --text:          #f8f8fc;   /* ~18:1 */
    --muted:         #c2c6d6;   /* ~11:1 */
    --dim:           #9a9fb5;   /* ~7:1  */

    /* Brend — logotipdan */
    --brand:         #e11d48;
    --brand-hi:      #fb7185;
    --brand-mid:     #be123c;
    --brand-lo:      #9f1239;
    --brand-text:    #ff8da1;   /* to'q fonda O'QILADIGAN brend rangi */
    --brand-tint:    rgba(225, 29, 72, .16);
    --brand-line:    rgba(251, 113, 133, .34);
    --brand-grad:    linear-gradient(135deg, #fb7185 0%, #e11d48 55%, #9f1239 100%);

    /* Ikkilamchi aksentlar */
    --violet:        #a78bfa;
    --indigo:        #818cf8;
    --cyan:          #22d3ee;
    --emerald:       #34d399;
    --amber:         #fbbf24;
    --pink:          #f472b6;
    --ok:            #34d399;

    /* Tipografika */
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
            "Helvetica Neue", Arial, sans-serif;

    /* Ritm — konteyner kengaytirildi (1180 → 1440): oldingi kenglikda
       kartalar siqilib, sahifa kichik ekranda yasalgandek ko'rinardi. */
    --gutter:        24px;
    --container:     1440px;
    --radius-sm:     12px;
    --radius:        18px;
    --radius-lg:     26px;
    --radius-xl:     34px;

    --shadow:        0 18px 40px -18px rgba(0,0,0,.85);
    --shadow-lg:     0 44px 100px -34px rgba(0,0,0,.95);

    --ease:          cubic-bezier(.22, .61, .36, 1);
}

/* ── 2. RESET ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { margin: 0; line-height: 1.14; letter-spacing: -.022em; font-weight: 700; }
p  { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

button, input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--brand); color: #fff; }

:focus-visible {
    outline: 2px solid var(--brand-hi);
    outline-offset: 3px;
    border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }
}

/* ── 3. TIPOGRAFIK SHKALA ────────────────────────────────────────────────── */
.h-hero    { font-size: clamp(2.6rem, 5.4vw, 4.8rem); letter-spacing: -.035em; }
.h-section { font-size: clamp(2rem, 3.4vw, 3.1rem);   letter-spacing: -.03em; }
.h-sub     { font-size: clamp(1.55rem, 2.4vw, 2.2rem); letter-spacing: -.028em; }
.h-card    { font-size: 1.26rem; }

.lead {
    font-size: clamp(1.06rem, 1.35vw, 1.24rem);
    color: var(--muted);
    line-height: 1.72;
}

.eyebrow {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--brand-text);
}

.muted { color: var(--muted); }
.dim   { color: var(--dim); }

/* Gradientli urg'u — brend gradientining o'zi */
.grad {
    background: linear-gradient(115deg, #fb7185 0%, #e11d48 60%, #be123c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
/* Ikkinchi, jonliroq gradient — raqamlar va statistikalar uchun */
.grad-2 {
    background: linear-gradient(115deg, #fb7185 0%, #f472b6 45%, #a78bfa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ── 4. LAYOUT ───────────────────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section        { padding-block: clamp(76px, 8vw, 140px); }
.section--tight { padding-block: clamp(54px, 5.5vw, 90px); }

/* Ikkinchi darajali fon — tekis emas, nozik rangli mesh */
.section--alt {
    position: relative;
    background:
        radial-gradient(900px 480px at 12% 0%,  rgba(167,139,250,.07), transparent 62%),
        radial-gradient(760px 420px at 92% 100%, rgba(225,29,72,.08),  transparent 60%),
        var(--bg-soft);
}

.section-head { max-width: 700px; margin-bottom: clamp(40px, 4.5vw, 66px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .h-section { margin-block: 16px 18px; }

.rule {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line), transparent);
    border: 0;
    margin: 0;
}

/* ── 5. TUGMALAR ─────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 28px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: transform .18s var(--ease), background .18s var(--ease),
                border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .ico   { width: 19px; height: 19px; }

.btn--primary {
    background: var(--brand-grad);
    color: #fff;
    box-shadow: 0 12px 34px -12px rgba(225,29,72,.85);
}
.btn--primary:hover { box-shadow: 0 20px 44px -12px rgba(225,29,72,1); }

.btn--ghost {
    background: rgba(255,255,255,.05);
    border-color: var(--line);
    color: var(--text);
}
.btn--ghost:hover { background: rgba(255,255,255,.09); border-color: #3b3956; }

.btn--sm { min-height: 44px; padding: 0 20px; font-size: .93rem; }

/* ── 6. SARLAVHA (nav) ───────────────────────────────────────────────────── */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8,7,14,.74);
    backdrop-filter: saturate(160%) blur(16px);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s var(--ease), background .25s var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--line-soft); background: rgba(8,7,14,.93); }

.nav__bar { display: flex; align-items: center; gap: 16px; height: 76px; }

.nav__logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.nav__logo img { width: 38px; height: 29px; object-fit: contain; }
.nav__logo span { font-weight: 700; font-size: 1.3rem; letter-spacing: -.03em; }

.nav__links { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.nav__links a {
    padding: 10px 16px;
    border-radius: 999px;
    font-size: .97rem;
    color: var(--muted);
    transition: color .18s var(--ease), background .18s var(--ease);
}
.nav__links a:hover         { color: var(--text); background: rgba(255,255,255,.06); }
.nav__links a[aria-current] { color: var(--text); background: rgba(255,255,255,.09); }

.nav__side { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Til almashtirgich */
.lang { position: relative; }
.lang__btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 44px;
    padding-inline: 15px;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: .92rem;
    font-weight: 600;
    cursor: pointer;
    transition: color .18s var(--ease), border-color .18s var(--ease);
}
.lang__btn:hover { color: var(--text); border-color: #3b3956; }
.lang__btn .ico  { width: 17px; height: 17px; }

.lang__menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 186px;
    padding: 6px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    opacity: 0; visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; }

.lang__menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 13px;
    border-radius: 11px;
    font-size: .96rem;
    color: var(--muted);
}
.lang__menu a:hover              { background: rgba(255,255,255,.06); color: var(--text); }
.lang__menu a[aria-current]      { color: var(--brand-text); }
.lang__menu a[aria-current]::after { content: "✓"; font-weight: 700; }

.nav__burger {
    display: none;
    width: 44px; height: 44px;
    align-items: center; justify-content: center;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--line);
    border-radius: 13px;
    cursor: pointer;
}
.nav__burger .ico { width: 21px; height: 21px; color: var(--text); }

/* ── 7. HERO ─────────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    padding-block: clamp(48px, 6vw, 104px) clamp(66px, 8vw, 124px);
    overflow: hidden;
}

/* Rangli mesh — bitta qizil dog' emas, uchta rangdan iborat yorug'lik */
.hero::before {
    content: "";
    position: absolute;
    inset: -40% -20% auto -20%;
    height: 150%;
    background:
        radial-gradient(640px 520px at 72% 22%, rgba(225,29,72,.30),  transparent 62%),
        radial-gradient(560px 460px at 22% 12%, rgba(167,139,250,.20), transparent 64%),
        radial-gradient(520px 420px at 52% 72%, rgba(34,211,238,.10),  transparent 66%);
    pointer-events: none;
}

.hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    gap: clamp(36px, 4vw, 76px);
    align-items: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 36px;
    padding: 6px 17px 6px 14px;
    background: var(--brand-tint);
    border: 1px solid var(--brand-line);
    border-radius: 999px;
    font-size: .87rem;
    font-weight: 600;
    color: var(--brand-text);
}
.hero__badge .ico { width: 16px; height: 16px; }

.hero h1 { margin-block: 24px 22px; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.hero__note { margin-top: 18px; font-size: .92rem; color: var(--dim); }

.trust {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 40px;
    margin-top: 44px;
    padding-top: 30px;
    border-top: 1px solid var(--line-soft);
}
.trust__num { font-size: 1.7rem; font-weight: 800; letter-spacing: -.035em; }
.trust__lbl { font-size: .86rem; color: var(--dim); }

/* ── 8. QURILMA MAKETI ───────────────────────────────────────────────────── */
.device {
    position: relative;
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1080 / 2400;
    margin-inline: auto;
    padding: 9px;
    background: linear-gradient(160deg, #35334a 0%, #12111c 42%, #2a2840 100%);
    border-radius: 44px;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.07) inset;
}
.device::after {
    content: "";
    position: absolute;
    right: -2px; top: 26%;
    width: 2px; height: 9%;
    background: #3b3956;
    border-radius: 2px;
}
.device__screen {
    position: relative;
    width: 100%; height: 100%;
    overflow: hidden;
    border-radius: 36px;
    background: #000;
}
.device__screen img { width: 100%; height: 100%; object-fit: cover; }
.device__cam {
    position: absolute;
    top: 11px; left: 50%;
    transform: translateX(-50%);
    width: 9px; height: 9px;
    background: #04040a;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(255,255,255,.08);
}

.device--lg { max-width: 340px; }

.device-stack {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
}
.device-stack__side { opacity: .9; }
.device-stack__side:first-child { transform: rotate(-9deg) translateX(4%)  scale(.86); z-index: 1; }
.device-stack__side:last-child  { transform: rotate(9deg)  translateX(-4%) scale(.86); z-index: 1; }
.device-stack__main { z-index: 2; }

.device-glow { position: relative; }
.device-glow::before {
    content: "";
    position: absolute;
    left: 50%; top: 50%;
    width: 82%; height: 66%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(225,29,72,.42), rgba(167,139,250,.14) 55%, transparent 72%);
    filter: blur(52px);
    pointer-events: none;
}

/* ── 9. KARTALAR ─────────────────────────────────────────────────────────── */
.card {
    position: relative;
    padding: 30px 28px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: border-color .22s var(--ease), transform .22s var(--ease),
                background .22s var(--ease);
}
.card:hover { border-color: #3a3856; background: var(--surface-2); transform: translateY(-4px); }
.card h3 { margin-bottom: 11px; }
.card p  { color: var(--muted); font-size: 1rem; }

/* Ikonka plitkasi — RANGI kartadan kartaga o'zgaradi (`--accent`),
   aks holda oltita bir xil qizil kvadrat qatori chiqardi. */
.card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px; height: 52px;
    margin-bottom: 20px;
    background: color-mix(in srgb, var(--accent, var(--brand)) 16%, transparent);
    border: 1px solid color-mix(in srgb, var(--accent, var(--brand)) 34%, transparent);
    border-radius: 16px;
    color: var(--accent, var(--brand-hi));
}
.card__icon .ico { width: 24px; height: 24px; }

.grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); }

/* Uchta ustun — OLTITA karta uchun (3+3). `auto-fit` da ular 4+2 bo'lib
   chiqar, qatorda ikkita bo'sh joy qolardi. */
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ── 10. MATN + MAKET BLOKI ──────────────────────────────────────────────── */
.split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: clamp(36px, 4.5vw, 84px);
    align-items: center;
}
.split--rev > :first-child { order: 2; }

.checklist { display: grid; gap: 15px; margin-top: 28px; }
.checklist li {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    color: var(--muted);
    font-size: 1.02rem;
}
.checklist strong { color: var(--text); }
.checklist .ico { flex-shrink: 0; width: 21px; height: 21px; margin-top: 3px; color: var(--brand-hi); }

/* ── 11. EKRAN KO'RGAZMASI ───────────────────────────────────────────────── */
.shots__tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    margin-bottom: 50px;
}
.shots__tab {
    min-height: 46px;
    padding: 0 20px;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all .2s var(--ease);
}
.shots__tab:hover { color: var(--text); border-color: #3b3956; }
.shots__tab[aria-selected="true"] {
    background: var(--brand-tint);
    border-color: var(--brand-line);
    color: var(--brand-text);
}

.shots__panel { display: none; }
.shots__panel.is-active { display: block; animation: fade .4s var(--ease); }

@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; } }

/* ── 12. STATISTIKA ──────────────────────────────────────────────────────── */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.stats__item { padding: 34px 26px; background: var(--surface); text-align: center; }
.stats__num  { font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 800; letter-spacing: -.035em; }
.stats__lbl  { margin-top: 8px; font-size: .92rem; color: var(--muted); }

/* ── 13. NARX KARTALARI ──────────────────────────────────────────────────── */
.plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(226px, 1fr));
    gap: 16px;
    align-items: stretch;
}
.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}
.plan--best {
    background: linear-gradient(180deg, rgba(225,29,72,.10), transparent 48%), var(--surface);
    border-color: var(--brand-line);
    box-shadow: 0 0 0 1px var(--brand-line), 0 28px 66px -34px rgba(225,29,72,.85);
}
.plan__tag {
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    padding: 5px 15px;
    background: var(--brand-grad);
    border-radius: 999px;
    font-size: .73rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #fff;
    white-space: nowrap;
}
.plan__name  { font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.plan__price { margin-top: 13px; font-size: clamp(1.6rem, 2vw, 2rem); font-weight: 800; letter-spacing: -.035em; }
.plan__per   { margin-top: 5px; font-size: .92rem; color: var(--dim); }
.plan__save  {
    align-self: flex-start;      /* flex-column da stretch bo'lib kartani kesardi */
    display: inline-block;
    margin-top: 13px;
    padding: 4px 12px;
    background: rgba(52,211,153,.15);
    border: 1px solid rgba(52,211,153,.3);
    border-radius: 999px;
    font-size: .83rem;
    font-weight: 700;
    color: var(--ok);
}
.plan__feats { margin-top: 24px; display: grid; gap: 11px; }
.plan__feats li { display: flex; gap: 11px; font-size: .96rem; color: var(--muted); }
.plan__feats .ico { flex-shrink: 0; width: 18px; height: 18px; margin-top: 4px; color: var(--brand-hi); }

/* ── 14. AKKORDEON ───────────────────────────────────────────────────────── */
.acc { display: grid; gap: 11px; max-width: 900px; margin-inline: auto; }
.acc__item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .2s var(--ease);
}
.acc__item.is-open { border-color: var(--brand-line); }
.acc__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    min-height: 62px;
    padding: 18px 24px;
    background: none;
    border: 0;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
}
.acc__btn .ico {
    flex-shrink: 0; width: 21px; height: 21px;
    color: var(--muted);
    transition: transform .25s var(--ease), color .2s var(--ease);
}
.acc__item.is-open .acc__btn .ico { transform: rotate(45deg); color: var(--brand-hi); }

.acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.acc__item.is-open .acc__body { grid-template-rows: 1fr; }
.acc__body > div { overflow: hidden; }
.acc__body p { padding: 0 24px 24px; color: var(--muted); font-size: 1.01rem; }

/* ── 15. YAKUNIY CHAQIRIQ ────────────────────────────────────────────────── */
.cta {
    position: relative;
    padding: clamp(44px, 5.5vw, 82px) clamp(26px, 4vw, 64px);
    background:
        radial-gradient(700px 420px at 20% 0%,  rgba(167,139,250,.16), transparent 60%),
        radial-gradient(700px 460px at 82% 100%, rgba(225,29,72,.20),  transparent 62%),
        var(--surface);
    border: 1px solid var(--brand-line);
    border-radius: var(--radius-xl);
    overflow: hidden;
    text-align: center;
}
.cta > * { position: relative; }
.cta .stores { justify-content: center; margin-top: 34px; }
.cta .store-wrap { align-items: center; }

/* ── 16. FOOTER ──────────────────────────────────────────────────────────── */
.footer {
    padding-block: clamp(54px, 5.5vw, 84px) 36px;
    border-top: 1px solid var(--line-soft);
    background: var(--bg-soft);
}
.footer__grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.5fr) repeat(auto-fit, minmax(160px, 1fr));
    gap: 44px 30px;
}
.footer__brand p { margin-top: 18px; max-width: 340px; font-size: .98rem; color: var(--muted); }
.footer h4 {
    margin-bottom: 18px;
    font-size: .79rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--dim);
}
.footer li + li { margin-top: 12px; }
.footer li a { font-size: .98rem; color: var(--muted); transition: color .18s var(--ease); }
.footer li a:hover { color: var(--brand-text); }

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 52px;
    padding-top: 28px;
    border-top: 1px solid var(--line-soft);
    font-size: .92rem;
    color: var(--dim);
}
.footer__langs { display: flex; gap: 7px; }
.footer__langs a {
    min-height: 36px;
    display: inline-flex; align-items: center;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: .86rem;
    color: var(--muted);
}
.footer__langs a:hover        { color: var(--text); border-color: #3b3956; }
.footer__langs a[aria-current] { border-color: var(--brand-line); color: var(--brand-text); }

/* ── 17. HUJJAT SAHIFALARI ───────────────────────────────────────────────── */
.doc { max-width: 820px; margin-inline: auto; }
.doc h2 { margin-top: 48px; margin-bottom: 16px; font-size: 1.38rem; }
.doc h2:first-of-type { margin-top: 0; }
.doc p, .doc li { color: var(--muted); font-size: 1.04rem; }
.doc p + p { margin-top: 15px; }
.doc ul { margin-top: 15px; display: grid; gap: 10px; }
.doc ul li { display: flex; gap: 12px; }
.doc ul li::before { content: "•"; color: var(--brand-hi); flex-shrink: 0; }
.doc a { color: var(--brand-text); text-decoration: underline; text-underline-offset: 3px; }

.doc__meta {
    display: inline-block;
    margin-bottom: 36px;
    padding: 7px 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: .88rem;
    color: var(--dim);
}

.note {
    display: flex;
    gap: 16px;
    padding: 22px 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 3px solid var(--brand);
    border-radius: var(--radius);
}
.note .ico { flex-shrink: 0; width: 23px; height: 23px; margin-top: 2px; color: var(--brand-hi); }
.note p { color: var(--muted); font-size: 1rem; }
.note strong { color: var(--text); }

.steps {
    counter-reset: s;
    display: grid;
    gap: 15px;
    margin-top: 28px;
    padding: 0;
    /* `ol` uchun brauzerning O'Z raqamlari o'chiriladi: aks holda "1." va
       halqa ichidagi raqam IKKALASI ham chiqardi. */
    list-style: none;
}
.steps li {
    counter-increment: s;
    position: relative;
    padding: 19px 24px 19px 66px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--muted);
    font-size: 1.02rem;
}
.steps li::before {
    content: counter(s);
    position: absolute;
    left: 22px; top: 18px;
    display: grid; place-items: center;
    width: 28px; height: 28px;
    background: var(--brand-tint);
    border: 1px solid var(--brand-line);
    border-radius: 50%;
    font-size: .84rem;
    font-weight: 700;
    color: var(--brand-text);
}
.steps li strong { color: var(--text); }

/* ── 18. ALOQA ───────────────────────────────────────────────────────────── */
.contact-card {
    display: flex;
    gap: 17px;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.contact-card:hover { border-color: var(--brand-line); transform: translateY(-4px); }
.contact-card__icon {
    flex-shrink: 0;
    display: grid; place-items: center;
    width: 50px; height: 50px;
    background: color-mix(in srgb, var(--accent, var(--brand)) 16%, transparent);
    border: 1px solid color-mix(in srgb, var(--accent, var(--brand)) 34%, transparent);
    border-radius: 15px;
    color: var(--accent, var(--brand-hi));
}
.contact-card__icon .ico { width: 22px; height: 22px; }
.contact-card h3 { font-size: 1.06rem; margin-bottom: 5px; }
.contact-card p  { font-size: .96rem; color: var(--muted); }
.contact-card b  { color: var(--text); font-weight: 600; }

/* ── 19. IKONKA ──────────────────────────────────────────────────────────── */
.ico {
    display: inline-block;
    width: 1em; height: 1em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: middle;
}

/* ── 20. SKROLL ANIMATSIYASI ─────────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ── 21. DO'KON TUGMALARI ────────────────────────────────────────────────── */
/* Nishon SVG rasm EMAS, komponent: matn lug'atdan keladi (sayt uch tilli).
   Rasm bo'lganda har til uchun alohida fayl kerak bo'lardi. */
.stores { display: flex; flex-wrap: wrap; gap: 13px; }
.store-wrap { display: flex; flex-direction: column; }

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    min-height: 60px;
    padding: 0 24px 0 19px;
    background: #12111c;
    border: 1px solid #3b3956;
    border-radius: 16px;
    transition: border-color .2s var(--ease), transform .2s var(--ease), background .2s var(--ease);
}
.store-btn:hover { transform: translateY(-2px); border-color: #55527a; background: #191827; }
.store-btn__glyph { flex-shrink: 0; width: 27px; height: 27px; }
.store-btn__txt   { display: grid; line-height: 1.25; text-align: left; }
.store-btn__top   { font-size: .7rem; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.store-btn__name  { font-size: 1.08rem; font-weight: 700; letter-spacing: -.02em; color: var(--text); }

.store-btn.is-soon { opacity: .55; cursor: not-allowed; pointer-events: none; }
.store-soon {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    font-size: .86rem;
    color: var(--dim);
}
.store-soon .ico { width: 15px; height: 15px; }

/* ── 22. MOBIL MENYUDAGI ASOSIY AMAL ─────────────────────────────────────── */
.nav__links-cta { display: none; }

/* ══════════════════════════════════════════════════════════════════════════
   23. MOSLASHUVCHANLIK
   ══════════════════════════════════════════════════════════════════════════ */

/* Planshet */
@media (max-width: 1080px) {
    .hero__grid { grid-template-columns: 1fr; gap: 44px; }
    /* Bitta ustunda MATN BIRINCHI: ilgari maket oldinga olingan edi va telefonda
       birinchi ekranni faqat rasm egallab, sarlavha ham, tugma ham ko'rinmasdi. */
    .hero__media { order: 0; }
    .device-stack__side { display: none; }
    /* Yon telefonlar yashirilganda grid hamon 3 ustunli qolardi — asosiy telefon
       ekranning CHAP uchdan biriga siqilib qolardi (jonli topilgan). */
    .device-stack { grid-template-columns: minmax(0, 1fr); }
    /* Hero ostidagi qisqa raqamlar keyingi "statistika" bo'limini aynan takrorlardi */
    .trust { display: none; }
    .split--rev > :first-child { order: 0; }
    .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Mobil menyu */
@media (max-width: 900px) {
    .nav__bar { height: 68px; }
    .nav__logo span { font-size: 1.2rem; }

    .nav__links {
        position: fixed;
        inset: 68px 0 auto;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        margin: 0;
        padding: 16px var(--gutter) calc(24px + env(safe-area-inset-bottom));
        /* TO'LIQ shaffofmas: yarim shaffof fon ostidan hero kontenti
           ko'rinib turardi va menyuni o'qish qiyin edi. */
        background: #0b0a14;
        border-bottom: 1px solid var(--line);
        transform: translateY(-14px);
        opacity: 0; visibility: hidden;
        transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
        max-height: calc(100dvh - 68px);
        overflow-y: auto;
    }
    .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; }
    .nav__links a { min-height: 52px; display: flex; align-items: center; padding: 0 16px; font-size: 1.05rem; }

    .nav__burger { display: inline-flex; }
    .nav__side .btn--primary { display: none; }

    .nav__links-cta {
        display: flex !important;
        justify-content: center;
        margin-top: 14px;
        min-height: 54px;
        background: var(--brand-grad);
        border-radius: 15px;
        color: #fff !important;
        font-weight: 700;
    }
}

/* Telefon */
@media (max-width: 680px) {
    :root { --gutter: 18px; }

    body { font-size: 16px; }

    .h-hero    { font-size: clamp(2.15rem, 9.2vw, 2.9rem); }
    .h-section { font-size: clamp(1.65rem, 7vw, 2.1rem); }
    .h-sub     { font-size: clamp(1.35rem, 6vw, 1.7rem); }
    .lead      { font-size: 1.02rem; }

    .section        { padding-block: 62px; }
    .section--tight { padding-block: 46px; }
    .section-head   { margin-bottom: 34px; }

    /* Asosiy amal tugmalari to'liq kenglikda — barmoq bilan tegish oson */
    .hero__cta { flex-direction: column; align-items: stretch; gap: 11px; }
    .hero__cta .btn { width: 100%; }

    .trust { gap: 18px 28px; margin-top: 34px; padding-top: 24px; }
    .trust > div { min-width: 40%; }
    .trust__num { font-size: 1.42rem; }

    /* Statistika — ikki ustun, bitta ustunda cho'zilib ketmasin */
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stats__item { padding: 24px 14px; }
    .stats__num  { font-size: 1.75rem; }
    .stats__lbl  { font-size: .84rem; }

    .card { padding: 24px 20px; }
    .grid, .grid--2, .grid--3 { grid-template-columns: 1fr; gap: 14px; }
    .split { grid-template-columns: 1fr; gap: 36px; }

    /* Tablar o'ralmaydi — yon tomonga aylantiriladi (qatorlar sakramasin) */
    .shots__tabs {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none;
        margin-inline: calc(var(--gutter) * -1);
        padding-inline: var(--gutter);
        margin-bottom: 34px;
        scroll-snap-type: x proximity;
        /* Snap chekkani HISOBGA OLADI: usiz aktiv tab yotoq chetiga yopishib,
           chap gutter yeyilib ketardi (jonli tekshirilgan). */
        scroll-padding-inline: var(--gutter);
    }
    .shots__tabs::-webkit-scrollbar { display: none; }
    .shots__tab { scroll-snap-align: start; }

    .device, .device--lg { max-width: 268px; }

    .plans { grid-template-columns: 1fr; gap: 14px; }
    .plan  { padding: 24px 20px; }
    .plan--best { margin-top: 14px; }   /* "eng foydali" nishoni kesilmasin */

    .acc__btn { padding: 16px 18px; font-size: 1rem; }
    .acc__body p { padding: 0 18px 18px; }

    .cta { border-radius: var(--radius-lg); }
    .stores { flex-direction: column; align-items: stretch; width: 100%; }
    .store-btn { justify-content: center; }
    .cta .store-wrap { width: 100%; }

    .doc h2 { margin-top: 36px; font-size: 1.22rem; }
    .steps li { padding: 16px 18px 16px 58px; }
    .steps li::before { left: 18px; top: 16px; }

    .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
    .footer__brand { grid-column: 1 / -1; }
    .footer__bottom { margin-top: 36px; flex-direction: column; align-items: flex-start; }
}

/* Juda tor ekranlar */
@media (max-width: 380px) {
    .footer__grid { grid-template-columns: 1fr; }
    .trust > div { min-width: 100%; }
}

/* Kesikli (notch) qurilmalar — kontent chekkaga yopishmasin */
@supports (padding: max(0px)) {
    .container {
        padding-left:  max(var(--gutter), env(safe-area-inset-left));
        padding-right: max(var(--gutter), env(safe-area-inset-right));
    }
}

/* Chop etish */
@media print {
    .nav, .footer, .stores, .cta, .device { display: none !important; }
    body { background: #fff; color: #000; }
    .doc p, .doc li { color: #222; }
}
