/* STREAMO — стили лендинга. Без препроцессоров, mobile-first. */

:root {
  --bg-0: #0f0f0f;
  --bg-1: #121212;
  --bg-2: #1a1a1a;
  --bg-3: #242424;
  --white: #ffffff;
  --light: #f8f8f8;
  --pink: #fe2c55;
  --cyan: #25f4ee;
  --cyan-deep: #0fd4cf;
  --text: #161616;
  --text-soft: #3a3a3a;
  --muted: #6b6b6b;
  --muted-dark: #b3b3b3;
  --line: rgba(255, 255, 255, 0.08);
  --line-light: rgba(0, 0, 0, 0.08);
  --radius: 20px;
  --radius-sm: 12px;
  --header-h: 68px;
  --max: 1140px;
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 20px 48px rgba(0, 0, 0, 0.14);
  --glow-pink: 0 0 40px rgba(254, 44, 85, 0.35);
  --glow-cyan: 0 0 40px rgba(37, 244, 238, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 200;
  background: var(--cyan);
  color: #111;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.section {
  padding: 72px 0;
}

.section--dark {
  background: var(--bg-0);
  color: var(--white);
}

.section--alt {
  background: var(--bg-1);
  color: var(--white);
}

.section--light {
  background: var(--white);
  color: var(--text);
}

.section--muted {
  background: var(--light);
  color: var(--text);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 12px;
}

.section--light .eyebrow,
.section--muted .eyebrow {
  color: var(--pink);
}

h1,
h2,
h3,
.logo {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.12;
}

h1 {
  font-size: clamp(32px, 8vw, 64px);
  font-weight: 800;
  margin: 0 0 16px;
}

h2 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  margin: 0 0 16px;
}

h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
}

.lead {
  font-size: clamp(16px, 2.2vw, 18px);
  color: var(--muted-dark);
  max-width: 640px;
  margin: 0;
}

.section--light .lead,
.section--muted .lead {
  color: var(--muted);
}

/* ----- Шапка ----- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(15, 15, 15, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.header.is-scrolled {
  background: rgba(15, 15, 15, 0.92);
  border-bottom-color: var(--line);
}

.header__inner {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
}

.logo__mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 72% 24%, var(--cyan) 0 3px, transparent 3.5px),
    linear-gradient(135deg, var(--pink), var(--cyan));
  box-shadow: 0 0 16px rgba(37, 244, 238, 0.4);
  flex-shrink: 0;
}

.nav {
  display: none;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: #d8d8d8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--white);
}

.header__cta {
  display: none;
}

.burger {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  position: relative;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger span::before {
  top: -7px;
}

.burger span::after {
  top: 7px;
}

.burger[aria-expanded="true"] span {
  background: transparent;
}

.burger[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.burger[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-mobile {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: #0c0c0c;
  border-bottom: 1px solid var(--line);
  padding: 12px 20px 24px;
  flex-direction: column;
  gap: 4px;
}

.nav-mobile.is-open {
  display: flex;
}

.nav-mobile a {
  color: var(--white);
  text-decoration: none;
  padding: 12px 8px;
  font-weight: 600;
}

.nav-mobile .btn {
  margin-top: 12px;
}

body.menu-open {
  overflow: hidden;
}

/* ----- Кнопки ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 0;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--cyan {
  background: var(--cyan);
  color: #0b1212;
  box-shadow: var(--glow-cyan);
}

.btn--cyan:hover {
  background: #6ffbf6;
}

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

.btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn--pink {
  background: var(--pink);
  color: var(--white);
  box-shadow: var(--glow-pink);
}

.btn--full {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 56px 0 80px;
  background: var(--bg-0);
  color: var(--white);
  text-align: center;
}

.hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 20% 20%, rgba(254, 44, 85, 0.28), transparent 60%),
    radial-gradient(ellipse 45% 40% at 85% 30%, rgba(37, 244, 238, 0.22), transparent 62%),
    radial-gradient(ellipse 40% 30% at 50% 90%, rgba(254, 44, 85, 0.12), transparent 60%);
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  will-change: transform;
}

.hero__orb--pink {
  width: min(70vw, 420px);
  height: min(70vw, 420px);
  background: #fe2c55;
  opacity: 0.32;
  top: -8%;
  left: -12%;
  animation: drift 14s ease-in-out infinite;
}

.hero__orb--cyan {
  width: min(60vw, 380px);
  height: min(60vw, 380px);
  background: #25f4ee;
  opacity: 0.26;
  right: -10%;
  bottom: 8%;
  animation: drift 18s ease-in-out infinite reverse;
}

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.live-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 0 rgba(254, 44, 85, 0.7);
  animation: pulse 1.8s infinite;
}

.hero h1 {
  max-width: 18ch;
}

.hero .lead {
  margin-bottom: 28px;
}

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

.hero__note {
  margin-top: 28px;
  font-size: 13px;
  color: #8d8d8d;
}

@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(24px, -18px) scale(1.08);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(254, 44, 85, 0.55);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(254, 44, 85, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(254, 44, 85, 0);
  }
}

/* ----- Карточки преимуществ ----- */
.cards {
  display: grid;
  gap: 16px;
  margin-top: 36px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line-light);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(254, 44, 85, 0.12), rgba(37, 244, 238, 0.16));
}

