/* ========================================================================
   MaxPanel Mobile — landing
   Темная тема с медным акцентом, glassmorphism, новая типографика
   ======================================================================== */

:root {
  /* Поверхности */
  --mm-bg: #07080b;
  --mm-bg-2: #0c0e14;
  --mm-panel: rgba(20, 22, 30, 0.72);
  --mm-panel-strong: rgba(16, 18, 26, 0.92);
  --mm-line: rgba(255, 255, 255, 0.08);
  --mm-line-soft: rgba(255, 255, 255, 0.04);
  --mm-line-strong: rgba(255, 255, 255, 0.14);

  /* Текст */
  --mm-text: #f6f7fa;
  --mm-text-2: #c2c8d4;
  --mm-muted: #8b94a3;
  --mm-soft: #5d6473;

  /* Бренд — теплый медный */
  --mm-brand: #f5934d;
  --mm-brand-2: #d36b30;
  --mm-brand-3: #ffb777;
  --mm-brand-soft: rgba(245, 147, 77, 0.14);

  /* Акценты */
  --mm-blue: #6aa9ff;
  --mm-cyan: #4dd9dd;
  --mm-green: #58d68d;
  --mm-violet: #a78bfa;
  --mm-pink: #f472b6;
  --mm-yellow: #ffce5a;
  --mm-danger: #ff6b6b;

  /* Градиенты */
  --mm-grad-brand: linear-gradient(135deg, #ffb777 0%, #f5934d 45%, #d36b30 100%);
  --mm-grad-fire: linear-gradient(135deg, #f5934d 0%, #d36b30 100%);
  --mm-grad-ai: linear-gradient(135deg, #4dd9dd 0%, #6aa9ff 60%, #a78bfa 100%);
  --mm-grad-glow: linear-gradient(135deg, rgba(245, 147, 77, 0.18), rgba(106, 169, 255, 0.18));

  /* Радиусы */
  --mm-radius-xs: 10px;
  --mm-radius-sm: 14px;
  --mm-radius: 20px;
  --mm-radius-lg: 26px;
  --mm-radius-xl: 32px;

  /* Тени */
  --mm-shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.32);
  --mm-shadow: 0 24px 70px rgba(0, 0, 0, 0.46);
  --mm-glow-brand: 0 18px 56px rgba(245, 147, 77, 0.28);
  --mm-glow-ai: 0 18px 56px rgba(106, 169, 255, 0.28);

  /* Семантические */
  --mm-easing: cubic-bezier(0.22, 1, 0.36, 1);
}

.mp-mobile {
  margin: 0;
  min-height: 100vh;
  padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  background:
    radial-gradient(120% 60% at 50% -8%, rgba(245, 147, 77, 0.18), transparent 56%),
    radial-gradient(80% 50% at 100% 30%, rgba(106, 169, 255, 0.10), transparent 60%),
    radial-gradient(80% 50% at 0% 70%, rgba(167, 139, 250, 0.08), transparent 60%),
    var(--mm-bg);
  background-attachment: fixed;
  color: var(--mm-text);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

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

.mp-mobile a {
  color: inherit;
  text-decoration: none;
}

.mp-mobile button {
  font: inherit;
}

.mp-mobile img,
.mp-mobile video {
  display: block;
  max-width: 100%;
  height: auto;
}

.mp-mobile h1,
.mp-mobile h2,
.mp-mobile h3,
.mp-mobile h4 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--mm-text);
}

.mp-mobile p {
  margin: 0;
}

/* ========================================================================
   Фоновые эффекты
   ======================================================================== */

.mm-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent 78%);
  opacity: 0.7;
}

.mm-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.5;
}

.mm-orb--brand {
  width: 460px;
  height: 460px;
  background: rgba(245, 147, 77, 0.18);
  top: -160px;
  right: -120px;
}

.mm-orb--blue {
  width: 380px;
  height: 380px;
  background: rgba(106, 169, 255, 0.12);
  bottom: 20%;
  left: -120px;
}

.mm-orb--violet {
  width: 320px;
  height: 320px;
  background: rgba(167, 139, 250, 0.08);
  top: 50%;
  right: -100px;
}

/* ========================================================================
   Header / навигация
   ======================================================================== */

.mm-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: calc(env(safe-area-inset-top, 0px) + 10px) 16px 10px;
  background: rgba(7, 8, 11, 0.78);
  border-bottom: 1px solid var(--mm-line);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}

.mm-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-right: auto;
  color: var(--mm-text);
}

.mm-brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--mm-grad-brand);
  color: #1a0a02;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 8px 22px rgba(245, 147, 77, 0.32);
}

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

.mm-brand-name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.mm-brand-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mm-muted);
}

.mm-nav-links {
  display: none;
  align-items: center;
  gap: 6px;
}

.mm-nav-links a {
  color: var(--mm-text-2);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 12px;
  border-radius: 999px;
  transition: color 0.18s ease, background 0.18s ease;
}

.mm-nav-links a:hover,
.mm-nav-links a.is-active {
  color: var(--mm-text);
  background: rgba(255, 255, 255, 0.06);
}

.mm-menu-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--mm-line);
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  color: var(--mm-text);
  font-size: 20px;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.mm-menu-btn:hover,
.mm-menu-btn:active {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--mm-line-strong);
}

/* ========================================================================
   Drawer — боковое меню (бургер)
   ======================================================================== */

.mm-drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 110;
  display: flex;
  flex-direction: column;
  background: rgba(5, 6, 9, 0.92);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s var(--mm-easing);
}

