/* ============================================================
   Vintage — редизайн (независимая тема)
   ============================================================ */

:root {
  --bg: #090305;
  --bg-2: #120608;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --accent: #ff3b5c;
  --accent-2: #be123c;
  --accent-soft: rgba(255, 59, 92, 0.14);
  --accent-rgb: 255, 59, 92;

  --text: #f5f5fa;
  --text-dim: rgba(245, 245, 250, 0.66);
  --text-faint: rgba(245, 245, 250, 0.45);

  --radius: 18px;
  --radius-sm: 12px;

  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Manrope', system-ui, sans-serif;

  --shadow-glow: 0 0 0 1px rgba(255, 59, 92, 0.25), 0 12px 40px -12px rgba(190, 18, 60, 0.45);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-padding-top: 90px;
  scrollbar-width: none;
  overflow-x: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  scrollbar-width: none;
}

body::-webkit-scrollbar {
  display: none;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

img,
svg {
  -webkit-user-drag: none;
  user-select: none;
}

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

button {
  font: inherit;
  cursor: pointer;
}

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

.app {
  min-height: 100vh;
  background: var(--bg);
}

.container {
  width: min(1200px, 100% - 48px);
  margin: 0 auto;
}

/* ============================================================
   Кнопки
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn svg {
  flex-shrink: 0;
}

.btn--lg {
  height: 52px;
  padding: 0 26px;
  font-size: 15.5px;
  border-radius: 14px;
}

.btn--sm {
  height: 38px;
  padding: 0 16px;
  font-size: 13.5px;
}

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 30px -10px rgba(255, 59, 92, 0.55);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn--ghost {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border-strong);
}

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

.btn--glass {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.btn--glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ============================================================
   Логотип
   ============================================================ */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo__mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 24px -8px rgba(255, 59, 92, 0.7);
  overflow: hidden;
}

.logo__img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  object-fit: cover;
  box-shadow: 0 8px 24px -8px rgba(255, 59, 92, 0.7);
}

.logo__svg {
  display: block;
  flex-shrink: 0;
}

.logo__mark-icon {
  width: 26px;
  height: 26px;
  background: #fff;
  -webkit-mask: url("../assets/mark.svg") center / contain no-repeat;
  mask: url("../assets/mark.svg") center / contain no-repeat;
}

.logo__text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* ============================================================
   Шапка — плавающая закруглённая панель
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 16px 16px 0;
  background: transparent;
  border: none;
  pointer-events: none;
}

.site-header > * {
  pointer-events: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 1024px;
  height: 60px;
  padding: 0 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(135deg, rgba(8, 8, 14, 0.6), rgba(13, 13, 20, 0.6), rgba(8, 8, 14, 0.6));
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: none;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled .header-inner {
  border-color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(8, 8, 14, 0.92), rgba(13, 13, 20, 0.92), rgba(8, 8, 14, 0.92));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 8px 32px rgba(0, 0, 0, 0.4);
}

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

.nav__link {
  position: relative;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-dim);
  transition: color 0.18s ease, background 0.18s ease;
}

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

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

/* Бургер (мобилка) */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0 11px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
}

.burger__line {
  display: block;
  height: 2px;
  width: 18px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.burger--open .burger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger--open .burger__line:nth-child(2) {
  opacity: 0;
}

.burger--open .burger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Мобильное меню */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 26px;
  background: rgba(8, 8, 14, 0.96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.mobile-menu--open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu__link {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--text-dim);
  transition: color 0.18s ease;
}

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

.mobile-menu__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

/* ============================================================
   Герой (та же картинка, новый вид)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 140px 0 120px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-color: var(--bg);
  background-image:
    linear-gradient(to bottom, rgba(8, 8, 14, 0.4) 0%, rgba(8, 8, 14, 0.5) 30%, rgba(8, 8, 14, 0.75) 55%, rgba(8, 8, 14, 0.95) 70%, var(--bg) 80%),
    linear-gradient(to right, rgba(8, 8, 14, 0.98) 0%, rgba(8, 8, 14, 0.72) 9%, rgba(8, 8, 14, 0.25) 26%, rgba(8, 8, 14, 0) 42%, rgba(8, 8, 14, 0) 58%, rgba(8, 8, 14, 0.35) 76%, rgba(8, 8, 14, 0.85) 90%, rgba(8, 8, 14, 0.98) 100%),
    url("../fone.gif");
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero__glow,
.hero__glow--one,
.hero__glow--two {
  display: none !important;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  margin-bottom: 26px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dim);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(255, 59, 92, 0.9);
  animation: pulse-dot 2.2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 4px rgba(255, 59, 92, 0.6); }
  50% { box-shadow: 0 0 16px rgba(255, 59, 92, 1); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 76px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}

.text-gradient {
  background: linear-gradient(120deg, #fecdd3, #ff3b5c 55%, #ffe4e6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero__subtitle {
  max-width: 640px;
  margin: 0 auto 34px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-dim);
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 1;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
  animation: hero-bounce 1.9s ease-in-out infinite;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.hero__scroll:hover {
  color: #fff;
  border-color: var(--border-strong);
}

.hero__scroll svg {
  width: 20px;
  height: 20px;
}

@keyframes hero-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(7px); }
}

/* ============================================================
   Секции
   ============================================================ */
.section {
  padding: 120px 0;
}

.section--features {
  position: relative;
  background: var(--bg);
}

.section--features::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 320px;
  background: radial-gradient(ellipse at center, rgba(255, 59, 92, 0.08), transparent 70%);
  pointer-events: none;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 60px;
  text-align: center;
}

