/* ===========================================================
   PHAZOR — landing.css
   Ported from the standalone site's styles.css, SCOPED so every
   rule only applies inside #marketingView and cannot leak into
   or clobber the rest of the panel.
   =========================================================== */

/* local :root custom props moved onto the container so they do
   NOT override the panel's global :root tokens */
#marketingView {
  --bg: #07070a;
  --bg-2: #0b0b11;
  --surface: rgba(255, 255, 255, 0.032);
  --surface-2: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);

  --ink: #f3f3f7;
  --ink-2: #a7a7b8;
  --ink-3: #6d6d80;

  --violet: #7c5cff;
  --magenta: #ff4fd8;
  --cyan: #45e6ff;

  --grad: linear-gradient(100deg, var(--cyan), var(--violet) 45%, var(--magenta));
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --nav-h: 68px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

#marketingView * { box-sizing: border-box; }

/* local html rule (scroll behaviour / sizing) applied to the container */
#marketingView {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

/* local body rule applied to the container */
#marketingView {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Space Grotesk", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

#marketingView h1, #marketingView h2, #marketingView h3 { margin: 0; line-height: 1.08; letter-spacing: -0.025em; font-weight: 700; }
#marketingView p { margin: 0; }
#marketingView a { color: inherit; text-decoration: none; }
#marketingView img, #marketingView video, #marketingView svg { display: block; max-width: 100%; }
#marketingView button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

#marketingView .sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

#marketingView .skip {
  position: fixed; top: -100px; left: 16px; z-index: 200;
  padding: 10px 16px; border-radius: var(--r-sm);
  background: var(--ink); color: #000; font-weight: 600;
}
#marketingView .skip:focus { top: 14px; }

#marketingView :focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

#marketingView .wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
#marketingView .wrap-narrow { max-width: 800px; }

/* ---------- фон: сетка, аврора, зерно ---------- */

#marketingView #field {
  position: fixed; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0.5;
}

#marketingView .aurora {
  position: fixed; inset: -20% -10% auto -10%; height: 90vh; z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(38% 46% at 22% 18%, rgba(124, 92, 255, 0.4), transparent 70%),
    radial-gradient(34% 40% at 78% 8%, rgba(255, 79, 216, 0.26), transparent 70%),
    radial-gradient(30% 36% at 52% 40%, rgba(69, 230, 255, 0.18), transparent 70%);
  filter: blur(30px);
  animation: drift 26s var(--ease) infinite alternate;
}

@keyframes drift {
  0%   { transform: translate3d(-2%, 0, 0) scale(1); }
  50%  { transform: translate3d(3%, 2%, 0) scale(1.08); }
  100% { transform: translate3d(-1%, -2%, 0) scale(1.02); }
}

#marketingView .grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.4; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* ---------- навигация (local header не портируется — правила безвредны) ---------- */

#marketingView .nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
#marketingView .nav.is-stuck {
  background: rgba(7, 7, 10, 0.72);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--line);
}

#marketingView .nav-in {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 28px;
}

#marketingView .logo { display: flex; align-items: center; gap: 10px; margin-right: auto; }
#marketingView .logo-mark {
  width: 15px; height: 15px; border-radius: 4px;
  background: var(--grad);
  box-shadow: 0 0 18px rgba(124, 92, 255, 0.75);
  animation: pulse 3.4s ease-in-out infinite;
}
@keyframes pulse {
  50% { transform: rotate(45deg) scale(0.82); border-radius: 50%; }
}
#marketingView .logo-text {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 700; font-size: 15px; letter-spacing: 0.22em;
}

#marketingView .nav-links { display: flex; gap: 26px; font-size: 14.5px; color: var(--ink-2); }
#marketingView .nav-links a { position: relative; padding: 4px 0; transition: color 0.2s; }
#marketingView .nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--grad); transition: right 0.35s var(--ease);
}
#marketingView .nav-links a:hover { color: var(--ink); }
#marketingView .nav-links a:hover::after { right: 0; }
#marketingView .nav-links a.is-active { color: var(--ink); }
#marketingView .nav-links a.is-active::after { right: 0; }

#marketingView .nav-progress {
  height: 1px; width: 0%;
  background: var(--grad);
  box-shadow: 0 0 10px rgba(255, 79, 216, 0.8);
}

