/*
 * NEON POST — предварительный лендинг проекта (папка project-description).
 * Стиль: фирменный яркий NEON — неон-циан и маджента, стеклянные карточки,
 * фон-частицы и параллакс. Разметка и цвета — по образцу лендинга PANDA BANDA
 * (эталон парка), персонажи оттуда же.
 *
 * Слой общих примитивов (переменные темы, стеклянная карточка, неон-таблица,
 * кнопка «наверх», появление блоков при прокрутке) — общий для страниц парка;
 * ниже идёт разметка именно этой страницы. Имена классов разметки закреплены
 * за страницей: правка разметки и правка здесь идут парой.
 *
 * Автономия: чужих адресов нет, все значки и картинки — местные файлы рядом
 * (канон «полная автономия страниц»).
 * Номер сборки — единый источник, файл VERSION в корне проекта.
 */

/* ================= Тема: тёмная (основная) и светлая ================= */
:root {
  --bg: #05070D;
  --bg2: #0B0F1A;
  --panel: #0E1424;
  --line: #1E2A42;
  --neon: #00F0FF;
  --neon-soft: #7DF9FF;
  --neon-deep: #00B8CC;
  --magenta: #FF2E9A;
  --lime: #A6FF4D;
  --amber: #FFC24D;
  --blue: #4D8DFF;
  --violet: #A96BFF;
  --red: #FF5C5C;
  --mint: #2BE0B0;
  --text: #E6F1FF;
  --muted: #A9BBD9;

  --neon-rgb: 0, 240, 255;
  --neon-soft-rgb: 125, 249, 255;
  --neon-deep-rgb: 0, 184, 204;
  --magenta-rgb: 255, 46, 154;
  --lime-rgb: 166, 255, 77;
  --amber-rgb: 255, 194, 77;
  --blue-rgb: 77, 141, 255;
  --violet-rgb: 169, 107, 255;
  --red-rgb: 255, 92, 92;
  --mint-rgb: 43, 224, 176;
  --text-rgb: 230, 241, 255;
  --muted-rgb: 169, 187, 217;
  --bg-rgb: 5, 7, 13;
  --bg2-rgb: 11, 15, 26;

  --font-base: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-head: 'Segoe UI', system-ui, -apple-system, sans-serif;

  --radius-card: 20px;
  --radius-pill: 50px;
}

:root[data-theme="light"] {
  --bg: #F5F8FC;
  --bg2: #FFFFFF;
  --panel: #FFFFFF;
  --line: #D7E0EE;
  --neon: #00798F;
  --neon-soft: #1FA6BC;
  --neon-deep: #005C6E;
  --magenta: #C21B72;
  --lime: #3F7A00;
  --amber: #A86200;
  --blue: #1F55C7;
  --violet: #7A34C9;
  --red: #C22323;
  --mint: #0E7A63;
  --text: #0B0F1A;
  --muted: #4B5670;

  --neon-rgb: 0, 121, 143;
  --neon-soft-rgb: 31, 166, 188;
  --neon-deep-rgb: 0, 92, 110;
  --magenta-rgb: 194, 27, 114;
  --lime-rgb: 63, 122, 0;
  --amber-rgb: 168, 98, 0;
  --blue-rgb: 31, 85, 199;
  --violet-rgb: 122, 52, 201;
  --red-rgb: 194, 35, 35;
  --mint-rgb: 14, 122, 99;
  --text-rgb: 11, 15, 26;
  --muted-rgb: 75, 86, 112;
  --bg-rgb: 245, 248, 252;
  --bg2-rgb: 255, 255, 255;
}

