@font-face {
  font-family: "Aeonik";
  src: url("./fonts/Aeonik-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Aeonik";
  src: url("./fonts/Aeonik-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Aeonik";
  src: url("./fonts/Aeonik-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

:root {
  --primary: #00aeff;
  --neutral-100: #131614;
  --neutral-200: #191c1a;
  --neutral-300: #1d211e;
  --neutral-400: #1f2421;
  --neutral-700: #7c8a80;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

button,
a {
  font-family: "Arial", sans-serif;
}

body {
  font-family: "Aeonik", "Arial", sans-serif;
  line-height: 1.6;
  color: var(--white);
  background: var(--neutral-100);
  min-height: 100vh;
  overflow-x: hidden;
}

* {
  font-family: "Aeonik", "Arial", sans-serif;
}

main {
  overflow: hidden;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px var(--neutral-300) inset !important;
  -webkit-text-fill-color: var(--white) !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* for Firefox */
input:-moz-autofill {
  background-color: var(--neutral-300) !important;
  color: var(--white) !important;
}

/* for Edge */
input:-ms-input-placeholder {
  color: color-mix(in srgb, var(--neutral-700) 50%, transparent) !important;
}

/* ui kit */
.button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  line-height: 100%;
}

.button {
  text-decoration: none;
}

.button.button--small {
  height: 46px;
  padding: 0 20px;
}

.button.button--black {
  background-color: var(--neutral-300);
  color: var(--white);
  transition: all 0.3s ease;
}
.button.button--black:hover {
  background-color: color-mix(in srgb, var(--neutral-300) 80%, transparent);
}

.button.button--primary {
  background-color: var(--primary);
  color: var(--white);
  transition: all 0.3s ease;
}
.button.button--primary:hover {
  background-color: color-mix(in srgb, var(--primary) 80%, transparent);
}

.button svg {
  transition: all 0.3s ease;
}

.button.button--black:hover svg {
  color: var(--primary);
  transform: scale(1.1);
}
.button.button--primary:hover svg {
  color: var(--white);
  transform: scale(1.1);
}

.bg-neutral-400-50 {
  background-color: color-mix(
    in srgb,
    var(--neutral-400) 50%,
    transparent
  ) !important;
}
.text-white {
  color: var(--white) !important;
}
/* ui kit end */

.header {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--neutral-100);
}

.colored-text-section-wrapper {
  position: relative;
  width: 100%;
}

.global-bg-1,
.global-bg-2 {
  position: absolute;
  z-index: -1;
}

.global-bg-1 {
  left: 8%;
  top: 60%;
}

.global-bg-2 {
  right: 8%;
  bottom: -90%;
  transform: rotate(55deg);
}

/* Hero styles */
.hero {
  position: relative;
  width: 100%;
  height: 540px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.main-title {
  max-width: 762px;
  font-size: 56px;
  font-weight: 700;
  line-height: 100%;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.main-title-part {
  color: var(--white);
}

.main-title-colored-part {
  color: var(--primary);
  height: 81px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--neutral-300);
  backdrop-filter: blur(38px);
  padding: 0 8px;
}

.main-title-colored-part.first {
  transform: rotate(3deg);
}

.main-title-colored-part.second {
  transform: rotate(-3deg);
}

.hero-content {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 48px;
}
/* Hero styles end */

.carousel-2 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  gap: 0;
  position: relative;
  z-index: 1;
  margin-top: -86px;
  height: 480px;
}

.carousel-2-item {
  width: 744px;
  height: 444px;
  min-width: 744px;
  min-height: 444px;
  transform: rotate(0deg);
  transition: transform 1s ease-out;
}

.carousel-2-item img {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  object-fit: cover;
}

.carousel-2-track {
  display: flex;
  gap: 24px;
  width: 100%;
  height: 100%;
  padding: 24px 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  /* transform: translateX(-26%); */
  transform: translateX(0);
  animation: carousel-2-scroll 45s linear infinite;
  animation-delay: 1s;
  will-change: transform;
}

@keyframes carousel-2-scroll {
  0% {
    /* transform: translateX(-26%); */
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-1 * var(--set-carousel-2-width, 2296px)));
  }
}
/* Carousel styles */
.carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 0;
  position: relative;
  z-index: 1;
  margin-top: -86px;
  height: 480px;
}

.carousel-item {
  position: absolute;
  top: 0;
  left: 50%;
  width: 744px;
  height: 444px;
  cursor: pointer;
  z-index: 1;
  animation-delay: 2s;
  animation-fill-mode: both;
  will-change: transform;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  object-fit: cover;
}

/* Carousel styles end */

/* Colored text section styles */
.colored-text-section {
  max-width: 712px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--neutral-700);
  font-size: 39px;
  font-weight: 700;
  line-height: 100%;
  margin: 14px auto 50px auto;
}

.colored-text-section-icon-wrapper {
  width: 47px;
  height: 47px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: color-mix(in srgb, var(--neutral-400) 50%, transparent);
}

