* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body { padding-bottom: 96px; color: #f2f4ff; background: #0d1030; font: 16px/1.55 system-ui, "Segoe UI", Roboto, sans-serif; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: radial-gradient(900px 600px at 10% 0%, #3b4cb8 0, transparent 60%), radial-gradient(700px 600px at 100% 45%, #5b2f91 0, transparent 60%), radial-gradient(600px 500px at 20% 100%, #11606b 0, transparent 60%); }
main { max-width: 980px; margin: 0 auto; padding: 0 16px; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

.top { position: sticky; top: 0; z-index: 5; display: flex; justify-content: center; gap: 4px; padding: 10px 8px; background: rgba(13, 16, 48, .75); backdrop-filter: blur(14px); }
.top a { padding: 7px 11px; border-radius: 10px; color: #cfd4f7; font-size: 14px; }
.top a:hover { background: rgba(255, 255, 255, .1); }

.hero { padding: 34px 0 6px; text-align: center; }
.who { color: #b9c0ee; font-size: 15px; }
h1 { max-width: 720px; margin: 10px auto; font-size: clamp(28px, 6vw, 46px); line-height: 1.18; }
h1 span { background: linear-gradient(90deg, #8fb0ff, #d59bff, #6ff0c0, #8fb0ff); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 7s linear infinite; }
@keyframes shine { to { background-position: 300% 0; } }
.hero > p:last-of-type { max-width: 560px; margin: 0 auto; color: #cfd4f7; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.button { display: inline-block; padding: 13px 20px; border: 1px solid transparent; border-radius: 15px; background: linear-gradient(135deg, #6f8fff, #a95cf5); color: #fff; font-weight: 600; text-align: center; transition: transform .15s; }
.button:hover { transform: translateY(-2px); }
.button.ghost { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); }

/* Navbatlashib o'tuvchi bannerlar */
.carousel { margin-top: 28px; }
.track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 26px; }
.track::-webkit-scrollbar { display: none; }
.slide { position: relative; isolation: isolate; display: flex; flex: 0 0 100%; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; aspect-ratio: 1024 / 500; min-height: 230px; padding: 20px 16px; overflow: hidden; scroll-snap-align: start; scroll-snap-stop: always; text-align: center; background: #171b4a; }
.slide strong { font-size: clamp(20px, 4.5vw, 34px); line-height: 1.2; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.slide small { max-width: 520px; color: #eef0ff; font-size: clamp(13px, 2.2vw, 17px); text-shadow: 0 1px 8px rgba(0, 0, 0, .8); }
/* Haqiqiy rasm butun bannerni egallaydi; matn o'qilishi uchun pastdan qoraytiriladi. */
.slide .bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.slide:has(.bg)::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8, 10, 32, .92) 0%, rgba(8, 10, 32, .72) 38%, rgba(8, 10, 32, .08) 75%); }
.slide.photo { padding: 0; justify-content: center; background: #10675f; }
.slide.photo img { width: 100%; height: 100%; object-fit: contain; }
.slide .logo { width: 62px; height: 62px; border-radius: 16px; box-shadow: 0 6px 20px rgba(0, 0, 0, .45); }
.dots { display: flex; justify-content: center; gap: 4px; margin-top: 6px; }
.dots button { width: 28px; height: 24px; border: 0; background: none; cursor: pointer; }
.dots button::after { content: ""; display: block; width: 8px; height: 8px; margin: auto; border-radius: 8px; background: rgba(255, 255, 255, .35); transition: width .3s; }
.dots button[aria-current="true"]::after { width: 24px; background: #fff; }

h2 { margin: 42px 0 14px; font-size: 24px; text-align: center; }
.note { max-width: 560px; margin: 0 auto 14px; color: #ffe3a3; font-size: 14px; text-align: center; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { padding: 20px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 22px; background: rgba(255, 255, 255, .07); backdrop-filter: blur(14px); }
.grid .card { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.grid .card .button { align-self: stretch; margin-top: auto; }
.card p { color: #cfd4f7; font-size: 14.5px; }
.icon { font-size: 34px; line-height: 1.2; }
.app img { width: 64px; height: 64px; border-radius: 16px; }
.tag { padding: 2px 9px; border-radius: 8px; background: rgba(47, 216, 143, .18); color: #a8f0cf; font-size: 12px; }
.tag.demo { background: rgba(255, 200, 90, .18); color: #ffe3a3; }

/* Aylanuvchi dasturlash tillari */
.marquee { overflow: hidden; margin-bottom: 12px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee ul { display: flex; width: max-content; list-style: none; animation: move 55s linear infinite; }
.marquee.reverse ul { animation-direction: reverse; }
.marquee:hover ul { animation-play-state: paused; }
@keyframes move { to { transform: translateX(-50%); } }
.marquee li { display: flex; align-items: center; gap: 9px; margin-right: 12px; padding: 11px 17px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; background: rgba(255, 255, 255, .08); font-weight: 600; white-space: nowrap; }
.marquee img { width: 30px; height: 30px; padding: 3px; border-radius: 8px; background: #fff; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; list-style: none; counter-reset: step; }
.steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 10px; border-radius: 12px; background: linear-gradient(135deg, #6f8fff, #a95cf5); font-weight: 700; }
.contact { margin-top: 42px; text-align: center; }
.contact h2 { margin: 0 0 6px; }
footer { margin-top: 28px; color: #8d94c4; font-size: 13px; text-align: center; }

.dock { position: fixed; z-index: 6; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); display: flex; gap: 8px; max-width: 420px; margin: 0 auto; padding: 8px; border-radius: 20px; background: rgba(20, 24, 66, .85); backdrop-filter: blur(14px); }
.dock .button { flex: 1; padding: 11px; }

/* Kompyuterda banner ixchamroq; pastki tugmalar faqat telefonda. */
@media (min-width: 760px) {
  body { padding-bottom: 32px; }
  .carousel { max-width: 720px; margin-left: auto; margin-right: auto; }
  .dock { display: none; }
}

/* Banner va tillar qatori doim harakatlanadi; faqat bezak animatsiyalari o'chadi. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  h1 span { animation: none; }
}
