/* =========================================================
   Arastu Learning Center — landing
   Ranglar: ko‘k + oq. Animatsiyalar: faqat transform/opacity.
   ========================================================= */

:root {
  --blue-950: #06163A;
  --blue-900: #0A2463;
  --blue-800: #0F3492;
  --blue-700: #1544C4;
  --blue-600: #1A56F0;
  --blue-500: #3D74F5;
  --blue-400: #6E98FA;
  --blue-300: #A4C0FC;
  --blue-200: #CCDCFE;
  --blue-100: #E5EDFF;
  --blue-50:  #F2F6FF;

  --ink: #0B1B3F;
  --ink-2: #33456B;
  --muted: #5F6F8F;
  --line: #E2E9F6;
  --danger: #D93A42;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;

  --shadow-sm: 0 1px 2px rgba(10, 36, 99, .06), 0 2px 8px rgba(10, 36, 99, .05);
  --shadow: 0 12px 32px -12px rgba(10, 36, 99, .2), 0 2px 6px rgba(10, 36, 99, .05);
  --shadow-lg: 0 34px 70px -24px rgba(10, 36, 99, .35), 0 4px 12px rgba(10, 36, 99, .06);

  /* Easing (web-animation-design) */
  --ease-out-cubic: cubic-bezier(0.215, 0.61, 0.355, 1);
  --ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1);
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-in-out-cubic: cubic-bezier(0.645, 0.045, 0.355, 1);

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Unbounded", "Manrope", system-ui, sans-serif;

  --header-h: 76px;
  color-scheme: light;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--blue-200); color: var(--blue-950); }
:focus-visible { outline: 2.5px solid var(--blue-500); outline-offset: 3px; border-radius: 8px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.muted { color: var(--muted); }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 24px; }

/* ---------- Typography ---------- */
.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 1.15rem + 2.2vw, 2.85rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow--light { color: var(--blue-300); }
.lead { font-size: 1.1rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --h: 48px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .95rem; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition:
    background-color 200ms ease,
    color 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease,
    transform 160ms var(--ease-out-cubic);
}
.btn:active { transform: scale(0.97); }
.btn .ic { width: 18px; height: 18px; transition: transform 200ms var(--ease-out-cubic); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: .88rem; }
.btn--lg { --h: 56px; padding: 0 28px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--blue-600); color: #fff;
  box-shadow: 0 10px 22px -10px rgba(26, 86, 240, .7), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn--outline { background: #fff; color: var(--blue-700); border-color: var(--blue-200); }
.btn--ghost { background: transparent; color: var(--ink-2); }
.btn--white { background: #fff; color: var(--blue-700); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .35); }

@media (hover: hover) and (pointer: fine) {
  .btn:hover .ic { transform: translateX(3px); }
  .btn--primary:hover { background: var(--blue-700); }
  .btn--outline:hover { border-color: var(--blue-400); background: var(--blue-50); }
  .btn--ghost:hover { background: var(--blue-50); color: var(--blue-700); }
  .btn--white:hover { background: var(--blue-50); }
}

.icon-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  transition: background-color 150ms ease, transform 160ms var(--ease-out-cubic);
}
.icon-btn:active { transform: scale(0.95); }

.tag {
  display: inline-flex; align-items: center;
  height: 28px; padding: 0 12px; border-radius: 999px;
  background: var(--blue-50); color: var(--blue-700);
  font-size: .78rem; font-weight: 800; letter-spacing: .01em;
  white-space: nowrap;
}

/* ---------- Scroll progress ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--blue-400), var(--blue-600) 60%, var(--blue-800));
  transform: scaleX(0); transform-origin: 0 50%;
  will-change: transform;
}

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color 300ms ease, box-shadow 300ms ease, backdrop-filter 300ms ease;
}
.header.is-scrolled {
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(10, 36, 99, .3);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.header__actions { display: flex; align-items: center; gap: 8px; }

.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); flex: none; }
.logo__mark { flex: none; width: 50px; height: 36px; color: #27509F; }
.logo__text b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.22rem; line-height: 1; letter-spacing: -.01em; }
.logo__text small { display: block; margin-top: 5px; font-size: .6rem; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); line-height: 1; }
.logo--light { color: #fff; }
.logo--light .logo__mark { color: #fff; }
.logo--light .logo__text small { color: var(--blue-300); }

.nav { position: relative; display: flex; align-items: center; gap: 2px; }
.nav a {
  position: relative; z-index: 1;
  padding: 9px 14px; border-radius: 999px;
  font-size: .92rem; font-weight: 700; color: var(--ink-2);
  text-decoration: none;
  transition: color 200ms ease;
}
.nav a.is-active { color: var(--blue-700); }
@media (hover: hover) and (pointer: fine) { .nav a:hover { color: var(--blue-700); } }
.nav__pill {
  position: absolute; left: 0; top: 0; height: 100%;
  border-radius: 999px; background: var(--blue-50);
  box-shadow: inset 0 0 0 1px var(--blue-100);
  opacity: 0;
  transition:
    transform 400ms var(--ease-in-out-cubic),
    width 400ms var(--ease-in-out-cubic),
    opacity 200ms ease;
}
.nav__pill.is-on { opacity: 1; }

.burger {
  display: none;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  position: relative;
  transition: transform 160ms var(--ease-out-cubic);
}
.burger:active { transform: scale(0.95); }
.burger span {
  position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px;
  background: var(--ink);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 24px; right: 18px; }

/* ---------- Mobile menu ---------- */
.mmenu { position: fixed; inset: 0; z-index: 70; overflow: hidden; pointer-events: none; visibility: hidden; transition: visibility 0s linear 280ms; }
.mmenu.is-open { pointer-events: auto; visibility: visible; transition: none; }
.mmenu__overlay {
  position: absolute; inset: 0;
  background: rgba(6, 22, 58, .45);
  opacity: 0;
  transition: opacity 280ms var(--ease-out-cubic);
}
.mmenu__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(88vw, 400px);
  background: #fff;
  padding: 18px 20px 24px;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 280ms var(--ease-out-cubic);
  box-shadow: -30px 0 60px -30px rgba(6, 22, 58, .4);
}
.mmenu.is-open .mmenu__overlay { opacity: 1; }
.mmenu.is-open .mmenu__panel { transform: none; }
/* Chiqish ~20% tezroq */
.mmenu:not(.is-open) .mmenu__overlay,
.mmenu:not(.is-open) .mmenu__panel { transition-duration: 220ms; }

