/* ============================================================
   跃港互联 · 设计系统
   调性：克制、边界清晰、数据说话
   规则：无渐变 / 无大圆角 / 无阴影 / 无装饰插画
   ============================================================ */

:root {
  /* 主色系 */
  --ink:          #17364B;
  --ink-2:        #2E4A5C;
  --ink-3:        #5A6B7A;
  --ink-4:        #7A8894;
  --ink-5:        #A8B2BA;

  /* 线条 */
  --line:         #E2E6EA;
  --line-strong:  #C9D1D8;

  /* 底色 */
  --bg:           #FFFFFF;
  --bg-sub:       #FAFBFC;
  --bg-mute:      #F3F5F7;

  /* 强调 */
  --accent:       #087F83;
  --accent-dark:  #066A6E;
  --accent-wash:  #EEF6F6;

  /* 状态 */
  --warn:         #BA7517;
  --warn-wash:    #FBF5EA;
  --ok:           #087F83;
  --mute:         #B4BCC4;

  --r:            3px;
  --maxw:         1080px;
  --maxw-read:    720px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
               "Noto Sans CJK SC", sans-serif;
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- 排版 ---------- */

h1, h2, h3, h4 { font-weight: 500; margin: 0; }
h1 { font-size: 32px; line-height: 1.36; letter-spacing: -.012em; margin-bottom: .55em; }
h2 { font-size: 22px; line-height: 1.45; letter-spacing: -.008em; margin-bottom: .7em; }
h3 { font-size: 16px; line-height: 1.5; margin-bottom: .5em; }
h4 { font-size: 14px; line-height: 1.5; margin-bottom: .4em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

strong { font-weight: 500; }

.num, .tabular { font-variant-numeric: tabular-nums; }

.lead { font-size: 16px; color: var(--ink-3); line-height: 1.8; }
.small { font-size: 13px; color: var(--ink-3); }
.micro { font-size: 12px; color: var(--ink-4); line-height: 1.65; }
.muted { color: var(--ink-3); }
.dim   { color: var(--ink-4); }

.eyebrow {
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--accent);
  margin: 0 0 14px;
}

/* ---------- 布局 ---------- */

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.read {
  max-width: var(--maxw-read);
  margin: 0 auto;
  padding: 0 24px;
}

.sec { padding: 68px 0; border-top: 1px solid var(--line); }
.sec-flat { padding: 68px 0; }
.sec-sub { background: var(--bg-sub); }

.grid { display: grid; gap: 32px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- 导航 ---------- */

.nav {
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(8px);
  position: sticky;
  top: 0;
  z-index: 40;
}
.nav-in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 17px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
}
.nav-brand:hover { text-decoration: none; }
.nav-links { display: flex; gap: 26px; font-size: 14px; align-items: center; }
.nav-links a { color: var(--ink-3); text-decoration: none; white-space: nowrap; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-links a.on { color: var(--ink); }

/* ---------- 按钮 ---------- */

.btn {
  display: inline-block;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.4;
  padding: 12px 26px;
  border-radius: var(--r);
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background .15s, border-color .15s;
}
.btn:hover { background: #0E2836; border-color: #0E2836; text-decoration: none; }
.btn:disabled { opacity: .4; cursor: not-allowed; }

.btn-accent { background: var(--accent); border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--bg-mute); border-color: var(--ink-5); }

.btn-sm { font-size: 13px; padding: 9px 18px; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ---------- 主行动按钮（全站唯一高饱和色，只用在这一处） ---------- */

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  padding: 17px 40px;
  border-radius: var(--r);
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.btn-cta:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  text-decoration: none;
}
.btn-cta .arw { display: inline-block; transition: transform .18s; }
.btn-cta:hover .arw { transform: translateX(3px); }

/* 门槛提示：紧贴按钮下方，消除决策阻力 */
.cta-note {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 13px;
  color: var(--ink-4);
  margin: 15px 0 0;
}
.cta-note span { display: inline-flex; align-items: center; gap: 7px; }
.cta-note span::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--accent);
  flex: none;
}

/* 降级的次级入口 */
.link-sub {
  font-size: 14px;
  color: var(--ink-3);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: color .15s, border-color .15s;
}
.link-sub:hover { color: var(--ink); border-bottom-color: var(--ink-4); text-decoration: none; }

/* ---------- 首屏两栏 ---------- */

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 60px;
  align-items: center;
}

.aside-card {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-sub);
  padding: 26px 28px;
}
.aside-h { font-size: 13px; color: var(--ink-3); margin: 0 0 14px; }
.aside-list { list-style: none; padding: 0; margin: 0; }
.aside-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.aside-list li:last-child { border-bottom: 0; }
.aside-n {
  font-size: 12px;
  color: var(--ink-5);
  font-variant-numeric: tabular-nums;
  width: 20px;
  flex: none;
}

