/* ==========================================================================
   Yield-as-a-Service Page Styles
   ========================================================================== */

/* Hero
   ========================================================================== */

.yaas-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.yaas-hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  z-index: 0;
}

.yaas-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.77);
  backdrop-filter: blur(100px);
  z-index: 1;
}

.yaas-hero > .container {
  position: relative;
  z-index: 2;
}

.yaas-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4rem;
}

.yaas-hero__subtitle {
  font-size: 3.2rem;
  font-weight: 500;
  color: #F9F7F0;
  opacity: 0.7;
}

.yaas-hero__title {
  font-weight: 500;
  color: #F9F7F0;
  font-size: 8.4rem;
  line-height: 88px;
}

.yaas-hero__text {
  font-size: 1.9rem;
  color: #fff;
  line-height: 2.8rem;
  max-width: 686px;
  padding: 0 12rem;
}

.yaas-hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  margin-top: 4rem;
}

.yaas-hero__button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  width: 225px;
  height: 44px;
  background: linear-gradient(180deg, #ADA5D4 0%, #8572E1 100%);
  box-shadow: inset 0px 2px 4px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(25px);
  border-radius: 12px;
  font-size: 1.7rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.1px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.yaas-hero__button:hover {
  opacity: 0.9;
}

.yaas-hero__link {
  font-size: 1.4rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: -0.1px;
  line-height: 2.1rem;
  text-decoration: none;
}

.yaas-hero__link:hover {
  opacity: 0.7;
}

/* Yield Applied
   ========================================================================== */

.yaas-yield {
  padding: 8rem 0;
}

.yaas-yield__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4rem;
}

.yaas-yield__text {
  flex: 0 1 495px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 1.6rem;
  gap: 3.2rem;
}

.yaas-yield__title {
  font-size: 4.8rem;
  font-weight: 500;
  line-height: 58px;
  letter-spacing: -0.005em;
  color: #FAF7F0;
}

.yaas-yield__descs {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.yaas-yield__desc {
  font-size: 1.9rem;
  color: #fff;
  opacity: 0.8;
  line-height: 2.7rem;
  letter-spacing: -0.003em;
}

.yaas-yield__button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  width: 173px;
  height: 44px;
  background: #F9F7F0;
  box-shadow: inset 0px 2px 4px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(25px);
  border-radius: 12px;
  font-size: 1.7rem;
  font-weight: 500;
  color: #000;
  letter-spacing: -0.1px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.yaas-yield__button:hover {
  opacity: 0.9;
}

.yaas-yield__card {
  flex: 0 1 580px;
}

.yaas-yield__card-img {
  width: 100%;
  height: auto;
}

/* Four Steps
   ========================================================================== */

.yaas-steps {
  padding: 8rem 0;
}

.yaas-steps__inner {
  display: flex;
  flex-direction: column;
  gap: 5.6rem;
}

.yaas-steps__title {
  font-size: 4.8rem;
  font-weight: 500;
  line-height: 58px;
  letter-spacing: -0.005em;
  color: #FAF7F0;
  text-align: center;
}

.yaas-steps__cards {
  display: flex;
  gap: 2.4rem;
}

.yaas-steps__card {
  flex: 1;
  background: #1D1B23;
  border-radius: 32px;
  padding: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
}

.yaas-steps__card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.6rem;
}

.yaas-steps__card-icon {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.yaas-steps__badge {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.87rem 1.16rem;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.003em;
  color: #F5F5F5;
  background: #413D57;
  border-radius: 12px;
  white-space: nowrap;
}

.yaas-steps__badge--green {
  background: rgba(164, 152, 227, 0.27);
}

.yaas-steps__card-content {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.yaas-steps__card-title {
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: -0.003em;
  color: #fff;
}

.yaas-steps__card-text {
  font-size: 1.9rem;
  font-weight: 400;
  line-height: 25px;
  letter-spacing: -0.003em;
  color: #fff;
  opacity: 0.8;
}

/* Two Assets
   ========================================================================== */

.yaas-assets {
  padding: 8rem 0;
}

.yaas-assets__inner {
  text-align: center;
}

.yaas-assets__title {
  font-size: 5.6rem;
  line-height: 1.1;
}

.yaas-assets__cards {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 6rem;
  text-align: left;
}

.yaas-assets__card-title {
  font-size: 2.8rem;
  font-weight: 600;
  color: #f5f5f5;
  margin-bottom: 2rem;
}

.yaas-assets__card-list {
  padding: 0;
  margin: 0;
}

.yaas-assets__card-list li {
  font-size: 1.6rem;
  color: rgba(155, 163, 174, 0.8);
  line-height: 1.6;
  padding: 0.6rem 0;
  padding-left: 2rem;
  position: relative;
  list-style-type: none;
}

.yaas-assets__card-list li::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  background: rgba(155, 163, 174, 0.8);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 1.3rem;
}

/* Built for Every Platform
   ========================================================================== */

.yaas-platforms {
  padding: 8rem 0;
}

.yaas-platforms__inner {
  display: flex;
  flex-direction: column;
  gap: 5.6rem;
}

.yaas-platforms__title {
  font-size: 4.8rem;
  font-weight: 500;
  line-height: 58px;
  letter-spacing: -0.005em;
  color: #FAF7F0;
  text-align: center;
}

.yaas-platforms__cards {
  display: flex;
  gap: 2.4rem;
}

.yaas-platforms__card {
  flex: 1;
  background: #1D1B23;
  border-radius: 32px;
  padding: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
}

.yaas-platforms__card-header {
  display: flex;
  align-items: flex-start;
}

.yaas-platforms__card-icon {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
}

.yaas-platforms__card-content {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.yaas-platforms__card-title {
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: -0.003em;
  color: #fff;
}

.yaas-platforms__card-text {
  font-size: 1.9rem;
  font-weight: 400;
  line-height: 25px;
  letter-spacing: -0.003em;
  color: #fff;
  opacity: 0.8;
}

/* CTA
   ========================================================================== */

.yaas-cta {
  padding: 10rem 0;
}

.yaas-cta__inner {
  background: url('/assets/ready.png') center / cover no-repeat;
  border-radius: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5.2rem 6.2rem 0;
  gap: 6.4rem;
  min-height: 512px;
  text-align: center;
}

.yaas-cta__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}

.yaas-cta__title {
  font-size: 6.4rem;
  font-weight: 500;
  line-height: 77px;
  color: #F9F7F0;
}

.yaas-cta__text {
  font-size: 1.9rem;
  font-weight: 400;
  line-height: 2.8rem;
  color: #fff;
}

.yaas-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.yaas-cta__button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  width: 254px;
  height: 44px;
  background: #F9F7F0;
  box-shadow: inset 0px 2px 4px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(25px);
  border-radius: 12px;
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -0.1px;
  color: #000;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.yaas-cta__button:hover {
  opacity: 0.9;
}