.mmenu__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.mmenu__nav { display: flex; flex-direction: column; }
.mmenu__nav a {
  padding: 14px 4px;
  font-family: var(--font-display); font-weight: 500; font-size: 1.3rem;
  text-decoration: none; color: var(--ink);
  border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateX(16px);
  transition: opacity 300ms var(--ease-out-cubic), transform 300ms var(--ease-out-cubic);
}
.mmenu.is-open .mmenu__nav a {
  opacity: 1; transform: none;
  transition-delay: calc(var(--i) * 40ms + 80ms);
}
.mmenu__foot { margin-top: auto; display: grid; gap: 10px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 56px) 0 40px;
  background: linear-gradient(180deg, #F3F7FF 0%, #FFFFFF 78%);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; will-change: transform; }
.blob--1 {
  width: 760px; height: 760px; right: -240px; top: -260px;
  background: radial-gradient(closest-side, rgba(61, 116, 245, .30), rgba(61, 116, 245, 0));
}
.blob--2 {
  width: 560px; height: 560px; left: -260px; top: 32%;
  background: radial-gradient(closest-side, rgba(164, 192, 252, .45), rgba(164, 192, 252, 0));
}
.dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(26, 86, 240, .16) 1px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 55% 55% at 72% 42%, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse 55% 55% at 72% 42%, #000 20%, transparent 72%);
}

.hero__inner {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
}

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--blue-100);
  box-shadow: var(--shadow-sm);
  font-size: .86rem; font-weight: 700; color: var(--blue-700);
}
.pill__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-600); }
.pill__dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--blue-500);
  animation: ping 2.2s var(--ease-out-cubic) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(3.2); opacity: 0; } }

.hero__title {
  margin: 24px 0 22px;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.1rem, 1.2rem + 3.4vw, 3.8rem);
  line-height: 1.08; letter-spacing: -0.035em;
  color: var(--blue-950);
}
.hero__title .w {
  display: inline-block; vertical-align: top;
  overflow: hidden;
  padding: 0 .02em .12em; margin-bottom: -.12em;
}
.hero__title .w > span { display: inline-block; }
.hero__title em {
  position: relative; z-index: 0; isolation: isolate;
  font-style: normal; color: var(--blue-600);
}
.hero__title em::after {
  content: ""; position: absolute; z-index: -1;
  left: -.04em; right: -.04em; bottom: .04em; height: .3em;
  border-radius: .1em;
  background: var(--blue-100);
}
.hero__lead { max-width: 560px; font-size: 1.12rem; color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero__trust { display: flex; align-items: center; gap: 14px; margin-top: 36px; }
.hero__trust p { font-size: .92rem; color: var(--muted); line-height: 1.4; }
.hero__trust b { color: var(--ink); }
.avatars { display: flex; }
.avatars span {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: .72rem; font-weight: 800; color: #fff;
  border: 2.5px solid #fff;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-700));
}
.avatars span + span { margin-left: -10px; }
.avatars span:nth-child(2) { background: linear-gradient(135deg, var(--blue-500), var(--blue-900)); }
.avatars span:nth-child(3) { background: linear-gradient(135deg, var(--blue-300), var(--blue-600)); }
.avatars span:nth-child(4) { background: linear-gradient(135deg, var(--blue-600), var(--blue-950)); }

/* --- Hero visual --- */
.hero__visual { position: relative; display: flex; justify-content: center; }
.hv {
  position: relative;
  width: 100%; max-width: 560px; aspect-ratio: 1;
  container-type: inline-size;
  font-size: clamp(8.5px, 2.65cqw, 14.5px);
}
.hv__ring {
  position: absolute; inset: 3%;
  border-radius: 50%;
  border: 1.5px dashed var(--blue-200);
  animation: spin 90s linear infinite;
}
.hv__ring::before {
  content: ""; position: absolute; top: 12%; left: 12%;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--blue-500); box-shadow: 0 0 0 6px rgba(61, 116, 245, .18);
}
@keyframes spin { to { transform: rotate(360deg); } }

.hv__disc {
  position: absolute; inset: 13%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .28), transparent 42%),
    linear-gradient(155deg, var(--blue-400) 0%, var(--blue-600) 45%, var(--blue-900) 100%);
  box-shadow: 0 40px 80px -30px rgba(21, 68, 196, .6), inset 0 -20px 60px rgba(6, 22, 58, .25);
  will-change: transform;
}
.hv__center { position: absolute; inset: 0; display: grid; place-items: center; will-change: transform; }

.score-card {
  width: 64%;
  padding: 1.55em 1.6em 1.6em;
  background: #fff;
  border-radius: 1.6em;
  border: 1px solid rgba(226, 233, 246, .8);
  box-shadow: var(--shadow-lg);
}
.score-card__head { display: flex; align-items: center; justify-content: space-between; gap: .8em; }
.score-card .tag { height: 2.1em; padding: 0 .9em; font-size: .82em; }
.score-card__sub { font-size: .82em; color: var(--muted); font-weight: 700; }
.score-card__overall {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin: 1.1em 0 1em; padding-bottom: 1em;
  border-bottom: 1px dashed var(--line);
}
.score-card__overall span { font-weight: 700; color: var(--muted); font-size: .95em; padding-bottom: .55em; }
.score-card__overall strong {
  font-family: var(--font-display); font-weight: 600;
  font-size: 3.6em; line-height: .9; letter-spacing: -.04em;
  color: var(--blue-700);
}
.bands { display: grid; gap: .78em; }
.bands li { display: grid; grid-template-columns: 5.6em 1fr 2.2em; align-items: center; gap: .8em; font-size: .92em; }
.bands span { color: var(--ink-2); font-weight: 700; }
.bands b { text-align: right; font-weight: 800; }
.bands i { position: relative; height: .5em; border-radius: 1em; background: var(--blue-50); overflow: hidden; }
.bands i::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(90deg, var(--blue-400), var(--blue-600));
  transform: scaleX(var(--v)); transform-origin: 0 50%;
}