.section-head__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 59, 92, 0.35);
  background: var(--accent-soft);
  color: #fecdd3;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.section-head__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-head__subtitle {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text-dim);
}

/* ============================================================
   Карточки преимуществ
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-2);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 59, 92, 0.4);
  background: rgba(255, 255, 255, 0.045);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-soft), rgba(190, 18, 60, 0.08));
  border: 1px solid rgba(255, 59, 92, 0.3);
  color: #fecdd3;
}

.feature-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.feature-card__note {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-faint);
}

.feature-card--cta {
  justify-content: center;
  gap: 12px;
  background: linear-gradient(160deg, rgba(255, 59, 92, 0.16), rgba(190, 18, 60, 0.06));
  border-color: rgba(255, 59, 92, 0.35);
}

.feature-card--cta .feature-card__note {
  margin-bottom: 8px;
}

.feature-card--cta .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* ============================================================
   Медиа
   ============================================================ */
.section--media {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.media-card {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.media-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 59, 92, 0.45);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 59, 92, 0.2);
}

.media-card__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6) saturate(1.05);
  transition: transform 0.6s ease, filter 0.4s ease;
}

.media-card:hover .media-card__poster {
  transform: scale(1.05);
  filter: brightness(0.72) saturate(1.1);
}

.media-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 8, 14, 0.85), rgba(8, 8, 14, 0.1) 55%, rgba(8, 8, 14, 0.25));
  pointer-events: none;
}

.media-card__chip {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(8, 8, 14, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.media-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 34px -10px rgba(255, 59, 92, 0.8);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-card:hover .media-card__play {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 16px 44px -10px rgba(255, 59, 92, 0.95);
}

.media-card__play svg {
  width: 24px;
  height: 24px;
  transform: translateX(1px);
}

.media-card__label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

/* ============================================================
   Галерея скриншотов (карусель)
   ============================================================ */
.gallery {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
}

.gallery__viewport {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
}

.gallery__track {
  display: flex;
  align-items: flex-start;
  transition: transform 0.55s cubic-bezier(0.32, 0.72, 0.25, 1);
}

.gallery__slide {
  flex: 0 0 100%;
  min-width: 0;
  overflow: hidden;
  background: var(--bg);
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(1.05);
}

.gallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 8, 14, 0.55);
  color: var(--text);
  cursor: pointer;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.gallery__arrow:hover {
  background: rgba(190, 18, 60, 0.28);
  border-color: rgba(255, 59, 92, 0.5);
  transform: translateY(-50%) scale(1.08);
}

.gallery__arrow--prev {
  left: -64px;
}

.gallery__arrow--next {
  right: -64px;
}

.gallery__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.gallery__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}

.gallery__dot.is-active {
  width: 24px;
  background: var(--accent);
}

/* ============================================================
   Компаратор (before/after): Click GUI vs HUD
   ============================================================ */
.compare {
  position: relative;
  margin: 0 auto;
  max-width: 920px;
}

.compare__frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  aspect-ratio: 16 / 10;
  -webkit-user-select: none;
  user-select: none;
  cursor: ew-resize;
  touch-action: pan-y;
}

.compare__base,
.compare__top {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.compare__top {
  clip-path: inset(0 0 0 50%);
}

.compare__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  filter: saturate(1.05);
}

