html {
  scroll-behavior: smooth;
}

body.landing-page {
  color: #f1edff;
  scrollbar-width: thin;
  scrollbar-color: rgba(178, 48, 204, 0.8) rgba(255, 255, 255, 0.08);
}

body.landing-page::-webkit-scrollbar {
  width: 10px;
}

body.landing-page::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
}

body.landing-page::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(178, 48, 204, 0.9) 0%, rgba(142, 88, 255, 0.9) 100%);
  border-radius: 999px;
}

body.landing-page::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(198, 76, 217, 0.95) 0%, rgba(165, 112, 255, 0.95) 100%);
}

/* Как у .header-container (main.css): одна сетка отступов по всей лендинг-странице */
.landing-container {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 5vw, 80px);
  padding-right: clamp(16px, 5vw, 80px);
  box-sizing: border-box;
}

.landing-header {
  transition: background 0.2s ease, border-color 0.2s ease, backdrop-filter 0.2s ease;
}

.landing-header.scrolled {
  background: rgba(0, 0, 0, 1);
  border-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.landing-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.landing-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.landing-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Кнопка в лендинге — такая же высота/ритм, как .login-btn в общем header */
.landing-login-btn {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Inter", sans-serif;
  font-size: clamp(14px, 1.3vw, 20px);
  font-weight: 600;
  line-height: 1.6;
  padding: clamp(2px, 0.3vh, 6px) clamp(6px, 4vw, 60px);
  min-width: clamp(80px, 5vw, 120px);
}

.landing-hero {
  padding: 64px 0 38px;
  min-height: clamp(420px, 60vh, 760px);
  display: flex;
  align-items: center;
}

.landing-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.landing-hero h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.07;
}

.landing-hero p {
  margin: 18px 0 0;
  color: #cfc5ec;
  font-size: clamp(10px, 1.8vw, 14px);
  line-height: 1.45;
  max-width: 760px;
}

.landing-primary-btn {
  margin-top: 28px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #b230cc 0%, #8e58ff 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 13px 20px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(142, 88, 255, 0.35);
}

.landing-mockup {
  position: relative;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(165deg, rgba(22, 13, 41, 0.92) 0%, rgba(10, 6, 20, 0.85) 100%);
  min-height: clamp(330px, 45vh, 520px);
  padding: 18px;
  overflow: hidden;
}

.landing-mockup-scene {
  position: absolute;
  inset: 18px;
  opacity: 0;
  transform: translateY(8px) scale(0.985);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
  z-index: 1;
}

.landing-mockup-scene.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.landing-mockup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.landing-mockup-title {
  font-size: 13px;
  font-weight: 600;
  color: #f7f3ff;
}

