:root {
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --dark: #0b1330;
  --text: #172033;
  --muted: #64748b;
  --line: rgba(148, 163, 184, .24);
  --primary: #1357ff;
  --primary-2: #2d6bff;
  --primary-deep: #142b6f;
  --green: #16a34a;
  --card: rgba(255, 255, 255, .86);
  --radius: 28px;
  --shadow: 0 24px 70px rgba(15, 23, 42, .12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  font-family: Manrope, Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

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

/* =========================
   Header
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(11, 19, 48, .07);
  box-shadow: 0 12px 40px rgba(11, 19, 48, .055);
}

.header-inner {
  height: 82px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 260px;
  font-weight: 900;
  color: var(--dark);
}

/* Новый логотип из файла /static/img/logo-mark.svg или logo-mark.png */
.brand-icon {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-icon img {
  width: 58px;
  height: 58px;
  display: block;
  object-fit: contain;
}

/* Текстовый блок логотипа */
.brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  line-height: 1;
  transform: translateY(1px);
}

.brand-name {
  display: block;
  width: 100%;
  text-align: center;

  font-family: Orbitron, Manrope, Inter, Arial, sans-serif;
  font-weight: 800;
  font-size: 32px;
  letter-spacing: .04em;
  color: #091431;
  line-height: .9;
}

.brand-project {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;

  width: 100%;
  margin-top: 6px;

  color: #1357ff;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .28em;
  white-space: nowrap;
  text-align: center;
}

.brand-project i {
  display: inline-block;
  width: 14px;
  height: 1.5px;
  border-radius: 99px;
  background: #1357ff;
  flex-shrink: 0;
}

/* На случай, если в HTML остались старые элементы CSS-логотипа */
.brand-icon-u,
.brand-icon-u-left,
.brand-icon-u-right,
.brand-icon-swoosh,
.brand-pixels,
.brand-mark,
.brand-u {
  display: none !important;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: Manrope, Inter, Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #0b1330;
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  transition: color .18s ease, background .18s ease, box-shadow .18s ease;
}

.nav a:hover,
.nav a.active {
  color: #1357ff;
  background: rgba(19, 87, 255, .08);
}

.nav a.active {
  box-shadow: inset 0 0 0 1px rgba(19, 87, 255, .12);
}

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

.link-login {
  font-weight: 800;
  color: #0b1330;
  letter-spacing: -.01em;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--dark);
  border-radius: 99px;
  transition: .2s ease;
}

body.nav-open .nav {
  display: flex;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================
   Buttons
========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(135deg, #1357ff, #0647df);
  color: #fff;
  font-family: Manrope, Inter, Arial, sans-serif;
  font-weight: 900;
  box-shadow: 0 18px 38px rgba(19, 87, 255, .24);
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 50px rgba(19, 87, 255, .32);
}

.btn-small {
  min-height: 46px;
  padding: 0 20px;
  font-size: 14px;
}

.btn-ghost {
  color: #dbeafe;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: none;
}

.btn-full {
  width: 100%;
}

.btn-ghost-dark {
  background: #0f172a;
  color: #fff;
  box-shadow: none;
}

.btn-light {
  background: #fff;
  color: var(--dark);
  box-shadow: none;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .34);
  box-shadow: none;
}

/* =========================
   Hero
========================= */

.hero {
  min-height: calc(100vh - 82px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(45, 107, 255, .20), transparent 32%),
    radial-gradient(circle at 82% 18%, rgba(19, 87, 255, .32), transparent 36%),
    linear-gradient(135deg, #071338 0%, #0b1330 50%, #142b6f 100%);
  color: #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, .10);
  color: var(--primary);
  font-weight: 900;
  font-size: 13px;
}

.hero .badge {
  color: #bae6fd;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .14);
}

.eyebrow.light {
  background: rgba(255, 255, 255, .12);
  color: #bfdbfe;
}

h1,
h2,
h3,
.section-head h2,
.smart-text h2,
.split h2,
.roadmap h2,
.contact h2 {
  font-family: Manrope, Inter, Arial, sans-serif;
  font-weight: 800;
  color: var(--dark);
  margin: 0;
  letter-spacing: -.055em;
}

.hero h1 {
  margin-top: 20px;
  color: #fff;
  font-size: clamp(42px, 6vw, 78px);
  line-height: .95;
  letter-spacing: -.06em;
}

.hero-lead {
  max-width: 680px;
  color: rgba(226, 232, 240, .92);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.6;
  margin: 24px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-points span {
  padding: 10px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #dbeafe;
  font-size: 13px;
  font-weight: 700;
}

.hero-panel {
  position: relative;
}

.mock-window {
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 30px;
  background: rgba(255, 255, 255, .10);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .34);
  backdrop-filter: blur(20px);
  overflow: hidden;
  transform: perspective(900px) rotateY(-7deg) rotateX(3deg);
}

.mock-top {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.mock-top span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .35);
}

.mock-body {
  min-height: 380px;
  display: grid;
  grid-template-columns: 120px 1fr;
}

.mock-sidebar {
  padding: 22px 16px;
  background: rgba(15, 23, 42, .38);
}

.mock-sidebar b {
  display: block;
  color: #fff;
  margin-bottom: 22px;
}

.mock-sidebar em {
  display: block;
  height: 12px;
  margin: 15px 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, .18);
}

