/* section.hero */
.datasets .hero {
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 190px 0;
  box-sizing: border-box;
}

.datasets .hero .container {
  flex-direction: row;
  height: 100%;
}

.datasets .hero .container,
.datasets .hero .btn-scroll-down,
.datasets .hero .btn-ask-ai {
  opacity: 0;
}

.datasets .hero h1 {
  font-size: 45px;
  line-height: 1.1111;
  color: white;
  margin: 0;
  width: 570px;
  max-width: 100%;
}

.datasets.sdk .hero h1 {
  width: 570px;
}

.datasets .hero p {
  font-size: 20px;
  line-height: 1.3;
  color: var(--qvac-green);
  margin: 0;
  width: 529px;
  max-width: 100%;
}

.datasets .hero .btn-group {
  gap: 10px;
}

.datasets .hero .btn-group .btn {
  width: fit-content;
}

.datasets .hero .inner-container:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
  max-width: 45%;
}

.datasets .hero .inner-container:last-child {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  width: 100%;
  height: 508px;
}

.datasets .hero .laptop-container {
  position: absolute;
  top: 0px;
  right: -40px;
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(23,24,23,0) 0%,
    rgba(23,24,23,0) 20%,
    rgba(23,24,23,1) 35%,
    rgba(23,24,23,1) 100%
  );
  mask-image: linear-gradient(
    to right,
    rgba(23,24,23,0) 0%,
    rgba(23,24,23,0) 20%,
    rgba(23,24,23,1) 35%,
    rgba(23,24,23,1) 100%
  );
  pointer-events: none;
}

.datasets .hero .laptop-container > img {
  width: 773.87px;
  pointer-events: none;
}

.datasets .hero .laptop-container .code-block {
  position: absolute;
  top: 60px;
  right: 90px;
  width: 444.67px;
  max-width: 70%;
  z-index: 1;
  pointer-events: all;
}

.datasets .hero .laptop-container .code-block .code-block__header {
  display: flex;
  justify-content: space-between;
  padding: 12px;
  font-size: 12px;
}

.datasets .hero .laptop-container .code-block .code-block__body {
  padding: 12px;
  padding-bottom: 60px;
  height: 300px;
}

.datasets .hero .laptop-container .code-block .code-block__body .code {
  font-size: 12px;
}

.datasets.fabric .hero .laptop-container .code-block__body {
  padding-bottom: 0;
}

.datasets .hero .laptop-container .code-block__body::after {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.5) 40px,
    rgba(0, 0, 0, 0) 80px,
    rgba(0, 0, 0, 0) 100%
  );
}

.datasets.fabric .hero .laptop-container .code-block__body::after {
  display: none;
}

@media (max-width: 1199.98px) {
  .datasets .hero .inner-container:first-child {
    max-width: 42%;
  }

  .datasets .hero .laptop-container .code-block {
    right: 80px;
  }

  .datasets .hero h1 {
    font-size: 48px;
  }

  .datasets .hero p {
    font-size: 18px;
  }
}