.mm-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mm-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(env(safe-area-inset-top, 0px) + 14px) 18px 14px;
  border-bottom: 1px solid var(--mm-line);
}

.mm-drawer-head strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--mm-text);
}

.mm-drawer-close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--mm-line);
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  color: var(--mm-text);
  font-size: 20px;
  transition: background 0.18s ease;
}

.mm-drawer-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mm-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 14px calc(96px + env(safe-area-inset-bottom, 0px));
  -webkit-overflow-scrolling: touch;
}

.mm-drawer-section {
  padding: 16px 6px 8px;
}

.mm-drawer-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--mm-muted);
  margin-bottom: 10px;
}

.mm-drawer-section-title::before {
  content: "";
  flex: 0 0 14px;
  height: 1px;
  background: var(--mm-line);
}

.mm-drawer-section-title i {
  font-size: 14px;
  color: var(--mm-brand);
}

.mm-drawer-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mm-drawer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  border: 1px solid var(--mm-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--mm-text);
  font-weight: 700;
  font-size: 13px;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.mm-drawer-link i {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(245, 147, 77, 0.12);
  color: var(--mm-brand);
  font-size: 16px;
}

.mm-drawer-link--blue i {
  background: rgba(106, 169, 255, 0.14);
  color: var(--mm-blue);
}

.mm-drawer-link--cyan i {
  background: rgba(77, 217, 221, 0.14);
  color: var(--mm-cyan);
}

.mm-drawer-link--violet i {
  background: rgba(167, 139, 250, 0.14);
  color: var(--mm-violet);
}

.mm-drawer-link--pink i {
  background: rgba(244, 114, 182, 0.14);
  color: var(--mm-pink);
}

.mm-drawer-link--yellow i {
  background: rgba(255, 206, 90, 0.14);
  color: var(--mm-yellow);
}

.mm-drawer-link--green i {
  background: rgba(88, 214, 141, 0.14);
  color: var(--mm-green);
}

.mm-drawer-link--danger i {
  background: rgba(255, 107, 107, 0.14);
  color: var(--mm-danger);
}

.mm-drawer-link:active {
  background: rgba(255, 255, 255, 0.08);
  transform: scale(0.98);
}

.mm-drawer-link--cta {
  background: var(--mm-grad-fire);
  border-color: transparent;
  color: #1a0a02;
}

.mm-drawer-link--cta i {
  background: rgba(26, 10, 2, 0.2);
  color: #1a0a02;
}

.mm-drawer-link--full {
  grid-column: 1 / -1;
}

.mm-drawer-foot {
  padding: 16px 18px calc(16px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--mm-line);
  display: grid;
  gap: 10px;
}

.mm-drawer-contact {
  display: flex;
  gap: 8px;
}

.mm-drawer-contact a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  border: 1px solid var(--mm-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--mm-text);
  font-weight: 700;
  font-size: 13px;
}

.mm-drawer-contact a i {
  font-size: 16px;
  color: var(--mm-blue);
}

/* ========================================================================
   Общая структура
   ======================================================================== */

.mm-section,
.mm-hero,
.mm-final,
.mm-footer,
.mm-page {
  width: min(100%, 1100px);
  margin: 0 auto;
  padding-inline: 18px;
}

.mm-section {
  padding-top: 64px;
  position: relative;
}

.mm-section + .mm-section {
  padding-top: 56px;
}

/* Заголовки секций */
.mm-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(245, 147, 77, 0.28);
  border-radius: 999px;
  background: rgba(245, 147, 77, 0.08);
  color: var(--mm-brand-3);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  max-width: 100%;
}

.mm-kicker i {
  font-size: 14px;
}

.mm-kicker--blue {
  border-color: rgba(106, 169, 255, 0.32);
  background: rgba(106, 169, 255, 0.1);
  color: #a8c8ff;
}

.mm-kicker--cyan {
  border-color: rgba(77, 217, 221, 0.32);
  background: rgba(77, 217, 221, 0.1);
  color: #98ebef;
}

.mm-kicker--green {
  border-color: rgba(88, 214, 141, 0.32);
  background: rgba(88, 214, 141, 0.1);
  color: #a6f0c4;
}

.mm-kicker--violet {
  border-color: rgba(167, 139, 250, 0.32);
  background: rgba(167, 139, 250, 0.1);
  color: #d5c6ff;
}

.mm-section h2,
.mm-hero h1,
.mm-final h2 {
  margin: 14px 0 0;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--mm-text);
}

.mm-section h2 {
  font-size: clamp(28px, 8.4vw, 48px);
}

.mm-section-text {
  margin: 14px 0 0;
  color: var(--mm-text-2);
  font-size: 16px;
  line-height: 1.55;
  max-width: 56ch;
}

.mm-section-head {
  margin-bottom: 6px;
}

/* ========================================================================
   HERO
   ======================================================================== */

.mm-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 24px;
  padding-bottom: 32px;
  overflow: hidden;
}

.mm-hero-version {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 7px 12px;
  border: 1px solid rgba(88, 214, 141, 0.3);
  border-radius: 999px;
  background: rgba(88, 214, 141, 0.1);
  color: #a6f0c4;
  font-size: 12px;
  font-weight: 800;
}

.mm-hero-version span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mm-green);
  box-shadow: 0 0 12px rgba(88, 214, 141, 0.8);
  animation: mm-pulse 1.6s ease-in-out infinite;
}

@keyframes mm-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

