/* Шрифт лежит в самом макете: раньше Jost тянулся с fonts.googleapis.com — чужой домен,
   тот же класс отказа, что и видео с coverr. Файл вариативный (одно начертание на все веса
   300–800) и подрезан до латиницы с кириллицей: 38 КБ вместо ~180 КБ шести статических. */
@font-face {
  font-family: 'Jost';
  src: url('../fonts/jost-var.woff') format('woff-variations'),
       url('../fonts/jost-var.woff') format('woff');
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0a0a0f;
  /* поле поиска в FAQ ссылалось на var(--surface), которой нигде не было —
     фон у инпута просто не отрисовывался. Объявляем в общем тоне карточек. */
  --surface: #14141c;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(var(--purple-rgb), 0.3);
  --text: #f0f0f5;
  --text-muted: rgba(240, 240, 245, 0.55);

  /* --- фирменный цвет: единственное место, где он задан ---
     Конструктор перебивает эти переменные в brand.css цветом МФО из оффера.
     Всё остальное в макете ссылается только на них — литералов быть не должно. */
  --purple: #a855f7;
  --purple-light: #c084fc;
  --purple-lighter: #d7c4ff;
  --purple-tint: #f3e8ff;      /* почти белый оттенок бренда: фон бейджей */
  --purple-dark: #7c3aed;
  --purple-darker: #5b21b6;
  --purple-indigo: #6366f1;    /* дальний край фирменного градиента */

  /* rgb-компоненты — чтобы прозрачности писались как rgba(var(--purple-rgb), .3) */
  --purple-rgb: 168, 85, 247;
  --purple-dark-rgb: 124, 58, 237;
  --purple-light-rgb: 192, 132, 252;
  --purple-indigo-rgb: 99, 102, 241;
  --purple-tint-rgb: 243, 232, 255;

  --purple-glow: rgba(var(--purple-rgb), 0.35);
  --gradient: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 50%, var(--purple-indigo) 100%);

  /* тени внутри SVG-иллюстраций — тоже производные бренда, иначе при смене цвета
     картинки остаются с фиолетовыми полутонами */
  --ill-deep: #150f2b;
  --ill-mid: #1a1436;
  --ill-soft: #2a2050;
  --ill-line: #3b2d63;
  --ill-mute: #5b5478;        /* приглушённые детали иллюстраций: тени, обводки */
  --ill-mute-2: #9b93b5;
  --ill-mute-3: #c9c3dd;

  /* вторичный акцент (мятный) и служебные — от бренда не зависят */
  --mint: #5de2b4;
  --mint-dark: #3aa88a;
  --ok: #22c55e;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 100px;
  --font: 'Jost', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: #07060d;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* ===== Animated aurora background ===== */
.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: #07060d;
  pointer-events: none;
}

.bg-aurora__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  will-change: transform, opacity;
  opacity: 0.32;
}

.bg-aurora__orb--1 {
  width: min(55vw, 640px);
  height: min(55vw, 640px);
  top: -15%;
  left: -8%;
  background: radial-gradient(circle, rgba(var(--purple-dark-rgb), 0.5) 0%, transparent 72%);
  animation: auroraShimmer1 28s ease-in-out infinite;
}

.bg-aurora__orb--2 {
  width: min(48vw, 560px);
  height: min(48vw, 560px);
  top: 32%;
  right: -10%;
  background: radial-gradient(circle, rgba(var(--purple-indigo-rgb), 0.45) 0%, transparent 74%);
  animation: auroraShimmer2 32s ease-in-out infinite;
}

.bg-aurora__orb--3 {
  width: min(42vw, 500px);
  height: min(42vw, 500px);
  bottom: -6%;
  left: 28%;
  background: radial-gradient(circle, rgba(var(--purple-rgb), 0.4) 0%, transparent 76%);
  animation: auroraShimmer3 26s ease-in-out infinite;
}

.bg-aurora__orb--4 {
  width: min(36vw, 420px);
  height: min(36vw, 420px);
  top: 55%;
  left: 48%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.35) 0%, transparent 78%);
  animation: auroraShimmer4 30s ease-in-out infinite;
}

.bg-aurora::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(var(--purple-dark-rgb), 0.03) 22%,
    transparent 42%,
    rgba(var(--purple-indigo-rgb), 0.04) 58%,
    transparent 78%,
    rgba(var(--purple-rgb), 0.03) 92%,
    transparent 100%
  );
  background-size: 280% 280%;
  animation: auroraSheen 24s ease-in-out infinite;
}

.bg-aurora::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 6, 13, 0.55);
}

@keyframes auroraShimmer1 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.22; }
  50% { transform: translate(6%, 4%) scale(1.06); opacity: 0.38; }
}

@keyframes auroraShimmer2 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.2; }
  50% { transform: translate(-5%, 3%) scale(1.04); opacity: 0.34; }
}

@keyframes auroraShimmer3 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.18; }
  50% { transform: translate(4%, -5%) scale(1.05); opacity: 0.32; }
}

@keyframes auroraShimmer4 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.16; }
  33% { transform: translate(-3%, -4%) scale(0.98); opacity: 0.28; }
  66% { transform: translate(4%, 3%) scale(1.03); opacity: 0.24; }
}

@keyframes auroraSheen {
  0%, 100% { background-position: 0% 50%; opacity: 0.6; }
  50% { background-position: 100% 50%; opacity: 1; }
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: #fff;
  color: #0a0a0f;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.15), 0 0 60px var(--purple-glow);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.25), 0 0 80px var(--purple-glow);
}

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

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-hover);
}

.btn--lg {
  padding: 14px 28px;
  font-size: 16px;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

.btn__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  flex-shrink: 0;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.logo__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient);
  color: #fff;
}

.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}

.nav__link:hover {
  color: var(--text);
}

.nav__link--mobile {
  display: none;
}

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

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: clamp(100px, 8vw, 140px) 0 clamp(28px, 3vw, 40px);
  overflow: hidden;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #0a0a0f;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.72) contrast(1.08) brightness(.82);
  transform: scale(1.035);
}

.hero__bg-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8,7,13,.8) 0%, rgba(8,7,13,.58) 43%, rgba(8,7,13,.38) 100%),
    linear-gradient(0deg, rgba(10,10,15,.7) 0%, rgba(10,10,15,.1) 48%, rgba(10,10,15,.34) 100%),
    rgba(74, 22, 110, .12);
}

.hero-flow {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Hero: video background. Animated aurora gradient is only below hero. */
.hero .hero__glow,
.hero .loan-calculator__shine,
.hero .hero__eyebrow-dot,
.hero .btn-glow {
  animation: none;
}

.hero__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}

.hero__glow--1 {
  width: 600px;
  height: 600px;
  background: rgba(var(--purple-dark-rgb), 0.25);
  top: -100px;
  right: -100px;
  animation: glowDrift 8s ease-in-out infinite;
}

.hero__glow--2 {
  width: 400px;
  height: 400px;
  background: rgba(var(--purple-rgb), 0.15);
  bottom: 200px;
  left: -100px;
  animation: glowDrift 10s ease-in-out infinite reverse;
}

.hero__glow--3 {
  width: 500px;
  height: 300px;
  background: rgba(var(--purple-indigo-rgb), 0.12);
  bottom: 0;
  right: 20%;
  animation: glowDrift 12s ease-in-out infinite;
  animation-delay: 2s;
}

@keyframes glowDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.1); }
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 70%);
}

.hero__top {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 52px;
  align-items: center;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto 32px;
  padding-top: clamp(32px, 3vw, 56px);
  padding-bottom: clamp(32px, 3vw, 56px);
}

.hero__content {
  max-width: 600px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
  padding: 9px 16px;
  border: 1px solid rgba(var(--purple-light-rgb),.22);
  border-radius: 100px;
  background: rgba(var(--purple-rgb),.1);
  color: rgba(233,213,255,.85);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  backdrop-filter: blur(10px);
}

.hero__eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 12px rgba(var(--purple-rgb),.9);
  animation: heroDot 2s ease-in-out infinite;
}

.hero__title {
  font-size: clamp(52px, 5.6vw, 82px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.05em;
  margin-bottom: 28px;
}

.hero__line {
  display: block;
}

.hero__subtitle {
  font-size: 20px;
  color: rgba(240, 240, 245, 0.72);
  line-height: 1.65;
  margin-bottom: 38px;
  max-width: 580px;
}

.hero__cta {
  min-height: 58px;
  padding-right: 16px;
  padding-left: 30px;
  font-size: 16px;
}

.hero__cta .btn__arrow {
  width: 34px;
  height: 34px;
  margin-left: 6px;
}

.hero__advantages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  max-width: 480px;
}

.hero__advantage {
  display: flex;
  flex-direction: column;
}

.hero__advantage strong {
  margin-bottom: 3px;
  color: rgba(255,255,255,.95);
  font-size: 19px;
  line-height: 1.2;
}

.hero__advantage span {
  color: rgba(255,255,255,.45);
  font-size: 12px;
}

@keyframes heroDot {
  0%, 100% { opacity: .65; transform: scale(.9); }
  50% { opacity: 1; transform: scale(1.12); }
}

/* Hero loan calculator */
.loan-calculator {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border: 1px solid rgba(233, 197, 255, 0.18);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
    rgba(16, 10, 28, 0.76);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.38),
    0 0 80px rgba(var(--purple-dark-rgb), 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(24px);
}

.loan-calculator::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.35), transparent 35%, transparent 70%, rgba(var(--purple-rgb),.28));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.loan-calculator__shine {
  position: absolute;
  width: 240px;
  height: 240px;
  top: -150px;
  right: -90px;
  border-radius: 50%;
  background: rgba(var(--purple-rgb), 0.32);
  filter: blur(55px);
  pointer-events: none;
  animation: calculatorGlow 5s ease-in-out infinite;
}

.loan-calculator__header {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}

