/* Приветственная зона в тонах калькулятора (чёрный / белый / серый) */

body {
  flex-direction: column;
  align-items: center;
}

.land-page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.02);
  animation: land-bg-in 1.1s ease both;
}

.land-page-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(212, 212, 220, 0.55) 0%,
    rgba(28, 28, 36, 0.28) 45%,
    rgba(212, 212, 220, 0.5) 100%
  );
}

.land-page-bg[hidden] {
  display: none !important;
}

body.has-land-bg .waves-bg {
  opacity: 0;
}

@keyframes land-bg-in {
  from {
    opacity: 0;
    transform: scale(1.06);
  }
  to {
    opacity: 1;
    transform: scale(1.02);
  }
}

.land-welcome {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 1.5rem;
  padding: 0.25rem 0 1.5rem;
}

.land-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.15rem;
  align-items: stretch;
}

.land-shell.has-photos {
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
}

.land-welcome-inner {
  background: var(--glass-bg, rgba(255, 255, 255, 0.78));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border, rgba(28, 28, 36, 0.1));
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(28, 28, 36, 0.08), 0 1px 0 rgba(255, 255, 255, 0.45) inset;
  padding: clamp(1.5rem, 4vw, 2.35rem) clamp(1.15rem, 3vw, 2rem);
}

.land-brand-line {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.75rem, 4.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary, #1c1c24);
  line-height: 1.05;
  margin-bottom: 0.65rem;
}

.land-brand-line[hidden] {
  display: none !important;
}

.land-hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 700;
  color: var(--text-primary, #1c1c24);
  margin-bottom: 0.55rem;
  max-width: 36rem;
}

.land-hero-text {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text-secondary, #5a5a68);
  max-width: 38rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.land-hero-cta {
  margin-top: 1.1rem;
}

.land-hero-cta[hidden] {
  display: none !important;
}

.land-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.15rem;
  background: var(--text-primary, #1c1c24);
  color: #f4f4f6;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 10px;
  border: 1px solid var(--text-primary, #1c1c24);
  transition: filter 0.2s ease, background 0.2s ease, transform 0.25s ease;
}

.land-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.land-blocks {
  margin-top: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.land-empty {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color, #babac6);
  color: var(--text-secondary, #5a5a68);
  font-size: 0.9rem;
}

.land-empty[hidden] {
  display: none !important;
}

.land-block {
  padding: 1.15rem 0 0;
  margin-top: 1.15rem;
  border-top: 1px solid var(--border-color, #babac6);
}

.land-block h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary, #1c1c24);
  margin-bottom: 0.4rem;
}

.land-block p {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary, #5a5a68);
  max-width: 40rem;
  white-space: pre-wrap;
  line-height: 1.5;
}

.land-photos {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 100%;
}

.land-photos[hidden] {
  display: none !important;
}

.land-photo {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--glass-border, rgba(28, 28, 36, 0.1));
  box-shadow: 0 16px 40px rgba(28, 28, 36, 0.1);
  background: rgba(255, 255, 255, 0.55);
  opacity: 0;
  transform: translateX(28px);
  animation: land-photo-in 0.7s ease forwards;
}

.land-photo:nth-child(1) { animation-delay: 0.05s; }
.land-photo:nth-child(2) { animation-delay: 0.18s; }
.land-photo:nth-child(3) { animation-delay: 0.31s; }
.land-photo:nth-child(4) { animation-delay: 0.44s; }
.land-photo:nth-child(5) { animation-delay: 0.57s; }
.land-photo:nth-child(n+6) { animation-delay: 0.7s; }

.land-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: cover;
  vertical-align: middle;
}

@keyframes land-photo-in {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.land-support {
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border-color, #babac6);
}

.land-support[hidden] {
  display: none !important;
}

.land-support-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary, #1c1c24);
  margin-bottom: 0.45rem;
}

.land-support-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
}

.land-support-link {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary, #1c1c24);
  text-decoration: none;
  border-bottom: 1px solid var(--border-color, #babac6);
}

.land-support-link:hover {
  border-bottom-color: var(--text-primary, #1c1c24);
}

.land-support-link[hidden] {
  display: none !important;
}

.land-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.land-widgets[hidden] {
  display: none !important;
}

.land-widgets-meta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary, #5a5a68);
}

.land-widgets-live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #15803d;
}

.land-widgets-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  animation: land-live-pulse 1.6s ease-out infinite;
}

