/*
 * L4: pricing page trial banner only.
 * Scoped to body.pricing-page .pricing-trial-banner.
 */

body.pricing-page .pricing-final-cta.pricing-trial-banner {
  position: relative;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  justify-content: stretch;
  align-items: center;
  gap: 12px 20px;
  width: min(1200px, calc(100% - 48px));
  margin: 48px auto 0;
  padding: 28px 48px 28px 80px;
  border: 1px solid rgba(110, 176, 230, 0.28);
  border-radius: 14px;
  background: linear-gradient(90deg, #06172b 0%, #0a2748 56%, #06182e 100%);
  color: #fff;
  text-align: left;
  box-shadow: 0 8px 20px rgba(6, 23, 43, 0.12);
  overflow: hidden;
  min-height: 0;
  height: auto;
}

body.pricing-page .pricing-trial-banner::before {
  content: "";
  position: absolute;
  left: 28%;
  right: -8%;
  top: -18%;
  bottom: -18%;
  background: radial-gradient(ellipse 70% 78% at 62% 48%, rgba(48, 132, 196, 0.2), rgba(20, 72, 120, 0.08) 48%, transparent 74%);
  pointer-events: none;
  z-index: 0;
}

body.pricing-page .pricing-trial-banner-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  width: auto;
  max-width: none;
  padding: 0;
}

body.pricing-page .pricing-trial-banner-period {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: #e0b44a;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
}

body.pricing-page .pricing-trial-banner-period svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: #e0b44a;
}

body.pricing-page .pricing-final-cta.pricing-trial-banner h2,
body.pricing-page .pricing-trial-banner-title {
  max-width: none;
  margin: 0 0 12px;
  color: #fff;
  background: none;
  font-family: "MM3D Display Serif", "Noto Serif TC", "MM3D Chinese Serif", serif;
  font-size: clamp(40px, 3.1vw, 48px);
  font-weight: 700;
  font-variation-settings: "wght" 700;
  font-synthesis: none;
  line-height: 1.25;
  letter-spacing: 0;
  text-align: left;
  white-space: normal !important;
}

body.pricing-page .pricing-trial-banner-lead {
  margin: 0 0 16px;
  max-width: none;
  color: #9ec9e8;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
}

body.pricing-page .pricing-trial-banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}

body.pricing-page .pricing-trial-banner-cta {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 22px 0 24px;
  border: 0;
  border-radius: 10px;
  background: #ffb13b;
  color: #06172b !important;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: none;
}

body.pricing-page .pricing-trial-banner-cta svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

body.pricing-page .pricing-trial-banner-cta:hover,
body.pricing-page .pricing-trial-banner-cta:focus-visible {
  background: #ffc056;
  color: #06172b !important;
}

body.pricing-page .pricing-trial-banner-cta-in {
  display: none !important;
}

html.public-session-hint body.pricing-page .pricing-trial-banner-cta-in {
  display: inline-flex !important;
}

body.pricing-page .pricing-trial-banner-help {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: #8ec8ea !important;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
}

body.pricing-page .pricing-trial-banner-help:hover,
body.pricing-page .pricing-trial-banner-help:focus-visible {
  color: #b9dff7 !important;
  background: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.pricing-page .pricing-trial-banner span {
  display: inline;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: inherit;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
}

body.pricing-page .pricing-trial-banner-art {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  align-self: stretch;
  width: auto;
  max-width: none;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  background: none;
  box-shadow: none;
  pointer-events: none;
}

body.pricing-page .pricing-trial-banner-art img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  max-height: 292px;
  object-fit: contain;
  object-position: 58% 46%;
  border: 0;
  background: none;
  box-shadow: none;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
  -webkit-mask-image: radial-gradient(
    ellipse 92% 84% at 50% 46%,
    #000 36%,
    rgba(0, 0, 0, 0.92) 48%,
    rgba(0, 0, 0, 0.55) 64%,
    rgba(0, 0, 0, 0.18) 80%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 92% 84% at 50% 46%,
    #000 36%,
    rgba(0, 0, 0, 0.92) 48%,
    rgba(0, 0, 0, 0.55) 64%,
    rgba(0, 0, 0, 0.18) 80%,
    transparent 100%
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

html[lang="en"] body.pricing-page .pricing-trial-banner-title-break,
html[data-locale="en-US"] body.pricing-page .pricing-trial-banner-title-break {
  display: none;
}

html[lang="en"] body.pricing-page .pricing-trial-banner-title,
html[data-locale="en-US"] body.pricing-page .pricing-trial-banner-title {
  font-size: clamp(34px, 2.5vw, 42px);
}

body.pricing-page #pricing-trial-banner,
body.pricing-page #faq-trial {
  scroll-margin-top: 88px;
}

body.pricing-page .pricing-trial-banner + .pricing-hero {
  padding-top: 48px;
}

@media (max-width: 1100px) {
  body.pricing-page .pricing-final-cta.pricing-trial-banner {
    padding: 26px 40px 26px 80px;
    gap: 12px 16px;
  }

  body.pricing-page .pricing-trial-banner-art img {
    max-height: 248px;
  }
}

@media (max-width: 900px) {
  body.pricing-page .pricing-trial-banner + .pricing-hero {
    padding-top: 36px;
  }

  body.pricing-page .pricing-final-cta.pricing-trial-banner {
    grid-template-columns: 1fr;
    justify-content: stretch;
    gap: 16px;
    width: min(1200px, calc(100% - 32px));
    padding: 22px 22px 24px;
  }

  body.pricing-page .pricing-trial-banner::before {
    left: 8%;
    right: 8%;
    top: 42%;
    bottom: -10%;
  }

  body.pricing-page .pricing-trial-banner-copy {
    width: auto;
    max-width: none;
  }

  body.pricing-page .pricing-trial-banner-title {
    font-size: clamp(28px, 7vw, 32px);
  }

  body.pricing-page .pricing-trial-banner-lead {
    font-size: 17px;
    margin-bottom: 22px;
  }

  body.pricing-page .pricing-trial-banner-period {
    font-size: 16px;
  }

  body.pricing-page .pricing-trial-banner-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  body.pricing-page .pricing-trial-banner-cta,
  html.public-session-hint body.pricing-page .pricing-trial-banner-cta-in {
    width: 100%;
  }

  body.pricing-page .pricing-trial-banner-help {
    justify-content: center;
    min-height: 0;
  }

  body.pricing-page .pricing-trial-banner-art {
    min-height: 0;
    margin: 0;
    order: 2;
    justify-content: center;
    align-self: stretch;
  }

  body.pricing-page .pricing-trial-banner-art img {
    width: 100%;
    height: auto;
    max-height: 260px;
    object-position: center;
  }
}

@media (max-width: 720px) {
  body.pricing-page .pricing-final-cta.pricing-trial-banner {
    width: min(1200px, calc(100% - 24px));
    padding: 22px 20px 24px;
    margin: 32px auto 0;
  }
}
