/* moderator.css
   Стили продающего лендинга Moderator.
   ВАЖНО: styles.css общий (auth), его не ломаем.

   Эта версия ВЫРОВНЕНА по moderator_landing.html:
   - floating-cards / f-card
   - mock / mock-foot
   - platforms: p-card / tag
   - features: feat-grid / feat
   - pricing: plan
   - faq: qa
*/

:root{
  --m-container: 1160px;

  --m-glass-1: rgba(255,255,255,.08);
  --m-glass-2: rgba(255,255,255,.04);
  --m-stroke: rgba(255,255,255,.12);

  --m-shadow: 0 26px 110px rgba(0,0,0,.60);

  --m-radius: 22px;
  --m-radius-sm: 16px;

  /* “золото” для акцента языка */
  --m-gold: #FBBF24;

  /* высота фиксированного топбара */
  --m-topbar-h: 74px;

  /* ===== HERO (настройки макета) ===== */
  /* ширина левой колонки (логотип + KPI) */
  --hero-left-w: clamp(260px, 28vw, 380px);

  /* размер квадрата логотипа (НЕ равен KPI; можешь поставить ровно 320px и т.д.) */
  --hero-logo-size: clamp(240px, 26vw, 280px);

  /* ступеньки KPI (смещение по X) */
  --hero-kpi-shift-2: 0%;
  --hero-kpi-shift-3: 0%;
}

/* ===== БАЗА / ФОН ===== */

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

body{
  /* под фиксированный топбар */
  padding-top: var(--m-topbar-h);
}

/* чтобы якоря (#how/#pricing) не залезали под fixed topbar */
[id]{
  scroll-margin-top: calc(var(--m-topbar-h) + 18px);
}

.bg-image{
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image: url('./moderator-bg-desktop.png');
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  filter: saturate(1.06) contrast(1.02);
}

@media (max-width: 720px){
  .bg-image{
    background-image: url('./moderator-bg-mobile.png');
    background-position: center top;
  }
}

.bg-grid{
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events:none;
  opacity: .16;
  background:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 40% 30%, rgba(0,0,0,1), rgba(0,0,0,.15) 60%, rgba(0,0,0,0) 78%);
}

