/*
 * SavdoPro — reklama sayti. To'q, shishasimon (glass) uslub, brend ranglarida:
 * #004D36 (to'q yashil), #008A5B (yashil), yorqin yalpiz — nur va gradientlar uchun.
 */
:root {
  --bg-0: #00140e;
  --bg-1: #00261b;
  --primary: #004d36;
  --accent: #008a5b;
  --mint: #3ee0a1;
  --mint-2: #a7f7d4;
  --gold: #f5c76b;
  --text: #eafaf3;
  --muted: rgb(234 250 243 / 0.66);
  --glass: rgb(255 255 255 / 0.06);
  --glass-2: rgb(255 255 255 / 0.1);
  --line: rgb(167 247 212 / 0.16);
  --r-md: 16px;
  --r-lg: 26px;
  --glow: 0 0 40px rgb(62 224 161 / 0.35);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  background: var(--bg-0);
}
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(1200px 700px at 80% -10%, rgb(0 138 91 / 0.35), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgb(0 77 54 / 0.55), transparent 60%),
    radial-gradient(900px 700px at 110% 70%, rgb(0 138 91 / 0.18), transparent 60%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0) 60%);
  background-attachment: fixed;
  overflow-x: hidden;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  margin: 0 0 0.45em;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
h1 {
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  font-weight: 800;
}
h1 span,
h1 em {
  display: block;
}
h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  font-weight: 800;
}
h3 {
  font-size: 1.12rem;
  font-weight: 700;
}
em {
  font-style: normal;
  background: linear-gradient(100deg, var(--mint-2), var(--mint) 45%, #00b377);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
}
.i {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* Shisha yuzalar */
.glass {
  background: linear-gradient(160deg, rgb(255 255 255 / 0.09), rgb(255 255 255 / 0.03));
  border: 1px solid var(--line);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.08),
    0 20px 50px rgb(0 0 0 / 0.25);
}

/* ---------------------------------------------------------------- tugmalar */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    transform 0.15s,
    box-shadow 0.2s,
    background 0.2s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-light {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 10px 30px rgb(62 224 161 / 0.25);
}
.btn-light:hover {
  box-shadow: var(--glow);
}
.btn-glass {
  color: var(--text);
  background: var(--glass);
  border-color: var(--line);
  backdrop-filter: blur(10px);
}
.btn-glass:hover {
  background: var(--glass-2);
}
.btn-sm {
  min-height: 42px;
  padding: 0 18px;
}
.btn-sm .i {
  width: 18px;
  height: 18px;
}
.play {
  width: 34px;
  height: 34px;
  margin-left: -10px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.play .i {
  width: 16px;
  height: 16px;
}

/* ---------------------------------------------------------------- sarlavha */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(0 20 14 / 0.55);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgb(167 247 212 / 0.08);
}
.header-row {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 70px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 800;
}
.brand img {
  border-radius: 10px;
  box-shadow: 0 0 0 1px var(--line);
}
.brand b {
  color: var(--mint);
}
.nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}
.nav a {
  position: relative;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
}
.nav a:hover {
  color: var(--text);
}
.nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 2px;
  background: var(--mint);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang {
  min-height: 42px;
  min-width: 48px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.lang:hover {
  background: var(--glass-2);
}

/* ---------------------------------------------------------------- bosh qism */
.hero {
  position: relative;
  padding: 56px 0 40px;
  overflow: hidden;
}
.aurora {
  position: absolute;
  inset: -20% -10% auto;
  height: 520px;
  background:
    radial-gradient(40% 60% at 70% 40%, rgb(62 224 161 / 0.28), transparent 70%),
    radial-gradient(30% 50% at 30% 20%, rgb(245 199 107 / 0.12), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 32px;
  align-items: center;
  min-height: 560px;
}
.eyebrow,
.kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mint-2);
}
.eyebrow {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass);
  margin-bottom: 22px;
}
.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 32em;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