.mm-hero h1 {
  font-size: clamp(34px, 9.2vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 800;
  text-wrap: balance;
}

.mm-hero h1 .mm-grad {
  background: var(--mm-grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mm-hero h1 .mm-grad-ai {
  background: var(--mm-grad-ai);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mm-hero-lead {
  margin: 4px 0 0;
  color: var(--mm-text-2);
  font-size: 15.5px;
  line-height: 1.52;
  max-width: 56ch;
}

.mm-hero-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 4px;
}

.mm-btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border-radius: 16px;
  font-weight: 800;
  line-height: 1;
  font-size: 15px;
  border: 0;
  cursor: pointer;
  transition: transform 0.18s var(--mm-easing), box-shadow 0.18s var(--mm-easing), background 0.18s ease;
}

.mm-btn i {
  font-size: 18px;
}

.mm-btn--primary {
  background: var(--mm-grad-fire);
  color: #1a0a02;
  box-shadow: var(--mm-glow-brand);
}

.mm-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 64px rgba(245, 147, 77, 0.4);
}

.mm-btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--mm-line);
  color: var(--mm-text);
}

.mm-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--mm-line-strong);
}

.mm-btn--small {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 13px;
}

/* Hero quick-grid — быстрый доступ к 6 ключевым модулям */
.mm-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 2px;
}

.mm-quick {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 14px 12px;
  border: 1px solid var(--mm-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--mm-text);
  font-weight: 800;
  font-size: 12px;
  line-height: 1.15;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  min-height: 78px;
}

.mm-quick i {
  font-size: 18px;
  color: var(--mm-brand);
}

.mm-quick--blue i { color: var(--mm-blue); }
.mm-quick--cyan i { color: var(--mm-cyan); }
.mm-quick--violet i { color: var(--mm-violet); }
.mm-quick--green i { color: var(--mm-green); }
.mm-quick--pink i { color: var(--mm-pink); }

.mm-quick:active {
  background: rgba(255, 255, 255, 0.06);
  transform: scale(0.98);
}

/* Hero-скрин */
.mm-hero-screen {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin-top: 4px;
  border: 1px solid var(--mm-line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(245, 147, 77, 0.1), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    var(--mm-bg-2);
  box-shadow: var(--mm-shadow);
  overflow: hidden;
  color: inherit;
  text-align: left;
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
}

.mm-hero-screen:active {
  transform: scale(0.995);
}

.mm-hero-screen::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 22px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(245, 147, 77, 0.4), transparent 40%, transparent 60%, rgba(106, 169, 255, 0.3));
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.mm-hero-screen-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--mm-line);
}

.mm-hero-screen-bar i {
  font-size: 13px;
  color: var(--mm-text-2);
}

.mm-hero-screen-bar span {
  font-size: 12px;
  color: var(--mm-muted);
  font-weight: 700;
  margin-left: 6px;
}

.mm-hero-screen-dots {
  display: flex;
  gap: 5px;
}

.mm-hero-screen-dots i {
  font-size: 9px;
  color: var(--mm-muted);
  opacity: 0.6;
}

.mm-hero-screen img {
  width: 100%;
  display: block;
  border-bottom-left-radius: 22px;
  border-bottom-right-radius: 22px;
}

.mm-hero-screen-caption {
  position: static;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--mm-line);
  border-radius: 0;
  background: rgba(7, 8, 11, 0.58);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 12px;
  color: var(--mm-text-2);
  font-weight: 700;
}

.mm-hero-screen-caption i {
  color: var(--mm-brand);
  font-size: 16px;
}

.mm-gallery {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: none;
  align-items: center;
  justify-content: center;
  padding: max(18px, env(safe-area-inset-top)) 14px max(18px, env(safe-area-inset-bottom));
  background: rgba(3, 4, 7, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.mm-gallery.is-open {
  display: flex;
}

.mm-gallery__stage {
  width: min(100%, 980px);
  margin: 0;
  display: grid;
  gap: 12px;
}

.mm-gallery__stage img {
  width: 100%;
  max-height: calc(100vh - 128px);
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: #07080b;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.52);
}

.mm-gallery__stage figcaption {
  text-align: center;
  color: var(--mm-text);
  font-size: 14px;
  font-weight: 800;
}

.mm-gallery__close,
.mm-gallery__nav {
  position: fixed;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.mm-gallery__close {
  top: max(14px, env(safe-area-inset-top));
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 22px;
}

.mm-gallery__nav {
  top: 50%;
  width: 42px;
  height: 54px;
  border-radius: 14px;
  font-size: 30px;
  transform: translateY(-50%);
}

.mm-gallery__nav--prev {
  left: 10px;
}

.mm-gallery__nav--next {
  right: 10px;
}

.mm-gallery__counter {
  position: fixed;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--mm-text-2);
  font-size: 12px;
  font-weight: 800;
}

/* Hero stats — горизонтальная полоса */
.mm-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 2px;
}

.mm-hero-stat {
  padding: 14px 12px;
  border: 1px solid var(--mm-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  text-align: left;
}

.mm-hero-stat strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--mm-text);
  letter-spacing: -0.02em;
  line-height: 1;
}

