/* =====================================================================
   INTRO: MacBook ochilishi (Spatial uslubda)
   ===================================================================== */
.intro {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(60% 50% at 25% 20%, #ffd2ad 0%, transparent 60%), radial-gradient(55% 50% at 80% 30%, #d6d2ff 0%, transparent 60%),
    radial-gradient(60% 50% at 50% 100%, #cfe4ff 0%, transparent 60%), #eef0f6;
  transition: opacity .55s ease, visibility .55s;
}
:root[data-theme="dark"] .intro { background: radial-gradient(60% 50% at 30% 25%, #6b3216 0%, transparent 60%), radial-gradient(55% 50% at 80% 70%, #2d2340 0%, transparent 60%), #120e0c; }
.intro.done { opacity: 0; visibility: hidden; pointer-events: none; }
.intro-stage { perspective: 1400px; perspective-origin: 50% 20%; display: grid; justify-items: center; gap: 34px; }
.mac { position: relative; width: min(78vw, 520px); transform-style: preserve-3d; will-change: transform; }
.mac-lid { position: relative; width: 88%; margin: 0 auto; aspect-ratio: 16 / 10.4; transform-origin: 50% 100%; transform-style: preserve-3d; transform: rotateX(-88deg); }
.mac-lid > div { position: absolute; inset: 0; border-radius: 16px 16px 5px 5px; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.mac-outer { transform: rotateX(180deg); background: linear-gradient(160deg, #eef0f4 0%, #cfd3db 55%, #b8bdc8 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); display: grid; place-items: center; }
.mac-outer::after { content: ''; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #ffb46b, #ff8a5c 45%, #b08cff); opacity: .85; }
.mac-inner { background: #0b0b0d; padding: 3.2%; box-shadow: 0 30px 70px -20px rgba(30, 34, 60, .45); }
.mac-inner::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 14%; height: 3.4%; background: #0b0b0d; border-radius: 0 0 8px 8px; z-index: 2; }
.mac-screen { position: relative; width: 100%; height: 100%; border-radius: 8px; overflow: hidden; background: #000; display: grid; place-items: center; }
.mac-glow { position: absolute; inset: 0; opacity: 0; background: radial-gradient(60% 60% at 25% 25%, #ffcfa6, transparent 65%), radial-gradient(60% 60% at 80% 35%, #d2c8ff, transparent 65%), radial-gradient(60% 60% at 50% 100%, #c6e0ff, transparent 65%), #f1f2f7; }
.mac-boot { position: relative; display: grid; justify-items: center; gap: 14px; opacity: 0; transform: scale(.9); }
.mac-boot .mlogo {
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--font); font-weight: 300; font-size: 28px;
  background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .95) 0 6%, #ffd7a8 20%, #ffa25f 55%, #e8692e 100%);
  box-shadow: inset -6px -9px 16px rgba(0, 0, 0, .14), inset 5px 6px 12px rgba(255, 255, 255, .5), 0 16px 30px -10px rgba(240, 123, 63, .6);
}
.mac-boot .mname { font-family: var(--font); font-weight: 300; font-size: 26px; letter-spacing: -.04em; color: #171a26; }
.mac-boot .mbar { width: 120px; height: 4px; border-radius: 4px; background: rgba(23, 26, 38, .1); overflow: hidden; }
.mac-boot .mbar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #ffb46b, #ff8a5c, #b08cff); border-radius: 4px; }
.mac-base { position: relative; height: 14px; margin-top: -1px; border-radius: 2px 2px 16px 16px; background: linear-gradient(180deg, #e3e6ec 0%, #c3c8d2 60%, #a6acb8 100%); box-shadow: 0 18px 40px -12px rgba(30, 34, 60, .35); }
.mac-base::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 16%; height: 6px; border-radius: 0 0 8px 8px; background: #b2b8c3; }
.mac-shadow { position: absolute; left: 6%; right: 6%; bottom: -26px; height: 26px; border-radius: 50%; background: radial-gradient(closest-side, rgba(30, 34, 60, .22), transparent); }
.intro-caption { text-align: center; opacity: 0; transform: translateY(8px); }
.intro-caption .t { font-family: var(--font); font-weight: 300; font-size: 30px; letter-spacing: -.04em; color: var(--text); }
.intro-caption .t em { font-family: var(--italic); font-style: italic; font-weight: 600; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.intro-caption .s { font-size: 11px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.intro-skip {
  position: absolute; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); right: 22px; border: 1px solid var(--glass-line); background: var(--glass-strong);
  backdrop-filter: blur(12px); color: var(--text-2); font: 500 12px var(--font); padding: 9px 16px; border-radius: 99px; cursor: pointer; opacity: 0; transition: opacity .3s;
}
.intro.play .mac { animation: macTilt 1.7s cubic-bezier(.3, .7, .2, 1) .3s both, macZoom .9s cubic-bezier(.7, 0, .25, 1) 3s forwards; }
.intro.play .mac-lid { animation: lidOpen 1.7s cubic-bezier(.45, .05, .2, 1) .3s forwards; }
.intro.play .mac-glow { animation: fadeIn .6s ease 1.85s forwards; }
.intro.play .mac-boot { animation: bootIn .55s cubic-bezier(.2, .8, .3, 1) 2s forwards; }
.intro.play .mac-boot .mbar i { animation: barFill .8s cubic-bezier(.4, 0, .2, 1) 2.2s forwards; }
.intro.play .intro-caption { animation: capIn .6s ease 1.7s forwards, capOut .35s ease 2.95s forwards; }
.intro.play .intro-skip { opacity: 1; transition-delay: .8s; }
.intro.play { animation: introFade .7s ease 3.25s forwards; }
@keyframes macTilt { from { transform: rotateX(28deg) translateY(30px); } to { transform: rotateX(0deg) translateY(0); } }
@keyframes lidOpen { 0% { transform: rotateX(-90deg); } 15% { transform: rotateX(-84deg); } 80% { transform: rotateX(3deg); } 100% { transform: rotateX(0deg); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes bootIn { to { opacity: 1; transform: scale(1); } }
@keyframes barFill { to { width: 100%; } }
@keyframes capIn { to { opacity: 1; transform: translateY(0); } }
@keyframes capOut { to { opacity: 0; transform: translateY(-6px); } }
@keyframes macZoom { from { transform: rotateX(0) translateY(0) scale(1); } to { transform: rotateX(0) translateY(14%) scale(3.6); } }
@keyframes introFade { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .intro { display: none; } }

/* =====================================================================
   LANDING — Spatial Glass
   ===================================================================== */
.landing { color: var(--text); overflow-x: clip; }
.landing a { color: inherit; }
.l-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.l-em { font-family: var(--italic); font-style: italic; font-weight: 600; letter-spacing: -.01em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 .06em; }

/* Suzuvchi navigatsiya */
.l-nav { position: sticky; top: 0; z-index: 50; padding: calc(12px + env(safe-area-inset-top, 0px)) 12px 0; }
.l-nav .bar {
  max-width: 1120px; margin: 0 auto; display: flex; align-items: center; gap: 10px; height: 62px; padding: 0 8px 0 18px; border-radius: 999px;
  background: color-mix(in srgb, var(--glass-strong) 80%, transparent); border: 1px solid var(--glass-line); box-shadow: 0 14px 34px -16px rgba(30, 34, 60, .3), var(--inner);
  backdrop-filter: blur(22px) saturate(1.6); -webkit-backdrop-filter: blur(22px) saturate(1.6);
}
.l-links { display: none; gap: 4px; margin-left: 18px; }
.l-links a { padding: 9px 14px; border-radius: 999px; font-size: 14px; color: var(--text-2); transition: background .2s, color .2s; }
.l-links a:hover { background: var(--glass-strong); color: var(--text); }
.l-nav .spacer { flex: 1; }
.l-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px;
  font: 550 14.5px var(--font); letter-spacing: -.01em; border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .25s, background .2s; white-space: nowrap;
}
.l-btn:active { transform: scale(.97); }
.l-btn svg { width: 17px; height: 17px; transition: transform .25s; }
.l-btn:hover svg { transform: translateX(3px); }
.l-btn.ink { background: var(--primary); color: var(--on-primary) !important; box-shadow: 0 10px 24px -12px rgba(23, 26, 38, .6); }
.l-btn.warm { background: var(--grad-warm); color: #fff !important; box-shadow: 0 16px 32px -14px rgba(240, 123, 63, .85), inset 0 1px 0 rgba(255, 255, 255, .45); }
.l-btn.glass { background: var(--glass-strong); border-color: var(--glass-line); color: var(--text) !important; box-shadow: var(--shadow), var(--inner); }
.l-btn.white { background: #fff; color: #171a26 !important; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .35); }
.l-btn.plain { color: var(--text-2); padding: 0 14px; }
.l-btn.lg { min-height: 56px; padding: 0 28px; font-size: 15.5px; }
.l-lang { display: inline-flex; border-radius: 999px; padding: 3px; background: var(--glass); border: 1px solid var(--glass-line); }
.l-lang button { border: 0; background: none; padding: 6px 10px; border-radius: 999px; font: 600 11.5px var(--font); color: var(--muted); cursor: pointer; }
.l-lang button.on { background: var(--solid); color: var(--text); box-shadow: 0 4px 10px -6px rgba(30, 34, 60, .4); }

.l-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px; font-size: 12.5px; font-weight: 550; color: var(--text-2);
  background: var(--glass-strong); border: 1px solid var(--glass-line); box-shadow: var(--shadow), var(--inner);
}
.l-pill b { display: inline-grid; place-items: center; height: 22px; padding: 0 9px; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-size: 11px; font-weight: 600; }

/* Hero */
.l-hero { position: relative; padding: 54px 0 20px; text-align: center; }
.l-h1 { font-family: var(--font); font-weight: 250; font-size: clamp(44px, 10.5vw, 104px); line-height: .98; letter-spacing: -.055em; margin: 22px auto 20px; max-width: 980px; }
.l-h1 .l-em { font-size: 1.08em; }
.l-sub { font-size: 17.5px; line-height: 1.6; color: var(--text-2); max-width: 620px; margin: 0 auto; font-weight: 400; letter-spacing: -.01em; }
.l-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

/* Shisha telefonlar sahnasi */
.l-stage { position: relative; height: 640px; margin-top: 56px; perspective: 1600px; }
.l-device {
  position: absolute; left: 50%; top: 0; width: 290px; height: 590px; border-radius: 46px; padding: 10px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .25)); border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 50px 90px -40px rgba(30, 34, 60, .55), inset 0 1px 0 rgba(255, 255, 255, .9);
  backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
  transform-style: preserve-3d; will-change: transform;
}
.l-device.center { transform: translateX(-50%) translateZ(60px); z-index: 3; animation: floatC 7s ease-in-out infinite; }
.l-device.left { transform: translateX(-138%) translateY(40px) rotateY(18deg) scale(.9); z-index: 2; animation: floatL 8s ease-in-out infinite; }
.l-device.right { transform: translateX(38%) translateY(40px) rotateY(-18deg) scale(.9); z-index: 2; animation: floatR 8.5s ease-in-out infinite; }
@keyframes floatC { 50% { transform: translateX(-50%) translateZ(60px) translateY(-12px); } }
@keyframes floatL { 50% { transform: translateX(-138%) translateY(28px) rotateY(18deg) scale(.9); } }
@keyframes floatR { 50% { transform: translateX(38%) translateY(30px) rotateY(-18deg) scale(.9); } }
.l-scr {
  position: relative; height: 100%; border-radius: 37px; overflow: hidden; padding: 46px 16px 16px; display: flex; flex-direction: column; gap: 12px;
  background: radial-gradient(90% 60% at 0% 0%, #ffd9bd, transparent 60%), radial-gradient(80% 60% at 100% 30%, #ddd8ff, transparent 60%), radial-gradient(90% 60% at 50% 100%, #d4e8ff, transparent 60%), #f3f4f8;
  color: #171a26; text-align: left;
}
.l-scr.dark { background: radial-gradient(90% 60% at 20% 10%, #7a3a17, transparent 60%), radial-gradient(80% 60% at 100% 80%, #3a2a52, transparent 60%), #15100d; color: #f7eee6; }
.l-scr::before { content: ''; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 14px; background: #0b0b0d; }
.l-scr .top { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 600; opacity: .7; }
.l-scr h4 { font-weight: 300; font-size: 26px; letter-spacing: -.045em; line-height: 1.1; margin: 4px 0 0; }
.l-scr h4 small { display: block; font-size: 12px; letter-spacing: 0; opacity: .6; font-weight: 400; margin-top: 4px; }
.g-card { border-radius: 22px; padding: 14px; background: rgba(255, 255, 255, .62); border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 10px 24px -14px rgba(30, 34, 60, .3); }
.l-scr.dark .g-card { background: rgba(255, 240, 225, .08); border-color: rgba(255, 230, 210, .14); box-shadow: none; }
.g-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.g-lbl { font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .55; }
.g-num { font-weight: 250; font-size: 32px; letter-spacing: -.05em; line-height: 1.1; }
.g-ring { position: relative; width: 132px; height: 132px; margin: 4px auto; }
.g-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.g-ring .v { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-weight: 250; font-size: 34px; letter-spacing: -.05em; }
.g-ring .v small { display: block; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; opacity: .6; font-weight: 600; }
.g-tabs { display: flex; gap: 6px; }
.g-tabs span { padding: 6px 12px; border-radius: 999px; font-size: 10.5px; font-weight: 600; background: rgba(255, 255, 255, .4); }
.l-scr.dark .g-tabs span { background: rgba(255, 240, 225, .08); }
.g-tabs span.on { background: #fff; color: #171a26; }
.g-wave { display: flex; align-items: center; justify-content: center; gap: 4px; height: 54px; }
.g-wave i { width: 5px; border-radius: 4px; background: linear-gradient(180deg, #ffcf9e, #ff8a5c); animation: wave 1.1s ease-in-out infinite; }
@keyframes wave { 0%, 100% { height: 18%; } 50% { height: 100%; } }
.g-boxes { display: flex; justify-content: center; gap: 5px; margin: 10px 0 4px; }
.g-boxes span { width: 34px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-weight: 500; font-size: 18px; background: rgba(255, 255, 255, .7); border: 1.5px solid rgba(255, 255, 255, .9); color: #171a26; }
.g-boxes span.f { border-color: #171a26; background: #fff; }
.g-boxes span.ok { border-color: #1f9d6b; background: #e3f6ec; color: #1f9d6b; }
.g-ok { text-align: center; font-weight: 600; font-size: 12.5px; color: #1f9d6b; height: 16px; opacity: 0; transition: opacity .3s; }
.g-ok.on { opacity: 1; }
.g-nav { margin-top: auto; display: flex; justify-content: space-around; padding: 8px; border-radius: 999px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .8); }
.l-scr.dark .g-nav { background: rgba(255, 240, 225, .08); border-color: rgba(255, 230, 210, .12); }
.g-nav i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.g-nav i.on { background: #fff; color: #f07b3f; box-shadow: 0 6px 12px -6px rgba(0, 0, 0, .3); }
.g-nav svg { width: 16px; height: 16px; }
.g-item { display: flex; align-items: center; gap: 10px; }
.g-item .orb { width: 34px; height: 34px; } .g-item .orb svg { width: 15px; height: 15px; }
.g-item b { display: block; font-size: 12.5px; font-weight: 600; }
.g-item small { font-size: 10.5px; opacity: .6; }
.g-chip { margin-left: auto; padding: 4px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; background: #e3f6ec; color: #1f9d6b; }

/* Suzuvchi 3D sharlar */
.l-float { position: absolute; z-index: 4; pointer-events: none; animation: bob 6s ease-in-out infinite; }
.l-float.f1 { left: 6%; top: 8%; } .l-float.f2 { right: 7%; top: 2%; animation-delay: -2s; }
.l-float.f3 { left: 14%; bottom: 10%; animation-delay: -4s; } .l-float.f4 { right: 12%; bottom: 16%; animation-delay: -1s; }
@keyframes bob { 50% { transform: translateY(-16px) rotate(6deg); } }
.l-float .orb { box-shadow: inset -10px -14px 24px rgba(0, 0, 0, .14), inset 8px 10px 16px rgba(255, 255, 255, .55), 0 30px 50px -18px var(--glow); }

/* Marquee */
.l-marquee { padding: 28px 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.l-track { display: flex; gap: 12px; width: max-content; animation: marquee 42s linear infinite; }
.l-marquee:hover .l-track { animation-play-state: paused; }
.l-chip { display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--inner); font-size: 14.5px; font-weight: 500; white-space: nowrap; }
.l-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--grad-warm); box-shadow: 0 0 10px rgba(255, 138, 92, .7); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Bo'limlar */
.l-sec { padding: 96px 0; }
.l-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.l-h2 { font-family: var(--font); font-weight: 250; font-size: clamp(36px, 7vw, 66px); line-height: 1.02; letter-spacing: -.05em; margin: 18px 0 14px; }
.l-lead { color: var(--text-2); font-size: 16.5px; line-height: 1.6; }

/* Bento modullar */
.l-bento { display: grid; gap: 14px; }
.l-mod {
  position: relative; display: flex; flex-direction: column; gap: 8px; padding: 26px; min-height: 250px; overflow: hidden; border-radius: 32px; color: var(--text);
  background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--shadow), var(--inner); transition: transform .35s cubic-bezier(.2, .8, .3, 1), box-shadow .35s;
}
.l-mod:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg), var(--inner); }
.l-mod::after { content: ''; position: absolute; width: 280px; height: 280px; right: -90px; top: -110px; border-radius: 50%; background: radial-gradient(closest-side, var(--tone), transparent); opacity: .55; pointer-events: none; }
.l-mod .orb { margin-bottom: 14px; }
.l-mod h3 { font-weight: 400; font-size: 28px; letter-spacing: -.04em; }
.l-mod p { color: var(--text-2); font-size: 14.5px; line-height: 1.6; flex: 1; max-width: 460px; }
.l-mod .ft { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
.l-mod .tag { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.l-mod .go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); transition: transform .25s; }
.l-mod:hover .go { transform: rotate(-45deg); }
.l-mod .go svg { width: 17px; height: 17px; }
.l-mod.big .mini-wave { display: flex; gap: 4px; align-items: center; height: 70px; margin: 8px 0 4px; }
.l-mod .mini-bars { display: flex; gap: 8px; align-items: flex-end; height: 80px; margin: 8px 0 4px; }
.l-mod .mini-bars i { flex: 1; max-width: 28px; border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, #a9cfff, #5b95ef); transform-origin: bottom; animation: grow 1.2s cubic-bezier(.2, .8, .3, 1) both; }
.l-mod .mini-bars i:last-child { background: linear-gradient(180deg, #ffcf9e, #ff8a5c); }
@keyframes grow { from { transform: scaleY(0); } }
.l-mod.big .mini-wave i { flex: 1; max-width: 8px; border-radius: 6px; background: linear-gradient(180deg, #ffcf9e, #ff8a5c); animation: wave 1.3s ease-in-out infinite; }

/* Qadamlar */
.l-steps { display: grid; gap: 14px; }
.l-step { padding: 26px; border-radius: 30px; background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--shadow), var(--inner); }
.l-step .n { font-weight: 200; font-size: 64px; letter-spacing: -.06em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.l-step h3 { font-weight: 450; font-size: 22px; letter-spacing: -.03em; margin: 14px 0 8px; }
.l-step p { color: var(--text-2); line-height: 1.6; font-size: 15px; }

/* Raqamlar paneli — iliq yorug'lik */
.l-stats {
  position: relative; overflow: hidden; border-radius: 36px; padding: 44px 30px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 20px; color: #f7eee6;
  background: radial-gradient(70% 120% at 0% 0%, #8a3f17 0%, transparent 60%), radial-gradient(60% 120% at 100% 100%, #3a2a52 0%, transparent 60%), #17110e;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 235, 215, .14);
}
.l-stats::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 235, 215, .08) 1px, transparent 1px); background-size: 18px 18px; mask-image: linear-gradient(90deg, #000, transparent 70%); pointer-events: none; }
.l-stats > div { position: relative; z-index: 1; }
.l-stats b { display: block; font-weight: 200; font-size: clamp(54px, 10vw, 84px); line-height: 1; letter-spacing: -.06em; }
.l-stats b em { font-style: normal; background: linear-gradient(135deg, #ffcf9e, #ff8a5c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.l-stats small { display: block; margin-top: 10px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #cdbfb3; }

/* Rollar */
.l-roles { display: grid; gap: 14px; }
.l-role { border-radius: 32px; padding: 30px 26px; background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--shadow), var(--inner); }
.l-role.dark { color: #f7eee6; border-color: rgba(255, 230, 210, .14); background: radial-gradient(100% 80% at 100% 0%, #7a3a17, transparent 60%), #17110e; box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 235, 215, .14); }
.l-role .orb { margin-bottom: 16px; }
.l-role h3 { font-weight: 300; font-size: 34px; letter-spacing: -.045em; }
.l-role ul { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 12px; }
.l-role li { display: flex; gap: 10px; font-size: 15px; }
.l-role li svg { width: 18px; height: 18px; color: var(--good); flex-shrink: 0; margin-top: 2px; }
.l-role.dark li svg { color: #ffb27a; }

/* FAQ */
.l-faq { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.l-faq details { border-radius: 24px; background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--inner); padding: 0 22px; }
.l-faq summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-size: 17px; font-weight: 500; letter-spacing: -.02em; }
.l-faq summary::-webkit-details-marker { display: none; }
.l-faq summary span { width: 30px; height: 30px; border-radius: 50%; background: var(--solid); display: grid; place-items: center; flex-shrink: 0; transition: transform .3s; font-size: 18px; color: var(--accent); box-shadow: 0 4px 10px -6px rgba(30, 34, 60, .4); }
.l-faq details[open] summary span { transform: rotate(45deg); }
.l-faq details p { color: var(--text-2); line-height: 1.65; padding: 0 30px 20px 0; }

/* CTA */
.l-cta {
  position: relative; overflow: hidden; border-radius: 40px; padding: 64px 26px; text-align: center; color: #fff;
  background: radial-gradient(80% 120% at 0% 0%, #ffb46b 0%, transparent 60%), radial-gradient(70% 120% at 100% 100%, #9b7bff 0%, transparent 60%), #ff7d55;
  box-shadow: 0 40px 80px -36px rgba(240, 123, 63, .75), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.l-cta .l-h2 { color: #fff; margin: 0 0 12px; }
.l-cta .l-h2 .l-em { background: none; color: #fff; }
.l-cta p { color: rgba(255, 255, 255, .9); margin-bottom: 28px; font-size: 16.5px; }
.l-cta .orb { position: absolute; opacity: .9; }

/* Footer */
.l-foot { padding: 64px 0 calc(28px + env(safe-area-inset-bottom, 0px)); margin-top: 96px; border-top: 1px solid var(--border); }
.l-foot .cols { display: grid; gap: 30px; }
.l-foot h4 { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.l-foot a { display: block; color: var(--text-2); font-size: 14px; padding: 4px 0; }
.l-foot .copy { margin-top: 40px; font-size: 12px; color: var(--muted); }

/* Paydo bo'lish */
.reveal { opacity: 0; transform: translateY(26px) scale(.985); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .3, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .l-track, .l-device, .l-float, .g-wave i, .l-mod .mini-wave i { animation: none !important; }
}

/* Telefon: faqat markaziy qurilma */
@media (max-width: 760px) {
  .l-stage { height: 560px; margin-top: 40px; }
  .l-device { width: 262px; height: 534px; }
  .l-device.left, .l-device.right { display: none; }
  .l-float.f1 { left: 2%; top: 4%; } .l-float.f2 { right: 0; top: 16%; } .l-float.f3 { left: 0; bottom: 18%; } .l-float.f4 { right: 2%; bottom: 6%; }
  .l-float .orb.lg { width: 60px; height: 60px; }
}
@media (min-width: 760px) {
  .l-bento { grid-template-columns: repeat(2, 1fr); }
  .l-steps { grid-template-columns: repeat(3, 1fr); }
  .l-stats { grid-template-columns: repeat(4, 1fr); padding: 54px 50px; }
  .l-roles { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .l-role.dark { transform: translateY(-16px); }
  .l-foot .cols { grid-template-columns: 2fr 1fr 1fr; }
  .l-cta { padding: 90px 40px; }
}
@media (min-width: 1000px) {
  .l-links { display: flex; }
  .l-bento { grid-template-columns: repeat(3, 1fr); }
  .l-mod.big { grid-column: span 2; }
  .l-sec { padding: 120px 0; }
}
@media (max-width: 480px) {
  .l-nav .hide-sm { display: none; }
  .l-nav .bar { padding-left: 14px; gap: 6px; }
  .l-btn { padding: 0 16px; }
}

/* =====================================================================
   TELEFON: ilova kabi ochilish (tizim splash'i bilan aynan bir xil boshlanadi)
   ===================================================================== */
.app-splash {
  position: fixed; inset: 0; z-index: 1001; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(70% 45% at 15% 12%, #ffd2ad 0%, transparent 70%), radial-gradient(65% 45% at 92% 30%, #d6d2ff 0%, transparent 70%),
    radial-gradient(80% 45% at 50% 100%, #cfe4ff 0%, transparent 70%), #eceef4;
}
:root[data-theme="dark"] .app-splash { background: radial-gradient(70% 45% at 15% 12%, #6b3216 0%, transparent 70%), radial-gradient(65% 45% at 92% 70%, #2d2340 0%, transparent 70%), #120e0c; }
:root[data-theme="dark"] .app-splash .as-n { color: #f7eee6; }
.as-c { display: grid; justify-items: center; gap: 22px; transform: translateY(-2vh); }
.as-orb {
  position: relative; width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; will-change: transform;
  background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .95) 0 6%, #ffd7a8 20%, #ffa25f 55%, #e8692e 100%);
  box-shadow: inset -10px -14px 24px rgba(0, 0, 0, .14), inset 8px 10px 16px rgba(255, 255, 255, .5), 0 26px 44px -16px rgba(240, 123, 63, .65);
}
.as-orb svg { width: 46px; height: 46px; }
.as-orb::after { /* yorug'lik halqasi */
  content: ''; position: absolute; inset: -14px; border-radius: 50%; border: 2px solid rgba(255, 162, 95, .55); opacity: 0;
}
.as-n { font-family: var(--font); font-weight: 300; font-size: 30px; letter-spacing: -.045em; color: #171a26; }
.app-splash.play .as-orb { animation: asBreath .9s cubic-bezier(.3, .7, .3, 1) .05s, asZoom .55s cubic-bezier(.7, 0, .3, 1) .95s forwards; }
.app-splash.play .as-orb::after { animation: asRing .9s ease-out .15s; }
.app-splash.play .as-orb svg { animation: asFade .3s ease .95s forwards; }
.app-splash.play .as-n { animation: asFade .3s ease .9s forwards; }
.app-splash.play { animation: asOut .35s ease 1.3s forwards; }
@keyframes asBreath { 0% { transform: scale(1); } 45% { transform: scale(1.08); } 100% { transform: scale(1); } }
@keyframes asRing { 0% { opacity: .9; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.45); } }
@keyframes asZoom { to { transform: scale(14); } }
@keyframes asFade { to { opacity: 0; transform: translateY(6px); } }
@keyframes asOut { to { opacity: 0; visibility: hidden; } }
.app-splash.done { display: none; }
/* Qaysi animatsiya qayerda: telefonda — ilova splash, kompyuterda — MacBook */
@media (max-width: 760px) { .intro { display: none; } }
@media (min-width: 761px) { .app-splash { display: none; } }
@media (display-mode: standalone) { .intro { display: none; } .app-splash { display: grid; } }
@media (prefers-reduced-motion: reduce) { .app-splash { display: none; } }

/* Ilovani o'rnatish (sheet va banner) */
.inst-hero { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.inst-hero img { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 12px 24px -12px rgba(240, 123, 63, .6); }
.inst-hero b { display: block; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.inst-hero small { color: var(--muted); font-size: 13px; }
.inst-perks { display: grid; gap: 10px; margin: 6px 0 20px; }
.inst-perks div { display: flex; align-items: center; gap: 12px; font-size: 14.5px; }
.inst-perks .orb { width: 34px; height: 34px; } .inst-perks .orb svg { width: 15px; height: 15px; }
.inst-steps { display: grid; gap: 10px; margin-bottom: 18px; counter-reset: st; }
.inst-steps li {
  list-style: none; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; font-size: 14.5px;
  background: var(--glass-strong); border: 1px solid var(--glass-line); box-shadow: var(--inner);
}
.inst-steps li::before {
  counter-increment: st; content: counter(st); width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: var(--primary); color: var(--on-primary); font-size: 12px; font-weight: 700;
}
.inst-steps .key { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--solid); color: #0a84ff; box-shadow: 0 2px 6px -2px rgba(0, 0, 0, .2); margin: 0 2px; vertical-align: middle; }
.inst-steps .key svg { width: 17px; height: 17px; }
.inst-arrow { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 200; color: var(--accent); animation: bounceDown 1.2s ease-in-out infinite; pointer-events: none; }
.inst-arrow svg { width: 34px; height: 34px; }
@keyframes bounceDown { 50% { transform: translate(-50%, 8px); } }
.inst-banner {
  position: fixed; left: 12px; right: 12px; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: flex; align-items: center; gap: 12px;
  padding: 10px 10px 10px 12px; border-radius: 22px; background: color-mix(in srgb, var(--solid) 86%, transparent); border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-lg), var(--inner); backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6);
  animation: bannerIn .45s cubic-bezier(.2, .9, .3, 1);
}
.inst-banner img { width: 42px; height: 42px; border-radius: 11px; }
.inst-banner .tx { flex: 1; min-width: 0; }
.inst-banner b { display: block; font-size: 14px; font-weight: 600; }
.inst-banner small { font-size: 12px; color: var(--muted); }
.inst-banner .x { width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.inst-banner .x svg { width: 16px; height: 16px; }
.landing ~ .inst-banner, .inst-banner.on-landing { bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
@keyframes bannerIn { from { transform: translateY(30px); opacity: 0; } }
.l-install { display: none; }
@media (max-width: 760px) { .l-install { display: inline-flex; } }

/* Kombinatsiya mavzusi: bosh sahifada to'q menyu */
:root[data-theme="combo"] .l-nav .bar { background: var(--chrome); border-color: var(--chrome-line); color: var(--chrome-text); box-shadow: 0 16px 36px -16px rgba(30, 20, 45, .55); }
:root[data-theme="combo"] .l-nav .brand, :root[data-theme="combo"] .l-links a, :root[data-theme="combo"] .l-nav .l-btn.plain { color: var(--chrome-text); }
:root[data-theme="combo"] .l-links a:hover { background: rgba(255, 255, 255, .08); }
:root[data-theme="combo"] .l-lang { background: rgba(255, 255, 255, .07); border-color: var(--chrome-line); }
:root[data-theme="combo"] .l-lang button { color: var(--chrome-muted); }
:root[data-theme="combo"] .l-lang button.on { background: #fff; color: var(--text); }
:root[data-theme="combo"] .l-nav .l-btn.ink { background: #fff; color: var(--text) !important; }
:root[data-theme="combo"] .l-mod .go, :root[data-theme="combo"] .skill-foot .go { background: var(--primary); }
.l-theme { width: 40px; height: 40px; min-height: 40px; padding: 0; border-radius: 50%; background: var(--glass); border: 1px solid var(--glass-line); color: var(--text); }
.l-theme svg { width: 18px; height: 18px; }
:root[data-theme="combo"] .l-theme { background: rgba(255, 255, 255, .08); border-color: var(--chrome-line); color: var(--chrome-text); }
:root[data-theme="combo"] .app-splash { background: radial-gradient(70% 45% at 15% 12%, #ffb27a 0%, transparent 70%), radial-gradient(65% 45% at 92% 30%, #a48cf5 0%, transparent 70%), radial-gradient(80% 45% at 50% 100%, #8fd0d6 0%, transparent 70%), #ebe6f0; }

/* BilimWay yozuvi splash va MacBook animatsiyasida */
.as-n, .mac-boot .mname { font-weight: 650 !important; letter-spacing: -.035em !important; }
.as-n em, .mac-boot .mname em {
  font-family: var(--italic); font-style: italic; font-weight: 600; font-size: 1.14em; margin-left: -.035em; padding-right: .08em;
  background: linear-gradient(135deg, #ffb46b 0%, #ff8a5c 45%, #b08cff 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mac-boot .mlogo { font-size: 0; background: radial-gradient(circle at 34% 28%, #fff 0 5%, #ffe2c2 13%, #ff9a62 50%, #ef6a4a 82%, #b85bd6 100%); }
.mac-boot .mlogo svg { width: 56%; height: 56%; }
.as-orb { background: radial-gradient(circle at 34% 28%, #fff 0 5%, #ffe2c2 13%, #ff9a62 50%, #ef6a4a 82%, #b85bd6 100%); }
.as-orb svg { width: 50%; height: 50%; }

/* Buxoro · Shamshod Academy belgisi */
.l-from { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; font-size: 12.5px; font-weight: 550; letter-spacing: .02em; color: var(--text-2); }
.l-from svg { width: 15px; height: 15px; color: var(--primary); }
.l-foot .copy.row { gap: 8px 18px; }
.l-foot .made-by { font-weight: 550; color: var(--text-2); }
.as-by { position: absolute; left: 0; right: 0; bottom: calc(38px + env(safe-area-inset-bottom, 0px)); display: grid; justify-items: center; gap: 3px;
  font-family: var(--font); font-size: 15px; font-weight: 650; letter-spacing: -.01em; color: #171a26; }
.as-by span { font-size: 12px; font-weight: 500; letter-spacing: .04em; color: #7a7f93; }
:root[data-theme="dark"] .as-by { color: #f7eee6; }
.app-splash.play .as-by { animation: asFade .3s ease .9s forwards; }