.compare__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-1px);
  background: var(--accent);
  z-index: 3;
  pointer-events: none;
}

.compare__line::before,
.compare__line::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 12px;
  background: var(--accent);
  opacity: 0.6;
}

.compare__line::before {
  top: 0;
}

.compare__line::after {
  bottom: 0;
}

.compare__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  border: none;
  box-shadow: 0 10px 30px -10px rgba(255, 59, 92, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.compare__frame:hover .compare__handle {
  box-shadow: var(--shadow-glow);
}

.compare__handle svg {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

/* Компаратор как первый слайд галереи */
.gallery__slide[data-split-slide] {
  display: flex;
}

.gallery__slide[data-split-slide] .compare {
  position: relative;
  margin: 0;
  max-width: none;
  width: 100%;
}

.gallery__slide[data-split-slide] .compare__frame {
  width: 100%;
  border: none;
  border-radius: 0;
}

/* ============================================================
   Футер
   ============================================================ */
.site-footer {
  background: var(--bg);
  padding: 72px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.footer-brand__desc {
  margin: 16px 0 20px;
  max-width: 340px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-faint);
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-dim);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-social:hover {
  color: #fff;
  border-color: rgba(255, 59, 92, 0.5);
  transform: translateY(-2px);
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-col__title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.footer-col__link {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-faint);
  transition: color 0.18s ease;
}

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

.footer-support {
  position: relative;
}

.footer-support__trigger {
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
}

.footer-support__trigger--open {
  color: #fff;
}

.footer-support__menu {
  position: absolute;
  left: 0;
  bottom: calc(100% + 12px);
  z-index: 30;
  width: min(280px, calc(100vw - 32px));
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: rgba(20, 20, 30, 0.97);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  opacity: 0;
  transform: translateY(6px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.footer-support__menu--open {
  opacity: 1;
  transform: translateZ(0) scale(1);
  pointer-events: auto;
}

.footer-support__option {
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-dim);
  background: var(--surface);
  transition: background 0.18s ease, color 0.18s ease;
}

.footer-support__option:hover {
  background: var(--accent-soft);
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  font-size: 13px;
  color: var(--text-faint);
}

.footer-bottom__credit {
  color: var(--text-faint);
}

/* ============================================================
   Reveal
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   Адаптивность
   ============================================================ */
@media (max-width: 980px) {
  .nav__link {
    padding: 9px 10px;
    font-size: 14px;
  }

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, 1200px);
  }

  .header-inner {
    height: 54px;
    padding: 0 12px;
  }

  .nav,
  .header-actions {
    display: none;
  }

  .burger {
    display: inline-flex;
  }

  .hero {
    min-height: 100vh;
    padding: 120px 0 100px;
  }

  .hero__title {
    font-size: clamp(34px, 9vw, 48px);
  }

  .section {
    padding: 80px 0;
  }

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

  .features-grid,
  .media-grid {
    grid-template-columns: 1fr;
  }

  .media-grid {
    gap: 18px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .btn--ghost span {
    display: none;
  }

  .btn--ghost {
    width: 42px;
    padding: 0;
  }

  .hero__actions .btn--lg {
    width: 100%;
  }
}

/* ============================================================
   Авторизация (виджет в шапке + страницы входа/регистрации)
   ============================================================ */
[hidden] {
  display: none !important;
}

.auth-user {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.auth-user__info {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.auth-user__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(255, 59, 92, 0.28), rgba(190, 18, 60, 0.28));
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.auth-user__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auth-user__name {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.auth-user .btn--ghost,
.mobile-menu__actions .btn--ghost {
  width: auto;
  padding: 0 16px;
}

.auth-user .btn--ghost span {
  display: inline;
}

.mobile-menu__actions .auth-user {
  flex-direction: column;
  gap: 14px;
}

.mobile-menu__actions .auth-user__name {
  max-width: 220px;
  font-size: 17px;
}

/* --- Страницы входа/регистрации --- */
.auth-page {
  min-height: 100vh;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.auth-split {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}

.auth-visual {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  padding: 56px;
  background:
    linear-gradient(to bottom, rgba(8, 8, 14, 0.25) 0%, rgba(8, 8, 14, 0.35) 55%, rgba(8, 8, 14, 0.92) 100%),
    url("../assets/background.jpg") center / cover no-repeat;
  animation: auth-fade 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.auth-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 14, 0.35);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  pointer-events: none;
}

.auth-visual__brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
}

.auth-visual__logo {
  position: relative;
  z-index: 1;
  width: 62px;
  height: 62px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.6);
}

.auth-visual__svg {
  position: relative;
  z-index: 1;
  display: block;
  flex-shrink: 0;
}

.auth-visual__title {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(38px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.auth-visual__tagline {
  position: relative;
  z-index: 1;
  max-width: 320px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(245, 245, 250, 0.75);
}

.auth-form-side {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
  background: var(--bg);
}

.auth-form-side::before {
  content: '';
  position: absolute;
  top: -140px;
  right: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(190, 18, 60, 0.08);
  filter: blur(110px);
  pointer-events: none;
}

.auth-form-side .auth-shell {
  animation: auth-slide 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

@keyframes auth-fade {
  from { opacity: 0; transform: scale(1.03); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes auth-slide {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.auth-shell {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
}

.auth-card {
  width: 100%;
}

.auth-card__title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.auth-card__sub {
  margin-top: 6px;
  color: var(--text-faint);
  font-size: 14px;
}

.auth-form {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
}

.field__control {
  position: relative;
}

.field__control .field__input {
  width: 100%;
  padding-right: 44px;
}

.field__input {
  height: 46px;
  width: 100%;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14.5px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  -webkit-user-select: text;
  user-select: text;
}

.field__input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(255, 59, 92, 0.12);
}

.field__input::placeholder {
  color: var(--text-faint);
}

.field__toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--text-faint);
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease;
}

.field__toggle:hover {
  color: var(--text);
  background: var(--surface);
}

.field__toggle .field__eye-off {
  display: none;
}

.field__toggle.is-on .field__eye {
  display: none;
}

.field__toggle.is-on .field__eye-off {
  display: block;
}

.auth-error {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.25);
  color: #fca5a5;
  font-size: 13.5px;
  line-height: 1.5;
}

.auth-submit {
  width: 100%;
  margin-top: 2px;
}

.cf-turnstile {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  min-height: 65px;
}

.cf-turnstile iframe {
  margin: 0 auto;
}

.auth-switch {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  color: var(--text-faint);
}

.auth-switch a {
  color: var(--accent);
  font-weight: 600;
}

.auth-switch a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .auth-split {
    grid-template-columns: 1fr;
  }

  .auth-visual {
    min-height: 200px;
    justify-content: flex-end;
    padding: 28px 24px;
    gap: 6px;
  }

  .auth-visual__logo {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

  .auth-visual__svg {
    width: 32px;
    height: 27px;
  }

  .auth-visual__title {
    font-size: 30px;
  }

  .auth-visual__tagline {
    display: none;
  }

  .auth-form-side {
    padding: 40px 20px;
  }
}

@media (max-width: 480px) {
  .auth-form-side {
    padding: 32px 16px;
  }
}

/* ============================================================
   Профиль — карточки (в стиле centric.so2)
   ============================================================ */
.profile-page {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 150px 24px 56px;
  background: var(--bg);
}

.profile-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  z-index: 0;
  pointer-events: none;
}

.profile-glow--one {
  width: 520px;
  height: 520px;
  top: -180px;
  left: -140px;
  background: rgba(255, 59, 92, 0.28);
}

.profile-glow--two {
  width: 460px;
  height: 460px;
  bottom: -180px;
  right: -140px;
  background: rgba(190, 18, 60, 0.22);
}

.profile-wrap {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.profile-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-head__name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
}

.profile-head__badge {
  border-radius: 8px;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-dim);
}

.profile-grid {
  display: grid;
  grid-template-columns: 260px 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.profile-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

/* Карточка (как cardClass в centric.so2) */
.p-card {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  padding: 20px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.p-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 8px 40px rgba(0, 0, 0, 0.5), 0 0 80px rgba(255, 59, 92, 0.1);
  transform: translateY(-4px);
}

.p-card--accent {
  border-color: rgba(255, 59, 92, 0.25);
  background: linear-gradient(to bottom, rgba(255, 59, 92, 0.08), transparent);
}

.p-card--accent:hover {
  border-color: rgba(255, 59, 92, 0.5);
  box-shadow: 0 0 0 1px rgba(255, 59, 92, 0.2), 0 8px 40px rgba(0, 0, 0, 0.5), 0 0 80px rgba(255, 59, 92, 0.1);
}

.p-card__label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
}

.p-card__label--accent {
  color: var(--accent);
}

.p-card__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.p-card__title--icon {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
}

.p-card__text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-dim);
}

