/* Pricing page — rebuilt from Figma "官网" mockup (node 1271:40806).
   All rules scoped under .figma-pricing so the custom design system does not
   collide with the global Webflow CSS loaded by BaseLayout. */

.figma-pricing {
  --fp-ink: #1d2127;
  --fp-ink-900: #101828;
  --fp-muted: #52575d;
  --fp-muted-2: #4a5565;
  --fp-grey: #737373;
  --fp-line: #e5e5e5;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--fp-ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.figma-pricing *,
.figma-pricing *::before,
.figma-pricing *::after { box-sizing: border-box; }
.figma-pricing p,
.figma-pricing h1,
.figma-pricing h2,
.figma-pricing h3,
.figma-pricing ul,
.figma-pricing li { margin: 0; padding: 0; }
.figma-pricing ul { list-style: none; }
:where(.figma-pricing) a { color: inherit; text-decoration: none; }
.figma-pricing img { display: block; max-width: none; }

.fp-container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* ---------- Navigation ---------- */
.fp-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.fp-nav__inner {
  max-width: 1648px; margin: 0 auto;
  height: 89px; padding: 24px 40px 1px;
  display: flex; align-items: center; justify-content: space-between;
}
.fp-nav__logo { height: 25px; width: auto; }
.fp-nav__right { display: flex; gap: 40px; align-items: center; }
.fp-nav__links { display: flex; gap: 24px; align-items: center; }
.fp-nav__link {
  padding: 0 12px; font-size: 14px; line-height: 20px; color: #000;
  letter-spacing: -0.15px; white-space: nowrap;
}
.fp-nav__link--active { border-bottom: 1px solid #000; }
.fp-nav__cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: #000; color: #fff; font-weight: 600; font-size: 14px; line-height: 20px;
  letter-spacing: -0.15px; padding: 10px 12px 10px 16px; border-radius: 9999px;
  white-space: nowrap;
}
.fp-nav__cta img { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.fp-hero { padding: 80px 0 100px; display: flex; flex-direction: column; align-items: center; gap: 100px; }
.fp-hero__head { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.fp-hero__title { font-weight: 700; font-size: 56px; line-height: 1.05; letter-spacing: 1.12px; }
.fp-hero__title span { display: block; }
.fp-hero__title .fp-grad {
  background-image: linear-gradient(99deg, rgb(105,105,105) 24%, rgb(0,0,0) 73%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.fp-hero__sub { max-width: 812px; font-size: 20px; line-height: 32px; letter-spacing: 0.4px; color: var(--fp-muted); }

/* Credit explainer cards */
.fp-credit-cards { display: flex; gap: 34px; width: 100%; align-items: stretch; }
.fp-cc {
  flex: 1 1 0; border-radius: 24px; padding: 41px;
  display: flex; flex-direction: column; gap: 24px;
}
.fp-cc--light {
  background: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 20px 25px rgba(0,0,0,0.1), 0 8px 10px rgba(0,0,0,0.1);
}
.fp-cc--dark {
  padding: 40px; overflow: hidden;
  background-image: linear-gradient(149deg, rgb(113,113,113) 0%, rgb(29,29,29) 100%);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
}
.fp-cc__top { display: flex; gap: 16px; align-items: flex-start; }
.fp-cc__badge {
  flex: none; border-radius: 16px; padding: 12px;
  background-image: linear-gradient(135deg, rgb(211,211,211) 0%, rgb(0,0,0) 100%);
  box-shadow: 0 10px 7.5px rgba(0,0,0,0.1), 0 4px 3px rgba(0,0,0,0.1);
}
.fp-cc__badge--glass { background: rgba(255,255,255,0.2); background-image: none;
  box-shadow: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.1); }
.fp-cc__badge img { width: 24px; height: 24px; }
.fp-cc__title { font-weight: 700; font-size: 24px; line-height: 32px; color: var(--fp-ink-900); }
.fp-cc--dark .fp-cc__title { color: #fff; }
.fp-cc__desc { font-size: 16px; line-height: 24px; letter-spacing: -0.31px; color: var(--fp-muted-2); }
.fp-cc--dark .fp-cc__desc { color: #f1f1f1; }
.fp-formula-list { display: flex; flex-direction: column; gap: 24px; }
.fp-formula {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px; border-radius: 14px;
  background: linear-gradient(90deg, #f9f9f9, #f2f2f2);
}
.fp-formula__label { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 16px; color: var(--fp-ink-900); white-space: nowrap; }
.fp-formula__label img { width: 20px; height: 20px; }
.fp-formula__val { font-size: 16px; line-height: 20px; letter-spacing: -0.15px; color: var(--fp-muted-2); text-align: right; }

/* ---------- Compare plans (cards) ---------- */
.fp-plans { background: #fafafa; padding: 120px 0; display: flex; flex-direction: column; align-items: center; gap: 80px; }
.fp-plans__head { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.fp-plans__title { font-weight: 700; font-size: 48px; line-height: 1.1; letter-spacing: 0.96px; color: var(--fp-ink); }
.fp-plans__sub { font-size: 20px; line-height: 1.4; letter-spacing: 0.4px; color: var(--fp-muted); }
.fp-plan-cards { display: flex; gap: 16px; align-items: flex-end; justify-content: center; width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 20px; flex-wrap: nowrap; }
@media (max-width: 1180px) { .fp-plan-cards { flex-wrap: wrap; } }
.fp-plan {
  width: 320px; min-height: 526px; border-radius: 30px; background: #fff; border: 1px solid #ddd;
  display: flex; flex-direction: column; overflow: hidden;
}
.fp-plan__header { display: flex; flex-direction: column; gap: 16px; padding: 32px 24px; }
.fp-plan__name { font-weight: 600; font-size: 16px; letter-spacing: 0.32px; color: var(--fp-ink); }
.fp-plan__price-row { display: flex; align-items: center; gap: 8px; }
.fp-plan__price { font-weight: 800; font-size: 36px; letter-spacing: 0.72px; color: var(--fp-ink); }
.fp-plan__per { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--fp-grey); }
.fp-plan__rules { display: flex; flex-direction: column; gap: 16px; padding: 0 24px 56px; flex: 1 0 auto; }
.fp-rule { display: flex; gap: 8px; align-items: flex-start; }
.fp-rule img { width: 16px; height: 16px; flex: none; margin-top: 1px; }
.fp-rule span { font-size: 14px; line-height: 16px; color: var(--fp-ink); }
.fp-plan__foot { padding: 0 24px 32px; margin-top: auto; }
.fp-plan__note { font-size: 14px; line-height: 16px; color: #fff; padding: 0 0 8px; }
.fp-plan__btn {
  display: block; width: 100%; height: 40px; border-radius: 8px; background: #e4e4e4;
  color: #000; font-weight: 500; font-size: 16px; line-height: 40px; text-align: center;
}
/* Starter (dark, elevated) */
.fp-plan--starter-wrap {
  align-self: flex-start;
  background: rgba(190,190,190,0.5); backdrop-filter: blur(2px);
  padding: 8px; border-radius: 32px;
}
.fp-plan--starter {
  border: none; width: 320px; min-height: 526px; border-radius: 30px; overflow: hidden;
  background-image: linear-gradient(153deg, rgb(115,115,115) 19%, rgb(0,0,0) 99%);
  box-shadow: 0 3px 7px rgba(45,47,51,0.12); position: relative; color: #fff;
}
.fp-plan--starter .fp-plan__name { color: #fff; }
.fp-plan--starter .fp-plan__price { color: #fff; }
.fp-plan__tag {
  position: absolute; top: 24px; right: 20px; background: #fff; color: #000;
  font-weight: 500; font-size: 12px; letter-spacing: 0.24px; padding: 6px 8px; border-radius: 8px;
}
.fp-plan--starter .fp-rule span { color: #fff; }

/* ---------- Feature comparison table ---------- */
.fp-table-wrap { padding: 0 0 40px; overflow-x: auto; }
.fp-table { max-width: 1360px; margin: 0 auto; padding: 0 32px; min-width: 980px; }
.fp-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.3fr) repeat(4, minmax(150px, 1fr));
}
/* Highlighted Starter column band */
.fp-grid > .fp-col-1 { background: linear-gradient(180deg, rgba(221,221,221,0.17), rgba(232,232,232,0.2)); }

.fp-thead { align-items: stretch; }
.fp-thead .fp-th {
  padding: 32px 24px 16px; display: flex; flex-direction: column; align-items: center; gap: 30px; text-align: center;
}
.fp-thead .fp-th--starter { border-top-left-radius: 16px; border-top-right-radius: 16px; }
.fp-th__name { font-weight: 500; font-size: 24px; color: #393939; line-height: 1.15; }
.fp-th__price { display: flex; align-items: baseline; gap: 8px; justify-content: center; }
.fp-th__price b { font-weight: 600; font-size: 36px; color: #000; }
.fp-th__price.plain b { font-weight: 600; }
.fp-th__per { font-weight: 400; font-size: 14px; color: #a0a3bd; }
.fp-th__info { display: flex; flex-direction: column; gap: 32px; align-items: center; width: 100%; }
.fp-th__billed { font-size: 14px; line-height: 1.5; color: #a0a3bd; }
.fp-th-btn {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 16px 18px; border-radius: 12px; font-weight: 600; font-size: 16px; line-height: 1.15;
}
.fp-th-btn--dark { color: #fff; border: 0.5px solid #5e5e5e;
  background-image: linear-gradient(176deg, rgb(138,138,138) 5%, rgb(0,0,0) 87%);
  box-shadow: 0 2px 2.5px rgba(74,58,255,0.25); }
.fp-th-btn--light { color: #000; border: 0.5px solid #eee;
  background-image: linear-gradient(174deg, rgba(255,255,255,0.7) 8%, rgba(200,200,200,0.7) 200%);
  box-shadow: 0 3px 6px rgba(7,0,110,0.03); }

.fp-cat {
  grid-column: 1 / -1; padding: 40px 0 16px 0; font-weight: 600; font-size: 20px; color: var(--fp-ink);
}
.fp-tr { display: contents; }
.fp-td {
  padding: 24px 12px; border-top: 1px solid #f0f0f0; display: flex; align-items: center;
  font-size: 14px; color: var(--fp-muted-2);
}
.fp-td--label { color: var(--fp-ink); justify-content: flex-start; }
.fp-td--val { justify-content: center; text-align: center; }
.fp-td img { width: 22px; height: 22px; }

/* ---------- Footer ---------- */
.fp-footer { background: #fff; border-top: 1px solid var(--fp-line); padding: 65px 75px 40px; }
.fp-footer__inner { max-width: 1360px; margin: 0 auto; }
.fp-footer__cols { display: flex; gap: 48px; flex-wrap: wrap; padding-bottom: 64px; }
.fp-footer__brand { width: 480px; max-width: 100%; }
.fp-footer__logo { height: 25px; width: auto; margin-bottom: 27px; }
.fp-footer__desc { font-size: 14px; line-height: 22.75px; letter-spacing: -0.15px; color: #525252; max-width: 320px; }
.fp-footer__col { min-width: 180px; display: flex; flex-direction: column; gap: 16px; }
.fp-footer__col h4 { font-weight: 400; font-size: 14px; letter-spacing: 0.55px; text-transform: uppercase; color: #a1a1a1; }
.fp-footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.fp-footer__col a { font-size: 14px; line-height: 20px; letter-spacing: -0.15px; color: #000; }
.fp-footer__bottom { border-top: 1px solid var(--fp-line); padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.fp-footer__copy { font-size: 14px; line-height: 20px; letter-spacing: -0.15px; color: #525252; }
.fp-footer__social { display: flex; gap: 24px; }
.fp-footer__social a { font-size: 14px; line-height: 20px; letter-spacing: -0.15px; color: #525252; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .fp-nav__links { display: none; }
  .fp-hero__title { font-size: 40px; }
  .fp-hero__sub { font-size: 18px; }
  .fp-credit-cards { flex-direction: column; }
  .fp-plans__title { font-size: 34px; }
  .fp-plans { padding: 72px 0; gap: 48px; }
  .fp-footer { padding: 48px 24px 32px; }
  .fp-footer__cols { gap: 32px; }
}
@media (max-width: 620px) {
  .fp-container { padding: 0 20px; }
  .fp-hero__title { font-size: 32px; }
  .fp-hero { gap: 56px; padding: 56px 0 72px; }
}
