/* Маркетинговый лендинг Vacancy Bot (B2B SaaS) */

.vb-landing {
  --vb-landing-bg: #f7f9fc;
  background: var(--vb-landing-bg);
  color: #101828;
}

.vb-landing section {
  padding: 3.5rem 0;
}

.vb-landing h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  letter-spacing: -0.03em;
  font-weight: 700;
}

.vb-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 249, 252, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e4e7ec;
}

.vb-header__inner {
  min-height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Логотип и меню в одной группе — одинаковый отступ RU/EN (без «дыры» из space-between) */
.vb-header__start {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1 1 auto;
  min-width: 0;
}

.vb-header__nav {
  gap: 0.35rem 0.75rem;
}

.vb-header .navbar-brand {
  flex-shrink: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #101828;
}

.vb-header .nav-link {
  color: #667085;
  font-size: 0.95rem;
  padding: 0.35rem 0.5rem;
}

@media (min-width: 992px) {
  .vb-header__inner {
    flex-wrap: nowrap;
  }

  .vb-header__start {
    flex: 1 1 auto;
    min-width: 0;
  }

  .vb-header__nav {
    flex-wrap: nowrap;
    min-width: 0;
  }

  .vb-header nav .nav-link {
    font-size: 0.88rem;
    white-space: nowrap;
    padding: 0.3rem 0.4rem;
  }

  .vb-header__actions {
    flex-wrap: nowrap;
  }

  .vb-header .vb-btn-landing {
    min-height: 2.5rem;
    padding: 0 0.9rem;
    font-size: 0.88rem;
  }
}

/* RU: чуть компактнее подписи в шапке */
html[lang="ru"] .vb-header nav .nav-link {
  font-size: 0.88rem;
  padding: 0.3rem 0.45rem;
}

html[lang="ru"] .vb-header .vb-btn-landing {
  font-size: 0.8rem;
  padding: 0 0.75rem;
  min-height: 2.35rem;
}

html[lang="ru"] .vb-header .navbar-brand {
  font-size: 1.05rem;
}

html[lang="ru"] .vb-header__nav {
  gap: 0.25rem 0.55rem;
}

html[lang="ru"] .vb-header__start {
  gap: 1rem;
}

.vb-header .nav-link:hover {
  color: #101828;
}

.vb-header__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  margin-left: auto;
}

.vb-btn-landing {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.1rem;
  border-radius: 0.875rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.vb-btn-landing:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.vb-btn-landing--primary {
  background: var(--vb-brand);
  color: #fff;
  box-shadow: 0 10px 18px rgba(var(--vb-brand-rgb), 0.22);
}

.vb-btn-landing--primary:hover {
  color: #fff;
  background: #5a6fd6;
}

.vb-btn-landing--dark {
  background: #0f172a;
  color: #fff;
}

.vb-btn-landing--dark:hover {
  color: #fff;
}

.vb-btn-landing--ghost {
  background: transparent;
  border-color: #e4e7ec;
  color: #101828;
}

.vb-hero {
  padding: 4.5rem 0 3rem;
}

.vb-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.vb-eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0.45rem 0.75rem;
  background: rgba(var(--vb-brand-rgb), 0.1);
  color: var(--vb-brand);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
}

.vb-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  /* Одна колонка для RU и EN — без узкого 14ch, иначе блоки hero визуально «разъезжаются» */
  max-width: min(100%, 28rem);
}

.vb-hero__lead {
  margin: 1.1rem 0 0;
  color: #667085;
  font-size: 1.05rem;
  max-width: 52ch;
  line-height: 1.55;
}

.vb-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.vb-mockup {
  width: 100%;
  max-width: 28rem;
  min-height: 22rem;
  margin-left: auto;
  padding: 1.5rem;
  border-radius: 1.75rem;
  background: linear-gradient(180deg, #eef2ff 0%, #fff 55%, #f8fafc 100%);
  border: 1px solid #e4e7ec;
  box-shadow: 0 1.25rem 2.5rem rgba(16, 24, 40, 0.1);
  position: relative;
}

.vb-mockup__card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e4e7ec;
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.06);
  margin-bottom: 0.85rem;
}

.vb-mockup__card strong {
  font-size: 1.75rem;
  color: var(--vb-brand);
}

.vb-mockup__label {
  display: block;
  font-size: 0.82rem;
  color: #667085;
  margin-bottom: 0.35rem;
}

.vb-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.vb-card-landing {
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 1.15rem;
  padding: 1.35rem;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
  height: 100%;
}

.vb-card-landing h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.vb-card-landing p {
  margin: 0;
  color: #667085;
  font-size: 0.95rem;
}

.vb-steps .vb-card-landing {
  text-align: left;
}

.vb-split {
  padding: 4rem 0;
}

.vb-split__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.vb-split--reverse .vb-split__grid > :first-child {
  order: 2;
}

.vb-split--reverse .vb-split__grid > :last-child {
  order: 1;
}

.vb-list-check {
  padding-left: 0;
  list-style: none;
  color: #667085;
}

.vb-list-check li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.65rem;
}

.vb-list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--vb-brand);
  font-weight: 700;
}

.vb-panel-demo {
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 1.15rem;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
}

.vb-panel-demo__row {
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  background: #f8fafc;
  border: 1px solid #e4e7ec;
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
}