.mm-hero-stat span {
  display: block;
  margin-top: 6px;
  color: var(--mm-muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.mm-hero-stat--accent strong {
  background: var(--mm-grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========================================================================
   Marquee — бегущая строка фич
   ======================================================================== */

.mm-marquee {
  position: relative;
  margin-top: 64px;
  padding: 18px 0;
  border-block: 1px solid var(--mm-line);
  background: linear-gradient(90deg, rgba(245, 147, 77, 0.04), rgba(106, 169, 255, 0.04));
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.mm-marquee-track {
  display: flex;
  gap: 38px;
  width: max-content;
  animation: mm-marquee-scroll 38s linear infinite;
}

.mm-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  color: var(--mm-text-2);
}

.mm-marquee-item i {
  font-size: 18px;
  color: var(--mm-brand);
}

.mm-marquee-item--blue i { color: var(--mm-blue); }
.mm-marquee-item--cyan i { color: var(--mm-cyan); }
.mm-marquee-item--violet i { color: var(--mm-violet); }
.mm-marquee-item--green i { color: var(--mm-green); }
.mm-marquee-item--pink i { color: var(--mm-pink); }
.mm-marquee-item--yellow i { color: var(--mm-yellow); }

@keyframes mm-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ========================================================================
   Bento — полный цикл
   ======================================================================== */

.mm-bento {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.mm-bento-step {
  position: relative;
  padding: 18px;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-radius);
  background: var(--mm-panel);
  overflow: hidden;
}

.mm-bento-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 999px;
}

.mm-bento-step--a::before { background: var(--mm-grad-fire); }
.mm-bento-step--b::before { background: linear-gradient(180deg, var(--mm-blue), var(--mm-cyan)); }
.mm-bento-step--c::before { background: linear-gradient(180deg, var(--mm-violet), var(--mm-pink)); }
.mm-bento-step--d::before { background: linear-gradient(180deg, var(--mm-green), var(--mm-cyan)); }

.mm-bento-step__num {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mm-brand-3);
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(245, 147, 77, 0.1);
  border: 1px solid rgba(245, 147, 77, 0.22);
}

.mm-bento-step--b .mm-bento-step__num {
  color: #a8c8ff;
  background: rgba(106, 169, 255, 0.1);
  border-color: rgba(106, 169, 255, 0.22);
}

.mm-bento-step--c .mm-bento-step__num {
  color: #d5c6ff;
  background: rgba(167, 139, 250, 0.1);
  border-color: rgba(167, 139, 250, 0.22);
}

.mm-bento-step--d .mm-bento-step__num {
  color: #a6f0c4;
  background: rgba(88, 214, 141, 0.1);
  border-color: rgba(88, 214, 141, 0.22);
}

.mm-bento-step h3 {
  margin: 12px 0 0;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.mm-bento-step p {
  margin: 8px 0 0;
  color: var(--mm-text-2);
  font-size: 15px;
  line-height: 1.55;
}

.mm-bento-step__icons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.mm-bento-step__icon {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--mm-line);
  color: var(--mm-text-2);
  font-size: 11px;
  font-weight: 800;
}

.mm-bento-step__icon i {
  font-size: 12px;
  color: var(--mm-brand);
}

/* ========================================================================
   Modules — каталог модулей
   ======================================================================== */

.mm-modules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}

.mm-module {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 14px 18px;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-radius);
  background: var(--mm-panel);
  color: var(--mm-text);
  overflow: hidden;
  min-height: 130px;
  transition: transform 0.18s var(--mm-easing), border-color 0.18s ease, background 0.18s ease;
}

.mm-module::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 100% 0%, rgba(245, 147, 77, 0.18), transparent 50%);
  opacity: 0;
  transition: opacity 0.24s var(--mm-easing);
  pointer-events: none;
}

.mm-module:hover,
.mm-module:active {
  transform: translateY(-1px);
  border-color: var(--mm-line-strong);
  background: var(--mm-panel-strong);
}

.mm-module:hover::after,
.mm-module:active::after {
  opacity: 1;
}

.mm-module i.mm-module-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--mm-brand-soft);
  color: var(--mm-brand);
  font-size: 19px;
  flex: 0 0 auto;
}

.mm-module--blue i { background: rgba(106, 169, 255, 0.14); color: var(--mm-blue); }
.mm-module--cyan i { background: rgba(77, 217, 221, 0.14); color: var(--mm-cyan); }
.mm-module--violet i { background: rgba(167, 139, 250, 0.14); color: var(--mm-violet); }
.mm-module--green i { background: rgba(88, 214, 141, 0.14); color: var(--mm-green); }
.mm-module--pink i { background: rgba(244, 114, 182, 0.14); color: var(--mm-pink); }
.mm-module--yellow i { background: rgba(255, 206, 90, 0.14); color: var(--mm-yellow); }
.mm-module--danger i { background: rgba(255, 107, 107, 0.14); color: var(--mm-danger); }

.mm-module strong {
  display: block;
  font-size: 16px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.mm-module span {
  display: block;
  color: var(--mm-text-2);
  font-size: 12.5px;
  line-height: 1.4;
  font-weight: 600;
}

.mm-module .mm-module-arrow {
  position: absolute;
  top: 14px;
  right: 14px;
  color: var(--mm-muted);
  font-size: 16px;
  transition: color 0.18s ease, transform 0.18s ease;
}

.mm-module:hover .mm-module-arrow,
.mm-module:active .mm-module-arrow {
  color: var(--mm-text);
  transform: translate(2px, -2px);
}

/* Модуль-hero — крупный модуль в начале */
.mm-module--hero {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  min-height: 110px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(245, 147, 77, 0.14), rgba(106, 169, 255, 0.1));
  border-color: rgba(245, 147, 77, 0.32);
}

/* Нечётная последняя карточка (после full-width hero остаётся одна в ряду) — на всю ширину, без пустой ячейки */
.mm-modules > .mm-module:last-child:nth-child(even) {
  grid-column: 1 / -1;
}

.mm-module--hero i {
  width: 48px;
  height: 48px;
  font-size: 24px;
}