/* ================= Основы страницы ================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 96px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

body {
  background: radial-gradient(1200px 600px at 70% -10%, rgba(var(--neon-rgb), .08), transparent 60%),
              radial-gradient(900px 500px at 10% 110%, rgba(var(--magenta-rgb), .07), transparent 60%),
              var(--bg);
  color: var(--text);
  font-family: var(--font-base);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
:root[data-theme="light"] body {
  background: radial-gradient(1200px 600px at 70% -10%, rgba(var(--neon-rgb), .05), transparent 60%),
              radial-gradient(900px 500px at 10% 110%, rgba(var(--magenta-rgb), .04), transparent 60%),
              var(--bg);
}

/* Меньше движения — по системной настройке человека */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Значки Lucide: размер задаётся по месту ---------- */
svg.lucide { width: 1.15rem; height: 1.15rem; stroke-width: 2; flex: 0 0 auto; }
.icon-large { width: 2rem; height: 2rem; }

/* ---------- Общая ширина страницы ---------- */
.container-custom { width: min(1180px, 92vw); margin-inline: auto; position: relative; }

/* ================= Шапка ================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  background: rgba(var(--bg-rgb), .72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background .3s, box-shadow .3s;
}
.site-header.is-scrolled { background: rgba(var(--bg-rgb), .92); box-shadow: 0 8px 30px rgba(0, 0, 0, .35); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 72px;
}
.brand-link { display: flex; align-items: center; gap: .75rem; }
.brand-icon {
  width: 46px; height: 46px; flex: 0 0 auto; border-radius: 13px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(var(--neon-rgb), .22), rgba(var(--magenta-rgb), .22));
  border: 1px solid rgba(var(--neon-rgb), .35);
  box-shadow: 0 0 18px rgba(var(--neon-rgb), .18);
}
/* Знак-лапа — из фирменной папки PANDA BANDA (обрезанный файл): лапа крупная,
   лишних отступов нет, поэтому знак занимает почти всё поле плитки (карточка №1264). */
.brand-icon img { width: 36px; height: 36px; object-fit: contain; }
.brand-name { display: block; font-weight: 800; letter-spacing: .12em; font-size: .95rem; }
.brand-tagline { display: block; font-size: .72rem; color: var(--muted); }

.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.nav-link { color: var(--muted); font-size: .9rem; font-weight: 600; transition: color .2s; }
.nav-link:hover { color: var(--neon); }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--line); background: transparent; color: var(--neon);
  display: flex; align-items: center; justify-content: center; transition: all .25s;
}
.icon-btn:hover { background: rgba(var(--neon-rgb), .12); border-color: rgba(var(--neon-rgb), .45); }
.icon-btn--nav { display: none; }
.icon-btn svg.lucide { width: 1.25rem; height: 1.25rem; }
.hero-badge svg.lucide, .section-tag svg.lucide, .ver-badge svg.lucide { width: 1rem; height: 1rem; }
.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: block; }

/* ================= Мобильное меню ================= */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; align-items: center; justify-content: center;
  background: rgba(var(--bg-rgb), .97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.mobile-menu.is-hidden { display: none; }
.mobile-menu__inner { position: relative; width: min(420px, 84vw); text-align: center; }
.mobile-menu__nav { display: flex; flex-direction: column; gap: 1.35rem; }
.mobile-menu__link { font-size: 1.25rem; font-weight: 700; color: var(--text); transition: color .2s; }
.mobile-menu__link:hover { color: var(--neon); }
.mobile-menu__close { position: absolute; top: -4rem; right: 0; }
/* ================= Первый экран: фон, частицы, знак, заголовок ================= */
.hero-landing {
  position: relative; overflow: hidden; text-align: center;
  padding: 9rem 0 5rem;
}
.hero-landing__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-landing__bg img {
  width: 100%; height: 130%; object-fit: cover;
  opacity: .3; filter: saturate(1.15) contrast(1.05);
  will-change: transform;
}
.hero-landing__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(var(--bg-rgb), .55) 0%, rgba(var(--bg-rgb), .82) 62%, var(--bg) 100%);
}
.particles-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 1; pointer-events: none;
}
.hero-landing__inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; padding: 0 4vw; }

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1.1rem;
  border-radius: var(--radius-pill); border: 1px solid rgba(var(--neon-rgb), .3);
  background: rgba(var(--neon-rgb), .06); font-size: .8rem; color: var(--neon);
  margin-bottom: 1.8rem;
}
.hero-badge .pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--neon);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(1.25); } }

