/* ============================================================
   VPNCU · nodes.css
   节点/线路页专属样式
   ============================================================ */

/* ---------- 页头 ---------- */
.node-hero {
  padding-top: 56px;
  padding-bottom: 36px;
}

.node-hero-inner {
  max-width: 780px;
}

.node-hero .kicker {
  margin-bottom: 18px;
}

.node-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.12;
  letter-spacing: -.025em;
  color: var(--ink);
}

.node-hero .node-sub {
  margin-top: 14px;
  font-size: 16px;
  color: var(--muted);
  max-width: 640px;
  line-height: 1.7;
}

.node-hero .trust-row {
  margin-top: 22px;
}

/* ---------- 地区徽章墙 ---------- */
.region-wall {
  padding-top: 20px;
  padding-bottom: 48px;
}

.region-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.region-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--panel);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.region-badge .rb-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ---------- 线路表 ---------- */
.node-table-sec {
  padding-top: 24px;
  padding-bottom: 64px;
}

.node-table-sec .data-table {
  min-width: 720px;
}

.table-note {
  margin-top: 16px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--panel);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.table-note p {
  margin: 0;
}

/* ---------- 线路类型说明 ---------- */
.line-type-sec {
  padding-top: 64px;
  padding-bottom: 64px;
  background: var(--panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.line-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.line-type-card {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg);
  padding: 28px;
  transition: transform .22s ease, box-shadow .22s ease;
  min-width: 0;
}

.line-type-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}

.line-type-card .lt-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--r-pill);
  background: var(--panel2);
  color: var(--accent-dark);
  margin-bottom: 14px;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.line-type-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--ink);
}

.line-type-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.line-type-card .lt-meta {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: .02em;
}

/* ---------- 选线建议 ---------- */
.routing-guide {
  padding-top: 64px;
  padding-bottom: 64px;
}

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

.routing-card {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--panel);
  padding: 24px 26px;
  transition: transform .22s ease, box-shadow .22s ease;
  min-width: 0;
}

.routing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}

.routing-card .rc-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.routing-card .rc-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  background: var(--panel2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  flex-shrink: 0;
}

.routing-card .rc-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.routing-card h3 {
  font-size: 16px;
  color: var(--ink);
}

.routing-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.routing-tip {
  margin-top: 24px;
  padding: 18px 22px;
  border-left: 3px solid var(--accent);
  background: var(--panel);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.routing-tip p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

/* ---------- CTA 带 ---------- */
.cta-band {
  padding-top: 56px;
  padding-bottom: 56px;
}

.cta-band-inner {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--panel2);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-size: clamp(22px, 2.5vw, 30px);
  margin-bottom: 8px;
  color: var(--ink);
}

.cta-band p {
  font-size: 14.5px;
  max-width: 520px;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .line-type-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .node-hero {
    padding-top: 40px;
    padding-bottom: 28px;
  }

  .node-hero h1 {
    font-size: 32px;
  }

  .node-hero .node-sub {
    font-size: 15px;
  }

  .region-wall {
    padding-top: 12px;
    padding-bottom: 36px;
  }

  .routing-grid {
    grid-template-columns: 1fr;
  }

  .cta-band-inner {
    padding: 28px 24px;
    flex-direction: column;
    align-items: flex-start;
  }

  .line-type-sec,
  .routing-guide {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .node-table-sec {
    padding-bottom: 48px;
  }
}

@media (max-width: 480px) {
  .region-badge {
    padding: 6px 14px;
    font-size: 12px;
  }

  .line-type-card,
  .routing-card {
    padding: 20px;
  }
}