:root {
  --bg-color: #020713;
  --text-color: #fff;
  --main-color: #07eff6;
  --primary-color: #0083e0;
  --plyr-color-main: #07eff6;
  --red-color: #ff6565;
  --copy-icon-filter-main: invert(79%) sepia(17%) saturate(2743%)
    hue-rotate(153deg) brightness(101%) contrast(102%);
  --copy-icon-filter-primary: invert(40%) sepia(86%) saturate(2328%)
    hue-rotate(187deg) brightness(94%) contrast(103%);
  --copy-icon-filter-error: invert(53%) sepia(76%) saturate(628%)
    hue-rotate(331deg) brightness(100%) contrast(101%);
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: "Roboto Mono", sans-serif;
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  display: flex;
  justify-content: center;
}

a {
  color: var(--main-color);
  text-decoration: none;
}

.container {
  max-width: 1240px;
  width: 100%;
  padding: 0 20px;
}

h1 {
  margin-top: 32px;
  color: var(--text-color);
  font-size: 56px;
  line-height: 1.2;
  font-weight: 400;
}

h2 {
  font-size: 32px;
  line-height: 1.25;
  font-weight: 400;
  background: linear-gradient(90deg, var(--main-color), var(--primary-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
  width: max-content;
}

.section-heading {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.section-heading span {
  display: inline-flex;
  align-items: center;
}

.section-heading__copy {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
  opacity: 0;
  transform: scale(0.9);
}

.section-heading__icon {
  width: 18px;
  height: 18px;
  display: block;
  filter: var(--copy-icon-filter-main);
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.section-heading:hover .section-heading__copy {
  opacity: 1;
  transform: scale(1);
}

.section-heading__copy:hover .section-heading__icon,
.section-heading__copy:focus-visible .section-heading__icon {
  filter: var(--copy-icon-filter-primary);
}

.section-heading__copy:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(7, 239, 246, 0.25);
  border-radius: 4px;
}

.section-heading__copy:active .section-heading__icon {
  filter: var(--copy-icon-filter-main);
}

.section-heading__copy.is-copied {
  opacity: 1;
  transform: scale(1);
}

.section-heading__copy.is-copied .section-heading__icon {
  filter: var(--copy-icon-filter-main);
}

.section-heading__copy.has-error {
  opacity: 1;
  transform: scale(1);
}

.section-heading__copy.has-error .section-heading__icon {
  filter: var(--copy-icon-filter-error);
}

@media (hover: none) {
  .section-heading__copy {
    opacity: 1;
    transform: scale(1);
  }
}

section {
  padding: 32px 0;
}

section p {
  color: var(--main-color);
  font-weight: 300;
  margin-bottom: 32px;
}

.main {
  padding-bottom: 64px;
}

.main__break-line {
  max-width: 1200px;
  height: 64px;
  margin: 0 auto;
  position: relative;
}

.main__break-line::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 1px;
  opacity: 0.5;
  top: 50%;
  left: 0;
  background: linear-gradient(
    to right,
    rgba(7, 239, 246, 0) 1%,
    var(--main-color) 35%,
    var(--primary-color) 75%,
    rgba(0, 131, 224, 0) 100%
  );
}

.header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  height: 160px;
  width: 160px;
}

.header__logo-shadow {
  position: absolute;
  top: 0;
  left: -64px;
  z-index: -1;
}

.header__sign-in {
  margin-left: auto;
  z-index: 3;
  padding: 10px 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: var(--text-color);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.header__sign-in:hover,
.header__sign-in:focus-visible {
  color: var(--main-color);
  border-color: var(--main-color);
}

.preview {
  display: flex;
  padding-bottom: 80px;
}

.preview__content {
  max-width: 560px;
}

.preview__content-button {
  display: inline-flex;
  background-color: transparent;
  color: var(--main-color);
  border: 1px solid var(--main-color);
  padding: 12px 24px;
  margin-top: 40px;
  font-size: 16px;
  line-height: 22px;
  transition: all 0.5s ease;
}

.preview__content-button svg path {
  transition: all 0.5s ease;
}

.preview__content-button:hover {
  background-color: var(--main-color);
  color: var(--bg-color);
  cursor: pointer;
}

.preview__content-button:hover svg path {
  stroke: var(--bg-color);
}

.preview__content-button svg {
  margin-left: 8px;
}

.preview__picture {
  position: relative;
  height: 290px;
  width: 20px;
}

.preview__picture-checklist {
  position: absolute;
  left: 96px;
  top: 100px;
  z-index: 1;
}

.preview__picture-score {
  position: absolute;
  left: 242px;
  top: -36px;
  z-index: 2;
}

.preview__picture-power {
  position: absolute;
  left: 268px;
  top: 122px;
  z-index: 3;
}

.preview__picture-checklist_shadow {
  position: absolute;
  left: -80px;
  top: -80px;
  z-index: -1;
}

.preview__picture-power_shadow {
  position: absolute;
  left: 110px;
  top: -200px;
  z-index: -1;
}

ul.custom-list{
  list-style: none;
  padding-left: 64px;
}

ul.custom-list li{
  font-size: 16px;
  font-weight: 300;
  margin-bottom: 2px;
  position: relative;
}

ul.custom-list li::before{
  content: ">";
  position: absolute;
  left: -24px;
  font-weight: 300;
}

ul.custom-list li span{
  color: var(--primary-color);
}


.how-to-use h2,
.demo h2 {
  margin-bottom: 32px;
}

.demo a {
  font-weight: 400;
}

.demo__drop-line {
  color: var(--text-color);
  margin-bottom: 4px;
}

.demo-form {
  display: flex;
  margin-bottom: 32px;
  max-width: 550px;
  flex-wrap: wrap;
}

.demo-form__wrapper {
  display: flex;
  flex-direction: column;
  max-width: 398px;
  width: 100%;
}

.demo-form__wrapper label {
  display: block;
  font-size: 16px;
  font-weight: 300;
  margin-bottom: 8px;
  color: var(--text-color);
}

.demo-form__wrapper input {
  padding: 12px 16px;
  background-color: var(--bg-color);
  border: 1px solid var(--text-color);
  color: var(--text-color);
  font-size: 16px;
  line-height: 22px;
  font-weight: 300;
  height: 48px;
  margin-right: 20px;
  transition: all 0.5s ease;
}

.demo-form__email:focus {
  outline: none;
  border-color: var(--main-color);
}

.demo-form__email.is-invalid {
  border-color: var(--red-color);
}

.demo-form__email.is-invalid:focus {
  border-color: var(--red-color);
}

.demo-form__validation-message {
  color: var(--red-color);
  font-size: 12px;
  display: none;
}

.demo-form__validation-message.is-active {
  display: block;
  margin-top: 4px;
}

.demo-form__button {
  display: inline-flex;
  align-items: center;
  height: 48px;
  background-color: transparent;
  color: var(--main-color);
  border: 1px solid var(--main-color);
  padding: 12px 24px;
  font-size: 16px;
  transition: all 0.5s ease;
  margin-top: 32px;
}

.demo-form__button svg path {
  transition: all 0.5s ease;
}

.demo-form__button:hover {
  background-color: var(--main-color);
  color: var(--bg-color);
  cursor: pointer;
}

.demo-form__button:hover svg path {
  stroke: var(--bg-color);
}

.demo-form__button svg {
  margin: 0 0 2px 8px;
}

.demo__success {
  display: none;
}

.demo__success p {
  color: var(--text-color);
  margin-bottom: 0;
}

.demo__success.is-active {
  display: block;
}

.demo__success-message {
  display: flex;
  margin-bottom: 32px;
}

.demo__success-message svg {
  margin-right: 20px;
}

.footer {
  padding-bottom: 64px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.footer p {
  font-size: 10px;
  font-weight: 300;
  color: var(--text-color);
  max-width: 480px;
  text-align: center;
  margin-bottom: 6px;
}

.footer p a {
  color: var(--text-color);
  text-decoration: underline;
  transition: all 0.5s ease;
}

.footer p a:hover {
  color: var(--main-color);
}

.footer__logo-link img {
  max-height: 46px;
}

.footer__socials {
  display: flex;
  gap: 32px;
}

.footer__socials a {
  display: inline-block;
}

.footer__socials a svg {
  width: 24px;
  height: 24px;
  transition: all 0.5s ease;
}

.footer__socials a svg:hover {
  fill: var(--main-color);
}

input:is(:-webkit-autofill) {
  transition: background-color 600000s 0s, color 600000s 0s;
}

.video-container {
  max-width: 900px !important;
  width: 100%;
  margin: 32px auto 48px;
  padding: 0;
  box-shadow: 0 8px 32px rgba(7, 239, 246, 0.3);
  box-sizing: border-box;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.video-wrapper .plyr {
  --plyr-color-main: #07eff6;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  width: 100% !important;
  max-width: 100% !important;
}

.video-wrapper .plyr__video-wrapper {
  border-radius: 16px;
  width: 100% !important;
  max-width: 100% !important;
}

.video-wrapper .plyr video,
.video-wrapper video,
#demo-video,
.video-wrapper .plyr__video-wrapper video {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block;
}

.video-wrapper .plyr__control--overlaid {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  background: var(--main-color) !important;
  opacity: 0.9 !important;
  border-radius: 50% !important;
  width: 80px !important;
  height: 80px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: none !important;
  transition: all 0.3s ease;
  z-index: 100 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.video-wrapper .plyr__control--overlaid:hover {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.video-wrapper .plyr__control--overlaid svg {
  width: 32px;
  height: 32px;
  margin-left: 4px;
}

/* Скрываем спиннер загрузки */
.video-wrapper .plyr__loading,
.video-wrapper .plyr__spinner,
.video-wrapper .plyr__loading__spinner,
.video-wrapper .plyr__loading__icon {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

@media (max-width: 1239px) {
  .preview__picture-checklist {
    left: 0;
  }

  .preview__picture-score {
    left: 146px;
  }

  .preview__picture-power {
    left: 172px;
  }

  .preview__picture-checklist_shadow {
    left: -176px;
  }

  .preview__picture-power_shadow {
    left: 24px;
  }
}

@media (max-width: 1023px) {
  section {
    padding: 48px 0;
  }

  .main {
    padding-bottom: 48px;
  }

  .preview {
    flex-direction: column-reverse;
    padding-bottom: 54px;
  }

  .preview__content {
    margin-top: -62px;
  }

  .preview__picture {
    height: 290px;
    width: 100%;
  }

  .preview__picture-checklist {
    right: 272px;
    left: initial;
    top: -12px;
  }

  .preview__picture-score {
    right: 132px;
    left: initial;
    top: -150px;
  }

  .preview__picture-power {
    right: 68px;
    left: initial;
    top: 10px;
  }

  .preview__picture-checklist_shadow {
    right: 96px;
    left: initial;
    top: -242px;
  }

  .preview__picture-power_shadow {
    right: -10px;
    left: initial;
    top: -252px;
  }

  .footer p {
    max-width: 330px;
  }
}

@media (max-width: 719px) {
  .header__sign-in {
    display: none;
  }
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }

  section {
    padding: 32px 0;
  }

  .main {
    padding-bottom: 32px;
  }

  .header__logo {
    height: 96px;
    width: 96px;
  }

  .header__logo-shadow {
    display: none;
  }

  .preview {
    padding-bottom: 36px;
  }

  .preview__content {
    margin-top: 0;
  }

  .preview__picture {
    height: 180px;
  }

  .preview__picture-checklist {
    width: 158px;
    height: 158px;
    top: -2px;
    right: 150px;
  }

  .preview__picture-score {
    right: 50px;
    height: 154px;
    width: 154px;
    top: -100px;
  }

  .preview__picture-power {
    right: 4px;
    height: 182px;
    width: 182px;
    top: 12px;
  }

  .preview__picture-checklist_shadow {
    display: none;
  }

  .preview__picture-power_shadow {
    display: none;
  }

  .preview__content-button {
    margin-top: 16px;
  }

  ul.custom-list {
    padding-left: 48px;
  }

  .demo-form {
    flex-direction: column;
  }

  .demo-form__wrapper {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .demo-form__wrapper input {
    margin-right: 0;
  }

  .demo-form__button {
    width: 100%;
    justify-content: center;
    margin-top: 0;
  }

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

  .footer__logo-link {
    margin-bottom: 20px;
  }

  .footer p {
    margin-bottom: 20px;
    text-align: start;
  }
}

@media (max-width: 569px) {
  .preview__picture-checklist {
    right: 140px;
    top: -2px;
  }

  .preview__picture-score {
    right: 42px;
    top: -100px;
  }

  .preview__picture-power {
    right: -4px;
    top: 12px;
  }

  .preview__picture-checklist_shadow {
    right: 0;
    top: -200px;
  }

  .preview__picture-power_shadow {
    right: 80px;
    top: -120px;
  }

  .video-container {
    margin: 24px auto 32px;
    padding-inline: 2px;
  }

  .preview__content-button.interview_link {
    width: 100%;
    justify-content: center;
    margin-top: 24px;
  }
}