.hero-landing h1 {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4.6vw, 3.3rem); font-weight: 800;
  line-height: 1.15; margin-bottom: 1.4rem;
}
.gradient-text {
  background: linear-gradient(135deg, var(--neon), var(--magenta));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--magenta);
}
.hero-subtitle {
  color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.7; margin-bottom: 2.2rem;
}
.hero-subtitle em { color: var(--neon-soft); font-style: normal; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* Показатели первого экрана: четыре плитки */
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  margin-top: 3rem;
}
.hero-stat {
  padding: 1.1rem .8rem; border-radius: 16px;
  border: 1px solid rgba(var(--neon-rgb), .18);
  background: rgba(var(--bg2-rgb), .5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero-stat b {
  display: block; font-size: 1.6rem; font-weight: 800; line-height: 1.1;
  background: linear-gradient(135deg, var(--neon), var(--magenta));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--neon);
}
.hero-stat span { display: block; font-size: .78rem; color: var(--muted); margin-top: .25rem; }

/* ================= Кнопки ================= */
.btn-primary, .btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.5rem; border-radius: 12px; font-weight: 600;
  font-size: .95rem; transition: all .22s;
}
.btn-primary svg.lucide, .btn-outline svg.lucide { width: 1.05rem; height: 1.05rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--neon), var(--neon-deep));
  color: var(--bg);
  box-shadow: 0 10px 28px rgba(var(--neon-rgb), .28);
}
.btn-primary:hover { background: var(--neon-soft); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid var(--neon); color: var(--neon); }
.btn-outline:hover { background: rgba(var(--neon-rgb), .1); transform: translateY(-2px); }

/* ================= Разделы страницы ================= */
.landing-section { position: relative; overflow: hidden; padding: 5.5rem 0; }
.landing-section + .landing-section { border-top: 1px solid var(--line); }
.landing-section::before {
  content: ''; position: absolute; top: -120px; right: -120px; width: 360px; height: 360px;
  border-radius: 50%; background: radial-gradient(circle, rgba(var(--neon-rgb), .1), transparent 70%);
  pointer-events: none; z-index: 0;
}
.landing-section--magenta::before {
  background: radial-gradient(circle, rgba(var(--magenta-rgb), .1), transparent 70%);
  top: auto; bottom: -120px; right: auto; left: -120px;
}
/* Фоны разделов: у каждого раздела — своя картинка и своя подача (место,
   размер, прозрачность). Повторов нет; картинки — местные копии, сжаты
   под загрузку (папка assets/img/sections/, канон «полная автономия»). */
