* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --ink: #0F172A;
  --muted: #64748B;
  --soft: #F1F5F9;
  --line: #E2E8F0;
  --paper: #FFFFFF;
  /* 兼容旧变量名（保留 --orange 名字但承载品牌黄色） */
  --orange: #F5B824;
  --orange-dark: #C6900F;
  --green: #16A34A;
  --blue: #1E5BAA;
  --blue-dark: #154884;
  --navy: #061830;
  --brand: #1E5BAA;
  --brand-dark: #154884;
  --accent: #F5B824;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(221, 229, 238, 0.86);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
  flex: 0 0 auto;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand strong {
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand span {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.site-nav a {
  border-radius: 999px;
  padding: 8px 12px;
  color: #334155;
  font-size: 14px;
  text-decoration: none;
}

.site-nav a:hover {
  background: var(--soft);
  color: var(--ink);
}

.site-nav .nav-primary {
  background: var(--orange);
  color: #fff;
  font-weight: 700;
}

.site-nav .nav-primary:hover {
  background: var(--orange-dark);
  color: #fff;
}

.hero {
  min-height: 92vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #121826;
  color: #fff;
}

.hero-map {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #182032;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 16, 27, 0.9) 0%, rgba(10, 16, 27, 0.72) 42%, rgba(10, 16, 27, 0.26) 78%, rgba(10, 16, 27, 0.08) 100%),
    linear-gradient(180deg, rgba(10, 16, 27, 0.1), rgba(10, 16, 27, 0.48));
  pointer-events: none;
}

.hero-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(135deg, rgba(24, 86, 145, 0.65), rgba(20, 83, 45, 0.4)),
    url("data:image/svg+xml,%3Csvg width='1200' height='800' viewBox='0 0 1200 800' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='rgba(255,255,255,.16)' stroke-width='2'%3E%3Cpath d='M-80 540C100 476 195 485 322 402c120-79 229-210 383-191 176 22 236 250 429 201 87-22 147-91 208-167'/%3E%3Cpath d='M-60 220c164 36 253 142 421 126 206-19 303-204 494-144 127 39 151 163 311 179 79 8 143-13 201-42'/%3E%3Cpath d='M72 730c112-152 248-222 408-220 218 2 324 139 526 72 83-28 154-83 238-168'/%3E%3C/g%3E%3Cg fill='rgba(255,255,255,.36)'%3E%3Ccircle cx='296' cy='423' r='7'/%3E%3Ccircle cx='704' cy='211' r='7'/%3E%3Ccircle cx='1014' cy='582' r='7'/%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat;
}

.hero-shell {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 116px 0 72px;
}

.hero-logo-main {
  width: clamp(116px, 12vw, 156px);
  height: auto;
  margin-bottom: 18px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #FFDC7A;
  font-size: 13px;
  font-weight: 700;
}

.hero h1 {
  max-width: 780px;
  margin: 14px 0 18px;
  font-size: clamp(42px, 6.4vw, 78px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 20px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 16px 28px rgba(232, 101, 43, 0.24);
}

.btn-primary:hover {
  background: var(--orange-dark);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.26);
  color: #fff;
}

.btn-outline {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 18px;
  max-width: 640px;
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  padding-top: 20px;
}

.hero-metrics strong {
  display: block;
  font-size: 28px;
  line-height: 1.1;
}

.hero-metrics span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.next-hint {
  position: absolute;
  left: clamp(18px, 4vw, 48px);
  bottom: 14px;
  z-index: 3;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.section {
  padding: 76px clamp(18px, 4vw, 48px);
}

.section-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.8fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
}

.section h2,
.doc-hero h1 {
  margin: 8px 0 0;
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-head p,
.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.soft-band {
  background: var(--soft);
}

.split-band {
  background: linear-gradient(180deg, #fff 0, #fff 45%, #EAF2FB 45%, #EAF2FB 100%);
}

.feature-grid,
.trust-grid,
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.trust-card,
.module-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 22px;
}

.feature-card strong,
.trust-card strong,
.module-card strong,
.contact-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
}

.feature-card p,
.trust-card p,
.module-card p,
.contact-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.accent-line {
  display: block;
  width: 42px;
  height: 3px;
  margin-bottom: 18px;
  background: var(--orange);
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.workflow-step {
  min-height: 210px;
  padding: 26px;
  background: #fff;
}

.workflow-step span {
  color: var(--orange);
  font-weight: 900;
  font-size: 13px;
}

.workflow-step strong {
  display: block;
  margin: 18px 0 8px;
  font-size: 19px;
}

.workflow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.route-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.6fr);
  gap: 28px;
  align-items: stretch;
}

.route-map-panel {
  min-height: 460px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
  background: #D7E6F5;
}

#showcaseMap {
  position: absolute;
  inset: 0;
}

