/* Landing sahifa (munosabatai.uz) — reklama va Telegram botga yo‘naltirish.
   styles.css dagi ranglar, ruletka va piktogramma uslublaridan foydalanadi; bu yerdagi klasslar «l-» bilan.
   Mobil birinchi: asosiy uslub telefon uchun, katta ekran uchun pastda @media. */

body.landing { height: auto; min-height: 100%; font-size: 16px; }
.landing main, .l-head, .l-foot { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.landing h1, .landing h2, .landing h3, .landing p { margin: 0; }
.landing a { color: inherit; }

/* ---------- header ---------- */
.l-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: calc(16px + var(--safe-t)); padding-bottom: 8px; }
.l-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 24px/1 var(--display); letter-spacing: 0.02em; }
.l-brand svg { width: 34px; height: 34px; flex: none; }

/* ---------- buttons ---------- */
.l-btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px; border-radius: 18px; text-decoration: none; font-weight: 800; font-size: 16px; color: #fff; white-space: nowrap;
  background: linear-gradient(135deg, #3fa4e8, #2a7fd4); box-shadow: 0 14px 30px -12px rgba(42, 127, 212, 0.8);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.l-btn svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.l-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(42, 127, 212, 0.9); }
.l-btn:active { transform: scale(0.97); }
.l-btn.small { padding: 10px 14px; border-radius: 13px; font-size: 14px; }
.l-btn.small svg { width: 17px; height: 17px; }
.l-btn.big { padding: 18px 30px; font-size: 17px; }
.l-btn.shine::after {
  content: ''; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  animation: shine 3.2s ease-in-out infinite;
}
@keyframes shine { 55%, 100% { transform: translateX(120%); } }

/* ---------- umumiy matn ---------- */
.l-eyebrow { display: inline-block; color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.l-sec { padding: 56px 0; }
.l-sec h2, .l-final h2 { font: 700 clamp(30px, 7.5vw, 46px)/1.08 var(--display); text-wrap: balance; }
.l-sec-head { max-width: 640px; margin: 0 auto; text-align: center; }
.l-sec-head h2 { margin-top: 8px; }
.l-sec-head p { margin-top: 12px; color: var(--muted); font-size: 16px; line-height: 1.6; }

/* ---------- hero ---------- */
.l-hero { display: grid; gap: 40px; padding: 24px 0 32px; }
.l-hero-copy { text-align: center; }
.l-badge { display: inline-block; padding: 7px 13px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--gold-soft); background: rgba(233, 184, 114, 0.12); border: 1px solid rgba(233, 184, 114, 0.35); }
.l-hero h1 { margin: 16px auto 0; max-width: 12ch; font: 700 clamp(42px, 11vw, 68px)/1.02 var(--display); letter-spacing: -0.01em; }
.l-hero h1 em { font-style: italic; color: var(--gold); }
.landing .l-lead { margin: 16px auto 0; max-width: 34ch; color: var(--muted); font-size: 17px; line-height: 1.6; }
.l-cta { display: grid; justify-items: center; gap: 10px; margin-top: 28px; }
.l-cta-note { color: var(--faint); font-size: 13.5px; }
.l-chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 26px 0 0; padding: 0; }
.l-chips li { padding: 8px 13px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }

/* ---------- jonli demo (telefon) ---------- */
.l-demo { position: relative; justify-self: center; width: min(300px, 82vw); }
.l-phone {
  position: relative; padding: 10px; border-radius: 44px; background: linear-gradient(160deg, #3a2235, #150b13);
  box-shadow: 0 0 0 1.5px rgba(233, 184, 114, 0.35), 0 40px 80px -20px rgba(0, 0, 0, 0.8), 0 0 90px -20px rgba(232, 102, 126, 0.45);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-10px); } }