.landing-section--bg-warm::after,
.landing-section--bg-cole::after,
.landing-section--bg-cold::after,
.landing-section--bg-marcus::after,
.landing-section--bg-cold-v2::after,
.landing-section--bg-percy::after,
.landing-section--bg-minta::after,
.landing-section--bg-paw::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: var(--section-img);
  background-position: var(--section-img-pos, center);
  background-size: var(--section-img-size, cover);
  background-repeat: no-repeat;
  opacity: var(--section-img-opacity, .12);
  filter: saturate(1.12);
}
.landing-section--bg-warm {
  --section-img: url('../img/sections/logo-neon-warm.webp');
  --section-img-size: 34rem; --section-img-pos: right -6rem top -4rem; --section-img-opacity: .14;
}
.landing-section--bg-cole {
  --section-img: url('../img/sections/work-cole.webp');
  --section-img-size: cover; --section-img-pos: 30% 35%; --section-img-opacity: .12;
}
.landing-section--bg-cold {
  --section-img: url('../img/sections/logo-neon-cold.webp');
  --section-img-size: 32rem; --section-img-pos: left -7rem bottom -5rem; --section-img-opacity: .13;
}
.landing-section--bg-marcus {
  --section-img: url('../img/sections/work-marcus.webp');
  --section-img-size: cover; --section-img-pos: 72% 45%; --section-img-opacity: .12;
}
.landing-section--bg-cold-v2 {
  --section-img: url('../img/sections/logo-neon-cold-v2.webp');
  --section-img-size: 42rem; --section-img-pos: center -8rem; --section-img-opacity: .1;
}
.landing-section--bg-percy {
  --section-img: url('../img/sections/work-percy.webp');
  --section-img-size: cover; --section-img-pos: 85% 100%; --section-img-opacity: .13;
}
.landing-section--bg-minta {
  --section-img: url('../img/sections/work-minta.webp');
  --section-img-size: cover; --section-img-pos: 38% 20%; --section-img-opacity: .12;
}
.landing-section--bg-paw {
  --section-img: url('../img/sections/icon-paw-neon.webp');
  --section-img-size: 24rem; --section-img-pos: left -5rem top 18%; --section-img-opacity: .11;
}
/* Светлая тема: те же картинки, но глуше — светлое поле их «выбеливает». */
:root[data-theme="light"] .landing-section--bg-warm::after,
:root[data-theme="light"] .landing-section--bg-cole::after,
:root[data-theme="light"] .landing-section--bg-cold::after,
:root[data-theme="light"] .landing-section--bg-marcus::after,
:root[data-theme="light"] .landing-section--bg-cold-v2::after,
:root[data-theme="light"] .landing-section--bg-percy::after,
:root[data-theme="light"] .landing-section--bg-minta::after,
:root[data-theme="light"] .landing-section--bg-paw::after {
  opacity: calc(var(--section-img-opacity) * .62);
  filter: saturate(1.05) contrast(1.1);
}
.landing-section > * { position: relative; z-index: 2; }

.section-header { text-align: center; max-width: 780px; margin: 0 auto 3rem; }
.section-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .35rem 1rem; border-radius: var(--radius-pill);
  border: 1px solid rgba(var(--neon-rgb), .3);
  font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
  color: var(--neon); margin-bottom: 1rem;
}
.section-tag--magenta { color: var(--magenta); border-color: rgba(var(--magenta-rgb), .35); }
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; line-height: 1.2;
  margin-bottom: .7rem;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .75rem;
}
/* Крупный значок заголовка блока со свечением (требование Босса: значки
   в заголовках — крупнее). */
.section-title .icon-large {
  width: 2.6rem; height: 2.6rem; stroke-width: 1.8;
  color: var(--neon);
  filter: drop-shadow(0 0 10px rgba(var(--neon-rgb), .45));
}
/* Текст заголовка блока — неоновым градиентом (требование Босса). */
.section-title .gradient-text { min-width: 0; }
.section-subtitle { color: var(--muted); line-height: 1.6; font-size: 1rem; }

/* ================= Сетки карточек ================= */
.grid { display: grid; gap: 1.5rem; }
/* Блок из четырёх карточек — строго 2×2 (требование Босса) */
.grid-4 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid + .grid { margin-top: 2.4rem; }
.grid > .card-icon, .grid > h3, .grid > p { grid-column: 1 / -1; }

/* ================= Стеклянная карточка (общий примитив) ================= */
.glass-card {
  position: relative;
  isolation: isolate;
  background: rgba(var(--bg2-rgb), .55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(var(--neon-rgb), .15);
  border-radius: var(--radius-card);
  padding: 1.9rem;
  overflow: hidden;
  transition: transform .4s cubic-bezier(.4, 0, .2, 1), border-color .4s, box-shadow .4s, background .4s;
}
.glass-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--neon), var(--magenta)); opacity: .7;
}
.glass-card::after {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(var(--text-rgb), .04) 0%, transparent 60%);
  opacity: 0; transition: opacity .6s; pointer-events: none;
}
.glass-card .shine {
  position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(var(--text-rgb), .05), transparent);
  transition: left .7s; pointer-events: none;
}
.glass-card:hover {
  transform: translateY(-8px);
  border-color: rgba(var(--neon-rgb), .4);
  box-shadow: 0 20px 50px rgba(var(--neon-rgb), .1);
  background: rgba(var(--bg2-rgb), .7);
}
.glass-card:hover::after { opacity: 1; }
.glass-card:hover .shine { left: 150%; }
:root[data-theme="light"] .glass-card { box-shadow: 0 4px 20px rgba(11, 15, 26, .06); }
.glass-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .55rem; line-height: 1.35; }
.glass-card p { font-size: .88rem; color: var(--muted); line-height: 1.6; }
.glass-card b { color: var(--text); font-weight: 700; }

