/* ZamDirektor AI — sotuv sahifasi (maket asosida) */
:root {
  --p: #1d6ff2;
  --p2: #0f4fd6;
  --navy: #0b1f4d;
  --text: #13213d;
  --muted: #55627b;
  --border: #e2e8f3;
  --ok: #16a34a;
  --warn: #d48806;
  --bad: #dc2626;
  --shadow: 0 2px 6px rgba(16, 33, 70, .04), 0 12px 32px rgba(16, 33, 70, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--text); background: #f6f9fe; line-height: 1.45; }
a { color: var(--p); text-decoration: none; }
button { font-family: inherit; }
.ico { flex: 0 0 auto; vertical-align: middle; }
.l-wrap { max-width: 1560px; margin: 0 auto; padding: 0 40px; }
section { scroll-margin-top: 80px; }

/* ---------- Tugmalar ---------- */
.l-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .7rem 1.35rem; border-radius: 10px; border: 2px solid transparent;
  background: linear-gradient(135deg, #2b7fff, var(--p2)); color: #fff; font-weight: 700; font-size: 1rem;
  box-shadow: 0 8px 20px rgba(29, 111, 242, .3); cursor: pointer; white-space: nowrap;
  transition: transform .12s, box-shadow .12s;
}
.l-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(29, 111, 242, .38); }
.l-btn-lg { padding: .95rem 1.7rem; font-size: 1.12rem; }
.l-btn-ghost { background: #fff; color: var(--navy); border-color: var(--p); box-shadow: none; }
.l-btn-ghost .ico { color: var(--navy); }
.l-btn-white { background: #fff; color: var(--p2); box-shadow: 0 8px 22px rgba(0, 0, 0, .18); }
.l-btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .75); box-shadow: none; }
.l-btn-block { width: 100%; }

/* ---------- Sarlavha ---------- */
.l-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--border); }
.l-header-in { display: flex; align-items: center; gap: 2rem; height: 76px; }
.l-brand { display: flex; align-items: center; gap: .65rem; color: var(--navy); padding-right: 2.2rem; border-right: 1px solid var(--border); }
.l-brand b { display: block; font-size: 1.55rem; line-height: 1.05; letter-spacing: -.02em; font-weight: 800; }
.l-brand em { font-style: normal; color: var(--p); }
.l-brand small { display: block; color: var(--navy); font-size: .82rem; font-weight: 600; opacity: .85; }
.l-nav { display: flex; gap: 3rem; flex: 1; justify-content: center; }
.l-nav a { color: var(--navy); font-weight: 600; font-size: 1.05rem; }
.l-nav a:hover { color: var(--p); }
.l-header-cta { display: flex; align-items: center; gap: 1.2rem; }
.l-link { font-weight: 700; color: var(--navy); }