.p-card__text--mb {
  margin-bottom: 12px;
}

.p-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.p-avatar-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.p-avatar-wrap {
  position: relative;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  padding: 0;
  background: none;
  cursor: pointer;
}

.p-avatar,
.p-avatar--empty {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.p-avatar--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.06);
}

.p-avatar-hint {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.p-avatar-wrap:hover .p-avatar-hint {
  opacity: 1;
}

.p-avatar-info {
  flex: 1;
  min-width: 0;
}

.p-avatar-sub {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 2px;
}

.p-avatar-sub--active {
  color: #34d399;
  font-weight: 600;
}

.p-avatar-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.p-input {
  width: 100%;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 9px 12px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  outline: none;
  margin-bottom: 12px;
  transition: border-color 0.2s ease;
}

.p-input::placeholder {
  color: var(--text-faint);
}

.p-input:focus {
  border-color: rgba(255, 59, 92, 0.45);
}

.p-btn {
  width: 100%;
  box-sizing: border-box;
}

.p-note {
  margin-top: 12px;
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
}

.p-note--err {
  color: #f87171;
}

.p-link {
  color: var(--text-dim);
  text-decoration: underline;
}

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

.p-tg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.05);
  padding: 11px 16px;
  font-size: 14px;
  color: var(--text-dim);
  transition: background 0.2s ease, color 0.2s ease;
}