.landing-mockup-models {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.landing-mockup-models span {
  font-size: 11px;
  padding: 4px 7px;
  border-radius: 999px;
  color: #e9ddff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.landing-chat-bubble {
  max-width: 90%;
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 10px;
  border: 1px solid transparent;
}

.landing-chat-bubble.user {
  margin-left: auto;
  background: rgba(137, 84, 255, 0.22);
  border-color: rgba(178, 48, 204, 0.36);
  color: #f6f1ff;
}

.landing-chat-bubble.bot {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ddd1f7;
}

.landing-result-card {
  border: none;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.landing-result-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: #f3ecff;
}

.landing-result-status {
  font-size: 11px;
  color: #dbccf7;
}

.landing-result-preview {
  margin-top: 10px;
  border-radius: 12px;
  /* Единая высота на всех ширинах: vh даёт нормальный размер на мобилке, без жёсткого 126px */
  height: clamp(180px, min(32vw, 34vh), 300px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

@media (min-width: 961px) {
  .landing-result-preview {
    /* На десктопе мокап ниже — меньше превью, чтобы длинный промпт под картинкой помещался */
    height: clamp(210px, min(20vw, 20vh), 220px);
  }
}

.landing-result-preview--image {
  background: rgba(12, 8, 22, 0.95);
}

.landing-result-preview--image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.landing-result-preview--video {
  background: rgba(12, 8, 22, 0.95);
}

.landing-result-preview--video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.landing-result-caption {
  margin: 10px 0 0;
  color: #cfc5ec;
  font-size: clamp(10px, 1.05vw, 11px);
  line-height: 1.45;
}

.landing-value-frame {
  position: relative;
  height: 100%;
  min-height: clamp(200px, 32vh, 300px);
  margin: 0;
  /* «Облако» бейджей: абсолютное позиционирование + лёгкий разброс */
}

.landing-value-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(135deg, rgba(178, 48, 204, 0.4) 0%, rgba(142, 88, 255, 0.34) 100%);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  color: #fff;
  font-size: clamp(10px, 1.15vw, 12px);
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  max-width: min(46%, 210px);
  z-index: 1;
}

.landing-value-badge:nth-child(1) {
  top: 6%;
  left: 2%;
  transform: rotate(-2.8deg);
}

.landing-value-badge:nth-child(2) {
  top: 4%;
  right: 4%;
  transform: rotate(2.2deg);
}

.landing-value-badge:nth-child(3) {
  top: 36%;
  left: 50%;
  transform: translateX(-50%) rotate(-1deg);
}

.landing-value-badge:nth-child(4) {
  top: 20%;
  left: 10%;
  transform: rotate(1.4deg);
}

.landing-value-badge:nth-child(5) {
  top: 52%;
  right: 6%;
  transform: rotate(-1.6deg);
}

.landing-value-badge:nth-child(6) {
  bottom: 26%;
  left: 6%;
  transform: rotate(2.4deg);
}

.landing-value-badge:nth-child(7) {
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%) rotate(0.4deg);
  max-width: min(94%, 320px);
  font-size: clamp(9px, 1.05vw, 11px);
}

.landing-gradient-sphere {
  position: absolute;
  right: -54px;
  bottom: -66px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(206, 128, 255, 0.95) 0%, rgba(142, 88, 255, 0.26) 68%, rgba(142, 88, 255, 0) 100%);
  filter: blur(2px);
}

.landing-section {
  padding: 42px 0;
}

.landing-section h2 {
  margin: 0 0 20px;
  font-size: clamp(26px, 3vw, 38px);
}

.landing-section-lead {
  margin: -8px 0 22px;
  max-width: 720px;
  color: var(--text-muted, #a1a1aa);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.5;
}

.landing-section-why .landing-why-lead {
  margin: -6px 0 clamp(22px, 3vw, 32px);
  max-width: 820px;
  color: #cfc5ec;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.5;
}

.landing-why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  align-items: stretch;
}

.landing-why-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(28, 18, 48, 0.55) 0%, rgba(0, 0, 0, 0.35) 100%);
  padding: clamp(18px, 2.2vw, 26px);
  padding-top: clamp(22px, 2.6vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  box-sizing: border-box;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.landing-why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #b230cc 0%, #8e58ff 55%, rgba(142, 88, 255, 0.35) 100%);
  border-radius: 18px 18px 0 0;
}

