@charset "UTF-8";
/* 价格套餐页面样式 */

.desktop-nav a[aria-current="page"] {
  color: var(--ink);
}

.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.pricing-hero {
  position: relative;
  padding: 115px 0 88px;
  background:
    linear-gradient(rgba(237, 239, 244, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 239, 244, 0.55) 1px, transparent 1px),
    linear-gradient(180deg, #fff, #fbfbfd);
  background-size: 44px 44px, 44px 44px, 100% 100%;
  overflow: hidden;
}

.pricing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.25) 48%,
    rgba(255, 255, 255, 0.86)
  );
}

.pricing-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.pricing-orb-one {
  top: -150px;
  right: 8%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(96, 107, 248, 0.13), transparent 68%);
}

.pricing-orb-two {
  left: -160px;
  bottom: -240px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(94, 190, 242, 0.1), transparent 68%);
}

.pricing-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.72fr;
  align-items: end;
  gap: 100px;
}

.pricing-kicker {
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #5a5f69;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.14em;
}

.pricing-kicker span {
  width: 7px;
  height: 7px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(48, 170, 112, 0.1);
}

.pricing-hero h1 {
  margin: 0;
  font-size: clamp(46px, 5.2vw, 72px);
  font-weight: 720;
  line-height: 1.06;
  letter-spacing: -0.055em;
}

.pricing-hero h1 em {
  color: var(--accent);
  font-style: normal;
}

.pricing-hero-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.pricing-hero-points {
  margin-top: 23px;
  display: flex;
  flex-wrap: wrap;
  gap: 11px 18px;
  color: #646974;
  font-size: 9px;
}

.pricing-hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pricing-hero-points i {
  width: 5px;
  height: 5px;
  background: var(--success);
  border-radius: 50%;
}

.pricing-catalog {
  padding: 62px 0 120px;
  background:
    radial-gradient(circle at 7% 20%, rgba(89, 100, 242, 0.06), transparent 24%),
    radial-gradient(circle at 94% 76%, rgba(102, 191, 244, 0.07), transparent 24%),
    var(--surface);
  scroll-margin-top: 72px;
}

.pricing-toolbar {
  min-height: 64px;
  margin-bottom: 20px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #e4e6eb;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(25, 28, 38, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.pricing-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pricing-tab {
  min-height: 46px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #666b75;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.pricing-tab > span {
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8a8e97;
  background: #eef0f3;
  border-radius: 99px;
  font-family: monospace;
  font-size: 8px;
}

.pricing-tab.is-active {
  color: white;
  background: var(--ink);
  box-shadow: 0 8px 20px rgba(16, 17, 20, 0.16);
}

.pricing-tab.is-active > span {
  color: white;
  background: rgba(255, 255, 255, 0.14);
}

.pricing-toolbar-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #7a7f89;
  font-size: 9px;
}

.pricing-toolbar-note i {
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(48, 170, 112, 0.1);
}

.pricing-important-notice {
  margin: -4px 0 18px;
  padding: 15px 18px;
  color: #b82f34;
  background: #fff4f3;
  border: 1px solid #f1ceca;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.6;
  text-align: center;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
}

.price-brand-item {
  --brand-accent: #5964f2;
  --brand-soft: #eef0ff;
  min-width: 0;
}

.price-brand-card {
  position: relative;
  width: 100%;
  min-height: 180px;
  padding: 20px;
  display: flex;
  align-items: stretch;
  flex-direction: column;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #e3e5ea;
  border-radius: 15px;
  text-align: left;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(24, 27, 36, 0.04);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.price-brand-card::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -55px;
  width: 145px;
  height: 145px;
  background: radial-gradient(circle, var(--brand-soft), transparent 70%);
  border-radius: 50%;
}