#marketingView .burger { display: none; width: 40px; height: 40px; }
#marketingView .burger span {
  display: block; height: 1.5px; width: 20px; margin: 5px auto;
  background: var(--ink); transition: transform 0.3s var(--ease), opacity 0.2s;
}
#marketingView .burger[aria-expanded="true"] span:first-child { transform: translateY(3.2px) rotate(45deg); }
#marketingView .burger[aria-expanded="true"] span:last-child { transform: translateY(-3.2px) rotate(-45deg); }

/* ---------- кнопки ---------- */

#marketingView .btn {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 24px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  border: 1px solid var(--line-2);
  transition: transform 0.35s var(--ease), border-color 0.3s, background 0.3s, color 0.3s;
  will-change: transform;
  overflow: hidden;
  isolation: isolate;
}
#marketingView .btn .ico { width: 16px; height: 16px; flex: none; }
#marketingView .btn-sm { padding: 9px 18px; font-size: 14px; }
#marketingView .btn-lg { padding: 17px 34px; font-size: 16.5px; }

#marketingView .btn-ghost { background: var(--surface); color: var(--ink); }
#marketingView .btn-ghost:hover { background: var(--surface-2); border-color: var(--line-2); }

#marketingView .btn-primary { color: #08080c; border-color: transparent; background: var(--grad); }
#marketingView .btn-primary:hover {
  filter: saturate(1.15) brightness(1.06);
  box-shadow: 0 12px 44px -12px rgba(124, 92, 255, 0.9);
}

/* вращающаяся «звёздная» рамка */
@property --sb { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

#marketingView .starborder {
  border: 0;
  padding: 15px 25px;
  background: conic-gradient(
    from var(--sb),
    rgba(255, 255, 255, 0.1) 0 58%,
    var(--cyan) 71%, #ffffff 79%, var(--magenta) 89%,
    rgba(255, 255, 255, 0.1) 100%
  );
  animation: sbspin 4.2s linear infinite;
}
#marketingView .btn-lg.starborder { padding: 18px 35px; }
#marketingView .btn-sm.starborder { padding: 10px 19px; }
#marketingView .starborder > * { position: relative; z-index: 2; }
#marketingView .starborder::before {
  content: ""; position: absolute; inset: 1.5px; z-index: 1;
  border-radius: inherit;
  background: var(--grad);
  transition: filter 0.35s var(--ease);
}
#marketingView .btn-ghost.starborder::before { background: #0e0e15; }
#marketingView .starborder:hover::before { filter: saturate(1.2) brightness(1.08); }
@keyframes sbspin { to { --sb: 360deg; } }


/* «шёлковый» блик по тексту */
#marketingView .shiny {
  background: linear-gradient(100deg, var(--ink-2) 38%, #fff 50%, var(--ink-2) 62%);
  background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shine 4.5s linear infinite;
}
@keyframes shine { to { background-position: -260% 0; } }

/* искры по клику */
#marketingView .spark {
  position: fixed; z-index: 300; width: 5px; height: 5px; border-radius: 50%;
  pointer-events: none; background: #fff;
}

/* ---------- герой ---------- */

/* оригинальное правило main{position:relative;z-index:2} — применяем к прямым
   секциям вью, т.к. фон-слои фиксированы и содержимое должно быть над ними */
#marketingView > section, #marketingView > footer { position: relative; z-index: 2; }

#marketingView .hero {
  padding: calc(var(--nav-h) + 54px) 0 0;
  position: relative;
}

#marketingView .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-2);
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
}
#marketingView .eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(69, 230, 255, 0.6);
  animation: ping 2.2s ease-out infinite;
}
@keyframes ping {
  70%, 100% { box-shadow: 0 0 0 8px rgba(69, 230, 255, 0); }
}
#marketingView .eyebrow .sep { color: var(--ink-3); }

/* вордмарк-«окно»: видео видно только внутри букв */
#marketingView .brand {
  position: relative;
  margin: 26px 0 30px;
  border-radius: 20px;
  overflow: hidden;
  perspective: 900px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    0 44px 130px -56px rgba(150, 120, 255, 0.75);
}
#marketingView .brand-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
  filter: saturate(1.25) contrast(1.06);
}
/* маскот поверх вордмарка */
#marketingView .mascot-wrap {
  position: absolute; left: 50%; top: 46%;
  width: clamp(66px, 10vw, 124px);
  transform: translate(-50%, -50%);
  z-index: 3; pointer-events: none;
  animation: mascotFloat 6s ease-in-out infinite;
  will-change: transform;
}
#marketingView .mascot {
  display: block; width: 100%; height: auto;
  transform-style: preserve-3d;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.5))
          drop-shadow(0 0 26px rgba(251, 63, 183, 0.45));
  will-change: transform;
}
@keyframes mascotFloat {
  0%, 100% { transform: translate(-50%, calc(-50% - 6px)); }
  50%      { transform: translate(-50%, calc(-50% + 6px)); }
}
#marketingView .brand-svg { position: relative; width: 100%; height: auto; display: block; }
#marketingView .brand-cover { fill: var(--bg); }
#marketingView .brand-word {
  font-family: "Anton", "Arial Black", system-ui, sans-serif;
  font-size: var(--bw-size, 381px);
  letter-spacing: -0.012em;
}
#marketingView .brand-outline { fill: none; stroke: rgba(255, 255, 255, 0.16); stroke-width: 1.2; }
#marketingView .lede {
  max-width: 620px; font-size: 18px; color: var(--ink-2);
  letter-spacing: -0.011em;
}

