/* ============================================================
   LUMEN — LANDING
   ============================================================ */

body.landing {
  margin: 0;
  padding: 0;
  background: #0f1220;
  color: #eaeaf0;
  font-family: "Segoe UI", Tahoma, sans-serif;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

body.landing.light {
  background: #f4f6fb;
  color: #1a1d29;
}

/* ===== ХЕДЕР ===== */
.ln-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 32px;
  background: rgba(15, 18, 32, 0.7);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.landing.light .ln-header {
  background: rgba(255, 255, 255, 0.8);
  border-bottom-color: #d0d5e0;
}

.ln-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.ln-brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #7c5cff, #4a7dff);
  color: #fff;
  box-shadow: 0 4px 14px rgba(124, 92, 255, 0.4);
}

.ln-brand-name { color: inherit; }

.ln-nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.ln-nav-link {
  color: #9aa0b4;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color .15s;
}

.ln-nav-link:hover { color: #eaeaf0; }
body.landing.light .ln-nav-link { color: #6a7290; }
body.landing.light .ln-nav-link:hover { color: #1a1d29; }

.ln-header-actions { display: flex; gap: 10px; }

/* ===== КНОПКИ ===== */
.ln-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: all .15s;
  white-space: nowrap;
}

.ln-btn-lg { padding: 14px 24px; font-size: 15px; }

.ln-btn-primary {
  background: linear-gradient(135deg, #7c5cff, #4a7dff);
  color: #fff;
  box-shadow: 0 6px 20px rgba(124, 92, 255, 0.4);
}

.ln-btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(124, 92, 255, 0.5);
}

.ln-btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #eaeaf0;
}

.ln-btn-ghost:hover {
  background: rgba(124, 92, 255, 0.15);
  border-color: rgba(124, 92, 255, 0.4);
  color: #fff;
}

body.landing.light .ln-btn-ghost {
  background: #fff;
  border-color: #d0d5e0;
  color: #1a1d29;
}

body.landing.light .ln-btn-ghost:hover {
  background: #eef1ff;
  border-color: #7c5cff;
}

/* ===== HERO ===== */
.ln-hero {
  position: relative;
  padding: 100px 32px 80px;
  text-align: center;
  z-index: 1;
}

.ln-hero-inner {
  max-width: 820px;
  margin: 0 auto;
}

.ln-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 50px;
  background: rgba(124, 92, 255, 0.15);
  border: 1px solid rgba(124, 92, 255, 0.4);
  color: #b19dff;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 28px;
  animation: ln-pulse 3s ease-in-out infinite;
}

@keyframes ln-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(124, 92, 255, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(124, 92, 255, 0); }
}

.ln-h1 {
  font-size: 56px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
}

.ln-accent {
  background: linear-gradient(135deg, #7c5cff, #4a7dff, #7dffb0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ln-lead {
  font-size: 18px;
  line-height: 1.6;
  color: #9aa0b4;
  max-width: 640px;
  margin: 0 auto 40px;
}

body.landing.light .ln-lead { color: #6a7290; }

.ln-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.ln-hero-meta {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: #8a92b0;
}

.ln-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ===== СЕКЦИИ ===== */
.ln-section {
  position: relative;
  padding: 80px 32px;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 1;
}

.ln-section-alt {
  background: rgba(255, 255, 255, 0.02);
  max-width: none;
  padding-left: 32px;
  padding-right: 32px;
}

.ln-section-alt > * { max-width: 1200px; margin-left: auto; margin-right: auto; }

body.landing.light .ln-section-alt { background: rgba(0, 0, 0, 0.02); }

.ln-section-head {
  text-align: center;
  margin-bottom: 56px;
}

.ln-section-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #7c5cff;
  margin-bottom: 14px;
}

.ln-h2 {
  font-size: 36px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.ln-section-sub {
  font-size: 16px;
  color: #9aa0b4;
  margin: 0;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

body.landing.light .ln-section-sub { color: #6a7290; }

/* ===== СЕТКА ===== */
.ln-grid {
  display: grid;
  gap: 20px;
}

.ln-grid-3 { grid-template-columns: repeat(3, 1fr); }
.ln-grid-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 900px) {
  .ln-grid-3 { grid-template-columns: 1fr; }
  .ln-grid-2 { grid-template-columns: 1fr; }
}

/* ===== КАРТОЧКИ ===== */
.ln-card {
  background: rgba(26, 31, 56, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 28px 24px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  backdrop-filter: blur(10px);
}

.ln-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 92, 255, 0.5);
  box-shadow: 0 16px 40px rgba(124, 92, 255, 0.2);
}

body.landing.light .ln-card {
  background: #fff;
  border-color: #e0e5f0;
}

.ln-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.2), rgba(74, 125, 255, 0.15));
  color: #b19dff;
  margin-bottom: 18px;
}