.hv__chip { position: absolute; will-change: transform; }
.hv__chip--cefr { top: 9%; left: 0; }
.hv__chip--att { top: 2%; right: 2%; }
.hv__chip--timer { bottom: 7%; left: 4%; }
.hv__chip--club { bottom: 11%; right: 0; }

.chip {
  display: flex; align-items: center; gap: .8em;
  padding: .8em 1.15em .8em .8em;
  background: #fff; border-radius: 1.2em;
  border: 1px solid rgba(226, 233, 246, .9);
  box-shadow: var(--shadow);
  white-space: nowrap;
}
.chip small { display: block; font-size: .78em; font-weight: 700; color: var(--muted); line-height: 1.3; }
.chip b { display: block; font-size: 1.02em; font-weight: 800; color: var(--ink); line-height: 1.3; }
.chip__icon {
  width: 2.7em; height: 2.7em; border-radius: .9em;
  display: grid; place-items: center;
  background: var(--blue-600); color: #fff;
}
.chip__icon .ic { width: 1.35em; height: 1.35em; }
.chip__icon--soft { background: var(--blue-50); color: var(--blue-600); }
.chip--col { flex-direction: column; align-items: flex-start; gap: .1em; padding: .9em 1.1em; min-width: 9.5em; }
.chip--col b { font-family: var(--font-display); font-weight: 600; font-size: 1.6em; color: var(--blue-700); letter-spacing: -.02em; }
.spark { width: 100%; height: 2em; margin-top: .3em; overflow: visible; }
.spark path {
  fill: none; stroke: var(--blue-500); stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 140; stroke-dashoffset: 0;
}
.ring { width: 2.9em; height: 2.9em; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 4; }
.ring__bg { stroke: var(--blue-100); }
.ring__fg {
  stroke: var(--blue-600); stroke-linecap: round;
  stroke-dasharray: 113.1; stroke-dashoffset: 6;
  transition: stroke-dashoffset 1s linear;
}
#hero-timer { font-variant-numeric: tabular-nums; font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; }

/* Bo‘sh holatda suzish (ekrandagi harakat → ease-in-out) */
.float { animation: float 6s var(--ease-in-out-cubic) infinite; }
.float--2 { animation-duration: 7s; animation-delay: -2s; }
.float--3 { animation-duration: 6.5s; animation-delay: -4s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* --- Hero load animatsiyalari --- */
.js .hero__title .w > span {
  transform: translateY(108%);
  transition: transform 1000ms var(--ease-out-expo);
  transition-delay: calc(var(--i) * 75ms + 120ms);
}
.js .hero__title em::after {
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 800ms var(--ease-out-quart) 750ms;
}
.js [data-load] {
  opacity: 0; transform: translateY(18px);
  transition: opacity 800ms var(--ease-out-quart), transform 800ms var(--ease-out-quart);
  transition-delay: var(--d, 0ms);
}
.js .hv-pop {
  opacity: 0; scale: .94;
  transition: opacity 700ms var(--ease-out-quart), scale 900ms var(--ease-out-expo);
  transition-delay: var(--d, 0ms);
}
.js .bands i::after { transform: scaleX(0); transition: transform 1100ms var(--ease-out-quart); transition-delay: calc(var(--i) * 90ms + 700ms); }
.js .spark path { stroke-dashoffset: 140; transition: stroke-dashoffset 1400ms var(--ease-out-quart) 1000ms; }

.is-loaded .hero__title .w > span { transform: none; }
.is-loaded .hero__title em::after { transform: scaleX(1); }
.is-loaded [data-load] { opacity: 1; transform: none; }
.is-loaded .hv-pop { opacity: 1; scale: 1; }
.is-loaded .bands i::after { transform: scaleX(var(--v)); }
.is-loaded .spark path { stroke-dashoffset: 0; }

/* --- Stats --- */
.stats {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 64px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.stat { padding: 30px 32px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong {
  display: block;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.6rem);
  line-height: 1.1; letter-spacing: -.03em;
  color: var(--blue-700);
  font-variant-numeric: tabular-nums;
}
.stat > span { display: block; margin-top: 6px; color: var(--muted); font-weight: 700; font-size: .95rem; }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee-wrap { overflow: hidden; padding: 28px 0; margin: -4px 0 -28px; position: relative; z-index: 2; }
.marquee {
  position: relative;
  padding: 22px 0;
  background: linear-gradient(90deg, var(--blue-700), var(--blue-600), var(--blue-700));
  color: #fff;
  overflow: hidden;
  transform: rotate(-1.6deg) scale(1.04);
  box-shadow: 0 20px 40px -24px rgba(21, 68, 196, .7);
}
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__group { display: flex; align-items: center; gap: 36px; padding-right: 36px; }
.marquee__group span { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.05rem, .9rem + .7vw, 1.5rem); letter-spacing: -.01em; white-space: nowrap; }
.marquee__group i { font-style: normal; color: var(--blue-300); font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { position: relative; padding: 120px 0; }
.section--tint { background: var(--blue-50); }
.section--pt0 { padding-top: 0; }
.section__head { max-width: 760px; margin: 0 auto 60px; text-align: center; }
.section__head > p { margin-top: 18px; color: var(--muted); font-size: 1.1rem; text-wrap: pretty; }
.section__head--light .h2 { color: #fff; }
.section__head--light > p { color: rgba(225, 233, 255, .72); }

/* --- Reveal on scroll --- */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition:
    opacity 850ms var(--ease-out-quart),
    transform 850ms var(--ease-out-quart);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-reveal="left"] { transform: translate3d(-36px, 0, 0); }
.js [data-reveal="scale"] { transform: scale(.95); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Hover yorug‘ligi (sichqoncha ortidan) */
.spot { position: relative; overflow: hidden; }
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(26, 86, 240, .09), transparent 45%);
  opacity: 0; transition: opacity 300ms ease;
}
.spot > * { position: relative; z-index: 1; }
@media (hover: hover) and (pointer: fine) { .spot:hover::before { opacity: 1; } }

/* =========================================================
   ABOUT / BENTO
   ========================================================= */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bento__brand {
  grid-row: span 2;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(110, 152, 250, .45), transparent 55%),
    linear-gradient(160deg, var(--blue-600), var(--blue-900) 75%);
  box-shadow: 0 30px 60px -30px rgba(21, 68, 196, .7);
}
.bento__brand h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.65rem; line-height: 1.2; letter-spacing: -.02em; margin-bottom: 16px; }
.bento__brand p { color: rgba(229, 237, 255, .82); font-size: 1.02rem; }
.bento__brand-deco { position: absolute; right: -60px; bottom: -70px; width: 300px; color: rgba(255, 255, 255, .12); pointer-events: none; }
.bento__brand-tags { display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.bento__brand-tags span {
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2);
  font-weight: 700; font-size: .88rem;
}