/* Крупный значок карточки в цветной плашке.
   Палитра значков карточек — восемь разных неоновых цветов (требование Босса:
   в карточках одного экрана/секции цвета не повторяются): основной циан,
   маджента, лайм, амбер, синий, фиолетовый, красный, бирюзовый. */
.card-icon {
  width: 58px; height: 58px; border-radius: 18px; margin-bottom: 1.15rem;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(var(--neon-rgb), .16), rgba(var(--neon-rgb), .06));
  border: 1px solid rgba(var(--neon-rgb), .25);
  color: var(--neon);
  box-shadow: 0 0 24px rgba(var(--neon-rgb), .14);
}
.card-icon .icon-large { width: 1.7rem; height: 1.7rem; }
.card-icon--magenta {
  background: linear-gradient(135deg, rgba(var(--magenta-rgb), .2), rgba(var(--magenta-rgb), .07));
  border-color: rgba(var(--magenta-rgb), .3); color: var(--magenta);
  box-shadow: 0 0 24px rgba(var(--magenta-rgb), .16);
}
.card-icon--lime {
  background: linear-gradient(135deg, rgba(var(--lime-rgb), .2), rgba(var(--lime-rgb), .07));
  border-color: rgba(var(--lime-rgb), .32); color: var(--lime);
  box-shadow: 0 0 24px rgba(var(--lime-rgb), .16);
}
.card-icon--amber {
  background: linear-gradient(135deg, rgba(var(--amber-rgb), .2), rgba(var(--amber-rgb), .07));
  border-color: rgba(var(--amber-rgb), .32); color: var(--amber);
  box-shadow: 0 0 24px rgba(var(--amber-rgb), .16);
}
.card-icon--blue {
  background: linear-gradient(135deg, rgba(var(--blue-rgb), .2), rgba(var(--blue-rgb), .07));
  border-color: rgba(var(--blue-rgb), .32); color: var(--blue);
  box-shadow: 0 0 24px rgba(var(--blue-rgb), .16);
}
.card-icon--violet {
  background: linear-gradient(135deg, rgba(var(--violet-rgb), .2), rgba(var(--violet-rgb), .07));
  border-color: rgba(var(--violet-rgb), .32); color: var(--violet);
  box-shadow: 0 0 24px rgba(var(--violet-rgb), .16);
}
.card-icon--red {
  background: linear-gradient(135deg, rgba(var(--red-rgb), .2), rgba(var(--red-rgb), .07));
  border-color: rgba(var(--red-rgb), .32); color: var(--red);
  box-shadow: 0 0 24px rgba(var(--red-rgb), .16);
}
.card-icon--mint {
  background: linear-gradient(135deg, rgba(var(--mint-rgb), .2), rgba(var(--mint-rgb), .07));
  border-color: rgba(var(--mint-rgb), .32); color: var(--mint);
  box-shadow: 0 0 24px rgba(var(--mint-rgb), .16);
}

