:root {
  --mainColor: #0B0F19;

  --mainTextColor: rgba(255, 255, 255, 0.7);

  --fontSize: 1.125em;
  --lineHeight: 1.6;
  --headerHeight: 4.22223rem;
  --blockPadding: 1.5rem;
  --sectionPadding: 7.5rem;

  --btnBg: #6366F1;
  --btnBgHover: #4547A8;

  @media screen and (max-width: 992px) {
    --fontSize: 1em;
    --blockPadding: 2rem;
    --sectionPadding: 4rem;
  }

  @media screen and (max-width: 600px) {
    --blockPadding: 1rem;
    --sectionPadding: 3rem;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  height: 100%;
}

html {
  font-family: Manrope, serif;
  font-optical-sizing: auto;
  font-size: 1em;
  color: var(--mainTextColor);
  line-height: var(--lineHeight);
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

h1 {
  font-size: 3.5rem;
  line-height: 4.55rem;
  color: #fff;
  margin-bottom: var(--blockPadding);
}

h2 {
  font-size: 2.5rem;
  line-height: 3.25rem;
  color: #fff;
}

h3 {
  font-size: 2rem;
  line-height: 2.8rem;
  color: #fff;
}

h4 {
  font-size: 1.5rem;
  line-height: 2.1rem;
  color: #fff;
}

h1 .highlighted {
  color: var(--btnBg);
}

@media screen and (max-width: 600px) {
  h1 {
    font-size: 2rem;
    line-height: 3rem;
  }

  h2 {
    font-size: 1.5rem;
    line-height: 2.5rem;
  }

  h3 {
    font-size: 1.25rem;
    line-height: 2rem;
  }

  h4 {
    font-size: 1rem;
    line-height: 1.75rem;
  }
}

textarea {
  resize: vertical;
}

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

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

.btn {
  display: inline-block;
  background-color: var(--btnBg);
  line-height: 40px;
  border: 0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  padding: 0 var(--blockPadding);
  cursor: pointer;
}

.btn:hover {
  cursor: pointer;
  background-color: var(--btnBgHover);
}

ul li + li {
  margin-top: 12px;
}

ul, p:not(:last-child) {
  margin-bottom: var(--blockPadding);
}

.app-container {
  max-width: calc(1296px + var(--blockPadding) * 2);
  margin: 0 auto;
  padding: 0 var(--blockPadding);
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(var(--blockPadding) * 2);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: bold;
  font-size: larger;
}

header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--headerHeight);
}

header .app-container {
  height: inherit;
}

header menu {
  display: flex;
  gap: var(--blockPadding);
  list-style: none;
}

header menu a {
  color: rgba(255, 255, 255, 0.85);
}

header menu a:hover {
  color: #fff;
}

header a {
  color: #fff;
  font-weight: 600;
}

.menu-spacer {
  flex: 1 1 auto;
}

@media screen and (max-width: 992px) {
  .flex-center {
    gap: var(--blockPadding);
  }

  .menu-spacer {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  header menu {
    display: none;
  }
}

.hero {
  height: min(100%, 900px);
  padding-top: calc(var(--blockPadding) * 2 + var(--headerHeight));
  background: var(--mainColor) radial-gradient(116.18% 118% at 50% 100%, rgba(99, 102, 241, 0.1) 0%, rgba(218, 70, 239, 0.05) 41.83%, rgba(241, 244, 253, 0.07) 82.52%);
  font-size: var(--fontSize);
}

.hero .app-container {
  height: inherit;
  display: flex;
  align-items: stretch;
  gap: var(--blockPadding);
}

.hero-content {
  width: 50%;
  align-self: center;
  background: url('/img/ai-icon.webp') no-repeat 0 0;
  padding: 40px 0 30px 30px;
}

.hero-image {
  width: 50%;
  background: url('/img/hero/hero.webp') no-repeat center bottom;
  background-size: contain;
}

@media screen and (min-resolution: 1.5dppx) {
  .hero-image {
    background-image: url('/img/hero/hero2x.webp');
  }
}

@media screen and (max-width: 992px) {
  .hero .app-container {
    align-items: center;
    justify-content: center;
  }

  .hero-content {
    width: 70%;
  }

  .hero-image {
    display: none;
  }
}

@media screen and (max-width: 600px) {
  .hero {
    padding: calc(var(--headerHeight) * 1.5) 0 var(--headerHeight);
    height: unset;
  }

  .hero-content {
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
  }
}

.checked-list {
  list-style: none inside;
}

.checked-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  grid-gap: 8px;
}

.checked-list li:before {
  content: "";
  display: block;
  width: 20px;
  background: url('/img/icons/ai-marker.svg') no-repeat left center;
}


.how-it-works {
  background-color: var(--mainColor);
  padding: var(--sectionPadding) 0;
}

.how-it-works h2 {
  margin-bottom: 67px;
  text-align: center;
}

.how-it-steps-item {
  display: grid;
  grid-template-columns: auto 306px 1fr;
  grid-gap: calc(var(--blockPadding) * 5);
  align-items: center;
  padding: 35px 0;
  position: relative;
  z-index: 1;
}