.mock-main {
  padding: 24px;
  background: rgba(255, 255, 255, .92);
}

.mock-title {
  width: 60%;
  height: 24px;
  border-radius: 999px;
  background: #dbeafe;
  margin-bottom: 22px;
}

.mock-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mock-cards div {
  padding: 16px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.mock-cards strong {
  display: block;
  color: var(--dark);
  font-size: 15px;
}

.mock-cards small {
  color: var(--muted);
}

.mock-table {
  margin-top: 20px;
  display: grid;
  gap: 10px;
}

.mock-table span {
  height: 34px;
  border-radius: 12px;
  background: #eef2ff;
}

/* =========================
   Sections / Cards
========================= */

.section-head {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-head.compact {
  max-width: 640px;
}

.section-head h2,
.smart-text h2,
.split h2,
.roadmap h2,
.contact h2 {
  margin-top: 14px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.04;
}

.section-head p,
.smart-text p,
.roadmap p,
.contact p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.cards.four {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card,
.feature-card,
.price-card,
.smart-list article,
details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.card {
  padding: 28px;
}

.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #eff6ff;
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 22px;
}

.card h3,
.feature-card h3,
.smart-list h3,
.price-card h3 {
  font-size: 22px;
}

.card p,
.feature-card p,
.smart-list p,
.price-card li,
details p {
  color: var(--muted);
  line-height: 1.65;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card {
  padding: 28px;
  min-height: 210px;
}

.feature-card.large {
  grid-column: span 2;
}

.feature-card.accent {
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #1d4ed8);
}

.feature-card.accent h3,
.feature-card.accent p {
  color: #fff;
}

.smart-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 44px;
  align-items: start;
}

.smart-list {
  display: grid;
  gap: 16px;
}

.smart-list article {
  padding: 26px;
}

.section-dark {
  background: #0f172a;
  color: #cbd5e1;
}

.section-dark h2 {
  color: #fff;
}

.split {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 40px;
  align-items: center;
}

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

.chips span {
  padding: 12px 16px;
  border-radius: 999px;
  color: #e2e8f0;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .10);
  font-weight: 800;
}

/* =========================
   Pricing
========================= */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.price-card {
  position: relative;
  padding: 30px;
}

.price-card.featured {
  transform: translateY(-12px);
  border-color: rgba(37, 99, 235, .45);
  background: linear-gradient(180deg, #fff, #eff6ff);
}

.label {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #dbeafe;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.price {
  margin-top: 22px;
  color: var(--dark);
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -.06em;
}

.price span {
  color: var(--muted);
  font-size: 15px;
  letter-spacing: 0;
}

.year {
  margin: 6px 0 22px;
  color: var(--muted);
  font-weight: 800;
}

.price-card ul {
  padding: 0;
  margin: 0 0 26px;
  list-style: none;
  display: grid;
  gap: 12px;
}

.price-card li::before {
  content: "✓";
  color: var(--green);
  font-weight: 900;
  margin-right: 9px;
}

/* =========================
   Roadmap / FAQ
========================= */

.roadmap {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
  align-items: center;
}

.faq-wrap {
  max-width: var(--max);
}

.faq-wrap .section-head.compact {
  max-width: 760px;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

details {
  padding: 22px 24px;
}

summary {
  cursor: pointer;
  color: var(--dark);
  font-weight: 900;
  font-size: 18px;
}

summary::marker {
  color: var(--primary);
}

/* =========================
   Contact
========================= */

.contact {
  padding-top: 0;
}

.contact-card {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 30px;
  align-items: center;
  border-radius: 36px;
  padding: 44px;
  background: linear-gradient(135deg, #0f172a, #1d4ed8);
  color: #dbeafe;
  box-shadow: 0 32px 90px rgba(15, 23, 42, .24);
}

.contact h2 {
  color: #fff;
}

.contact p {
  color: #dbeafe;
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-actions.inline {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-start;
  align-items: center;
  margin-top: 26px;
}

.contact-email {
  display: inline-block;
  margin-top: 24px;
  color: #dbeafe;
  text-align: left;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.45;
  word-break: break-word;
}

.contact-email:hover {
  color: #fff;
  text-decoration: underline;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 34px;
  align-items: start;
}

.lead-form {
  padding: 22px;
  border-radius: 26px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .20);
  backdrop-filter: blur(14px);
}

.lead-form label {
  display: block;
  margin-bottom: 14px;
}

.lead-form span {
  display: block;
  margin-bottom: 7px;
  color: #dbeafe;
  font-size: 13px;
  font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 16px;
  background: rgba(255, 255, 255, .96);
  color: var(--dark);
  font: inherit;
  padding: 13px 14px;
  outline: none;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .16);
}

.form-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: rgba(226, 232, 240, .8);
  line-height: 1.5;
}

/* =========================
   Footer
========================= */

.footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 58px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr;
  gap: 32px;
}

.footer-brand {
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -.05em;
  margin-bottom: 10px;
}

.footer h4 {
  color: #fff;
  margin: 0 0 14px;
}

.footer a {
  display: block;
  margin: 9px 0;
  color: #cbd5e1;
}

.footer p {
  max-width: 420px;
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .10);
  margin-top: 36px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #94a3b8;
  font-size: 14px;
}

/* =========================
   Extra blocks
========================= */

.brand-lines {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-sub {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 16px 50px rgba(15, 23, 42, .07);
}

.step-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #eff6ff;
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 18px;
}

.step-card h3 {
  margin: 0 0 10px;
  color: var(--dark);
  font-size: 20px;
  letter-spacing: -.03em;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.site-logo-svg {
  display: block;
  height: auto;
}

/* =========================
   Responsive
========================= */

@media (max-width: 980px) {
  .header-actions {
    display: none;
  }

  .header-inner {
    height: 76px;
  }

  .brand {
    min-width: auto;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .nav {
    position: fixed;
    inset: 76px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 15px;
    border-radius: 14px;
  }

  .nav a:hover {
    background: #f8fafc;
  }

  .nav a.active {
    background: rgba(37, 99, 235, .11);
  }

  .hero {
    min-height: auto;
    padding: 72px 0;
  }

  .hero-grid,
  .smart-grid,
  .split,
  .roadmap,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .cards.four,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .price-card.featured {
    transform: none;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .faq-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 22px, var(--max));
  }

  .section {
    padding: 64px 0;
  }

  .header-inner {
    height: 70px;
  }

  .nav {
    inset: 70px 16px auto 16px;
  }

  .brand-icon,
  .brand-icon img {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .brand-name {
    font-size: 25px;
    letter-spacing: .035em;
  }

  .brand-project {
    font-size: 6px;
    gap: 5px;
    letter-spacing: .22em;
    margin-top: 5px;
  }

  .brand-project i {
    width: 10px;
  }

  .hero {
    padding: 52px 0;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .cards.four,
  .feature-grid,
  .pricing-grid,
  .footer-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .feature-card.large {
    grid-column: span 1;
  }

  .mock-window {
    transform: none;
    border-radius: 22px;
  }

  .mock-body {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .mock-sidebar {
    display: none;
  }

  .mock-main {
    padding: 18px;
  }

  .mock-cards {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 28px;
    border-radius: 28px;
  }

  .contact-actions.inline {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-actions.inline .btn {
    width: 100%;
  }

  .contact-email {
    margin-top: 22px;
    font-size: 16px;
  }

  .lead-form {
    padding: 18px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  .brand-name {
    font-size: 22px;
  }

  .brand-project {
    display: none;
  }
}

/* =========================
   Live UBP screenshots
========================= */
.screen-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, .82);
  box-shadow: 0 34px 90px rgba(11, 19, 48, .18);
}

.screen-shell img {
  width: 100%;
  height: auto;
  display: block;
}

.screen-bar {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border-bottom: 1px solid rgba(226, 232, 240, .88);
}

.screen-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #cbd5e1;
}

.screen-bar span:nth-child(1) { background: #fb7185; }
.screen-bar span:nth-child(2) { background: #fbbf24; }
.screen-bar span:nth-child(3) { background: #34d399; }

.screen-bar b {
  margin-left: 8px;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
}

.hero-screen {
  transform: perspective(900px) rotateY(-6deg) rotateX(2deg);
  box-shadow: 0 42px 110px rgba(0, 0, 0, .34);
  border-color: rgba(255,255,255,.20);
}

.hero-screen img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top left;
}

.hero-screen-note {
  position: absolute;
  left: -18px;
  bottom: -18px;
  max-width: 280px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(226, 232, 240, .9);
  box-shadow: 0 24px 60px rgba(0,0,0,.20);
  color: #0b1330;
}

.hero-screen-note strong {
  display: block;
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 5px;
}

.hero-screen-note span {
  display: block;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
}

.feature-grid-screens {
  align-items: stretch;
}

.feature-card-screen {
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}

.feature-card-screen h3,
.feature-card-screen p {
  margin-left: 0;
  margin-right: 0;
}

.feature-shot {
  margin: -12px -12px 4px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(226, 232, 240, .9);
  background: #f8fafc;
  box-shadow: 0 16px 40px rgba(11, 19, 48, .08);
}

.feature-shot img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top left;
  transition: transform .28s ease;
}

.feature-card-screen:hover .feature-shot img {
  transform: scale(1.025);
}

.smart-grid-visual {
  grid-template-columns: .82fr 1.18fr;
  align-items: center;
}

.compact-list {
  margin-top: 28px;
}

.compact-list article {
  box-shadow: 0 14px 44px rgba(15, 23, 42, .07);
  background: #fff;
}

.screen-stack {
  position: relative;
  min-height: 520px;
}

.screen-stack .screen-shell img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top left;
}

.stack-main {
  width: 92%;
  margin-left: auto;
}

.stack-float {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 62%;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(11, 19, 48, .22);
}

.stack-float .screen-bar {
  height: 36px;
}

.stack-float .screen-bar span {
  width: 8px;
  height: 8px;
}

@media (max-width: 980px) {
  .hero-screen {
    transform: none;
  }

  .hero-screen-note {
    position: relative;
    left: auto;
    bottom: auto;
    margin: 16px 0 0;
    max-width: none;
  }

  .smart-grid-visual {
    grid-template-columns: 1fr;
  }

  .screen-stack {
    min-height: auto;
    display: grid;
    gap: 18px;
  }

  .stack-main,
  .stack-float {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin: 0;
  }
}

@media (max-width: 640px) {
  .screen-shell {
    border-radius: 20px;
  }

  .screen-bar {
    height: 38px;
    padding: 0 12px;
  }

  .screen-bar b {
    font-size: 11px;
  }

  .feature-shot {
    margin: -8px -8px 2px;
    border-radius: 18px;
  }
}

/* ===== v7: горизонтальный скролл живых скринов ===== */
.product-screens {
  overflow: hidden;
}

.screens-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.screens-head .section-head {
  margin-bottom: 0;
}

.screens-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding-bottom: 8px;
}

.screen-arrow {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(148, 163, 184, .32);
  border-radius: 999px;
  background: #fff;
  color: #0b1330;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(11, 19, 48, .08);
  transition: transform .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.screen-arrow:hover {
  color: #1357ff;
  border-color: rgba(19, 87, 255, .28);
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(11, 19, 48, .12);
}

.screens-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(760px, 82%);
  gap: 22px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 2px;
  padding: 4px 2px 22px;
  -webkit-overflow-scrolling: touch;
}

.screens-scroll::-webkit-scrollbar {
  height: 10px;
}

.screens-scroll::-webkit-scrollbar-track {
  background: rgba(148, 163, 184, .18);
  border-radius: 999px;
}

.screens-scroll::-webkit-scrollbar-thumb {
  background: rgba(19, 87, 255, .42);
  border-radius: 999px;
}

.screen-slide {
  scroll-snap-align: start;
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 32px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 24px 70px rgba(11, 19, 48, .12);
  padding: 18px;
}

.screen-slide .screen-shell {
  border-radius: 24px;
  box-shadow: none;
}

.screen-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top left;
}

.screen-slide h3 {
  margin: 18px 4px 8px;
  color: #0b1330;
  font-size: 22px;
  letter-spacing: -.035em;
}

.screen-slide p {
  margin: 0 4px 4px;
  max-width: 760px;
  color: #64748b;
  line-height: 1.65;
}

.screens-hint {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
}

/* v7: карточки возможностей снова текстовые, без разбросанных скринов */
.feature-grid-screens,
.feature-card-screen,
.feature-shot,
.screen-stack,
.stack-main,
.stack-float {
  all: unset;
}

@media (max-width: 980px) {
  .screens-head {
    align-items: flex-start;
  }

  .screens-scroll {
    grid-auto-columns: minmax(620px, 88%);
  }
}

@media (max-width: 720px) {
  .screens-head {
    flex-direction: column;
  }

  .screens-controls {
    padding-bottom: 0;
  }

  .screens-scroll {
    grid-auto-columns: 92%;
    gap: 16px;
  }

  .screen-slide {
    border-radius: 24px;
    padding: 12px;
  }

  .screen-slide .screen-shell {
    border-radius: 18px;
  }

  .screen-slide h3 {
    font-size: 20px;
    margin-top: 14px;
  }

  .screens-hint {
    font-size: 13px;
  }
}

/* ===== v8: скрины только в первом экране ===== */
.hero-panel {
  min-width: 0;
}

.hero-screens-wrap {
  position: relative;
  transform: perspective(900px) rotateY(-6deg) rotateX(2deg);
}

.hero-screens-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  border-radius: 28px;
  box-shadow: 0 42px 110px rgba(0, 0, 0, .34);
}

.hero-screens-scroll::-webkit-scrollbar {
  display: none;
}

.hero-screens-scroll {
  scrollbar-width: none;
}

.hero-screen-slide {
  width: 100%;
  min-width: 0;
  scroll-snap-align: start;
  box-shadow: none;
  border-color: rgba(255,255,255,.20);
  border-radius: 28px;
}

.hero-screen-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top left;
}