/* ================= Команда: четыре голоса, 2×2 ================= */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.team-card { text-align: center; display: flex; flex-direction: column; height: 100%; }
.team-card .card-icon { margin: 0 auto 1rem; width: 50px; height: 50px; border-radius: 15px; }
.team-card .card-icon .icon-large { width: 1.45rem; height: 1.45rem; }
.team-card__avatar {
  width: 86px; height: 86px; border-radius: 50%; object-fit: cover;
  margin: 0 auto .9rem; flex: 0 0 auto;
  border: 2px solid rgba(var(--neon-rgb), .5);
  box-shadow: 0 0 20px rgba(var(--neon-rgb), .3);
  animation: avatar-float 4s ease-in-out infinite;
}
@keyframes avatar-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.team-card h3 { font-size: 1.15rem; margin-bottom: .2rem; }
.team-card__role {
  display: block; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--neon); margin-bottom: .8rem;
}
.team-card__focus { font-size: .86rem; color: var(--muted); line-height: 1.6; margin-bottom: 1rem; }
.team-card__quote {
  font-size: .84rem; font-style: italic; color: var(--text); opacity: .9;
  border-left: 2px solid var(--neon); padding-left: .8rem; text-align: left;
  margin-top: auto;
}
/* Свой цвет у каждого голоса: Marcus — неон, Cole — маджента, Percy — лайм, Minta — янтарь */
.team-card--marcus .team-card__avatar { border-color: rgba(var(--neon-rgb), .5); box-shadow: 0 0 20px rgba(var(--neon-rgb), .3); }
.team-card--marcus .team-card__role { color: var(--neon); }
.team-card--cole .team-card__avatar { border-color: rgba(var(--magenta-rgb), .55); box-shadow: 0 0 20px rgba(var(--magenta-rgb), .3); }
.team-card--cole .team-card__role, .team-card--cole .team-card__quote { color: var(--magenta); }
.team-card--cole .team-card__quote { border-left-color: var(--magenta); }
.team-card--percy .team-card__avatar { border-color: rgba(var(--lime-rgb), .5); box-shadow: 0 0 20px rgba(var(--lime-rgb), .28); }
.team-card--percy .team-card__role, .team-card--percy .team-card__quote { color: var(--lime); }
.team-card--percy .team-card__quote { border-left-color: var(--lime); }
.team-card--minta .team-card__avatar { border-color: rgba(var(--amber-rgb), .55); box-shadow: 0 0 20px rgba(var(--amber-rgb), .3); }
.team-card--minta .team-card__role, .team-card--minta .team-card__quote { color: var(--amber); }
.team-card--minta .team-card__quote { border-left-color: var(--amber); }
.team-card__focus { flex: 0 0 auto; }

/* ================= Путь статьи: восемь шагов ================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.step {
  position: relative; display: flex; align-items: flex-start; gap: .9rem;
  padding: 1.4rem 1.25rem; border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(var(--bg2-rgb), .5);
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.step:hover { transform: translateY(-6px); border-color: rgba(var(--neon-rgb), .35); box-shadow: 0 16px 36px rgba(var(--neon-rgb), .08); }
.step__num {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; font-weight: 800;
  background: linear-gradient(135deg, var(--neon), var(--magenta)); color: var(--bg);
}
.step h4 { font-size: .98rem; font-weight: 700; margin-bottom: .3rem; line-height: 1.3; }
.step p { font-size: .85rem; color: var(--muted); line-height: 1.55; }

/* ================= Перечень функций: группы и таблицы ================= */
.panel-group { margin-bottom: 2.4rem; }
.panel-group:last-child { margin-bottom: 0; }
.panel-group__title {
  display: flex; align-items: center; gap: .7rem;
  font-size: 1.15rem; font-weight: 700; color: var(--neon);
  margin-bottom: .9rem;
}
/* Заголовок группы в перечне функций: значок крупнее, текст — градиентом. */
.panel-group__title .icon-large {
  width: 1.8rem; height: 1.8rem; stroke-width: 1.8;
  filter: drop-shadow(0 0 8px rgba(var(--neon-rgb), .4));
}
.panel-group__title .gradient-text { min-width: 0; }
.table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); }
.neon-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 640px; }
.neon-table thead th {
  background: rgba(var(--neon-rgb), .08); padding: 1rem 1.25rem; text-align: left;
  font-weight: 700; color: var(--neon); border-bottom: 1px solid var(--line); white-space: nowrap;
}
.neon-table tbody tr { border-bottom: 1px solid var(--line); }
.neon-table tbody tr:last-child { border-bottom: none; }
.neon-table tbody tr:hover { background: rgba(var(--neon-rgb), .03); }
.neon-table tbody td { padding: .9rem 1.25rem; color: var(--muted); vertical-align: top; }
.neon-table tbody td:first-child { color: var(--text); font-weight: 600; white-space: nowrap; }