.grad{
  background: linear-gradient(90deg, var(--phoenix1), var(--phoenix2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* универсальный “стеклянный” стиль */
.glass{
  background: linear-gradient(180deg, var(--m-glass-1), var(--m-glass-2));
  border: 1px solid var(--m-stroke);
  box-shadow: var(--m-shadow);
  backdrop-filter: blur(10px);
  border-radius: var(--m-radius);
}

/* ===== TOPBAR (ФИКСИРУЕМ НАВСЕГДА) ===== */

.m-topbar{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;

  padding: 14px 0;
  background: rgba(3, 6, 18, .55);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
}

.m-topbar__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.m-brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.m-brand__icon{
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 14px 34px rgba(0,0,0,.35);
}

.m-brand__name{
  font-weight: 900;
  letter-spacing: .3px;
}

.m-nav{
  display: flex;
  align-items: center;
  gap: 16px;
}

.m-nav__link{
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 14px;
}

.m-nav__link:hover{
  background: rgba(255,255,255,.06);
}

.m-actions{
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ===== Кнопки лендинга (не .btn из styles.css) ===== */

.m-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 10px 14px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .2px;

  border: 1px solid rgba(255,255,255,.12);
  transition: transform 180ms ease, filter 180ms ease, background 180ms ease;
}

.m-btn--primary{
  color: #fff;
  background: linear-gradient(135deg, var(--phoenix1), var(--phoenix2));
}

.m-btn--ghost{
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.06);
}

.m-btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.m-btn--lg{
  padding: 12px 16px;
  border-radius: 18px;
}

/* ===== ЯЗЫКОВАЯ “КИШКА” В TOPBAR ===== */

.m-topbar .lang-pill{
  position: relative;
  top: auto;
  right: auto;
  z-index: 250;

  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;

  height: 42px;
  width: 46px;
  padding: 0px;

  border-radius: 999px;
  overflow: hidden;

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);

  box-shadow:
    0 14px 34px rgba(0,0,0,0.38),
    0 0 18px rgba(249,115,22,0.12),
    0 0 16px rgba(124,58,237,0.10);

  transition:
    width 520ms cubic-bezier(.16, 1.4, .3, 1),
    box-shadow 240ms ease,
    border-color 240ms ease,
    transform 520ms cubic-bezier(.16, 1.4, .3, 1);

  flex: 0 0 auto;
  pointer-events: auto;
}

.m-topbar .lang-pill.open{
  width: 206px;
  border-color: rgba(255,255,255,0.16);
}

.m-topbar .lang-options{
  display: none;
  align-items: center;
  gap: 6px;
}

.m-topbar .lang-pill.open .lang-options{
  display: inline-flex;
}

.m-topbar .lang-current,
.m-topbar .lang-opt{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 30px;
  min-width: 44px;
  padding: 7px 12px;

  border-radius: 14px;
  border: 0;
  background: transparent;
  box-shadow: none;

  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.8px;

  cursor: pointer;
  user-select: none;
  color: rgba(255,255,255,0.86);
}

.m-topbar .lang-current{
  color: var(--m-gold);
  text-shadow:
    0 0 10px rgba(251,191,36,.25),
    0 0 18px rgba(249,115,22,.18);
}

.m-topbar .lang-opt:hover,
.m-topbar .lang-current:hover{
  color: var(--m-gold);
  text-shadow:
    0 0 12px rgba(251,191,36,.32),
    0 0 20px rgba(249,115,22,.22);
}

.m-topbar .lang-opt.active{
  color: var(--m-gold);
  background: rgba(255,255,255,0.08);
}

.m-topbar .lang-current:focus-visible,
.m-topbar .lang-opt:focus-visible{
  outline: none;
  background: rgba(255,255,255,0.10);
  box-shadow:
    0 0 0 3px rgba(124,58,237,0.22),
    0 0 0 1px rgba(255,255,255,0.10) inset;
}

/* ===== BURGER + MOBILE MENU ===== */

.m-burger{
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  cursor: pointer;
  padding: 10px;
}

.m-burger span{
  display: block;
  height: 2px;
  background: rgba(255,255,255,.85);
  border-radius: 999px;
}
.m-burger span + span{ margin-top: 6px; }

.m-mobile{
  display: none;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(3, 6, 18, .70);
  backdrop-filter: blur(12px);
}

.m-mobile.open{ display: block; }

.m-mobile__inner{
  padding: 14px 0 18px;
  display: grid;
  gap: 10px;
}

.m-mobile__link{
  color: rgba(255,255,255,.9);
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
}

.m-mobile__cta{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}

/* ===== HERO (GRID) ===== */

.hero{
  padding: 18px 0 42px;
}

.hero__grid{
  display: grid;
  grid-template-columns: var(--hero-left-w) minmax(0, 1fr);
  grid-template-areas:
    "logo copy"
    "kpi  bubbles";

  column-gap: clamp(18px, 4vw, 56px);

  /* отступ сверху 20, после заголовка 50 (между строками) */
  padding-top: 20px;
  row-gap: 50px;

  align-items: start;
  overflow: visible;
}

/* Верхняя строка */
.hero__logoWrap{ grid-area: logo; }
.hero__copy{
  grid-area: copy;
  min-width: 0;
  text-align: center;

  /* ВАЖНО: вертикальный центр текста относительно высоты строки (обычно = высоте логотипа) */
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Нижняя строка */
.hero__kpi{ grid-area: kpi; }
.hero__bubbles{
  grid-area: bubbles;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;

  /* опустить/поднять пузыри относительно KPI — играй этим */
  padding-top: 44px;
}

/* Логотип: независимый квадрат, но стоит строго над KPI (в левой колонке) */
.hero__logo{
  width: min(var(--hero-logo-size), 100%);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  margin: 0 auto;

  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 60px rgba(0,0,0,.35);

  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.hero__logoWrap a:hover .hero__logo{
  transform: translateY(-6px);
  border-color: rgba(240,200,75,.45);
  box-shadow: 0 28px 80px rgba(0,0,0,.45);
}

.hero__title{
  margin: 0 0 12px;
  font-size: clamp(40px, 3.3vw, 56px);
  line-height: 1.05;
  letter-spacing: .2px;
}
/* Вторая часть заголовка — всегда с новой строки */
.hero__title .grad{
  display: block;
  margin-top: 6px; /* можно 0..12, как нравится */
}

.hero__sub{
  margin: 0 auto;
  color: rgba(255,255,255,.86);
  max-width: 920px;
  line-height: 1.55;
  text-align: center;
}

/* ===== KPI (ступеньки) ===== */

.hero__mini--stairs{
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: visible;
}

.hero__mini--stairs .mini-card{
  width: 100%;
  max-width: var(--hero-left-w);
}

/* Смещения ступенек — правь тут (или переменными выше) */
.hero__mini--stairs .mini-card:nth-child(2){
  transform: translateX(var(--hero-kpi-shift-2));
}
.hero__mini--stairs .mini-card:nth-child(3){
  transform: translateX(var(--hero-kpi-shift-3));
}

.mini-card{
  border-radius: 20px;
  padding: 14px 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
}

.mini-card__kpi{
  font-size: 18px;
  font-weight: 900;
  color: var(--m-gold);
  text-shadow:
    0 0 12px rgba(251,191,36,.28),
    0 0 20px rgba(249,115,22,.22);
}

.mini-card__txt{
  margin-top: 2px;
  font-size: 13px;
  color: var(--muted);
}

/* ===== SOAP BUBBLES ===== */

.floating-cards{
  position: relative;
  z-index: 10;
  width: 100%;

  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 16px;

  pointer-events: none;
  overflow: visible;
  flex-wrap: nowrap;
}

.floating-cards .f-card{
  position: relative;
  top: auto; right: auto; bottom: auto; left: auto;
}

.f-card{
  width: 150px;
  height: 150px;
  border-radius: 999px;

  padding: 12px;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  overflow: hidden;

  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.20);
  backdrop-filter: blur(14px);
  box-shadow: 0 26px 80px rgba(0,0,0,.55);

  /* управляй позициями пузырей через dx/dy ниже */
  --dx: 0px;
  --dy: 0px;

  animation: bubbleFloaty 7.2s ease-in-out infinite;
}

.f-card::before{
  content:"";
  position:absolute;
  inset:-22%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.26), transparent 45%),
    radial-gradient(circle at 78% 70%, rgba(124,58,237,0.22), transparent 56%),
    radial-gradient(circle at 22% 86%, rgba(249,115,22,0.20), transparent 62%);
  opacity: 0.95;
}