/* Sahna: yorqin halqa, kublar, shar va kassa oynasi */
.scene {
  position: relative;
  height: 520px;
}
.ring {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 380px;
  height: 380px;
  translate: -50% -50%;
  border-radius: 50%;
  background: conic-gradient(
    from 200deg,
    transparent 0deg,
    rgb(167 247 212 / 0.9) 60deg,
    var(--mint) 120deg,
    rgb(0 138 91 / 0.2) 200deg,
    transparent 260deg,
    rgb(245 199 107 / 0.6) 320deg,
    transparent 360deg
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 18px), #000 calc(100% - 17px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 18px), #000 calc(100% - 17px));
  filter: drop-shadow(0 0 24px rgb(62 224 161 / 0.6));
  animation: spin 18s linear infinite;
}
.ring-2 {
  width: 470px;
  height: 470px;
  opacity: 0.35;
  animation-duration: 30s;
  animation-direction: reverse;
}
.cube {
  position: absolute;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--mint-2);
  background: linear-gradient(145deg, rgb(62 224 161 / 0.45), rgb(0 77 54 / 0.6));
  border: 1px solid rgb(167 247 212 / 0.35);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.25),
    0 0 30px rgb(62 224 161 / 0.35);
  backdrop-filter: blur(6px);
  animation: float 6s ease-in-out infinite;
}
.cube .i {
  width: 28px;
  height: 28px;
}
.c1 {
  left: 6%;
  top: 8%;
  rotate: -12deg;
}
.c2 {
  right: 4%;
  top: 4%;
  width: 76px;
  height: 76px;
  rotate: 10deg;
  animation-delay: -2s;
  background: linear-gradient(145deg, rgb(245 199 107 / 0.55), rgb(0 77 54 / 0.6));
  border-color: rgb(245 199 107 / 0.45);
  color: #fff2cf;
  box-shadow: 0 0 34px rgb(245 199 107 / 0.35);
}
.c3 {
  left: 0;
  bottom: 18%;
  width: 54px;
  height: 54px;
  rotate: 8deg;
  animation-delay: -4s;
}
.c4 {
  right: 10%;
  bottom: 10%;
  width: 58px;
  height: 58px;
  rotate: -8deg;
  animation-delay: -1s;
}
.orb {
  position: absolute;
  right: 18%;
  top: 18%;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, var(--mint-2) 30%, var(--accent) 70%, transparent 72%);
  box-shadow: 0 0 40px rgb(167 247 212 / 0.8);
  animation: float 7s ease-in-out infinite reverse;
}
.mock {
  position: absolute;
  left: 50%;
  top: 48%;
  width: min(330px, 80%);
  translate: -50% -50%;
  border-radius: var(--r-lg);
  padding: 14px;
  font-size: 0.85rem;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  color: var(--muted);
}
.mock-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgb(167 247 212 / 0.35);
}
.mock-bar em {
  margin-left: 6px;
  font-weight: 700;
  font-size: 0.8rem;
}
.mock-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
}
.mock-line b {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-line s {
  text-decoration: none;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.mock-line.hi {
  background: rgb(62 224 161 / 0.16);
  box-shadow: inset 0 0 0 1px rgb(62 224 161 / 0.3);
}
.mock-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 8px;
  padding: 12px 10px 4px;
  border-top: 1px dashed var(--line);
}
.mock-total span {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  font-weight: 700;
}
.mock-total b {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--mint);
  text-shadow: 0 0 20px rgb(62 224 161 / 0.5);
}
.script {
  position: absolute;
  right: 0;
  bottom: 0;
  font-style: italic;
  font-weight: 600;
  color: var(--mint-2);
  opacity: 0.75;
  rotate: -6deg;
}

/* Qidiruv uslubidagi chaqiruv */
.pill {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 760px;
  margin: 8px auto 0;
  padding: 8px 8px 8px 22px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
}
.pill span {
  flex: 1;
}
.pill b {
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--bg-0);
  color: var(--text);
  border: 1px solid var(--line);
  white-space: nowrap;
}
.pill:hover b {
  background: var(--primary);
}

/* ---------------------------------------------------------------- bo'limlar */
.section {
  padding: 80px 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 30px;
}
.section-head h2 {
  margin: 8px 0 0;
}
.section-head p {
  max-width: 28em;
  margin: 0;
  color: var(--muted);
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.card {
  position: relative;
  border-radius: var(--r-lg);
  padding: 24px;
  overflow: hidden;
  transition:
    transform 0.25s,
    border-color 0.25s;
}
.card::before {
  content: "";
  position: absolute;
  inset: -40% -40% auto auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(62 224 161 / 0.22), transparent 70%);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgb(167 247 212 / 0.35);
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}
.tile {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin-bottom: 18px;
  color: #fff;
  background: linear-gradient(145deg, var(--mint), var(--accent) 55%, var(--primary));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.35),
    0 10px 30px rgb(62 224 161 / 0.3);
}
.tile .i {
  width: 28px;
  height: 28px;
}
.tile.sm {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  margin: 0 0 6px;
}
.tile.sm .i {
  width: 22px;
  height: 22px;
}