.mm-module--hero .mm-module-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mm-module--hero strong {
  font-size: 18px;
}

.mm-module--hero span {
  font-size: 13px;
}

.mm-module--hero .mm-module-arrow {
  position: static;
  margin-left: auto;
  color: var(--mm-text);
}

.mm-modules-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--mm-text-2);
  font-weight: 800;
  font-size: 13px;
}

.mm-modules-all i {
  transition: transform 0.18s ease;
}

.mm-modules-all:hover i {
  transform: translateX(3px);
}

/* ========================================================================
   Compare — почему MaxPanel
   ======================================================================== */

/* ── Ключевые возможности (бывшая таблица сравнения) ── */
.mm-adv {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.mm-adv-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
  align-items: center;
  padding: 14px 16px 14px 18px;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-radius);
  background: var(--mm-panel);
  overflow: hidden;
}

/* акцентная полоса слева = «плюс к возможностям» */
.mm-adv-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--mm-brand);
  opacity: 0.6;
}

.mm-adv-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 20px;
  flex: 0 0 auto;
  background: rgba(245, 147, 77, 0.13);
  color: var(--mm-brand);
}

.mm-adv-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.mm-adv-text strong {
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--mm-text);
}

.mm-adv-text span {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--mm-text-2);
}

/* цветовые варианты иконки + полосы */
.mm-adv-card--blue   .mm-adv-ico { background: rgba(106, 169, 255, 0.14); color: var(--mm-blue); }
.mm-adv-card--blue::before   { background: var(--mm-blue); }
.mm-adv-card--cyan   .mm-adv-ico { background: rgba(77, 217, 221, 0.14); color: var(--mm-cyan); }
.mm-adv-card--cyan::before   { background: var(--mm-cyan); }
.mm-adv-card--violet .mm-adv-ico { background: rgba(167, 139, 250, 0.14); color: var(--mm-violet); }
.mm-adv-card--violet::before { background: var(--mm-violet); }
.mm-adv-card--green  .mm-adv-ico { background: rgba(88, 214, 141, 0.14); color: var(--mm-green); }
.mm-adv-card--green::before  { background: var(--mm-green); }
.mm-adv-card--pink   .mm-adv-ico { background: rgba(244, 114, 182, 0.14); color: var(--mm-pink); }
.mm-adv-card--pink::before   { background: var(--mm-pink); }
.mm-adv-card--yellow .mm-adv-ico { background: rgba(255, 206, 90, 0.14); color: var(--mm-yellow); }
.mm-adv-card--yellow::before { background: var(--mm-yellow); }

.mm-adv-foot {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--mm-muted);
}
.mm-adv-foot i { font-size: 14px; flex: 0 0 auto; margin-top: 1px; }

.mm-compare {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-radius);
  background: var(--mm-panel);
  position: relative;
  overflow: hidden;
}

.mm-compare::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--mm-radius);
  padding: 1px;
  background: linear-gradient(135deg, rgba(245, 147, 77, 0.4), transparent 50%, rgba(106, 169, 255, 0.3));
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.mm-compare-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--mm-text);
  margin-bottom: 4px;
}

.mm-compare-title i {
  color: var(--mm-brand);
  font-size: 18px;
}

.mm-compare-sub {
  color: var(--mm-text-2);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 14px;
}

.mm-compare-list {
  display: grid;
  gap: 8px;
}

.mm-compare-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--mm-line);
}

.mm-compare-row__label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 800;
  color: var(--mm-text);
}

.mm-compare-row__label i {
  color: var(--mm-brand);
  font-size: 16px;
  flex: 0 0 auto;
}

.mm-compare-row__us,
.mm-compare-row__them {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
}

.mm-compare-row__us {
  background: rgba(88, 214, 141, 0.16);
  color: var(--mm-green);
  border: 1px solid rgba(88, 214, 141, 0.3);
}

.mm-compare-row__them {
  background: rgba(255, 107, 107, 0.14);
  color: var(--mm-danger);
  border: 1px solid rgba(255, 107, 107, 0.28);
}

.mm-compare-row__them.is-warn {
  background: rgba(255, 206, 90, 0.14);
  color: var(--mm-yellow);
  border-color: rgba(255, 206, 90, 0.28);
}

.mm-compare-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--mm-muted);
}

.mm-compare-foot i {
  color: var(--mm-muted);
  font-size: 14px;
}

/* ========================================================================
   Cases — типовые сценарии
   ======================================================================== */

.mm-cases {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.mm-case {
  position: relative;
  padding: 18px;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-radius);
  background: var(--mm-panel);
  overflow: hidden;
}

.mm-case::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(245, 147, 77, 0.16), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.mm-case__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(245, 147, 77, 0.1);
  border: 1px solid rgba(245, 147, 77, 0.22);
  color: var(--mm-brand-3);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mm-case__tag--blue {
  background: rgba(106, 169, 255, 0.1);
  border-color: rgba(106, 169, 255, 0.22);
  color: #a8c8ff;
}

.mm-case__tag--violet {
  background: rgba(167, 139, 250, 0.1);
  border-color: rgba(167, 139, 250, 0.22);
  color: #d5c6ff;
}

.mm-case h3 {
  margin: 12px 0 0;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.mm-case p {
  margin: 8px 0 0;
  color: var(--mm-text-2);
  font-size: 14px;
  line-height: 1.55;
}

.mm-case__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--mm-line);
}

.mm-case__metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mm-case__metric strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--mm-text);
  line-height: 1;
}

