/* Mis olamiz — Apple uslubidagi dizayn */
:root {
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --gray: #f5f5f7;
  --gray-2: #e8e8ed;
  --line: #d2d2d7;
  --blue: #0071e3;
  --blue-hi: #0077ed;
  --link: #0066cc;
  --link-dark: #2997ff;
  --tg: #2aabee;
  --cu-1: #f6b27a;
  --cu-2: #d0692a;

  --r-xl: 28px;
  --r-lg: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 60px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;          /* 17px */
  line-height: 1.47;
  letter-spacing: -.011em;
  color: var(--ink);
  background: #000;              /* shapka ostida qora fon ko‘rinsin */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
}
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(980px, 100% - 44px); margin-inline: auto; }
.wide { width: min(1240px, 100% - 44px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 44px); }
.ic { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Buttons ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  min-height: 48px; padding: 12px 24px;
  border-radius: 980px;
  background: var(--blue); color: #fff;
  font-size: 1.0625rem; font-weight: 500; letter-spacing: -.01em;
  text-decoration: none; white-space: nowrap;
  transition: background-color .2s ease, transform .1s ease-out;
  -webkit-tap-highlight-color: transparent;
}
.pill:hover { background: var(--blue-hi); }
.pill:active { transform: scale(.97); }
.pill-ghost { background: transparent; color: var(--link-dark); box-shadow: inset 0 0 0 1.5px currentColor; }
.pill-ghost:hover { background: rgba(41, 151, 255, .1); }
.pill-soft { background: rgba(0, 0, 0, .06); color: var(--ink); }
.pill-soft:hover { background: rgba(0, 0, 0, .1); }
.pill-soft .ic { color: var(--tg); }

