@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
  --primary-font: 'Open Sans';
  --secondary-font: 'Montserrat';
  --primary-color: rgb(255, 142, 49);
  --gray-color: rgb(88, 88, 88);
  --light-gray-color: rgb(137, 137, 137);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: rgb(233, 233, 233);
}

main {
  font-family: var(--primary-font);
}

.container {
  position: relative;
  height: 100%;
  max-width: 1024px;
  margin: 0 auto;
}

/* HERO */

.hero {
  position: relative;
  background: url(assets/woman-ai.webp) no-repeat center/cover;
  color: #fff;
  width: 100%;
  height: 80vh;
}
.hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background: linear-gradient(to top, var(--primary-color) 10%, rgba(255, 165, 0, 0));
  z-index: 1;
}

.hero * {
  position: relative;
  z-index: 2; 
}

.hero-logo {
  position: absolute;
  top: 20px;
  left: 20px;
  text-transform: uppercase;
  text-align: center;
  background-color: var(--primary-color);
  font-weight: 800;
  font-size: 16px;
  padding: 4px;
  border-radius: 5px;
  font-family: var(--secondary-font);
}

.hero__content {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__content-title {
  font-weight: 800;
  text-transform: uppercase;
  font-size: 72px;
  font-family: var(--secondary-font);
  text-align: center;

  margin-bottom: 10px;
}

.hero__content-btn {
  background: #fff;
  color: var(--primary-color);
  padding: 13px 16px;
  border-radius: 10px;
  font-weight: 600;

  margin-top: 30px;
}

/* QUESTIONS */

.questions {
  padding: 150px 30px 100px;
}

.questions__header {
  display: flex;
  align-items: center;
}

.questions__header .questions__header-title {
  color: var(--primary-color);
  font-weight: 800;
  font-size: 64px;
  flex: 1;
}

.questions__header .questions__header-text {
  width: 400px;
  font-weight: 500;
  color: var(--gray-color);
}

.questions__list {
  margin-top: 50px;
}

.questions__item {
  position: relative;
  border: 1px solid var(--gray-color);
  padding: 30px 30px 50px 30px;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
  background-color: rgb(233, 233, 233);
  display: none;
  overflow: hidden;
}
.questions__item.show {
  display: block;
}

.questions__item .questions__item-number {
  position: relative;
  z-index: 1;
  font-weight: 800;
  color: var(--gray-color);
}

.questions__item .questions__item-title {
  position: relative;
  z-index: 1;
  margin: 20px 0;
  text-transform: uppercase;
  color: var(--primary-color);
  font-weight: 800;
  font-size: 24px;
}

.questions__item-content {
  display: flex;
}

.questions__item-content > * {
  flex: 1;
}

.questions__options-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 10px;
}

.questions__options-item {
  color: var(--light-gray-color);
  background-color: #fff;
  width: 80%;
  text-align: start;
  padding: 10px 12px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.questions__options-item:hover {
  background-color: rgb(255, 236, 220);
}

/* FOOTER */

.result-text {
  text-align: center;
  color: var(--primary-color);
  font-weight: 800;
  font-size: 56px;
  max-width: 700px;
  margin: 0 auto;
}


.footer {
  margin: 50px 10px 20px 10px;
  background: var(--primary-color);
  color: #fff;
  padding: 50px 20px 30px 20px;
  border-radius: 10px;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer__form {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__form-title {
  font-weight: 600;
  text-align: center;
  font-size: 24px;
  margin-bottom: 10px;
}

.footer__form input {
  width: 100%;
  background: rgba(255,255,255,0.1);
  border: 1px solid #fff;
  color: #fff;
  padding: 13px 16px;
  border-radius: 5px;
  font-weight: 600;
  font-family: var(--secondary-font);
}
.footer__form input::placeholder {
  color: rgba(255,255,255,0.8)
}

.footer__form-btn {
  background: #fff;
  color: var(--gray-color);
  padding: 16px 16px;
  border-radius: 5px;
  font-weight: 600;
  width: 100%;
  margin-top: 10px;
}




.custom-checkbox {
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  display: flex;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
}

.custom-checkbox .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: var(--primary-color);
  border: 1px solid #fff;
  border-radius: 3px;
}

.custom-checkbox input:checked + .checkmark {
  background-color: #fff; 
}

.custom-checkbox .checkmark::after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--primary-color);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-checkbox input:checked + .checkmark::after {
  display: block;
}

.result {
  margin: 50px 10px 0;
  display: none;
}





.money-fly-img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 50%;
  height: 100%;
  transform: scaleX(-1);
  z-index: 0;
  filter: grayscale(100%);
  object-fit: cover;
}

.money-tower-img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 50%;
  height: 100%;
  transform: scaleX(-1);
  z-index: 0;
  filter: grayscale(100%);
  object-fit: cover;
  opacity: 0.7;
}

.deal-img {
  position: absolute;
  right: -150px;
  bottom: -50px;
  width: 100%;
  height: 100%;
  transform: rotate(-25deg);
  z-index: 0;
  filter: grayscale(100%);
  object-fit: cover;
}

.charts-img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 50%;
  height: 100%;
  transform: scaleX(-1);
  z-index: 0;
  filter: grayscale(100%);
  object-fit: cover;
}



@media (max-width: 830px) {
  .questions__header {
    flex-direction: column;
    align-items: start;
    gap: 15px;
  }

  .questions__header .questions__header-text {
    width: 100%;
  }

  .questions__item-content {
    flex-direction: column;
  }

  .questions__item-content > * {
    flex: auto;
  }

  .questions__options-item {
    width: 100%;
  }

  .imgBlock {
    height: 100px;
  }

  .money-fly-img {
    width: 100%;
    height: 60%;
  }

  .deal-img {
    right: auto;
    left: -100px;
    bottom: -150px;
    width: 150%;
    height: 100%;
  }

  .money-tower-img {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 50%;
  }

  .charts-img {
    bottom: 0;
    width: 100%;
    height: 50%;
    transform: scaleX(-1);
    z-index: 0;
    filter: grayscale(100%);
    object-fit: cover;
  }
}

@media (max-width: 830px) {
  .hero__content-title {
    font-size: 52px;
  }

  .questions__header .questions__header-title {
    font-size: 42px;
  }

  .result-text {
    font-size: 32px;
  }
}