.f-card::after{
  content:"";
  position:absolute;
  top: 14%;
  left: 18%;
  width: 54%;
  height: 40%;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.42), rgba(255,255,255,0) 62%);
  transform: rotate(-18deg);
  filter: blur(1px);
  opacity: 0.9;
}

.f-card__title{
  position: relative;
  z-index: 1;
  font-weight: 900;
  font-size: 14px;
  line-height: 1.05;
  white-space: pre-line;
}

/* Позиции пузырей (играй dx/dy как хочешь) */
.floating-cards .f-card:nth-child(1){ --dx: -220px; --dy: 0px;  animation-delay: 0s; }
.floating-cards .f-card:nth-child(2){ --dx: -110px; --dy: 54px; animation-delay: 1.1s; }
.floating-cards .f-card:nth-child(3){ --dx: 0px;    --dy: 12px; animation-delay: .6s; }

@keyframes bubbleFloaty{
  0%,100%{ transform: translate(var(--dx), var(--dy)); }
  50%{ transform: translate(var(--dx), calc(var(--dy) - 30px)); }
}

/* ===== MOCK (Лента действий) ===== */

.mock{
  position: relative;
  width: min(520px, 100%);

  border-radius: 26px;
  padding: 18px 18px 16px;

  background: rgba(2,6,23,.55);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  box-shadow: 0 36px 120px rgba(0,0,0,.60);

  z-index: 1;
}

