/* 2-variant — "Aurora" (jiddiy): sovuq oq-ko'k fon, shisha kartalar, qirollik ko'ki → to'q navy.
   Tuzilish: kalendar-navbar, chapga tekislangan sarlavha, o'ngda ekran chetiga chiqqan rasm,
   taymerli tugma, raqamlangan qadamlar, bento sovg'alar. */
:root {
  --bg: #F2F5FA;
  --glass: rgba(255, 255, 255, .62);
  --glass-2: rgba(255, 255, 255, .85);
  --stroke: rgba(255, 255, 255, .95);
  --text: #0F1B33;
  --muted: #56627A;
  --brand: #1F4FD1;
  --violet: #1A3A8F;
  --pink: #0B1F4D;
  --live: #E0413A;
  --grad: linear-gradient(120deg, #2A5CE0 0%, #1A3A8F 60%, #0B1F4D 100%);
  --r: 24px;
  --wrap: 430px;
  --cw: min(100vw, 430px);
  --ch: clamp(280px, calc(100svh - 340px), 450px);
  --f: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 18px 40px -22px rgba(15, 35, 80, .35);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: var(--f); background: var(--bg); color: var(--text); line-height: 1.5; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }
b { font-weight: 800; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.glass { background: var(--glass); border: 1px solid var(--stroke); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }

/* ---------- fon ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--bg); }
.bg__glow { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .8; animation: drift 14s ease-in-out infinite alternate; }
.bg__glow--a { width: 340px; height: 340px; top: -120px; right: -130px; background: radial-gradient(circle, #BFD3F5, transparent 70%); }
.bg__glow--b { width: 360px; height: 360px; top: 300px; left: -200px; background: radial-gradient(circle, #CFE0F2, transparent 70%); animation-delay: -7s; }
.bg__glow--c { width: 320px; height: 320px; bottom: -140px; right: -120px; background: radial-gradient(circle, #D6DEEA, transparent 70%); animation-delay: -3s; }
@keyframes drift { to { transform: translate(30px, 40px) scale(1.1); } }

/* ---------- NAVBAR: kalendar plitkasi ---------- */
.nav { padding: 12px 0 0; }
.nav__row {
  display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 8px !important; margin: 0 16px; width: auto;
  border-radius: 20px; background: var(--glass-2); border: 1px solid var(--stroke);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 10px 30px -16px rgba(15, 35, 80, .45);
}
.cal {
  flex: none; width: 50px; border-radius: 12px; overflow: hidden; text-align: center; background: #fff;
  box-shadow: 0 4px 12px -4px rgba(23, 22, 43, .25);
}
.cal__m { display: block; padding: 2px 0 1px; background: var(--grad); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.cal__d { display: block; padding: 2px 0 4px; font-size: 17px; font-weight: 800; letter-spacing: -.03em; line-height: 1.2; }
.nav__info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.nav__info b { font-size: 14px; }
.nav__info span { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.nav__info svg { color: var(--brand); }
.nav__live {
  flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px;
  background: rgba(224, 65, 58, .1); color: var(--live); font-size: 11px; font-weight: 800; letter-spacing: .1em;
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(224, 65, 58, .6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(224, 65, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(224, 65, 58, 0); } }

/* ---------- HERO: chapga tekis ---------- */
.hero { padding: 16px 0 34px; }
.eyebrow { font-size: 12px; font-weight: 700; color: var(--brand); letter-spacing: .02em; }
.hero__title { font-weight: 700; font-size: clamp(22px, calc(var(--cw) * .066), 28px); line-height: 1.12; letter-spacing: -.025em; margin-top: 4px; }
.hero__hl {
  display: block; font-weight: 800; font-size: 1.6em; line-height: 1.02; letter-spacing: -.045em; margin: 1px 0 -.1em; padding: 0 .06em .14em 0;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* rasm o'ngda, ekran chetiga taqaladi — o'ng kesik cheti ekran chegarasida yashirinadi */
.stage { position: relative; height: var(--ch); margin: 2px -16px 0 0; }
.stage__orb {
  position: absolute; right: 4%; top: 18%; width: calc(var(--ch) * .62); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #DCE7FA, #9DB8E8 60%, #7C9CD8); filter: blur(6px); opacity: .75;
  animation: spin 18s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.stage__img {
  position: absolute; right: 0; bottom: 0; height: calc(var(--ch) * .98); width: auto; max-width: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 97%);
  mask-image: linear-gradient(to bottom, #000 72%, transparent 97%);
}
.stage__tags { position: absolute; left: 0; bottom: 20%; z-index: 2; display: flex; flex-direction: column; gap: 10px; }
.tag {
  display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 9px; border-radius: 16px; max-width: 200px;
  background: var(--glass-2); border: 1px solid var(--stroke); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 26px -12px rgba(15, 35, 80, .5); animation: float 5s ease-in-out infinite;
}
.tag:nth-child(2) { margin-left: 18px; animation-delay: -2.5s; }
.tag__ico { flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: var(--grad); }
.tag b { display: block; font-size: 13px; line-height: 1.2; }
.tag small { display: block; font-size: 11.5px; font-weight: 600; color: var(--muted); }
@keyframes float { 50% { transform: translateY(-6px); } }

/* tugma ichida taymer */
.hero__cta { position: relative; z-index: 3; margin-top: -22px; }
.cta {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
  padding: 9px 9px 9px 26px; border-radius: 999px; color: #fff; font-weight: 800; font-size: clamp(17px, calc(var(--cw) * .048), 19px);
  background: var(--grad); background-size: 160% 100%;
  box-shadow: 0 16px 30px -14px rgba(15, 35, 90, .7), inset 0 1px 0 rgba(255, 255, 255, .2);
  transition: transform .2s, filter .2s;
}
.cta:hover { transform: translateY(-2px); filter: brightness(1.08); }
.cta:active { transform: scale(.98); }
.cta:focus-visible { outline: 3px solid #9DB8E8; outline-offset: 4px; }
.cta__timer {
  flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 12px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .95); color: var(--brand); font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums;
}
.cta__timer::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--live); animation: pulse 1.8s infinite; }
.cta--plain { justify-content: center; padding: 19px 22px; gap: 10px; }
.cta--sm { padding: 15px 20px; font-size: 16px; }
@keyframes sheen { 50% { background-position: 100% 0; } }
.hero__note { margin-top: 10px; text-align: center; font-size: 12.5px; font-weight: 600; color: var(--muted); }

/* ---------- QADAMLAR ---------- */
.learn { padding: 20px 0 20px; }
.h2 { font-weight: 800; font-size: clamp(30px, calc(var(--cw) * .085), 36px); line-height: 1.05; letter-spacing: -.04em; margin-bottom: 18px; }
.h2 span { padding-bottom: .12em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.steps { position: relative; display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.steps::before { content: ""; position: absolute; left: 25px; top: 30px; bottom: 30px; width: 2px; background: linear-gradient(var(--brand), var(--pink)); opacity: .35; }
.step {
  position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--r);
  background: var(--glass); border: 1px solid var(--stroke); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow);
}
.step__n { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #fff; background: var(--grad); margin-left: -6px; }
.step h3 { font-size: 16.5px; font-weight: 800; line-height: 1.25; letter-spacing: -.02em; }
.step p { margin-top: 4px; font-size: 14px; color: var(--muted); }
.step p b { color: var(--text); }

/* ---------- BENTO ---------- */
.bento {
  display: grid; gap: 10px; grid-template-columns: 1.1fr 1fr;
  grid-template-areas: "phone sum" "phone laptop" "tablet books";
}
.bento > div {
  position: relative; border-radius: 22px; padding: 14px; overflow: hidden;
  background: var(--glass); border: 1px solid var(--stroke); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow);
}
.bento__phone {
  grid-area: phone; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 8px; text-align: center;
  background: linear-gradient(160deg, #2A5CE0, #1A3A8F 55%, #0B1F4D) !important; color: #fff; border: 0 !important;
}
.bento__phone img { width: 92px; height: auto; transform: rotate(-8deg); filter: drop-shadow(0 16px 18px rgba(30, 10, 80, .5)); }
.bento__phone b { font-size: 16px; line-height: 1.15; letter-spacing: -.02em; }
.bento__tag { align-self: flex-start; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .22); }
.bento__sum { grid-area: sum; display: flex; flex-direction: column; justify-content: center; }
.bento__sum b { font-size: 30px; line-height: 1; padding-bottom: .1em; letter-spacing: -.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bento__sum span { font-size: 12.5px; font-weight: 700; color: var(--muted); margin-top: 3px; }
.bento__item { display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.bento__item svg { width: 34px; height: 34px; color: var(--brand); }
.bento__item b { font-size: 13.5px; line-height: 1.2; }
.bento__item--laptop { grid-area: laptop; }
.bento__item:nth-of-type(4) { grid-area: tablet; }
.bento__item:nth-of-type(5) { grid-area: books; }

/* ---------- FINAL ---------- */
.final { padding: 26px 0 48px; }
.final__card {
  position: relative; padding: 26px 18px 20px; border-radius: 30px; text-align: center; display: flex; flex-direction: column; align-items: center;
  background: var(--glass); border: 1px solid var(--stroke); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow);
}
.cal--big { width: 84px; border-radius: 18px; margin-bottom: 14px; }
.cal--big .cal__m { font-size: 11px; padding: 4px 0 3px; }
.cal--big .cal__d { font-size: 30px; padding: 4px 0 8px; }
.final__title { font-weight: 800; font-size: clamp(23px, calc(var(--cw) * .064), 27px); line-height: 1.12; letter-spacing: -.035em; }
.final__text { margin: 8px 0 20px; font-size: 14px; color: var(--muted); }

.foot { height: 90px; }

.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(245, 244, 255, .78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--stroke);
  transform: translateY(110%); transition: transform .35s ease;
}
.sticky.is-on { transform: none; }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (min-width: 600px) {
  body { background: #E3E9F3; }
  .page { max-width: var(--wrap); margin: 0 auto; min-height: 100vh; position: relative; overflow: hidden; box-shadow: 0 0 60px rgba(15, 35, 80, .15); }
  .bg { left: 50%; right: auto; width: var(--wrap); transform: translateX(-50%); }
  .sticky { left: 50%; right: auto; width: var(--wrap); transform: translate(-50%, 110%); }
  .sticky.is-on { transform: translate(-50%, 0); }
}
@media (max-width: 360px) {
  .tag { max-width: 170px; padding: 7px 10px 7px 7px; }
  .tag b { font-size: 12px; }
  .nav__live { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