.feature {
  padding: 30px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 250ms ease, box-shadow 250ms ease;
}
.feature__icon {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  margin-bottom: 22px;
  background: var(--blue-50); color: var(--blue-600);
  transition: background-color 250ms ease, color 250ms ease;
}
.feature__icon .ic { width: 24px; height: 24px; }
.feature h3 { font-size: 1.14rem; font-weight: 800; letter-spacing: -.01em; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .97rem; }
@media (hover: hover) and (pointer: fine) {
  .feature:hover { border-color: var(--blue-200); box-shadow: var(--shadow); }
  .feature:hover .feature__icon { background: var(--blue-600); color: #fff; }
}

/* =========================================================
   COURSES
   ========================================================= */
.courses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.course { display: flex; }
.course__card {
  display: flex; flex-direction: column;
  width: 100%;
  padding: 30px 26px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 300ms var(--ease-out-quart), box-shadow 300ms ease, border-color 300ms ease;
}
@media (hover: hover) and (pointer: fine) {
  /* Ota element joyida qoladi, ichki karta ko‘tariladi — hover "titrashi" bo‘lmaydi */
  .course:hover .course__card { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-200); }
}
.course__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 26px; }
.course__icon {
  width: 50px; height: 50px; border-radius: 15px;
  display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue-600);
}
.course__icon .ic { width: 24px; height: 24px; }
.course h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 12px; }
.course p { color: var(--muted); font-size: .95rem; margin-bottom: 22px; }
.course__meta { display: grid; gap: 10px; margin-bottom: 28px; margin-top: auto; padding-top: 20px; border-top: 1px dashed var(--line); }
.course__meta li { display: flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 700; color: var(--ink-2); }
.course__meta .ic { width: 18px; height: 18px; color: var(--blue-600); stroke-width: 2.6; }

.course--featured .course__card {
  color: #fff;
  border-color: transparent;
  background:
    radial-gradient(140% 70% at 100% 0%, rgba(110, 152, 250, .5), transparent 60%),
    linear-gradient(165deg, var(--blue-600), var(--blue-800));
  box-shadow: 0 30px 60px -28px rgba(21, 68, 196, .75);
}
.course--featured p { color: rgba(229, 237, 255, .8); }
.course--featured .course__icon { background: rgba(255, 255, 255, .15); color: #fff; }
.course--featured .tag { background: rgba(255, 255, 255, .15); color: #fff; }
.course--featured .course__meta { border-color: rgba(255, 255, 255, .2); }
.course--featured .course__meta li { color: #fff; }
.course--featured .course__meta .ic { color: var(--blue-300); }
.course--featured .spot::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .12), transparent 45%); }
.course__badge {
  position: absolute; top: -1px; right: 24px; z-index: 2;
  padding: 6px 12px 7px;
  border-radius: 0 0 12px 12px;
  background: #fff; color: var(--blue-700);
  font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.course--featured .course__top { margin-top: 10px; }

/* =========================================================
   JOURNEY
   ========================================================= */
.journey { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.journey__intro { position: sticky; top: 130px; }
.journey__intro .lead { margin: 20px 0 32px; max-width: 460px; }

.steps { position: relative; }
.steps__track {
  position: absolute; left: 27px; top: 30px; bottom: 30px; width: 2px;
  border-radius: 2px; background: var(--blue-100);
}
.steps__fill {
  position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(180deg, var(--blue-400), var(--blue-700));
  transform: scaleY(0); transform-origin: 50% 0;
  will-change: transform;
}
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding-bottom: 28px; }
.step:last-child { padding-bottom: 0; }
.step__num {
  position: relative; z-index: 1;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; border: 2px solid var(--blue-100);
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  color: var(--blue-300);
  transition: background-color 400ms ease, border-color 400ms ease, color 400ms ease, box-shadow 400ms ease;
}
.step.is-active .step__num {
  background: var(--blue-600); border-color: var(--blue-600); color: #fff;
  box-shadow: 0 0 0 7px var(--blue-100);
}
.step__body {
  padding: 24px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 400ms ease, box-shadow 400ms ease;
}
.step.is-active .step__body { border-color: var(--blue-200); box-shadow: var(--shadow); }
.step__tag {
  display: inline-block; margin-bottom: 10px;
  font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue-600);
}
.step__body h3 { font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; margin-bottom: 6px; }
.step__body p { color: var(--muted); }

/* =========================================================
   PLATFORM (to‘q ko‘k bo‘lim)
   ========================================================= */
.platform {
  background: var(--blue-950);
  color: #fff;
  overflow: hidden;
}
.platform__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 40% at 50% 0%, rgba(61, 116, 245, .35), transparent 70%),
    radial-gradient(40% 40% at 90% 80%, rgba(26, 86, 240, .25), transparent 70%),
    radial-gradient(35% 35% at 5% 70%, rgba(110, 152, 250, .15), transparent 70%);
}
.platform .container { position: relative; }

.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 44px; }
.tab {
  display: inline-flex; align-items: center; gap: 9px;
  height: 46px; padding: 0 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  color: rgba(229, 237, 255, .78);
  font-weight: 700; font-size: .92rem;
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out-cubic);
}
.tab .ic { width: 18px; height: 18px; }
.tab:active { transform: scale(0.97); }
.tab[aria-selected="true"] { background: #fff; color: var(--blue-700); border-color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .tab[aria-selected="false"]:hover { background: rgba(255, 255, 255, .12); color: #fff; }
}

