:root {
  color-scheme: dark;
  --bg: #0e1414;
  --cyan: #00b1cc;
  --muted: rgba(255, 255, 255, 0.4);
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html,
body {
  margin: 0;
  background: var(--bg);
  color: #fff;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}
button {
  font: inherit;
}
main {
  overflow: hidden;
}
.pricing-plans {
  position: relative;
  padding: 128px 24px 132px;
  background: #0e1616;
}
.pricing-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: auto;
}
.pricing-heading {
  text-align: center;
}
.pricing-heading h1,
.faq-inner h2,
.pricing-cta h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.4;
  font-weight: 700;
}
.pricing-heading p,
.pricing-cta p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 28px;
}
.billing-switch {
  position: relative;
  display: inline-flex;
  gap: 4px;
  width: 204px;
  height: 40px;
  margin-top: 52px;
  padding: 4px;
  overflow: hidden;
  background: rgba(0, 177, 204, 0.05);
  border-radius: 8px;
}
.billing-switch::before {
  position: absolute;
  z-index: 0;
  top: 4px;
  left: 4px;
  width: 64px;
  height: 32px;
  border-radius: 4px;
  background: rgba(0, 177, 204, 0.1);
  content: "";
  pointer-events: none;
  transition: width 0.25s ease, transform 0.25s ease;
}
body[data-billing="yearly"] .billing-switch::before {
  width: 128px;
  transform: translateX(68px);
}
.billing-switch__option {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 64px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  border-radius: 4px;
  padding: 0;
  height: 32px;
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: color 0.2s ease, font-weight 0.2s ease;
}
.billing-switch__option[data-billing="yearly"] {
  flex-basis: 128px;
  justify-content: flex-start;
  text-align: left;
  padding-left: 20px;
}
.billing-switch__option.is-active {
  background: transparent;
  color: #fff;
  font-weight: 500;
}
.billing-switch__option span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 24px;
  position: absolute;
  right: 4px;
  margin-left: 0;
  color: #ff9626;
  background: rgba(255, 150, 38, 0.1);
  border-radius: 2px;
  padding: 4px;
  box-sizing: border-box;
  font-size: 14px;
}
.pricing-page--intl .billing-switch__option[data-billing="yearly"] {
  flex-basis: 157px;
  justify-content: flex-start;
  padding: 4px 4px 4px 24px;
  gap: 12px;
}
.pricing-page--intl .billing-switch {
  width: 279px;
}
.pricing-page--intl .billing-switch__option[data-billing="monthly"] {
  flex-basis: 110px;
  padding: 4px 24px;
}
.pricing-page--intl .billing-switch::before {
  width: 110px;
}
body.pricing-page--intl[data-billing="yearly"] .billing-switch::before {
  width: 157px;
  transform: translateX(114px);
}
.pricing-page--intl .billing-switch__option[data-billing="yearly"] span {
  position: static;
  flex: 0 0 63px;
  white-space: nowrap;
}
.pricing-page--intl .popular-tag {
  width: 113px;
  border: 0;
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 408px);
  gap: 28px;
  justify-content: center;
  margin-top: 56px;
}
.plan-card {
  position: relative;
  display: grid;
  grid-template-rows: 32px 64px 28px auto;
  width: 408px;
  min-height: 404px;
  padding: 32px 24px;
  background-color: #0e1414;
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 4px;
  border: 1px solid rgba(0, 177, 204, 0.1);
  transition: filter 0.2s ease;
}
body[data-billing="yearly"] .plan-card {
  min-height: 434px;
  background-size: 100% 100%;
}
.plan-card--free {
  background-image: url("/site-media/image/pricing/plan-free.png");
}
.plan-card--pro {
  background-image: url("/site-media/image/pricing/plan-pro.png");
}
.plan-card--enterprise {
  background-image: url("/site-media/image/pricing/plan-enterprise.png");
}
.plan-card:hover {
  filter: brightness(1.06);
}
.plan-card__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 20px;
  line-height: 32px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}