.card__icon svg {
  width: 26px;
  height: 26px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.section--dark .card,
.section--alt .card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  box-shadow: none;
  color: var(--white);
  backdrop-filter: blur(10px);
}

.section--dark .card p,
.section--alt .card p {
  color: var(--muted-dark);
}

/* ----- Цифры ----- */
.stats {
  background:
    radial-gradient(ellipse 50% 80% at 0% 50%, rgba(254, 44, 85, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 80% at 100% 50%, rgba(37, 244, 238, 0.14), transparent 55%),
    var(--bg-1);
  color: var(--white);
  padding: 64px 0;
}

.stats__grid {
  display: grid;
  gap: 28px;
  text-align: center;
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(36px, 8vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, var(--pink), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 8px;
}

.stat p {
  margin: 0;
  color: var(--muted-dark);
  font-size: 14px;
}

.stats__source {
  margin: 28px 0 0;
  text-align: center;
  font-size: 12px;
  color: #8a8a8a;
}

/* ----- Шаги ----- */
.steps {
  display: grid;
  gap: 16px;
  margin-top: 36px;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow);
}

.step__num {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: #0b1212;
  background: linear-gradient(135deg, var(--cyan), #9ffcf8);
}

.step p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
}

/* ----- Требования ----- */
.check-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px 18px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--line-light);
}

.check-list svg {
  margin-top: 2px;
}

.note-banner {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(254, 44, 85, 0.08), rgba(37, 244, 238, 0.12));
  border: 1px solid rgba(37, 244, 238, 0.35);
  font-weight: 600;
}

.split {
  display: grid;
  gap: 32px;
  align-items: center;
}

.media-frame {
  position: relative;
  border-radius: 24px;
}

.media-frame img {
  width: 100%;
  border-radius: 20px;
  position: relative;
  z-index: 1;
}

.media-frame::before,
.media-frame::after {
  content: "";
  position: absolute;
  border-radius: 24px;
}

.media-frame::before {
  inset: 18px -14px -14px 18px;
  border: 4px solid var(--cyan);
}

.media-frame::after {
  width: 42%;
  height: 8px;
  background: var(--pink);
  top: -6px;
  left: -8px;
  transform: rotate(-8deg);
  border-radius: 8px;
}

/* ----- Прозрачность ----- */
.trust {
  position: relative;
  overflow: hidden;
}

.trust__card {
  position: relative;
  z-index: 1;
  padding: 32px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(37, 244, 238, 0.28);
  box-shadow: 0 0 0 1px rgba(254, 44, 85, 0.08), 0 24px 60px rgba(0, 0, 0, 0.28);
}