.hero-screen-controls {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.hero-screen-arrow {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px;
  background: rgba(15, 23, 42, .72);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: transform .2s ease, background .2s ease;
}

.hero-screen-arrow:hover {
  transform: translateY(-2px);
  background: rgba(19, 87, 255, .86);
}

/* Убираем старый поворот с одного скрина, теперь поворот у всего скролла */
.hero-screen {
  transform: none;
}

@media (max-width: 980px) {
  .hero-screens-wrap {
    transform: none;
  }
}

@media (max-width: 640px) {
  .hero-screens-scroll,
  .hero-screen-slide {
    border-radius: 20px;
  }

  .hero-screen-controls {
    right: 10px;
    bottom: 10px;
  }

  .hero-screen-arrow {
    width: 34px;
    height: 34px;
    font-size: 22px;
  }
}

/* =========================
   Language switcher
========================= */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(19, 87, 255, .12);
  border-radius: 999px;
  background: rgba(19, 87, 255, .05);
  flex-shrink: 0;
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 32px;
  padding: 0 9px;
  border-radius: 999px;
  color: #0b1330;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

.lang-switch a:hover,
.lang-switch a.active {
  color: #fff;
  background: linear-gradient(135deg, #1357ff, #0647df);
  box-shadow: 0 10px 22px rgba(19, 87, 255, .22);
}

@media (max-width: 1120px) {
  .nav { gap: 2px; font-size: 14px; }
  .nav a { padding: 9px 10px; }
  .brand { min-width: 230px; }
}

@media (max-width: 980px) {
  .lang-switch {
    margin-left: auto;
  }

  .nav-toggle {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .lang-switch {
    gap: 2px;
    padding: 3px;
  }

  .lang-switch a {
    min-width: 30px;
    height: 28px;
    padding: 0 7px;
    font-size: 11px;
  }
}

@media (max-width: 430px) {
  .brand {
    gap: 9px;
  }

  .brand-icon,
  .brand-icon img {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .brand-name {
    font-size: 21px;
  }

  .lang-switch a {
    min-width: 28px;
    height: 27px;
    padding: 0 6px;
  }
}