.mm-case__metric span {
  font-size: 10px;
  color: var(--mm-muted);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mm-case__modules {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
}

.mm-case__module {
  font-size: 11px;
  font-weight: 700;
  color: var(--mm-text-2);
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--mm-line);
}

/* ========================================================================
   Pricing — тарифы
   ======================================================================== */

.mm-pricing {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.mm-pricing-card {
  position: relative;
  padding: 20px 20px 78px;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-radius-lg);
  background: var(--mm-panel);
  overflow: hidden;
}

.mm-pricing-card--main {
  background:
    linear-gradient(135deg, rgba(245, 147, 77, 0.16), rgba(106, 169, 255, 0.08)),
    rgba(20, 22, 30, 0.96);
  border-color: rgba(245, 147, 77, 0.42);
  box-shadow: 0 22px 60px rgba(245, 147, 77, 0.18);
}

.mm-pricing-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(88, 214, 141, 0.16);
  border: 1px solid rgba(88, 214, 141, 0.32);
  color: #a6f0c4;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mm-pricing-card__name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mm-brand-3);
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mm-pricing-card__name i {
  font-size: 16px;
}

.mm-pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 10px;
}

.mm-pricing-card__price strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 38px;
  font-weight: 800;
  color: var(--mm-text);
  letter-spacing: -0.03em;
  line-height: 1;
}

.mm-pricing-card__price span {
  color: var(--mm-muted);
  font-size: 18px;
  font-weight: 700;
}

.mm-pricing-card__old {
  margin-top: 4px;
  color: var(--mm-muted);
  font-size: 13px;
  text-decoration: line-through;
}

.mm-pricing-card__sub {
  margin: 4px 0 0;
  color: var(--mm-text-2);
  font-size: 13px;
  font-weight: 700;
}

.mm-pricing-card__list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.mm-pricing-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--mm-text-2);
  line-height: 1.45;
  font-weight: 600;
}

.mm-pricing-card__list i {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--mm-brand);
  font-size: 14px;
}

.mm-pricing-card__cta {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  min-height: 50px;
  display: grid;
  place-items: center;
  gap: 6px;
  border-radius: 14px;
  background: var(--mm-grad-fire);
  color: #1a0a02;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.02em;
  border: 0;
  box-shadow: var(--mm-glow-brand);
  transition: transform 0.18s var(--mm-easing), box-shadow 0.18s var(--mm-easing);
}

.mm-pricing-card__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 60px rgba(245, 147, 77, 0.4);
}

.mm-pricing-card--main .mm-pricing-card__cta {
  background: linear-gradient(135deg, #ffb777, #f5934d);
  color: #1a0a02;
}

.mm-pricing-card--ghost .mm-pricing-card__cta {
  background: rgba(255, 255, 255, 0.04);
  color: var(--mm-text);
  border: 1px solid var(--mm-line);
  box-shadow: none;
}

/* ========================================================================
   Trust — почему MaxPanel
   ======================================================================== */

.mm-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}

.mm-trust-item {
  padding: 16px;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-radius);
  background: var(--mm-panel);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mm-trust-item i {
  font-size: 22px;
  color: var(--mm-brand);
}

.mm-trust-item--blue i { color: var(--mm-blue); }
.mm-trust-item--cyan i { color: var(--mm-cyan); }
.mm-trust-item--green i { color: var(--mm-green); }

.mm-trust-item strong {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--mm-text);
}

.mm-trust-item span {
  font-size: 12.5px;
  color: var(--mm-text-2);
  line-height: 1.5;
  font-weight: 600;
}

/* ========================================================================
   FAQ — частые вопросы
   ======================================================================== */

.mm-faq {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.mm-faq-item {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--mm-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--mm-text);
  text-align: left;
  font-weight: 800;
  font-size: 15px;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.mm-faq-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--mm-line-strong);
}

.mm-faq-item i {
  color: var(--mm-brand);
  font-size: 18px;
  flex: 0 0 auto;
  transition: transform 0.22s var(--mm-easing);
}

.mm-faq-item em {
  display: none;
  grid-column: 1 / -1;
  margin: 0;
  padding: 0 0 0;
  color: var(--mm-text-2);
  font-style: normal;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 600;
}

.mm-faq-item.is-open i {
  transform: rotate(45deg);
}

.mm-faq-item.is-open em {
  display: block;
  margin-top: 8px;
}

/* ========================================================================
   Final CTA
   ======================================================================== */

.mm-final {
  padding-top: 72px;
  padding-bottom: 36px;
  text-align: center;
}

.mm-final-card {
  position: relative;
  padding: 32px 22px;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-radius-xl);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(245, 147, 77, 0.18), transparent 60%),
    var(--mm-panel-strong);
  overflow: hidden;
}

.mm-final-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--mm-radius-xl);
  padding: 1px;
  background: linear-gradient(135deg, rgba(245, 147, 77, 0.6), transparent 40%, rgba(106, 169, 255, 0.5));
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.mm-final h2 {
  font-size: clamp(28px, 8vw, 42px);
  letter-spacing: -0.025em;
}

.mm-final-card p {
  margin: 12px 0 0;
  color: var(--mm-text-2);
  font-size: 15px;
  line-height: 1.55;
}

.mm-final-card .mm-btn {
  margin-top: 20px;
  min-width: 220px;
}

.mm-final-card .mm-final-mini {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
  color: var(--mm-muted);
  font-size: 12px;
  font-weight: 700;
}

.mm-final-card .mm-final-mini span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.mm-final-card .mm-final-mini i {
  color: var(--mm-green);
  font-size: 14px;
}