.mockup-wrap { perspective: 1800px; }
.mockup {
  max-width: 1060px; margin: 0 auto;
  background: #fff; color: var(--ink);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .1);
  transform-origin: 50% 0;
  will-change: transform;
}
.mockup__bar {
  display: flex; align-items: center; gap: 16px;
  height: 46px; padding: 0 18px;
  background: #F2F5FC; border-bottom: 1px solid var(--line);
}
.mockup__dots { display: flex; gap: 7px; }
.mockup__dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--blue-200); }
.mockup__dots i:first-child { background: var(--blue-400); }
.mockup__url {
  display: inline-flex; align-items: center; gap: 8px;
  height: 28px; padding: 0 14px 0 6px; margin: 0 auto;
  border-radius: 8px; background: #fff; border: 1px solid var(--line);
  font-size: .8rem; font-weight: 700; color: var(--muted);
}
.mockup__url .ic { width: 18px; height: 18px; stroke: none; }

.panes { display: grid; }
.pane {
  grid-area: 1 / 1;
  opacity: 0; transform: translateY(10px);
  transition: opacity 260ms var(--ease-out-cubic), transform 260ms var(--ease-out-cubic);
}
.pane[hidden] { display: block !important; visibility: hidden; pointer-events: none; }
.pane.is-active { opacity: 1; transform: none; visibility: visible; }

.mk { display: grid; grid-template-columns: 200px 1fr; min-height: 470px; font-size: 14px; }
.mk__side { display: flex; flex-direction: column; gap: 4px; padding: 20px 14px; background: #F7F9FE; border-right: 1px solid var(--line); }
.mk__nav { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--muted); font-weight: 700; font-size: .86rem; }
.mk__nav .ic { width: 17px; height: 17px; }
.mk__nav.is-on { background: #fff; color: var(--blue-700); box-shadow: var(--shadow-sm); }
.mk__main { padding: 26px 28px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.mk__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mk__top h4 { font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; }
.mk__top p { color: var(--muted); font-size: .86rem; font-weight: 600; }
.mk__avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-400), var(--blue-700));
  color: #fff; font-weight: 800; font-size: .8rem;
}
.mk__btn {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  height: 38px; padding: 0 14px; border-radius: 10px;
  background: var(--blue-600); color: #fff; font-weight: 700; font-size: .84rem;
}
.mk__btn .ic { width: 16px; height: 16px; stroke-width: 2.6; }
.mk__btn--sm { height: 32px; font-size: .8rem; }

.mk__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi { padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; }
.kpi span { display: block; font-size: .78rem; font-weight: 700; color: var(--muted); }
.kpi b { display: inline-block; margin-top: 4px; font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: -.02em; }
.kpi em { margin-left: 6px; font-style: normal; font-size: .74rem; font-weight: 800; color: var(--muted); }
.kpi em.up { color: var(--blue-600); }

.mk__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; flex: 1; }
.mk__grid--3 { grid-template-columns: repeat(3, 1fr); flex: 0; }
.mk__card { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; }
.mk__card-h { font-size: .84rem; font-weight: 800; color: var(--ink-2); margin-bottom: 14px; }

.bars { flex: 1; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; align-items: end; min-height: 140px; }
.bars span { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; }
.bars i {
  width: 100%; max-width: 38px;
  height: calc(var(--h) * 100%);
  border-radius: 8px 8px 4px 4px;
  background: var(--blue-100);
  transform: scaleY(.05); transform-origin: 50% 100%;
  transition: transform 900ms var(--ease-out-quart);
  transition-delay: calc(var(--i) * 70ms);
}
.bars .is-hi i { background: linear-gradient(180deg, var(--blue-500), var(--blue-700)); }
.bars small { font-size: .72rem; font-weight: 700; color: var(--muted); }
.mockup-wrap.is-in .pane.is-active .bars i { transform: none; }