#marketingView .cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 0; }

#marketingView .stats {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin: 44px 0 0; padding: 0;
}
#marketingView .stats > div {
  flex: 1 1 190px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  backdrop-filter: blur(8px);
}
#marketingView .stats dt {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3);
}
#marketingView .stats dd {
  margin: 8px 0 4px;
  font-size: 30px; font-weight: 700; letter-spacing: -0.03em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
#marketingView .stats small { font-size: 13px; color: var(--ink-2); }

#marketingView .marquee {
  margin-top: 84px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.022), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
#marketingView .marquee-in {
  display: flex; align-items: center; gap: 26px;
  padding: 15px 0; width: max-content;
  animation: slide 34s linear infinite;
}
#marketingView .marquee-in span {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px; letter-spacing: 0.28em; color: var(--ink-3);
  white-space: nowrap;
}
#marketingView .marquee-in i { width: 5px; height: 5px; border-radius: 50%; background: var(--violet); flex: none; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- секции ---------- */

#marketingView .sec { padding: 106px 0; position: relative; }
#marketingView .sec-head { max-width: 680px; margin-bottom: 52px; }
#marketingView .tag {
  display: inline-block; margin-bottom: 18px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--magenta);
}
#marketingView .sec-head h2 { font-size: clamp(30px, 4.6vw, 50px); }
#marketingView .sec-head p { margin-top: 16px; font-size: 17px; color: var(--ink-2); }

/* ---------- плеер ---------- */

#marketingView .player { margin: 0; }
#marketingView .player-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #050508;
  box-shadow: 0 40px 120px -40px rgba(124, 92, 255, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}
#marketingView .player-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, rgba(5, 5, 8, 0.9));
  opacity: 0; transition: opacity 0.35s var(--ease);
}
#marketingView .player:hover .player-frame::after,
#marketingView .player:focus-within .player-frame::after,
#marketingView .player:not(.is-playing) .player-frame::after { opacity: 1; }
#marketingView .player-frame video {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  display: block;
}

#marketingView .player-chips {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  display: flex; gap: 8px; flex-wrap: wrap;
}
#marketingView .chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px;
  font-family: "JetBrains Mono", monospace; font-size: 10.5px; letter-spacing: 0.1em;
  color: var(--ink-2);
  background: rgba(7, 7, 10, 0.6);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
#marketingView .chip svg { width: 13px; height: 13px; }
#marketingView .chip-mute { color: var(--cyan); border-color: rgba(69, 230, 255, 0.35); }

#marketingView .player-big {
  position: absolute; inset: 0; z-index: 4;
  display: grid; place-items: center;
  background: rgba(5, 5, 8, 0.3);
  transition: opacity 0.4s var(--ease);
}
#marketingView .player-big svg {
  width: 30px; height: 30px; margin-left: 4px; color: #08080c;
}
#marketingView .player-big::before {
  content: ""; position: absolute; width: 82px; height: 82px; border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 60px rgba(124, 92, 255, 0.7);
  transition: transform 0.4s var(--ease);
}
#marketingView .player-big svg { position: relative; }
#marketingView .player-big:hover::before { transform: scale(1.1); }
#marketingView .player.is-playing .player-big { opacity: 0; pointer-events: none; }

#marketingView .player-bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s var(--ease);
}
#marketingView .player:hover .player-bar,
#marketingView .player:focus-within .player-bar { opacity: 1; transform: none; }

