/* ===== Стартовая страница (для гостей сайта) ===== */
.landing { position: fixed; inset: 0; z-index: 3; overflow-y: auto; overflow-x: hidden; background: #000; color: #f2f3f5; user-select: text;
  font-family: "Manrope", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif; scroll-behavior: smooth; }
body.on-landing .aurora { opacity: 0; }
.landing a { text-decoration: none; }

/* --- верхняя панель --- */
.ld-nav { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 24px; height: 72px; padding: 0 max(24px, calc((100% - 1200px) / 2));
  transition: background .25s, border-color .25s, backdrop-filter .25s; border-bottom: 1px solid transparent; }
.ld-nav.scrolled { background: rgba(0, 0, 0, .72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: #16161a; }
.ld-brand { display: flex; align-items: center; gap: 10px; color: #fff !important; font: 700 19px/1 "Unbounded", "Manrope", sans-serif; letter-spacing: -.01em; }
.ld-brand img { width: 34px; height: 34px; border-radius: 10px; }
.ld-links { display: flex; gap: 28px; margin: 0 auto; }
.ld-links a { color: #a1a1aa; font-weight: 600; font-size: 15px; transition: color .15s; }
.ld-links a:hover { color: #fff; }
.ld-actions { display: flex; gap: 10px; margin-left: auto; }
.ld-links + .ld-actions { margin-left: 0; }

/* --- кнопки --- */
.ld-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 42px; padding: 0 18px; border-radius: 999px; font: 700 14.5px/1 "Manrope", sans-serif;
  transition: transform .2s var(--spring, ease), background .2s, box-shadow .2s, color .2s; white-space: nowrap; }
.ld-btn:active { transform: scale(.97); }
.ld-btn.white { background: #fff; color: #000; }
.ld-btn.white:hover { box-shadow: 0 8px 30px rgba(255, 255, 255, .18); transform: translateY(-1px); }
.ld-btn.ghost { color: #e4e4e7; box-shadow: inset 0 0 0 1px #2a2a30; }
.ld-btn.ghost:hover { background: #111114; color: #fff; }
.ld-btn.dark { background: #141417; color: #fff; box-shadow: inset 0 0 0 1px #2a2a30; }
.ld-btn.dark:hover { background: #1c1c20; transform: translateY(-1px); }
.ld-btn.big { height: 56px; padding: 0 28px; font-size: 16.5px; }

/* --- главный экран --- */
.ld-hero { position: relative; text-align: center; padding: 72px 24px 0; max-width: 1240px; margin: 0 auto; }
.ld-glow { position: absolute; left: 50%; top: -120px; width: 1100px; height: 700px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .11), transparent 70%); }
.ld-eq { position: absolute; left: 50%; top: 40px; transform: translateX(-50%); display: flex; gap: 10px; align-items: center; height: 300px; opacity: .07; pointer-events: none; }
.ld-eq i { width: 10px; border-radius: 6px; background: #fff; height: 30%; animation: ldEq 2.4s ease-in-out infinite alternate; }
.ld-eq i:nth-child(3n) { animation-delay: -.6s; height: 60%; } .ld-eq i:nth-child(4n+1) { animation-delay: -1.2s; height: 85%; } .ld-eq i:nth-child(5n+2) { animation-delay: -1.8s; height: 45%; }
@keyframes ldEq { to { transform: scaleY(.35); } }
.ld-title { position: relative; margin: 0 auto; max-width: 980px; font: 800 clamp(38px, 6.4vw, 78px)/1.04 "Unbounded", "Manrope", sans-serif; letter-spacing: -.035em; animation: ldUp .8s var(--ease, ease) both; }
.ld-title em { font-style: normal; background: linear-gradient(180deg, #fff 20%, #8a8a93); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ld-sub { position: relative; max-width: 620px; margin: 24px auto 0; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.55; color: #a1a1aa; animation: ldUp .8s .08s var(--ease, ease) both; }
.ld-cta { position: relative; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 36px; animation: ldUp .8s .16s var(--ease, ease) both; }
@keyframes ldUp { from { opacity: 0; transform: translateY(18px); } }

/* --- скриншоты --- */
.ld-shot { position: relative; border-radius: 18px; overflow: hidden; background: #050506; box-shadow: 0 0 0 1px #222227, 0 40px 120px rgba(0, 0, 0, .9), 0 0 120px rgba(255, 255, 255, .05); }
.ld-shot img { display: block; width: 100%; height: auto; }
.ld-hero-shot { margin: 64px auto 0; max-width: 1120px; transform: perspective(1800px) rotateX(8deg); transform-origin: 50% 0; }
.ld-hero-shot.in { transform: perspective(1800px) rotateX(0); transition: transform 1.2s var(--ease, ease), opacity .8s; }
.ld-shot-bar { display: flex; gap: 7px; padding: 12px 14px; background: #0b0b0d; border-bottom: 1px solid #18181c; }
.ld-shot-bar i { width: 11px; height: 11px; border-radius: 50%; background: #26262b; }
.ld-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 200px; background: linear-gradient(transparent, #000); pointer-events: none; }

/* --- блоки с описанием --- */
.ld-row { display: grid; grid-template-columns: 1fr 1.35fr; gap: 64px; align-items: center; max-width: 1200px; margin: 0 auto; padding: 120px 24px 0; }
.ld-row.rev .ld-row-text { order: 2; }
.ld-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #111114; box-shadow: inset 0 0 0 1px #232328; color: #d4d4d8; font-weight: 700; font-size: 13px; }
.ld-row h2, .ld-h2, .ld-final h2 { font: 800 clamp(28px, 3.4vw, 44px)/1.12 "Unbounded", "Manrope", sans-serif; letter-spacing: -.03em; margin: 18px 0 16px; }
.ld-row p { color: #a1a1aa; font-size: 17px; line-height: 1.6; margin: 0; }
.ld-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ld-list li { display: flex; align-items: center; gap: 10px; color: #e4e4e7; font-weight: 600; }
.ld-list .ic { padding: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; color: #000; }

/* --- сетка преимуществ --- */
.ld-feats { max-width: 1200px; margin: 0 auto; padding: 140px 24px 0; text-align: center; }
.ld-h2 { margin: 0 0 48px; }
.ld-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; }
.ld-card { padding: 28px; border-radius: 20px; background: linear-gradient(180deg, #0e0e11, #08080a); box-shadow: inset 0 0 0 1px #1c1c21; transition: box-shadow .25s, transform .25s; }
.ld-card:hover { box-shadow: inset 0 0 0 1px #33333a; transform: translateY(-3px); }
.ld-card-ico { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: #fff; color: #000; margin-bottom: 20px; }
.ld-card h3 { margin: 0 0 8px; font-size: 19px; font-weight: 800; }
.ld-card p { margin: 0; color: #9a9aa3; line-height: 1.55; font-size: 15px; }

/* --- финальный призыв --- */
.ld-final { padding: 140px 24px 100px; }
.ld-final-in { position: relative; max-width: 1000px; margin: 0 auto; padding: 72px 32px; text-align: center; border-radius: 32px; overflow: hidden;
  background: radial-gradient(120% 140% at 50% 0%, #1d1d22 0%, #0a0a0c 55%, #050506 100%); box-shadow: inset 0 0 0 1px #222227; }
.ld-final-logo { width: 72px; height: 72px; border-radius: 20px; box-shadow: 0 0 60px rgba(255, 255, 255, .15); }
.ld-final p { color: #a1a1aa; font-size: 17px; max-width: 520px; margin: 0 auto; line-height: 1.55; }
.ld-final .ld-cta { animation: none; margin-top: 32px; }

.ld-foot { display: flex; align-items: center; gap: 20px; max-width: 1200px; margin: 0 auto; padding: 28px 24px 40px; border-top: 1px solid #141417; color: #71717a; font-size: 14px; }
.ld-foot .ld-brand { font-size: 15px; } .ld-foot .ld-brand img { width: 26px; height: 26px; border-radius: 8px; }
.ld-foot a { margin-left: auto; color: #d4d4d8; font-weight: 700; }

/* --- появление при прокрутке --- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease, ease), transform .8s var(--ease, ease); }
.reveal.in { opacity: 1; transform: none; }
.ld-grid .reveal:nth-child(3n+2) { transition-delay: .08s; } .ld-grid .reveal:nth-child(3n) { transition-delay: .16s; }

/* --- кнопка «На главную» в окне входа --- */
.auth-back { position: absolute; left: 16px; top: 16px; display: flex; align-items: center; gap: 6px; padding: 6px 10px 6px 8px; border-radius: 999px; color: #a1a1aa; font-size: 13px; font-weight: 600; transition: background .15s, color .15s; }
.auth-back:hover { background: #17171b; color: #fff; }

/* --- адаптив --- */
@media (max-width: 980px) {
  .ld-links { display: none; }
  .ld-links + .ld-actions { margin-left: auto; }
  .ld-row { grid-template-columns: 1fr; gap: 36px; padding-top: 88px; }
  .ld-row.rev .ld-row-text { order: 0; }
  .ld-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .ld-nav { height: 62px; padding: 0 16px; gap: 10px; }
  .ld-brand { font-size: 17px; } .ld-brand img { width: 30px; height: 30px; }
  .ld-dl-top span { display: none; } .ld-dl-top { width: 42px; padding: 0; }
  .ld-hero { padding: 40px 16px 0; }
  .ld-sub { margin-top: 18px; }
  .ld-cta .ld-btn { width: 100%; }
  .ld-hero-shot { margin-top: 44px; border-radius: 12px; transform: none; }
  .ld-shot-bar { padding: 9px 10px; } .ld-shot-bar i { width: 8px; height: 8px; }
  .ld-row { padding: 72px 16px 0; }
  .ld-row p { font-size: 16px; }
  .ld-feats { padding: 96px 16px 0; }
  .ld-h2 { margin-bottom: 28px; }
  .ld-grid { grid-template-columns: 1fr; }
  .ld-card { padding: 22px; }
  .ld-final { padding: 96px 16px 64px; }
  .ld-final-in { padding: 48px 20px; border-radius: 24px; }
  .ld-foot { flex-wrap: wrap; gap: 10px 16px; padding: 24px 16px 32px; }
  .auth-back span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ld-eq i, .ld-title, .ld-sub, .ld-cta { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
