/* Beta demo — landing объекта с встроенным туром */

.beta-site {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
}

.beta-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px 64px;
}

.beta-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: linear-gradient(180deg, rgba(13, 17, 23, 0.72) 0%, rgba(13, 17, 23, 0) 100%);
}

.beta-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 20px 48px;
}

.beta-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.beta-brand h1 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.beta-header__nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.beta-header__nav a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.9rem;
}

.beta-header__nav a:hover {
  color: #fff;
}

.beta-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.beta-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.beta-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 17, 23, 0.35) 0%,
    rgba(13, 17, 23, 0.55) 45%,
    rgba(13, 17, 23, 0.92) 100%
  );
}

.beta-hero__inner {
  position: relative;
  z-index: 1;
  padding-top: 120px;
  padding-bottom: 48px;
}

.beta-hero__badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.45);
  color: #93c5fd;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.beta-hero h2 {
  max-width: 18ch;
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
  color: #fff;
}

.beta-hero__lead {
  max-width: 52ch;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.55;
}

.beta-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.beta-section {
  padding: 56px 0 0;
}

.beta-section--alt {
  padding-bottom: 48px;
}

.beta-section h3 {
  margin: 0 0 8px;
  font-size: 1.5rem;
}

.beta-section__sub {
  margin: 0 0 24px;
  color: var(--text-muted);
  max-width: 60ch;
  line-height: 1.55;
}

.beta-section__sub code {
  font-size: 0.88em;
  color: var(--accent);
}

.beta-tour-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 320px;
  max-height: 72vh;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0c0f14;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.beta-tour-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.beta-tour-note {
  margin: 12px 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.beta-tour-note a {
  color: var(--accent);
}

.beta-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.beta-card {
  padding: 20px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.beta-card h4 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.beta-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.beta-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0 32px;
}

.beta-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.beta-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.beta-footer a:hover {
  color: var(--accent);
}

@media (max-width: 640px) {
  .beta-hero {
    min-height: 58vh;
  }

  .beta-tour-frame {
    aspect-ratio: 4 / 3;
    min-height: 280px;
  }
}
