@charset "UTF-8";
*,
*::before,
*::after {
  box-sizing: border-box;
}

h1, h2, h3 {
  line-height: 1.2;
  margin: 0 0 12px;
}

p {
  margin: 0 0 12px;
}

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

ul {
  margin: 0;
}

:root {
  /* Базовые цвета */
  --bg: #0b0620; /* глубокий тёмно-синий фон */
  --card: #15102c; /* фон карточек и блоков */
  --text: #f2f3f7; /* основной текст (почти белый) */
  --muted: #a9a7c1; /* вторичный текст */
  /* Акцентные (из логотипа) */
  --primary: #a56bff; /* светлый фиолетовый (верх градиента) */
  --primary-700: #7a3cff; /* насыщенный фиолетовый (низ градиента) */
  --accent: #c892ff; /* для подсветок/hover-эффектов */
  /* Дополнительные */
  --success: #60e1a7;
  --error: #ff6b8b;
  --radius: 16px;
}

html, body {
  height: 100%;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: clamp(48px, 6vw, 80px) 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 20px;
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.15);
}
.btn:active {
  transform: translateY(0);
}
.btn--primary {
  background: linear-gradient(180deg, var(--primary), var(--primary-700));
  border: none;
  color: #fff;
  box-shadow: 0 6px 24px rgba(91, 140, 255, 0.35);
}
.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--text);
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-700));
  color: #fff;
  box-shadow: 0 6px 20px rgba(122, 60, 255, 0.35);
}

.btn--primary:hover {
  box-shadow: 0 0 24px rgba(165, 107, 255, 0.55);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(11px);
  background: rgba(14, 15, 19, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}
.logo__img {
  display: block;
}

.nav {
  display: block;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 10px;
}

.nav__link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.nav__btn {
  margin-left: 8px;
}

/* Burger */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.burger__line {
  width: 20px;
  height: 2px;
  background: var(--text);
  display: block;
}

@media (max-width: 900px) {
  .burger {
    display: inline-flex;
  }
  .nav {
    position: fixed;
    inset: 64px 0 auto 0;
    background: rgba(14, 15, 19, 0.98);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .nav--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav__item {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
  .nav__link, .nav__btn {
    display: block;
    padding: 14px 16px;
    height: auto;
  }
}
/* Hero */
/* full-screen герой */
.hero--fullscreen {
  position: relative;
  padding: 0; /* секция на всю высоту — без внешних отступов */
  min-height: 100svh; /* корректная единица для мобилок */
  display: grid;
  place-items: center;
  overflow: hidden;
}

/* фон */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  perspective: 1000px; /* для параллакса */
}

.hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover; /* на весь фон */
  transform: scale(1.02); /* лёгкий запас на параллакс */
  will-change: transform;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 50% 20%, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.55) 60%), linear-gradient(0deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25));
}

/* частицы */
.hero__particles {
  position: absolute;
  inset: 0;
  width: 100%; /* ВАЖНО */
  height: 100%; /* ВАЖНО */
  display: block; /* убирает inline-gap баги */
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
}

/* контентный слой */
.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  padding: clamp(24px, 5vw, 48px) 0;
}

.hero__content {
  width: min(1120px, 92%);
  margin: 0 auto;
  text-align: left;
}

.hero__title {
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.1;
  margin: 0 0 12px;
  color: var(--text);
}