/* ---------- Hero ---------- */
.l-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 600px at 90% 0%, rgba(29, 111, 242, .14), transparent 60%),
    linear-gradient(180deg, #f5f9ff 0%, #eaf2fd 100%);
  padding: 44px 0 96px;
}
/* bino matn va noutbuk orasidagi bo'shliqda turadi (noutbuk uni qisman yopadi) */
.l-school { position: absolute; z-index: 0; left: 500px; bottom: 10px; width: 400px; pointer-events: none; }
.l-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 540px) minmax(0, 1fr); gap: clamp(40px, calc(10vw - 20px), 200px); align-items: center; }
.l-hero-text { position: relative; z-index: 1; padding-bottom: 20px; }
.l-hero h1 { margin: 0 0 1.4rem; font-size: clamp(2.2rem, 3.4vw, 3.4rem); line-height: 1.08; letter-spacing: -.03em; color: var(--navy); font-weight: 900; }
.l-hero h1 span { position: relative; display: inline-block; color: var(--p2); background: linear-gradient(90deg, #0f4fd6, #2b7fff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-bottom: .12em; }
.l-hero h1 span svg { position: absolute; left: 4%; right: 0; bottom: -.12em; width: 92%; height: .3em; }
.l-lead { font-size: 1.32rem; color: #34425e; max-width: 33rem; margin: 0 0 2rem; }
.l-hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.l-checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: auto auto; justify-content: start; gap: .8rem 2rem; font-weight: 500; font-size: 1.02rem; }
.l-checks li { display: flex; align-items: center; gap: .55rem; }
.l-checks .ico { color: var(--ok); }

/* ---------- Noutbuk ---------- */
.l-laptop { position: relative; z-index: 2; }
.l-screen {
  display: grid; grid-template-columns: 19% 1fr; aspect-ratio: 16 / 9.6;
  border: 14px solid #161b26; border-bottom-width: 18px; border-radius: 22px 22px 8px 8px;
  background: #f3f6fb; overflow: hidden; box-shadow: 0 36px 70px rgba(11, 31, 77, .28);
  font-size: clamp(5px, .53vw, 9.5px);
}
.l-screen b, .l-screen span, .l-screen small { white-space: nowrap; }
.m-tl span:last-child, .m-tt span { overflow: hidden; text-overflow: ellipsis; }
.l-laptop-base { position: relative; height: 18px; margin: 0 -5%; border-radius: 0 0 22px 22px; background: linear-gradient(180deg, #e3e7ee, #a9b1bf); box-shadow: 0 16px 28px rgba(11, 31, 77, .22); }
.l-laptop-base::before { content: ""; position: absolute; left: 42%; right: 42%; top: 0; height: 6px; border-radius: 0 0 8px 8px; background: #c3cad6; }

.m-side { background: linear-gradient(180deg, #0f2a5c, #0a1f4b); color: #d7e2fb; padding: 1.1em .8em; }
.m-logo { display: flex; align-items: center; gap: .5em; color: #fff; margin-bottom: 1.4em; }
.m-logo svg { width: 2.6em; height: 2.6em; flex: 0 0 auto; }
.m-logo b { display: block; font-size: 1.15em; line-height: 1.1; }
.m-logo em { font-style: normal; color: #6aa8ff; }
.m-logo small { display: block; font-size: .7em; color: #9fb3d9; }
.m-nav { display: flex; align-items: center; gap: .7em; padding: .62em .7em; border-radius: .5em; margin-bottom: .25em; font-weight: 600; }
.m-nav .ico { width: 1.35em; height: 1.35em; }
.m-nav.on { background: var(--p); color: #fff; }
.m-ai { margin-left: auto; padding: .05em .45em; border-radius: .35em; background: #3d7ff5; color: #fff; font-style: normal; font-weight: 800; font-size: .85em; }

.m-main { padding: 1em 1.3em; display: flex; flex-direction: column; gap: .8em; min-width: 0; min-height: 0; }
.m-top { display: flex; justify-content: space-between; align-items: flex-start; }
.m-top b { display: block; font-size: 1.5em; color: var(--navy); }
.m-top small { color: var(--muted); }
.m-top-r { display: flex; align-items: center; gap: .6em; font-size: 1.1em; }
.m-top-r .ico { width: 1.4em; height: 1.4em; color: var(--p); }
.m-bell { position: relative; margin-right: .6em; }
.m-bell::after { content: ""; position: absolute; top: 0; right: 0; width: .5em; height: .5em; border-radius: 50%; background: var(--bad); }
.m-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8em; }
.m-stat { position: relative; display: flex; align-items: center; gap: .7em; padding: .9em 1em; border-radius: .9em; }
.m-stat b { display: block; font-size: 2em; line-height: 1.05; color: var(--navy); }
.m-stat span { font-weight: 600; color: #3b4a66; }
.m-stat i { position: absolute; top: .7em; right: .7em; font-style: normal; font-weight: 800; font-size: .95em; }
.m-si { display: inline-flex; align-items: center; justify-content: center; width: 3em; height: 3em; border-radius: 50%; background: rgba(255, 255, 255, .7); }
.m-si .ico { width: 1.7em; height: 1.7em; }
.s-info { background: #e7efff; } .s-info .m-si { color: var(--p); }
.s-ok { background: #e3f6ea; } .s-ok i, .s-ok .m-si { color: var(--ok); }
.s-warn { background: #fdf1dc; } .s-warn i, .s-warn .m-si { color: var(--warn); }
.s-bad { background: #fde7e7; } .s-bad i, .s-bad .m-si { color: var(--bad); }

.m-row3 { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: .8em; }
.m-row2 { display: grid; grid-template-columns: 1fr 1.2fr; gap: .8em; flex: 1; min-height: 0; }
.m-card { background: #fff; border: 1px solid var(--border); border-radius: .9em; padding: .85em 1em; min-width: 0; }
.m-title { display: flex; align-items: center; gap: .4em; font-weight: 800; color: var(--navy); margin-bottom: .7em; }
.m-title small { font-weight: 500; color: var(--muted); }
.m-title a { margin-left: auto; font-weight: 600; color: var(--p); }
.m-title .ico { width: 1.4em; height: 1.4em; color: var(--p); }
.m-cls { display: grid; grid-template-columns: 2.4em 1fr 3.2em; align-items: center; gap: .5em; margin-bottom: .55em; }
.m-bar { height: .9em; border-radius: 1em; background: #e6ebf3; overflow: hidden; }
.m-bar i { display: block; height: 100%; border-radius: inherit; background: #4ccd78; }
.m-bar i.warn { background: #f2c14e; }
.m-cls em { font-style: normal; font-weight: 800; font-size: .9em; text-align: center; padding: .1em 0; border-radius: .4em; background: #e3f6ea; color: var(--ok); }
.m-cls em.warn { background: #fdf1dc; color: var(--warn); }
.m-tl { display: grid; grid-template-columns: 3em 1.2em 1fr; align-items: center; gap: .3em; padding: .35em .4em; margin-bottom: .2em; border-radius: .4em; color: var(--muted); }
.m-tl b { color: var(--navy); }
.m-dot { width: .9em; height: .9em; border-radius: 50%; border: .18em solid #c7d1e0; background: #fff; }
.m-tl.done .m-dot { border-color: var(--ok); background: var(--ok); }
.m-tl.done span:last-child { color: var(--navy); font-weight: 600; }
.m-tl.now { background: var(--p); color: #fff; }
.m-tl.now b { color: #fff; }
.m-tl.now .m-dot { border-color: #fff; background: var(--p); }
.m-tt { display: grid; grid-template-columns: 3.6em 6.6em 1fr; gap: .3em; padding: .35em .45em; margin-bottom: .2em; border-radius: .4em; }
.m-tt b { color: var(--navy); }
.m-tt.now { background: var(--p); color: #fff; }
.m-tt.now b { color: #fff; }
.m-ai-card { display: flex; align-items: center; gap: 1em; }
.m-ai-card p { margin: 0 0 .8em; color: #3b4a66; white-space: normal; }
.m-btn { display: inline-block; padding: .55em 1em; border-radius: .5em; background: linear-gradient(135deg, #2b7fff, var(--p2)); color: #fff; font-weight: 700; }
.m-cal { position: relative; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 7em; height: 7em; border-radius: 1.2em; background: linear-gradient(160deg, #e9f1ff, #c9dcff); color: var(--p); transform: rotate(-8deg); box-shadow: 0 .6em 1.4em rgba(29, 111, 242, .25); }
.m-cal .ico { width: 4.2em; height: 4.2em; }
.m-cal i { position: absolute; right: -.4em; bottom: -.2em; padding: .2em .45em; border-radius: .5em; background: linear-gradient(135deg, #6a5cff, #2b7fff); color: #fff; font-style: normal; font-weight: 900; font-size: 1.3em; }
.m-chart { position: relative; display: flex; align-items: flex-end; gap: .8em; height: 9em; padding-left: 3em; }
.m-axis { position: absolute; left: 0; top: 0; bottom: 1.4em; display: flex; flex-direction: column; justify-content: space-between; color: var(--muted); font-size: .8em; }
.m-col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: .3em; }
.m-col i { width: 62%; border-radius: .2em .2em 0 0; background: linear-gradient(180deg, #45d36f, #18a849); }
.m-col span { font-size: .8em; color: var(--muted); height: 1.1em; }

/* ---------- Imkoniyatlar ---------- */
.l-features-wrap { position: relative; z-index: 3; margin-top: -60px; }
.l-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.l-feature { position: relative; display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.4rem 1.3rem; background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); }
.l-feature h3 { margin: .1rem 0 .4rem; font-size: 1.3rem; color: var(--navy); letter-spacing: -.01em; white-space: nowrap; }
.l-feature p { margin: 0; color: #3b4a66; font-size: .96rem; }
.l-ficon { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; flex: 0 0 auto; border-radius: 20px; background: linear-gradient(160deg, #f0f5ff, #dbe7fb); color: var(--p2); }
.l-soon { position: absolute; top: .6rem; right: .7rem; padding: .05rem .45rem; border-radius: 1rem; background: #fdf1dc; color: var(--warn); font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }

/* ---------- Qanday ishlaydi ---------- */
.l-how { padding: 36px 0 48px; }
.l-how-in { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: center; }
.l-how-head h2 { margin: 0; font-size: 2rem; color: var(--navy); border-left: 6px solid var(--p); padding-left: 1rem; line-height: 1.15; }
.l-how-head p { margin: .5rem 0 0; color: var(--muted); font-size: 1.1rem; padding-left: 1.4rem; }
.l-steps { display: flex; align-items: center; gap: 14px; }
.l-step { flex: 1; display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); min-width: 0; }
.l-step { padding: .95rem 1rem; gap: .85rem; }
.l-step b { color: var(--navy); font-size: 1.08rem; white-space: nowrap; }
.l-step p { margin: .2rem 0 0; font-size: .88rem; color: var(--muted); }
.l-sicon { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; flex: 0 0 auto; border-radius: 16px; background: #eef3fb; }
.l-sicon.s-ai { color: var(--p2); background: #e7efff; }
.l-sicon.s-ok { color: var(--ok); background: #e3f6ea; }
.l-sicon.s-sms { background: #e7efff; }
.l-arrow { color: var(--p); flex: 0 0 auto; }

/* ---------- CTA va pastki qism ---------- */
.l-cta { position: relative; overflow: hidden; background: linear-gradient(110deg, #0a2668 0%, #1350cc 55%, #1d6ff2 100%); color: #fff; padding: 46px 0 0; border-radius: 48px 48px 0 0; }
.l-cta-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) auto; gap: 1.5rem 2.5rem; align-items: center; padding-bottom: 40px; }
.l-cta h2 { margin: 0; font-size: clamp(1.5rem, 2vw, 2.1rem); letter-spacing: -.02em; }
.l-cta h2 span { color: #5fd0ff; }
.l-cta p { margin: 0; padding-left: 2.5rem; border-left: 1px solid rgba(255, 255, 255, .35); color: #e1ebff; font-size: 1.08rem; max-width: 28rem; }
.l-cta-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
/* .l-wrap media-qoidalari padding'ni qayta yozmasligi uchun aniqroq selektor */
.l-cta .l-cta-in { padding-bottom: 40px; }
.l-cta .l-footer-in { padding-top: 18px; padding-bottom: 22px; }
.l-cta-cap { position: absolute; right: -10px; bottom: -6px; width: 110px; opacity: .1; transform: rotate(-12deg); pointer-events: none; }
.l-footer-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .8rem; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid rgba(255, 255, 255, .15); color: #c8d7f5; font-size: .9rem; }
.l-contacts { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.l-contacts a { display: inline-flex; align-items: center; gap: .4rem; color: #fff; font-weight: 600; }

/* ---------- Ariza oynasi ---------- */
.l-modal { width: min(460px, calc(100vw - 32px)); padding: 1.8rem; border: 0; border-radius: 22px; box-shadow: 0 30px 80px rgba(11, 31, 77, .35); color: var(--text); }
.l-modal::backdrop { background: rgba(11, 31, 77, .55); backdrop-filter: blur(3px); }
.l-modal h3 { margin: 0 0 .3rem; font-size: 1.5rem; color: var(--navy); }
.l-muted { margin: 0 0 1.2rem; color: var(--muted); }
.l-close { position: absolute; top: .7rem; right: .9rem; width: 36px; height: 36px; border: 0; border-radius: 10px; background: #f1f4f9; font-size: 1.5rem; line-height: 1; color: var(--muted); cursor: pointer; }
.l-modal label { display: block; margin-bottom: .85rem; font-weight: 600; font-size: .92rem; }
.l-modal input:not([type=radio]), .l-modal textarea {
  display: block; width: 100%; margin-top: .35rem; padding: .7rem .85rem; font: inherit; font-weight: 400;
  border: 1px solid var(--border); border-radius: 12px; background: #fbfcff;
}
.l-modal input:focus, .l-modal textarea:focus { outline: 2px solid var(--p); outline-offset: -1px; }
.l-kind { display: flex; gap: .5rem; margin-bottom: 1rem; }
.l-kind label { flex: 1; display: flex; align-items: center; justify-content: center; gap: .4rem; margin: 0; padding: .6rem; border: 1px solid var(--border); border-radius: 12px; cursor: pointer; }
.l-kind label:has(input:checked) { border-color: var(--p); background: #eef4ff; color: var(--p2); }
.l-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.l-error { margin-bottom: 1rem; padding: .7rem .9rem; border-radius: 10px; background: #fde7e7; color: var(--bad); }
.l-sent { text-align: center; padding: 1rem 0 .4rem; }
.l-sent > span { color: var(--ok); }
.l-sent h3 { margin: .6rem 0 .3rem; }
.l-sent p { margin: 0 0 1.4rem; color: var(--muted); }

/* ---------- Moslashuvchanlik ---------- */
@media (max-width: 1280px) {
  .l-wrap { padding: 0 28px; }
  .l-nav { gap: 1.8rem; }
  .l-features { gap: 14px; }
  .l-feature { padding: 1.1rem 1rem; gap: .8rem; }
  .l-ficon { width: 54px; height: 54px; border-radius: 14px; }
  .l-ficon .ico { width: 28px; height: 28px; }
  .l-feature h3 { font-size: 1.08rem; }
  .l-feature p { font-size: .88rem; }
  .l-how-in { grid-template-columns: 200px 1fr; gap: 16px; }
  .l-how-head h2 { font-size: 1.6rem; }
  .l-steps { gap: 8px; }
  .l-step { padding: .8rem .75rem; gap: .6rem; }
  .l-sicon { width: 48px; height: 48px; }
  .l-sicon svg { width: 34px; height: 34px; }
  .l-step b { font-size: .98rem; }
  .l-step p { font-size: .8rem; }
  .l-cta-in { grid-template-columns: 1fr auto; gap: .8rem 2rem; }
  .l-cta p { grid-row: 2; padding-left: 0; border-left: 0; }
  .l-cta-btns { grid-row: 1 / 3; grid-column: 2; }
}
@media (max-width: 1050px) {
  .l-hero-in { grid-template-columns: 1fr; }
  .l-school { left: auto; right: 0; top: 0; bottom: auto; width: 340px; max-width: 55vw; opacity: .3; }
  .l-laptop { max-width: 760px; width: 100%; margin: 0 auto; }
  .l-screen { font-size: clamp(4.2px, 1.05vw, 10px); }
  .l-features-wrap { margin-top: -40px; }
  .l-features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .l-nav { display: none; }
  .l-brand { border-right: 0; padding-right: 0; }
  .l-header-cta { margin-left: auto; }
  .l-how-in { grid-template-columns: 1fr; }
  .l-steps { flex-direction: column; align-items: stretch; }
  .l-arrow { transform: rotate(90deg); align-self: center; }
  .l-cta-in { grid-template-columns: 1fr; }
  .l-cta-btns { grid-row: auto; grid-column: auto; flex-direction: row; }
}
@media (max-width: 600px) {
  .l-wrap { padding: 0 16px; }
  .l-header-in { height: 64px; gap: .8rem; }
  .l-brand svg { width: 36px; height: 36px; }
  .l-brand b { font-size: 1.15rem; white-space: nowrap; }
  .l-brand small, .l-hide-sm { display: none; }
  .l-header-cta { gap: .7rem; }
  .l-header-cta .l-btn { padding: .5rem .85rem; font-size: .9rem; }
  .l-hero { padding: 30px 0 70px; }
  .l-school { display: none; }
  .l-lead { font-size: 1.08rem; }
  .l-hero-btns .l-btn { width: 100%; }
  .l-checks { grid-template-columns: 1fr; }
  .l-laptop-base { margin: 0 -2%; }
  .l-features { grid-template-columns: 1fr; }
  .l-feature h3 { font-size: 1.2rem; }
  .l-ficon { width: 60px; height: 60px; }
  .l-cta { border-radius: 28px 28px 0 0; }
  .l-cta-btns { flex-direction: column; }
  .l-cta-btns .l-btn { width: 100%; }
}