#marketingView .pbtn {
  width: 36px; height: 36px; flex: none;
  display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.25s, border-color 0.25s;
}
#marketingView .pbtn:hover { background: rgba(255, 255, 255, 0.14); border-color: var(--line-2); }
#marketingView .pbtn svg { width: 16px; height: 16px; }
#marketingView .pbtn .i-pause { display: none; }
#marketingView .player.is-playing #playBtn .i-play { display: none; }
#marketingView .player.is-playing #playBtn .i-pause { display: block; }

#marketingView .track {
  position: relative; flex: 1; height: 22px; cursor: pointer;
  display: flex; align-items: center;
}
#marketingView .track::before {
  content: ""; position: absolute; left: 0; right: 0; height: 3px; border-radius: 2px;
  background: rgba(255, 255, 255, 0.16);
}
#marketingView .track-fill {
  position: absolute; left: 0; height: 3px; width: 0%; border-radius: 2px;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(255, 79, 216, 0.6);
}
#marketingView .track-knob {
  position: absolute; left: 0; width: 11px; height: 11px; border-radius: 50%;
  background: #fff; translate: -50% 0;
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.3);
  transition: transform 0.2s;
}
#marketingView .track:hover .track-knob { transform: scale(1.25); }

#marketingView .time {
  font-family: "JetBrains Mono", monospace; font-size: 11.5px;
  color: var(--ink-2); flex: none; font-variant-numeric: tabular-nums;
}

#marketingView .player figcaption {
  margin-top: 18px; font-size: 13.5px; color: var(--ink-3); max-width: 620px;
}

/* ---------- карточки возможностей ---------- */

#marketingView .grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
#marketingView .card {
  position: relative; overflow: hidden;
  padding: 30px 28px 32px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  transition: border-color 0.35s, transform 0.5s var(--ease), background 0.35s;
}
#marketingView .card:hover {
  border-color: var(--line-2);
  background: var(--surface-2);
  transform: translateY(-4px);
}
/* точка света под курсором */
#marketingView .card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgba(124, 92, 255, 0.22), transparent 70%);
}
#marketingView .card:hover::before { opacity: 1; }

/* диагональный блик */
#marketingView .glare::after {
  content: ""; position: absolute; top: -60%; left: -120%;
  width: 60%; height: 220%; rotate: 22deg; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.09), transparent);
  transition: left 0.85s var(--ease);
}
#marketingView .glare:hover::after { left: 160%; }

#marketingView .card-ix {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; letter-spacing: 0.16em; color: var(--ink-3);
}
#marketingView .card h3 { margin: 16px 0 10px; font-size: 21px; }
#marketingView .card p { font-size: 14.8px; color: var(--ink-2); }

/* ---------- чекаут ---------- */

#marketingView .checkout {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.042), rgba(255, 255, 255, 0.015));
  backdrop-filter: blur(12px);
  overflow: hidden;
}
#marketingView .step { border-top: 1px solid var(--line); padding: 30px 30px 32px; min-width: 0; }
#marketingView .step:first-child { border-top: 0; }
#marketingView .step-title {
  display: flex; align-items: center; gap: 11px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-2); margin: 0 0 22px;
}
#marketingView .step-title b {
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad); color: #08080c; font-size: 11px;
}

#marketingView .plans { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
#marketingView .plan { position: relative; display: block; cursor: pointer; }
#marketingView .plan input { position: absolute; opacity: 0; width: 0; height: 0; }

#marketingView .plan-in {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 24px 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.022);
  transition: border-color 0.3s, background 0.3s, transform 0.45s var(--ease);
  overflow: hidden;
}
#marketingView .plan:hover .plan-in { border-color: var(--line-2); background: rgba(255, 255, 255, 0.05); }
#marketingView .plan input:checked + .plan-in {
  border-color: transparent;
  background: rgba(124, 92, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 0 0 1.5px var(--violet), 0 22px 60px -26px rgba(124, 92, 255, 0.85);
}
#marketingView .plan input:focus-visible + .plan-in { outline: 2px solid var(--cyan); outline-offset: 3px; }

#marketingView .plan-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
#marketingView .plan-name { font-size: 15px; font-weight: 600; }
#marketingView .plan-note {
  font-family: "JetBrains Mono", monospace; font-size: 9.5px;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 999px;
  color: var(--ink-3); border: 1px solid var(--line);
}
#marketingView .plan-note-hot { color: var(--magenta); border-color: rgba(255, 79, 216, 0.4); }
#marketingView .plan-note-best { color: #08080c; background: var(--grad); border-color: transparent; }

