:root {
  color-scheme: dark;
  --bg: #090b0a;
  --panel: #111412;
  --panel-2: #161a17;
  --line: #2a302b;
  --line-soft: #1d221e;
  --text: #f4f6f3;
  --muted: #a5aca6;
  --green: #42d86b;
  --green-dark: #153c22;
  --amber: #ffbd45;
  --amber-hover: #ffca68;
  --danger: #ff6b61;
  --content: 1240px;
  font-family: Inter, "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); letter-spacing: 0; }
button, input, textarea { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
svg { width: 19px; height: 19px; flex: 0 0 auto; }

.site-header {
  height: 72px; position: sticky; top: 0; z-index: 30; display: grid;
  grid-template-columns: 250px 1fr 250px; align-items: center; padding: 0 max(24px, calc((100vw - var(--content)) / 2));
  border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(9,11,10,.92); backdrop-filter: blur(16px);
}
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 11px; width: fit-content; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #55705c; color: var(--green); font-weight: 800; }
.brand strong, .footer-brand strong { display: block; font-size: 16px; }
.brand small, .footer-brand small { display: block; color: var(--muted); margin-top: 2px; }
.site-header nav { display: flex; justify-content: center; gap: 36px; }
.site-header nav a { color: #d3d8d3; font-size: 14px; }
.site-header nav a:hover { color: var(--green); }
.header-order { justify-self: end; }

.button { min-height: 44px; padding: 0 20px; border-radius: 5px; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 9px; cursor: pointer; font-weight: 700; transition: .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--amber); color: #16130b; box-shadow: 0 8px 24px rgba(255,189,69,.14); }
.button-primary:hover { background: var(--amber-hover); }
.button-primary:disabled { opacity: .42; cursor: not-allowed; transform: none; }
.button-outline { border-color: #58605a; background: transparent; color: var(--text); }
.button-outline:hover { border-color: var(--green); color: var(--green); }
.button-quiet { border-color: var(--line); background: var(--panel); color: #d8ddd9; }
.full { width: 100%; }

.hero { min-height: 560px; position: relative; overflow: hidden; border-bottom: 1px solid var(--line-soft); }
.hero-visual { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .78; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #090b0a 4%, rgba(9,11,10,.86) 37%, rgba(9,11,10,.32) 73%, rgba(9,11,10,.7)); }
.hero-content { position: relative; z-index: 2; max-width: var(--content); margin: 0 auto; padding: 105px 24px 165px; }
.status { display: flex; align-items: center; gap: 9px; margin: 0 0 22px; color: #a7e9b8; font-size: 14px; }
.status span { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 18px rgba(66,216,107,.9); }
.hero h1 { max-width: 680px; margin: 0; font-size: clamp(40px, 5vw, 66px); line-height: 1.12; font-weight: 800; }
.hero-content > p:not(.status) { max-width: 620px; color: #c4cac4; font-size: 19px; line-height: 1.8; margin: 20px 0 30px; }
.hero-actions { display: flex; gap: 12px; }
.trust-row { position: absolute; z-index: 3; left: 50%; bottom: 0; transform: translateX(-50%); width: min(var(--content), calc(100% - 48px)); min-height: 112px; display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(15,18,16,.93); border: 1px solid var(--line); border-bottom: 0; }
.trust-row > div { display: flex; align-items: center; gap: 14px; padding: 24px; border-right: 1px solid var(--line); }
.trust-row > div:last-child { border: 0; }
.trust-row svg { color: var(--green); width: 27px; height: 27px; }
.trust-row strong, .trust-row small { display: block; }
.trust-row strong { font-size: 15px; }
.trust-row small { color: var(--muted); margin-top: 5px; line-height: 1.4; }

.section { max-width: var(--content); margin: 0 auto; padding: 88px 24px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 34px; }
.section-heading.compact { margin-bottom: 27px; }
.section-heading > p { max-width: 470px; margin: 0; color: var(--muted); line-height: 1.8; }
.eyebrow { color: var(--green); font-size: 13px; font-weight: 800; text-transform: uppercase; margin: 0 0 10px; }
h2 { margin: 0; font-size: 30px; }

.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.plan-card { min-width: 0; position: relative; padding: 28px; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; cursor: pointer; transition: .2s ease; }
.plan-card:hover { border-color: #526257; transform: translateY(-2px); }
.plan-card.selected { border-color: var(--green); box-shadow: inset 0 0 0 1px rgba(66,216,107,.18); }
.plan-card.highlighted::before { content: "推荐"; position: absolute; top: -12px; right: 18px; padding: 4px 11px; background: var(--green-dark); border: 1px solid var(--green); color: #b7f8c8; font-size: 12px; border-radius: 4px; }
.plan-card header { display: flex; justify-content: space-between; gap: 12px; }
.plan-card h3 { margin: 0; font-size: 21px; }
.plan-card .pill, .tag { width: fit-content; color: var(--amber); border: 1px solid #6e5425; background: rgba(255,189,69,.06); padding: 3px 8px; border-radius: 3px; font-size: 12px; }
.plan-subtitle { color: var(--muted); margin: 7px 0 20px; }
.plan-price { margin: 0 0 22px; font-size: 38px; font-weight: 800; color: var(--amber); }
.plan-price small { color: #d9ddd9; font-size: 14px; font-weight: 600; }
.plan-card > p:last-of-type { min-height: 50px; color: var(--muted); line-height: 1.65; }
.feature-list { list-style: none; padding: 18px 0 0; margin: 18px 0 22px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.feature-list li { display: flex; gap: 9px; align-items: center; color: #d8ddd8; font-size: 14px; }
.feature-list svg { color: var(--green); width: 16px; height: 16px; }
.plan-card .button { width: 100%; }

.comparison { margin-top: 18px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.comparison-row { display: grid; grid-template-columns: 170px repeat(3, 1fr); min-height: 54px; border-bottom: 1px solid var(--line-soft); }
.comparison-row:last-child { border: 0; }
.comparison-row > div { display: flex; align-items: center; padding: 14px 20px; border-right: 1px solid var(--line-soft); color: #d4d9d4; font-size: 14px; }
.comparison-row > div:last-child { border: 0; }
.comparison-row .row-label { color: var(--muted); background: #0d100e; font-weight: 700; }
.comparison-row:first-child { background: var(--panel-2); }
.comparison-row:first-child > div:not(.row-label) { font-weight: 800; }

.checkout-bar { position: sticky; bottom: 14px; z-index: 12; grid-template-columns: 1.5fr .7fr .8fr; align-items: center; gap: 20px; margin-top: 18px; padding: 16px 18px; border: 1px solid #6f572c; background: rgba(20,22,19,.96); box-shadow: 0 18px 45px rgba(0,0,0,.45); backdrop-filter: blur(18px); border-radius: 6px; }
.checkout-bar:not([hidden]) { display: grid; }
.checkout-selected { display: flex; align-items: center; gap: 13px; }
.checkout-icon, .support-icon { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 auto; border: 1px solid #3f6047; color: var(--green); background: #101c13; }
.checkout-selected small, .checkout-selected strong, .checkout-total small, .checkout-total strong { display: block; }
.checkout-selected small, .checkout-total small { color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.checkout-total strong { color: var(--amber); font-size: 25px; }
.checkout-bar > p { grid-column: 1 / -1; margin: -7px 0 0 59px; color: var(--muted); font-size: 12px; display: flex; gap: 7px; align-items: center; }
.checkout-bar > p svg { width: 14px; height: 14px; color: var(--green); }

.support-section { border-top: 1px solid var(--line-soft); }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.support-item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding: 27px; border: 1px solid var(--line); background: var(--panel); border-radius: 6px; }
.support-item h3 { margin: 6px 0 8px; font-size: 19px; }
.support-item p:not(.tag) { margin: 0; color: var(--muted); line-height: 1.6; font-size: 14px; }
.support-item .button { grid-column: 2 / -1; justify-self: end; min-width: 150px; }
.support-price strong { color: var(--amber); font-size: 25px; }
.support-price small { display: block; color: var(--muted); text-align: right; }

.process-section { max-width: none; background: #0d100e; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding-left: max(24px, calc((100vw - var(--content)) / 2)); padding-right: max(24px, calc((100vw - var(--content)) / 2)); }
.process-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.process-list li { min-width: 0; position: relative; padding: 26px; display: grid; grid-template-columns: auto 1fr; gap: 15px; align-items: center; border-right: 1px solid var(--line); }
.process-list li:last-child { border: 0; }
.process-list li > span { position: absolute; right: 16px; top: 12px; color: #343b35; font-size: 28px; font-weight: 900; }
.process-list li > svg { width: 28px; height: 28px; color: var(--green); }
.process-list strong, .process-list small { display: block; }
.process-list small { color: var(--muted); margin-top: 6px; line-height: 1.5; }

.faq-section { display: grid; grid-template-columns: 330px 1fr; gap: 70px; align-items: start; }
.faq-section .section-heading { display: block; position: sticky; top: 110px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { color: var(--green); transition: transform .2s; }
.faq-list details[open] summary svg { transform: rotate(180deg); }
.faq-list details p { margin: -5px 0 25px; color: var(--muted); line-height: 1.8; }

footer { min-height: 150px; display: grid; grid-template-columns: 1fr 1.5fr 1fr; align-items: center; gap: 30px; padding: 35px max(24px, calc((100vw - var(--content)) / 2)); border-top: 1px solid var(--line); background: #070807; color: var(--muted); font-size: 13px; }
footer > p { text-align: center; line-height: 1.7; }
footer > div:last-child { display: flex; justify-content: flex-end; gap: 18px; }
footer a:hover { color: var(--green); }

dialog { width: min(520px, calc(100% - 32px)); padding: 0; border: 1px solid #39413b; background: transparent; color: var(--text); border-radius: 7px; }
dialog::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(6px); }
.dialog-card { position: relative; padding: 30px; background: var(--panel); }
.dialog-card h2 { margin-bottom: 12px; }
.dialog-card > p:not(.eyebrow):not(.form-message):not(.dialog-warning) { color: var(--muted); line-height: 1.7; }
.icon-button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); color: var(--muted); background: #0d100e; cursor: pointer; border-radius: 4px; }
.dialog-close { position: absolute; top: 18px; right: 18px; }
.dialog-price { display: flex; align-items: center; justify-content: space-between; margin: 24px 0 18px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dialog-price span { color: var(--muted); }
.dialog-price strong { color: var(--amber); font-size: 28px; }
.agreement { display: flex; gap: 11px; align-items: flex-start; margin: 15px 0 20px; color: #c8cec9; line-height: 1.6; font-size: 14px; }
.agreement input { margin-top: 4px; accent-color: var(--green); }
.dialog-warning { color: #ffd284; border-left: 3px solid var(--amber); background: rgba(255,189,69,.07); padding: 11px 13px; font-size: 13px; line-height: 1.6; }
.form-message { min-height: 20px; margin: 13px 0 0; color: var(--danger); text-align: center; font-size: 13px; }
.qr-card { text-align: center; }
.qr-card img { width: 248px; height: 248px; object-fit: contain; display: block; margin: 20px auto; background: white; padding: 10px; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; padding: 0 18px; }
  .site-header nav { display: none; }
  .header-order span { display: none; }
  .header-order { padding: 0 13px; }
  .hero { min-height: 620px; }
  .hero-content { padding: 80px 22px 275px; }
  .hero h1 { font-size: 43px; }
  .trust-row { grid-template-columns: 1fr 1fr; width: calc(100% - 32px); }
  .trust-row > div { padding: 17px; border-bottom: 1px solid var(--line); }
  .trust-row > div:nth-child(2) { border-right: 0; }
  .plan-grid, .support-grid { grid-template-columns: 1fr; }
  .comparison { display: none; }
  .process-list { grid-template-columns: 1fr 1fr; }
  .process-list li:nth-child(2) { border-right: 0; }
  .process-list li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .faq-section { grid-template-columns: 1fr; gap: 10px; }
  .faq-section .section-heading { position: static; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer .footer-brand, footer > div:last-child { justify-self: center; }
}

@media (max-width: 600px) {
  .section { padding: 64px 17px; }
  .hero-content { padding-left: 18px; padding-right: 18px; }
  .hero h1 { font-size: 36px; }
  .hero-content > p:not(.status) { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; width: min(100%, 330px); }
  .trust-row { bottom: 0; }
  .trust-row small { display: none; }
  .trust-row > div { gap: 10px; padding: 14px; }
  .trust-row svg { width: 22px; height: 22px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 15px; }
  h2 { font-size: 26px; }
  .plan-card { padding: 23px; }
  .checkout-bar:not([hidden]) { grid-template-columns: 1fr auto; bottom: 8px; }
  .checkout-button { grid-column: 1 / -1; }
  .checkout-bar > p { margin-left: 0; }
  .support-item { grid-template-columns: auto 1fr; padding: 21px; }
  .support-price { grid-column: 2; justify-self: start; }
  .support-price small { display: inline; }
  .support-item .button { grid-column: 1 / -1; width: 100%; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li { border-right: 0; border-bottom: 1px solid var(--line); }
  .process-list li:nth-child(2) { border-right: 0; }
  footer > div:last-child { flex-wrap: wrap; justify-content: center; }
}