.yaas-cta__subtext {
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 2.1rem;
  letter-spacing: -0.1px;
  color: #fff;
  opacity: 0.7;
}

/* Typeform Modal
   ========================================================================== */

.tf-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
}

.tf-modal--open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tf-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

.tf-modal__content {
  position: relative;
  width: 90%;
  max-width: 800px;
  height: 85vh;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  z-index: 1;
}

.tf-modal__content [data-tf-live] {
  width: 100%;
  height: 100%;
}

.tf-modal__close {
  position: absolute;
  top: 1.2rem;
  right: 1.6rem;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.1);
  border: none;
  border-radius: 50%;
  font-size: 2.4rem;
  line-height: 1;
  color: #333;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tf-modal__close:hover {
  background: rgba(0, 0, 0, 0.2);
}

/* Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .yaas-hero__subtitle {
    font-size: 2.4rem;
  }

  .yaas-hero__title {
    font-size: 5.6rem;
    line-height: 1.05;
  }

  .yaas-hero__text {
    padding: 0;
  }

  .yaas-yield__title,
  .yaas-steps__title,
  .yaas-assets__title,
  .yaas-platforms__title {
    font-size: 4rem;
  }

  .yaas-cta__title {
    font-size: 4.8rem;
  }

  .yaas-steps__cards {
    flex-wrap: wrap;
  }

  .yaas-steps__cards .yaas-steps__card {
    flex: 1 1 calc(50% - 1.2rem);
    min-width: 0;
  }

  .yaas-platforms__cards {
    flex-wrap: wrap;
  }

  .yaas-platforms__cards .yaas-platforms__card {
    flex: 1 1 calc(50% - 1.2rem);
    min-width: 0;
  }

  .yaas-yield__inner {
    flex-direction: column;
    gap: 4rem;
  }

  .yaas-yield__text {
    flex: 1;
  }

  .yaas-yield__card {
    flex: 1;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .yaas-hero .container,
  .yaas-yield .container,
  .yaas-steps .container,
  .yaas-assets .container,
  .yaas-platforms .container,
  .yaas-cta .container {
    padding: 0 2.4rem;
  }

  .yaas-hero__subtitle {
    font-size: 1.8rem;
  }

  .yaas-hero__title {
    font-size: 3.4rem;
    line-height: 1.05;
  }

  .yaas-hero__text {
    font-size: 1.6rem;
    padding: 0;
  }

  .yaas-hero__actions {
    margin-top: 2rem;
  }

  .yaas-yield,
  .yaas-steps,
  .yaas-assets,
  .yaas-platforms,
  .yaas-cta {
    padding: 5rem 0;
  }

  .yaas-yield__title,
  .yaas-steps__title,
  .yaas-platforms__title {
    font-size: 2.8rem;
    line-height: 1.15;
  }

  .yaas-assets__title {
    font-size: 3rem;
    line-height: 1.15;
  }

  .yaas-cta__title {
    font-size: 3.2rem;
    line-height: 1.15;
  }

  .yaas-cta__inner {
    border-radius: 32px;
    padding: 4rem 2.4rem;
    min-height: auto;
    gap: 4rem;
  }

  .yaas-steps__cards .yaas-steps__card {
    flex: 1 1 100%;
  }

  .yaas-platforms__cards .yaas-platforms__card {
    flex: 1 1 100%;
  }

  .yaas-assets__card-title {
    font-size: 2.2rem;
  }
}