.trust__points {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.trust__points li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  color: var(--muted-dark);
}

/* ----- FAQ ----- */
.faq {
  display: grid;
  gap: 10px;
  margin-top: 32px;
}

.faq-item {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--line-light);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--text);
  border-bottom: 2px solid var(--text);
  transform: rotate(45deg);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(225deg);
}

.faq-item .faq-item__body {
  padding: 0 20px 18px;
  color: var(--muted);
}

/* ----- Форма ----- */
.apply {
  background:
    radial-gradient(ellipse 40% 50% at 10% 20%, rgba(254, 44, 85, 0.16), transparent 50%),
    radial-gradient(ellipse 40% 50% at 90% 80%, rgba(37, 244, 238, 0.12), transparent 50%),
    var(--bg-0);
  color: var(--white);
}

.form {
  margin-top: 32px;
  display: grid;
  gap: 16px;
  padding: 24px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 13px;
  font-weight: 600;
}

.field input,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #1a1a1a;
  color: var(--white);
}

.field input::placeholder {
  color: #7a7a7a;
}

.field input:focus,
.field select:focus {
  border-color: var(--cyan);
}

.field select option {
  background: #1a1a1a;
  color: var(--white);
}

.apply,
.hero,
.header,
.footer,
.stats,
.section--dark,
.page-hero,
.thanks {
  color-scheme: dark;
}

.field.is-invalid input,
.field.is-invalid select {
  border-color: var(--pink);
}

.field-error {
  color: #ff8aa3;
  font-size: 12px;
  min-height: 1em;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 13px;
  color: var(--muted-dark);
}

.consent a {
  color: var(--cyan);
}

.form-status {
  min-height: 1.4em;
  font-size: 14px;
}

.form-status.is-error {
  color: #ff8aa3;
}

.form-status.is-ok {
  color: var(--cyan);
}

/* ----- Контакты / футер ----- */
.contacts {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.contact-card {
  padding: 20px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line-light);
}

.contact-card a {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--light);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.footer {
  background: #0a0a0a;
  color: #9a9a9a;
  padding: 40px 0 28px;
  font-size: 13px;
}

.footer a {
  color: #d0d0d0;
}

.footer__top {
  display: grid;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid #222;
  margin-bottom: 20px;
}

.disclaimer {
  font-size: 11px;
  line-height: 1.5;
  color: #6f6f6f;
  max-width: 72ch;
}

/* ----- Внутренние страницы ----- */
.page-hero {
  padding: 48px 0 24px;
  background: var(--bg-0);
  color: var(--white);
}

.prose {
  max-width: 720px;
}

.prose h2 {
  font-size: 22px;
  margin: 32px 0 10px;
}

.prose p,
.prose li {
  color: var(--text-soft);
}

.thanks {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px 0;
  background: var(--bg-0);
  color: var(--white);
}

.thanks__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--pink), var(--cyan));
}

/* ----- Анимации появления ----- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .hero__orb,
  .live-badge__dot,
  .btn,
  .card {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}

/* 768 */
@media (min-width: 768px) {
  :root {
    --header-h: 76px;
  }

  .section {
    padding: 96px 0;
  }

  .header__cta {
    display: inline-flex;
  }

  .burger {
    display: none;
  }

  .nav {
    display: flex;
  }

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

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

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

  .split {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }

  .form {
    grid-template-columns: 1fr 1fr;
    padding: 32px;
  }

  .form .field--full,
  .form .consent,
  .form .form-status,
  .form .btn {
    grid-column: 1 / -1;
  }

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

  .footer__top {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .trust__card {
    padding: 48px 40px;
  }
}

/* 1024 */
@media (min-width: 1024px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .hero {
    padding: 72px 0 96px;
  }
}

/* 1440 */
@media (min-width: 1440px) {
  :root {
    --max: 1200px;
  }
}