.ln-card-title {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 10px;
}

.ln-card-text {
  font-size: 14px;
  line-height: 1.6;
  color: #9aa0b4;
  margin: 0;
}

body.landing.light .ln-card-text { color: #6a7290; }

/* ===== ШАГИ ===== */
.ln-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .ln-steps { grid-template-columns: 1fr; }
}

.ln-step {
  position: relative;
  background: rgba(26, 31, 56, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 32px 24px;
  overflow: hidden;
}

body.landing.light .ln-step {
  background: #fff;
  border-color: #e0e5f0;
}

.ln-step-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 56px;
  font-weight: 900;
  color: rgba(124, 92, 255, 0.12);
  line-height: 1;
  font-family: Consolas, monospace;
}

.ln-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #7c5cff, #4a7dff);
  color: #fff;
  margin-bottom: 18px;
  box-shadow: 0 4px 14px rgba(124, 92, 255, 0.4);
}

.ln-step-title {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 10px;
}

.ln-step-text {
  font-size: 14px;
  line-height: 1.6;
  color: #9aa0b4;
  margin: 0;
}

body.landing.light .ln-step-text { color: #6a7290; }

/* ===== ДЕСКТОП ===== */
.ln-desktop {
  max-width: 820px;
  margin: 0 auto;
  background: rgba(26, 31, 56, 0.6);
  border: 1px solid rgba(124, 92, 255, 0.3);
  border-radius: 20px;
  padding: 36px 40px;
  backdrop-filter: blur(10px);
}

body.landing.light .ln-desktop { background: #fff; border-color: #d0d5e0; }

.ln-desktop-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ln-desktop-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  line-height: 1.55;
  color: #cfd3e3;
}

body.landing.light .ln-desktop-list li { color: #4a5070; }

.ln-desktop-list li span[data-icon] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(125, 255, 176, 0.12);
  color: #7dffb0;
  flex-shrink: 0;
  margin-top: 1px;
}

body.landing.light .ln-desktop-list li span[data-icon] {
  background: rgba(10, 138, 63, 0.12);
  color: #0a8a3f;
}

.ln-desktop-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.ln-desktop-actions .ln-btn {
  min-width: 240px;
  justify-content: center;
}

.ln-desktop-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: #9aa0b4;
  font-weight: 600;
  letter-spacing: 0.02em;
}

body.landing.light .ln-desktop-note {
  background: #f4f6fb;
  border-color: #e0e5f0;
  color: #6a7290;
}

/* ===== АУДИТОРИЯ ===== */
.ln-audience {
  border-radius: 20px;
  padding: 32px 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.ln-audience-teacher {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.12), rgba(74, 125, 255, 0.06));
  border-color: rgba(124, 92, 255, 0.3);
}

.ln-audience-student {
  background: linear-gradient(135deg, rgba(125, 255, 176, 0.08), rgba(74, 125, 255, 0.06));
  border-color: rgba(125, 255, 176, 0.25);
}

