:root {
  --ink: #172033;
  --muted: #5c6a7e;
  --navy: #0b1c33;
  --navy-2: #14325c;
  --amber: #f0b429;
  --amber-deep: #c48a09;
  --paper: #f4f7fb;
  --line: #e5ebf3;
  --white: #fff;
  --shadow: 0 18px 50px rgba(11, 28, 51, 0.08);
  --radius: 18px;
  --nav-h: 72px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input { font: inherit; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

.nav {
  position: sticky; top: 0; z-index: 30;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 235, 243, 0.9);
}
.nav-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: 0.01em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--navy); color: var(--amber); font-size: 16px;
}
.nav-menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-menu a {
  text-decoration: none; color: #31445f; font-size: 15px;
  padding: 8px 12px; border-radius: 999px;
}
.nav-menu a:hover { color: var(--navy); background: var(--paper); }
.nav-toggle {
  display: none; margin-left: auto;
  width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--white); cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 16px; height: 1.5px; background: var(--navy); position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0;
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 18px; border-radius: 999px;
  text-decoration: none; font-weight: 700; border: 1px solid transparent; cursor: pointer;
}
.btn-amber { background: var(--amber); color: #2a1d04; }
.btn-amber:hover { background: #ffc53d; }
.btn-ghost {
  background: transparent; color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); }
.nav-menu .btn { margin-left: 8px; min-height: 40px; }

.hero {
  background:
    radial-gradient(820px 380px at 88% -10%, rgba(240, 180, 41, 0.22), transparent 58%),
    linear-gradient(165deg, #16345f 0%, #0b1c33 52%, #081426 100%);
  color: var(--white);
  padding: 72px 0 108px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--amber); font-weight: 700; letter-spacing: 0.08em; font-size: 13px;
}
.kicker::before { content: ""; width: 18px; height: 2px; background: var(--amber); }
.hero h1 {
  margin: 14px 0 16px; font-size: clamp(34px, 4vw, 48px);
  line-height: 1.22; letter-spacing: -0.02em;
}
.hero .lead { margin: 0; max-width: 38em; color: rgba(255, 255, 255, 0.82); font-size: 18px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; padding: 0; list-style: none; }
.pills li {
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 13px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.shot {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px; padding: 10px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}
.shot img { border-radius: 12px; width: 100%; }
.shot figcaption { color: rgba(255, 255, 255, 0.62); font-size: 12px; text-align: center; padding: 8px 0 2px; }

.stats-wrap { margin-top: -52px; position: relative; z-index: 2; }
.stats {
  margin: 0; display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: 20px; box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.stats div { padding: 26px 12px; text-align: center; }
.stats div + div { border-left: 1px solid var(--line); }
.stats dt { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; }
.stats dd { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

section { scroll-margin-top: 88px; }
.block { padding: 88px 0; }
.block-paper { background: var(--paper); }
.section-head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.section-head h2, .split h2, .panel h2 { margin: 8px 0 10px; font-size: 32px; line-height: 1.3; letter-spacing: -0.02em; }
.section-head p, .split p, .panel p { margin: 0; color: var(--muted); }
.kicker-dark { color: var(--amber-deep); }

.cards-3, .cards-support { display: grid; gap: 18px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card, .quote, .price-card, .qr-card, .table-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.card { padding: 24px; }
.card h3, .price-card h3 { margin: 14px 0 8px; font-size: 18px; }
.card p { margin: 0 0 12px; color: var(--muted); }
.card ul, .split ul { margin: 0; padding-left: 18px; color: var(--muted); }
.card li + li, .split li + li { margin-top: 4px; }
.icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: #fff6df; color: #9a6b08;
}
.icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.panel {
  margin-top: 22px; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 36px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 28px;
}
.block-paper .panel { background: var(--white); }
.panel img { width: 100%; border-radius: 14px; border: 1px solid var(--line); }
.panel .note { margin-top: 12px; color: var(--muted); font-size: 13px; }

.cards-support { grid-template-columns: repeat(4, 1fr); }
.support { padding: 22px; }
.support h3 { margin: 12px 0 6px; font-size: 16px; }
.support p { margin: 0; color: var(--muted); font-size: 14px; }

.pricing { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 18px; align-items: start; }
table { width: 100%; border-collapse: collapse; }
.table-card { padding: 8px 22px 18px; }
th, td { text-align: left; padding: 14px 4px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; font-size: 13px; }
tr:last-child td { border-bottom: 0; font-weight: 700; }
.fine { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; }
.price-card { padding: 8px 22px 18px; }
.tier { display: flex; justify-content: space-between; gap: 12px; padding-top: 16px; font-weight: 700; }
.tier span:last-child { color: #9a6b08; white-space: nowrap; }
.tier + p { margin: 4px 0 0; color: var(--muted); font-size: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.price-card .tier:last-of-type + p { border-bottom: 0; padding-bottom: 0; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 21px; left: 8%; right: 8%; height: 1px; background: #d5deea;
}
.step { position: relative; text-align: center; }
.num {
  width: 42px; height: 42px; margin: 0 auto 12px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy); color: var(--white); font-weight: 700;
  position: relative; z-index: 1;
}
.step h3 { margin: 0 0 6px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote { padding: 24px; }
.quote p { margin: 0 0 16px; font-size: 16px; }
.quote span { color: var(--muted); font-size: 14px; }

.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--amber-deep); font-size: 22px; font-weight: 500; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

.contact { background: linear-gradient(180deg, #f8fbff 0%, #eef3f9 100%); }
.qr-row { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; }
.qr-card { width: min(280px, 100%); padding: 22px; text-align: center; }
.qr-card img { width: 180px; height: 180px; object-fit: cover; margin: 0 auto 12px; border-radius: 12px; }
.qr-card p { margin: 0; color: var(--muted); }

.footer { background: var(--navy); color: rgba(255, 255, 255, 0.72); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr; gap: 28px; }
.footer h2, .footer h3 { color: var(--white); margin: 0 0 12px; }
.footer h2 { font-size: 20px; }
.footer h3 { font-size: 15px; }
.footer p { margin: 0 0 8px; }
.footer a { text-decoration: none; }
.footer ul { margin: 0; padding: 0; list-style: none; }
.footer li + li { margin-top: 8px; }
.footer a:hover { color: var(--white); }
.legal {
  margin-top: 36px; padding: 16px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 13px;
}
.legal a { text-decoration: none; }
.legal a:hover { color: var(--white); }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

@media (max-width: 900px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-menu {
    display: none; position: absolute; left: 0; right: 0; top: var(--nav-h);
    margin: 0; padding: 12px 20px 18px; background: var(--white);
    border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch;
  }
  .nav-menu.is-open { display: flex; box-shadow: 0 16px 30px rgba(11, 28, 51, 0.08); }
  .nav-menu .btn { margin: 8px 0 0; }
  .hero { padding: 48px 0 88px; }
  .hero-grid, .panel, .pricing, .footer-grid { grid-template-columns: 1fr; }
  .cards-3, .quotes { grid-template-columns: 1fr; }
  .cards-support, .steps, .stats { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .stats div:nth-child(odd) { border-left: 0; }
  .stats div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .section-head h2, .split h2, .panel h2 { font-size: 26px; }
  .block { padding: 64px 0; }
}

@media (max-width: 560px) {
  .cards-support, .steps { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
