#page-start {
  --site-header-height: 80px;
  --pricing-intro-height: 112px;
  --pricing-peek-height: 64px;
}
html { scroll-padding-top: 96px; }
#page-start #top {
  min-height: calc(100svh - var(--site-header-height) - var(--pricing-intro-height) - var(--pricing-peek-height));
  padding: 32px 24px;
  justify-content: center;
  background: linear-gradient(180deg, #f7f9ff 0%, #fff 90%);
}
#top > .text-center { width: 100%; max-width: 960px; }
#top h1 { margin: 0 0 32px; font-size: 72px; line-height: 1.08; letter-spacing: -2px; }
#top > .text-center > .relative { height: 64px; margin-bottom: 24px; }
#hero-tagline { font-size: 36px; line-height: 1.4; text-wrap: balance; }
.hero-tagline-phrase { display: inline-block; white-space: nowrap; }
#top > .text-center > p.text-lg { max-width: 800px; margin-bottom: 32px; font-size: 18px; line-height: 29px; text-wrap: pretty; }
#top .recharge-link { min-height: 56px; padding: 16px 44px; border-radius: 12px; box-shadow: 0 5px 15px #4f46e529; }
.hero-assurances { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; max-width: 900px; margin: 48px auto 0; color: #62708a; }
.hero-assurances > div { gap: 10px; padding: 0 16px; }

.hero-assurances .text-left > p:last-child { margin-top: 2px; }
.pricing-section { padding: 20px 24px 72px; background: #fff; }
.pricing-container { max-width: 1184px; margin: 0 auto; }
.pricing-heading { margin-bottom: 24px; text-align: center; }
.pricing-heading h2 { margin: 0; color: #152038; font-size: 32px; font-weight: 700; line-height: 40px; letter-spacing: -.8px; }
.pricing-heading p { margin: 8px 0 0; color: #78849a; font-size: 13px; line-height: 20px; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pricing-card { display: flex; flex-direction: column; min-width: 0; padding: 25px 24px 24px; border: 1px solid #e1e6f0; border-radius: 20px; background: linear-gradient(180deg, #fafbff 0, #fff 148px); box-shadow: 0 10px 28px #18294305; }
.pricing-tier { align-self: flex-start; margin: 0 0 12px; padding: 4px 10px; border-radius: 8px; background: #edeaff; color: #5b46cf; font-size: 12px; font-weight: 600; line-height: 18px; }
.pricing-card h3 { margin: 0; color: #172139; font-size: 24px; line-height: 30px; font-weight: 650; letter-spacing: -.4px; }
#top ~ #pricing .pricing-card h3 { order: -1; margin-bottom: 12px; }
#top ~ #pricing .pricing-tier { margin-bottom: 0; }
.pricing-price { display: flex; align-items: baseline; gap: 2px; margin: 22px 0 0; color: #172139; white-space: nowrap; }
.pricing-currency { font-size: 22px; font-weight: 600; }
.pricing-price strong { font-size: 42px; font-weight: 700; line-height: 1.05; letter-spacing: -1.6px; }
.pricing-period { margin-left: 5px; color: #8490a5; font-size: 12px; }
.pricing-facts { display: grid; align-content: start; gap: 12px; min-height: 116px; margin: 24px 0 28px; padding: 24px 0 0; border-top: 1px solid #e9eaf2; color: #606d84; list-style: none; font-size: 13px; line-height: 22px; }
.pricing-facts li { display: grid; grid-template-columns: 14px minmax(0, 1fr); column-gap: 8px; }
.pricing-facts li::before { content: '✓'; color: #6554df; font-weight: 600; }
.pricing-facts .pricing-quota { color: #172139; font-weight: 650; }
.pricing-purchase { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; margin-top: auto; border: 1px solid transparent; border-radius: 12px; background: linear-gradient(100deg, #4f46e5, #7c3aed); box-shadow: 0 5px 14px #5e45df24; color: #fff; font-size: 14px; font-weight: 600; transition: filter .18s, transform .18s; }
.pricing-purchase, #top .recharge-link, #page-start header a[aria-label="立即充值"], .recharge-process-action a { transition: filter .18s, transform .18s; }
.pricing-purchase:hover, #top .recharge-link:hover, #page-start header a[aria-label="立即充值"]:hover, .recharge-process-action a:hover { filter: brightness(1.08); transform: translateY(-1px); }
.pricing-purchase:focus-visible { outline: 3px solid #bbb6ff; outline-offset: 4px; }
.recharge-process { padding: 64px 24px 56px; background: linear-gradient(180deg, #fafbff, #fff); }
.recharge-process-container { max-width: 1056px; margin: 0 auto; }
.recharge-process h2 { margin: 0 0 40px; color: #152038; text-align: center; font-size: 40px; font-weight: 700; line-height: 1.25; letter-spacing: -1px; }
.recharge-process-layout { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, auto); gap: 14px 40px; align-items: start; }
.recharge-step { display: flex; gap: 16px; width: 100%; padding: 22px; border: 1px solid transparent; border-radius: 18px; background: transparent; color: #172139; text-align: left; cursor: pointer; }
.recharge-step:nth-of-type(1) { grid-column: 1; grid-row: 1; }
.recharge-step:nth-of-type(2) { grid-column: 1; grid-row: 2; }
.recharge-step:nth-of-type(3) { grid-column: 1; grid-row: 3; }
.recharge-step[aria-expanded=true] { border-color: #cdc8ff; background: #f0eeff; box-shadow: 0 4px 16px #4f46e508; }
.recharge-step:hover { border-color: #ddd9fa; }
.recharge-step:focus-visible { outline: 3px solid #bbb6ff; outline-offset: 3px; }
.recharge-step-number { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 40px; height: 40px; border: 2px solid #dce2ef; border-radius: 50%; background: #fff; color: #8994aa; font-size: 18px; font-weight: 700; }
.recharge-step[aria-expanded=true] .recharge-step-number { border-color: #8171f5; background: linear-gradient(100deg, #4f46e5, #7c3aed); color: #fff; }
.recharge-step-content, .recharge-step-title, .recharge-step-copy, .recharge-step-note { display: block; }
.recharge-step-content { min-width: 0; }
.recharge-step-title { margin: 2px 0 8px; font-size: 21px; font-weight: 650; line-height: 28px; }
.recharge-step-copy { color: #64718a; font-size: 15px; line-height: 25px; }
.recharge-step-note { margin-top: 10px; color: #7e7a99; font-size: 12px; line-height: 20px; }
/* Match the reference's 420px browser window and viewport scaling. */
.recharge-panel { position: relative; display: flex; justify-content: center; grid-column: 2; grid-row: 1 / span 3; height: 480px; min-width: 0; margin: 0; overflow: hidden; border-radius: 8px; padding-top: 20px; background: radial-gradient(circle at 15% 0%, #eef2ff, transparent 45%), radial-gradient(circle at 100% 100%, #f5f3ff, transparent 42%), linear-gradient(135deg, #f8fafc, #fff); mask-image: linear-gradient(to bottom, #000 94%, transparent); }
.recharge-panel::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(#0f172a0a 1px, transparent 1px); background-size: 18px 18px; opacity: .5; }
.process-browser-image { position: relative; display: block; flex-shrink: 0; width: 420px; height: fit-content; transform: scale(.82); transform-origin: top center; cursor: zoom-in; }
.process-browser-image img { display: block; width: 420px; max-width: none; height: auto; border-radius: 12px; box-shadow: 0 30px 70px -30px rgba(15,23,42,.45); }
@media (min-width: 768px) and (max-width: 1023px) {
 .recharge-panel { height: 400px; padding-top: 24px; }
 .process-browser-image { transform: scale(.68); }
}
.recharge-process-action { margin: 32px 0 0; text-align: center; }
.recharge-process-action a { display: inline-flex; align-items: center; justify-content: center; gap: 0; min-height: 52px; padding: 14px 32px; border-radius: 12px; background: linear-gradient(100deg, #4f46e5, #7c3aed); box-shadow: 0 6px 18px #5e45df26; color: #fff; font-size: 16px; font-weight: 600; }
.recharge-process-action a:focus-visible { outline: 3px solid #bbb6ff; outline-offset: 4px; }
@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-container { max-width: 760px; }
}
@media (max-width: 1023px) {
  #page-start { --site-header-height: 73px; }
}
@media (min-width: 768px) and (max-height: 820px) {
  #page-start #top { padding-top: 24px; padding-bottom: 24px; }
  #top h1 { margin-bottom: 24px; font-size: 64px; }
  #top > .text-center > .relative { height: 56px; margin-bottom: 20px; }
  #hero-tagline { font-size: 32px; }
  #top > .text-center > p.text-lg { max-width: 800px; margin-bottom: 24px; font-size: 16px; line-height: 26px; }
  #top .recharge-link { min-height: 52px; padding-top: 14px; padding-bottom: 14px; }
  .hero-assurances { margin-top: 40px; }
}
@media (min-width: 768px) and (max-height: 720px) {
  #page-start #top { padding-top: 8px; padding-bottom: 8px; }
  #top h1 { margin-bottom: 18px; font-size: 52px; }
  #top > .text-center > .relative { height: 48px; margin-bottom: 16px; }
  #hero-tagline { font-size: 30px; }
  #top > .text-center > p.text-lg { font-size: 15px; line-height: 24px; }
  #top .recharge-link { min-height: 48px; padding-top: 12px; padding-bottom: 12px; }
  .hero-assurances { margin-top: 32px; }
}
@media (max-width: 767px) {
  .recharge-process { padding: 44px 16px 40px; }
  .recharge-process h2 { margin-bottom: 28px; font-size: 28px; line-height: 38px; letter-spacing: -.5px; }
  .recharge-process-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .recharge-process-layout .recharge-step, .recharge-process-layout .recharge-panel { grid-column: auto; grid-row: auto; }
  .recharge-step { gap: 12px; padding: 16px; border-color: #e9ecf4; }
  .recharge-step-number { width: 32px; height: 32px; font-size: 15px; }
  .recharge-step-title { margin-top: 1px; font-size: 18px; line-height: 26px; }
  .recharge-step-copy { font-size: 14px; line-height: 23px; }
  .recharge-step-note { margin-top: 8px; font-size: 11px; line-height: 18px; }
  .recharge-panel { height: 340px; padding-top: 16px; }
  .process-browser-image { transform: scale(.57); }
  .recharge-process-action { margin-top: 24px; }
  .recharge-process-action a { min-height: 48px; padding: 12px 26px; font-size: 15px; }
  #page-start { --pricing-intro-height: 92px; --pricing-peek-height: 48px; }
  html { scroll-padding-top: 88px; }
  #page-start #top { padding: 32px 16px 24px; }
  #top h1 { margin-bottom: 24px; font-size: 38px; line-height: 1.12; letter-spacing: -1px; }
  #top > .text-center > .relative { height: 80px; margin-bottom: 20px; }
  #hero-tagline { max-width: 100%; font-size: 26px; line-height: 1.4; }
  #top > .text-center > p.text-lg { max-width: 340px; margin-bottom: 28px; font-size: 15px; line-height: 24px; }
  #top .recharge-link { min-height: 50px; padding: 13px 34px; border-radius: 11px; }
  .hero-assurances { gap: 12px; margin-top: 36px; }
  .hero-assurances > div { flex-direction: column; justify-content: flex-start; gap: 6px; padding: 0; }
  .hero-assurances > div > div:first-child { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; padding: 4px; }
  .hero-assurances svg { width: 18px; height: 18px; }
  .hero-assurances .text-left { width: 100%; text-align: center; }
  
  .pricing-section { padding: 12px 16px 44px; }
  .pricing-heading { margin-bottom: 20px; }
  .pricing-heading h2 { font-size: 26px; line-height: 34px; letter-spacing: -.5px; }
  .pricing-heading p { margin-top: 6px; font-size: 12px; line-height: 20px; }
  .pricing-grid { gap: 12px; }
  .pricing-card { padding: 16px 15px 16px; border-radius: 16px; }
  .pricing-tier { margin-bottom: 6px; padding: 3px 8px; font-size: 11px; line-height: 16px; }
  .pricing-card h3 { font-size: 21px; line-height: 27px; }
  .pricing-price { gap: 1px; margin-top: 17px; }
  .pricing-currency { font-size: 17px; }
  .pricing-price strong { font-size: 31px; letter-spacing: -1.2px; }
  .pricing-period { margin-left: 3px; font-size: 11px; }
  .pricing-facts { gap: 10px; min-height: 140px; margin: 18px 0 22px; padding-top: 18px; font-size: 12px; line-height: 20px; }
  .pricing-facts li { grid-template-columns: 10px minmax(0, 1fr); column-gap: 5px; }
  .pricing-purchase { min-height: 42px; font-size: 13px; }
  .floating-support { right: 8px; bottom: 8px; width: 44px; height: 44px; min-width: 44px; padding: 10px; }
  .floating-support .support-content > span { display: none; }
  .floating-support .support-content { gap: 0; }
}
@media (max-width: 767px) and (max-height: 740px) {
  #page-start { --pricing-intro-height: 84px; }
  #page-start #top { padding-top: 16px; padding-bottom: 16px; }
  #top h1 { margin-bottom: 16px; font-size: 34px; }
  #top > .text-center > .relative { height: 64px; margin-bottom: 16px; }
  #hero-tagline { font-size: 22px; }
  #top > .text-center > p.text-lg { margin-bottom: 16px; font-size: 14px; line-height: 22px; }
  #top .recharge-link { min-height: 44px; padding-top: 10px; padding-bottom: 10px; }
  .hero-assurances { margin-top: 24px; }
  .pricing-heading { margin-bottom: 12px; }
}
@media (max-width: 359px) {
  #top h1 { font-size: 32px; }
  .hero-assurances { gap: 9px; }
  .pricing-card { padding-right: 12px; padding-left: 12px; }
  .pricing-card h3 { font-size: 19px; }
  .pricing-price strong { font-size: 27px; }
}
@media (max-width: 359px) and (max-height: 640px) {
  #page-start { --pricing-intro-height: 80px; }
  #page-start #top { padding-top: 8px; padding-bottom: 8px; }
  .hero-assurances { display: none; }
  .pricing-heading { margin-bottom: 12px; }
  .pricing-heading h2 { font-size: 24px; line-height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .pricing-purchase, #top .recharge-link, #page-start header a[aria-label="立即充值"], .recharge-process-action a { transition: none; }
}