.hero__title-brand {
  /* брендовая часть заголовка */
  background: linear-gradient(135deg, var(--primary), var(--primary-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent; /* градиентный текст */
}

.hero__subtitle {
  font-size: clamp(16px, 2.2vw, 22px);
  color: var(--text);
  max-width: 800px;
  margin-bottom: 16px;
  opacity: 0.95;
}

.hero__subtitle-brand {
  color: var(--primary); /* фирменный цвет только кусочку текста */
  font-weight: 600;
}

.hero__list {
  margin: 0 0 16px;
  padding-left: 18px;
}

.hero__list-item {
  margin-bottom: 6px;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* отключаем тяжёлые эффекты при сниженной анимации/на слабых девайсах */
@media (prefers-reduced-motion: reduce) {
  .hero__bg-img {
    transform: none !important;
  }
  .hero__particles {
    display: none;
  }
}
/* Feature sections */
.feature__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 4vw, 24px);
  align-items: center;
}

.feature__grid--reverse {
  direction: rtl;
}

.feature__grid--reverse > * {
  direction: ltr;
}

.feature__title {
  font-size: clamp(22px, 2.6vw, 34px);
  margin: 0 0 10px;
}

.feature__text {
  color: var(--muted);
  margin-bottom: 10px;
}

.feature__list {
  margin: 0;
  padding-left: 18px;
}

.feature__item {
  margin-bottom: 6px;
}

.feature__img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.feature__img--before {
  opacity: 0.85;
}

.feature__video {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 900px) {
  .feature__grid {
    grid-template-columns: 1fr;
  }
}
/* Teaser */
.teaser__box {
  text-align: center;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 32px);
}

.teaser__title {
  margin: 0 0 8px;
}

.teaser__text {
  color: var(--muted);
  margin-bottom: 16px;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
}

.footer__brand {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px 12px;
}

.footer__logo {
  grid-row: span 2;
}

.footer__title {
  font-weight: 700;
}

.footer__legal {
  color: var(--muted);
  margin: 0;
}

.footer__nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__link {
  color: var(--muted);
  text-decoration: none;
}

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

@media (max-width: 700px) {
  .footer__row {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* вертикальное видео — как на телефоне */
.feature__media--video {
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature__video {
  width: auto;
  height: clamp(480px, 80vh, 720px); /* адаптивная высота */
  aspect-ratio: 9/16;
  border-radius: var(--radius);
  -o-object-fit: cover;
     object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 20px rgba(165, 107, 255, 0.25);
}

/* текстовая часть крупнее */
.feature__text--large {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.6;
  max-width: 680px;
}

/* фирменные акценты */
.feature__title-brand {
  background: linear-gradient(135deg, var(--primary), var(--primary-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.feature__text-brand {
  color: var(--primary);
  font-weight: 600;
}

.feature__video {
  animation: fadeIn 1s ease both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* Блок апскейла */
.feature__media--upscale {
  display: flex;
  justify-content: center;
  align-items: center;
}

.upscale__wrap {
  position: relative;
  width: clamp(260px, 50vw, 480px);
  aspect-ratio: 1/1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 20px rgba(165, 107, 255, 0.25);
  cursor: pointer;
}

/* базовые изображения */
.upscale__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: clip-path 0.8s ease, filter 0.4s ease;
}

/* "до" — размытое */
.upscale__img--before {
  filter: blur(0.8px) brightness(0.7);
  transform: scale(1.02);
  z-index: 1;
}

/* "после" — видно только часть, плавно открывается при ховере */
.upscale__img--after {
  z-index: 2;
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%); /* половина видна */
}

/* вертикальная линия-разделитель */
.upscale__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--primary);
  z-index: 3;
  opacity: 0.8;
  transition: left 0.8s ease;
}

/* ховер: плавное раскрытие */
.upscale__wrap:hover .upscale__img--after {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.upscale__wrap:hover .upscale__divider {
  left: 100%;
  opacity: 0;
}

/* управляемая величина нахлёста вниз */
:root {
  --peek-overlap: 80px; /* насколько картинка заезжает в следующий блок */
  --banner-lip: 80px; /* столько же перекрывает баннер сверху */
}

/* Знаменитость — статично, без анимаций */
.feature--celeb {
  position: relative;
  z-index: 1;
}

.feature__media--peek {
  position: relative;
  overflow: visible;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: clamp(260px, 40vh, 520px);
}

.peek__img {
  display: block;
  width: clamp(220px, 28vw, 420px);
  height: auto;
  /* аккуратный нахлёст вниз на ту же величину, что и баннер перекрывает */
  transform: translateY(var(--peek-overlap));
  transform-origin: bottom center;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

/* никаких bob/animation — полностью убрать, если было */
@media (prefers-reduced-motion: no-preference) {
  .peek__img {
    animation: none;
  }
}
/* Баннер анонса сразу под знаменитостью */
#soon {
  position: relative;
  z-index: 2;
}

/* «кромка» баннера перекрывает нижнюю часть PNG на ту же высоту */
#soon::before {
  content: "";
  position: absolute;
  top: calc(-1 * var(--banner-lip));
  left: 0;
  right: 0;
  height: var(--banner-lip);
  z-index: 3;
  background: var(--bg); /* или var(--card), если нужен другой цвет */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

/* мобильная подстройка: можно чуть уменьшить величины */
@media (max-width: 900px) {
  :root {
    --peek-overlap: 64px;
    --banner-lip: 64px;
  }
}
/* МАСКА-БАННЕР на следующей секции, перекрывающая нижнюю часть PNG */
#soon {
  position: relative;
  z-index: 2; /* выше, чем celebrity */
}

/* рисуем «баннер» сверху секции #soon */
#soon::before {
  content: "";
  position: absolute;
  top: -64px; /* насколько перекрывать PNG сверху */
  left: 0;
  right: 0;
  height: 120px; /* высота баннера */
  z-index: 3;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(var(--bg-r, 11), var(--bg-g, 6), var(--bg-b, 32), 0) 85%);
  /* если нужен ровный баннер без градиента, замени на: background: var(--bg); */
  pointer-events: none;
  /* тонкая тень на краю баннера, чтобы смотрелось естественно */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* Нюанс: чтобы цвет var(--bg) работал и в rgba, можно задать канальные переменные */
:root {
  /* если фон #0b0620, добавь каналы: */
  --bg-r: 11;
  --bg-g: 6;
  --bg-b: 32;
}

/* адаптация под мобильные */
@media (max-width: 900px) {
  .peek__img {
    width: clamp(220px, 48vw, 360px);
    transform: translateY(10%);
  }
  #soon::before {
    top: -48px;
    height: 96px;
  }
}
/* Анонс нового функционала */
.teaser--dark {
  position: relative;
  min-height: 100svh; /* на всю высоту экрана */
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  overflow: hidden;
  z-index: 0;
  text-align: center;
}

/* канвас с частицами */
.teaser__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  opacity: 0.45;
  pointer-events: none;
}