.price-brand-card:hover,
.price-brand-card[aria-expanded="true"] {
  border-color: color-mix(in srgb, var(--brand-accent) 28%, #dfe1e6);
  box-shadow: 0 16px 36px rgba(23, 26, 35, 0.08);
  transform: translateY(-3px);
}

.price-brand-card[aria-expanded="true"] {
  border-radius: 15px 15px 10px 10px;
}

.price-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price-card-mark {
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-accent);
  background: var(--brand-soft);
  border: 1px solid color-mix(in srgb, var(--brand-accent) 18%, #e6e8ed);
  border-radius: 11px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
}

.price-card-mark.has-logo {
  padding: 5px;
  background: #fff;
  overflow: hidden;
}

.price-card-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.price-card-type {
  padding: 7px 10px;
  color: var(--brand-accent);
  background: var(--brand-soft);
  border: 1px solid color-mix(in srgb, var(--brand-accent) 26%, #e4e7ec);
  border-radius: 8px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.price-brand-card h2 {
  position: relative;
  z-index: 1;
  margin: 17px 0 5px;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.price-brand-card > p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.price-card-foot {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #373a41;
  font-size: 9px;
  font-weight: 750;
}

.price-card-foot svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--brand-accent);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.22s ease;
}

.price-brand-card[aria-expanded="true"] .price-card-foot svg {
  transform: rotate(90deg);
}

.price-card-details {
  margin: 7px 0 0;
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #e3e5ea;
  border-radius: 10px 10px 15px 15px;
  box-shadow: 0 13px 28px rgba(23, 26, 35, 0.055);
}

.price-card-details[hidden] {
  display: none;
}

.price-detail {
  min-width: 0;
  min-height: 46px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--ink);
  background: #f7f8fa;
  border: 1px solid #eceef1;
  border-radius: 9px;
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  font-weight: 750;
  text-align: left;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

a.price-detail:hover,
button.price-detail:hover {
  background: white;
  border-color: #cfd3fb;
}

.price-detail strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.price-detail-price {
  appearance: none;
}

.price-detail-shop {
  min-height: 44px;
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-accent);
  background: var(--brand-soft);
  border-color: color-mix(in srgb, var(--brand-accent) 18%, #e6e8ed);
  font-size: 10px;
  font-weight: 800;
  text-align: center;
}

.price-brand-card:focus-visible,
.pricing-tab:focus-visible,
.price-detail:focus-visible {
  outline: 3px solid rgba(89, 100, 242, 0.24);
  outline-offset: 3px;
}

.pricing-noscript {
  padding: 28px;
  color: var(--muted);
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
  text-align: center;
}

.pricing-help {
  min-height: 105px;
  margin-top: 38px;
  padding: 23px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  color: white;
  background: var(--ink);
  border-radius: 16px;
}

.pricing-help > div {
  display: grid;
  gap: 3px;
}

.pricing-help .pricing-help-title {
  font-size: 18px;
  line-height: 1.4;
}

.pricing-help p {
  margin: 0;
  color: #a3a7af;
  font-size: 11px;
}

.pricing-help .button {
  color: var(--ink);
  background: white;
  box-shadow: none;
}

.pricing-footer {
  background: white;
}

.has-price-modal {
  overflow: hidden;
}

.price-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  padding: 24px;
  display: grid;
  place-items: center;
}

.price-modal[hidden] {
  display: none;
}

.price-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: rgba(13, 15, 20, 0.58);
  border: 0;
  cursor: default;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.price-modal-panel {
  --modal-accent: #5964f2;
  --modal-soft: #eef0ff;
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100vh - 48px);
  padding: 26px;
  overflow-y: auto;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  box-shadow: 0 28px 90px rgba(10, 12, 18, 0.24);
  outline: none;
}

.price-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.price-modal-header small {
  display: block;
  margin-bottom: 5px;
  color: var(--modal-accent);
  font-size: 9px;
  font-weight: 800;
}

.price-modal-header h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.035em;
}

.price-modal-close {
  min-width: 54px;
  min-height: 34px;
  padding: 0 13px;
  color: #565b65;
  background: #f5f6f8;
  border: 1px solid #e7e9ed;
  border-radius: 8px;
  cursor: pointer;
  font-size: 9px;
  font-weight: 750;
}

.price-modal-close:hover {
  color: var(--ink);
  background: #eceef2;
}

.price-modal-summary {
  margin: 17px 0 15px;
  padding: 10px 12px;
  color: var(--modal-accent);
  background: var(--modal-soft);
  border-radius: 9px;
  font-size: 10px;
  font-weight: 750;
}

.price-plan-list {
  overflow: hidden;
  border: 1px solid #e7e9ed;
  border-radius: 12px;
}

.price-plan-row {
  min-height: 54px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  background: #fff;
}

.price-plan-row + .price-plan-row {
  border-top: 1px solid #eceef1;
}

.price-plan-row:nth-child(even) {
  background: #fafbfc;
}

.price-plan-row strong {
  min-width: 0;
  font-size: 11px;
  line-height: 1.5;
}

.price-plan-row span {
  color: #525762;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
  text-align: right;
  white-space: nowrap;
}

.price-modal-note {
  margin: 13px 2px 0;
  color: #8a8f98;
  font-size: 8px;
  line-height: 1.6;
}

.price-modal-close:focus-visible,
.price-modal-panel:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--modal-accent) 24%, transparent);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .pricing-hero-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .pricing-hero-copy {
    max-width: 570px;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .pricing-hero {
    padding: 80px 0 62px;
  }

  .pricing-hero h1 {
    font-size: 45px;
  }

  .pricing-catalog {
    padding: 42px 0 88px;
  }

  .pricing-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .pricing-tabs {
    width: 100%;
    flex-wrap: wrap;
  }

  .pricing-tab {
    flex: 1 1 calc(50% - 3px);
  }

  .pricing-toolbar-note {
    padding: 1px 7px 4px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .price-brand-card {
    min-height: 166px;
  }

  .pricing-help {
    align-items: stretch;
    flex-direction: column;
  }

  .pricing-help .button {
    width: 100%;
  }

  .price-modal {
    padding: 12px;
  }

  .price-modal-panel {
    max-height: calc(100vh - 24px);
    padding: 20px 16px;
    border-radius: 15px;
  }

  .price-plan-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .price-plan-row span {
    text-align: left;
    white-space: normal;
  }
}