.mock-top{
  display:flex;
  align-items:center;
  gap:8px;
  padding: 6px 6px 10px;
}

.mock-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:rgba(255,255,255,.20);
}

.mock-title{
  margin-left: 6px;
  font-weight: 800;
  color: rgba(255,255,255,.86);
}

.mock-row{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 14px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  margin-top: 8px;
  color: rgba(255,255,255,.86);
}

.mock-text{
  color: rgba(255,255,255,.86);
  font-size: 16px;
}

.pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .4px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
}
.pill--bad{ background: rgba(249,115,22,.16); border-color: rgba(249,115,22,.28); }
.pill--warn{ background: rgba(250,204,21,.14); border-color: rgba(250,204,21,.26); }
.pill--ok{ background: rgba(34,197,94,.14); border-color: rgba(34,197,94,.26); }

.mock-foot{
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  padding: 6px 4px 0;
}

/* ===== SECTIONS ===== */

.section{
  padding: clamp(44px, 7vw, 90px) 0;
}

.section-head{
  margin-bottom: 18px;
}

.section-title{
  font-size: clamp(22px, 2.4vw, 34px);
  margin: 0 0 10px;
  letter-spacing: .2px;
}

.section-sub{
  margin: 0;
  color: var(--muted);
  max-width: 780px;
  line-height: 1.5;
}

/* Platforms */
.platforms-layout{
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  gap: 18px;
  align-items: stretch;
}

.platforms{
  margin-top: 0;
  display: flex;
  flex-direction: column;
  height: 100%;                 /* тянемся на всю высоту ряда */
  justify-content: space-between;/* раздвигаем карточки, чтобы догнать правую */
  gap: 12px;                    /* можешь крутить: 12..24 */
}

.platforms-feed{
  display: flex;
  justify-content: flex-end;
  align-items: stretch;         /* чтобы .mock мог тянуться */
}

.p-card{
  padding: 16px;
  border-radius: var(--m-radius);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 22px 80px rgba(0,0,0,.42);
  backdrop-filter: blur(10px);
}

.p-card__top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
}

.p-card__name{
  font-weight: 900;
}

.p-card__sub{
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
}

.tag{
  font-size: 12px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.86);
}
.tag--on{
  border-color: rgba(34,197,94,.28);
  background: rgba(34,197,94,.12);
}