#marketingView .plan-price { font-size: 40px; letter-spacing: -0.04em; line-height: 1.05; margin-top: 8px; color: var(--ink-2); }
#marketingView .plan-price b { font-weight: 700; font-size: 46px; color: var(--ink); }
#marketingView .plan input:checked + .plan-in .plan-price b {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
#marketingView .plan-per { font-size: 13px; color: var(--ink-3); padding-right: 34px; }

#marketingView .plan-tick {
  position: absolute; bottom: 22px; right: 22px;
  width: 20px; height: 20px; border-radius: 50%;
  border: 1px solid var(--line-2);
  transition: background 0.25s, border-color 0.25s, transform 0.35s var(--ease);
}
#marketingView .plan-tick::after {
  content: ""; position: absolute; inset: 0;
  background: no-repeat center / 11px 11px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.6l3.2 3.2L13 5' fill='none' stroke='%2308080c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  opacity: 0; transition: opacity 0.2s;
}
#marketingView .plan input:checked + .plan-in .plan-tick {
  background: var(--grad); border-color: transparent; transform: scale(1.05);
}
#marketingView .plan input:checked + .plan-in .plan-tick::after { opacity: 1; }
#marketingView .plan-best .plan-in { border-color: rgba(255, 79, 216, 0.28); }

#marketingView .pays { display: flex; flex-wrap: wrap; gap: 10px; }
#marketingView .pay { cursor: pointer; }
#marketingView .pay input { position: absolute; opacity: 0; width: 0; height: 0; }
#marketingView .pay-in {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 18px; border-radius: 999px;
  font-size: 14px; color: var(--ink-2);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.022);
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}
#marketingView .pay-in svg { width: 17px; height: 17px; opacity: 0.75; }
#marketingView .pay:hover .pay-in { color: var(--ink); border-color: var(--line-2); }
#marketingView .pay input:checked + .pay-in {
  color: var(--ink); border-color: rgba(69, 230, 255, 0.55);
  background: rgba(69, 230, 255, 0.09);
}
#marketingView .pay input:checked + .pay-in svg { opacity: 1; color: var(--cyan); }
#marketingView .pay input:focus-visible + .pay-in { outline: 2px solid var(--cyan); outline-offset: 3px; }

#marketingView .pay-note {
  margin-top: 18px; font-size: 13.5px; color: var(--ink-3); max-width: 640px;
}
#marketingView .pay-note b { color: var(--ink-2); font-weight: 600; }

#marketingView .summary {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 22px;
  padding: 26px 30px;
  border-top: 1px solid var(--line);
  background: rgba(124, 92, 255, 0.06);
}
#marketingView .summary-l { display: flex; flex-direction: column; gap: 2px; }
#marketingView .summary-cap {
  font-family: "JetBrains Mono", monospace; font-size: 10.5px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3);
}
#marketingView .summary-price { font-size: 24px; color: var(--ink-2); letter-spacing: -0.03em; }
#marketingView .summary-price b {
  font-size: 38px; font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: opacity 0.2s;
}
#marketingView .summary-price b.is-flip { animation: flip 0.4s var(--ease); }
@keyframes flip {
  0% { opacity: 0; transform: translateY(-8px); }
  100% { opacity: 1; transform: none; }
}
#marketingView .summary-meta { font-size: 13.5px; color: var(--ink-3); }

/* ---------- FAQ ---------- */

#marketingView .faq { display: flex; flex-direction: column; gap: 10px; }
#marketingView .faq details {
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface);
  transition: border-color 0.3s, background 0.3s;
}
#marketingView .faq details:hover { border-color: var(--line-2); }
#marketingView .faq details[open] { background: var(--surface-2); border-color: rgba(124, 92, 255, 0.35); }
#marketingView .faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; cursor: pointer; font-size: 16px; font-weight: 500;
  list-style: none;
}
#marketingView .faq summary::-webkit-details-marker { display: none; }
#marketingView .chev {
  position: relative; width: 13px; height: 13px; flex: none;
}
#marketingView .chev::before, #marketingView .chev::after {
  content: ""; position: absolute; top: 50%; left: 0;
  width: 13px; height: 1.6px; border-radius: 2px; background: var(--ink-2);
  transition: transform 0.35s var(--ease), background 0.3s;
}
#marketingView .chev::after { transform: rotate(90deg); }
#marketingView details[open] .chev::before { background: var(--magenta); }
#marketingView details[open] .chev::after { transform: rotate(180deg); background: var(--magenta); }
#marketingView .faq-b { padding: 0 24px 22px; }
#marketingView .faq-b p { font-size: 15px; color: var(--ink-2); max-width: 68ch; }