/* ========================================================================
   Floating CTA + Contact FAB
   ======================================================================== */

.mm-floating-cta {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 80;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.22s var(--mm-easing), transform 0.22s var(--mm-easing);
}

.mm-floating-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mm-floating-cta a {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border-radius: 16px;
  background: var(--mm-grad-fire);
  color: #1a0a02;
  font-weight: 900;
  font-size: 15px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42), 0 14px 32px rgba(245, 147, 77, 0.32);
}

.mm-contact-fab {
  position: fixed;
  right: 14px;
  bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  z-index: 70;
  display: grid;
  gap: 8px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.22s var(--mm-easing), transform 0.22s var(--mm-easing);
}

.mm-contact-fab.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mm-contact-fab a,
.mm-contact-fab button {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(106, 169, 255, 0.92);
  color: #fff;
  font-size: 22px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32);
  transition: transform 0.18s var(--mm-easing), background 0.18s ease;
}

.mm-contact-fab a:hover,
.mm-contact-fab button:hover {
  transform: scale(1.06);
}

.mm-contact-fab button {
  background: rgba(245, 147, 77, 0.92);
  color: #1a0a02;
}

/* ── Видео-каналы: иконки YouTube + RuTube прямо в стопке FAB ── */
.mm-contact-fab .mm-fab-sub--yt { background: #ff3b30; color: #fff; }
.mm-contact-fab .mm-fab-sub--rt {
  background: #20232b;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.mm-contact-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: flex-end;
  padding: 14px;
  background: rgba(0, 0, 0, 0.66);
  backdrop-filter: blur(4px);
}

.mm-contact-modal.is-open {
  display: flex;
}

.mm-contact-card {
  width: 100%;
  padding: 22px;
  border: 1px solid var(--mm-line);
  border-radius: 24px;
  background: rgba(7, 8, 11, 0.98);
  box-shadow: var(--mm-shadow);
  position: relative;
}

.mm-contact-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--mm-line);
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  color: var(--mm-text);
}

.mm-contact-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--mm-brand-soft);
  color: var(--mm-brand);
  font-size: 26px;
}

.mm-contact-card h3 {
  margin: 16px 0 0;
  font-size: 24px;
}

.mm-contact-card > p {
  margin: 8px 0 16px;
  color: var(--mm-text-2);
  font-size: 14px;
}

.mm-contact-link {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  border-radius: 14px;
  background: var(--mm-grad-fire);
  color: #1a0a02;
  font-weight: 900;
  font-size: 14px;
}

.mm-contact-link--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--mm-text);
  border: 1px solid var(--mm-line);
}

/* ========================================================================
   Cookie-баннер
   ======================================================================== */

.mm-consent {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--mm-line);
  border-radius: 16px;
  background: rgba(7, 8, 11, 0.96);
  box-shadow: var(--mm-shadow);
}

.mm-consent[hidden] { display: none; }

.mm-consent strong {
  display: block;
  font-weight: 800;
  font-size: 14px;
}

.mm-consent p {
  margin: 0;
  color: var(--mm-text-2);
  font-size: 12.5px;
  line-height: 1.5;
}

.mm-consent a {
  color: var(--mm-brand-3);
  text-decoration: underline;
}

.mm-consent button {
  min-height: 40px;
  border: 0;
  border-radius: 12px;
  background: var(--mm-grad-fire);
  color: #1a0a02;
  font-weight: 800;
  font-size: 13px;
}

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

.mm-footer {
  display: grid;
  gap: 10px;
  padding-top: 32px;
  /* запас снизу, чтобы ссылки футера не попадали под плавающие кнопки (FAB ~180px от низа) */
  padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px));
  color: var(--mm-muted);
  font-size: 13px;
  border-top: 1px solid var(--mm-line);
  margin-top: 40px;
}

.mm-footer strong {
  color: var(--mm-text);
  font-size: 16px;
  font-weight: 800;
  font-family: "Space Grotesk", sans-serif;
}

.mm-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.mm-footer a {
  color: var(--mm-text-2);
  font-weight: 700;
}

/* ========================================================================
   Page-level — модули, TG2Max, whatsnew, legal
   ======================================================================== */

.mm-page {
  padding-top: 26px;
  padding-bottom: 42px;
}

.mm-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--mm-text-2);
  font-size: 13px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--mm-line);
  transition: background 0.18s ease;
}

.mm-back:hover {
  background: rgba(255, 255, 255, 0.08);
}

.mm-page-hero {
  padding: 18px 0 12px;
}

.mm-page-hero h1 {
  margin: 18px 0 0;
  font-size: clamp(32px, 9vw, 48px);
  line-height: 1;
  letter-spacing: -0.025em;
  font-weight: 800;
  text-wrap: balance;
}

.mm-legal-page .mm-page-hero h1 {
  font-size: clamp(28px, 8vw, 40px);
  line-height: 1.05;
}

.mm-page-lead {
  margin: 14px 0 0;
  color: var(--mm-text-2);
  font-size: 15px;
  line-height: 1.55;
  max-width: 56ch;
}

.mm-page-hero .mm-hero-actions {
  margin-top: 18px;
}

.mm-feature-media {
  margin-top: 22px;
  border: 1px solid var(--mm-line);
  border-radius: 22px;
  overflow: hidden;
  background: var(--mm-bg-2);
  box-shadow: var(--mm-shadow);
}

.mm-feature-media video,
.mm-feature-media img {
  display: block;
  width: 100%;
  height: auto;
}