.showcase-fallback {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(47, 111, 237, 0.22), rgba(23, 138, 90, 0.18)),
    url("data:image/svg+xml,%3Csvg width='900' height='600' viewBox='0 0 900 600' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='900' height='600' fill='%23dbe7ee'/%3E%3Cg fill='none' stroke='%2382a0b8' stroke-width='2' opacity='.65'%3E%3Cpath d='M50 450c110-86 192-42 268-116 76-73 75-174 194-196 128-23 189 71 317 15'/%3E%3Cpath d='M96 166c105 52 186 56 270 12 76-40 132-102 237-87 86 12 141 62 238 54'/%3E%3Cpath d='M166 535c92-124 180-154 302-117 115 35 215 18 334-92'/%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat;
}

.showcase-list {
  display: grid;
  gap: 14px;
}

.showcase-item {
  border-left: 4px solid var(--orange);
  background: #fff;
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.showcase-item:nth-child(2) {
  border-left-color: var(--green);
}

.showcase-item:nth-child(3) {
  border-left-color: var(--blue);
}

.showcase-item strong {
  display: block;
  margin-bottom: 6px;
}

.showcase-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.cta-band {
  background: var(--navy);
  color: #fff;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) auto;
  gap: 28px;
  align-items: center;
}

.cta-panel h2 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
}

.cta-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer {
  padding: 28px clamp(18px, 4vw, 48px);
  background: #0f172a;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.footer-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer a {
  text-decoration: none;
}

.doc-hero {
  padding: 118px clamp(18px, 4vw, 48px) 52px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.doc-hero-inner,
.doc-layout {
  width: min(980px, 100%);
  margin: 0 auto;
}

.doc-hero p {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.doc-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 36px;
  padding: 54px 18px 82px;
}

.doc-nav {
  position: sticky;
  top: 92px;
  align-self: start;
  display: grid;
  gap: 6px;
}

.doc-nav a {
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.doc-nav a:hover {
  background: var(--soft);
  color: var(--ink);
}

.doc-content {
  min-width: 0;
}

.doc-content section {
  padding: 0 0 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.doc-content section:last-child {
  border-bottom: 0;
}

.doc-content h2 {
  margin: 0 0 12px;
  font-size: 25px;
  line-height: 1.25;
}

.doc-content h3 {
  margin: 22px 0 8px;
  font-size: 18px;
}

.doc-content p,
.doc-content li {
  color: var(--muted);
}

.doc-content ul,
.doc-content ol {
  padding-left: 22px;
}

.notice {
  border-left: 4px solid var(--orange);
  background: #FFF8E1;
  border-radius: 8px;
  padding: 16px 18px;
  color: #7c3f1f;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-shell {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
}

.form-row {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.form-row label {
  font-size: 13px;
  color: #334155;
  font-weight: 700;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.form-row textarea {
  min-height: 126px;
  resize: vertical;
}

.tiny {
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    gap: 10px;
  }

  .site-nav {
    max-width: 60vw;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-shell {
    padding-top: 110px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-metrics,
  .feature-grid,
  .trust-grid,
  .module-grid,
  .workflow,
  .route-showcase,
  .cta-panel,
  .doc-layout,
  .contact-grid,
  .section-head {
    grid-template-columns: 1fr;
  }

  .workflow-step {
    min-height: auto;
  }

  .route-map-panel {
    min-height: 330px;
  }

  .cta-panel {
    justify-items: start;
  }

  .doc-nav {
    position: static;
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand strong {
    font-size: 16px;
  }

  .site-nav a {
    padding: 7px 10px;
    font-size: 13px;
  }

  .hero-shell {
    width: calc(100% - 28px);
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .hero-metrics {
    gap: 12px;
  }

  .section {
    padding: 58px 14px;
  }

  .doc-hero {
    padding: 108px 14px 42px;
  }

  .doc-layout {
    padding-left: 14px;
    padding-right: 14px;
  }
}