/* ---------- финальный блок и футер ---------- */

#marketingView .final { padding: 100px 0 130px; }
#marketingView .final-in {
  position: relative; overflow: hidden;
  text-align: center; padding: 74px 32px 80px;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background:
    radial-gradient(70% 120% at 50% 0%, rgba(124, 92, 255, 0.2), transparent 70%),
    rgba(255, 255, 255, 0.022);
}
#marketingView .final-in h2 { font-size: clamp(32px, 5.4vw, 58px); }
#marketingView .final-in p { margin: 18px auto 34px; color: var(--ink-2); font-size: 17px; max-width: 460px; }
#marketingView .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

#marketingView .foot { border-top: 1px solid var(--line); padding: 44px 0 56px; position: relative; z-index: 2; }
#marketingView .foot-in { display: flex; flex-wrap: wrap; gap: 20px 34px; align-items: center; }
#marketingView .foot-logo {
  font-family: "JetBrains Mono", monospace; font-weight: 700;
  letter-spacing: 0.22em; font-size: 13px;
}
#marketingView .foot-note { flex: 1 1 320px; font-size: 12.5px; color: var(--ink-3); max-width: 520px; }
#marketingView .foot-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; color: var(--ink-2); }
#marketingView .foot-links a { transition: color 0.25s; }
#marketingView .foot-links a:hover { color: var(--cyan); }

/* ---------- появление при скролле ---------- */

#marketingView .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
#marketingView .reveal.in { opacity: 1; transform: none; }
#marketingView .grid .reveal { transition-delay: calc(var(--i, 0) * 70ms); }
#marketingView .faq .reveal { transition-delay: calc(var(--i, 0) * 55ms); }

/* ---------- адаптив ---------- */

@media (max-width: 900px) {
  #marketingView .sec { padding: 92px 0; }
  #marketingView .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; gap: 0;
    padding: 8px 24px 22px;
    background: rgba(7, 7, 10, 0.94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.45s var(--ease);
  }
  #marketingView .nav-links a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  #marketingView .nav-links.open { clip-path: inset(0 0 0 0); }
  #marketingView .burger { display: block; order: 3; margin-left: 4px; }
  #marketingView .nav-cta { order: 2; }
  #marketingView .logo { margin-right: auto; }
}

@media (max-width: 640px) {
  #marketingView .wrap { padding: 0 18px; }
  #marketingView .hero { padding-top: calc(var(--nav-h) + 46px); }
  #marketingView .lede { font-size: 16.5px; }
  #marketingView .cta-row .btn { flex: 1 1 100%; }
  #marketingView .stats { margin-top: 40px; }
  #marketingView .stats > div { padding: 16px 18px; }
  #marketingView .stats dd { font-size: 25px; }
  #marketingView .sec { padding: 76px 0; }
  #marketingView .step { padding: 24px 20px 26px; }
  #marketingView .summary { padding: 22px 20px; }
  #marketingView .summary #buyBtn { width: 100%; }
  #marketingView .card { padding: 26px 22px 28px; }
  #marketingView .player-bar { opacity: 1; transform: none; }
  #marketingView .player-frame::after { opacity: 1; }
  #marketingView .final-in { padding: 54px 22px 60px; }
  #marketingView .plan-price b { font-size: 40px; }
}

/* ---------- уважаем «меньше движения» ---------- */

@media (prefers-reduced-motion: reduce) {
  #marketingView { scroll-behavior: auto; }
  #marketingView .aurora, #marketingView .logo-mark, #marketingView .eyebrow .dot, #marketingView .marquee-in,
  #marketingView .shiny, #marketingView .starborder, #marketingView .mascot-wrap { animation: none; }
  #marketingView .reveal { opacity: 1; transform: none; transition: none; }
  #marketingView .glare::after { display: none; }
  #marketingView #field { display: none; }
  #marketingView .btn, #marketingView .card, #marketingView .plan-in { transition-duration: 0.01ms; }
}

/* ---------- печать ---------- */

@media print {
  #marketingView #field, #marketingView .aurora, #marketingView .grain, #marketingView .nav,
  #marketingView .marquee, #marketingView .player-bar, #marketingView .player-big { display: none; }
  #marketingView { background: #fff; color: #000; }
}

/* fix: neutralize panel styles.css class collisions (.hero grid, .brand inline-flex logo) on the ported landing */
#marketingView .hero { display: block; }
#marketingView .brand { display: block; width: 100%; align-items: initial; gap: 0; }
#marketingView .brand-svg { width: 100%; }