/* Features */
.feat-grid{
  margin-top: 16px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.feat{
  padding: 18px;
  border-radius: var(--m-radius);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 20px 70px rgba(0,0,0,.38);
  backdrop-filter: blur(10px);
}

.feat__t{
  margin: 0;
  font-weight: 900;
  font-size: 16px;
}
.feat__p{
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

/* Steps */
.steps{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
}

.step{
  padding: 18px;
  border-radius: var(--m-radius);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 20px 70px rgba(0,0,0,.38);
  backdrop-filter: blur(10px);
}

.step__num{
  width: 42px;
  height: 42px;
  border-radius: 18px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.10);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
}

.step__t{
  margin-top: 10px;
  font-weight: 900;
}

.step__p{
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
}

/* CTA strip */
.cta-strip{
  padding: 0 0 10px;
}

.cta-strip__inner{
  padding: 16px;
  border-radius: var(--m-radius);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 22px 80px rgba(0,0,0,.42);
  backdrop-filter: blur(10px);

  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
}

.cta-strip__t{
  font-weight: 900;
}
.cta-strip__s{
  margin-top: 4px;
  color: var(--muted);
  font-weight: 600;
}

/* Pricing */
.pricing{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.plan{
  padding: 18px;
  border-radius: var(--m-radius);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 22px 80px rgba(0,0,0,.42);
  backdrop-filter: blur(10px);
  position: relative;
}

.plan__head{
  display:flex;
  flex-direction: column;
  gap: 4px;
}

.plan__name{
  font-weight: 900;
  font-size: 18px;
}

.plan__tag{
  color: var(--muted);
}

.plan__list{
  margin: 14px 0 16px;
  padding-left: 18px;
  color: rgba(255,255,255,.86);
}
.plan__list li{ margin: 8px 0; }

.plan--featured{
  border-color: rgba(249,115,22,.22);
  box-shadow: 0 28px 110px rgba(0,0,0,.58);
}

.plan__badge{
  position:absolute;
  top: 14px;
  right: 14px;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(249,115,22,.16);
  border: 1px solid rgba(249,115,22,.28);
  color: rgba(255,255,255,.92);
}

/* Note */
.note{
  margin-top: 14px;
  padding: 16px;
  border-radius: var(--m-radius);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
}

.note__t{
  font-weight: 900;
}
.note__p{
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
}

/* FAQ */
.faq{
  display:grid;
  gap: 12px;
  margin-top: 16px;
}

.qa{
  padding: 16px 18px;
  border-radius: var(--m-radius);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
}

.qa__q{
  cursor: pointer;
  font-weight: 900;
  list-style: none;
  color: rgba(255,255,255,.92);
}
.qa__q::-webkit-details-marker{ display:none; }

.qa__a{
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}

/* Final CTA */
.final-cta{
  margin-top: 16px;
  padding: 18px;
  border-radius: var(--m-radius);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px);

  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
}

.final-cta__t{
  font-weight: 900;
  font-size: 18px;
}
.final-cta__p{
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.55;
}

/* Footer */
.m-footer{
  padding: 26px 0 40px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(3, 6, 18, .45);
  backdrop-filter: blur(10px);
}

.m-footer__inner{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 14px;
}

.m-footer__name{
  font-weight: 900;
}

.m-footer__sub{
  margin-top: 6px;
  color: var(--muted);
}

.m-footer__links{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
}

.m-footer__links a{
  color: rgba(255,255,255,.85);
  text-decoration:none;
}
.m-footer__links a:hover{ text-decoration: underline; }

/* ===== АДАПТИВ ===== */

@media (max-width: 980px){
  .hero__grid{
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "copy"
      "kpi"
      "bubbles";
    row-gap: 18px;
    padding-top: 16px;
  }

  .hero__bubbles{
    padding-top: 10px;
    justify-content: center;
  }

  .floating-cards{
    justify-content: center;
    flex-wrap: wrap;
  }

  /* на мобиле ступеньки лучше упростить */
  .hero__mini--stairs .mini-card:nth-child(2),
  .hero__mini--stairs .mini-card:nth-child(3){
    transform: none;
  }

  .platforms-layout{ grid-template-columns: 1fr; }
  .platforms-feed{ justify-content: flex-start; }

  .feat-grid{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .pricing{ grid-template-columns: 1fr; }

  .cta-strip__inner{
    flex-direction: column;
    align-items: stretch;
  }

  .final-cta{
    flex-direction: column;
    align-items: stretch;
  }

  .m-footer__inner{ flex-direction: column; }
}

@media (max-width: 760px){
  .m-nav{ display:none; }
  .m-burger{ display: inline-flex; flex-direction: column; justify-content:center; }

  .m-actions #btnLogin,
  .m-actions #btnPrimary{ display:none; }

  .m-mobile__cta{ grid-template-columns: 1fr; }
}

@media (max-width: 520px){
  .f-card{ width: 160px; height: 160px; }
  .f-card__title{ font-size: 15px; }
  .mock{ padding: 14px; }
}

@media (prefers-reduced-motion: reduce){
  .f-card{ animation: none !important; }
}

/* ===== CABINET: свой фон (не ломаем лендинг) ===== */
.bg-image--cabinet{
  background-image: url('./cabinet-bg-desktop.png');
}

/* Если у тебя есть mobile-версия — раскомментируй и положи файл рядом */
/*
@media (max-width: 720px){
  .bg-image--cabinet{
    background-image: url('./cabinet-bg-mobile.png');
    background-position: center top;
  }
}
*/
/* ===== CABINET: читаемые option в select ===== */
.m-select{
  background: rgba(2,6,23,.55);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.92);
  border-radius: 14px;
  padding: 10px 12px;
  backdrop-filter: blur(10px);
}

.m-select option{
  background: rgba(7,10,25,.98);
  color: rgba(255,255,255,.95);
}