/* надпись */
.teaser__content {
  position: relative;
  z-index: 1;
}

.teaser__title {
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 600;
  color: var(--text);
  letter-spacing: 1px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.teaser__title-brand {
  background: linear-gradient(135deg, var(--primary), var(--primary-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

@media (max-width: 700px) {
  .teaser__title {
    font-size: clamp(22px, 6vw, 42px);
  }
}
/* Ряд знаменитостей */
.feature__media--celebs {
  display: flex;
  justify-content: center;
  align-items: center;
}

.celebs {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(8px, 2vw, 16px);
  padding: 0 clamp(8px, 2vw, 16px) clamp(18px, 2vw, 22px); /* место под линию снизу */
  border-radius: var(--radius);
}

.celebs__underline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0; /* только снизу */
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--primary) 15%, var(--primary-700) 85%, transparent 100%);
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(122, 60, 255, 0.35);
  pointer-events: none;
}

/* PNG с прозрачностью: ширина адаптивная, сохраняем пропорции */
.celebs__img {
  display: block;
  width: clamp(120px, 22vw, 260px);
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
  transition: transform 0.2s ease, filter 0.2s ease;
}

/* лёгкая композиция: центральный выше, боковые — с микроповоротом */
.celebs__img--center {
  transform: translateY(-2px) scale(1.02);
  z-index: 2;
}

.celebs__img--left {
  transform: rotate(-1.2deg);
}

.celebs__img--right {
  transform: rotate(1.2deg);
}

.celebs__img:hover {
  transform: translateY(-4px) scale(1.03);
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.45)) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.28));
}

/* Мобильная адаптация: в колонку с уменьшением */
@media (max-width: 700px) {
  .celebs {
    gap: 8px;
    padding-bottom: 18px;
  }
  .celebs__img {
    width: clamp(100px, 28vw, 160px);
  }
  .celebs__img--left, .celebs__img--right {
    transform: none;
  }
}
/*# sourceMappingURL=style.css.map */
