/* SIGOS landing — logo: ekran (chapda reklama, o'ngda navbat, yuqorisi — chaqirilgan). Ranglar: moviy — kontent, yashil — chaqiruv, chuqur ko'k-qora — ekran va matn */
:root {
  --ink: #0c2433;
  --ink-2: #163447;
  --paper: #f2f6f8;
  --white: #ffffff;
  --sky: #0099b5;
  --sky-deep: #00738a;
  --green: #1eb53a;
  --muted: #4e6573;
  --line: rgba(12, 36, 51, 0.12);
  --display: "Tektur", "Golos Text", system-ui, sans-serif;
  --body: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }

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

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* ---------- tugmalar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--ink); color: #fff; text-decoration: none;
  font: 600 16px/1 var(--body); border: 1.5px solid var(--ink);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { background: var(--sky-deep); border-color: var(--sky-deep); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- sarlavha paneli ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.is-solid { background: rgba(242, 246, 248, 0.86); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { display: block; width: 30px; height: 30px; }
.brand-name { font: 800 22px/1 var(--display); letter-spacing: 0.02em; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links + .nav-end { margin-left: 0; }
.nav-links a { text-decoration: none; font-size: 15px; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.nav-end { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.lang { display: flex; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button {
  border: 0; background: transparent; color: var(--muted); cursor: pointer;
  font: 600 13px/1 var(--body); padding: 7px 10px; border-radius: 999px; min-width: 38px;
}
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* ---------- hero ---------- */
.hero { padding: 132px 0 88px; position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-title {
  font: 800 clamp(38px, 4.6vw, 64px)/1.04 var(--display);
  font-stretch: 82%;
  letter-spacing: -0.01em;
  max-width: 14ch;
}
.hero-lead { margin-top: 24px; font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* TV maketi */
.tv { margin: 0; }
.tv-screen {
  position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden;
  background: var(--ink); color: #fff;
  border: 10px solid #0a1c28; box-shadow: 0 40px 80px -30px rgba(12, 36, 51, 0.55);
  display: grid; grid-template-rows: auto 1fr auto;
  font-family: var(--body);
}
.tv-top { display: flex; justify-content: space-between; align-items: center; padding: 1.4% 2.4%; background: var(--ink-2); font-size: clamp(10px, 1.1vw, 14px); }
.tv-branch { opacity: 0.85; }
.tv-clock { font: 700 clamp(12px, 1.4vw, 18px)/1 var(--display); font-variant-numeric: tabular-nums; }
.tv-body { display: grid; grid-template-columns: 1.55fr 1fr; min-height: 0; }
.tv-media { position: relative; overflow: hidden; background: #0f3246; }
.slide {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  padding: 7%; opacity: 0; transition: opacity 0.8s;
}
.slide.is-on { opacity: 1; }
.slide[data-slide="0"] { background: radial-gradient(120% 90% at 85% 10%, #00a6c4 0%, #0f3246 60%); }
.slide[data-slide="1"] { background: radial-gradient(120% 90% at 10% 0%, #1eb53a 0%, #0f3246 62%); }
.slide[data-slide="2"] { background: radial-gradient(120% 90% at 90% 90%, #e5a00d 0%, #0f3246 60%); }
.slide p { font: 700 clamp(13px, 1.9vw, 26px)/1.15 var(--display); font-stretch: 85%; max-width: 16ch; }
.slide-icon svg { width: clamp(22px, 3vw, 40px); height: auto; opacity: 0.9; }
.tv-queue { display: flex; flex-direction: column; min-height: 0; border-left: 1px solid rgba(255, 255, 255, 0.08); }
.tv-qhead { display: grid; grid-template-columns: 1fr auto; padding: 4% 8% 3%; font-size: clamp(9px, 0.95vw, 12px); color: rgba(255, 255, 255, 0.6); border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.tv-list { list-style: none; margin: 0; padding: 0; overflow: hidden; flex: 1; }
.tv-list li {
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  padding: 3.2% 8%; border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font: 700 clamp(12px, 1.7vw, 23px)/1.1 var(--display); font-variant-numeric: tabular-nums;
}
.tv-list li b { color: var(--green); }
.tv-list li.is-new { background: rgba(30, 181, 58, 0.18); }
.tv-call {
  position: absolute; inset: 14% 10%; border-radius: 10px; background: #fff; color: var(--ink);
  display: flex; align-items: center; justify-content: center; gap: 5%;
  opacity: 0; transform: scale(0.92); pointer-events: none;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}
.tv-call-ticket { font: 800 clamp(26px, 5.2vw, 72px)/1 var(--display); font-stretch: 80%; font-variant-numeric: tabular-nums; }
.tv-call-arrow { width: clamp(28px, 4.5vw, 64px); color: var(--sky); }
.tv-call-window { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.tv-call-window small { font-size: clamp(9px, 1vw, 14px); color: var(--muted); }
.tv-call-window b { font: 800 clamp(30px, 5.8vw, 80px)/1 var(--display); color: var(--green); }
.tv-wave { position: absolute; top: 9%; right: 4%; display: flex; gap: 3px; align-items: center; height: 18px; }
.tv-wave i { width: 3px; border-radius: 2px; background: var(--sky); height: 40%; animation: wave 0.9s ease-in-out infinite; }
.tv-wave i:nth-child(2) { animation-delay: 0.15s; }
.tv-wave i:nth-child(3) { animation-delay: 0.3s; }
.tv-wave i:nth-child(4) { animation-delay: 0.45s; }
@keyframes wave { 50% { height: 100%; } }
.tv-ticker { overflow: hidden; background: var(--sky-deep); padding: 1% 0; font-size: clamp(9px, 1vw, 13px); white-space: nowrap; }
.tv-ticker p { display: inline-block; padding-left: 100%; animation: ticker 26s linear infinite; }
@keyframes ticker { to { transform: translateX(-100%); } }
.tv-stand { width: 22%; height: 16px; margin: 0 auto; background: linear-gradient(#0a1c28, #16303f); border-radius: 0 0 8px 8px; }
.tv-cap { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }


/* ---------- umumiy bo'lim ---------- */
section { scroll-margin-top: 80px; }
.goal, .how, .manage, .dash, .trust { padding: clamp(72px, 10vw, 128px) 0; }
.section-title { font: 800 clamp(30px, 3.8vw, 52px)/1.06 var(--display); font-stretch: 85%; max-width: 20ch; }
.section-lead { margin-top: 18px; color: var(--muted); max-width: 60ch; font-size: 18px; }
[data-icon] svg { width: 100%; height: 100%; stroke-width: 1.75; }

/* ---------- maqsad ---------- */
.goal-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; border-top: 1.5px solid var(--ink); }
.goal-item { padding: 34px 32px 8px 0; }
.goal-item + .goal-item { padding-left: 32px; border-left: 1px solid var(--line); }
.goal-icon { display: block; width: 44px; height: 44px; color: var(--sky); margin-bottom: 24px; }
.goal-item h3 { font: 700 24px/1.15 var(--display); font-stretch: 90%; }
.goal-item p { margin-top: 12px; color: var(--muted); }

/* ---------- qanday ishlaydi ---------- */
.how { background: var(--ink); color: #fff; }
.how .section-lead { color: rgba(255, 255, 255, 0.7); }
.steps { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 28px; right: 28px; top: 28px; height: 2px; background: rgba(255, 255, 255, 0.14); }
.steps::after {
  content: ""; position: absolute; left: 28px; right: 28px; top: 28px; height: 2px;
  background: linear-gradient(90deg, var(--sky), var(--green)); transform-origin: left; transform: scaleX(var(--progress, 0));
}
.step { position: relative; z-index: 1; counter-increment: step; }
.step-dot {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--ink-2); border: 2px solid rgba(255, 255, 255, 0.18); color: #fff; padding: 14px;
  transition: background 0.4s, border-color 0.4s;
}
.step.is-lit .step-dot { background: var(--sky); border-color: var(--sky); }
.step h3 { margin-top: 22px; font: 700 21px/1.2 var(--display); font-stretch: 90%; }
.step h3::before { content: counter(step) ". "; color: var(--sky); }
.step p { margin-top: 10px; color: rgba(255, 255, 255, 0.68); font-size: 16px; }

/* ---------- boshqaruv ---------- */
.manage-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.feature-list { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 22px; }
.feature-list li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.feature-list li > span { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: #fff; color: var(--sky-deep); box-shadow: 0 0 0 1px var(--line); }
.feature-list b { font-weight: 600; }
.feature-list p { color: var(--muted); font-size: 16px; margin-top: 2px; }

.tree {
  position: relative; background: #fff; border-radius: 22px; padding: 34px 30px 26px;
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(12, 36, 51, 0.4);
}
.tree-node { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; background: var(--paper); font-size: 15px; }
.tree-node span { width: 20px; height: 20px; color: var(--sky-deep); }
.tree-l0 { background: var(--ink); color: #fff; }
.tree-l0 span { color: #7fd6e6; }
.tree-branch { position: relative; margin: 16px 0 0 26px; padding-left: 22px; border-left: 2px solid var(--line); display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.tree-branch::before { content: ""; position: absolute; left: -2px; top: 50%; width: 20px; height: 2px; background: var(--line); }
.tree-screens { display: flex; gap: 8px; }
.screen { width: 34px; height: 22px; border-radius: 4px; background: #dfe7ec; position: relative; transition: background 0.35s; }
.screen::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 3px; margin-left: -5px; background: #c6d2d9; border-radius: 2px; }
.screen.is-on { background: #b9e3ec; }
.screen.is-hit { background: var(--sky); }
.tree-packet {
  position: absolute; left: 0; top: 0; width: 34px; height: 34px; padding: 8px; border-radius: 50%;
  background: var(--green); color: #fff; box-shadow: 0 8px 18px -6px rgba(30, 181, 58, 0.7); opacity: 0;
}
.tree-cap { display: flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 13px; color: var(--muted); }
.tree-cap .dot { width: 9px; height: 9px; border-radius: 50%; background: #c6d2d9; margin-left: 10px; }
.tree-cap .dot:first-child { margin-left: 0; }
.tree-cap .dot.on { background: var(--sky); }

/* ---------- dashboard ---------- */
.dash { background: #fff; }
.map-stage { position: relative; margin-top: 48px; border-radius: 22px; background: var(--paper); padding: clamp(12px, 2vw, 28px); }
.uz-map { width: 100%; height: auto; aspect-ratio: 1000 / 653; }
.uz-map .d { fill: #e1e8ec; stroke: #fff; stroke-width: 0.8; vector-effect: non-scaling-stroke; }
.uz-map .r { fill: none; stroke: #b8c5cd; stroke-width: 1.2; vector-effect: non-scaling-stroke; pointer-events: none; }
.uz-map .lbl { font: 700 2.3px/1 var(--display); fill: #fff; paint-order: stroke; stroke: rgba(0, 0, 0, 0.5); stroke-width: 0.45px; pointer-events: none; opacity: 0; }
.map-legend { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.legend-bar { width: 160px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #8e1b1b 0%, #d6451e 30%, #e5a00d 55%, #5ca03c 78%, #0e6b35 100%); }
.map-note { margin-top: 6px; font-size: 13px; color: var(--muted); }

.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 56px; }
.shot { margin: 0; }
.shot-wide { grid-column: 1 / -1; }
.shot img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line), 0 28px 50px -34px rgba(12, 36, 51, 0.45); }
.shot figcaption { margin-top: 14px; display: grid; gap: 2px; }
.shot figcaption b { font: 700 18px/1.2 var(--display); font-stretch: 90%; }
.shot figcaption span { color: var(--muted); font-size: 15px; }

/* ---------- ishonchlilik ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; margin-top: 56px; }
.trust-item > span { display: block; width: 32px; height: 32px; color: var(--green); }
.trust-item h3 { margin-top: 18px; font: 700 19px/1.2 var(--display); font-stretch: 90%; }
.trust-item p { margin-top: 8px; color: var(--muted); font-size: 16px; }

/* ---------- yakun ---------- */
.final { background: var(--sky-deep); color: #fff; padding: clamp(56px, 8vw, 96px) 0; }
.final-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.final h2 { font: 800 clamp(28px, 3.4vw, 46px)/1.08 var(--display); font-stretch: 85%; max-width: 22ch; }

.foot { padding: 28px 0; font-size: 13px; color: var(--muted); }
.foot-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- moslashuvchan ---------- */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-links + .nav-end { margin-left: auto; }
  .hero { padding-top: 112px; }
  .hero-grid, .manage-grid { grid-template-columns: 1fr; }
  .hero-title { max-width: 14ch; }
  .goal-grid { grid-template-columns: 1fr; }
  .goal-item, .goal-item + .goal-item { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .steps::before, .steps::after { display: none; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .nav-end .btn-small { display: none; }
  .steps, .trust-grid, .shots { grid-template-columns: 1fr; }
  .shot-wide { grid-column: auto; }
  .tv-screen { border-width: 6px; }
  .tv-body { grid-template-columns: 1.25fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .tv-ticker p { padding-left: 0; }
}
