:root {
  --ink: #123A5C;
  --ink-dark: #0B2439;
  --text: #243746;
  --muted: #61758A;
  --line: #DFE7EE;
  --bg: #FFFFFF;
  --surface: #F5F8FB;
  --accent: #C85A17;
  --accent-hover: #A9480F;
  --accent-soft: #FDF1E8;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

body.lang-en [data-lang="zh"],
body.lang-zh [data-lang="en"] { display: none !important; }

.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 6px 0; font-size: 13px;
}
.skip-link:focus { left: 0; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { font-size: 21px; font-weight: 700; letter-spacing: .13em; color: var(--ink); white-space: nowrap; }
.brand-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-left: 3px; vertical-align: 2px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 14px; font-weight: 500; color: var(--text); }
.nav a:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 12px; }

.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-switch button {
  border: 0; background: transparent; color: var(--muted);
  padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.4;
}
.lang-switch button.is-active { background: var(--ink); color: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 6px; border: 1px solid transparent;
  font-size: 14px; font-weight: 600; line-height: 1.4; white-space: nowrap;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border-color: var(--line); background: transparent; color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #EFF3F7; }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.arrow { font-size: 16px; line-height: 1; }

.nav-toggle {
  display: none; width: 40px; height: 40px; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  border: 1px solid var(--line); border-radius: 6px; background: transparent;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); }

.hero { padding: 88px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.eyebrow { margin: 0 0 16px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
h1, h2, h3 { font-weight: 700; letter-spacing: -.015em; }
h1 { margin: 0 0 20px; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.14; color: var(--ink); }
.hero-lead { margin: 0 0 30px; max-width: 520px; font-size: 17px; line-height: 1.75; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 22px 0 0; max-width: 490px; font-size: 12px; line-height: 1.6; color: #93A3B3; }

.hero-visual {
  position: relative; aspect-ratio: 4 / 3.4;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
.hero-visual > img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual-card {
  position: absolute; right: 22px; bottom: 22px; width: 190px;
  display: flex; flex-direction: column; gap: 9px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px;
}
.card-line { display: block; height: 8px; border-radius: 4px; background: var(--line); }
.card-line.short { width: 60%; }
.card-chip { height: 22px; width: 68px; border-radius: 5px; background: var(--accent-soft); border: 1px solid #F0D3BC; }

.media-tag {
  position: absolute; top: 14px; right: 14px;
  background: rgba(255,255,255,.94); border: 1px dashed #C4D2DE; color: #6B7F90;
  font-size: 11px; line-height: 1.4; padding: 5px 10px; border-radius: 4px;
}

.trust-bar { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item {
  display: flex; align-items: center; gap: 14px; padding: 20px 24px;
  font-size: 14px; font-weight: 600; color: var(--ink); border-right: 1px solid var(--line);
}
.trust-item:last-child { border-right: 0; }
.trust-num { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--accent); }

.section { padding: 88px 0; }
.section-tint { background: var(--surface); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px 40px; margin-bottom: 36px; }
.section-head .eyebrow { margin-bottom: 12px; }
h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); line-height: 1.25; color: var(--ink); }
.section-desc { margin: 0; max-width: 380px; font-size: 13px; line-height: 1.7; color: var(--muted); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-btn {
  padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--muted); font-size: 13px; font-weight: 500;
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.product-card {
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(18,58,92,.08); }
.product-card.is-hidden { display: none; }
.product-media { position: relative; aspect-ratio: 4 / 3; background: var(--surface); border-bottom: 1px solid var(--line); }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-index {
  position: absolute; left: 14px; top: 14px; width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.94); border: 1px solid var(--line); border-radius: 6px;
  font-size: 12px; font-weight: 700; color: var(--ink);
}
.product-body { padding: 20px; }
.product-cat { margin: 0 0 8px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.product-body h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; color: var(--ink); }
.product-desc { margin: 0 0 16px; font-size: 13px; line-height: 1.65; color: var(--muted); }
.product-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink); }
.product-link:hover { color: var(--accent); }
.empty-state { padding: 40px 0; text-align: center; color: var(--muted); font-size: 14px; }

.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.step-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 28px 24px; }
.step-num { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--accent); }
.step-card h3 { margin: 14px 0 10px; font-size: 17px; font-weight: 600; color: var(--ink); }
.step-card p { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--muted); }

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.about-visual {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; }
.about-copy h2 { margin-bottom: 18px; }
.about-copy > p { margin: 0 0 22px; font-size: 15px; line-height: 1.8; color: var(--muted); }
.fill-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.fill-list li { position: relative; padding-left: 24px; font-size: 14px; color: var(--text); }
.fill-list li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 11px; height: 11px; border: 1.5px solid var(--accent); border-radius: 2px;
}