.loan-calculator__eyebrow {
  display: block;
  margin-bottom: 4px;
  color: var(--purple-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.loan-calculator__header h2 {
  font-size: 25px;
  line-height: 1.25;
}

.loan-calculator__badge {
  padding: 7px 10px;
  border: 1px solid rgba(var(--purple-rgb), 0.2);
  border-radius: 100px;
  background: rgba(var(--purple-rgb), 0.09);
  color: #86efac;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.loan-control {
  position: relative;
  margin-bottom: 26px;
}

.loan-control__top,
.loan-control__limits {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.loan-control__top {
  margin-bottom: 12px;
}

.loan-control__top label {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
}

.loan-control__top output {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.loan-control__limits {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 10px;
}

.loan-range {
  --range-progress: 28%;
  width: 100%;
  height: 5px;
  border: 0;
  border-radius: 10px;
  outline: 0;
  background:
    linear-gradient(90deg, var(--purple-light) 0 var(--range-progress), rgba(255,255,255,.1) var(--range-progress) 100%);
  appearance: none;
  cursor: pointer;
}

.loan-range::-webkit-slider-thumb {
  width: 19px;
  height: 19px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 0 5px rgba(var(--purple-rgb),.18), 0 0 20px rgba(var(--purple-rgb),.5);
  appearance: none;
}

.loan-range::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 0 5px rgba(var(--purple-rgb),.18);
}

.loan-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 4px 0 18px;
}

.loan-summary > div {
  padding: 16px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  background: rgba(255,255,255,.035);
}

.loan-summary span {
  display: block;
  margin-bottom: 3px;
  color: var(--text-muted);
  font-size: 10px;
}

.loan-summary strong {
  display: block;
  font-size: 15px;
}

.loan-calculator__button {
  min-height: 58px;
  font-size: 15px;
}

.loan-calculator__button .btn__arrow {
  margin-left: auto;
}

.loan-calculator__trust {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 14px;
  color: rgba(255,255,255,.42);
  font-size: 10px;
}

.loan-calculator__notice {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 13px 14px;
  border: 1px solid rgba(var(--purple-light-rgb),.12);
  border-radius: 13px;
  background: rgba(var(--purple-rgb),.055);
}

.loan-calculator__notice-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 10px;
  background: rgba(var(--purple-rgb),.12);
  font-size: 15px;
}

.loan-calculator__notice div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.loan-calculator__notice strong {
  color: rgba(255,255,255,.82);
  font-size: 11px;
}

.loan-calculator__notice div span {
  color: rgba(255,255,255,.38);
  font-size: 9px;
}

.hero__details {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  max-width: 1240px;
  margin-top: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  background: rgba(11,8,18,.58);
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  backdrop-filter: blur(18px);
}

.hero-detail {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 82px;
  padding: 17px 22px;
}

.hero-detail + .hero-detail {
  border-left: 1px solid rgba(255,255,255,.08);
}

.hero-detail__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 1px solid rgba(var(--purple-light-rgb),.14);
  border-radius: 12px;
  background: rgba(var(--purple-rgb),.08);
  color: var(--purple-light);
}

.hero-detail div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-detail strong {
  color: rgba(255,255,255,.88);
  font-size: 13px;
}

.hero-detail span:not(.hero-detail__icon) {
  color: rgba(255,255,255,.4);
  font-size: 10px;
}

/* Hero steps — after live strip */
.hero-steps-section {
  padding: clamp(36px, 4vw, 56px) 0 clamp(48px, 5vw, 72px);
}

.hero-steps {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.hero-steps__header {
  text-align: center;
  margin-bottom: clamp(24px, 3vw, 36px);
}

.hero-steps__header .section__subtitle {
  max-width: 520px;
  margin: 0 auto;
}

.hero-steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.hero-step {
  padding: 22px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  transition: var(--transition);
}

.hero-step:hover {
  border-color: rgba(var(--purple-rgb), 0.25);
  background: rgba(var(--purple-rgb), 0.06);
}

.hero-step__number {
  font-size: 12px;
  font-weight: 700;
  color: var(--purple-light);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.hero-step__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.92);
}

.hero-step__text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.55;
}

.hero-steps__cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(24px, 3vw, 32px);
}

@keyframes calculatorGlow {
  0%, 100% { opacity: .55; transform: translate(0, 0); }
  50% { opacity: .85; transform: translate(-25px, 20px); }
}

/* Hero video */
.hero-video-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 70px;
}

.hero-video {
  position: relative;
  overflow: hidden;
  min-height: clamp(320px, 42vw, 520px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  background: var(--ill-deep);
  box-shadow:
    0 40px 100px rgba(0,0,0,.45),
    0 0 100px rgba(var(--purple-dark-rgb),.13),
    inset 0 1px 0 rgba(255,255,255,.12);
}

.hero-video__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.75) contrast(1.08) brightness(.7);
}

.hero-video__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9,7,15,.92) 0%, rgba(9,7,15,.55) 42%, rgba(9,7,15,.1) 75%),
    linear-gradient(0deg, rgba(9,7,15,.58), transparent 55%);
}

.hero-video__content {
  position: absolute;
  z-index: 2;
  left: clamp(24px, 5vw, 64px);
  bottom: clamp(28px, 6vw, 68px);
  max-width: 470px;
}

.hero-video__label {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 11px;
  border: 1px solid rgba(var(--purple-light-rgb),.24);
  border-radius: 100px;
  background: rgba(var(--purple-rgb),.12);
  color: var(--purple-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.hero-video__content h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.hero-video__content p {
  max-width: 390px;
  color: rgba(255,255,255,.64);
  font-size: 15px;
}

.hero-video__status {
  position: absolute;
  z-index: 2;
  top: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 100px;
  background: rgba(8,7,13,.58);
  color: rgba(255,255,255,.76);
  font-size: 11px;
  backdrop-filter: blur(12px);
}

.hero-video__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 12px rgba(var(--purple-light-rgb),.7);
}

.hero-video__credit {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 14px;
  color: rgba(255,255,255,.25);
  font-size: 9px;
  transition: color .2s ease;
}

.hero-video__credit:hover {
  color: rgba(255,255,255,.65);
}

/* Replaced by the licensed hero video. */
.hero__particles,
.hero__scene,
.hero__partners {
  display: none;
}

.hero__tags-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
  padding-top: 20px;
}

.glass-pill {
  position: relative;
  isolation: isolate;
}

.glass-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(200deg,
    rgba(233, 197, 255, 0.5) 0%,
    rgba(233, 197, 255, 0) 40%,
    rgba(233, 197, 255, 0) 60%,
    rgba(233, 197, 255, 0.5) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.glass-pill::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: rgba(171, 0, 255, 0.08);
  pointer-events: none;
  z-index: -1;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  backdrop-filter: blur(12px);
  white-space: nowrap;
}

.tag svg {
  color: var(--purple);
  flex-shrink: 0;
}

.hero__cta {
  margin-top: 8px;
}

.btn-glow {
  position: relative;
}

/* ===== Hero 3D Scene ===== */
.hero__scene {
  position: relative;
  z-index: 2;
  width: 100%;
  height: clamp(250px, 29vw, 340px);
  margin-top: auto;
  perspective: 1200px;
}