.mm-card-stack,
.mm-timeline,
.mm-mini-grid {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.mm-info-card,
.mm-step-card,
.mm-update-card {
  padding: 18px;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-radius);
  background: var(--mm-panel);
}

.mm-info-card i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--mm-brand-soft);
  color: var(--mm-brand);
  font-size: 22px;
}

.mm-info-card h3,
.mm-step-card h3,
.mm-update-card h3 {
  margin: 12px 0 0;
  font-size: 19px;
  line-height: 1.2;
}

.mm-info-card p,
.mm-step-card p,
.mm-update-card p {
  margin: 8px 0 0;
  color: var(--mm-text-2);
  line-height: 1.55;
  font-size: 14.5px;
}

.mm-step-card {
  position: relative;
  padding-left: 64px;
}

.mm-step-card > span {
  position: absolute;
  left: 18px;
  top: 18px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(106, 169, 255, 0.12);
  color: #a8c8ff;
  font-size: 12px;
  font-weight: 800;
}

.mm-cta-panel {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid rgba(88, 214, 141, 0.28);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(88, 214, 141, 0.12), transparent 50%),
    var(--mm-panel);
  text-align: left;
}

.mm-cta-panel h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.05;
}

.mm-cta-panel p {
  margin: 10px 0 16px;
  color: var(--mm-text-2);
  line-height: 1.55;
  font-size: 14.5px;
}

.mm-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.mm-kpi {
  padding: 14px;
  border: 1px solid rgba(106, 169, 255, 0.18);
  border-radius: 16px;
  background: rgba(106, 169, 255, 0.05);
}

.mm-kpi strong {
  display: block;
  color: #a8c8ff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.mm-kpi span {
  display: block;
  margin-top: 6px;
  color: var(--mm-text-2);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
}

.mm-download-card {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid rgba(106, 169, 255, 0.22);
  border-radius: 22px;
  background:
    linear-gradient(140deg, rgba(106, 169, 255, 0.14), transparent 52%),
    var(--mm-bg-2);
}

.mm-download-card .mm-btn {
  margin-top: 16px;
  width: 100%;
}

.mm-legal-card {
  padding: 18px;
  color: var(--mm-text-2);
  line-height: 1.65;
  font-size: 14.5px;
  border: 1px solid var(--mm-line);
  border-radius: var(--mm-radius);
  background: var(--mm-panel);
}

.mm-legal-card h2 {
  margin: 22px 0 10px;
  color: var(--mm-text);
  font-size: 19px;
  line-height: 1.2;
}

.mm-legal-card h2:first-child {
  margin-top: 0;
}

.mm-legal-card strong {
  color: var(--mm-text);
}

.mm-legal-card ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.mm-legal-card li + li {
  margin-top: 6px;
}

.mm-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.32s var(--mm-easing), transform 0.32s var(--mm-easing);
}

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

/* ========================================================================
   Адаптив: 620+ — планшет
   ======================================================================== */

@media (min-width: 620px) {
  .mm-nav {
    padding-inline: 24px;
  }

  .mm-nav-links {
    display: flex;
  }

  .mm-menu-btn {
    display: none;
  }

  .mm-section,
  .mm-hero,
  .mm-final,
  .mm-footer,
  .mm-page {
    padding-inline: 28px;
  }

  .mm-hero-actions {
    grid-template-columns: 1.25fr 0.85fr;
    max-width: 520px;
  }

  .mm-quick-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .mm-modules {
    grid-template-columns: repeat(3, 1fr);
  }

  .mm-trust {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .mm-card-stack,
  .mm-timeline,
  .mm-mini-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .mm-floating-cta {
    left: 50%;
    right: auto;
    width: 360px;
    transform: translateX(-50%);
  }

  .mm-floating-cta.is-visible {
    transform: translateX(-50%) translateY(0);
  }

  .mm-consent {
    left: 24px;
    right: auto;
    width: min(420px, calc(100vw - 48px));
  }

  .mm-hero-screen {
    max-width: 520px;
  }
}

@media (min-width: 900px) {
  .mm-section,
  .mm-hero,
  .mm-final,
  .mm-footer,
  .mm-page {
    padding-inline: 36px;
  }

  .mm-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    column-gap: 36px;
  }

  .mm-hero-version,
  .mm-hero h1,
  .mm-hero-lead,
  .mm-hero-actions,
  .mm-quick-grid,
  .mm-hero-stats {
    grid-column: 1;
  }

  .mm-hero-screen {
    grid-column: 2;
    grid-row: 1 / span 6;
    max-width: 560px;
  }

  .mm-modules {
    grid-template-columns: repeat(4, 1fr);
  }

  .mm-pricing {
    grid-template-columns: repeat(4, 1fr);
  }

  .mm-cases {
    grid-template-columns: repeat(4, 1fr);
  }

  .mm-trust {
    grid-template-columns: repeat(4, 1fr);
  }

  .mm-card-stack,
  .mm-mini-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Маленькие экраны */
@media (max-width: 380px) {
  .mm-section,
  .mm-hero,
  .mm-final,
  .mm-footer,
  .mm-page {
    padding-inline: 14px;
  }

  .mm-hero h1 {
    font-size: 32px;
  }

  .mm-modules {
    grid-template-columns: 1fr;
  }

  .mm-trust {
    grid-template-columns: 1fr;
  }

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

  .mm-hero-stats {
    grid-template-columns: 1fr;
  }
}

/* Уважение к reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .mm-reveal,
  .mm-drawer,
  .mm-faq-item i,
  .mm-marquee-track,
  .mm-hero-version span {
    transition: none;
    animation: none;
  }
}
