/* PlayPOS landing — Playfood brend ranglari (brand-book/03-color) asosida */
:root {
  --brand: #6c5ce7;
  --brand-2: #8e44ad;
  --brand-ink: #5a4bd1;
  --ok: #00b894;
  --cash: #2fb344;
  --card-pay: #e58a2b;
  --mix: #1673c4;
  --bg: #f5f6fa;
  --surface: #ffffff;
  --surface-2: #eef0f7;
  --ink: #1a1a2e;
  --ink-2: #4b5563;
  --line: #e3e5ee;
  --paper: #fffdf7;
  --paper-ink: #22222f;
  --shadow: 0 1px 2px rgb(26 26 46 / .06), 0 12px 32px -12px rgb(26 26 46 / .18);
  --radius: 16px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #12121f;
    --surface: #1c1c2e;
    --surface-2: #24243a;
    --ink: #f3f3f8;
    --ink-2: #a9adc1;
    --line: #2f2f48;
    --brand-ink: #a99ff5;
    --paper: #f2efe6;
    --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 16px 40px -16px rgb(0 0 0 / .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #12121f;
  --surface: #1c1c2e;
  --surface-2: #24243a;
  --ink: #f3f3f8;
  --ink-2: #a9adc1;
  --line: #2f2f48;
  --brand-ink: #a99ff5;
  --paper: #f2efe6;
  --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 16px 40px -16px rgb(0 0 0 / .7);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "cv11", "ss01";
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.25rem, 5.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.08rem; font-weight: 700; }
p { margin: 0; }
.muted { color: var(--ink-2); }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 12px;
  font-weight: 700; text-decoration: none; border: 1.5px solid transparent;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:active { transform: scale(.98); }
.btn--primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.btn--primary:hover { filter: brightness(1.06); }
.btn--ghost { border-color: var(--line); background: var(--surface); }
.btn--ghost:hover { border-color: var(--brand); }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: .92rem; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer;
}

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top__row { display: flex; align-items: center; gap: 24px; min-height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.logo b { color: var(--brand-ink); }
.nav { display: flex; gap: 22px; margin-right: auto; }
.nav a { text-decoration: none; color: var(--ink-2); font-weight: 500; }
.nav a:hover { color: var(--ink); }
.top__tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
.lang button { border: 0; background: none; color: var(--ink-2); font: 600 .82rem Inter, sans-serif; padding: 0 10px; height: 38px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.show-sm { display: none; }

/* Hero */
.hero { padding: 64px 0 72px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.eyebrow { color: var(--brand-ink); font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.lead { font-size: 1.15rem; color: var(--ink-2); margin-top: 20px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.facts { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 28px; }
.facts li { display: grid; }
.facts b { font-size: 1.4rem; font-weight: 800; }
.facts span { color: var(--ink-2); font-size: .92rem; }

/* POS maketi */
.mock {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow); font-size: 13px; transform: rotate(-1deg);
}
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 12px; }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock__bar span { margin-left: 8px; }
.mock__head { display: flex; gap: 12px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.mock__head b { display: block; font-size: 13px; }
.mock__head small { color: var(--ink-2); }
.mock__ad {
  flex: 1; text-align: center; padding: 8px; border-radius: 10px; font-weight: 600; font-size: 12px;
  background: repeating-linear-gradient(135deg, var(--surface-2) 0 10px, transparent 10px 20px); border: 1px dashed var(--line); color: var(--ink-2);
}
.mock__body { display: grid; grid-template-columns: 150px 1fr; min-height: 300px; }
.mock__side { display: grid; align-content: start; gap: 4px; padding: 12px 10px; border-right: 1px solid var(--line); }
.mock__side span { padding: 8px 10px; border-radius: 8px; color: var(--ink-2); font-weight: 500; }
.mock__side .mock__courier { margin-top: 8px; background: color-mix(in srgb, var(--mix) 14%, transparent); color: var(--mix); font-weight: 700; border: 1.5px solid var(--mix); }
.mock__cart { display: grid; grid-template-rows: auto 1fr auto auto; padding: 12px; gap: 10px; }
.mock__search { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock__cart ul { list-style: none; margin: 0; padding: 0; }
.mock__cart li { display: grid; grid-template-columns: 1fr auto 76px; gap: 10px; padding: 8px 4px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.mock__cart li em { font-style: normal; color: var(--ink-2); }
.mock__cart li b { text-align: right; }
.mock__cart li.scan { background: color-mix(in srgb, var(--brand) 9%, transparent); border-radius: 6px; animation: flash 2.6s ease-in-out infinite; }
.mock__total { display: flex; justify-content: space-between; align-items: baseline; font-variant-numeric: tabular-nums; }
.mock__total b { font-size: 22px; font-weight: 800; }
.mock__pay { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mock__pay span { color: #fff; font-weight: 700; text-align: center; padding: 10px 4px; border-radius: 8px; font-size: 12px; }
.mock__pay .cash { background: var(--cash); }
.mock__pay .card { background: var(--card-pay); }
.mock__pay .mix { background: var(--mix); }
.toast {
  position: absolute; left: -24px; bottom: -26px; display: flex; gap: 12px; align-items: center;
  background: var(--ink); color: var(--bg); padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow); transform: rotate(1deg);
}
.toast small { display: block; opacity: .75; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgb(0 184 148 / .6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgb(0 184 148 / 0); } 100% { box-shadow: 0 0 0 0 rgb(0 184 148 / 0); } }
@keyframes flash { 0%, 100% { background: color-mix(in srgb, var(--brand) 4%, transparent); } 50% { background: color-mix(in srgb, var(--brand) 16%, transparent); } }

/* Sections */
.sec { padding: 88px 0; }
.sec--tint { background: var(--surface-2); }
.sub { color: var(--ink-2); font-size: 1.08rem; margin-top: 12px; max-width: 40em; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { color: var(--ink-2); margin-top: 8px; }
.card--accent { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.ic { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand-ink); font-weight: 800; margin-bottom: 16px; }
.tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; background: var(--surface-2); color: var(--ink-2); padding: 3px 8px; border-radius: 999px; vertical-align: middle; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chips span { border: 1px solid var(--line); background: var(--surface); padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: .94rem; }

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li { display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.steps li > b { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--mix); color: #fff; }
.steps p { color: var(--ink-2); margin-top: 4px; }

/* Pricing: chek ko'rinishida */
.receipts { display: grid; grid-template-columns: repeat(2, minmax(0, 400px)); justify-content: center; gap: 32px; margin-top: 44px; align-items: start; }
.receipt {
  --tooth: 10px;
  position: relative; background: var(--paper); color: var(--paper-ink);
  font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 14px;
  padding: 28px 26px calc(26px + var(--tooth));
  box-shadow: var(--shadow);
  -webkit-mask: radial-gradient(var(--tooth) at 50% 100%, #0000 98%, #000) 50% / calc(var(--tooth) * 2) 100% repeat-x;
          mask: radial-gradient(var(--tooth) at 50% 100%, #0000 98%, #000) 50% / calc(var(--tooth) * 2) 100% repeat-x;
}
.receipt header { text-align: center; padding-bottom: 16px; border-bottom: 2px dashed #c9c5b8; }
.receipt header small { color: #6b6a63; }
.receipt h3 { font-family: Inter, sans-serif; font-size: 1.6rem; letter-spacing: .12em; margin: 6px 0 2px; }
.receipt .amount { font-size: 2rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.receipt .per { font-size: 1rem; }
.receipt ul { list-style: none; padding: 16px 0; margin: 0; border-bottom: 2px dashed #c9c5b8; }
.receipt li { display: flex; gap: 10px; padding: 5px 0; }
.receipt li::before { content: "+"; color: var(--brand-ink); font-weight: 700; }
.receipt li.muted { color: #6b6a63; }
.receipt li.muted::before { content: "·"; color: #6b6a63; }
.receipt footer { padding-top: 18px; font-family: Inter, sans-serif; }
.receipt .btn--ghost { background: transparent; border-color: #c9c5b8; color: var(--paper-ink); }
.receipt--pro { transform: translateY(-12px); }
.receipt--pro h3 { color: #5a4bd1; }
.periods { width: 100%; border-collapse: collapse; margin-top: 14px; font-variant-numeric: tabular-nums; }
.periods td { padding: 4px 0; }
.periods td:last-child { text-align: right; white-space: nowrap; padding-left: 6px; }
.periods tr td:first-child::after { content: " ........................................"; color: #b9b5a8; white-space: nowrap; }
.periods td:first-child { max-width: 0; overflow: hidden; white-space: nowrap; width: 100%; }
.extras { color: #6b6a63; font-size: 12px; margin-top: 10px; }

.biz { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.biz li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; font-weight: 600; }

.dl { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 40px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }

details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin-top: 10px; }
details:first-of-type { margin-top: 28px; }
summary { cursor: pointer; padding: 18px 20px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--brand-ink); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { padding: 0 20px 18px; color: var(--ink-2); }

.foot { padding: 40px 0; border-top: 1px solid var(--line); }
.foot__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.foot__row p { margin-top: 8px; }
.foot__contacts { display: grid; gap: 4px; }

/* Uskunalar sahifasi */
.nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.more { display: inline-block; margin-top: 12px; color: var(--brand-ink); font-weight: 600; text-decoration: none; }
.more:hover { text-decoration: underline; }
.btn--wa { background: #1faa59; color: #fff; }
.btn--wa:hover { background: #17964c; }
.eqhero { padding: 64px 0 56px; }
.eqhero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); max-width: 16em; }
.kits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; align-items: stretch; }
.kit { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; scroll-margin-top: 90px; }
.kit__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.kit__no { color: var(--brand-ink); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; }
.kit__head h3 { font-size: 1.6rem; margin: 2px 0 4px; }
.kit__head p { font-size: .95rem; max-width: 22em; }
.kit__shots { display: flex; }
.kit__shots img, .extra__pic { background: #fff; border: 1px solid var(--line); }
.kit__shots img { width: 56px; height: 56px; object-fit: contain; padding: 5px; border-radius: 12px; margin-left: -10px; }
.kit__shots img:first-child { margin-left: 0; }
.kit__items { list-style: none; margin: 20px 0 0; padding: 0; flex: 1; }
.kit__items li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-top: 1px dashed var(--line); }
.kit__items b { display: block; font-weight: 600; }
.kit__items small { color: var(--ink-2); }
.kit__price { font-family: "JetBrains Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink-2); }
.kit__foot { border-top: 2px solid var(--ink); margin-top: 4px; padding-top: 14px; display: grid; gap: 14px; }
.kit__total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.kit__total b { font-size: 1.7rem; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.price { display: inline-flex; align-items: baseline; flex-wrap: wrap; justify-content: flex-end; gap: 4px 10px; }
.price s { color: var(--ink-2); font-weight: 500; font-size: .95rem; font-variant-numeric: tabular-nums; }
.price__off { font-style: normal; font-size: .8rem; font-weight: 700; color: #fff; background: #e5484d; padding: 2px 8px; border-radius: 999px; align-self: center; }
.extra__price .price { justify-content: flex-start; }
.extra__price .price b { font-weight: 800; }
.eqnote { margin-top: 24px; color: var(--ink-2); font-size: .95rem; }
.extras-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.extra { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.extra__pic { border-radius: 12px; display: grid; place-items: center; padding: 12px; margin-bottom: 14px; min-height: 146px; }
.extra__pic img { width: 120px; height: 120px; object-fit: contain; }
.extra h3 { margin-top: 2px; }
.extra__price { font-size: 1.25rem; font-weight: 800; font-variant-numeric: tabular-nums; margin: 8px 0 14px; flex: 1; }

/* Download sahifasi */
.dlpage { min-height: 70vh; display: grid; place-items: center; padding: 64px 0; text-align: center; }
.dlpage .wrap { width: min(980px, 100% - 32px); }
.dlgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; text-align: left; }
.dlc { display: flex; flex-direction: column; }
.dlc h2 { font-size: 1.25rem; margin-top: 14px; }
.dlc__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--surface-2); color: var(--brand-ink); }
.dlc .dlc__ver { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.dlc .dlc__ver:empty { display: none; }
.dlc .dlc__notes { font-size: .92rem; white-space: pre-line; overflow-wrap: anywhere; }
.dlc__foot { margin-top: auto; padding-top: 20px; }
.dlc--soon .dlc__icon { color: var(--ink-2); }
.dlc--soon .btn { background: var(--surface-2); color: var(--ink-2); cursor: default; filter: none; }
.dlc--soon .btn:active { transform: none; }
.dlsteps { max-width: 640px; margin: 16px auto 0; text-align: left; }
.dlsteps h2 { font-size: 1.1rem; }
.dlpage ol { text-align: left; color: var(--ink-2); padding-left: 20px; margin: 12px 0 0; }
.dlpage ol li { margin: 6px 0; }

@media (max-width: 980px) {
  .hero__grid, .split { grid-template-columns: 1fr; gap: 48px; }
  .grid3 { grid-template-columns: repeat(2, 1fr); }
  .biz { grid-template-columns: repeat(3, 1fr); }
  .extras-grid { grid-template-columns: repeat(2, 1fr); }
  .mock { transform: none; }
  .toast { left: 12px; }
}
@media (max-width: 760px) {
  .nav {
    display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .show-sm { display: grid; }
  .hide-sm { display: none; }
  .top__row { gap: 8px; }
  .hero { padding: 40px 0 64px; }
  .grid3, .receipts, .kits, .dlgrid { grid-template-columns: 1fr; }
  .kit { padding: 18px; }
  .eqhero { padding: 40px 0; }
  .receipt--pro { transform: none; }
  .biz { grid-template-columns: repeat(2, 1fr); }
  .mock__body { grid-template-columns: 1fr; }
  .mock__side { grid-auto-flow: column; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .mock__side span { white-space: nowrap; }
  .mock__side .mock__courier { margin-top: 0; }
  .mock__ad { display: none; }
  .mock { margin-bottom: 44px; }
  .toast { bottom: -52px; left: 12px; right: 12px; transform: none; }
  .mock__cart li { grid-template-columns: 1fr auto 64px; }
  .sec { padding: 64px 0; }
  .dl { padding: 24px; }
  .facts { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