.hero__path-svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.path-track {
  fill: none;
  stroke: url(#trackGrad);
  stroke-width: 34;
  stroke-linecap: round;
  opacity: 0.42;
}

.path-glow {
  fill: none;
  stroke: url(#pathGrad);
  stroke-width: 3;
  stroke-linecap: round;
}

.path-dash {
  fill: none;
  stroke: rgba(var(--purple-light-rgb), 0.6);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 8 16;
  stroke-dashoffset: 0;
}

/* Portal */
.scene-portal {
  position: absolute;
  left: 38%;
  bottom: 28%;
  width: 80px;
  height: 100px;
  transform: translateX(-50%);
}

.scene-portal__frame {
  width: 100%;
  height: 100%;
  border: 3px solid rgba(var(--purple-rgb), 0.4);
  border-bottom: none;
  border-radius: 40px 40px 0 0;
  background: rgba(var(--purple-rgb), 0.05);
  backdrop-filter: blur(8px);
}

.scene-portal__glow {
  position: absolute;
  inset: -10px;
  border-radius: 50px 50px 0 0;
  background: radial-gradient(ellipse at bottom, rgba(var(--purple-rgb), 0.3), transparent 70%);
  z-index: -1;
}

/* Glass figures */
.scene-figure {
  position: absolute;
  display: none;
  flex-direction: column;
  align-items: center;
  opacity: 0.5;
}

.scene-figure__head {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
}

.scene-figure__body {
  width: 36px;
  height: 44px;
  border-radius: 18px 18px 8px 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  margin-top: 4px;
}

.scene-figure--1 {
  left: 22%;
  bottom: 18%;
}

.scene-figure--2 {
  left: 55%;
  bottom: 22%;
  transform: scale(0.85);
}

/* Moving objects */
.scene-object {
  position: absolute;
  width: 0;
  height: 0;
  z-index: 5;
  will-change: transform;
}

.glass-obj {
  position: absolute;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(var(--purple-rgb), 0.15);
}

.glass-obj--card {
  width: 72px;
  height: 46px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(var(--purple-rgb), 0.2), rgba(var(--purple-indigo-rgb), 0.15));
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.glass-obj__chip {
  width: 14px;
  height: 10px;
  border-radius: 2px;
  background: rgba(255, 215, 0, 0.5);
}

.glass-obj__stripe {
  width: 100%;
  height: 6px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.15);
}

.glass-obj__label {
  font-size: 7px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
}

.glass-obj--coin {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(var(--purple-rgb), 0.25), rgba(var(--purple-dark-rgb), 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--purple-light);
}

.glass-obj--coin-sm {
  width: 26px;
  height: 26px;
  font-size: 12px;
}

.glass-obj--doc {
  width: 40px;
  height: 48px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Approval cube */
.scene-cube {
  position: absolute;
  right: 12%;
  bottom: 30%;
  width: 70px;
  height: 70px;
  perspective: 400px;
}

.glass-cube {
  width: 56px;
  height: 56px;
  position: relative;
  transform-style: preserve-3d;
  margin: 0 auto;
}

.glass-cube__face {
  position: absolute;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(var(--purple-rgb), 0.3);
  background: rgba(var(--purple-rgb), 0.1);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.glass-cube__face--front {
  transform: translateZ(28px);
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(var(--purple-rgb), 0.3);
}

.glass-cube__face--top {
  transform: rotateX(90deg) translateZ(28px);
  background: rgba(var(--purple-rgb), 0.05);
  border-radius: 4px;
}

.glass-cube__face--right {
  transform: rotateY(90deg) translateZ(28px);
  background: rgba(var(--purple-dark-rgb), 0.08);
  border-radius: 4px;
}

.scene-cube__ring {
  position: absolute;
  inset: -15px;
  border: 1px solid rgba(var(--purple-rgb), 0.2);
  border-radius: 50%;
  border-top-color: var(--purple);
  border-right-color: transparent;
}

.scene-cube__ring--2 {
  inset: -25px;
  border-top-color: transparent;
  border-right-color: var(--purple-light);
  opacity: 0.5;
}

/* Scene labels */
.scene-label {
  position: absolute;
  font-size: 11px;
  font-weight: 600;
  color: rgba(var(--purple-light-rgb), 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  pointer-events: none;
}

.scene-label--1 { left: 5%; bottom: 42%; }
.scene-label--2 { left: 30%; bottom: 55%; }
.scene-label--3 { left: 58%; bottom: 48%; }
.scene-label--4 { right: 8%; bottom: 52%; }

.hero__partners {
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.hero__partners-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  text-align: center;
}

.hero__partners-logos {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hero__partners-logos span {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.05em;
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
  position: relative;
}

.section__header {
  text-align: center;
  margin-bottom: 60px;
}

.section__label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.section__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section__subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.feature-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(var(--purple-rgb), 0.12);
  color: var(--purple);
  margin-bottom: 20px;
}

.feature-card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card__text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== Stats ===== */
.section--stats {
  background: rgba(var(--purple-rgb), 0.04);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.stat-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.stat-card__value {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.stat-card__label {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
}

.step__number {
  font-size: 13px;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.step__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step__text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== Benefits ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.benefit-card {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.benefit-card:hover {
  border-color: var(--border-hover);
}

.benefit-card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.benefit-card__text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.benefit-card__impact {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--purple-light);
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.benefit-card__impact-label {
  color: var(--text-muted);
  font-weight: 500;
}

/* ===== Testimonials ===== */
.section--testimonials {
  background: rgba(var(--purple-rgb), 0.03);
}

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

.testimonial-card {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.testimonial-card__stats {
  display: flex;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.testimonial-card__stats div {
  display: flex;
  flex-direction: column;
}

.testimonial-card__stats strong {
  font-size: 18px;
  font-weight: 800;
  color: var(--purple-light);
}

.testimonial-card__stats span {
  font-size: 11px;
  color: var(--text-muted);
}

.testimonial-card__title {
  font-size: 16px;
  font-weight: 700;
}

.testimonial-card__challenge,
.testimonial-card__solution {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.testimonial-card__challenge strong,
.testimonial-card__solution strong {
  color: var(--text);
}

.testimonial-card__quote {
  font-size: 14px;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.7;
  padding: 16px;
  border-left: 2px solid var(--purple);
  background: rgba(var(--purple-rgb), 0.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: auto;
}

.testimonial-card__author {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

/* ===== Apply Form ===== */
.section--apply {
  background: rgba(var(--purple-rgb), 0.04);
  border-top: 1px solid var(--border);
}

.apply {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.apply__list {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.apply__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-muted);
}

.apply__list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple);
  flex-shrink: 0;
}

.apply__form {
  padding: 36px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.form-group input[type="text"],
.form-group input[type="tel"] {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px var(--purple-glow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.range-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.range-wrap input[type="range"] {
  flex: 1;
  -webkit-appearance: none;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.range-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gradient);
  cursor: pointer;
  box-shadow: 0 0 10px var(--purple-glow);
}

.range-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--purple-light);
  min-width: 90px;
  text-align: right;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.5;
}

.checkbox input {
  margin-top: 3px;
  accent-color: var(--purple);
  flex-shrink: 0;
}

.checkbox a {
  color: var(--purple-light);
  text-decoration: underline;
}

/* ===== FAQ ===== */
.faq {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq__item {
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}

.faq__item.active {
  border-color: var(--border-hover);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.faq__question:hover {
  color: var(--purple-light);
}

.faq__icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--text-muted);
}

.faq__item.active .faq__icon {
  transform: rotate(180deg);
  color: var(--purple);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq__answer-body {
  overflow: hidden;
}

.faq__answer p {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== Mid-page CTA banner ===== */
.cta-mid {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

/*
  Затемнение тут рассчитано на СВЕТЛУЮ фотографию (яркость ~175): сквозь плёнку 62% она
  читается. Ломалось оно не числами, а подменой файла: настоящее фото заменили тёмным
  размытым пятном (яркость 47), и та же самая плёнка утопила его в ноль — на экране
  оставалось 10 из 255 при фоне макета --bg, тоже 10. Отсюда и «картинки не грузятся»:
  они грузились, но были неотличимы от заливки.
  Файл вернули, поэтому и параметры возвращены к исходным.
*/
.cta-mid__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 6, 13, 0.62) 0%, rgba(7, 6, 13, 0.4) 50%, rgba(7, 6, 13, 0.62) 100%),
    url("../images/bg-cta.jpg") center/cover no-repeat;
  filter: saturate(0.7) brightness(0.8);
  transform: scale(1.02);
}

.cta-mid__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(7, 6, 13, 0.35) 100%);
}

.cta-mid__bg--alt {
  background:
    linear-gradient(90deg, rgba(7, 6, 13, 0.82) 0%, rgba(7, 6, 13, 0.5) 55%, rgba(7, 6, 13, 0.72) 100%),
    url("../images/bg-money.jpg") center/cover no-repeat;
  filter: saturate(0.7) brightness(0.82);
}

.cta-mid__card--left {
  margin: 0;
  text-align: left;
}

.cta-mid__card--left .cta-mid__list {
  justify-content: flex-start;
}

.cta-mid__card--left .cta-mid__note {
  text-align: left;
}

.cta-mid__card {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 44px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(10, 10, 15, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.cta-mid__title {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
}

.cta-mid__text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 22px;
}

.cta-mid__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
  margin-bottom: 28px;
}

.cta-mid__list li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  color: rgba(240, 240, 245, 0.75);
}

.cta-mid__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--purple-light);
  font-weight: 700;
}

.cta-mid__note {
  margin-top: 16px;
  font-size: 11px;
  color: var(--text-muted);
}

/* ===== Money background wrapper ===== */
.money-bg {
  position: relative;
  isolation: isolate;
}

/*
  Плёнка здесь плотнее, чем у CTA (82–96%), потому что поверх блока идёт длинный текст.
  Со светлым фото (яркость ~175) он всё равно проступает фактурой; с подменённым тёмным
  пятном (47) не проступал вовсе — блок становился темнее собственного фона макета.
*/
.money-bg__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(7, 6, 13, 0.92) 0%, rgba(7, 6, 13, 0.76) 30%, rgba(7, 6, 13, 0.76) 70%, rgba(7, 6, 13, 0.93) 100%),
    url("../images/bg-money.jpg") center/cover no-repeat;
  filter: saturate(0.6) brightness(0.7);
}

.money-bg > section {
  position: relative;
  z-index: 1;
}

/* Solid, readable cards over the busy image */
.money-bg .hero-steps {
  background: rgba(12, 11, 20, 0.82);
  backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, 0.12);
}

.money-bg .hero-step {
  background: rgba(16, 15, 24, 0.9);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
}

.money-bg .hero-step:hover {
  background: rgba(28, 20, 44, 0.92);
  border-color: rgba(var(--purple-rgb), 0.4);
}

.money-bg .hero-step__text {
  color: rgba(255, 255, 255, 0.72);
}

.money-bg .feature-card {
  background: rgba(16, 15, 24, 0.9);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}

.money-bg .feature-card:hover {
  background: rgba(28, 20, 44, 0.94);
  border-color: rgba(var(--purple-rgb), 0.4);
}

.money-bg .feature-card__text {
  color: rgba(255, 255, 255, 0.72);
}

.money-bg .section__subtitle {
  color: rgba(255, 255, 255, 0.78);
}

/* ===== CTA ===== */
.section--cta {
  padding: 60px 0 100px;
}

.cta-block {
  text-align: center;
  padding: 60px 40px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, var(--purple-glow) 0%, transparent 70%);
  pointer-events: none;
}

.cta-block__title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  position: relative;
}

.cta-block__text {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 32px;
  position: relative;
}

.cta-block .btn {
  position: relative;
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border);
  padding-top: 60px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer__desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.6;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer__col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer__col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
  transition: var(--transition);
}

.footer__col a:hover {
  color: var(--text);
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__contact a {
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
}

.footer__contact a:hover {
  color: var(--purple-light);
}

.footer__contact p {
  font-size: 13px;
  color: var(--text-muted);
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
}

.footer__bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.6;
}

.footer__disclaimer {
  margin-top: 6px;
  font-size: 11px !important;
}

/* ===== Offline animations ===== */
.entrance-item {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1) var(--entrance-delay, 0ms),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1) var(--entrance-delay, 0ms);
}

.hero-tag.entrance-item {
  transform: translate(35px, 0);
}

.entrance-item.is-visible,
.hero-tag.entrance-item.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

.reveal-item {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s ease var(--reveal-delay, 0ms),
    transform 0.7s ease var(--reveal-delay, 0ms);
}

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

.hero__scene {
  transform: translateY(var(--parallax-y, 0));
}

.hero__glow--1 {
  translate: 0 var(--glow-y, 0);
}

.hero-tag {
  animation: tagFloat 3.2s ease-in-out infinite;
}

.hero-tag:nth-child(2) { animation-delay: -1.1s; }
.hero-tag:nth-child(3) { animation-delay: -2.2s; }

.glass-cube {
  animation: cubeSpin 12s linear infinite;
}