.popular-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 28px;
  padding: 4px;
  box-sizing: border-box;
  border-radius: 4px;
  border: 0;
  background: rgba(255, 150, 38, 0.1);
  color: rgba(255, 150, 38, 1);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 26px;
}
.plan-price strong {
  display: inline-flex;
  align-items: center;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 500;
  transition: opacity 0.2s;
}
.plan-price .price-currency {
  font-size: 24px;
  line-height: 32px;
  color: rgba(255, 255, 255, 1);
}
.plan-price .price-number {
  font-size: 32px;
  line-height: 38px;
  color: rgba(255, 255, 255, 1);
}
.plan-price span {
  color: var(--muted);
  font-size: 24px;
}
.plan-note {
  min-height: 20px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.plan-card ul {
  display: grid;
  align-self: start;
  gap: 8px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}
.plan-card li {
  position: relative;
  height: 32px;
  padding-left: 32px;
  color: var(--muted);
  font-size: 14px;
  line-height: 32px;
}
.plan-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 20px;
  height: 20px;
  background: url("/site-media/image/pricing/check.svg") center center / 20px 20px no-repeat;
}
.pricing-glow {
  position: absolute;
  left: 50%;
  top: 390px;
  width: min(1024px, 80vw);
  height: 128px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(0, 177, 204, 0.2), transparent 70%);
  filter: blur(64px);
  pointer-events: none;
}
.pricing-plans__bg {
  position: absolute;
  left: 50%;
  top: 178px;
  width: 1440px;
  height: 495px;
  transform: translateX(-50%);
  background: url("/site-media/image/pricing/pricing-bg.png") center center / 1440px 495px no-repeat;
  pointer-events: none;
}
.faq-section {
  border-top: 1px solid rgba(0, 177, 204, 0.1);
  padding: 96px 20px 128px;
  background: #0e1616;
}
.faq-inner {
  max-width: 768px;
  margin: auto;
}
.faq-inner h2 {
  text-align: center;
}
.faq-list {
  margin-top: 56px;
}
.faq-item {
  border-bottom: 0;
}
.faq-item + .faq-item {
  margin-top: 24px;
}
.faq-item h3 {
  margin: 0;
}
.faq-item button {
  display: flex;
  align-items: flex-start;
  width: 100%;
  min-height: 48px;
  padding: 10px 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.8);
  text-align: left;
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  cursor: pointer;
}
.faq-item button > span:first-child {
  margin-right: 6px;
  color: var(--cyan);
}
.faq-chevron {
  margin-left: auto;
  margin-top: 2px;
  transform: rotate(180deg);
  transition: transform 0.2s;
}
.faq-chevron img {
  display: block;
  width: 24px;
  height: 24px;
}
.faq-item.is-open .faq-chevron {
  transform: rotate(0deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding-left: 32px;
  color: var(--muted);
  font-size: 16px;
  line-height: 28px;
  transition:
    max-height 0.25s ease,
    opacity 0.2s ease,
    padding 0.25s ease;
}
.faq-item.is-open .faq-answer {
  max-height: 500px;
  opacity: 1;
  padding-bottom: 16px;
}
.faq-answer p {
  margin: 0;
}
.pricing-page--cn:not([data-billing="yearly"]) .plan-card ul {
  margin-top: 16px;
}
.plan-note[data-yearly-note] {
  visibility: hidden;
}
body[data-billing="yearly"] .plan-note[data-yearly-note] {
  visibility: visible;
}
.plan-note--placeholder {
  visibility: hidden;
}
.pricing-page--intl .faq-answer {
  color: rgba(255, 255, 255, 0.5);
}
.pricing-page--intl .faq-answer__muted {
  color: rgba(255, 255, 255, 0.4);
}
.faq-item.is-open #faq-answer-1 {
  padding-top: 16px;
}
.pricing-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  padding: 64px 20px;
  border-top: 1px solid rgba(0, 177, 204, 0.1);
  border-bottom: 1px solid rgba(0, 177, 204, 0.1);
  text-align: center;
  background:
    radial-gradient(
      ellipse at center,
      rgba(0, 177, 204, 0.12),
      transparent 65%
    ),
    #0e1414;
}
.pricing-cta__button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 64px;
  padding: 12px 16px 12px 24px;
  border-radius: 4px;
  background: #00b1cc;
  color: #fff;
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  transition: background 0.2s;
}
.pricing-cta__button:hover {
  background: #12c5df;
}
.pricing-cta__button:active {
  background: #009bb3;
}
.pricing-cta__button:focus-visible,
.billing-switch__option:focus-visible,
.faq-item button:focus-visible {
  outline: 2px solid #65dff0;
  outline-offset: 3px;
}
@media (max-width: 900px) {
  .pricing-plans {
    padding: 80px 20px;
  }
  .pricing-plans__bg {
    display: none;
  }
  .plan-grid {
    grid-template-columns: min(408px, 100%);
    justify-content: center;
    max-width: 520px;
    margin: 44px auto 0;
  }
  .plan-card {
    width: 100%;
    height: auto;
    min-height: 404px;
    background-size: 100% 100%;
  }
  body[data-billing="yearly"] .plan-card {
    min-height: 434px;
  }
  .faq-section {
    padding: 72px 20px 88px;
  }
  .pricing-cta {
    min-height: 340px;
  }
  .pricing-heading h1,
  .faq-inner h2,
  .pricing-cta h2 {
    font-size: 32px;
    line-height: 44px;
  }
  .pricing-heading p,
  .pricing-cta p {
    font-size: 16px;
    line-height: 24px;
  }
  .billing-switch {
    margin-top: 36px;
  }
  .faq-answer {
    padding-left: 20px;
  }
}
@media (max-width: 420px) {
  .billing-switch__option {
    padding: 0;
  }
  .billing-switch__option span {
    font-size: 12px;
    margin-left: 2px;
  }
  .faq-item button {
    font-size: 18px;
  }
}