@media (max-width: 991.98px) {
  .datasets .hero {
    padding: 120px 0 182px;
    gap: 50px;
  }

  .datasets .hero .container {
    position: relative;
    flex-direction: column;
    gap: 30px;
  }

  .datasets .hero .container .inner-container:first-child {
    max-width: 100%;
    align-items: center;
    gap: 20px;
  }

  .datasets .hero h1,
  .datasets .hero p {
    text-align: center;
    width: 361px;
    max-width: 100%;
    text-align: center;
  }

  .datasets.sdk .hero h1 {
    width: 361px;
  }

  .datasets .hero h1 {
    font-size: 27px;
  }

  .datasets .hero p {
    font-size: 13px;
  }

  .datasets .hero .btn-group {
    position: absolute;
    bottom: -62px;
    align-items: center;
    flex-direction: row;
  }

  .datasets .hero .container .inner-container:last-child {
    height: auto;
    align-items: center;
    gap: 30px;
  }

  .datasets .hero .container .laptop-container {
    position: relative;
    top: unset;
    right: unset;
    mask-image: none;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .datasets:not(.genesis) .hero .laptop-container > img {
    display: none;
  }

  .datasets.genesis .hero .laptop-container > img {
    width: 498px;
    max-width: 100%;
  }

  .datasets .hero .laptop-container .code-block {
    position: relative;
    top: unset;
    right: unset;
    width: 498px;
    max-width: 100%;
  }

  .datasets .hero .laptop-container .code-block .code-block__header {
    display: flex;
    align-items: center;
    min-height: 34px;
    padding: 11px;
    font-size: max(1.4vw, 11px);
  }

  .datasets .hero .laptop-container .code-block__body {
    height: fit-content;
    max-height: max(38.2vw, 282px);
    min-height: 210px;
  }

  .datasets .hero .laptop-container .code-block .code-block__body .code {
    font-size: max(1.3vw, 10px);
  }
}

/* section.feature */
.datasets .feature {
  display: flex;
  align-items: center;
  padding: 170px 0 20px;
  box-sizing: border-box;
}

.datasets .feature.extra-pb {
  padding: 170px 0 200px;
}

.datasets .feature .container {
  flex-direction: row;
  justify-content: space-between;
  gap: 50px;
}

.datasets .feature .container.row-reverse {
  flex-direction: row-reverse;
}

.datasets .feature h2,
.datasets .feature p {
  width: 569px;
  max-width: 100%;
  margin: 0;
}

.datasets .feature h2 {
  font-size: 45px;
  line-height: 1.1111;
  width: 609px;
}

.datasets .feature p,
.datasets .feature p a {
  font-size: 20px;
  line-height: 1.3;
}

.datasets .feature p a {
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.datasets .feature .inner-container  {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 50%;
  width: 50%;
  gap: 30px;
}

.datasets .feature .inner-container .feature-image {
  width: 570px;
  max-width: 42vw;
}

.datasets .feature .container:not(.row-reverse) .inner-container .feature-image {
  margin-left: auto;
}

.datasets .feature .inner-container .btn-group {
  flex-direction: column;
  gap: 10px;
}

.datasets.genesis .feature .inner-container .btn-group {
  flex-direction: row;
  gap: 20px;
}

.datasets .feature .inner-container .btn-group .btn {
  width: fit-content;
}

.datasets .feature .laptop-container {
  position: relative;
  width: 836px;
  height: 550px;
  pointer-events: none;
}

.datasets .feature .laptop-container > img {
  position: absolute;
  top: 0;
  left: -57px;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.datasets .feature .laptop-container.is-reverse img {
  left: -130px;
}

.datasets .feature .laptop-container.is-reverse .code-block {
  left: unset;
  right: -100px;
}

.datasets .feature .code-block {
  width: 498px;
  max-width: 42vw;
  left: 50px;
  top: calc(50% - 16px);
  transform: translateY(-50%);
  pointer-events: all;
}

.datasets .feature .code-block__body {
  max-height: 390px;
  height: fit-content;
}

.datasets .feature .code-block__header .btn-copy {
  top: 9px;
}

@media (max-width: 1399.98px) {
  .datasets .feature .laptop-container {
    max-width: 100%;
  }

  .datasets .feature .laptop-container > img {
    display: none;
  }

  .datasets .feature .code-block {
    width: 568px;
  }

  .datasets .feature .laptop-container {
    width: unset;
    height: unset;
  }

  .datasets .feature .laptop-container .code-block {
    left: unset !important;
    right: unset !important;
    top: unset !important;
    transform: none !important;
  }
}

@media (max-width: 1199.98px) {
  .datasets .feature h2 {
    font-size: 54px;
  }

  .datasets .feature p {
    font-size: 18px;
  }
}

@media (max-width: 991.98px) {
  .datasets .feature {
    padding: 120px 0 40px;
  }

  .datasets .feature.extra-pb {
    padding: 120px 0 190px;
  }

  .datasets .feature .container {
    position: relative;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .datasets .feature .container.row-reverse {
    flex-direction: column;
  }

  .datasets .feature h2,
  .datasets .feature p {
    text-align: center;
    width: 361px;
    max-width: 100%;
  }

  .datasets .feature h2 {
    font-size: 22px;
    line-height: 1.2727;
  }

  .datasets .feature p {
    font-size: 13px;
    line-height: 1.3846;
  }

  .datasets .feature p a {
    text-underline-offset: 2px;
  }

  .datasets .feature .inner-container {
    align-items: center;
    width: 100%;
    max-width: 100%;
    gap: 20px;
  }

  .datasets .feature .inner-container .btn-group {
    position: absolute;
    bottom: -62px;
    align-items: center;
    flex-direction: row;
	z-index: 1;
  }

  .datasets.genesis .feature .inner-container .btn-group {
    gap: 10px;
  }

  .datasets .feature .inner-container .feature-image {
    width: 468px;
    max-width: 90%;
  }

  .datasets.sdk .feature .inner-container .feature-image {
    max-width: 80%;
  }

  .datasets .feature .container:not(.row-reverse) .inner-container .feature-image {
    margin-left: unset;
  }

  .datasets .feature .code-block {
    width: 498px;
    max-width: 100%;
  }

  .datasets .feature .code-block__header {
    display: flex;
    align-items: center;
    min-height: 34px;
    padding: 11px;
    font-size: max(1.4vw, 11px);
  }

  .datasets .feature .code-block__body {
    height: fit-content;
    max-height: max(38.2vw, 282px);
    min-height: 210px;
  }

  .datasets .feature .code-block .code {
    font-size: max(1.3vw, 10px);
  }
}

@media (max-width: 575.98px) {
  .datasets .feature .code-block__body {
    max-height: 310px;
  }
}

/* section.faq */
.datasets .faq {
  display: flex;
  align-items: center;
  padding: 170px 0 100px;
  box-sizing: border-box;
}

.datasets .faq h2 {
  text-align: center;
  margin: 0;
}

.datasets .faq .accordion {
  margin-top: 40px;
}

@media (max-width: 991.98px) {
  .datasets .faq {
    padding: 120px 0 84px;
  }

  .datasets .faq .accordion {
    margin-top: 20px;
  }
}

/* .code-block */
.code-block {
  position: relative;
  width: 498px;
  max-width: 100%;
  border: 1px solid #30504B;
  border-radius: 8px;
  overflow: hidden;
}

.code-block__header {
  font-weight: bold;
  font-size: 14px;
  color: var(--qvac-green);
  padding: 14px;
  box-sizing: border-box;
  border-bottom: 1px solid #30504B;
}

.code-block__header .btn-copy {
  position: absolute;
  right: 8px;
  top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: none;
  box-sizing: border-box;
  padding: 0;
}

.code-block__header .btn-copy img {
  width: 16px;
  height: 16px;
}

.code-block__body {
  padding: 14px;
  box-sizing: border-box;
  height: 350px;
  overflow: auto;
  padding-bottom: 60px;
  scrollbar-color: #30504B var(--qvac-black);
  scrollbar-width: thin;
}

.code-block__body::after {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(23, 24, 23, 1) 0%,
    rgba(23, 24, 23, 0.5) 40px,
    rgba(23, 24, 23, 0) 80px,
    rgba(23, 24, 23, 0) 100%
  );
  pointer-events: none;
}

.code-block__body pre {
  margin: 0;
}

.code-block .code {
  font-family: 'Inconsolata', sans-serif;
  font-weight: bold;
  font-size: 14px;
  line-height: 1.1246;
  color: rgba(171, 171, 171, 0.8);
}

@media (max-width: 1199.98px) {
  .code-block .code {
    font-size: 13px;
  }
}

@media (max-width: 991.98px) {
  .datasets .hero .laptop-container .code-block .code-block__content,
  .code-block__content {
    position: relative;
    height: 100%;
  }

  .datasets .hero .laptop-container .code-block .code-block__body,
  .code-block__body {
    padding: 10px;
    padding-bottom: 30px;
    height: 100%;
  }

  .datasets .hero .laptop-container .code-block__body::after,
  .code-block__body::after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      to top,
      rgba(23, 24, 23, 1) 0%,
      rgba(23, 24, 23, 0.5) 20px,
      rgba(23, 24, 23, 0) 40px,
      rgba(23, 24, 23, 0) 100%
    );
  }

  .datasets .feature .code-block__header .btn-copy,
  .code-block__header .btn-copy {
    top: 5px;
  }
}