@keyframes land-live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.land-widget {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--glass-border, rgba(28, 28, 36, 0.12));
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  box-shadow: 0 8px 22px rgba(28, 28, 36, 0.06);
}

.land-widget-head {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

.land-widget-symbol {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-primary, #1c1c24);
}

.land-widget-name {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-secondary, #5a5a68);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.land-widget-price {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary, #1c1c24);
  line-height: 1.2;
}

.land-widget-change {
  margin-top: 0.2rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary, #5a5a68);
}

.land-widget-change.is-up {
  color: #15803d;
}

.land-widget-change.is-down {
  color: #b91c1c;
}

.land-widget-note {
  grid-column: span 2;
  min-width: 0;
}

.land-widget-note-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary, #1c1c24);
  margin-bottom: 0.35rem;
}

.land-widget-note-body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary, #5a5a68);
  line-height: 1.45;
  white-space: pre-wrap;
}

.land-widget-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.55rem 0.75rem;
  background: var(--text-primary, #1c1c24);
  color: #f4f4f6;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 8px;
  text-align: center;
}

.land-widget-link-btn:hover {
  filter: brightness(1.08);
}

.land-widget-link .land-widget-note-body {
  margin-top: 0.45rem;
}

.land-shell.has-widgets .land-welcome-inner {
  min-height: 0;
}

@media (max-width: 560px) {
  .land-widget-note {
    grid-column: span 1;
  }
}

#calculator {
  scroll-margin-top: 4.5rem;
}

#welcome {
  scroll-margin-top: 4rem;
}

@media (max-width: 860px) {
  .land-shell,
  .land-shell.has-photos {
    grid-template-columns: 1fr;
  }

  .land-photo {
    transform: translateY(18px);
    animation-name: land-photo-in-mobile;
  }

  .land-photo img {
    max-height: 220px;
  }
}

@keyframes land-photo-in-mobile {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .land-welcome {
    margin-bottom: 1rem;
  }

  .land-welcome-inner {
    padding: 1.15rem 1rem 1.35rem;
  }

  .nav-site-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }
}

/* Навигация по страницам */
.nav-site-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  max-width: 100%;
}

.lang-switcher {
  display: none !important;
}

.nav-home-link.is-active {
  background: var(--text-primary, #1c1c24);
  color: #fff;
  border-color: var(--text-primary, #1c1c24);
}

.nav-vip-link {
  border-color: rgba(180, 140, 40, 0.45);
}

.nav-vip-link.is-active {
  background: linear-gradient(135deg, #3d3420 0%, #1c1c24 100%);
  border-color: #b8942e;
  color: #f5e6b8;
}

.land-page-section {
  padding-top: 0.5rem;
}

.land-page-card {
  max-width: 720px;
  margin: 0 auto;
}

.land-page-lead {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.land-page-body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary, #5a5a68);
  white-space: pre-wrap;
}

.land-vip-card {
  border-color: rgba(184, 148, 46, 0.35);
  box-shadow:
    0 16px 40px rgba(28, 28, 36, 0.08),
    0 0 0 1px rgba(184, 148, 46, 0.12) inset;
}

.land-vip-badge {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b5410;
  background: linear-gradient(135deg, #f5e6b8 0%, #e8c96a 100%);
  border: 1px solid rgba(184, 148, 46, 0.5);
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  margin: 0 0 0.75rem;
}

.land-vip-btn {
  background: linear-gradient(135deg, #2a2418 0%, #1c1c24 100%);
  border: 1px solid rgba(184, 148, 46, 0.45);
}

.land-vip-btn:hover {
  filter: brightness(1.08);
}