.scene-cube__ring {
  animation: ringSpin 8s linear infinite;
}

.scene-cube__ring--2 {
  animation-direction: reverse;
  animation-duration: 12s;
}

.scene-portal__glow,
.path-glow {
  animation: softPulse 2s ease-in-out infinite;
}

.scene-figure--1 { animation: figureFloat 3s ease-in-out infinite; }
.scene-figure--2 { animation: figureFloat 3.5s ease-in-out -1s infinite; }

.btn-glow {
  animation: buttonGlow 2s ease-in-out infinite;
}

.path-dash {
  animation: pathFlow 3s linear infinite;
}

@keyframes tagFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -7px; }
}

@keyframes cubeSpin {
  0%, 100% { transform: rotateX(-5deg) rotateY(-14deg); }
  50% { transform: rotateX(5deg) rotateY(14deg); }
}

@keyframes ringSpin {
  to { transform: rotate(360deg); }
}

@keyframes softPulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.85; }
}

@keyframes figureFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -7px; }
}

@keyframes buttonGlow {
  0%, 100% {
    box-shadow: 0 0 30px rgba(255,255,255,.15), 0 0 60px rgba(var(--purple-rgb),.35);
  }
  50% {
    box-shadow: 0 0 50px rgba(255,255,255,.3), 0 0 100px rgba(var(--purple-rgb),.5);
  }
}

@keyframes pathFlow {
  to { stroke-dashoffset: -200; }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .features-grid,
  .benefits-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .hero__top {
    grid-template-columns: 1fr;
    max-width: 760px;
  }

  .hero-calculator {
    width: 100%;
  }

  .hero__details {
    grid-template-columns: repeat(2, 1fr);
    max-width: 760px;
  }

  .hero-steps {
    max-width: 760px;
  }

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

  .cta-mid__card {
    padding: 36px 28px;
  }

  .hero-detail:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.08);
  }

  .hero-detail:nth-child(4) {
    border-top: 1px solid rgba(255,255,255,.08);
  }

  .hero__scene {
    height: clamp(220px, 35vw, 320px);
  }

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

@media (max-width: 768px) {
  .nav,
  .header__actions {
    display: none;
  }

  .nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    padding: 24px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
    z-index: 99;
  }

  .nav.open .nav__link--mobile {
    display: block;
  }

  .burger {
    display: flex;
  }

  .features-grid,
  .benefits-grid,
  .testimonials-grid,
  .steps,
  .stats-grid {
    grid-template-columns: 1fr;
  }

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 70px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 120px;
  }

  .hero__advantages {
    max-width: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .loan-calculator {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .loan-calculator__header {
    align-items: center;
  }

  .loan-calculator__header h2 {
    font-size: 19px;
  }

  .loan-calculator__badge {
    font-size: 9px;
  }

  .loan-summary {
    gap: 8px;
  }

  .loan-calculator__trust {
    flex-wrap: wrap;
    gap: 6px 14px;
  }

  .hero__details {
    grid-template-columns: 1fr;
    margin-top: 10px;
    border-radius: 16px;
  }

  .hero-detail {
    min-height: 70px;
  }

  .hero-detail + .hero-detail,
  .hero-detail:nth-child(3),
  .hero-detail:nth-child(4) {
    border-top: 1px solid rgba(255,255,255,.08);
    border-left: 0;
  }

  .hero-steps {
    padding: 22px 18px;
    border-radius: 16px;
  }

  .hero-steps__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-step {
    padding: 18px 16px;
  }

  .hero-video-wrap {
    padding-bottom: 54px;
  }

  .hero-video {
    min-height: 380px;
    border-radius: 20px;
  }

  .hero-video__media {
    object-position: 62% center;
  }

  .hero-video__shade {
    background:
      linear-gradient(0deg, rgba(9,7,15,.94) 0%, rgba(9,7,15,.42) 72%, rgba(9,7,15,.18) 100%);
  }

  .hero-video__content {
    left: 22px;
    right: 22px;
    bottom: 30px;
  }

  .hero-video__status {
    top: 16px;
    right: 16px;
  }

  .hero__scene {
    height: 200px;
  }

  .scene-figure,
  .scene-label {
    display: none;
  }

  .scene-cube {
    right: 8%;
    bottom: 25%;
    transform: scale(0.7);
  }
}

/* ===== 2200px+ (2K and ultra-wide) ===== */
@media (min-width: 2200px) {
  .container {
    max-width: 1320px;
  }

  .hero__top {
    max-width: 1320px;
    grid-template-columns: minmax(0, 1fr) 480px;
    gap: 56px;
  }

  .hero__content {
    max-width: 640px;
  }

  .hero__title {
    font-size: 84px;
  }

  .hero__subtitle {
    font-size: 21px;
  }

  .hero__details {
    max-width: 1320px;
  }

  .hero-steps {
    max-width: 1320px;
  }

  .hero-detail {
    min-height: 96px;
    padding: 22px 28px;
    gap: 16px;
  }

  .hero-detail__icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
  }

  .hero-detail strong {
    font-size: 15px;
  }

  .hero-detail span:not(.hero-detail__icon) {
    font-size: 11px;
  }

  .header {
    padding: 20px 0;
  }
}

/* ===== Live applications strip ===== */
.live-strip {
  position: relative;
  z-index: 4;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  margin-top: 0;
}

.live-strip__inner {
  display: flex;
  align-items: center;
  gap: 28px;
}

.live-strip__head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.live-strip__head strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.live-strip__head span {
  font-size: 12px;
  color: var(--text-muted);
}

.live-strip__pulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(var(--purple-rgb), 0.6);
  animation: livePulse 2s infinite;
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--purple-rgb), 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(var(--purple-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--purple-rgb), 0); }
}

.live-strip__track {
  display: flex;
  overflow: hidden;
  flex: 1 1 auto;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.live-strip__lane {
  display: flex;
  gap: 12px;
  padding-right: 12px;
  flex: 0 0 auto;
  animation: liveMarquee 32s linear infinite;
}

.live-strip:hover .live-strip__lane {
  animation-play-state: paused;
}

@keyframes liveMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.live-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 9px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  font-size: 12.5px;
  color: var(--text-muted);
  white-space: nowrap;
}

.live-item b {
  color: var(--text);
  font-weight: 700;
}

.live-item em {
  font-style: normal;
  color: rgba(240, 240, 245, 0.4);
  font-size: 11.5px;
}

.live-item__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple-light);
  flex: 0 0 auto;
}

.live-item__dot--pay {
  background: var(--ok);
}

/* ===== Tariffs / scenarios ===== */
.tariffs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tariff-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: var(--transition);
}

.tariff-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.tariff-card--accent {
  border-color: rgba(var(--purple-rgb), 0.4);
  background: linear-gradient(160deg, rgba(var(--purple-rgb), 0.12), rgba(var(--purple-dark-rgb), 0.04));
  box-shadow: 0 0 40px rgba(var(--purple-rgb), 0.12);
}

.tariff-card__badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: var(--gradient);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.tariff-card__title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 6px;
}

.tariff-card__sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.tariff-card__rate {
  display: flex;
  flex-direction: column;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tariff-card__rate span {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  -webkit-text-fill-color: var(--text-muted);
}

.tariff-card__list {
  list-style: none;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
}

.tariff-card__list li {
  position: relative;
  padding-left: 24px;
  font-size: 13.5px;
  color: rgba(240, 240, 245, 0.75);
}

.tariff-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(var(--purple-rgb), 0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-4.8' stroke='%2347B8BD' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ===== Comparison ===== */
.compare {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
}

.compare__row {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 1.4fr;
  gap: 20px;
  padding: 18px 26px;
  border-bottom: 1px solid var(--border);
  align-items: center;
  font-size: 14px;
}

.compare__row:last-child {
  border-bottom: none;
}

.compare__row--head {
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.compare__feature {
  font-weight: 600;
  color: var(--text);
}

.compare__us {
  color: rgba(240, 240, 245, 0.85);
}

.compare__us b {
  color: var(--purple-light);
}

.compare__row:not(.compare__row--head) .compare__us {
  position: relative;
  padding-left: 26px;
}

.compare__row:not(.compare__row--head) .compare__us::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ok);
  font-weight: 700;
}

.compare__them {
  color: var(--text-muted);
  position: relative;
  padding-left: 26px;
}

.compare__row:not(.compare__row--head) .compare__them::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: rgba(248, 113, 113, 0.7);
  font-weight: 700;
}

.compare__row--head .compare__us,
.compare__row--head .compare__them {
  padding-left: 0;
}

.compare__row--head .compare__us {
  color: var(--purple-light);
}

/* ===== Loan example ===== */
.example {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(var(--purple-rgb), 0.07), rgba(255, 255, 255, 0.02));
}

.example__note {
  margin-top: 20px;
  font-size: 12px;
  color: var(--text-muted);
}

.example__card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(10, 10, 15, 0.5);
  backdrop-filter: blur(12px);
}

.example__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
}

.example__row b {
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
}

.example__row--total {
  border-bottom: none;
  margin-bottom: 18px;
  padding-top: 18px;
}

.example__row--total span {
  font-size: 15px;
  color: var(--text);
  font-weight: 600;
}

.example__row--total b {
  font-size: 24px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Reviews trust ===== */
.reviews-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 44px;
}

.reviews-trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 180px;
  padding: 20px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}

.reviews-trust__item strong {
  font-size: 30px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.reviews-trust__item span {
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== Partners ===== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.partner-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: var(--transition);
}

.partner-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.partner-card__logo {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--gradient);
  font-weight: 800;
  font-size: 16px;
  color: #fff;
}

.partner-card__info {
  flex: 1 1 auto;
  min-width: 0;
}

.partner-card__info strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
}

.partner-card__info span {
  font-size: 12.5px;
  color: var(--text-muted);
}

.partner-card__btn {
  flex: 0 0 auto;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-hover);
  font-size: 13px;
  font-weight: 600;
  color: var(--purple-light);
  transition: var(--transition);
}

.partner-card__btn:hover {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
}

