/* ============================================================
   Маркетплейсеры.РФ — лендинг
   Экран 1 (Hero). Без засечек · full-width · параллакс.
   ============================================================ */

:root {
  --bg:        #0E1116;
  --bg-soft:   #141922;
  --surface:   #171D27;
  --surface-2: #1E2530;
  --line:      rgba(255, 255, 255, 0.08);
  --line-2:    rgba(255, 255, 255, 0.14);

  --text:      #F4F6F8;
  --muted:     #A9B2BF;
  --muted-2:   #717B89;

  --accent:    #19C37D;
  --accent-2:  #14A86B;
  --accent-ink:#04130D;
  --accent-soft-bg: rgba(25, 195, 125, 0.12);

  /* Только sans-serif */
  --display: 'Manrope', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --sans:    'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --wrap: 1680px;
  --gutter: clamp(20px, 4vw, 64px);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Full-width контейнер с текучими полями */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.accent { color: var(--accent); }
.accent-soft { color: var(--accent); font-weight: 600; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: 17px; line-height: 1;
  text-decoration: none; border-radius: 12px; padding: 17px 26px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  color: var(--accent-ink);
  box-shadow: 0 10px 30px -10px rgba(25, 195, 125, 0.55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(25, 195, 125, 0.65); }
.btn--ghost { background: rgba(255,255,255,0.04); border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { background: rgba(255,255,255,0.08); }
.btn--sm { padding: 11px 18px; font-size: 15px; border-radius: 10px; }
.btn--block { width: 100%; }

/* ---------- Шапка ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(14, 17, 22, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
/* Дропдаун «Написать» (Telegram / MAX) */
.write { position: relative; }
.write__btn { cursor: pointer; }
.write__icons { display: inline-flex; gap: 4px; margin-left: 5px; opacity: .85; }
.write__icons .ico { width: 16px; height: 16px; }
.write__pop {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 184px; padding: 6px;
  background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 12px;
  box-shadow: 0 24px 50px -15px rgba(0,0,0,.7);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
  z-index: 60;
}
.write[data-open="true"] .write__pop { opacity: 1; visibility: visible; transform: translateY(0); }
.write[data-open="true"] .write__btn { background: rgba(255,255,255,0.08); }
.write__item {
  display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 8px;
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px;
}
.write__item:hover { background: rgba(255,255,255,0.07); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand__mark { display: inline-flex; width: 34px; height: 34px; flex: none; }
.brand__mark svg { width: 100%; height: 100%; display: block; }
.brand__name { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: .2px; }
.brand__dot { color: var(--accent); }

/* ---------- HERO ---------- */
.hero { position: relative; padding: 96px 0 110px; isolation: isolate; overflow: hidden; }

/* Параллакс-фон */
.hero__bg { position: absolute; inset: -10% 0 0 0; z-index: -1; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform; }
.orb--green { width: 720px; height: 720px; right: -120px; top: -160px;
  background: radial-gradient(circle at center, rgba(25,195,125,0.55), transparent 70%); }
.orb--blue  { width: 640px; height: 640px; left: -160px; top: 120px;
  background: radial-gradient(circle at center, rgba(45,110,230,0.40), transparent 70%); }
.grid-glow {
  position: absolute; inset: 0; will-change: transform;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 80% at 70% 10%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(120% 80% at 70% 10%, #000 30%, transparent 75%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

.hero__copy { max-width: 720px; }

/* Kicker — не кнопка: точка + капс, без рамки/фона */
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px;
  font-family: var(--display);
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
}
.kicker__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft-bg); flex: none; }

.h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(38px, 5.2vw, 70px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
}

.lead {
  font-size: clamp(19px, 2vw, 23px); font-weight: 600; line-height: 1.4;
  margin: 0 0 14px; color: var(--text);
}

/* Иконка в кнопках */
.ico { width: 19px; height: 19px; flex: none; }

.subhead {
  font-size: 18.5px; line-height: 1.6; color: var(--muted);
  margin: 0 0 28px; max-width: 50ch;
}

/* Мы / Вы */
.roles { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 32px; }
.role { display: flex; align-items: center; gap: 11px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 15px; }
.role__tag { font-family: var(--display); font-weight: 800; font-size: 13px; border-radius: 7px; padding: 4px 9px; }
.role__tag--we  { color: var(--accent-ink); background: var(--accent); }
.role__tag--you { color: var(--text); background: var(--surface-2); border: 1px solid var(--line-2); }
.role__list { font-size: 15px; color: var(--muted); }

/* CTA */
.cta { margin: 0 0 32px; }
.intake {
  display: inline-flex; align-items: center; gap: 9px; margin: 0 0 16px;
  font-size: 14px; color: var(--muted);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 100px; padding: 8px 15px;
}
.intake__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft-bg); flex: none; animation: pulse 2.2s infinite; }
.intake b { color: var(--text); font-weight: 700; }
.cta__sub { margin: 12px 2px 0; font-size: 14.5px; color: var(--muted-2); }

/* Trust */
.trust { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line); }
.trust__logos { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.mp { font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: -0.01em; line-height: 1; }
.mp--wb {
  background: linear-gradient(90deg, #8B3FFC, #E5258F);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mp--ozon { color: #3B82F6; text-transform: lowercase; }
.mp--ym { color: var(--text); }
.mp__ya { color: #FC3F1D; }
.trust__metric { margin: 0; font-size: 14.5px; color: var(--muted-2); }
.trust__metric strong { color: var(--text); font-weight: 700; }

/* ---------- Мокап кабинета ---------- */
.hero__visual { position: relative; perspective: 1100px; }
.cab {
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--line-2); border-radius: 20px; padding: 22px;
  box-shadow: 0 50px 90px -30px rgba(0,0,0,0.75), 0 0 0 1px rgba(255,255,255,0.02) inset;
  transition: transform .25s cubic-bezier(.2,.7,.2,1);
  transform-style: preserve-3d; will-change: transform;
}
.cab__top { display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.cab__id { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14.5px; color: var(--text); }
.cab__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft-bg); }
.cab__live { font-size: 12px; color: var(--accent); font-weight: 600; letter-spacing: .03em; }

.cab__metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.metric { background: rgba(255,255,255,0.02); border: 1px solid var(--line); border-radius: 12px;
  padding: 15px; display: flex; flex-direction: column; gap: 5px; }
.metric__label { font-size: 12.5px; color: var(--muted-2); }
.metric__value { font-family: var(--display); font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.metric__delta { font-size: 12px; font-weight: 600; }
.metric__delta.up { color: var(--accent); }
.metric__delta.neutral { color: var(--muted-2); }

.cab__feed { background: rgba(255,255,255,0.02); border: 1px solid var(--line); border-radius: 12px; padding: 15px; }
.cab__feed-title { margin: 0 0 10px; font-size: 12.5px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .08em; }
.feed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.feed__row { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); }
.feed__pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none;
  box-shadow: 0 0 0 0 rgba(25,195,125,0.6); animation: pulse 2.2s infinite; }
.feed__txt { flex: 1; color: var(--text); font-weight: 500; }
.feed__time { color: var(--muted-2); font-size: 12px; flex: none; }
.cab__note { margin: 14px 2px 0; font-size: 11.5px; color: var(--muted-2); text-align: center; }

/* Реальный скрин кабинета в рамке «окна» */
.shot {
  margin: 0; border-radius: 16px; overflow: hidden;
  background: #0c0f14; border: 1px solid var(--line-2);
  box-shadow: 0 50px 90px -30px rgba(0,0,0,0.75), 0 0 0 1px rgba(255,255,255,0.02) inset;
  transition: transform .25s cubic-bezier(.2,.7,.2,1);
  transform-style: preserve-3d; will-change: transform;
}
.shot__bar { display: flex; align-items: center; gap: 12px; padding: 11px 14px;
  background: #11151c; border-bottom: 1px solid var(--line); }
.shot__dots { display: inline-flex; gap: 6px; }
.shot__dots i { width: 10px; height: 10px; border-radius: 50%; display: block; background: #2a313c; }
.shot__dots i:nth-child(1) { background: #ff5f57; }
.shot__dots i:nth-child(2) { background: #febc2e; }
.shot__dots i:nth-child(3) { background: #28c840; }
.shot__title { font-size: 12.5px; color: var(--muted-2); font-weight: 600; }
.shot__img { display: block; width: 100%; height: auto; }
.shot__cap { margin: 14px 2px 0; font-size: 12px; color: var(--muted-2); text-align: center; }

/* Showcase: скрин + плавающие подписи */
.showcase {
  position: relative;
  transform-style: preserve-3d;
  transition: transform .25s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}
.ico--sm { width: 15px; height: 15px; }

.tagbadge {
  position: absolute; top: -13px; left: 20px; z-index: 4;
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--display); font-weight: 800; font-size: 12.5px;
  padding: 7px 13px; border-radius: 100px;
  box-shadow: 0 12px 30px -10px rgba(25,195,125,.6);
  transform: translateZ(55px);
}

.float {
  position: absolute; z-index: 4;
  background: rgba(18,23,31,.9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-2); border-radius: 14px;
  padding: 11px 15px;
  box-shadow: 0 24px 50px -18px rgba(0,0,0,.7);
  transform: translateZ(75px);
}
.float__label { display: block; font-size: 11.5px; color: var(--muted-2); margin-bottom: 2px; }
.float__num { font-family: var(--display); font-weight: 800; font-size: 21px; color: var(--accent); letter-spacing: -0.01em; }
.float--tr { top: 30px; right: -18px; }
.float--bl { bottom: -22px; left: -18px; }

.reinforce { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.reinforce li {
  position: relative; font-size: 13.5px; color: var(--muted);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 10px; padding: 9px 13px 9px 31px;
}
.reinforce li::before {
  content: "✓"; position: absolute; left: 12px; top: 9px;
  color: var(--accent); font-weight: 800;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(25,195,125,0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(25,195,125,0); }
  100% { box-shadow: 0 0 0 0 rgba(25,195,125,0); }
}

/* ---------- Sticky CTA (мобайл) ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(14,17,22,0), rgba(14,17,22,0.92) 32%);
}

/* ---------- Адаптив ---------- */
@media (max-width: 960px) {
  .hero { padding: 48px 0 120px; }
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .subhead { max-width: none; }
  .hero__visual { order: 2; perspective: none; }
  .cab, .shot, .showcase { transform: none !important; }
  .tagbadge { position: static; transform: none; margin: 0 0 12px; }
  .float { position: static; transform: none; display: inline-flex; align-items: baseline; gap: 8px; margin: 12px 10px 0 0; box-shadow: none; }
  .float__label { margin: 0; }
  .hero__copy { order: 1; max-width: none; }
  .sticky-cta { display: block; }
  .cta .btn--primary { width: 100%; }
}

@media (max-width: 480px) {
  .nav__inner { height: 60px; }
  .brand__name { font-size: 15px; }
  .roles { flex-direction: column; align-items: stretch; }
}

@media (max-width: 720px) {
  .btn__pre { display: none; }
  .nav__cta { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .orb, .grid-glow, .cab, .shot, .showcase { transform: none !important; }
}