.landing-why-card:hover {
  border-color: rgba(178, 48, 204, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

.landing-why-card__image {
  display: block;
  width: auto;
  max-width: min(200px, 58%);
  max-height: clamp(88px, 16vw, 120px);
  margin: 0 auto;
  object-fit: contain;
  border-radius: 0;
  border: none;
  background: none;
}

.landing-why-card__head {
  display: flex;
  align-items: center;
  gap: 0;
}

.landing-why-card__title {
  margin: 0;
  font-size: clamp(16px, 1.45vw, 20px);
  font-weight: 600;
  color: #f1edff;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.landing-why-card__text {
  margin: 0;
  color: #cfc5ec;
  font-size: clamp(13px, 1.12vw, 15px);
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .landing-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .landing-why-grid {
    grid-template-columns: 1fr;
  }
  .landing-section {
    padding: 20px 0;
  }
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.capability-card,
.faq-list details {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.22);
}

.capability-card {
  padding: 18px;
}

.capability-card h3 {
  margin: 0;
}

.landing-section-tariffs .landing-tariffs-heading {
  margin-bottom: 8px;
}

.landing-section-tariffs .tariffs-container {
  height: auto;
  min-height: 0;
  max-height: none;
  overflow-x: visible;
  overflow-y: visible;
  width: 100%;
  max-width: 1440px;
  margin: 8px auto clamp(12px, 3vh, 28px);
  padding-left: clamp(16px, 5vw, 80px);
  padding-right: clamp(16px, 5vw, 80px);
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .landing-section-tariffs .tariffs-slider {
    grid-template-columns: repeat(3, 1fr);
  }
}

.capability-card p {
  margin: 8px 0 0;
  color: #cfc5ec;
  line-height: 1.45;
}

.landing-features-carousel {
  margin-top: 4px;
  width: 100%;
}

.landing-features-viewport {
  --lf-gap: clamp(10px, 2vw, 18px);
  container-type: inline-size;
  container-name: landing-features;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(178, 48, 204, 0.85) rgba(255, 255, 255, 0.08);
}

.landing-features-viewport::-webkit-scrollbar {
  height: 8px;
}

.landing-features-viewport::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}

.landing-features-viewport::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, rgba(178, 48, 204, 0.9) 0%, rgba(142, 88, 255, 0.9) 100%);
  border-radius: 999px;
}

.landing-features-viewport::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, rgba(198, 76, 217, 0.95) 0%, rgba(165, 112, 255, 0.95) 100%);
}

.landing-features-track {
  display: flex;
  align-items: stretch;
  gap: var(--lf-gap);
  padding: 4px 0 12px;
}

.landing-feature-card {
  flex: 0 0 calc((100cqi - 3 * var(--lf-gap)) / 3.5);
  box-sizing: border-box;
  min-width: 0;
  height: auto;
  display: flex;
  flex-direction: column;
}

.landing-feature-card .card-image {
  height: clamp(96px, 12vw, 168px);
  flex-shrink: 0;
}

.landing-feature-card .card-description {
  flex: 1;
}

.landing-templates-block {
  margin-top: clamp(14px, 2.2vw, 22px);
  padding-top: clamp(12px, 1.8vw, 18px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Заголовок + кнопка «Все шаблоны» в одной строке */
.landing-templates-head {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(8px, 2vw, 16px);
  margin: 0 0 clamp(10px, 1.5vw, 14px);
}

.landing-templates-subtitle {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #f1edff;
}

.landing-templates-lead {
  margin: 0;
  max-width: 640px;
  color: #a99ec9;
  font-size: clamp(14px, 1.35vw, 17px);
  line-height: 1.45;
}

.landing-templates-viewport {
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.landing-templates-viewport::-webkit-scrollbar {
  display: none;
}

.landing-templates-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: clamp(10px, 2vw, 14px);
  width: max-content;
  max-width: none;
  padding: 2px 0 8px;
}

.landing-template-thumb {
  flex: 0 0 auto;
  width: clamp(104px, 30vw, 148px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  color: inherit;
  border-radius: 14px;
  padding: clamp(6px, 1.8vw, 8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.landing-template-thumb:hover {
  border-color: rgba(172, 75, 255, 0.45);
  background: rgba(142, 88, 255, 0.08);
  transform: translateY(-2px);
}

.landing-template-thumb__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.landing-template-thumb__media img,
.landing-template-thumb__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.landing-template-thumb__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(74, 31, 122, 0.5) 0%, rgba(142, 88, 255, 0.2) 100%);
}

.landing-template-thumb__title {
  font-family: "Inter", sans-serif;
  font-size: clamp(12px, 1.1vw, 14px);
  font-weight: 500;
  line-height: 1.3;
  color: #e8e0ff;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.landing-templates-all {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: clamp(7px, 2.2vw, 10px) clamp(10px, 3.8vw, 18px);
  border-radius: clamp(9px, 2.4vw, 12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(135deg, rgba(178, 48, 204, 0.55) 0%, rgba(142, 88, 255, 0.45) 100%);
  box-shadow: 0 4px 18px rgba(142, 88, 255, 0.25);
  color: #fff;
  font-size: clamp(11px, 3.2vw, 14px);
  font-weight: 600;
  font-family: "Inter", sans-serif;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
}

.landing-templates-all:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(142, 88, 255, 0.4);
  border-color: rgba(255, 255, 255, 0.35);
  filter: brightness(1.05);
}

.landing-templates-all:focus-visible {
  outline: 2px solid rgba(206, 159, 255, 0.9);
  outline-offset: 3px;
}

.tools-cloud {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.8vw, 16px);
  padding: 32px 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.22);
}

.tools-cloud__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  gap: 10px 12px;
  min-height: 200px;
}