.colored-text-section-common {
  display: flex;
  align-items: center;
  gap: 10px;
}

.colored-text-section-part {
  display: flex;
  align-items: center;
  gap: 10px;
  color: color-mix(in srgb, var(--neutral-700) 50%, transparent);
}
/* Colored text section styles end */

/* Features styles */
.features {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 100px;
}

.features-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.features-head .title {
  max-width: 776px;
}

.features-head .subtitle {
  max-width: 594px;
}

.title {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 49px;
  font-weight: 700;
  line-height: 100%;
  text-align: center;
}

.title > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 8px;
}

.subtitle {
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
  color: var(--neutral-700);
}

.features-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 24px;
  border-radius: 30px;
  /* background-image: url(./images/bg-features.webp); */
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  max-width: 1248px;
  margin: 0 auto;
  position: relative;
}

.features-list img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.features-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--neutral-100);
  border-radius: 18px;
  padding: 24px;
  position: relative;
  z-index: 1;
}

.features-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  width: 43px;
  height: 43px;
  background: linear-gradient(180deg, var(--neutral-200) 0%, #212522 100%);
}

.features-card-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 100%;
}

.features-card-subtitle {
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  color: var(--neutral-700);
}
/* Features styles end */

/* Platforms styles */
.platforms {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 100px;
}

.platforms-shadow {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  height: 100%;
  background: linear-gradient(270deg, rgba(19, 22, 20, 0) 0%, #131614 100%);
}

.platforms-shadow.left {
  z-index: 1;
  left: 0;
}

.platforms-shadow.right {
  right: 0;
  transform: rotate(180deg);
}

.platforms-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 826px;
  margin: 0 auto;
  overflow: hidden;
}

.platforms-track {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  animation: scroll 30s linear infinite;
  animation-delay: 2s;
  will-change: transform;
}
.platforms-track::-webkit-scrollbar {
  display: none;
}
.platforms-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-1 * var(--set-width, 1520px)));
  }
}

.platforms-track img {
  flex: 0 0 auto;
  width: 120px;
  height: 120px;
  border-radius: 16px;
  background: var(--neutral-200);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}
/* Platforms styles end */

/* CTA styles */
.cta {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  max-width: 1248px;
  height: 315px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 30px;
  margin-top: 100px;
  margin-bottom: 100px;
}

.cta-title {
  max-width: 542px;
  flex-wrap: wrap;
}

.cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.cta-left {
  position: absolute;
  top: 50%;
  left: 30px;
  transform: translateY(-50%);
}

.cta-right {
  position: absolute;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
}

.cta-buttons {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}
/* CTA styles end */

/* Footer styles */
.footer {
  padding: 20px;
}

.footer p {
  position: relative;
  z-index: 1;
  max-width: 280px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: color-mix(in srgb, var(--neutral-700) 50%, transparent);
}

.footer-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  height: 450px;
  padding-top: 75px;
  padding-left: 75px;
}

.footer-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.footer-logo {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.footer-badge {
  background: var(--primary);
  padding: 4px 8px;
  height: 30px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-links {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
}

.footer-links a {
  background: var(--neutral-300);
  padding: 5px;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  color: color-mix(in srgb, var(--neutral-700) 50%, transparent);
  text-decoration: none;
}
/* Footer styles end */

/* Modal styles */
.modal-wrapper {
  position: fixed;
  z-index: 1000;
  pointer-events: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modal {
  position: relative;
  pointer-events: auto;
  z-index: 1001;
  background-color: var(--neutral-300);
  border-radius: 20px;
  width: 450px;
  max-height: 608px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  cursor: pointer;
  background-color: color-mix(in srgb, var(--neutral-700) 10%, transparent);
  border-radius: 50%;
  border: none;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background-color: color-mix(in srgb, var(--neutral-700) 40%, transparent);
}

.modal-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 24px;
  background-color: var(--neutral-200);
  border-radius: 20px;
}

.modal-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 38px;
  text-align: center;
  color: var(--white);
}

.modal-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.modal-form-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.modal-form-item label {
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  color: var(--neutral-700);
}

.modal-form-item .required {
  color: var(--primary);
}

.modal-form-item input {
  width: 100%;
  height: 50px;
  border-radius: 9px;
  border: 1px solid transparent;
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  color: var(--white);
  padding: 14px;
  background-color: var(--neutral-300);
  transition: all 0.3s ease;
}
.modal-form-item input::placeholder {
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  color: color-mix(in srgb, var(--neutral-700) 50%, transparent);
}
.modal-form-item input:hover {
  background-color: color-mix(in srgb, var(--neutral-300) 50%, transparent);
  border: 1px solid color-mix(in srgb, var(--neutral-700) 50%, transparent);
}
.modal-form-item input:focus {
  outline: none;
  border: 1px solid var(--primary);
}

/*  */
.custom-select {
  position: relative;
  width: 100%;
}

.select-trigger {
  width: 100%;
  height: 50px;
  border-radius: 9px;
  border: 1px solid transparent;
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  color: color-mix(in srgb, var(--white) 75%, transparent);
  background-color: var(--neutral-300);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.3s ease;
}

.select-trigger:hover {
  background-color: color-mix(in srgb, var(--neutral-300) 50%, transparent);
  border: 1px solid color-mix(in srgb, var(--neutral-700) 50%, transparent);
}

.select-icon {
  transition: transform 0.3s ease;
}

.custom-select.open .select-icon {
  transform: rotate(180deg);
}

.select-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--neutral-200);
  border: 1px solid var(--neutral-300);
  border-radius: 8px;
  margin-top: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.custom-select.open .select-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.select-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.select-option:hover {
  background: var(--neutral-300);
}