.p-tg:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.p-lock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  padding: 11px 16px;
  font-size: 14px;
  color: var(--text-dim);
  cursor: not-allowed;
}

.p-lock--mb {
  margin-bottom: 10px;
}

.profile-actions {
  display: flex;
  gap: 12px;
}

.p-admin-btn {
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 59, 92, 0.1);
  border: 1px solid rgba(255, 59, 92, 0.25);
  color: #ff3b5c;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.p-admin-btn:hover {
  background: rgba(255, 59, 92, 0.18);
  border-color: rgba(255, 59, 92, 0.4);
  color: #fecdd3;
}

.admin-placeholder {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 48px 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  color: #8a93a6;
}

.admin-placeholder__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.admin-placeholder .btn {
  width: auto;
  margin-top: 8px;
  padding: 11px 24px;
}

@media (max-width: 820px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .profile-actions {
    flex-direction: column;
  }
}

/* ============================================================
   Телефоны (адаптив)
   ============================================================ */
@media (max-width: 600px) {
  .hero {
    min-height: 100svh;
    padding: 100px 0 70px;
  }

  .hero__title {
    font-size: clamp(30px, 10vw, 40px);
    line-height: 1.12;
  }

  .hero__subtitle {
    font-size: 15px;
  }

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

  .section {
    padding: 64px 0;
  }

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

  .section-head__title {
    font-size: clamp(24px, 7vw, 30px);
  }

  .feature-card {
    padding: 20px 18px;
  }

  .gallery__arrow {
    width: 38px;
    height: 38px;
  }

  .gallery__arrow--prev {
    left: 12px;
  }

  .gallery__arrow--next {
    right: 12px;
  }

  .footer-brand__desc {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .btn--ghost span {
    display: none;
  }

  .btn--ghost {
    width: 42px;
    padding: 0;
  }

  .hero__actions .btn--lg {
    width: 100%;
  }

  .header-inner {
    height: 52px;
    padding: 0 10px;
  }

  .logo__text {
    font-size: 19px;
  }

  .auth-visual {
    min-height: 150px;
    padding: 22px 18px;
  }

  .auth-visual__title {
    font-size: 26px;
  }

  .auth-form-side {
    padding: 28px 16px;
  }

  .auth-card__title {
    font-size: 23px;
  }

  .field__input,
  .field__toggle {
    min-height: 48px;
  }

  .profile-page {
    padding: 130px 14px 40px;
  }

  .profile-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .profile-head__name {
    font-size: 22px;
  }

  .p-card {
    padding: 16px;
  }
}

/* ============================================================
   Тарифы (products.html)
   ============================================================ */
.section--products {
  padding-top: 150px;
}

.nav__link.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  max-width: 860px;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.pricing-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 8px 40px rgba(0, 0, 0, 0.5);
  transform: translateY(-4px);
}

.pricing-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 14px 16px 18px;
}

.pricing-card__period {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.pricing-card__price {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 14px;
}

.pricing-card__currency {
  font-size: 20px;
  color: var(--text-dim);
}

.pricing-card__btn {
  width: 100%;
}

@media (max-width: 980px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}