.partners-note {
  margin-top: 24px;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ===== New sections: responsive ===== */
@media (max-width: 1024px) {
  .tariffs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .example {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px;
  }
}

@media (max-width: 768px) {
  .live-strip__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .live-strip__track {
    width: 100%;
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .tariffs-grid {
    grid-template-columns: 1fr;
  }
  .partners-grid {
    grid-template-columns: 1fr;
  }
  .compare__row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px 18px;
  }
  .compare__row--head {
    display: none;
  }
  .compare__feature {
    font-size: 15px;
    margin-bottom: 4px;
  }
  .example {
    padding: 26px;
  }
  .reviews-trust__item {
    min-width: 140px;
    padding: 16px 20px;
  }
}

/* ===== Inner pages ===== */
.page {
  padding-top: clamp(120px, 12vw, 160px);
  padding-bottom: 80px;
  min-height: 60vh;
}

.page-hero {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.page-hero__title {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 16px 0 18px;
}

.page-hero__text {
  font-size: 18px;
  color: rgba(240, 240, 245, 0.68);
  line-height: 1.7;
}

/* ===== Page hero zone (inner pages) ===== */
.page:has(.page-hero-zone) {
  padding-top: 0;
}

body:has(.page-hero-zone) .bg-aurora::after {
  background: rgba(7, 6, 13, 0.28);
}

body:has(.page-hero-zone) .bg-aurora__orb {
  opacity: 0.38;
}

.page-hero-zone {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-bottom: clamp(40px, 5vw, 56px);
  padding-top: clamp(108px, 11vw, 148px);
  padding-bottom: clamp(44px, 6vw, 68px);
}

.page-hero-zone__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/*
  Фон hero внутренних страниц (ТОП, Кабинет, Приложение).

  Затемнения тут нет вообще — только brightness(), — то есть фотографию видно отлично.
  Плохо было то, что все эти файлы сине-фиолетовые (оттенок 226–243°), и на бирюзовом
  бренде (183°) hero выглядел куском чужого сайта.

  Перекраска идёт слоем ::before с mix-blend-mode: color, а НЕ через background-blend-mode,
  как на главной. Причина: саму картинку задаёт вёрстка инлайном
  (style="background-image:url(images/bg-top.jpg)"), а инлайн сильнее правила из файла —
  перечислить слои в background тут просто не получится, инлайн перебьёт.
  isolation: isolate держит смешивание внутри блока, иначе mix-blend-mode полез бы
  на всё, что лежит ниже по стеку.
*/
.page-hero-zone__media {
  position: absolute;
  inset: -4%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: saturate(1.05) contrast(1.06) brightness(0.9);
  isolation: isolate;
  animation: pageHeroMediaPan 22s ease-in-out infinite;
}

/* Тон бренда поверх светотени фотографии. */
.page-hero-zone__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(var(--purple-rgb));
  mix-blend-mode: color;
  pointer-events: none;
}

@keyframes pageHeroMediaPan {
  0%, 100% { transform: scale(1.06) translate(0, 0); }
  50% { transform: scale(1.12) translate(-1.2%, -0.6%); }
}

.page-hero-zone__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 7, 13, 0.9) 0%, rgba(8, 7, 13, 0.62) 42%, rgba(8, 7, 13, 0.38) 100%),
    linear-gradient(0deg, rgba(10, 10, 15, 0.82) 0%, rgba(10, 10, 15, 0.12) 48%, rgba(10, 10, 15, 0.52) 100%),
    linear-gradient(135deg, rgba(var(--purple-dark-rgb), 0.28) 0%, transparent 58%),
    rgba(74, 22, 110, 0.18);
}

.page-hero-zone__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}

.page-hero-zone__glow--1 {
  width: min(560px, 75vw);
  height: min(560px, 75vw);
  top: -100px;
  right: -80px;
  background: rgba(var(--purple-dark-rgb), 0.34);
  animation: glowDrift 8s ease-in-out infinite;
}

.page-hero-zone__glow--2 {
  width: min(400px, 58vw);
  height: min(400px, 58vw);
  bottom: -40px;
  left: -90px;
  background: rgba(var(--purple-rgb), 0.26);
  animation: glowDrift 10s ease-in-out infinite reverse;
}

.page-hero-zone__glow--3 {
  width: min(460px, 62vw);
  height: min(300px, 42vw);
  top: 36%;
  left: 38%;
  background: rgba(var(--purple-indigo-rgb), 0.22);
  animation: glowDrift 12s ease-in-out infinite;
  animation-delay: 2s;
}

.page-hero-zone__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 38%, black 12%, transparent 74%);
}

.page-hero-zone__tags {
  position: absolute;
  inset: 0;
}

.page-hero-tag {
  position: absolute;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(var(--purple-rgb), 0.38);
  background: rgba(10, 10, 15, 0.62);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 600;
  color: rgba(var(--purple-tint-rgb), 0.95);
  box-shadow: 0 8px 24px rgba(var(--purple-dark-rgb), 0.22);
  animation: tagFloat 3.4s ease-in-out infinite;
}

.page-hero-tag:nth-child(1) {
  top: 16%;
  right: 7%;
}

.page-hero-tag:nth-child(2) {
  top: 50%;
  right: 16%;
}

.page-hero-tag:nth-child(3) {
  top: 32%;
  left: 3%;
}

.page-hero-tag:nth-child(4) {
  bottom: 18%;
  left: 12%;
}

.page-hero-zone__content {
  position: relative;
  z-index: 2;
}

.page-hero-zone .page-back {
  position: relative;
  z-index: 2;
}

.page-hero-zone .page-hero {
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.page-hero-zone--centered .page-hero {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}

.page-hero-zone--split .page-hero.app-grid__copy {
  text-align: left;
  max-width: none;
  margin: 0;
  padding-top: 0;
}

.page-hero-zone .page-hero__title {
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.45);
}

.page-hero-zone .page-hero__text {
  color: rgba(245, 243, 255, 0.88);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.page-hero-zone .section__label {
  border-color: rgba(var(--purple-rgb), 0.42);
  background: rgba(var(--purple-rgb), 0.14);
  color: var(--purple-tint);
  box-shadow: 0 0 20px rgba(var(--purple-rgb), 0.18);
}

.page-hero-zone--split .app-grid {
  margin-top: 8px;
  align-items: center;
}

.page-hero-bullets {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.page-hero-bullets li {
  font-size: 14px;
  color: rgba(245, 243, 255, 0.78);
  margin-bottom: 8px;
}

.page-hero-bullets li::before {
  content: "✓ ";
  color: var(--purple-light);
}

.page-hero-bullets--inline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
}

.page-hero-bullets--inline li {
  margin-bottom: 0;
}

.page-hero-bullets--inline li::before {
  content: "• ";
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.page-hero-actions--center {
  justify-content: center;
}

.page-hero-footnote {
  margin-top: 12px;
  font-size: 13px;
  color: rgba(245, 243, 255, 0.62);
}

.page-hero-zone .faq-hero-bullets li,
.page-hero-zone .contact-hero-list li span {
  color: rgba(245, 243, 255, 0.78);
}

.page-hero-zone .contact-hero-list li strong {
  color: var(--purple-tint);
}

@media (max-width: 1100px) {
  .page-hero-zone__tags {
    display: none;
  }

  .page-hero-zone--split .page-hero.app-grid__copy {
    text-align: center;
  }

  .page-hero-zone--split .page-hero.app-grid__copy .page-hero__title,
  .page-hero-zone--split .page-hero.app-grid__copy .page-hero__text {
    text-align: center;
    margin-inline: auto;
  }
}


.page-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  transition: var(--transition);
}

.page-back:hover {
  color: var(--text);
}

/* App page */
.app-grid {
  display: grid;
  grid-template-columns: 1fr min(400px, 42%);
  gap: 40px;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
  overflow: visible;
}

@media (min-width: 1101px) {
  .app-grid .app-grid__copy {
    grid-column: 1;
    grid-row: 1;
  }

  .app-grid .phone-stage,
  .app-grid .cabinet-portal-stage {
    grid-column: 2;
    grid-row: 1;
  }
}

.app-screens-section {
  overflow: visible;
  padding-bottom: 32px;
}

.app-features {
  display: grid;
  gap: 18px;
}

.app-feature {
  display: flex;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}

.app-feature__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(var(--purple-rgb), 0.14);
  color: var(--purple-light);
}

.app-feature h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.app-feature p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.app-download {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  transition: var(--transition);
}

.store-btn:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.store-btn span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
}

.store-btn strong {
  font-size: 16px;
}

/* Phone mockups */
.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 520px;
  padding: 12px 0 24px;
  overflow: visible;
}

.phone-stage__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
}

.phone-stage__orb--1 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(var(--purple-rgb), 0.55) 0%, transparent 70%);
  animation: phoneOrbPulse 5s ease-in-out infinite;
}

.phone-stage__orb--2 {
  width: 220px;
  height: 220px;
  top: 55%;
  left: 58%;
  background: radial-gradient(circle, rgba(var(--purple-indigo-rgb), 0.4) 0%, transparent 70%);
  animation: phoneOrbPulse 7s ease-in-out infinite reverse;
}

.phone-stage__badge {
  position: absolute;
  z-index: 2;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid rgba(var(--purple-rgb), 0.35);
  background: rgba(10, 10, 15, 0.82);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 32px rgba(var(--purple-dark-rgb), 0.25);
  animation: phoneBadgeFloat 4s ease-in-out infinite;
}

.phone-stage__badge--top {
  top: 12%;
  right: 4%;
}

.phone-stage__badge--bottom {
  bottom: 14%;
  left: 0;
  animation-delay: -2s;
}

.phone-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.phone-wrap__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.phone-wrap--featured .phone-wrap__label {
  color: var(--purple-light);
  border-color: rgba(var(--purple-rgb), 0.35);
  background: rgba(var(--purple-rgb), 0.1);
}

.phone-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  min-height: 520px;
  margin-top: 12px;
  padding: 16px 0 48px;
  perspective: 1400px;
  overflow: visible;
}