.select-option.selected {
  background: var(--primary);
  color: var(--white);
}
/*  */

.join-waitlist {
  width: 100%;
  margin-top: 6px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  color: var(--white);
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: var(--primary);
  transition: all 0.3s ease;
}
.join-waitlist:hover {
  background-color: color-mix(in srgb, var(--primary) 80%, transparent);
}
.join-waitlist:disabled {
  background-color: #454d48;
  cursor: not-allowed;
  color: var(--neutral-700);
}

.modal-cancel {
  width: 100%;
  color: var(--neutral-700);
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 14px;
}

.modal-cancel:hover {
  color: var(--white);
}

.modal-wrapper[data-open="false"] {
  /* display: none; */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.modal-wrapper[data-open="true"] {
  /* display: flex; */
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-subtitle {
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  color: var(--neutral-700);
}

.success-modal .modal {
  max-height: 422px;
}

.success-modal .modal-content {
  padding-top: 80px;
  gap: 6px;
}

.success-modal .modal-content > .button {
  margin-top: 14px;
}

.success-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.success-message {
  text-align: center;
  color: var(--neutral-700);
  font-size: 16px;
  line-height: 24px;
  margin-top: 10px;
}

.error-message {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 12px;
  line-height: 16px;
  color: #ff0037;
  margin-top: -4px;
}

.modal-form-item input.error,
.select-trigger.error {
  border-color: #ff0037 !important;
}

.input-wrapper {
  position: relative;
  width: 100%;
}

.input-wrapper svg {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.input-wrapper.error svg {
  opacity: 1;
  visibility: visible;
}

.input-wrapper.error input {
  border-color: #ff0037 !important;
}
/* Modal styles end */

/* Toast styles */
.toast {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  min-width: 350px;
  background: var(--neutral-200);
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0px 10px 20px 0px #00000040;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toast-icon {
  flex-shrink: 0;
}

.toast-text {
  flex: 1;
}

.toast-title {
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  color: var(--white);
}

.toast-subtitle {
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  color: var(--neutral-700);
  margin-top: 4px;
}
/* Toast styles end */

/* Responsive styles */
@media screen and (max-width: 469px) {
  .modal {
    width: calc(100% - 20px);
  }
}

@media (max-width: 680px) {
  .carousel {
    height: 45vh;
    min-height: 260px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .carousel {
    height: 65vh !important;
    min-height: 400px !important;
  }

  .features-list {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .platforms-track {
    display: flex !important;
  }

  .cta-buttons {
    flex-direction: row !important;
  }

  .cta-buttons .button {
    width: auto !important;
  }
}

@media (max-width: 1024px) {
  .global-bg-1,
  .global-bg-2 {
    display: none;
  }

  .button.button--small {
    height: 56px;
  }

  .subtitle {
    font-size: 24px !important;
  }

  .hero {
    justify-content: flex-start;
    padding-top: 50px;
  }

  .colored-text-section {
    padding: 0 12px;
  }

  .main-title {
    font-size: 48px;
  }

  .carousel {
    height: 55vh;
    min-height: 360px;
  }

  .carousel-item {
    width: 85%;
    height: auto;
  }

  .features {
    padding: 0 24px;
  }

  .features-head > p {
    max-width: 81% !important;
  }

  .features-list {
    overflow: hidden;
    grid-template-columns: repeat(1, 1fr);
  }

  .features-list img {
    object-fit: cover;
  }

  .features-card-subtitle {
    font-size: 16px;
  }

  .platforms {
    padding: 0 24px;
  }

  .platforms-carousel {
    max-width: 100%;
  }

  .platforms-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-left,
  .cta-right {
    display: none;
  }

  .cta {
    margin: 0 24px;
    padding: 24px;
    height: 100%;
  }

  .cta-buttons {
    width: 100%;
    flex-direction: column;
  }

  .cta-buttons .button {
    width: 100%;
  }

  .cta-title {
    font-size: 40px !important;
  }

  .cta-bg {
    object-fit: cover;
  }

  .footer-content {
    padding-left: 45px;
    height: 370px;
    overflow: hidden;
    border-radius: 30px;
  }

  .footer-links a {
    font-size: 14px;
  }
}