/* ---------- 移动端粘性行动条 ---------- */

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 11px 16px;
  background: rgba(255, 255, 255, .97);
  border-top: 1px solid var(--line);
  z-index: 50;
  transform: translateY(115%);
  transition: transform .28s ease;
}
.sticky-cta.show { transform: none; }
.sticky-cta .btn-cta { width: 100%; padding: 15px 24px; font-size: 15px; }

@media (min-width: 641px) { .sticky-cta { display: none; } }
@media (max-width: 640px) {
  body.has-sticky { padding-bottom: 84px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 38px; }
  .aside-card { padding: 20px 18px; }
  .btn-cta { width: 100%; padding: 16px 24px; }
}

/* ---------- 表格 ---------- */

.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th, .tbl td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-variant-numeric: tabular-nums;
}
.tbl th {
  font-weight: 500;
  font-size: 13px;
  color: var(--ink-3);
  background: var(--bg-sub);
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}
.tbl tr:last-child td { border-bottom: 0; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }

/* ---------- 表单 ---------- */

.field { margin-bottom: 26px; }
.field > label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
}
.field .hint {
  font-size: 12px;
  color: var(--ink-4);
  margin: 0 0 10px;
  line-height: 1.6;
}

input[type=text], input[type=tel], input[type=number], select, textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: #fff;
  transition: border-color .15s;
  font-variant-numeric: tabular-nums;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
}
input::placeholder, textarea::placeholder { color: var(--ink-5); }
textarea { resize: vertical; min-height: 96px; line-height: 1.7; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A8894' stroke-width='1.4' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

/* 选项卡片 */
.opts { display: grid; gap: 8px; }
.opts-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opts-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.opt {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
  transition: border-color .12s, background .12s;
  user-select: none;
}
.opt:hover { border-color: var(--ink-4); }
.opt input { margin: 3px 0 0; accent-color: var(--accent); flex: none; }
.opt .opt-t { display: block; }
.opt .opt-d { display: block; font-size: 12px; color: var(--ink-4); margin-top: 2px; line-height: 1.55; }
.opt.sel { border-color: var(--accent); background: var(--accent-wash); }
.opt.sel .opt-d { color: var(--ink-3); }

/* ---------- 卡片 ---------- */

.card {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px 28px;
  background: #fff;
}
.card-sub { background: var(--bg-sub); }

/* 数字卡片 */
.stats { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.stat { background: #fff; padding: 22px 24px; }
.stat .k { font-size: 13px; color: var(--ink-3); margin: 0 0 8px; }
.stat .v { font-size: 24px; font-weight: 500; margin: 0; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.stat .u { font-size: 13px; color: var(--ink-4); font-weight: 400; }

/* ---------- 分隔与标签 ---------- */

.rule { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }

.tag {
  display: inline-block;
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 2px;
  background: var(--bg-mute);
  color: var(--ink-3);
  line-height: 1.6;
}
.tag-ok { background: var(--accent-wash); color: var(--accent-dark); }
.tag-warn { background: var(--warn-wash); color: var(--warn); }

/* ---------- 清单 ---------- */

.list { list-style: none; padding: 0; margin: 0; }
.list li {
  padding: 11px 0 11px 20px;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-size: 14px;
  line-height: 1.7;
}
.list li:last-child { border-bottom: 0; }
.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 7px;
  height: 1px;
  background: var(--ink-4);
}
.list-no li::before { background: var(--warn); }

/* ---------- 页脚 ---------- */

.foot {
  border-top: 1px solid var(--line);
  padding: 44px 0;
  font-size: 13px;
  color: var(--ink-4);
  background: var(--bg-sub);
}
.foot-in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.foot a { color: var(--ink-3); }

/* ---------- 工具类 ---------- */

.mt0 { margin-top: 0; }
.mb0 { margin-bottom: 0; }
.mt8 { margin-top: 8px; }
.mt16 { margin-top: 16px; }
.mt24 { margin-top: 24px; }
.mt32 { margin-top: 32px; }
.mb8 { margin-bottom: 8px; }
.mb16 { margin-bottom: 16px; }
.mb24 { margin-bottom: 24px; }
.mb32 { margin-bottom: 32px; }
.center { text-align: center; }
.hide { display: none !important; }

/* ---------- 响应式 ---------- */

@media (max-width: 860px) {
  .g3, .g4, .opts-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  body { font-size: 14.5px; }
  h1 { font-size: 25px; }
  h2 { font-size: 19px; }
  .sec, .sec-flat { padding: 44px 0; }
  .wrap, .read { padding: 0 18px; }
  .nav-in { padding: 14px 18px; }
  .nav-links { gap: 16px; font-size: 13px; }
  .g2, .g3, .g4, .opts-2, .opts-3 { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 20px 18px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .tbl th, .tbl td { padding: 10px 12px; }
}