.how-it-steps-item:first-child {
  padding-top: 0;
}

.how-it-steps-item:last-child {
  padding-bottom: 0;
}

.how-it-steps-item .point {
  width: 122px;
  height: 122px;
  border-radius: 50%;
  background-color: #1E222B;
  border: 16px solid #151922;
  text-align: center;
  line-height: 90px;
  font-size: 32px;
  font-weight: bold;
  z-index: 10;
}

.how-it-steps-item:before {
  content: '';
  display: block;
  position: absolute;
  left: 62px;
  top: 0;
  bottom: 0;
  width: 1px;
  z-index: 0;
  background-color: rgba(255, 255, 255, 0.15);
}

.how-it-steps-item:first-child:before {
  top: 50%;
}

.how-it-steps-item:last-child:before {
  bottom: 50%;
}

@media screen and (max-width: 992px) {
  .how-it-steps-item {
    grid-template-columns: auto 200px 1fr;
    grid-gap: calc(var(--blockPadding) * 3);
  }
}

@media screen and (max-width: 768px) {
  .how-it-steps-item {
    grid-template-columns: auto 150px 1fr;
    grid-gap: var(--blockPadding);
  }

  .how-it-steps-item .point {
    width: 90px;
    height: 90px;
    line-height: 60px;
    font-size: 24px;
  }

  .how-it-steps-item:before {
    left: 45px;
  }
}

@media screen and (max-width: 600px) {
  .how-it-works h2 {
    margin-bottom: calc(var(--blockPadding) * 2);
  }

  .how-it-steps-item {
    grid-template-columns: auto 1fr;
    grid-gap: var(--blockPadding);
  }

  .how-it-steps-item .point {
    width: 56px;
    height: 56px;
    line-height: 44px;
    border-width: 6px;
    font-size: 1.25rem;
  }

  .how-it-steps-item:before {
    left: 28px;
  }

  .how-it-steps-item picture {
    display: none;
  }
}

.features {
  background: var(--mainColor) radial-gradient(116.18% 118% at 50% 100%, rgba(99, 102, 241, 0.1) 0%, rgba(218, 70, 239, 0.05) 41.83%, rgba(241, 244, 253, 0.07) 82.52%);
  padding: var(--sectionPadding) 0;
}

.features h2 + p {
  margin-top: var(--blockPadding);
  max-width: 856px;
}

.features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: calc(var(--blockPadding) * 4) calc(var(--blockPadding) * 1.5);
  padding-top: 96px;
}

.features-list-item {
  padding: var(--blockPadding);
  background-color: #FFFFFF0A;
  border-radius: 0.5rem;
}

.features-list-item picture {
  display: block;
  width: 80px;
  border-radius: 8px;
  padding: 20px;
  margin-top: calc(-40px - var(--blockPadding));
  margin-bottom: var(--blockPadding);
  background-color: var(--btnBg);
  box-shadow: 0 8px 18px -8px #6366F1E5;
}

.features-list-item.highlighted {
  background-color: var(--btnBg);
}

.features-list-item.highlighted picture {
  background-color: #fff;
}

.features-list-item h4:after {
  content: url('/img/icons/arrow-circle.svg');
  vertical-align: middle;
  margin-left: 8px;
}

@media screen and (max-width: 768px) {
  .features-list {
    grid-template-columns: 1fr;
    padding-top: calc(var(--blockPadding) * 1.5);
    grid-gap: calc(var(--blockPadding) * 3);
  }
}

@media screen and (max-width: 600px) {
  .features-list-item picture {
    width: 44px;
    height: 44px;
    padding: 12px;
    margin-top: calc(-22px - var(--blockPadding));
  }
}

.get-in-touch {
  background-color: var(--mainColor);
  padding: var(--sectionPadding) 0;
}

.get-in-touch .app-container {
  display: flex;
  gap: calc(var(--blockPadding) * 2);
  align-items: center;
}

.get-in-touch h2 {
  margin-bottom: 1rem;
}

.get-in-touch .content {
  flex: 1;
}

.get-in-touch form {
  flex: 1;
  background-color: #151822;
  border-radius: 8px;
  padding: var(--blockPadding);
}

@media screen and (max-width: 767px) {
  .get-in-touch .app-container {
    flex-direction: column;
    align-items: stretch;
  }

  .get-in-touch .content {
    text-align: center;
  }
}

.form-field {
  margin-bottom: var(--blockPadding);
}
.form-label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 14px;
}

.form-control {
  display: block;
  border: 1px solid #FFFFFF2E;
  background: #FFFFFF05;
  border-radius: 8px;
  color: #ffffff;
  padding: 0 var(--blockPadding);
  width: 100%;
  font-family: inherit;
}

input.form-control {
  height: 52px;
}

textarea.form-control {
  padding: var(--blockPadding);
}

.contact-form-status {
  text-align: center;
}

.success-notice {
  color: #51A856;
}

.error-notice {
  color: #F44336;
}

footer {
  background-color: var(--mainColor);
  padding: var(--blockPadding);
  text-align: center;
}
