:root {
  --brand: #1f4fd8;
  --brand-dark: #173da8;
  --brand-soft: #eaf0ff;
  --ink: #141a2a;
  --ink-2: #4a5468;
  --ink-3: #7b8498;
  --line: #e4e8f0;
  --bg: #ffffff;
  --bg-2: #f6f8fc;
  --ok: #138a52;
  --ok-soft: #e6f6ee;
  --warn: #b25e09;
  --warn-soft: #fff4e5;
  --danger: #c62f2f;
  --danger-soft: #fdecec;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(20, 26, 42, .04), 0 6px 20px rgba(20, 26, 42, .06);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.7; font-size: 15px; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.3; margin: 0 0 .6em; }
h1 { font-size: 30px; }
h2 { font-size: 24px; }
h3 { font-size: 18px; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.muted { color: var(--ink-3); }
.small { font-size: 13px; }
.center { text-align: center; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(180%) blur(8px); }
.site-header .container { display: flex; align-items: center; height: 64px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 18px; white-space: nowrap; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 32px; height: 32px; }
.logo small { display: block; font-size: 11px; font-weight: 500; color: var(--ink-3); letter-spacing: .5px; line-height: 1.2; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink-2); padding: 8px 12px; border-radius: 8px; font-size: 15px; }
.nav a:hover, .nav a.active { color: var(--brand); background: var(--brand-soft); text-decoration: none; }
.nav-toggle, .nav-toggle-label { display: none; }

/* ---------- buttons ---------- */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 22px; border-radius: 8px; font-size: 15px; font-weight: 600; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s; font-family: inherit; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: #fff; color: var(--brand); border-color: #c9d6fb; }
.btn-ghost:hover { border-color: var(--brand); }
.btn-alipay { background: #1677ff; color: #fff; }
.btn-alipay:hover { background: #0e62d9; }
.btn-lg { padding: 13px 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- hero ---------- */
.hero { background: linear-gradient(160deg, #f3f6ff 0%, #ffffff 60%); border-bottom: 1px solid var(--line); padding: 72px 0 64px; }
.hero h1 { font-size: 40px; letter-spacing: -.5px; }
.hero p.lead { font-size: 18px; color: var(--ink-2); max-width: 640px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-badges { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 36px; color: var(--ink-2); font-size: 14px; }
.hero-badges span::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: 6px; }

.page-head { background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 40px 0 32px; }
.page-head h1 { margin-bottom: 6px; }
.breadcrumb { font-size: 13px; color: var(--ink-3); margin-bottom: 10px; }
.breadcrumb a { color: var(--ink-3); }

section.block { padding: 56px 0; }
section.block.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { text-align: center; margin-bottom: 36px; }
.section-title p { color: var(--ink-3); margin: 0; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }

.service-card { display: flex; flex-direction: column; }
.service-card .tag { align-self: flex-start; font-size: 12px; color: var(--brand); background: var(--brand-soft); padding: 2px 10px; border-radius: 999px; margin-bottom: 12px; }
.service-card h3 { margin-bottom: 8px; }
.service-card p { color: var(--ink-2); font-size: 14px; }
.service-card ul { list-style: none; padding: 0; margin: 0 0 20px; font-size: 14px; color: var(--ink-2); }
.service-card li { padding: 3px 0; }
.service-card li::before { content: "•"; color: var(--brand); margin-right: 8px; }
.service-card .foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px dashed var(--line); }
.price { color: #e0452a; font-weight: 700; font-size: 26px; line-height: 1; white-space: nowrap; }
.price small { font-size: .6em; font-weight: 600; margin-right: 2px; }
.price .unit { color: var(--ink-3); font-size: 13px; font-weight: 400; }

.feature { text-align: left; }
.feature .icon { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-weight: 700; margin-bottom: 12px; }
.feature p { color: var(--ink-2); font-size: 14px; margin: 0; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px 20px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -14px; left: 20px; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 14px; }
.step h3 { font-size: 16px; margin-top: 6px; }
.step p { color: var(--ink-2); font-size: 14px; margin: 0; }

/* ---------- detail ---------- */
.detail { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.buy-box { position: sticky; top: 88px; }
.buy-box .price { font-size: 34px; margin: 8px 0 4px; }
.buy-box dl { margin: 18px 0; font-size: 14px; }
.buy-box dt { color: var(--ink-3); }
.buy-box dd { margin: 0 0 10px; }
.check-list { list-style: none; padding: 0; }
.check-list li { padding: 6px 0 6px 28px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 4px; color: var(--ok); font-weight: 700; }
.prose h2 { font-size: 20px; margin-top: 32px; padding-top: 4px; }
.prose h3 { font-size: 16px; margin-top: 24px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ol, .prose ul { padding-left: 1.4em; }
.prose li { margin-bottom: .4em; }
.notice { border-radius: 8px; padding: 12px 16px; font-size: 14px; margin: 16px 0; }
.notice-info { background: var(--brand-soft); color: #1d3a8a; }
.notice-warn { background: var(--warn-soft); color: var(--warn); }
.notice-ok { background: var(--ok-soft); color: var(--ok); }
.notice-err { background: var(--danger-soft); color: var(--danger); }
.notice ul { margin: 0; padding-left: 1.2em; }

/* ---------- forms ---------- */
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.form-row label .req { color: var(--danger); margin-left: 2px; }
.input, textarea.input { width: 100%; padding: 10px 12px; border: 1px solid #cfd6e3; border-radius: 8px; font-size: 15px; font-family: inherit; background: #fff; color: var(--ink); }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(31,79,216,.12); }
textarea.input { min-height: 110px; resize: vertical; }
.hint { font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.agree { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.agree input { margin-top: 5px; }
.pay-method { display: flex; align-items: center; gap: 12px; border: 2px solid var(--brand); background: var(--brand-soft); border-radius: 10px; padding: 14px 16px; font-weight: 600; }
.pay-method svg { width: 28px; height: 28px; flex: none; }
.pay-method .muted { font-weight: 400; font-size: 13px; }

/* ---------- order ---------- */
.kv { width: 100%; border-collapse: collapse; font-size: 14px; }
.kv th, .kv td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.kv th { width: 120px; color: var(--ink-3); font-weight: 500; }
.status { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.status-pending { background: var(--warn-soft); color: var(--warn); }
.status-paid { background: var(--ok-soft); color: var(--ok); }
.status-closed, .status-refunded { background: #eef0f4; color: var(--ink-3); }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; background: #fff; }
.table th, .table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.table th { background: var(--bg-2); color: var(--ink-2); font-weight: 600; }

/* ---------- footer ---------- */
.site-footer { background: #0f1526; color: #a9b1c4; font-size: 14px; margin-top: 0; }
.site-footer a { color: #c9d0df; }
.footer-main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding: 48px 0 32px; }
.site-footer h4 { color: #fff; font-size: 15px; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-company p { margin: 0 0 6px; }
.footer-bottom { border-top: 1px solid #222a3f; padding: 18px 0 24px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; font-size: 13px; }
.footer-bottom img { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .detail { grid-template-columns: 1fr; }
  .buy-box { position: static; order: -1; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .nav-toggle-label { display: block; margin-left: auto; cursor: pointer; padding: 8px; }
  .nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after { display: block; width: 22px; height: 2px; background: var(--ink); position: relative; border-radius: 2px; }
  .nav-toggle-label span::before, .nav-toggle-label span::after { content: ""; position: absolute; }
  .nav-toggle-label span::before { top: -7px; }
  .nav-toggle-label span::after { top: 7px; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 8px 16px 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-toggle:checked ~ .nav { display: flex; }
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 30px; }
  .hero p.lead { font-size: 16px; }
  h1 { font-size: 26px; }
  .grid-3, .grid-4, .grid-2, .steps { grid-template-columns: 1fr; }
  section.block { padding: 40px 0; }
  .footer-main { grid-template-columns: 1fr; gap: 24px; }
  .kv th { width: 96px; }
}
