.landing-page {
  --landing-bg: #f8faff;
  --landing-bg-alt: #eef3ff;
  --landing-text: #0f172a;
  --landing-muted: #64748b;
  --landing-primary: #2563eb;
  --landing-primary-hover: #1d4ed8;
  --landing-navy: #0f2744;
  --landing-radius: 16px;
  --landing-shadow: 0 12px 40px rgba(15, 39, 68, 0.08);

  margin: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--landing-text);
  background: #fff;
  line-height: 1.55;
}

.landing-page a {
  color: var(--landing-primary);
  text-decoration: none;
}

.landing-page a.landing-btn--primary {
  color: #fff;
}

.landing-page a.landing-btn--primary:hover,
.landing-page a.landing-btn--primary:focus-visible {
  color: #fff;
}

.landing-page a.landing-btn--ghost {
  color: var(--landing-primary);
}

.landing-page .landing-cta-banner a.landing-btn--primary {
  color: #fff;
}

.landing-container {
  width: min(1140px, 100% - 2.5rem);
  margin: 0 auto;
  overflow: visible;
}

.landing-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0;
}

.landing-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.landing-logo img {
  height: 36px;
  width: auto;
  display: block;
}

.landing-nav {
  display: none;
  gap: 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.landing-nav a {
  color: var(--landing-text);
}

.landing-nav a:hover {
  color: var(--landing-primary);
}

.landing-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.landing-link-btn {
  font-weight: 600;
  color: var(--landing-text);
  padding: 0.45rem 0.75rem;
}

.landing-link-btn:hover {
  color: var(--landing-primary);
}

.landing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font: inherit;
  transition: background 0.15s ease, transform 0.15s ease;
}

.landing-btn--primary {
  background: var(--landing-primary);
  color: #fff;
}

.landing-btn--primary:hover {
  background: var(--landing-primary-hover);
  color: #fff;
}

.landing-btn--ghost {
  background: #fff;
  color: var(--landing-primary);
  border: 1px solid #cbd5e1;
}

.landing-btn--ghost:hover {
  border-color: var(--landing-primary);
}

.landing-btn--lg {
  padding: 0.85rem 1.75rem;
  font-size: 1.05rem;
}

.landing-hero {
  padding: 3.5rem 0 2.5rem;
  background: linear-gradient(180deg, var(--landing-bg) 0%, #fff 100%);
}

.landing-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.landing-hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.landing-hero-lead {
  font-size: 1.125rem;
  color: var(--landing-muted);
  margin: 0 0 1.75rem;
  max-width: 34rem;
}

.landing-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.landing-trust {
  padding: 1.25rem 0 2rem;
  border-bottom: 1px solid #e2e8f0;
}

.landing-trust-wrap {
  display: flex;
  justify-content: center;
}

.landing-trust-list {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 2rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  color: var(--landing-text);
  max-width: 100%;
}

.landing-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.landing-trust-check {
  flex-shrink: 0;
  color: var(--landing-primary);
}

.landing-page main {
  position: relative;
  z-index: 1;
}

.landing-section {
  padding: 4rem 0;
  overflow: visible;
}

.landing-section--alt {
  background: var(--landing-bg);
}

.landing-section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.5rem;
}

.landing-section-sub {
  text-align: center;
  color: var(--landing-muted);
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.landing-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 280px));
  justify-content: center;
  gap: 1.25rem;
}

.landing-feature-card {
  background: #fff;
  border-radius: var(--landing-radius);
  padding: 1.5rem;
  box-shadow: var(--landing-shadow);
  border: 1px solid #eef2f7;
}

.landing-section--alt .landing-feature-card {
  background: #fff;
}

.landing-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--landing-bg-alt);
  color: var(--landing-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.landing-feature-icon svg {
  display: block;
}

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

.landing-feature-card p {
  margin: 0;
  color: var(--landing-muted);
  font-size: 0.95rem;
}

.landing-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  overflow: visible;
}