.vb-section-muted {
  background: #fff;
}

.vb-section-center {
  text-align: center;
}

.vb-section-center p {
  color: #667085;
  max-width: 52ch;
  margin: 0 auto 1.25rem;
}

.vb-pricing .vb-card-landing h3 {
  font-size: 1.25rem;
}

.vb-faq details {
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 1rem;
  padding: 1rem 1.15rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 14px rgba(16, 24, 40, 0.04);
}

.vb-faq summary {
  cursor: pointer;
  font-weight: 600;
}

.vb-faq details p {
  margin: 0.75rem 0 0;
  color: #667085;
}

.vb-final-cta {
  background: var(--vb-gradient);
  color: #fff;
  text-align: center;
  padding: 4rem 0;
}

.vb-final-cta h2 {
  color: #fff;
}

.vb-final-cta .vb-hero__cta {
  justify-content: center;
}

.vb-final-cta .vb-btn-landing--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.vb-footer-landing {
  background: #fff;
  border-top: 1px solid #e4e7ec;
  padding: 2rem 0 2.5rem;
}

.vb-footer-landing__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}

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

.vb-footer-landing a:hover {
  color: var(--vb-brand);
}

@media (max-width: 991px) {
  .vb-hero__grid,
  .vb-split__grid,
  .vb-grid-3 {
    grid-template-columns: 1fr;
  }

  .vb-split--reverse .vb-split__grid > :first-child,
  .vb-split--reverse .vb-split__grid > :last-child {
    order: unset;
  }

  .vb-mockup {
    margin: 0 auto;
  }

  .vb-hero h1 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .vb-header__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .vb-hero__cta {
    flex-direction: column;
  }

  .vb-btn-landing {
    width: 100%;
  }
}

/* Тёмная тема (переключатель в шапке, localStorage vb-theme) */
html[data-theme="dark"] body.vb-landing {
  --vb-landing-bg: #0f1419;
  background: var(--vb-landing-bg);
  color: #f3f4f6;
}

html[data-theme="dark"] .vb-landing .vb-header {
  background: rgba(15, 20, 25, 0.92);
  border-bottom-color: #2d3748;
}

html[data-theme="dark"] .vb-landing .vb-header .navbar-brand,
html[data-theme="dark"] .vb-landing .vb-header .nav-link:hover {
  color: #f3f4f6;
}

html[data-theme="dark"] .vb-landing .vb-header .nav-link {
  color: #9ca3af;
}

html[data-theme="dark"] .vb-landing h2,
html[data-theme="dark"] .vb-landing .vb-hero h1,
html[data-theme="dark"] .vb-landing .vb-card-landing h3 {
  color: #f3f4f6;
}

html[data-theme="dark"] .vb-landing .vb-eyebrow {
  background: rgba(99, 102, 241, 0.22);
  color: #c7d2fe;
}

html[data-theme="dark"] .vb-landing .vb-hero__lead,
html[data-theme="dark"] .vb-landing .text-muted,
html[data-theme="dark"] .vb-landing .vb-mockup__label {
  color: #9ca3af;
}

html[data-theme="dark"] .vb-landing .vb-btn-landing--ghost {
  border-color: #2d3748;
  color: #e5e7eb;
}

html[data-theme="dark"] .vb-landing .vb-btn-landing--ghost:hover {
  background: #1a1f2e;
  color: #fff;
}

html[data-theme="dark"] .vb-landing .vb-section-muted {
  background: #121820;
}

html[data-theme="dark"] .vb-landing .vb-card-landing {
  background: #1a1f2e;
  border-color: #2d3748;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .vb-landing .vb-mockup {
  background: linear-gradient(180deg, #1e293b 0%, #1a1f2e 55%, #0f1419 100%);
  border-color: #2d3748;
}

html[data-theme="dark"] .vb-landing .vb-mockup__card {
  background: rgba(26, 31, 46, 0.95);
  border-color: #2d3748;
}

html[data-theme="dark"] .vb-landing .vb-panel-demo {
  background: #1a1f2e;
  border-color: #2d3748;
  color: #e5e7eb;
}

html[data-theme="dark"] .vb-landing .vb-panel-demo__row {
  background: #121820;
  border-color: #2d3748;
  color: #e5e7eb;
}

html[data-theme="dark"] .vb-landing .vb-panel-demo__row strong {
  color: #c7d2fe;
}

html[data-theme="dark"] .vb-landing .vb-list-check {
  color: #9ca3af;
}

html[data-theme="dark"] .vb-landing .vb-card-landing p {
  color: #9ca3af;
}

html[data-theme="dark"] .vb-landing .vb-section-center p {
  color: #9ca3af;
}

html[data-theme="dark"] .vb-landing .vb-faq summary {
  color: #f3f4f6;
}

html[data-theme="dark"] .vb-landing .vb-faq details p {
  color: #9ca3af;
}

html[data-theme="dark"] .vb-landing .vb-footer-landing {
  background: #121820;
  border-top-color: #2d3748;
  color: #e5e7eb;
}

html[data-theme="dark"] .vb-landing .vb-footer-landing a {
  color: #9ca3af;
}

html[data-theme="dark"] .vb-landing details {
  border-color: #2d3748;
  background: #1a1f2e;
}