.l-screen {
  position: relative; overflow: hidden; aspect-ratio: 9 / 18; border-radius: 35px; padding: 18px 14px 14px;
  background: radial-gradient(120% 60% at 50% -10%, rgba(232, 102, 126, 0.25), transparent 60%), var(--bg);
}
.l-ptop { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.l-pbrand { font: 700 20px/1 var(--display); }
.l-pfree { padding: 5px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: var(--surface); border: 1px solid var(--line); transition: transform 0.3s; }
.l-pfree.bump { transform: scale(1.18); }
.l-turn { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 22px; }
.l-turn span { padding: 8px; border-radius: 10px; text-align: center; font-size: 13px; font-weight: 700; color: var(--muted); transition: background 0.4s, color 0.4s; }
.l-turn span.on { background: linear-gradient(135deg, var(--rose), var(--rose-deep)); color: #fff; }
.l-demo .wheel-wrap { width: 100%; }
/* Demoda hub — <div>, <button> emas: matnni o‘zimiz markazlaymiz */
.l-demo .hub { display: grid; place-content: center; text-align: center; line-height: 1.15; font-size: 12px; }
.l-demo .hub span { font-size: 9px; }
.l-demo .hub.press { transform: translate(-50%, -50%) scale(0.9); }
.l-tap { position: absolute; z-index: 5; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); opacity: 0; pointer-events: none; }
.l-tap.go { animation: tap 0.7s ease-out; }
@keyframes tap { 0% { opacity: 0; transform: scale(0.4) translate(30px, 40px); } 35% { opacity: 0.9; transform: scale(0.8); } 100% { opacity: 0; transform: scale(2.2); } }
.landing .l-phint { margin-top: 16px; text-align: center; color: var(--muted); font-size: 12.5px; }

.l-result {
  position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 14px; border-radius: 24px;
  background: linear-gradient(180deg, #2c1729, #1a0d18); border: 1px solid rgba(233, 184, 114, 0.35);
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.5); transform: translateY(115%); transition: transform 0.55s cubic-bezier(0.2, 0.9, 0.2, 1.05);
}
.l-result.show { transform: none; }
.l-result .art { position: relative; height: 112px; border-radius: 16px; background: radial-gradient(circle at 50% 40%, #fffaf5, #f4e6df); overflow: hidden; }
.l-result .art .pose { position: absolute; left: 6%; top: 8%; width: 88%; height: 84%; }
.l-result small { display: block; margin-top: 10px; color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.l-result h3 { font: 700 24px/1.1 var(--display); }
.l-result .l-rbtn { margin-top: 10px; padding: 11px; border-radius: 13px; text-align: center; font-size: 13.5px; font-weight: 700; background: linear-gradient(135deg, var(--rose), var(--rose-deep)); }
.l-result .l-hearts-pop i { position: absolute; bottom: 8px; color: var(--rose); animation: rise 1.6s ease-out forwards; }
.l-result .l-hearts-pop svg { width: 14px; height: 14px; fill: currentColor; }
@keyframes rise { to { transform: translateY(-110px) scale(1.4); opacity: 0; } }

.l-float {
  position: absolute; z-index: 2; display: none; padding: 9px 12px; border-radius: 14px; font-size: 12.5px; font-weight: 700; white-space: nowrap;
  background: rgba(37, 19, 34, 0.92); border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45); backdrop-filter: blur(6px);
  animation: float 5s ease-in-out infinite;
}
.l-float.f1 { top: 8%; left: -30%; animation-delay: -1.5s; }
.l-float.f2 { top: 40%; right: -30%; animation-delay: -3s; }

/* ---------- qadamlar (timeline) ---------- */
.l-timeline { list-style: none; display: grid; gap: 14px; max-width: 760px; margin: 34px auto 0; padding: 0; }
.l-timeline li {
  display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start;
  padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
}
.l-timeline i {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; font: 800 18px var(--ui); font-style: normal;
  background: linear-gradient(135deg, var(--gold), #c98a4a); color: #2a1424;
}
.l-timeline h3 { font: 700 18px/1.3 var(--ui); }
.l-timeline p { margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ---------- ikki ustunli bo‘limlar (taymer, statistika) ---------- */
.l-split { display: grid; gap: 30px; align-items: center; }
.l-split-copy h2 { margin-top: 8px; }
.l-checks { list-style: none; display: grid; gap: 12px; margin: 20px 0 0; padding: 0; }
.l-checks li { position: relative; padding-left: 32px; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.l-checks li b { color: var(--text); }
.l-checks li::before {
  content: '✓'; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12px; font-weight: 800; background: rgba(233, 184, 114, 0.16); color: var(--gold);
}
.l-mock {
  justify-self: center; width: 100%; max-width: 380px; padding: 22px; border-radius: 28px; display: grid; gap: 18px;
  background: linear-gradient(180deg, #2c1729, #1a0d18); border: 1px solid rgba(233, 184, 114, 0.3); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
}

/* taymer demosi */
.l-timer { position: relative; width: 190px; aspect-ratio: 1; margin: 0 auto; }
.l-timer svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.l-timer circle { fill: none; stroke-width: 7; }
.l-timer .bg { stroke: var(--surface-2); }
.l-timer .fg { stroke: var(--rose); stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset 0.9s linear; }
.l-timer > div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.l-timer b { font: 700 40px/1 var(--ui); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.l-timer span { margin-top: 6px; color: var(--muted); font-size: 13px; }
.l-mock-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.l-mock-btns span { padding: 12px; border-radius: 14px; text-align: center; font-size: 14px; font-weight: 700; background: var(--surface-2); }
.l-mock-btns .pri { background: linear-gradient(135deg, var(--rose), var(--rose-deep)); }
.l-rate { text-align: center; padding-top: 14px; border-top: 1px solid var(--line); }
.l-rate small { color: var(--muted); font-size: 13px; }
.l-rate > div { display: flex; justify-content: center; gap: 10px; margin-top: 8px; }
.l-rate i {
  width: 30px; height: 30px; background: var(--surface-2); transition: background 0.3s, transform 0.3s;
  -webkit-mask: var(--heart) center / contain no-repeat; mask: var(--heart) center / contain no-repeat;
}
.l-rate i.on { background: var(--rose); transform: scale(1.15); }
.landing { --heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20s-7-4.5-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.5-7 10-7 10z'/%3E%3C/svg%3E"); }

/* statistika demosi */
.l-stat-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.l-stat-top small { color: var(--muted); font-size: 13px; }
.l-stat-top b { display: block; font: 700 26px/1.15 var(--ui); }
.l-delta { padding: 5px 10px; border-radius: 10px; font-size: 13px; font-weight: 800; color: #7fd1a3; background: rgba(127, 209, 163, 0.14); }
.l-bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; height: 130px; }
.l-bars div { display: grid; grid-template-rows: 1fr auto; gap: 6px; text-align: center; }
.l-bars i { align-self: end; height: 0; min-height: 4px; border-radius: 8px; background: var(--surface-2); transition: height 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
.l-bars .peak i { background: linear-gradient(180deg, var(--gold), var(--rose)); }
.l-bars span { color: var(--faint); font-size: 11.5px; font-weight: 600; }
.l-mock.in .l-bars i { height: var(--h); }
.l-mock.in .l-bars div:nth-child(2) i { transition-delay: 0.08s; }
.l-mock.in .l-bars div:nth-child(3) i { transition-delay: 0.16s; }
.l-mock.in .l-bars div:nth-child(4) i { transition-delay: 0.24s; }
.l-mock.in .l-bars div:nth-child(5) i { transition-delay: 0.32s; }
.l-mock.in .l-bars div:nth-child(6) i { transition-delay: 0.4s; }
.l-mock.in .l-bars div:nth-child(7) i { transition-delay: 0.48s; }
.l-who { position: relative; display: flex; justify-content: space-between; padding-top: 14px; }
.l-who::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 8px; border-radius: 8px; background: rgba(232, 102, 126, 0.35); }
.l-who span { position: absolute; top: 0; left: 0; height: 8px; width: 0; border-radius: 8px; background: var(--gold); transition: width 1s ease 0.5s; }
.l-mock.in .l-who span { width: var(--w); }
.l-who small { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.l-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.l-badges span { padding: 6px 10px; border-radius: 10px; font-size: 12.5px; font-weight: 600; background: rgba(233, 184, 114, 0.1); border: 1px solid rgba(233, 184, 114, 0.25); }

/* ---------- maxfiylik ---------- */
.l-privacy {
  display: grid; gap: 22px; margin: 16px 0; padding: 32px 22px; border-radius: 28px; text-align: center;
  background: linear-gradient(160deg, rgba(127, 209, 163, 0.1), rgba(127, 209, 163, 0.02)), var(--surface);
  border: 1px solid rgba(127, 209, 163, 0.35);
}
.l-privacy .l-checks { text-align: left; }
.l-privacy .l-checks li { color: var(--text); }
.l-privacy .l-checks li::before { background: rgba(127, 209, 163, 0.18); color: #7fd1a3; }
.l-lock { justify-self: center; width: 96px; height: 96px; border-radius: 28px; display: grid; place-items: center; background: rgba(127, 209, 163, 0.14); }
.l-lock svg { width: 58px; height: 58px; fill: none; stroke: #7fd1a3; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.l-lock .shackle { transform: translateY(-7px); transition: transform 0.6s cubic-bezier(0.3, 1.6, 0.5, 1) 0.4s; }
.l-privacy.in .shackle { transform: none; }

/* ---------- taklif ---------- */
.l-invite { display: grid; gap: 18px; justify-items: center; text-align: center; }
.l-invite p { margin-top: 10px; max-width: 46ch; color: var(--muted); line-height: 1.6; }
.l-plus { display: grid; place-content: center; text-align: center; width: 96px; height: 96px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); }
.l-plus b { font: 800 30px/1 var(--ui); color: var(--gold-soft); }
.l-plus span { margin-top: 4px; color: var(--muted); font-size: 12px; }
.l-plus.friend b { color: #f4a3b2; }
.l-invite .l-plus.friend { display: none; }

/* ---------- yakuniy chaqiriq ---------- */
.l-final {
  display: grid; justify-items: center; gap: 14px; margin: 20px 0 10px; padding: 42px 22px; border-radius: 32px; text-align: center;
  background: radial-gradient(120% 90% at 50% 0%, rgba(232, 102, 126, 0.3), transparent 70%), var(--surface);
  border: 1px solid rgba(233, 184, 114, 0.35);
}
.l-final p { max-width: 40ch; color: var(--muted); line-height: 1.6; }

.l-foot { padding-top: 26px; padding-bottom: calc(30px + var(--safe-b)); text-align: center; color: var(--faint); font-size: 13px; line-height: 1.6; }
.landing .l-foot p { margin: 6px auto; max-width: 60ch; }

/* ---------- fondagi yuraklar ---------- */
.l-hearts { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.l-hearts i { position: absolute; bottom: -40px; color: rgba(232, 102, 126, 0.22); animation: drift linear infinite; }
.l-hearts svg { width: 100%; height: 100%; fill: currentColor; }
@keyframes drift { to { transform: translateY(-115vh) rotate(25deg); } }

/* ---------- scroll bilan paydo bo‘lish ---------- */
.l-reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); transition-delay: var(--d, 0s); }
.l-reveal.in { opacity: 1; transform: none; }

/* ---------- planshet va kompyuter ---------- */
@media (min-width: 720px) {
  .l-invite { grid-template-columns: auto 1fr auto; text-align: left; gap: 28px; }
  .l-invite .l-plus.friend { display: grid; }
  .l-privacy { grid-template-columns: auto 1fr; text-align: left; padding: 40px 48px; gap: 36px; }
  .l-lock { width: 120px; height: 120px; }
}
@media (min-width: 960px) {
  .l-float { display: block; }
  .l-hero { grid-template-columns: 1.1fr 0.9fr; align-items: center; padding: 56px 0 64px; }
  .l-hero-copy { text-align: left; }
  .landing .l-hero h1, .landing .l-lead { margin-left: 0; }
  .l-cta { justify-items: start; }
  .l-chips { justify-content: flex-start; }
  .l-timeline { grid-template-columns: 1fr 1fr; max-width: none; }
  .l-split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .l-split.rev .l-split-copy { order: 2; }
}
@media (max-width: 400px) {
  .l-cta .l-btn { width: 100%; }
  .l-head .l-btn.small { padding: 9px 11px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .l-phone, .l-float, .l-btn.shine::after, .l-hearts i { animation: none; }
  .l-reveal { opacity: 1; transform: none; transition: none; }
}