.landing-split > :first-child {
  position: relative;
  z-index: 2;
}

.landing-hero-grid > :first-child {
  position: relative;
  z-index: 2;
}

.landing-split h2 {
  font-size: 1.75rem;
  margin: 0 0 1rem;
}

.landing-split p {
  color: var(--landing-muted);
  margin: 0 0 1.25rem;
}

.landing-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: landing-step;
}

.landing-step {
  background: #fff;
  border-radius: 12px;
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  border: 1px solid #e2e8f0;
  counter-increment: landing-step;
  position: relative;
}

.landing-step::before {
  content: counter(landing-step);
  position: absolute;
  left: 1.25rem;
  top: 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--landing-primary);
  line-height: 1;
}

.landing-step h3 {
  margin: 0 0 0.5rem;
  padding-left: 1.35rem;
  font-size: 1rem;
}

.landing-step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--landing-muted);
}

.landing-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 280px));
  justify-content: center;
  gap: 1.25rem;
  align-items: stretch;
}

.landing-price-card {
  background: #fff;
  border-radius: var(--landing-radius);
  padding: 1.75rem 1.5rem;
  border: 1px solid #e2e8f0;
  box-shadow: var(--landing-shadow);
  display: flex;
  flex-direction: column;
}

.landing-price-card--demo {
  border-style: dashed;
  box-shadow: none;
}

.landing-price-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  color: var(--landing-muted);
  font-weight: 600;
}

.landing-price-value {
  font-size: 2rem;
  font-weight: 800;
  margin: 0.25rem 0 0.5rem;
  letter-spacing: -0.02em;
}

.landing-price-value small {
  font-size: 1rem;
  font-weight: 600;
  color: var(--landing-muted);
}

.landing-price-desc {
  flex: 1;
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--landing-muted);
}

.landing-payment-note {
  max-width: 42rem;
  margin: 2rem auto 0;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border-radius: var(--landing-radius);
  border: 1px solid #e2e8f0;
  font-size: 0.95rem;
  color: var(--landing-muted);
}

.landing-payment-note strong {
  color: var(--landing-text);
}

.landing-contacts {
  text-align: center;
}

.landing-contacts p {
  margin: 0.35rem 0;
  font-size: 1.05rem;
}

.landing-contacts a {
  font-weight: 600;
}

.landing-cta-banner {
  margin: 0 0 4rem;
  padding: 2.5rem 2rem;
  background: var(--landing-navy);
  color: #fff;
  border-radius: calc(var(--landing-radius) + 4px);
  text-align: center;
}

.landing-cta-banner h2 {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
}

.landing-cta-banner p {
  margin: 0 0 1.5rem;
  color: #cbd5e1;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.landing-footer {
  background: #f1f5f9;
  padding: 2rem 0;
  font-size: 0.9rem;
  color: var(--landing-muted);
}

.landing-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
}

.landing-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.landing-footer-links a {
  color: var(--landing-muted);
  font-weight: 500;
}

.landing-footer-links a:hover {
  color: var(--landing-primary);
}

.landing-hero-showcase {
  position: relative;
  z-index: 1;
  padding: 1.25rem 0.5rem 1.75rem;
  isolation: isolate;
  overflow: visible;
}

.landing-hero-showcase::before {
  content: '';
  position: absolute;
  inset: -15% -27%;
  z-index: -1;
  background: radial-gradient(
    ellipse 100% 83% at 50% 50%,
    rgba(186, 204, 238, 0.72) 0%,
    rgba(208, 222, 248, 0.48) 28%,
    rgba(228, 236, 252, 0.28) 50%,
    rgba(241, 246, 255, 0.12) 70%,
    rgba(255, 255, 255, 0) 92%
  );
  filter: blur(13px);
  pointer-events: none;
}

.landing-hero-showcase > .landing-screenshot {
  position: relative;
  z-index: 1;
}

.landing-screenshot {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: none;
  background: #fff;
  box-shadow:
    0 12px 18px rgba(15, 39, 68, 0.05),
    0 54px 120px rgba(15, 39, 68, 0.12);
}