.more { color: var(--link); font-size: 1.0625rem; text-decoration: none; }
.more::after { content: " ›"; }
a.more:hover, .ptile:hover .more { text-decoration: underline; }
.more-light { color: #fff; opacity: .92; }

/* ---------- Nav (translucent material) ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: 52px;
  background: rgba(22, 22, 23, .78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  color: #f5f5f7;
}
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.brand { font-size: 1.1875rem; font-weight: 600; letter-spacing: -.02em; text-decoration: none; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: .8125rem; letter-spacing: -.005em; text-decoration: none; opacity: .8; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-cta {
  padding: 6px 14px; border-radius: 980px;
  background: var(--blue); color: #fff;
  font-size: .8125rem; font-weight: 500; text-decoration: none;
  transition: transform .1s ease-out, background-color .2s;
}
.nav-cta:hover { background: var(--blue-hi); }
.nav-cta:active { transform: scale(.96); }

/* ---------- Hero ---------- */
.hero { background: #000; color: #f5f5f7; text-align: center; padding-top: 72px; overflow: hidden; }
.eyebrow {
  font-size: clamp(1.0625rem, 2vw, 1.3125rem); font-weight: 600; letter-spacing: -.01em;
  background: linear-gradient(90deg, var(--cu-1), var(--cu-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 {
  margin-top: 6px;
  font-size: clamp(3.5rem, 11vw, 7.5rem);
  font-weight: 700; line-height: 1; letter-spacing: -.035em;
}
.hero-sub {
  max-width: 700px; margin: 20px auto 0;
  font-size: clamp(1.1875rem, 2.4vw, 1.625rem);
  line-height: 1.3; letter-spacing: -.017em; font-weight: 500;
  color: #a1a1a6;
}
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }

.hero-media { position: relative; margin-top: 40px; }
.hero-media img {
  width: 100%; height: clamp(340px, 52vw, 700px);
  object-fit: cover; object-position: 55% 50%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 78%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 78%, transparent 100%);
}
.glass {
  position: absolute; left: 50%; bottom: 9%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 980px;
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 30px rgba(0, 0, 0, .35);
  color: #fff; font-size: .9375rem; font-weight: 600; letter-spacing: 0;
  text-decoration: none; white-space: nowrap;
  font-variant-numeric: tabular-nums;
  transition: transform .1s ease-out, background-color .2s;
}
.glass:hover { background: rgba(255, 255, 255, .2); }
.glass:active { transform: translateX(-50%) scale(.97); }
.live { width: 8px; height: 8px; border-radius: 50%; background: #30d158; box-shadow: 0 0 0 4px rgba(48, 209, 88, .22); }

/* ---------- Sections ---------- */
.sec { padding: 128px 0; }
.sec-white { background: #fff; }
.sec-gray { background: var(--gray); }
.sec-black { background: #000; color: #f5f5f7; }
.head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.sec h2 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700; line-height: 1.06; letter-spacing: -.03em;
}
.lede {
  margin-top: 16px;
  font-size: clamp(1.1875rem, 2.2vw, 1.5rem);
  line-height: 1.33; letter-spacing: -.015em; font-weight: 500;
  color: var(--ink-2);
}
.sec-black .lede { color: var(--ink-3); }

/* ---------- Phone tiles ---------- */
.phones { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ptile {
  display: flex; flex-direction: column; gap: 10px;
  padding: 30px 32px 30px;
  border-radius: var(--r-xl);
  background: var(--gray);
  text-decoration: none; color: inherit;
  transition: background-color .25s ease, transform .1s ease-out;
  -webkit-tap-highlight-color: transparent;
}
.ptile:hover { background: var(--gray-2); }
.ptile:active { transform: scale(.985); }
.ptile-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.ptile-label { font-size: .9375rem; font-weight: 600; color: var(--ink-2); letter-spacing: -.005em; }
.round {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue); color: #fff;
}
.round .ic { width: 20px; height: 20px; }
.round-tg { background: var(--tg); }
.ptile-num {
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  font-weight: 700; letter-spacing: -.03em; line-height: 1.1;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.ptile-tg { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 18px; padding: 22px 32px; }
.ptile-tg-text { display: flex; flex-direction: column; line-height: 1.3; }
.ptile-tg-text b { font-size: 1.3125rem; font-weight: 700; letter-spacing: -.02em; }
.ptile-tg-text span { color: var(--ink-2); font-size: 1rem; }
.ptile-tg .more { margin-left: auto; white-space: nowrap; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 460px;
  border-radius: var(--r-xl);
  background: #111; color: #fff;
}
.tile img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .18) 42%, rgba(0, 0, 0, 0) 60%);
}
.tile:hover img { transform: scale(1.035); }
.tile-text { padding: 36px 36px 0; max-width: 520px; }
.tile h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.08; letter-spacing: -.03em; }
.tile p { margin-top: 10px; font-size: 1.0625rem; line-height: 1.4; color: rgba(255, 255, 255, .86); font-weight: 500; }
.tile .more { display: inline-block; margin-top: 14px; }
.t-mis { grid-column: span 4; min-height: 600px; }
.t-kabel { grid-column: span 2; min-height: 600px; }
.t-third { grid-column: span 2; }
.t-kabel::before { background: linear-gradient(180deg, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, .45) 38%, rgba(0, 0, 0, 0) 65%); }
.t-wide { grid-column: span 6; min-height: 440px; justify-content: center; }
.t-wide::before { background: linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .35) 45%, rgba(0, 0, 0, 0) 70%); }
.t-wide .tile-text { padding: 0 56px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.stat { border-top: 1px solid #333336; padding-top: 28px; }
.stat-big {
  display: block;
  font-size: clamp(3.25rem, 6vw, 4.5rem);
  font-weight: 700; line-height: 1; letter-spacing: -.04em;
  background: linear-gradient(180deg, var(--cu-1), var(--cu-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .06em;
}
.stat p { margin-top: 16px; font-size: 1.0625rem; color: var(--ink-3); font-weight: 500; max-width: 26ch; }
.stat b { color: #f5f5f7; font-weight: 600; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.steps li { border-top: 1px solid var(--line); padding-top: 28px; }
.step-n {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: #fff;
  font-size: 1.0625rem; font-weight: 600;
}
.steps h3 { margin-top: 22px; font-size: 1.5rem; font-weight: 700; letter-spacing: -.022em; line-height: 1.15; }
.steps p { margin-top: 10px; color: var(--ink-2); font-weight: 500; }

/* ---------- Mis sotish ---------- */
.sell { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sell-card { padding: 32px; border-radius: var(--r-xl); background: var(--gray); }
.sell-label { font-size: .9375rem; font-weight: 600; color: var(--ink-2); letter-spacing: -.005em; }
.sell-card h3 { margin-top: 14px; font-size: 1.5rem; font-weight: 700; letter-spacing: -.022em; line-height: 1.15; }
.sell-card p { margin-top: 10px; color: var(--ink-2); font-weight: 500; }
.sell + .cta { margin-top: 44px; }

/* ---------- Area ---------- */
.area { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.area h2 { font-size: clamp(2.25rem, 4.6vw, 3.25rem); }
.districts { margin-top: 28px; font-size: 1.0625rem; line-height: 1.9; color: var(--ink); font-weight: 500; }
.map {
  aspect-ratio: 1 / 1; overflow: hidden;
  border-radius: var(--r-xl); background: var(--gray-2);
}
.map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0;
  font-size: clamp(1.1875rem, 2vw, 1.375rem); font-weight: 600; letter-spacing: -.018em;
  cursor: pointer; list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.faq summary::-webkit-details-marker { display: none; }
.plus { position: relative; width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.plus::before, .plus::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 16px; height: 2px; margin: -1px 0 0 -8px; border-radius: 2px;
  background: var(--ink-2);
}
.plus::after { transform: rotate(90deg); }
.faq details[open] .plus { transform: rotate(45deg); }
.faq details p { padding: 0 40px 28px 0; color: var(--ink-2); font-size: 1.0625rem; font-weight: 500; max-width: 62ch; }
.faq details p a { color: var(--link); text-decoration: none; }

/* ---------- Final CTA ---------- */
.final { text-align: center; }
.final h2 { font-size: clamp(2.75rem, 8vw, 5.5rem); }
.final-nums { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 44px; }
.final-nums a {
  font-size: clamp(2rem, 5.4vw, 3.5rem);
  font-weight: 700; letter-spacing: -.035em; line-height: 1.15;
  text-decoration: none; font-variant-numeric: tabular-nums;
  transition: opacity .2s;
}
.final-nums a:hover { opacity: .75; }
.final .cta { margin-top: 40px; }

/* ---------- Footer ---------- */
.footer { background: var(--gray); color: var(--ink-2); font-size: .75rem; line-height: 1.5; padding: 28px 0 32px; }
.fine { display: grid; gap: 10px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.fine b { color: var(--ink); font-weight: 600; }
.footer-row { display: flex; justify-content: space-between; gap: 16px; padding-top: 16px; flex-wrap: wrap; }
.footer a { text-decoration: none; color: var(--ink); }
.footer a:hover { text-decoration: underline; }

/* ---------- Mobile dock (material) ---------- */
.dock {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
  display: none; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 8px; border-radius: 30px;
  background: rgba(250, 250, 252, .72);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 0 0 .5px rgba(0, 0, 0, .08), 0 12px 32px rgba(0, 0, 0, .22);
}
.dock .pill { min-height: 50px; padding: 12px; }

/* ---------- Reveal on scroll (only when JS is on) ---------- */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .bento .rv:nth-child(2), .js .stats .rv:nth-child(2), .js .steps .rv:nth-child(2) { transition-delay: .08s; }
.js .bento .rv:nth-child(3), .js .stats .rv:nth-child(3), .js .steps .rv:nth-child(3) { transition-delay: .16s; }

/* ---------- Responsive ---------- */
@media (max-width: 1068px) {
  .nav-links { gap: 22px; }
  .t-mis, .t-kabel { min-height: 520px; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .sec { padding: 96px 0; }
  .head { margin-bottom: 48px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .t-mis { grid-column: span 2; min-height: 480px; }
  .t-kabel, .t-third { grid-column: span 1; min-height: 420px; }
  .t-third:last-of-type { grid-column: span 2; }
  .t-wide { grid-column: span 2; }
  .stats, .steps { grid-template-columns: 1fr; gap: 0; }
  .stat, .steps li { padding: 28px 0 32px; }
  .area { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  .wrap, .wide, .narrow { width: calc(100% - 32px); }
  .dock { display: grid; }
  .nav { height: 48px; }
  .hero { padding-top: 48px; }
  .cta { flex-direction: column; align-items: stretch; width: min(100%, 340px); margin-inline: auto; }
  .hero-media { margin-top: 24px; }
  .glass { font-size: .875rem; padding: 10px 16px; bottom: 7%; }
  .sec { padding: 72px 0; }
  .head { margin-bottom: 36px; }
  .phones { grid-template-columns: 1fr; gap: 12px; }
  .ptile { padding: 24px; border-radius: var(--r-lg); }
  .ptile-top { margin-bottom: 18px; }
  .ptile-tg { grid-column: auto; padding: 20px 24px; }
  .ptile-tg .more { display: none; }
  .sell { grid-template-columns: 1fr; gap: 12px; }
  .sell-card { padding: 24px; border-radius: var(--r-lg); }
  .bento { grid-template-columns: 1fr; gap: 12px; }
  .tile, .t-mis, .t-kabel, .t-third, .t-third:last-of-type, .t-wide { grid-column: auto; min-height: 400px; border-radius: var(--r-lg); }
  .t-wide { min-height: 380px; justify-content: flex-start; }
  .t-wide::before { background: linear-gradient(180deg, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, .2) 50%, rgba(0, 0, 0, 0) 70%); }
  .tile-text, .t-wide .tile-text { padding: 28px 26px 0; }
  .map { aspect-ratio: 4 / 3; border-radius: var(--r-lg); }
  .faq details p { padding-right: 0; }
  .footer-row { flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile img, .plus, .pill, .ptile { transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav { background: #161617; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .glass { background: #2c2c2e; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .dock { background: #fbfbfd; backdrop-filter: none; -webkit-backdrop-filter: none; }
}