.phone-showcase__glow {
  position: absolute;
  inset: 5% 8%;
  background: radial-gradient(ellipse at center, rgba(var(--purple-dark-rgb), 0.32) 0%, transparent 72%);
  filter: blur(32px);
  pointer-events: none;
}

.phone-device {
  position: relative;
  flex-shrink: 0;
  z-index: 1;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.phone-device--float {
  animation: phoneFloat 6s ease-in-out infinite;
}

.phone-device--featured {
  z-index: 3;
}

.phone-device--float.phone-device--featured {
  animation: phoneFloatFeatured 6s ease-in-out infinite;
}

.phone-device--featured:not(.phone-device--left):not(.phone-device--right) {
  transform: scale(1.04);
}

.phone-device--left {
  z-index: 2;
  margin-right: -64px;
  transform: rotateY(24deg) rotateZ(-8deg) translateY(24px) scale(0.86);
  opacity: 0.9;
}

.phone-device--right {
  z-index: 2;
  margin-left: -64px;
  transform: rotateY(-24deg) rotateZ(8deg) translateY(24px) scale(0.86);
  opacity: 0.9;
}

.phone-showcase:hover .phone-device--left {
  transform: rotateY(16deg) rotateZ(-5deg) translateY(12px) translateX(6px) scale(0.9);
}

.phone-showcase:hover .phone-device--featured:not(.phone-device--left):not(.phone-device--right) {
  transform: scale(1.06) translateY(-8px);
}

.phone-showcase:hover .phone-device--right {
  transform: rotateY(-16deg) rotateZ(5deg) translateY(12px) translateX(-6px) scale(0.9);
}

.phone-device__shell {
  position: relative;
  width: 248px;
  padding: 11px;
  border-radius: 42px;
  background: linear-gradient(155deg, #3a3a48 0%, #14141c 38%, #0a0a10 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 32px 64px -16px rgba(0, 0, 0, 0.65),
    0 48px 96px -24px rgba(var(--purple-dark-rgb), 0.45);
}

.phone-device--featured .phone-device__shell {
  width: 268px;
  padding: 12px;
  border-radius: 46px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 40px 80px -20px rgba(0, 0, 0, 0.7),
    0 56px 120px -28px rgba(var(--purple-rgb), 0.55);
}

.phone-device__btn {
  position: absolute;
  background: linear-gradient(180deg, #4a4a58, #22222c);
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.phone-device__btn--silent {
  left: -3px;
  top: 108px;
  width: 3px;
  height: 28px;
}

.phone-device__btn--volume {
  left: -3px;
  top: 152px;
  width: 3px;
  height: 48px;
}

.phone-device__screen {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background: #08080e;
  aspect-ratio: 9 / 19.2;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.phone-device--featured .phone-device__screen {
  border-radius: 36px;
}

.phone-device__shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.14) 0%,
    transparent 38%,
    transparent 62%,
    rgba(255, 255, 255, 0.04) 100%
  );
  pointer-events: none;
}

.phone-ui {
  height: 100%;
  padding: 10px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(var(--purple-rgb), 0.22) 0%, transparent 55%),
    linear-gradient(180deg, #0f0f18 0%, #08080e 100%);
}

.phone-ui__status {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  padding: 2px 2px 0;
}

.phone-ui__status-icons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.phone-ui__island {
  width: 72px;
  height: 22px;
  border-radius: 20px;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.phone-ui__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
}

.phone-ui__header--compact {
  justify-content: space-between;
  align-items: flex-start;
}

.phone-ui__header strong {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.phone-ui__avatar {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 20px rgba(var(--purple-dark-rgb), 0.35);
}

.phone-ui__greeting {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 1px;
}

.phone-ui__hero-card {
  padding: 16px;
  border-radius: 18px;
  background: var(--gradient);
  box-shadow: 0 16px 40px rgba(var(--purple-dark-rgb), 0.35);
}

.phone-ui__hero-card span {
  font-size: 11px;
  opacity: 0.85;
}

.phone-ui__hero-card strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  margin: 2px 0 10px;
  letter-spacing: -0.02em;
}

.phone-ui__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.phone-ui__chips span {
  font-size: 10px;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(4px);
}

.phone-ui__loan {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.phone-ui__loan-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.phone-ui__loan strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
}

.phone-ui__progress {
  height: 5px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 10px;
  overflow: hidden;
}

.phone-ui__progress-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--gradient);
}

.phone-ui__row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

.phone-ui__badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  margin-bottom: 4px;
}

.phone-ui__badge--active {
  background: rgba(var(--purple-rgb), 0.22);
  color: var(--purple-light);
}

.phone-ui__cta {
  display: block;
  margin-top: auto;
  padding: 12px;
  border-radius: 14px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #0a0a0f;
  background: #fff;
  box-shadow: 0 10px 28px rgba(255, 255, 255, 0.12);
  transition: var(--transition);
}

.phone-ui__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(255, 255, 255, 0.18);
}

.phone-ui__nav {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding-top: 4px;
}

.phone-ui__nav-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.phone-ui__nav-dot--active {
  width: 16px;
  border-radius: var(--radius-pill);
  background: var(--purple);
}

.phone-ui__step {
  font-size: 10px;
  color: var(--text-muted);
}

.phone-ui__steps-bar {
  height: 4px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.phone-ui__steps-bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--gradient);
}

.phone-ui__field {
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}

.phone-ui__field--ghost {
  padding: 10px 12px;
}

.phone-ui__field label {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.phone-ui__field strong {
  font-size: 15px;
  font-weight: 700;
}

.phone-ui__slider {
  position: relative;
  height: 5px;
  margin-top: 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
}

.phone-ui__slider-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--gradient);
}

.phone-ui__slider-thumb {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  transform: translate(-50%, -50%);
}

.phone-ui__slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 9px;
  color: var(--text-muted);
}

.phone-ui__hint {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--purple-light);
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(var(--purple-rgb), 0.1);
  border: 1px solid rgba(var(--purple-rgb), 0.2);
}

.phone-ui__hint-icon {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(var(--purple-rgb), 0.25);
  font-size: 10px;
}

.phone-ui__pill {
  font-size: 10px;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.phone-ui__history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.phone-ui__history-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-top: 2px;
}

.phone-ui__history-item > span:last-child {
  font-size: 11px;
  color: var(--text-muted);
}

.phone-ui__history-item--active {
  border-color: rgba(var(--purple-rgb), 0.35);
  background: rgba(var(--purple-rgb), 0.08);
}

.phone-ui__export {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--purple-light);
  border: 1px dashed rgba(var(--purple-rgb), 0.35);
  background: rgba(var(--purple-rgb), 0.06);
}

/* Cabinet portal stage */
.cabinet-portal-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 520px;
  padding: 12px 0 36px;
  overflow: visible;
}

.cabinet-portal-stage__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
}

.cabinet-portal-stage__orb--1 {
  width: 280px;
  height: 280px;
  top: 8%;
  left: 8%;
  background: radial-gradient(circle, rgba(var(--purple-rgb), 0.55) 0%, transparent 70%);
  animation: phoneOrbPulse 5s ease-in-out infinite;
}

.cabinet-portal-stage__orb--2 {
  width: 240px;
  height: 240px;
  bottom: 18%;
  right: 0;
  background: radial-gradient(circle, rgba(var(--purple-indigo-rgb), 0.42) 0%, transparent 70%);
  animation: phoneOrbPulse 7s ease-in-out infinite reverse;
}

.cabinet-portal-stage__badge {
  position: absolute;
  z-index: 2;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid rgba(var(--purple-rgb), 0.35);
  background: rgba(10, 10, 15, 0.82);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 32px rgba(var(--purple-dark-rgb), 0.25);
  animation: phoneBadgeFloat 4s ease-in-out infinite;
}

.cabinet-portal-stage__badge--top {
  top: 10%;
  right: 0;
}

.cabinet-portal-stage__badge--bottom {
  bottom: 12%;
  left: 0;
  animation-delay: -2s;
}

.cabinet-portal {
  position: relative;
  z-index: 1;
  width: min(100%, 400px);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 11, 20, 0.88);
  backdrop-filter: blur(16px);
  box-shadow:
    0 0 0 1px rgba(var(--purple-rgb), 0.12),
    0 28px 72px rgba(0, 0, 0, 0.45),
    0 40px 96px rgba(var(--purple-dark-rgb), 0.28);
  overflow: hidden;
  animation: cabinetPortalIn 0.7s ease-out both;
}

@keyframes cabinetPortalIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.cabinet-portal__chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.cabinet-portal__dots {
  display: flex;
  gap: 5px;
}

.cabinet-portal__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.cabinet-portal__dots span:nth-child(1) {
  background: rgba(248, 113, 113, 0.75);
}

.cabinet-portal__dots span:nth-child(2) {
  background: rgba(251, 191, 36, 0.75);
}

.cabinet-portal__dots span:nth-child(3) {
  background: rgba(74, 222, 128, 0.75);
}

.cabinet-portal__url {
  flex: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 11px;
  color: rgba(245, 243, 255, 0.72);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cabinet-portal__url svg {
  flex-shrink: 0;
  color: var(--purple-light);
}

.cabinet-portal__secure {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #86efac;
}

.cabinet-portal__layout {
  display: grid;
  grid-template-columns: 92px 1fr;
  min-height: 320px;
}

.cabinet-portal__nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.18);
}

.cabinet-portal__nav-item {
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(245, 243, 255, 0.52);
  text-align: center;
}

.cabinet-portal__nav-item--active {
  color: var(--purple-tint);
  background: rgba(var(--purple-rgb), 0.18);
  border: 1px solid rgba(var(--purple-rgb), 0.28);
}

.cabinet-portal__main {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 14px 16px;
}

.cabinet-portal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.cabinet-portal__eyebrow {
  margin: 0 0 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(233, 213, 255, 0.62);
}

.cabinet-portal__title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.cabinet-portal__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  color: var(--purple-tint);
  background: linear-gradient(145deg, rgba(var(--purple-rgb), 0.45), rgba(var(--purple-indigo-rgb), 0.35));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cabinet-portal__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.cabinet-portal__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 6px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