.landing-screenshot-link {
  display: block;
  color: inherit;
  cursor: zoom-in;
  line-height: 0;
}

.landing-screenshot-link:hover img {
  opacity: 0.92;
}

.landing-screenshot-link:focus-visible {
  outline: 2px solid var(--landing-primary);
  outline-offset: 2px;
}

.landing-screenshot img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  transition: opacity 0.15s ease;
}

.landing-screenshot--back {
  width: 92%;
  margin-left: auto;
}

.landing-screenshot--back img {
  height: 200px;
  object-fit: cover;
  object-position: center top;
}

.landing-screenshot--front {
  width: 96%;
  margin: -3.5rem auto 0;
  position: relative;
  z-index: 2;
  isolation: isolate;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.landing-screenshot--front .landing-screenshot-link {
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 18px 30px rgba(15, 39, 68, 0.06),
    0 66px 150px rgba(15, 39, 68, 0.14);
}

.landing-screenshot--front::before {
  content: '';
  position: absolute;
  inset: -35% -23%;
  z-index: -1;
  background: radial-gradient(
    ellipse 88% 75% at 50% 48%,
    rgba(175, 195, 232, 0.65) 0%,
    rgba(200, 216, 244, 0.42) 32%,
    rgba(225, 234, 252, 0.22) 55%,
    rgba(241, 246, 255, 0.08) 78%,
    rgba(255, 255, 255, 0) 94%
  );
  filter: blur(17px);
  pointer-events: none;
}

.landing-screenshot--front img {
  height: 300px;
  object-fit: cover;
  object-position: left top;
}

.landing-glow-wrap {
  position: relative;
  z-index: 1;
  isolation: isolate;
  overflow: visible;
}

.landing-glow-wrap::before {
  content: '';
  position: absolute;
  inset: -32% -40%;
  z-index: 0;
  background: radial-gradient(
    ellipse 96% 79% at 50% 48%,
    rgba(186, 204, 238, 0.72) 0%,
    rgba(208, 222, 248, 0.48) 28%,
    rgba(228, 236, 252, 0.26) 52%,
    rgba(241, 246, 255, 0.1) 72%,
    rgba(255, 255, 255, 0) 93%
  );
  filter: blur(20px);
  pointer-events: none;
}

.landing-glow-wrap .landing-screenshot--bitrix {
  margin: 0;
  padding: 0;
  overflow: visible;
  border: none;
  background: transparent;
  box-shadow: none;
  position: relative;
  z-index: 1;
}

.landing-screenshot--bitrix .landing-screenshot-link {
  position: relative;
  z-index: 1;
  border-radius: 10px;
  overflow: hidden;
  border: none;
  background: #fff;
  box-shadow:
    0 12px 18px rgba(15, 39, 68, 0.05),
    0 54px 120px rgba(15, 39, 68, 0.12);
}

.landing-screenshot--bitrix img {
  width: 100%;
  height: auto;
}

.landing-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.landing-lightbox[hidden] {
  display: none;
}

.landing-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(15, 23, 42, 0.82);
  cursor: zoom-out;
}

.landing-lightbox-dialog {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: min(1200px, 100%);
  max-height: calc(100vh - 3rem);
}

.landing-lightbox-img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 3rem);
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.landing-lightbox-close {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #0f172a;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.landing-lightbox-close:hover {
  background: #f1f5f9;
}

.landing-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--landing-muted);
}

.landing-pricing-loading {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--landing-muted);
  margin: 0;
}

@media (min-width: 768px) {
  .landing-nav {
    display: flex;
  }

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

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

  .landing-screenshot--back img {
    height: 240px;
  }

  .landing-screenshot--front {
    margin-top: -4.5rem;
  }

  .landing-screenshot--front img {
    height: 380px;
  }

}

@media (max-width: 767px) {
  .landing-header-actions .landing-link-btn {
    display: none;
  }
}