.tools-company-detail {
  width: 100%;
  padding-top: clamp(14px, 2vw, 20px);
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
}

.tools-company-detail[hidden] {
  display: none !important;
}

.tools-company-detail__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.tools-company-detail__logo {
  width: clamp(28px, 3vw, 36px);
  height: clamp(28px, 3vw, 36px);
  object-fit: contain;
  flex-shrink: 0;
}

.tools-company-detail__logo[hidden] {
  display: none !important;
}

.tools-company-detail__title {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 600;
  color: #f1edff;
  letter-spacing: -0.02em;
}

.tools-company-detail__desc {
  margin: 0;
  font-size: clamp(14px, 1.25vw, 16px);
  line-height: 1.55;
  color: #cfc5ec;
}

.tools-chip {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(172, 75, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
  color: #f1edff;
  font-size: clamp(13px, 1.15vw, 15px);
  font-weight: 600;
  font-family: "Inter", sans-serif;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.tools-chip--sm {
  font-size: clamp(12px, 1vw, 13px);
  padding: 7px 13px;
  opacity: 0.92;
}

.tools-chip--lg {
  font-size: clamp(14px, 1.35vw, 17px);
  padding: 11px 18px;
  border-color: rgba(178, 48, 204, 0.55);
  background: rgba(172, 75, 255, 0.12);
}

.tools-chip__logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
  pointer-events: none;
}

.tools-chip--lg .tools-chip__logo {
  width: 20px;
  height: 20px;
}

.tools-chip--sm .tools-chip__logo {
  width: 15px;
  height: 15px;
}

.tools-chip__label {
  line-height: 1.2;
}

.tools-cloud__chips .tools-chip:nth-child(5n + 1) {
  transform: rotate(-1.2deg);
}

.tools-cloud__chips .tools-chip:nth-child(5n + 3) {
  transform: rotate(1deg);
}

.tools-cloud__chips .tools-chip:nth-child(7n + 2) {
  transform: translateY(3px);
}

.tools-cloud__chips .tools-chip:nth-child(11n + 4) {
  transform: rotate(0.6deg) translateY(-2px);
}

.tools-chip:hover {
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(172, 75, 255, 0.85);
  background: rgba(172, 75, 255, 0.18);
  box-shadow: 0 8px 22px rgba(101, 52, 168, 0.28);
}

.tools-chip.is-selected {
  border-color: rgba(206, 159, 255, 0.95);
  background: rgba(172, 75, 255, 0.28);
  box-shadow: 0 0 0 1px rgba(206, 159, 255, 0.35);
  z-index: 1;
}

.tools-chip:focus-visible {
  outline: 2px solid rgba(206, 159, 255, 0.9);
  outline-offset: 2px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.faq-header h2 {
  margin: 0;
}

.faq-support-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.faq-support-cta__text {
  color: #cfc5ec;
  font-size: 14px;
}

.faq-support-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(135deg, rgba(178, 48, 204, 0.75) 0%, rgba(142, 88, 255, 0.7) 100%);
  box-shadow: 0 6px 22px rgba(142, 88, 255, 0.28);
  color: #ffffff;
  text-decoration: none;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, border-color 0.2s ease;
}

.faq-support-cta__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(142, 88, 255, 0.38);
  border-color: rgba(255, 255, 255, 0.35);
  filter: brightness(1.05);
}

.faq-support-cta__btn:focus-visible {
  outline: 2px solid rgba(206, 159, 255, 0.9);
  outline-offset: 2px;
}

.faq-support-cta__icon {
  display: block;
}

.faq-list details {
  padding: 14px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  font-size: clamp(13px, 1.5vw, 16px);

}