.lesson { padding: 14px; border-radius: 12px; background: var(--blue-50); margin-bottom: 14px; }
.lesson b { display: block; font-family: var(--font-display); font-weight: 600; color: var(--blue-700); }
.lesson span { font-size: .84rem; font-weight: 600; color: var(--ink-2); }
.todo { display: grid; gap: 10px; }
.todo li { display: flex; align-items: center; gap: 10px; font-size: .84rem; font-weight: 600; color: var(--ink-2); }
.todo i { width: 18px; height: 18px; border-radius: 6px; border: 2px solid var(--blue-200); flex: none; }
.todo li.done { color: var(--muted); text-decoration: line-through; }
.todo li.done i { background: var(--blue-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; border-color: var(--blue-600); }

.mk__table { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.tr { display: grid; grid-template-columns: 1.6fr .7fr 1.3fr 1.1fr; gap: 12px; align-items: center; padding: 13px 18px; font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.tr + .tr { border-top: 1px solid var(--line); }
.tr.th { background: #F7F9FE; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tr b { color: var(--ink); }
.meter { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); }
.meter i { position: relative; flex: 1; height: 6px; border-radius: 6px; background: var(--blue-50); overflow: hidden; }
.meter i::after { content: ""; position: absolute; inset: 0; background: var(--blue-500); border-radius: inherit; transform: scaleX(var(--v)); transform-origin: 0 50%; }
.mk__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.mk__chip { padding: 10px 14px; border-radius: 12px; background: var(--blue-50); font-size: .84rem; font-weight: 700; color: var(--ink-2); }
.mk__chip b { color: var(--blue-700); font-family: var(--font-display); font-weight: 600; margin-right: 4px; }

/* CD test */
.cd { display: flex; flex-direction: column; min-height: 470px; font-size: 14px; }
.cd__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px; border-bottom: 1px solid var(--line); background: #fff; }
.cd__title { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.cd__title .ic { color: var(--blue-600); }
.cd__timer { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--blue-50); color: var(--blue-700); font-weight: 700; font-size: .86rem; }
.cd__timer .ic { width: 16px; height: 16px; }
.cd__timer b { font-family: var(--font-display); font-weight: 600; font-variant-numeric: tabular-nums; }
.cd__body { flex: 1; padding: 22px 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; background: #FAFBFF; }
.cd__hint { grid-column: 1 / -1; font-size: .9rem; color: var(--ink-2); }
.cd__q { padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; display: grid; gap: 8px; }
.cd__q.is-current { border-color: var(--blue-400); box-shadow: 0 0 0 4px var(--blue-100); }
.cd__q p { font-weight: 700; margin-bottom: 4px; font-size: .9rem; }
.cd__q p b { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 6px; border-radius: 8px; background: var(--blue-600); color: #fff; font-size: .78rem; }
.cd__q label { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; font-size: .86rem; font-weight: 600; color: var(--ink-2); border: 1px solid transparent; }
.cd__q label i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--blue-200); flex: none; }
.cd__q label.is-sel { background: var(--blue-50); border-color: var(--blue-200); color: var(--blue-800); }
.cd__q label.is-sel i { border: 5px solid var(--blue-600); }
.cd__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 14px 24px; border-top: 1px solid var(--line); background: #fff; }
.cd__nav span { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: .74rem; font-weight: 800; color: var(--muted); border: 1px solid var(--line); }
.cd__nav span.a { background: var(--blue-100); color: var(--blue-700); border-color: transparent; }
.cd__nav span.c { background: var(--blue-600); color: #fff; border-color: transparent; }
.cd__nav .cd__part { width: auto; border: 0; padding: 0 6px 0 10px; font-size: .74rem; letter-spacing: .04em; color: var(--ink-2); }
.cd__nav .cd__part:first-child { padding-left: 0; }

/* Ota-onalar */
.cal { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-bottom: 14px; }
.cal i, .cal__legend i { display: block; aspect-ratio: 1; border-radius: 8px; }
.cal i.p, .cal__legend i.p { background: var(--blue-500); }
.cal i.x, .cal__legend i.x { background: var(--blue-100); box-shadow: inset 0 0 0 2px var(--blue-200); }
.cal__legend { display: flex; gap: 14px; font-size: .74rem; font-weight: 700; color: var(--muted); margin-top: auto; }
.cal__legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal__legend i { width: 10px; border-radius: 3px; }
.grades { display: grid; gap: 10px; }
.grades li { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-radius: 10px; background: #F7F9FE; font-weight: 700; font-size: .86rem; color: var(--ink-2); }
.grades b { font-family: var(--font-display); font-weight: 600; color: var(--blue-700); }
.paid { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.paid__ok { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-600); color: #fff; margin-bottom: 6px; }
.paid__ok .ic { stroke-width: 3; }
.paid b { font-size: .92rem; }
.paid small { color: var(--muted); font-weight: 600; font-size: .8rem; }
.mk__note { padding: 14px 18px; border-radius: 14px; background: var(--blue-50); border-left: 3px solid var(--blue-600); font-size: .88rem; color: var(--ink-2); }

/* =========================================================
   RESULTS
   ========================================================= */
.rmarquee {
  display: grid; gap: 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.rmarquee__row { overflow: hidden; }
.rmarquee__track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.rmarquee__row--rev .rmarquee__track { animation-direction: reverse; animation-duration: 52s; }
.rmarquee__group { display: flex; gap: 18px; padding-right: 18px; }
@media (hover: hover) and (pointer: fine) { .rmarquee__row:hover .rmarquee__track { animation-play-state: paused; } }

.result {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px 14px 14px;
  min-width: 280px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}
.result__av {
  width: 48px; height: 48px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-300), var(--blue-600));
  color: #fff; font-weight: 800; font-size: .85rem;
}
.result__who { flex: 1; }
.result__who b { display: block; font-weight: 800; }
.result__who small { color: var(--muted); font-weight: 700; font-size: .82rem; }
.result__score {
  min-width: 64px; height: 52px; padding: 0 12px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--blue-50); color: var(--blue-700);
  font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; letter-spacing: -.03em;
}

/* =========================================================
   QUOTE
   ========================================================= */
.quote { position: relative; padding: 140px 0; text-align: center; background: var(--blue-50); overflow: hidden; }
.quote__mark {
  display: block; height: .5em; margin-bottom: 24px;
  font-family: var(--font-display); font-size: 9rem; line-height: 1;
  color: var(--blue-200);
}
.quote__text {
  max-width: 1040px; margin: 0 auto;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.75rem, .9rem + 3.6vw, 3.9rem);
  line-height: 1.16; letter-spacing: -.035em;
  color: var(--blue-950);
  text-wrap: balance;
}
.quote__text .hl { color: var(--blue-600); }
.js .quote__text .qw { opacity: .14; transition: opacity 350ms ease; }
.js .quote__text .qw.is-on { opacity: 1; }
.quote__cite { margin-top: 32px; font-weight: 700; color: var(--muted); }

/* =========================================================
   FAQ
   ========================================================= */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq__intro { position: sticky; top: 130px; }
.faq__intro .lead { margin: 20px 0 32px; }
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 0;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-size: 1.12rem; font-weight: 800; letter-spacing: -.01em; color: var(--ink);
  transition: color 200ms ease;
}
@media (hover: hover) and (pointer: fine) { .acc__btn:hover { color: var(--blue-700); } }
.acc__icon {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue-600);
  transition: transform 300ms var(--ease-out-cubic), background-color 250ms ease, color 250ms ease;
}
.acc__icon .ic { width: 18px; height: 18px; stroke-width: 2.4; }
.acc__item.is-open .acc__icon { transform: rotate(45deg); background: var(--blue-600); color: #fff; }
.acc__panel {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 320ms var(--ease-out-cubic);
}
.acc__panel > div { overflow: hidden; }
.acc__panel p {
  padding: 0 60px 26px 0; color: var(--muted); font-size: 1.02rem;
  opacity: 0; transform: translateY(-6px);
  transition: opacity 250ms ease, transform 300ms var(--ease-out-cubic);
}
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__item.is-open .acc__panel p { opacity: 1; transform: none; transition-delay: 60ms; }

/* =========================================================
   CTA + FORM
   ========================================================= */
.cta {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  padding: 64px;
  border-radius: 36px;
  color: #fff;
  background:
    radial-gradient(80% 90% at 0% 0%, rgba(110, 152, 250, .55), transparent 55%),
    linear-gradient(140deg, var(--blue-600) 0%, var(--blue-800) 60%, var(--blue-950) 100%);
  box-shadow: 0 40px 80px -40px rgba(21, 68, 196, .8);
}
.cta__deco { position: absolute; inset: 0; pointer-events: none; }
.cta__deco i {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .14);
  pointer-events: none;
}
.cta__deco i:nth-child(1) { width: 520px; height: 520px; left: -200px; bottom: -300px; }
.cta__deco i:nth-child(2) { width: 340px; height: 340px; left: -110px; bottom: -210px; }
.cta__content { position: relative; }
.cta__content > p { margin: 18px 0 28px; color: rgba(229, 237, 255, .82); font-size: 1.08rem; max-width: 480px; }
.cta__list { display: grid; gap: 14px; }
.cta__list li { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.cta__list li span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); flex: none; }
.cta__list .ic { width: 15px; height: 15px; stroke-width: 3; }

