:root {
  color-scheme: light;
  --ink: #0d1526;
  --text: #263248;
  --muted: #68778d;
  --line: #e2eaf5;
  --paper: #ffffff;
  --blue: #2f7df6;
  --blue-deep: #1660dc;
  --green: #16b26b;
  --amber: #f0a124;
  --rose: #ef6262;
  --shadow: 0 18px 46px rgba(42, 76, 122, 0.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #f7f9fc;
  font-family: "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 0 clamp(18px, 6vw, 120px);
  border-bottom: 1px solid rgba(219, 228, 241, 0.88);
  background: rgba(247, 250, 255, 0.94);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; min-width: 150px; }
.brand img { width: 128px; height: auto; }
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2vw, 30px);
  color: #111827;
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}
.nav a { padding: 26px 0 24px; }
.nav a:hover,
.nav a[aria-current="page"] { color: var(--blue); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  padding: 10px 20px;
  color: var(--blue);
  background: #fff;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}
.button.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 12px 24px rgba(47, 125, 246, 0.22);
}
.button:hover { border-color: var(--blue-deep); color: var(--blue-deep); }
.button.primary:hover { color: #fff; background: var(--blue-deep); }
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero {
  min-height: 320px;
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(234, 242, 255, 0.94), rgba(242, 247, 255, 0.92)),
    url("/assets/cfanyi-ui/PC0.f806888e.png") center / cover no-repeat;
}
.hero-inner,
.page,
.footer-inner {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
}
.hero-inner { padding: 58px 0; }
.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.2;
  letter-spacing: 0;
}
.hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: #0f4f96;
  font-size: 18px;
  font-weight: 800;
}
.page { padding: 64px 0 84px; }
.section-title {
  margin-bottom: 28px;
  text-align: center;
}
.section-title h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.26;
  letter-spacing: 0;
}
.section-title p {
  max-width: 720px;
  margin: 10px auto 0;
  color: var(--muted);
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.pricing-group {
  margin-top: 28px;
}
.pricing-group:first-of-type {
  margin-top: 0;
}
.pricing-group-title {
  margin: 0 0 14px;
  color: #172033;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: 0;
}
.card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.card.featured {
  border-color: rgba(47, 125, 246, 0.5);
  box-shadow: 0 22px 60px rgba(42, 76, 122, 0.16);
}
.card h2,
.card h3 {
  margin: 0 0 12px;
  color: #172033;
  font-size: 22px;
  line-height: 1.32;
  letter-spacing: 0;
}
.card p { margin: 0; color: var(--muted); }
.card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.card li { margin: 8px 0; }
.price {
  display: block;
  margin: 10px 0 16px;
  color: var(--blue);
  font-size: 30px;
  font-weight: 900;
}
.plan-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
}
.plan-card h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0;
}
.plan-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 3px 10px;
  color: #0d5f41;
  background: #effaf5;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}
