/* BV Mobile — enterprise landing design system */

:root {
  --bg-deep: #050b14;
  --bg-mid: #08111f;
  --bg-high: #0a1322;
  --card: #101b2d;
  --card-elevated: #132238;
  --accent-blue: #3b82f6;
  --accent-green: #22c55e;
  --accent-orange: #f97316;
  --accent-purple: #8b5cf6;
  --text-primary: #f5f4f2;
  --text-secondary: #b8c0cc;
  --border: rgba(255, 255, 255, 0.06);
  --radius-sm: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.45);
  --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.35);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --header-h: 72px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(59, 130, 246, 0.12), transparent 50%),
    radial-gradient(ellipse 80% 50% at 100% 50%, rgba(139, 92, 246, 0.06), transparent 45%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mid) 35%, var(--bg-deep) 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--card);
  color: var(--text-primary);
  border-radius: 8px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease-out), border-color 0.35s var(--ease-out), backdrop-filter 0.35s;
}

.site-header--dual {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  height: auto;
}

.site-header.is-scrolled {
  background: rgba(5, 11, 20, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}

.site-header__inner {
  width: min(1200px, 100% - 3rem);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.brand__logo {
  height: 36px;
  width: auto;
  opacity: 0.95;
}

.brand__text {
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  padding: 0.2rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
}

.lang-switch__link {
  padding: 0.35rem 0.65rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.lang-switch__link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.lang-switch__link--active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
}

.site-nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.site-nav__link:hover {
  color: var(--text-primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.375rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease-out), border-color 0.25s, color 0.25s, transform 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 0.95rem 2rem;
  font-size: 1rem;
}

.btn--primary {
  background: linear-gradient(135deg, #2563eb 0%, var(--accent-blue) 100%);
  color: #fff;
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.25);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
  color: var(--text-primary);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.12);
}

.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text-primary);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* Hero */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 4rem) 1.5rem 5rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 70% 20%, rgba(59, 130, 246, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 20% 60%, rgba(139, 92, 246, 0.1), transparent 50%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__copy {
  max-width: 34rem;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-blue);
}

.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2.75rem, 5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.hero__lead {
  margin: 0 0 1rem;
  font-size: 1.1875rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.55;
}

.hero__support {
  margin: 0 0 2rem;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
}

.hero-glow {
  position: absolute;
  width: min(420px, 90vw);
  height: min(420px, 90vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.22) 0%, transparent 65%);
  filter: blur(40px);
  z-index: 0;
}

.phone-frame {
  position: relative;
  z-index: 2;
  width: min(280px, 78vw);
  padding: 10px;
  border-radius: 36px;
  background: linear-gradient(145deg, #1a2738 0%, #0d1624 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.phone-frame--hero {
  width: min(300px, 82vw);
}

.phone-frame__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #0a0f18;
  border-radius: 0 0 18px 18px;
  z-index: 3;
}

.phone-frame__screen {
  border-radius: 26px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 390 / 844;
}

.phone-frame__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.floating-panel {
  position: absolute;
  z-index: 4;
  padding: 0.65rem 1rem;
  background: rgba(16, 27, 45, 0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 140px;
}

.floating-panel--one {
  top: 8%;
  left: 0;
  animation: float-soft 7s ease-in-out infinite;
}

.floating-panel--two {
  bottom: 12%;
  right: 0;
  animation: float-soft 8s ease-in-out infinite 1s;
}

.floating-panel__label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

.floating-panel__value {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.floating-panel__dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 0.35rem;
  vertical-align: middle;
}

.floating-panel__dot--green {
  background: var(--accent-green);
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.5);
}

.floating-panel__dot--blue {
  background: var(--accent-blue);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.5);
}

@keyframes float-soft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-panel--one,
  .floating-panel--two {
    animation: none;
  }
}

.anchor-target,
#contact,
#contacts-info,
#cta-final {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

/* Общие иконки соцсетей и мессенджеров */
.social-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.social-chips__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.125rem;
  height: 2.125rem;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(245, 244, 242, 0.92);
  transition:
    background 0.2s var(--ease-out),
    border-color 0.2s var(--ease-out),
    color 0.2s var(--ease-out),
    transform 0.2s var(--ease-out);
}

.social-chips__link:hover {
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(59, 130, 246, 0.35);
  color: #fff;
  transform: translateY(-1px);
}

.social-chips__glyph {
  width: 1.1rem;
  height: 1.1rem;
  display: block;
  pointer-events: none;
}

.contact-social {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-social__title {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(245, 244, 242, 0.55);
}

/* Вертикальная панель соцсетей */
.social-rail {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 98;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 0.4rem 0.75rem 0.28rem;
  border-radius: 0 14px 14px 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: none;
  background: rgba(5, 11, 20, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 4px 0 28px rgba(0, 0, 0, 0.4);
}

.social-rail__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.social-rail__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(245, 244, 242, 0.92);
  transition:
    background 0.2s var(--ease-out),
    border-color 0.2s var(--ease-out),
    color 0.2s var(--ease-out),
    transform 0.2s var(--ease-out);
}

.social-rail__link:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.38);
  color: #fff;
  transform: translateY(-1px);
}

.social-rail__link--mail {
  margin-top: 0.15rem;
}

.social-rail__glyph {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
  pointer-events: none;
}