.form-card {
  position: relative;
  padding: 36px;
  background: #fff; color: var(--ink);
  border-radius: 28px;
  box-shadow: 0 30px 60px -30px rgba(6, 22, 58, .6);
}
.form { display: grid; gap: 18px; }
.form__head h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; letter-spacing: -.02em; }
.form__head p { color: var(--muted); font-size: .92rem; margin-top: 4px; }

.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: .86rem; font-weight: 800; color: var(--ink-2); padding: 0; }
.field legend { margin-bottom: 8px; }
.field input[type="text"], .field input[type="tel"], .select select {
  width: 100%; height: 54px;
  padding: 0 16px;
  border: 1.5px solid var(--line); border-radius: 14px;
  background: #F8FAFF;
  font-size: 1rem; font-weight: 600;
  transition: border-color 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
  -webkit-appearance: none; appearance: none;
}
.field input::placeholder { color: #9AA8C4; font-weight: 500; }
.field input:focus, .select select:focus, .phone:focus-within {
  outline: none;
  border-color: var(--blue-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(26, 86, 240, .12);
}
.phone {
  display: flex; align-items: center;
  height: 54px;
  border: 1.5px solid var(--line); border-radius: 14px;
  background: #F8FAFF;
  transition: border-color 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}
.phone__code { padding: 0 4px 0 16px; font-weight: 800; color: var(--ink-2); }
.phone input[type="tel"] { height: 100%; border: 0; background: transparent; box-shadow: none !important; padding-left: 8px; }
.select { position: relative; }
.select::after {
  content: ""; position: absolute; right: 18px; top: 50%;
  width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); pointer-events: none;
}
.select select { padding-right: 44px; cursor: pointer; }

.field__err { display: none; color: var(--danger); font-size: .8rem; font-weight: 700; }
.field.is-invalid .field__err { display: block; }
.field.is-invalid input, .field.is-invalid .phone { border-color: var(--danger); }
.field.is-invalid .phone input { border: 0; }

.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 5px; border-radius: 14px; background: #F2F5FC; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span {
  display: grid; place-items: center;
  height: 42px; padding: 0 6px; border-radius: 10px;
  font-size: .86rem; font-weight: 700; color: var(--muted); text-align: center; line-height: 1.15;
  transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
.seg input:checked + span { background: #fff; color: var(--blue-700); box-shadow: var(--shadow-sm); }
.seg input:focus-visible + span { outline: 2.5px solid var(--blue-500); outline-offset: 1px; }

.form__submit { margin-top: 4px; }
.spinner {
  display: none;
  width: 20px; height: 20px; border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff;
  animation: spin 700ms linear infinite;
}
.form.is-loading .spinner { display: block; }
.form.is-loading .form__submit-text { display: none; }
.form.is-loading .form__submit { pointer-events: none; opacity: .85; }
.form__note { font-size: .8rem; color: var(--muted); text-align: center; }
.form__error { padding: 12px 14px; border-radius: 12px; background: #FFF1F2; color: #A3242B; font-size: .88rem; font-weight: 600; }
.form__error a { font-weight: 800; }

.form-done { text-align: center; padding: 30px 6px; display: grid; justify-items: center; gap: 12px; }
.form-done h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; letter-spacing: -.02em; }
.form-done p { color: var(--muted); max-width: 320px; margin-bottom: 10px; }
.form-done__icon svg { width: 76px; height: 76px; }
.form-done__icon circle { fill: var(--blue-50); stroke: var(--blue-600); stroke-width: 2.5; stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw 700ms var(--ease-out-quart) forwards; }
.form-done__icon path { fill: none; stroke: var(--blue-600); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 500ms var(--ease-out-quart) 450ms forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-done:not([hidden]) { animation: pop 450ms var(--ease-out-quart); }
@keyframes pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

/* Contacts */
.contacts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.contact {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 24px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff;
}
.contact__icon { width: 46px; height: 46px; border-radius: 14px; flex: none; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); }
.contact small { display: block; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact b { display: block; margin: 4px 0 2px; font-weight: 800; line-height: 1.35; }
.contact b a { text-decoration: none; }
.contact .muted, .contact .link { font-size: .88rem; font-weight: 600; }
.link { color: var(--blue-600); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .link:hover { text-decoration: underline; } }
.socials { display: flex; gap: 8px; margin-top: 8px; }
.socials a {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--blue-600); color: #fff;
  transition: background-color 200ms ease, transform 160ms var(--ease-out-cubic);
}
.socials a:active { transform: scale(0.95); }
.socials .ic { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) { .socials a:hover { background: var(--blue-800); } }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { position: relative; background: var(--blue-950); color: rgba(229, 237, 255, .7); padding: 88px 0 28px; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand p { margin-top: 20px; max-width: 340px; }
.footer h4 { color: #fff; font-size: .95rem; font-weight: 800; margin-bottom: 18px; }
.footer__grid > div:not(.footer__brand) { display: flex; flex-direction: column; gap: 12px; }
.footer a { text-decoration: none; transition: color 200ms ease; }
.footer__grid a:not(.logo) { font-weight: 600; font-size: .95rem; }
.footer a em { white-space: nowrap; font-style: normal; font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 2px 7px; margin-left: 6px; border-radius: 6px; background: rgba(110, 152, 250, .18); color: var(--blue-300); vertical-align: 1px; }
@media (hover: hover) and (pointer: fine) { .footer__grid a:not(.logo):hover, .link-light:hover { color: #fff; } }
.footer__big {
  margin: 56px 0 8px;
  white-space: nowrap;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(5rem, 20vw, 19rem);
  line-height: .85; letter-spacing: -.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(110, 152, 250, .28);
  user-select: none;
}
.footer__big span { display: inline-block; will-change: transform; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; }

/* Yuqoriga tugmasi */
.totop {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  border: 0; background: #fff; color: var(--blue-700); cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0; transform: translateY(12px) scale(.95); pointer-events: none;
  transition: opacity 250ms var(--ease-out-cubic), transform 250ms var(--ease-out-cubic);
}
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.totop:active { transform: scale(.95); }
.totop .ic { position: relative; }
.totop__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.totop__ring circle { fill: none; stroke: var(--blue-100); stroke-width: 3; }
.totop__ring .totop__fg { stroke: var(--blue-600); stroke-linecap: round; stroke-dasharray: 138.2; stroke-dashoffset: 138.2; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 90;
  max-width: calc(100vw - 32px);
  padding: 14px 20px; border-radius: 14px;
  background: var(--blue-950); color: #fff;
  font-weight: 700; font-size: .92rem;
  box-shadow: var(--shadow-lg);
  opacity: 0; transform: translate(-50%, 14px); pointer-events: none;
  transition: opacity 220ms var(--ease-out-cubic), transform 220ms var(--ease-out-cubic);
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1140px) {
  .nav, .header__login { display: none; }
  .burger { display: block; }
  .courses { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .section { padding: 88px 0; }
  .hero { padding-top: calc(var(--header-h) + 32px); }
  .hero__inner { grid-template-columns: 1fr; gap: 24px; }
  .hero__content { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero__lead { margin-inline: auto; }
  .hero__cta, .hero__trust { justify-content: center; }
  .hv { max-width: 500px; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__brand { grid-row: auto; grid-column: 1 / -1; }
  .journey, .faq { grid-template-columns: 1fr; gap: 48px; }
  .journey__intro, .faq__intro { position: static; }
  .cta { grid-template-columns: 1fr; padding: 48px 40px; gap: 40px; }
  .contacts { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .mk { grid-template-columns: 1fr; }
  .mk__side { display: none; }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .container { padding-inline: 16px; }
  .section { padding: 72px 0; }
  .section__head { margin-bottom: 40px; }
  .header__cta { display: none; }
  .logo__mark { width: 44px; height: 32px; }
  .hero__title { margin: 20px 0 18px; }
  .hero__lead { font-size: 1.02rem; }
  .hero__cta { flex-direction: column; width: 100%; }
  .hero__cta .btn { width: 100%; }
  .hero__trust { margin-top: 28px; }
  .stat { padding: 22px 20px; }
  .marquee { padding: 16px 0; transform: rotate(-1.6deg) scale(1.06); }
  .bento, .courses, .contacts { grid-template-columns: 1fr; }
  .bento__brand { padding: 32px 26px; }
  .steps__track { left: 21px; }
  .step { grid-template-columns: 44px 1fr; gap: 16px; }
  .step__num { width: 44px; height: 44px; font-size: .8rem; }
  .step.is-active .step__num { box-shadow: 0 0 0 5px var(--blue-100); }
  .step__body { padding: 20px; }
  .tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 0 16px 6px; scrollbar-width: none; margin-bottom: 28px; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
  .mk__main { padding: 18px 16px; }
  .mk__kpis { grid-template-columns: repeat(2, 1fr); }
  .mk__grid, .mk__grid--3 { grid-template-columns: 1fr; }
  .mk__top .mk__btn { display: none; }
  .tr { grid-template-columns: 1.4fr .9fr; padding: 12px 14px; }
  .tr > :nth-child(2), .tr > :nth-child(3) { display: none; }
  .cd__bar { padding: 12px 14px; flex-wrap: wrap; }
  .cd__bar .mk__btn { display: none; }
  .cd__body { grid-template-columns: 1fr; padding: 16px; }
  .cd__nav { padding: 12px 14px; }
  .cd__nav span { width: 26px; height: 26px; }
  .result { min-width: 250px; }
  .quote { padding: 96px 0; }
  .quote__mark { font-size: 6rem; }
  .acc__btn { font-size: 1.02rem; padding: 22px 0; }
  .acc__panel p { padding-right: 0; }
  .cta { padding: 36px 20px 20px; border-radius: 28px; }
  .form-card { padding: 26px 20px; border-radius: 22px; }
  .seg span { font-size: .8rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .totop { right: 16px; bottom: 16px; }
}

/* =========================================================
   KAMAYTIRILGAN HARAKAT (prefers-reduced-motion)
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pill__dot::after { animation: none; }
  .hv__ring { animation: none; }
  .float { animation: none; }
  .marquee__track, .rmarquee__track { animation: none; }
  .js .hero__title .w > span, .js .hero__title em::after,
  .js [data-load], .js .hv-pop, .js .bands i::after, .js .spark path { transition: none; }
  .js [data-reveal] { transition: none; opacity: 1; transform: none; }
  .js .quote__text .qw { transition: none; opacity: 1; }
  .nav__pill, .mmenu__overlay, .mmenu__panel, .mmenu__nav a { transition: none; }
  .pane, .bars i, .acc__panel, .acc__panel p, .acc__icon { transition: none; }
  .course__card, .feature, .feature__icon, .step__num, .step__body { transition: none; }
  .btn, .tab, .totop, .toast, .ring__fg { transition: none; }
  .form-done__icon circle, .form-done__icon path, .form-done:not([hidden]) { animation: none; stroke-dashoffset: 0; }
  .rmarquee__row { overflow-x: auto; }
}