/* ================= Пояснение под карточками ================= */
.note-card {
  margin-top: 1.6rem; padding: 1.1rem 1.35rem;
  border-left: 3px solid var(--neon); border-radius: 0 14px 14px 0;
  background: rgba(var(--neon-rgb), .06);
  color: var(--muted); font-size: .9rem; line-height: 1.6;
}
.note-card b { color: var(--text); }

/* ================= Призыв в конце ================= */
.join-block {
  text-align: center; max-width: 780px; margin: 0 auto; padding: 3rem 2rem;
  border-radius: 26px; border: 1px solid rgba(var(--neon-rgb), .25);
  background: linear-gradient(135deg, rgba(var(--neon-rgb), .1), rgba(var(--magenta-rgb), .1));
}
.join-block .section-title { margin-bottom: .7rem; }
.join-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 1.8rem; }
.join-note {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.4rem;
  padding: .7rem 1.2rem; border-radius: 12px; border: 1px dashed var(--line);
  color: var(--muted); font-size: .86rem;
}

/* ================= Подвал ================= */
.site-footer { border-top: 1px solid var(--line); padding: 2.4rem 0 1.8rem; margin-top: 1rem; }
.site-footer__inner {
  display: flex; flex-wrap: wrap; gap: .8rem 2rem;
  align-items: center; justify-content: space-between;
  color: var(--muted); font-size: .88rem;
}
.ver-badge {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .4rem 1rem; border-radius: var(--radius-pill);
  border: 1px solid rgba(var(--neon-rgb), .3); color: var(--neon);
  font-size: .82rem; font-weight: 700;
}

/* ================= Кнопка «наверх» ================= */
.scroll-top-btn {
  position: fixed; bottom: 2rem; right: 2rem; width: 46px; height: 46px; border-radius: 50%;
  background: var(--panel); border: 1px solid rgba(var(--neon-rgb), .3); color: var(--neon);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  opacity: 0; pointer-events: none; transition: all .3s; z-index: 60;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
}
.scroll-top-btn.is-visible { opacity: 1; pointer-events: all; }
.scroll-top-btn:hover { background: var(--neon); color: var(--bg); transform: translateY(-3px); }

/* ================= Появление блоков при прокрутке =================
   Класс активности вешает обвязка страницы (shared/frontend/page-chrome),
   по умолчанию — «active»; «is-visible» оставлен для совместимости. */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.5, 0, 0, 1), transform .8s cubic-bezier(.5, 0, 0, 1); }
.reveal.active, .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ================= Экранная адаптация ================= */
@media (max-width: 1080px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .site-nav { display: none; }
  .icon-btn--nav { display: flex; }
  .hero-landing { padding: 7.5rem 0 4rem; }
  .landing-section { padding: 4rem 0; }
  /* Фоны разделов на узком экране — мельче и глуше: место дорого, вес тот же. */
  .landing-section--bg-warm, .landing-section--bg-cole, .landing-section--bg-cold,
  .landing-section--bg-marcus, .landing-section--bg-cold-v2, .landing-section--bg-percy,
  .landing-section--bg-minta, .landing-section--bg-paw { --section-img-size: 26rem; --section-img-opacity: .08; }
  .section-header { margin-bottom: 2.2rem; }
  .grid-4, .team-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); margin-top: 2.4rem; }
}
@media (max-width: 640px) {
  .hero-landing { padding: 6.5rem 0 3.2rem; }
  .landing-section { padding: 3.2rem 0; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .glass-card { padding: 1.5rem; }
  .step { padding: 1.15rem 1rem; }
  .join-block { padding: 2.2rem 1.3rem; }
  .note-card { padding: 1rem; }
  .section-title { gap: .45rem; }
  .section-title .icon-large { width: 2rem; height: 2rem; }
  .scroll-top-btn { bottom: 1.2rem; right: 1.2rem; }
}
@media (max-width: 400px) {
  .hero-stats { grid-template-columns: 1fr; }
}