body.landing.light .ln-audience-teacher { background: #f0edff; }
body.landing.light .ln-audience-student { background: #ecfdf3; }

.ln-audience-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #131832;
  color: #fff;
  margin-bottom: 18px;
}

body.landing.light .ln-audience-icon { background: #1a1d29; }

.ln-audience-title {
  font-size: 22px;
  font-weight: 900;
  margin: 0 0 12px;
}

.ln-audience-text {
  font-size: 15px;
  line-height: 1.6;
  color: #9aa0b4;
  margin: 0 0 20px;
}

body.landing.light .ln-audience-text { color: #4a5070; }

.ln-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ln-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #cfd3e3;
}

body.landing.light .ln-list li { color: #4a5070; }

.ln-list li span[data-icon] { color: #7dffb0; flex-shrink: 0; }

/* ===== FAQ ===== */
.ln-faq {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ln-faq-item {
  background: rgba(26, 31, 56, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s, background .2s;
}

.ln-faq-item[open] { border-color: rgba(124, 92, 255, 0.4); }

body.landing.light .ln-faq-item { background: #fff; border-color: #e0e5f0; }

.ln-faq-item summary {
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
  transition: background .15s;
}

.ln-faq-item summary::-webkit-details-marker,
.ln-faq-item summary::marker {
  display: none;
  content: '';
}

.ln-faq-item summary:hover {
  background: rgba(124, 92, 255, 0.06);
}

.ln-faq-item summary::after {
  content: '';
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background-color: rgba(124, 92, 255, 0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b19dff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
  flex-shrink: 0;
  transition: transform .25s ease, background-color .25s;
}

.ln-faq-item[open] summary::after {
  transform: rotate(180deg);
  background-color: rgba(124, 92, 255, 0.3);
}

body.landing.light .ln-faq-item summary::after {
  background-color: rgba(124, 92, 255, 0.1);
}

.ln-faq-item p {
  padding: 0 22px 20px;
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #9aa0b4;
}

body.landing.light .ln-faq-item p { color: #4a5070; }

.ln-faq-item a { color: #7c5cff; text-decoration: none; }
.ln-faq-item a:hover { text-decoration: underline; }

/* ===== ОТЗЫВЫ (заглушка) ===== */
.ln-reviews-empty {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 32px;
  background: rgba(26, 31, 56, 0.5);
  border: 1px dashed rgba(124, 92, 255, 0.3);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

body.landing.light .ln-reviews-empty {
  background: #fff;
  border-color: #c5b8ff;
}

.ln-reviews-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.2), rgba(74, 125, 255, 0.1));
  color: #b19dff;
  margin-bottom: 20px;
}

.ln-reviews-empty-title {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 10px;
}

.ln-reviews-empty-text {
  font-size: 15px;
  line-height: 1.6;
  color: #9aa0b4;
  margin: 0 0 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

body.landing.light .ln-reviews-empty-text { color: #6a7290; }

.ln-reviews-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== CTA-БЛОК ===== */
.ln-cta-section {
  padding: 60px 32px 100px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.ln-cta-box {
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.15), rgba(74, 125, 255, 0.08));
  border: 1px solid rgba(124, 92, 255, 0.3);
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
  backdrop-filter: blur(10px);
}

body.landing.light .ln-cta-box {
  background: linear-gradient(135deg, #f0edff, #eef1ff);
}

.ln-cta-title {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.ln-cta-text {
  font-size: 16px;
  color: #9aa0b4;
  margin: 0 0 32px;
}

body.landing.light .ln-cta-text { color: #6a7290; }

.ln-cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.ln-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 32px;
  position: relative;
  z-index: 1;
}

body.landing.light .ln-footer { border-top-color: #d0d5e0; }

.ln-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.ln-footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.ln-footer-sub {
  color: #6a7290;
  font-size: 12px;
  font-weight: 400;
  margin-left: 6px;
}

.ln-footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.ln-footer-links a {
  color: #9aa0b4;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color .15s;
}

.ln-footer-links a:hover { color: #eaeaf0; }
body.landing.light .ln-footer-links a { color: #6a7290; }
body.landing.light .ln-footer-links a:hover { color: #1a1d29; }

.ln-footer-copy {
  color: #6a7290;
  font-size: 12px;
}

/* ===== АНИМАЦИЯ ПОЯВЛЕНИЯ ===== */
.ln-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.ln-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Hover-эффекты */
.ln-card:hover .ln-card-icon,
.ln-step:hover .ln-step-icon {
  transform: scale(1.08);
  transition: transform .25s;
}

.ln-btn:active { transform: scale(0.98); }

/* ===== АДАПТИВ ===== */
@media (max-width: 720px) {
  .ln-header { padding: 12px 16px; gap: 12px; }
  .ln-nav { display: none; }
  .ln-h1 { font-size: 36px; }
  .ln-h2 { font-size: 26px; }
  .ln-hero { padding: 60px 20px 50px; }
  .ln-section { padding: 60px 20px; }
  .ln-cta-box { padding: 36px 24px; }
  .ln-cta-title { font-size: 24px; }
  .ln-footer-inner { justify-content: center; text-align: center; }
  .ln-desktop { padding: 28px 24px; }
  .ln-desktop-actions .ln-btn { min-width: 0; width: 100%; }
}