@media (max-width: 720px) {
  body.has-social-rail .social-rail {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .social-rail__link {
    transition: none;
  }

  .social-rail__link:hover {
    transform: none;
  }
}

/* Screen stack */
.screen-stack {
  position: relative;
}

.screen-section {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) 1.5rem;
  border-top: 1px solid var(--border);
}

.screen-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  pointer-events: none;
}

.screen-section--accent-blue::before {
  background: radial-gradient(ellipse 80% 60% at 20% 40%, rgba(59, 130, 246, 0.08), transparent);
}

.screen-section--accent-purple::before {
  background: radial-gradient(ellipse 80% 60% at 80% 50%, rgba(139, 92, 246, 0.08), transparent);
}

.screen-section--accent-orange::before {
  background: radial-gradient(ellipse 70% 50% at 30% 60%, rgba(249, 115, 22, 0.07), transparent);
}

.screen-section--accent-green::before {
  background: radial-gradient(ellipse 70% 50% at 70% 40%, rgba(34, 197, 94, 0.07), transparent);
}

.screen-section__inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.screen-section--reverse .screen-section__mock {
  order: 2;
}

.screen-section--reverse .screen-section__content {
  order: 1;
}

.screen-section__mock {
  display: flex;
  justify-content: center;
}

.screen-section .phone-frame {
  width: min(260px, 85vw);
}

.screen-section__content {
  max-width: 32rem;
}

.screen-section__index {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.screen-section--accent-blue .screen-section__index {
  color: var(--accent-blue);
}

.screen-section--accent-purple .screen-section__index {
  color: var(--accent-purple);
}

.screen-section--accent-orange .screen-section__index {
  color: var(--accent-orange);
}

.screen-section--accent-green .screen-section__index {
  color: var(--accent-green);
}

.screen-section__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.screen-section__subtitle {
  margin: 0 0 1.75rem;
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.bullet-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bullet-list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.85rem;
  font-size: 0.9875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.bullet-list li:last-child {
  margin-bottom: 0;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-secondary);
  opacity: 0.7;
}

.screen-section--accent-blue .bullet-list li::before {
  background: var(--accent-blue);
  opacity: 1;
}

.screen-section--accent-purple .bullet-list li::before {
  background: var(--accent-purple);
  opacity: 1;
}

.screen-section--accent-orange .bullet-list li::before {
  background: var(--accent-orange);
  opacity: 1;
}

.screen-section--accent-green .bullet-list li::before {
  background: var(--accent-green);
  opacity: 1;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay {
  transition-delay: 0.12s;
}

/* Home — контактная плашка */
.bvm-home-contact {
  padding: clamp(2.5rem, 5vw, 3.5rem) 1.5rem 0;
  border-top: 1px solid var(--border);
}

.bvm-home-contact__inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.bvm-home-contact__card {
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(16, 27, 45, 0.55);
  max-width: min(560px, 100%);
}

.bvm-home-contact__title {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.bvm-home-contact__address {
  font-style: normal;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.bvm-home-contact__address ul {
  margin: 0;
  padding-left: 1.15rem;
}

.bvm-home-contact__address li {
  margin-bottom: 0.35rem;
}

.bvm-home-contact__org {
  margin: 1rem 0 0;
  font-weight: 600;
  color: var(--text-primary);
}

.bvm-home-contact__address a {
  color: var(--accent-blue);
  text-decoration: none;
}

.bvm-home-contact__address a:hover {
  text-decoration: underline;
}

.bvm-home-contact__site {
  margin-top: 0.75rem;
}

/* Final CTA */
.cta-final {
  padding: clamp(5rem, 10vw, 8rem) 1.5rem 6rem;
  border-top: 1px solid var(--border);
}

.cta-final__inner {
  width: min(800px, 100%);
  margin: 0 auto;
}

.cta-final__card {
  padding: clamp(2.5rem, 5vw, 3.5rem);
  background: linear-gradient(145deg, var(--card) 0%, var(--card-elevated) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.cta-final__title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.cta-final__text {
  margin: 0 auto 2rem;
  max-width: 36rem;
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Footer */
.site-footer {
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid var(--border);
}

.site-footer__inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer__meta {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.site-footer__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent-blue);
  transition: opacity 0.2s;
}

.site-footer__link:hover {
  opacity: 0.85;
}

/* Tablet */
@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .hero__copy {
    max-width: none;
    text-align: center;
  }

  .hero__actions {
    justify-content: center;
  }

  .eyebrow {
    text-align: center;
  }

  .hero__visual {
    min-height: 380px;
  }

  .floating-panel--one {
    left: 5%;
  }

  .floating-panel--two {
    right: 5%;
  }

  .screen-section__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .screen-section--reverse .screen-section__mock,
  .screen-section--reverse .screen-section__content {
    order: unset;
  }

  .screen-section__mock {
    order: -1;
  }

  .screen-section__content {
    max-width: none;
  }
}

/* Mobile */
@media (max-width: 540px) {
  :root {
    --header-h: 64px;
  }

  .site-header__inner {
    width: calc(100% - 2rem);
  }

  .brand__text {
    font-size: 1rem;
  }

  .brand__logo {
    height: 30px;
  }

  .hero {
    padding-top: calc(var(--header-h) + 2.5rem);
  }

  .floating-panel {
    display: none;
  }

  .hero__title {
    font-size: 2.25rem;
  }
}