/* Faktlar qatori */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 22px;
  border-radius: var(--r-lg);
  padding: 18px 8px;
}
.facts > div {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: center;
  padding: 4px 22px;
}
.facts > div + div {
  border-left: 1px solid var(--line);
}
.fact-ico {
  grid-row: 1 / span 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--mint);
  background: rgb(62 224 161 / 0.12);
  box-shadow: inset 0 0 0 1px rgb(62 224 161 / 0.25);
}
.facts b {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.1;
}
.facts span:not(.fact-ico) {
  color: var(--muted);
  font-size: 0.88rem;
}

/* Uskunalar */
.hw {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.hw li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 20px 22px;
  border-radius: var(--r-md);
}
.hw li > span:last-child {
  color: var(--muted);
  font-size: 0.93rem;
}
.download {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 22px;
  padding: 22px 24px;
  border-radius: var(--r-lg);
}
.download[hidden] {
  display: none;
}
.download .tile {
  margin: 0;
}
.download div {
  flex: 1;
}
.download h3 {
  margin: 0 0 4px;
}
.download p {
  margin: 0;
  color: var(--muted);
}

/* Kimlar uchun va qadamlar */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.tags span {
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 600;
}
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.steps li {
  counter-increment: step;
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.steps li::before {
  content: "0" counter(step);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
  background: linear-gradient(100deg, var(--mint-2), var(--mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.steps span {
  color: var(--muted);
}

/* Yangiliklar */
.news {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.news article {
  position: relative;
  border-radius: var(--r-lg);
  padding: 22px 24px;
  overflow: hidden;
}
.news article::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 10px solid rgb(62 224 161 / 0.12);
}
.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.news-tag {
  padding: 3px 12px;
  border-radius: 999px;
  background: rgb(62 224 161 / 0.14);
  color: var(--mint-2);
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgb(62 224 161 / 0.3);
}
.news p {
  margin: 0;
  color: var(--muted);
}
.news-empty {
  color: var(--muted);
}

/* Bog'lanish banneri */
.cta {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 24px;
  border-radius: 32px;
  padding: 48px;
  overflow: hidden;
  background:
    radial-gradient(60% 100% at 100% 50%, rgb(0 138 91 / 0.45), transparent 70%),
    linear-gradient(160deg, rgb(255 255 255 / 0.09), rgb(255 255 255 / 0.03));
}
.cta-text {
  position: relative;
  grid-column: 1;
  grid-row: 1;
}
.cta-text h2 {
  margin-top: 10px;
}
.cta-text h2 span,
.cta-text h2 em {
  display: block;
}
.cta-text p {
  color: var(--muted);
  max-width: 30em;
}
.cta-art {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  height: 260px;
}
.cta-art .ring {
  width: 260px;
  height: 260px;
}
.cta-art .orb {
  right: 30%;
  top: 30%;
}
.contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.footer {
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.footer a {
  font-weight: 700;
  color: var(--mint);
  text-decoration: none;
}

/* ---------------------------------------------------------------- harakat */
@keyframes spin {
  to {
    rotate: 360deg;
  }
}
@keyframes float {
  50% {
    transform: translateY(-14px);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .ring,
  .cube,
  .orb {
    animation: none;
  }
}

/* ---------------------------------------------------------------- moslashuvchan */
@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .scene {
    height: 440px;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .facts {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 14px;
  }
  .facts > div:nth-child(3) {
    border-left: 0;
  }
  .hw {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta {
    grid-template-columns: 1fr;
  }
  .cta-art {
    display: none;
  }
}
@media (max-width: 720px) {
  .nav {
    display: none;
  }
  .header-actions {
    margin-left: auto;
  }
  .hero {
    padding-top: 36px;
  }
  .scene {
    height: 380px;
  }
  .ring {
    width: 290px;
    height: 290px;
  }
  .ring-2 {
    width: 350px;
    height: 350px;
  }
  .cube {
    scale: 0.8;
  }
  .mock {
    top: 58%;
    width: min(270px, 74%);
  }
  .pill {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 24px;
    padding: 14px;
    text-align: center;
  }
  .pill > .i {
    display: none;
  }
  .pill span {
    flex-basis: 100%;
  }
  .pill b {
    width: 100%;
    text-align: center;
  }
  .section {
    padding: 56px 0;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .cards,
  .hw,
  .steps,
  .news,
  .facts {
    grid-template-columns: 1fr;
  }
  .facts > div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 14px;
  }
  .pill span {
    font-size: 0.9rem;
  }
  .pill b {
    padding: 11px 16px;
  }
  .cta {
    padding: 30px 22px;
  }
  .download {
    flex-direction: column;
    align-items: flex-start;
  }
}