.cabinet-portal__stat span {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(245, 243, 255, 0.48);
}

.cabinet-portal__stat strong {
  font-size: 11px;
  font-weight: 700;
  color: var(--purple-tint);
}

.cabinet-portal__loan {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(var(--purple-rgb), 0.24);
  background: linear-gradient(160deg, rgba(var(--purple-rgb), 0.14) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.cabinet-portal__loan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 10px;
  color: rgba(245, 243, 255, 0.55);
}

.cabinet-portal__loan-badge {
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #dcfce7;
  background: rgba(34, 197, 94, 0.18);
  border: 1px solid rgba(34, 197, 94, 0.28);
}

.cabinet-portal__loan-sum {
  display: block;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.cabinet-portal__progress {
  height: 6px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 10px;
}

.cabinet-portal__progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--purple-dark), var(--purple));
}

.cabinet-portal__loan-actions {
  display: flex;
  gap: 8px;
}

.cabinet-portal__loan-actions span {
  flex: 1;
  padding: 6px 4px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 600;
  text-align: center;
  color: rgba(245, 243, 255, 0.72);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cabinet-portal__cta {
  margin-top: auto;
}

.cabinet-portal-stage__caption {
  position: absolute;
  bottom: 0;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  width: min(100%, 360px);
  margin: 0;
  padding: 0 8px;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  color: rgba(245, 243, 255, 0.62);
}

.cabinet-portal-stage__caption a {
  color: var(--purple-light);
  font-weight: 600;
  text-decoration: none;
}

.cabinet-portal-stage__caption a:hover {
  text-decoration: underline;
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes phoneFloatFeatured {
  0%, 100% { transform: translateY(0) scale(1.04); }
  50% { transform: translateY(-10px) scale(1.04); }
}

@keyframes phoneOrbPulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.12); opacity: 1; }
}

@keyframes phoneBadgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Contacts page */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto 48px;
}

.contact-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  text-align: center;
}

.contact-card__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(var(--purple-rgb), 0.14);
  color: var(--purple-light);
}

.contact-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.contact-card a,
.contact-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  display: block;
}

.contact-card a:hover {
  color: var(--purple-light);
}

.contacts-form {
  max-width: 560px;
  margin: 0 auto;
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}

.contacts-form h2 {
  font-size: 22px;
  margin-bottom: 20px;
  text-align: center;
}

/* Login page */
.login-card {
  max-width: 420px;
  margin: 0 auto;
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(10, 10, 15, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.login-card h1 {
  font-size: 26px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 8px;
}

.login-card__sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 28px;
}

.login-card .form-group {
  margin-bottom: 18px;
}

.login-card__hint {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 18px;
}

.login-card__hint a {
  color: var(--purple-light);
}

@media (max-width: 1100px) {
  .app-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    justify-items: center;
  }
  .app-grid .page-hero {
    text-align: center;
    width: 100%;
  }
  .app-grid .page-hero__title,
  .app-grid .page-hero__text {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .app-grid .page-hero ul {
    text-align: left;
    max-width: 420px;
    margin-inline: auto;
  }
  .app-download {
    justify-content: center;
  }
  .phone-stage {
    min-height: 460px;
  }
  .phone-showcase {
    transform: scale(0.92);
    transform-origin: center top;
    min-height: 480px;
    padding-bottom: 64px;
  }
}

@media (max-width: 900px) {
  .phone-stage {
    min-height: 420px;
  }
  .phone-stage__badge--top {
    right: 0;
    top: 4%;
  }
  .phone-showcase {
    flex-direction: column;
    min-height: auto;
    gap: 24px;
    perspective: none;
    transform: none;
    padding-bottom: 24px;
  }
  .phone-device--left,
  .phone-device--right {
    margin: 0;
    transform: none;
    opacity: 1;
  }
  .phone-device--featured:not(.phone-device--left):not(.phone-device--right) {
    transform: none;
    order: -1;
  }
  .phone-showcase:hover .phone-device--left,
  .phone-showcase:hover .phone-device--right,
  .phone-showcase:hover .phone-device--featured:not(.phone-device--left):not(.phone-device--right) {
    transform: none;
  }
}

@media (max-width: 520px) {
  .phone-device__shell {
    width: 220px;
    padding: 10px;
    border-radius: 36px;
  }
  .phone-device--featured .phone-device__shell {
    width: 236px;
  }
  .phone-device__screen {
    border-radius: 28px;
  }
  .phone-stage__badge {
    display: none;
  }
}

/* Promo page */
.promo-hero-wheel {
  width: 100%;
  max-width: 360px;
  justify-self: center;
  position: relative;
  padding: 8px 0 4px;
}

.promo-hero-wheel::before {
  content: "";
  position: absolute;
  inset: 0 10% 40%;
  background: radial-gradient(ellipse at 50% 40%, rgba(var(--purple-rgb), 0.28) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.promo-hero-wheel > * {
  position: relative;
  z-index: 1;
}

@media (min-width: 1101px) {
  .app-grid .promo-hero-wheel {
    grid-column: 2;
    grid-row: 1;
  }
}

.promo-wheel-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 24px 20px 22px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
}

.promo-wheel-card__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.promo-wheel-card__badge {
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--purple-tint);
  background: rgba(var(--purple-dark-rgb), 0.2);
  border: 1px solid rgba(var(--purple-rgb), 0.28);
}

.promo-wheel-card__lead {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  color: var(--text-muted);
  max-width: 280px;
}

.fortune-wheel {
  position: relative;
  width: 292px;
  height: 292px;
  flex-shrink: 0;
}

.fortune-wheel__pin {
  position: absolute;
  top: -2px;
  left: 50%;
  z-index: 5;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-top: 20px solid var(--purple-dark);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.fortune-wheel__disk {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(var(--purple-dark-rgb), 0.15);
  transition: transform 4s cubic-bezier(0.2, 0.85, 0.25, 1);
  will-change: transform;
}

.fortune-wheel__disk--spinning {
  transition-timing-function: cubic-bezier(0.12, 0.8, 0.18, 1);
}

.fortune-wheel__label-arm {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.fortune-wheel__label {
  position: absolute;
  left: 50%;
  top: 16%;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.fortune-wheel__label--light {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.fortune-wheel__label--dark {
  color: var(--purple-darker);
}

.fortune-wheel__center {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid #fff;
  background: linear-gradient(160deg, var(--purple-dark) 0%, var(--purple-dark) 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(var(--purple-dark-rgb), 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.fortune-wheel__center:hover:not(:disabled) {
  transform: translate(-50%, -50%) scale(1.04);
  box-shadow: 0 8px 24px rgba(var(--purple-dark-rgb), 0.55);
}

.fortune-wheel__center:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  background: linear-gradient(160deg, #6b7280 0%, #4b5563 100%);
}

.promo-wheel__result-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  max-width: 290px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(var(--purple-rgb), 0.28);
  background: rgba(var(--purple-rgb), 0.1);
  text-align: center;
}

.promo-wheel__result-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.promo-wheel__result-code {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--purple-tint);
}

.promo-wheel__result-meta {
  font-size: 13px;
  color: var(--purple-light);
}

.promo-wheel__hint,
.promo-wheel__note {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
  max-width: 320px;
}

.promo-wheel__note--muted {
  opacity: 0.75;
  font-size: 12px;
}

.promo-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.promo-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.promo-filter:hover {
  border-color: var(--border-hover);
  color: var(--text);
}

.promo-filter--active {
  border-color: rgba(var(--purple-rgb), 0.45);
  background: rgba(var(--purple-rgb), 0.12);
  color: var(--text);
}

.promo-filter__count {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
}

.promo-filter--active .promo-filter__count {
  background: rgba(var(--purple-rgb), 0.25);
  color: var(--purple-light);
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.promo-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition);
}

.promo-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

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

.promo-card__code {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--purple-light);
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(var(--purple-rgb), 0.12);
  border: 1px dashed rgba(var(--purple-rgb), 0.35);
}

.promo-card__badge {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--gradient);
  white-space: nowrap;
}

.promo-card__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.promo-card__text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.promo-card__meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 12px;
  color: var(--text-muted);
}

.promo-card__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.promo-card__copy {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.promo-card__copy:hover {
  border-color: var(--border-hover);
  background: rgba(var(--purple-rgb), 0.08);
}

.promo-card__activate {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #0a0a0f;
  background: #fff;
  transition: var(--transition);
}

.promo-card__activate:hover {
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.promo-activated-banner {
  margin-bottom: 20px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(var(--purple-rgb), 0.35);
  background: rgba(var(--purple-rgb), 0.1);
  font-size: 14px;
  color: var(--text-muted);
}

.promo-activated-banner strong {
  color: var(--purple-light);
}

.faq__question-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.faq__category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--purple-light);
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(var(--purple-rgb), 0.12);
}

@media (max-width: 1100px) {
  .promo-hero-wheel {
    order: -1;
    max-width: none;
  }
  .contact-quick-panel {
    order: -1;
    max-width: none;
  }
}

/* Contacts page */
.contact-hero-list {
  margin-top: 20px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.contact-hero-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 14px;
  color: var(--text-muted);
}

.contact-hero-list strong {
  color: var(--text);
  font-weight: 600;
}

.contact-quick-panel {
  width: 100%;
  max-width: 360px;
  justify-self: center;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(var(--purple-rgb), 0.16) 0%, transparent 55%),
    var(--bg-card);
  box-shadow: 0 24px 64px rgba(var(--purple-dark-rgb), 0.18);
}

@media (min-width: 1101px) {
  .app-grid .contact-quick-panel {
    grid-column: 2;
    grid-row: 1;
  }
}

.contact-quick-panel__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.contact-quick-panel__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  transition: var(--transition);
}

.contact-quick-panel__item:hover {
  border-color: rgba(var(--purple-rgb), 0.35);
  background: rgba(var(--purple-rgb), 0.08);
}