.plan-card .price { margin: 0; }
.plan-card ul { flex: 1; }
.plan-note {
  margin-top: 28px;
  border: 1px solid #d8e8fb;
  border-radius: 8px;
  padding: 22px 24px;
  color: #28517d;
  background: #f5f9ff;
}
.plan-note h2 {
  margin: 0 0 8px;
  color: #172033;
  font-size: 22px;
  line-height: 1.32;
}
.plan-note p { margin: 0; }
.plan-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.media-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
}
.media-panel {
  border-radius: 8px;
  background: rgba(255,255,255,0.66);
}
.media-panel img {
  width: 100%;
  height: auto;
}
.download-box {
  display: grid;
  gap: 18px;
  justify-items: start;
}
.download-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 100%;
}
.meta {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}
.meta span {
  display: block;
  color: var(--muted);
  font-weight: 800;
}
.meta strong {
  display: block;
  margin-top: 6px;
  color: #172033;
}
.notice {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid #bdebd5;
  border-radius: 8px;
  color: #0d5f41;
  background: #effaf5;
}
.status-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.status-item {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(42, 76, 122, 0.07);
}
.status-item span {
  display: block;
  color: var(--muted);
  font-weight: 800;
}
.status-item strong {
  display: block;
  margin-top: 6px;
  color: #172033;
  font-size: 18px;
}
.live-status {
  display: grid;
  gap: 22px;
}
.live-status-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}
.live-status-head h2 {
  margin: 0;
  color: #172033;
  font-size: 28px;
  line-height: 1.25;
}
.live-status-head p { margin: 8px 0 0; color: var(--muted); }
.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  min-height: 40px;
  border-radius: 999px;
  padding: 8px 16px;
  color: #28517d;
  background: #eef5ff;
  font-size: 15px;
  white-space: nowrap;
}
.status-badge.pass { color: #0d5f41; background: #effaf5; }
.status-badge.warn { color: #7a4a04; background: #fff7e8; }
.status-badge.fail { color: #9a1f1f; background: #fff1f1; }
.status-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.check-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.check-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}
.check-panel-head h2 {
  margin: 0;
  color: #172033;
  font-size: 22px;
  line-height: 1.3;
}
.check-panel-head a { color: var(--blue); font-weight: 900; }
.check-list-panel { display: grid; }
.check-row {
  display: grid;
  grid-template-columns: 12px minmax(160px, 1fr) minmax(120px, 0.7fr);
  gap: 12px;
  align-items: center;
  min-height: 48px;
  padding: 14px 22px;
  border-bottom: 1px solid #edf2f8;
  color: var(--muted);
}
.check-row:last-child { border-bottom: 0; }
.check-row strong {
  min-width: 0;
  color: #172033;
  overflow-wrap: anywhere;
}
.check-row span:last-child { overflow-wrap: anywhere; }
.check-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
}
.check-row.pass .check-dot { background: var(--green); }
.check-row.fail .check-dot { background: var(--rose); }
.page-section { margin-top: 44px; }
.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 12px;
  border-radius: 999px;
  padding: 4px 11px;
  color: #0d5f41;
  background: #effaf5;
  font-size: 13px;
  font-weight: 900;
}
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}
.doc-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.doc-flow .step {
  display: flex;
  flex-direction: column;
  min-height: 240px;
}
.doc-flow .step p { flex: 1; }
.doc-guide {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 22px;
  align-items: start;
}
.doc-guide .card {
  box-shadow: 0 10px 24px rgba(42, 76, 122, 0.07);
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.step {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(42, 76, 122, 0.07);
}
.step-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}
.step h2,
.step h3 {
  margin: 0 0 10px;
  color: #172033;
  font-size: 21px;
  line-height: 1.32;
  letter-spacing: 0;
}
.step p { margin: 0; color: var(--muted); }
.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
}
.faq-list {
  display: grid;
  gap: 16px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
}
.faq-item h2,
.faq-item h3 {
  margin: 0 0 8px;
  color: #172033;
  font-size: 20px;
  line-height: 1.32;
  letter-spacing: 0;
}
.faq-item p { margin: 0; color: var(--muted); }
.assurance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.assurance-item {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(42, 76, 122, 0.07);
}
.assurance-item strong {
  display: block;
  margin-bottom: 8px;
  color: #172033;
  font-size: 19px;
}
.assurance-item span,
.assurance-item p {
  color: var(--muted);
}
.assurance-item p { margin: 0; }
.info-note {
  margin-top: 18px;
  border-left: 4px solid var(--blue);
  padding: 14px 18px;
  color: #28517d;
  background: #eef5ff;
}
.qr-panel {
  min-width: 0;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  align-items: center;
}
.qr-code {
  width: 160px;
  height: 160px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}
.hash-box {
  min-width: 0;
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(42, 76, 122, 0.07);
}
.hash-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.hash-grid div {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fbfdff;
}
.hash-box strong,
.hash-grid strong {
  display: block;
  margin-bottom: 6px;
  color: #172033;
}
.hash-code {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 1px solid #d9e6f6;
  border-radius: 8px;
  padding: 14px;
  color: #1d3557;
  background: #f5f9ff;
  font-family: "Consolas", "SFMono-Regular", monospace;
  font-size: 13px;
  line-height: 1.55;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-all;
}
.hash-grid span,
.hash-grid a,
.status-item strong { overflow-wrap: anywhere; }
.footer {
  border-top: 1px solid var(--line);
  color: #5d6b80;
  background: #eef4fb;
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(140px, 0.75fr));
  gap: 26px;
  padding: 30px 0;
  font-size: 14px;
}
.footer-brand strong,
.footer-links strong {
  display: block;
  margin-bottom: 8px;
  color: #172033;
  font-size: 16px;
}
.footer-brand p,
.footer-links span,
.footer-links a {
  display: block;
  margin: 4px 0;
  color: #5d6b80;
}
.footer-links a:hover { color: var(--blue); }
@media (max-width: 980px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px 16px;
    overflow-x: visible;
    white-space: normal;
  }
  .nav a { padding: 4px 0; }
  .cards,
  .cards.two,
  .cards.four,
  .media-grid,
  .download-meta,
  .status-strip,
  .status-summary,
  .split-section,
  .doc-flow,
  .doc-guide,
  .steps,
  .assurance-grid,
  .qr-panel,
  .hash-grid,
  .footer-inner { grid-template-columns: 1fr; }
  .live-status-head,
  .check-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .check-row {
    grid-template-columns: 12px 1fr;
  }
  .check-row span:last-child {
    grid-column: 2;
  }
}
@media (max-width: 560px) {
  body { font-size: 14px; }
  .brand img { width: 118px; }
  .button { width: 100%; }
  .actions { width: 100%; }
}