.faq-list p {
  margin: 8px 0 0;
  font-size: clamp(13px, 1.5vw, 15px);
  color: #cfc5ec;
}

.landing-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 36px;
}

.landing-footer-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.landing-footer-links {
  display: flex;
  gap: 16px;
}

.landing-footer a {
  color: #d9d0f1;
  text-decoration: none;
}

.landing-footer a:hover {
  color: #fff;
}

.social-icons {
  display: flex;
  gap: 8px;
}

.social-icons a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

@media (max-width: 960px) {
  .landing-hero {
    min-height: 0;
    display: block;
  }

  .language-selector {
    display: none;
  }

  .landing-nav {
    display: none;
  }

  .landing-hero-grid {
    grid-template-columns: 1fr;
  }

  .capabilities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .capabilities-grid {
    grid-template-columns: 1fr;
  }

  .landing-feature-card {
    flex: 0 0 calc((100cqi - 2 * var(--lf-gap)) / 2.35);
  }

  .landing-feature-card .card-image {
    height: clamp(80px, 22vw, 120px);
  }

  .landing-mockup-scene {
    inset: 12px;
  }

  .landing-chat-bubble {
    font-size: 12px;
  }

  .landing-value-frame {
    min-height: 270px;
  }

  .landing-value-badge {
    padding: 6px 10px;
    max-width: 50%;
  }

  .landing-value-badge:nth-child(4) {
    top: 16%;
    left: 4%;
  }

  .landing-value-badge:nth-child(5) {
    top: 50%;
    right: 2%;
  }

  .landing-value-badge:nth-child(6) {
    bottom: 30%;
    left: 4%;
  }

  .faq-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .faq-support-cta {
    justify-content: flex-start;
  }
}

/* Авторизованный лендинг: фиксированные нижние панели не должны перекрывать FAQ */
body.landing-page.landing-authenticated .copyright-container {
  padding-top: 0;
  padding-bottom: 0;
}

body.landing-page.landing-authenticated .bottom-nav {
  /* По умолчанию меню прижато к низу */
  bottom: 0;
}

body.landing-page.landing-authenticated .copyright-bar {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

body.landing-page.landing-authenticated.landing-show-copyright .copyright-bar {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

body.landing-page.landing-authenticated.landing-show-copyright .bottom-nav {
  /* У низа страницы меню возвращается в прежнюю стабильную позицию */
  bottom: 22px;
}

@media (min-width: 641px) and (max-width: 1100px) {
  body.landing-page.landing-authenticated.landing-show-copyright .bottom-nav {
    /* В этом диапазоне высота copyright меньше, поэтому уменьшаем отступ */
    bottom: 16px;
  }
}

body.landing-page.landing-authenticated #faq {
  /* Фиксированный запас убирает дергания от пересчета высоты страницы */
  padding-bottom: clamp(150px, 22vh, 230px);
}

@media (max-width: 960px) {
  body.landing-page.landing-authenticated #faq {
    padding-bottom: clamp(135px, 20vh, 190px);
  }
}

/* Как в основном меню: на узких экранах копирайт и ссылки в две строки */
@media (max-width: 640px) {
  body.landing-page.landing-authenticated.landing-show-copyright .bottom-nav { bottom: 35px; }

  body.landing-page.landing-authenticated .copyright-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    text-align: center;
    height: auto;
    min-height: 0;
    padding-top: 2px;
    padding-bottom: 2px;
  }

  body.landing-page.landing-authenticated .copyright-links {
    justify-content: center;
  }
}

@media (max-height: 600px) {
  /* На низких экранах: как раньше — копирайт и ссылки в разных строках */
  body.landing-page.landing-authenticated .copyright-container {
    display: block;
    height: auto;
    min-height: 0;
    padding-top: 2px;
    padding-bottom: 2px;
  }

  body.landing-page.landing-authenticated .copyright-text,
  body.landing-page.landing-authenticated .copyright-links {
    display: block;
    width: 100%;
  }

  body.landing-page.landing-authenticated .copyright-links {
    margin-top: 2px;
  }
}