.contact-quick-panel__item span {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-quick-panel__item strong {
  font-size: 15px;
  font-weight: 700;
}

.contact-quick-panel__note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-requisites {
  display: grid;
  gap: 12px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.contact-requisites__row {
  display: grid;
  grid-template-columns: minmax(140px, 220px) 1fr;
  gap: 12px 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.contact-requisites__row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-requisites__row span {
  color: var(--text-muted);
}

.contact-requisites__row strong {
  font-weight: 600;
  line-height: 1.5;
}

.contact-map-panel {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 24px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
}

.contact-map-panel__map {
  position: relative;
  min-height: 220px;
  border-radius: 16px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(var(--purple-rgb), 0.12) 0%, rgba(10, 10, 15, 0.9) 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 24px);
}

.contact-map-panel__pin {
  position: absolute;
  top: 42%;
  left: 52%;
  width: 18px;
  height: 18px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--purple);
  box-shadow: 0 0 0 8px rgba(var(--purple-rgb), 0.25);
}

.contact-map-panel__city {
  position: absolute;
  left: 16px;
  bottom: 16px;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: rgba(10, 10, 15, 0.72);
  border: 1px solid var(--border);
}

.contact-map-panel__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-map-panel__title {
  font-size: 22px;
  font-weight: 800;
}

.contact-map-panel__address {
  font-size: 15px;
  line-height: 1.6;
}

.contact-map-panel__note {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-map-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
}

.contact-schedule {
  display: grid;
  gap: 14px;
}

.contact-schedule__item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.contact-schedule__item h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.contact-schedule__item p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 520px;
}

.contact-schedule__hours {
  text-align: right;
  min-width: 160px;
}

.contact-schedule__hours strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--purple-light);
}

.contact-schedule__hours span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-muted);
}

/* FAQ page */
.faq-hero-bullets {
  margin-top: 20px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.faq-hero-bullets li {
  font-size: 14px;
  color: var(--text-muted);
}

.faq-hero-bullets li::before {
  content: "• ";
  color: var(--purple-light);
}

.faq-hero-chips {
  margin-top: 28px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.faq-hero-chips__btn {
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.faq-hero-chips__btn:hover,
.faq-hero-chips__btn--active {
  border-color: rgba(var(--purple-rgb), 0.35);
  background: rgba(var(--purple-rgb), 0.1);
  color: var(--text);
}

.faq-search {
  display: block;
  margin-bottom: 24px;
}

.faq-search input {
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 15;
}

.faq-search input:focus {
  outline: none;
  border-color: rgba(var(--purple-rgb), 0.45);
  box-shadow: 0 0 0 3px rgba(var(--purple-rgb), 0.12);
}

.faq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.tag--active {
  border-color: rgba(var(--purple-rgb), 0.35) !important;
  color: var(--text) !important;
  background: rgba(var(--purple-rgb), 0.1);
}

.faq-checks {
  display: grid;
  gap: 16px;
}

.faq-check-card {
  padding: 22px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.faq-check-card__step {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--purple-light);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(var(--purple-rgb), 0.12);
}

.faq-check-card__title {
  font-size: 18px;
  margin-bottom: 8px;
}

.faq-check-card__text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.faq-support-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  text-decoration: none;
  transition: var(--transition);
}

.faq-support-card:hover {
  border-color: rgba(var(--purple-rgb), 0.35);
  background: rgba(var(--purple-rgb), 0.08);
}

.faq-support-card span {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.faq-support-card strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.faq-cta-list {
  margin-top: 20px;
  padding: 0;
  list-style: none;
  text-align: left;
  max-width: 480px;
  margin-inline: auto;
}

.faq-cta-list li {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.faq-cta-list li::before {
  content: "• ";
  color: var(--purple-light);
}

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

/* Cabinet login card (unsubscribe page) */
.app-grid--cabinet {
  align-items: center;
}

.cabinet-login {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  padding: 22px 24px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 64px rgba(var(--purple-dark-rgb), 0.18);
}

.cabinet-login__header,
.cabinet-login__intro {
  text-align: center;
}

.cabinet-login__title {
  font-size: 21px;
  font-weight: 800;
  margin: 0 0 8px;
  line-height: 1.25;
}

.cabinet-login__sub {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

.cabinet-login__submit {
  margin-top: 4px;
}

/* ===== Cabinet page dynamics ===== */
body:has(.page--cabinet) .bg-aurora::after {
  background: rgba(7, 6, 13, 0.32);
}

body:has(.page--cabinet) .bg-aurora__orb {
  opacity: 0.4;
}

.page--cabinet {
  position: relative;
  overflow-x: clip;
}

.page--cabinet .page-back {
  position: relative;
  z-index: 2;
}

.cabinet-hero-zone {
  position: relative;
  margin-bottom: 8px;
}

.cabinet-hero-zone__content {
  position: relative;
  z-index: 2;
}

.cabinet-hero-scene {
  position: absolute;
  inset: -80px 0 auto;
  height: min(720px, 92vh);
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.cabinet-hero-scene__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}

.cabinet-hero-scene__glow--1 {
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  top: -80px;
  right: -60px;
  background: rgba(var(--purple-dark-rgb), 0.28);
  animation: glowDrift 9s ease-in-out infinite;
}

.cabinet-hero-scene__glow--2 {
  width: min(380px, 55vw);
  height: min(380px, 55vw);
  bottom: 40px;
  left: -80px;
  background: rgba(var(--purple-rgb), 0.2);
  animation: glowDrift 11s ease-in-out infinite reverse;
}

.cabinet-hero-scene__glow--3 {
  width: min(420px, 60vw);
  height: min(260px, 40vw);
  top: 38%;
  left: 42%;
  background: rgba(var(--purple-indigo-rgb), 0.16);
  animation: glowDrift 13s ease-in-out infinite;
  animation-delay: 1.5s;
}

.cabinet-hero-scene__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 35%, black 15%, transparent 72%);
}

.cabinet-hero-scene__tags {
  position: absolute;
  inset: 0;
}

.cabinet-hero-tag {
  position: absolute;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(var(--purple-rgb), 0.28);
  background: rgba(10, 10, 15, 0.55);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 600;
  color: rgba(233, 213, 255, 0.88);
  animation: tagFloat 3.4s ease-in-out infinite;
}

.cabinet-hero-tag:nth-child(1) {
  top: 18%;
  right: 8%;
}

.cabinet-hero-tag:nth-child(2) {
  top: 52%;
  right: 18%;
}

.cabinet-hero-tag:nth-child(3) {
  top: 34%;
  left: 4%;
}

.cabinet-hero-copy {
  padding-top: 0;
  text-align: left;
  max-width: none;
  margin: 0;
}

.cabinet-hero-copy__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cabinet-hero-copy__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 12px rgba(var(--purple-rgb), 0.9);
  animation: heroDot 2s ease-in-out infinite;
}

.cabinet-hero-copy .page-hero__title,
.cabinet-hero-copy .page-hero__text {
  text-align: left;
  margin-left: 0;
}

.cabinet-hero-bullets {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.cabinet-hero-bullets li {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.cabinet-hero-bullets li::before {
  content: "• ";
  color: var(--purple-light);
}

.cabinet-stat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.cabinet-stat-pill {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 118px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.cabinet-stat-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--purple-rgb), 0.35);
}

.cabinet-stat-pill strong {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cabinet-stat-pill span {
  font-size: 11px;
  color: var(--text-muted);
}

.cabinet-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.cabinet-live-strip {
  margin: 0 0 48px;
}

.cabinet-section {
  margin-top: 64px;
}

.cabinet-section__lead {
  margin-top: 12px;
  max-width: 720px;
  color: var(--text-muted);
  line-height: 1.6;
}

.cabinet-section__lead--center {
  margin-inline: auto;
  text-align: center;
}

.cabinet-section__cta {
  margin-top: 24px;
  display: inline-flex;
}

.cabinet-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

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

.cabinet-steps .cabinet-step {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.cabinet-steps .cabinet-step:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--purple-rgb), 0.32);
  box-shadow: 0 16px 40px rgba(var(--purple-dark-rgb), 0.12);
}

.cabinet-benefit-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
}

.cabinet-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(var(--purple-dark-rgb), 0.1);
}

.cabinet-benefit-card__cta {
  margin-top: 16px;
  display: inline-flex;
}

.cabinet-benefit-card--quote {
  border-left: 3px solid rgba(var(--purple-rgb), 0.45);
}

.cabinet-security-bullets {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  padding: 0;
  font-size: 13px;
  color: var(--purple-light);
}

.cabinet-promo {
  padding: 32px;
  border-radius: 20px;
  border: 1px solid rgba(var(--purple-rgb), 0.22);
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(var(--purple-rgb), 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 100% 100%, rgba(var(--purple-indigo-rgb), 0.1) 0%, transparent 55%),
    rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(14px);
}

.cabinet-cta {
  text-align: center;
}

.cabinet-cta__btn {
  margin-top: 24px;
  display: inline-flex;
}

.cabinet-partners {
  margin-top: 28px;
}

.cabinet-partner-card {
  flex-direction: column;
  align-items: stretch;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.cabinet-partner-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--purple-rgb), 0.28);
}

.cabinet-partner-card__head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cabinet-partner-card__btn {
  margin-top: 14px;
  text-align: center;
}

@media (max-width: 1100px) {
  .cabinet-hero-tag {
    display: none;
  }

  .cabinet-hero-scene {
    height: 520px;
  }
}

@media (max-width: 768px) {
  .cabinet-stat-pills {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cabinet-stat-pill {
    min-width: 0;
  }

  .cabinet-live-strip {
    margin-bottom: 32px;
  }
}

@media (min-width: 1101px) {
  .app-grid .cabinet-portal-stage {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (max-width: 768px) {
  .cabinet-portal__layout {
    grid-template-columns: 1fr;
  }

  .cabinet-portal__nav {
    flex-direction: row;
    flex-wrap: wrap;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .cabinet-portal-stage__badge {
    display: none;
  }
}

@media (max-width: 768px) {
  .contact-map-panel {
    grid-template-columns: 1fr;
  }
  .contact-requisites__row {
    grid-template-columns: 1fr;
    gap: 4p