/* ============================================================
   Лендинг — отдельный файл чтобы не засорять main.css
   ============================================================ */

/* Экран-оверлей: перекрывает всё приложение */
#screen-landing.active {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  inset: 0;
  z-index: 50;
  overflow-y: auto;
  background: #080b13;
}

/* ── Навигация ───────────────────────────────────────────── */
.l-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(8, 11, 19, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}
.l-nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.l-logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  flex-shrink: 0;
  text-decoration: none;
}
.l-logo span { color: var(--accent, #5b7cf6); }

.l-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}
.l-nav-links a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: .9rem;
  transition: color .15s;
  white-space: nowrap;
}
.l-nav-links a:hover { color: #fff; }

.l-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

.l-btn-ghost {
  padding: 8px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-size: .9rem;
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
  white-space: nowrap;
}
.l-btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.l-btn-primary {
  padding: 8px 20px;
  border-radius: 8px;
  border: none;
  background: var(--accent, #5b7cf6);
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, transform .1s;
  white-space: nowrap;
}
.l-btn-primary:hover {
  background: var(--accent-hover, #7090ff);
  transform: translateY(-1px);
}

/* ── Hero ────────────────────────────────────────────────── */
.l-hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 100px;
  background:
    radial-gradient(ellipse 80% 55% at 50% -5%,
      rgba(91, 124, 246, 0.14) 0%,
      transparent 100%);
}
.l-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 960px;
  width: 100%;
  gap: 20px;
}

.l-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(91, 124, 246, 0.35);
  background: rgba(91, 124, 246, 0.08);
  color: rgba(255, 255, 255, 0.7);
  font-size: .82rem;
  letter-spacing: .02em;
}
.l-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent, #5b7cf6);
  flex-shrink: 0;
}

.l-title {
  font-size: clamp(3.5rem, 9vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
  margin: 0;
}

.l-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.5);
  max-width: 500px;
  margin: 0;
  line-height: 1.5;
}

/* ── Карточки направлений ────────────────────────────────── */
.l-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  margin-top: 16px;
}

.l-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s;
}
.l-card:hover {
  border-color: rgba(91, 124, 246, 0.4);
  background: rgba(91, 124, 246, 0.06);
  transform: translateY(-3px);
}

.l-card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1;
}
.l-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.3;
}
.l-card-desc {
  font-size: .85rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
  margin: 0;
}

/* ── CTA ─────────────────────────────────────────────────── */
.l-cta {
  margin-top: 12px;
  padding: 15px 36px;
  border-radius: 12px;
  border: none;
  background: var(--accent, #5b7cf6);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, transform .15s, box-shadow .15s;
  box-shadow: 0 0 0 0 rgba(91, 124, 246, 0);
}
.l-cta:hover {
  background: var(--accent-hover, #7090ff);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(91, 124, 246, 0.35);
}
.l-cta:active { transform: translateY(0); }

/* ── Адаптив ─────────────────────────────────────────────── */
@media (max-width: 860px) {
  .l-nav-links { display: none; }
  .l-cards { grid-template-columns: 1fr; max-width: 420px; }
  .l-hero { padding: 60px 20px 80px; }
}
@media (max-width: 480px) {
  .l-nav-inner { padding: 0 16px; gap: 12px; }
  .l-btn-ghost { display: none; }
  .l-hero { padding: 48px 16px 64px; }
  .l-title { letter-spacing: -0.03em; }
}