.contact-section { padding-bottom: 96px; }
.contact-panel {
  display: grid; grid-template-columns: 1.05fr .95fr;
  background: var(--ink); border-radius: 14px; overflow: hidden; color: #fff;
}
.contact-copy { padding: 48px; }
.contact-copy .eyebrow { color: #F6B786; }
.contact-copy h2 { margin: 0 0 16px; font-size: clamp(24px, 2.6vw, 32px); color: #fff; }
.contact-copy > p { margin: 0 0 28px; max-width: 460px; font-size: 14px; line-height: 1.75; color: #B9CBD9; }
.contact-list { margin: 0; padding: 0; list-style: none; }
.contact-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 12px 0; border-top: 1px solid rgba(255,255,255,.14); font-size: 14px;
}
.contact-label { color: #B9CBD9; }
.to-fill { padding: 2px 10px; border: 1px dashed rgba(246,183,134,.5); border-radius: 4px; font-size: 12px; color: #F6B786; }
.contact-action { padding: 48px; background: rgba(255,255,255,.05); border-left: 1px solid rgba(255,255,255,.12); }
.contact-action h3 { margin: 0 0 10px; font-size: 18px; color: #fff; }
.contact-action > p { margin: 0 0 20px; font-size: 13px; line-height: 1.7; color: #B9CBD9; }
.template-box {
  margin: 0 0 20px; padding: 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 8px;
  background: rgba(0,0,0,.18); color: #E6EFF5; font-family: var(--mono);
  font-size: 12.5px; line-height: 1.8; white-space: pre-wrap;
}
.form-note { margin: 16px 0 0; font-size: 11.5px; line-height: 1.6; color: #8FA8BC; }

.site-footer { padding: 48px 0; background: var(--ink-dark); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; align-items: start; }
.brand-footer { color: #fff; }
.footer-tag { margin: 12px 0 0; font-size: 13px; color: #93A9BC; }
.footer-nav { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 10px 32px; }
.footer-nav a { font-size: 13px; color: #B9CBD9; }
.footer-nav a:hover { color: #fff; }
.footer-meta { text-align: right; font-size: 12.5px; line-height: 1.9; color: #93A9BC; }
.footer-meta p { margin: 0; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 560px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-panel { grid-template-columns: 1fr; }
  .contact-action { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-meta { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 70px; }
  .container { width: calc(100% - 32px); }
  .header-inner { height: 64px; }
  .nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 16px 16px; background: #fff; border-bottom: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .hero { padding: 56px 0 48px; }
  h1 { font-size: 34px; }
  .hero-lead { font-size: 15px; }
  .hero-visual-card { width: 150px; right: 14px; bottom: 14px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); padding: 14px 4px; }
  .trust-item:last-child { border-bottom: 0; }
  .section { padding: 60px 0; }
  .section-head { align-items: flex-start; gap: 14px; }
  .product-grid { grid-template-columns: 1fr; }
  .contact-copy, .contact-action { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 420px) {
  .lang-switch button { padding: 4px 9px; }
  .btn { padding: 11px 16px; }
  .hero-actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
