/* attendance.uz — tanishtiruv sahifasi (v126). Rangli uslub: binafsha, sariq, yashil. app.css'dan mustaqil. */

@font-face { font-family: "Manrope"; src: url("/landing/fonts/manrope.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
/* Manrope'da o'zbek kirill harflari (Қ Ғ Ҳ) yo'q — ular shu shriftdan olinadi */
@font-face { font-family: "Fallback Sans"; src: url("/landing/fonts/ssp-regular.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Fallback Sans"; src: url("/landing/fonts/ssp-bold.woff2") format("woff2"); font-weight: 600 800; font-display: swap; }

:root {
    --violet: #4338ca;
    --violet-2: #5b50e0;
    --violet-ink: #2e2591;
    --yellow: #facc15;
    --teal: #14b8a6;
    --ink: #13112b;
    --muted: #5b5d78;
    --soft: #f6f5ff;
    --line: #e7e5f7;
    --white: #ffffff;
    --r-xl: 32px;
    --r-lg: 22px;
    --r-md: 16px;
    --wrap: 1200px;
    --font: "Manrope", "Fallback Sans", "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--soft); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.alt-font { font-family: "Fallback Sans", var(--font); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 0; z-index: 99; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 12px; top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
h1, h2, h3 { margin: 0; letter-spacing: -.03em; line-height: 1.08; font-weight: 800; }

/* ---------------------------------------------------------------- tugmalar */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 54px; padding: 0 28px; border-radius: 999px; font: 700 17px/1 var(--font);
    text-decoration: none; white-space: nowrap; cursor: pointer; border: 2px solid transparent;
    transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn i { font-size: 19px; line-height: 1; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #ffd83d; }
.btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-violet { background: var(--violet); color: #fff; }
.btn-violet:hover { background: var(--violet-ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2750; }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover { transition: none; transform: none; } }

/* ---------------------------------------------------------------- HERO */
.hero {
    position: relative; margin: 14px; border-radius: var(--r-xl); background: var(--violet); color: #fff;
    overflow: hidden; isolation: isolate;
}
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; z-index: -1; }
.hero::before { width: 420px; height: 420px; background: var(--teal); right: 22%; top: -230px; }
.hero::after { width: 760px; height: 760px; background: var(--yellow); right: -240px; bottom: -330px; }

.nav { position: relative; z-index: 5; display: flex; align-items: center; gap: 6px; padding: 24px 0; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; font-weight: 800; font-size: 21px; letter-spacing: -.02em; margin-right: 22px; }
.logo-ic { width: 38px; height: 38px; border-radius: 11px; background: var(--yellow); color: var(--ink); display: grid; place-items: center; font-size: 20px; }
.nav-link { color: #d9dbff; text-decoration: none; font-weight: 600; font-size: 16px; padding: 8px 12px; border-radius: 10px; }
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-sp { flex: 1; }
.nav-login { height: 44px; padding: 0 22px; background: #fff; color: var(--violet); font-size: 16px; }
.nav-login:hover { background: #eef0ff; }

.lang { position: relative; }
.lang-toggle {
    height: 44px; min-width: 56px; padding: 0 12px; border-radius: 999px; border: 0; cursor: pointer;
    background: transparent; color: #fff; font: 700 15px/1 var(--font); display: inline-flex; align-items: center; gap: 6px;
}
.lang-toggle:hover { background: rgba(255, 255, 255, .1); }
.lang .lang-menu {
    display: none; position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; margin: 0; padding: 6px; list-style: none;
    background: #fff; border-radius: var(--r-md); min-width: 180px; box-shadow: 0 18px 44px rgba(19, 17, 43, .22);
}
.lang .lang-menu.show { display: block; }
.lang .lang-menu a { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.lang .lang-menu a:hover { background: var(--soft); }
.lang .lang-menu a.active { background: var(--violet); color: #fff; }
.lang-code { min-width: 26px; font-size: 12px; font-weight: 800; opacity: .65; }

.hero-body { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 40px 0 44px; }
.hero h1 { font-size: clamp(42px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -.04em; }
.hl { display: inline-block; background: var(--yellow); color: var(--ink); padding: 0 .16em; border-radius: .18em; transform: rotate(-2deg); }
.hero-lead { margin: 24px 0 0; font-size: 20px; line-height: 1.6; color: #e0e2ff; max-width: 540px; }
.hero-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-tel { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: #e0e2ff; text-decoration: none; font-weight: 600; font-size: 16px; }
.hero-tel b { color: #fff; font-weight: 800; white-space: nowrap; }
.hero-tel:hover b { color: var(--yellow); }
.hero-tel i { color: var(--yellow); }
.btn-call { background: #fff; color: var(--ink); }
.btn-call:hover { background: #fffbea; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 56px; max-width: 620px; }
.stat { background: rgba(255, 255, 255, .12); border-radius: var(--r-lg); padding: 18px 20px; }
.stat b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; white-space: nowrap; }
.stat span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.35; color: #cfd2ff; }

/* Telefon (HTML'da chizilgan — tugmalar o'zi almashadi) */
.stage { position: relative; min-height: 600px; }
.phone {
    position: absolute; right: 70px; top: 10px; width: 300px; padding: 11px; border-radius: 46px; background: #121024;
    box-shadow: 0 40px 80px rgba(19, 17, 43, .38); transform: rotate(-4deg); z-index: 2;
}
.screen { background: #f3f4fb; border-radius: 36px; overflow: hidden; color: var(--ink); height: 580px; }
.scr-top { display: flex; align-items: center; justify-content: space-between; padding: 22px 20px 12px; background: #fff; }
.scr-top b { font-size: 15px; }
.scr-top i { font-size: 16px; color: #8a8ca6; }
.scr-card { margin: 12px; background: #fff; border-radius: 18px; padding: 12px; }
.scr-paras { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.scr-para { border: 1px solid var(--line); border-radius: 10px; padding: 6px 2px; text-align: center; font-size: 11px; font-weight: 700; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scr-para small { display: block; font-weight: 500; font-size: 9.5px; color: #8a8ca6; }
.scr-para.on { background: var(--violet); border-color: var(--violet); color: #fff; }
.scr-para.on small { color: #d9dbff; }
.scr-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 10px; font-weight: 800; font-size: 14px; }
.scr-count { font-size: 12px; font-weight: 700; background: #eef0ff; color: var(--violet); border-radius: 999px; padding: 4px 10px; }
.row { display: flex; align-items: center; gap: 10px; padding: 9px 8px; border-radius: 12px; border-left: 3px solid #22c55e; background: #f0fdf4; margin-top: 6px; transition: background-color .3s ease, border-color .3s ease; }
.row .av { width: 28px; height: 28px; border-radius: 50%; background: #e7e8fb; color: var(--violet); display: grid; place-items: center; font-size: 12px; font-weight: 800; flex: none; }
.row .nm { flex: 1; min-width: 0; font-size: 13px; font-weight: 700; line-height: 1.25; }
.row .nm > span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .nm small { display: block; font-size: 11px; font-weight: 700; color: #16a34a; }
.sw { width: 38px; height: 22px; border-radius: 999px; background: #22c55e; position: relative; flex: none; transition: background-color .3s ease; }
.sw::after { content: ""; position: absolute; top: 3px; left: 19px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .3s ease; }
.row.off { background: #fef2f2; border-left-color: #ef4444; }
.row.off .nm small { color: #dc2626; }
.row.off .sw { background: #e5e7eb; }
.row.off .sw::after { left: 3px; }

.chip {
    position: absolute; z-index: 3; display: flex; gap: 12px; align-items: center; background: #fff; color: var(--ink);
    padding: 12px 18px 12px 12px; border-radius: 18px; box-shadow: 0 18px 40px rgba(19, 17, 43, .22); font-weight: 700; font-size: 15px; line-height: 1.3;
}
.chip small { display: block; font-weight: 500; font-size: 13px; color: var(--muted); }
.chip-ic { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 19px; color: #fff; flex: none; }
.chip-1 { left: -20px; top: 110px; }
.chip-1 .chip-ic { background: var(--teal); }
.chip-2 { right: 10px; bottom: 20px; }
.chip-2 .chip-ic { background: var(--violet); }

/* ---------------------------------------------------------------- bo'limlar */
.sec { padding: 96px 0 0; }
.sec-head { max-width: 720px; }
.sec h2 { font-size: clamp(32px, 4vw, 50px); }
.sec-lead { margin: 16px 0 0; font-size: 19px; color: var(--muted); }

/* Qanday ishlaydi — uch rangli blok */
.steps { display: grid; gap: 20px; margin-top: 44px; }
.block { position: relative; border-radius: var(--r-xl); padding: 48px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; overflow: hidden; isolation: isolate; }
.block-n { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; font-weight: 800; font-size: 20px; margin-bottom: 18px; }
.block h3 { font-size: clamp(28px, 3vw, 40px); }
.block p { margin: 16px 0 0; font-size: 18px; line-height: 1.65; }
.block ul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.block li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.block li i { font-size: 20px; line-height: 1.4; }
.b-violet { background: var(--violet); color: #fff; }
.b-violet p { color: #e0e2ff; }
.b-violet .block-n { background: var(--yellow); color: var(--ink); }
.b-violet li i { color: var(--yellow); }
.b-teal { background: var(--teal); color: #052e2b; }
.b-teal p { color: #08403b; }
.b-teal .block-n { background: #fff; color: var(--teal); }
.b-yellow { background: var(--yellow); color: var(--ink); }
.b-yellow p { color: #4a3d00; }
.b-yellow .block-n { background: var(--ink); color: var(--yellow); }
.block::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; width: 420px; height: 420px; right: -120px; top: -160px; background: rgba(255, 255, 255, .1); }

.shot-phone { justify-self: center; width: 270px; padding: 10px; border-radius: 40px; background: #121024; box-shadow: 0 30px 60px rgba(19, 17, 43, .35); transform: rotate(3deg); }
.shot-phone img { border-radius: 30px; }
.shot-wide { border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 60px rgba(19, 17, 43, .25); background: #fff; }
.b-yellow { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); }

/* Telegram xabarlari (tyutor bloki) */
.tg { background: #fff; border-radius: var(--r-lg); padding: 18px; box-shadow: 0 30px 60px rgba(4, 47, 43, .25); max-width: 460px; justify-self: center; width: 100%; }
.tg-top { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.tg-av { width: 40px; height: 40px; border-radius: 50%; background: var(--violet); color: var(--yellow); display: grid; place-items: center; font-size: 19px; }
.tg-top b { display: block; font-size: 15px; color: var(--ink); }
.tg-top small { color: #229ed9; font-size: 13px; font-weight: 600; }
.msg { margin-top: 12px; background: #f1f5ff; border-radius: 4px 16px 16px 16px; padding: 11px 14px; font-size: 14.5px; line-height: 1.5; color: var(--ink); max-width: 92%; }
.msg b { display: block; }
.msg time { display: block; text-align: right; font-size: 11.5px; color: #8a8ca6; margin-top: 2px; }

/* Imkoniyatlar */
.feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.feat { background: #fff; border-radius: var(--r-lg); padding: 26px 24px; border: 1px solid var(--line); }
.feat-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; margin-bottom: 18px; }
.feat h3 { font-size: 20px; letter-spacing: -.02em; line-height: 1.25; }
.feat p { margin: 8px 0 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.ic-v { background: #eceaff; color: var(--violet); }
.ic-y { background: #fff6cc; color: #a16207; }
.ic-t { background: #d5f5f0; color: #0f766e; }

/* Kimlar uchun */
.who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.who-card { border-radius: var(--r-lg); padding: 30px 28px; background: #fff; border: 1px solid var(--line); display: flex; gap: 18px; align-items: flex-start; }
.who-card i { font-size: 30px; color: var(--violet); line-height: 1; }
.who-card b { display: block; font-size: 22px; letter-spacing: -.02em; }
.who-card span { display: block; margin-top: 6px; color: var(--muted); font-size: 15.5px; line-height: 1.55; }

/* Narx */
.price {
    position: relative; overflow: hidden; isolation: isolate; margin-top: 44px; border-radius: var(--r-xl); background: var(--yellow);
    padding: 56px; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 40px; align-items: center;
}
.price::after { content: ""; position: absolute; z-index: -1; width: 300px; height: 300px; border-radius: 50%; background: rgba(255, 255, 255, .35); left: -120px; bottom: -170px; }
.price-big { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; }
.price p { margin: 16px 0 0; font-size: 18px; color: #4a3d00; max-width: 560px; }
.price-act { display: grid; gap: 10px; justify-items: center; }
.price-act small { font-weight: 700; color: #4a3d00; }

/* Savollar */
.faq { margin-top: 36px; display: grid; gap: 12px; max-width: 880px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--soft); color: var(--violet); display: grid; place-items: center; font-size: 22px; font-weight: 600; transition: transform .2s ease, background-color .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--yellow); color: var(--ink); }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--muted); font-size: 16.5px; }

/* Footer */
.foot { margin: 96px 14px 14px; border-radius: var(--r-xl); background: var(--ink); color: #c9cae0; padding: 44px 0; }
.foot-in { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.foot .logo { margin: 0; }
.foot-sub { display: block; margin-top: 8px; font-size: 14px; color: #9a9bb8; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-links a { color: #fff; text-decoration: none; font-weight: 600; }
.foot-links a:hover { color: var(--yellow); }
.foot small { color: #8a8ba8; }

/* ---------------------------------------------------------------- moslashuv */
@media (max-width: 1100px) {
    .nav-link { display: none; }
    .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
    .hero-body { grid-template-columns: minmax(0, 1fr); padding-top: 24px; }
    .hero::before { width: 260px; height: 260px; right: -60px; top: -140px; }
    .hero::after { width: 520px; height: 520px; right: -200px; bottom: -220px; }
    .stage { min-height: 560px; max-width: 420px; width: 100%; margin: 0 auto; }
    .phone { right: auto; left: 50%; margin-left: -150px; top: 0; transform: rotate(-3deg); }
    .chip-1 { left: -4px; top: 150px; }
    .chip-2 { right: -4px; bottom: 10px; }
    .block, .b-yellow { grid-template-columns: minmax(0, 1fr); padding: 36px 28px; gap: 36px; }
    .price { grid-template-columns: minmax(0, 1fr); padding: 40px 28px; }
    .price-act { justify-items: start; }
    .who { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
    body { font-size: 16px; }
    .wrap { padding: 0 18px; }
    .hero { margin: 8px; border-radius: 26px; }
    .nav { padding: 16px 0; gap: 2px; }
    .logo { font-size: 18px; margin-right: 0; gap: 9px; }
    .logo-ic { width: 32px; height: 32px; font-size: 17px; border-radius: 9px; }
    .nav-login { height: 40px; padding: 0 16px; font-size: 15px; }
    .lang-toggle { height: 40px; min-width: 46px; padding: 0 8px; }
    .lang-toggle i { display: none; }
    .hero-lead { font-size: 18px; }
    .hero-acts .btn { flex: 1 1 100%; }
    .stats { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 32px; }
    .stat { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 16px; }
    .stat b { font-size: 20px; min-width: 96px; }
    .stat span { margin-top: 0; font-size: 14px; }
    .stage { min-height: 520px; }
    .phone { width: 260px; margin-left: -130px; border-radius: 40px; padding: 9px; }
    .screen { height: 500px; border-radius: 32px; }
    .chip { font-size: 13.5px; padding: 9px 14px 9px 9px; gap: 9px; }
    .chip small { font-size: 12px; }
    .chip-ic { width: 34px; height: 34px; font-size: 16px; }
    .sec { padding-top: 72px; }
    .block { padding: 30px 20px; border-radius: 26px; }
    .shot-phone { width: 250px; }
    .feats { grid-template-columns: minmax(0, 1fr); }
    .price { padding: 32px 22px; border-radius: 26px; }
    .price-act, .price-act .btn { width: 100%; }
    .hero-tel { flex-wrap: wrap; }
    .faq summary { padding: 18px; font-size: 16.5px; }
    .faq details p { padding: 0 18px 18px; }
    .foot { margin: 72px 8px 8px; border-radius: 26px; padding: 36px 0; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .row, .sw, .sw::after, .faq summary::after { transition: none; }
}
