/* ==========================================================================
   MeyeVPN — nodes.css
   节点 / 线路页专属样式：首屏、线路类型卡、选线建议卡、覆盖区、地区徽章墙
   仅本页使用；所有颜色与圆角引用 base.css 的设计令牌
   ========================================================================== */

/* ---------- 首屏 ---------- */
.nodes-hero{
  position:relative;
  overflow-x:clip;
  max-width:100%;
  background:linear-gradient(180deg,var(--bg-top),var(--bg-bottom));
  padding-top:56px;
  padding-bottom:56px;
}
.nodes-orb{
  position:absolute;
  inset:0;
  max-width:100%;
  pointer-events:none;
  background:
    radial-gradient(520px 420px at 88% 4%,var(--glow-7),transparent 70%),
    radial-gradient(560px 460px at 4% 98%,var(--glow-5),transparent 70%);
}
.nodes-hero .wrap{position:relative;max-width:980px}
.nodes-hero h1{
  font-family:var(--font-display);
  font-weight:900;
  font-size:clamp(34px,5vw,64px);
  line-height:1.1;
  letter-spacing:-.03em;
  margin:18px 0 16px;
}
.nodes-lead{
  font-size:17.5px;
  line-height:1.8;
  color:var(--muted);
  max-width:780px;
}
.nodes-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
  margin:26px 0 22px;
}
.nodes-note{
  margin-top:16px;
  font-family:var(--font-mono);
  font-size:13px;
  color:var(--muted);
  letter-spacing:.01em;
}

/* ---------- 正文段落 ---------- */
.nodes-sub{
  font-family:var(--font-display);
  font-size:20px;
  font-weight:800;
  letter-spacing:-.02em;
  margin:36px 0 12px;
}
.nodes-body{
  font-size:16px;
  line-height:1.85;
  color:var(--muted);
  max-width:900px;
}
.nodes-body + .nodes-body{margin-top:14px}
.nodes-body-pad{margin-top:24px}

/* ---------- 线路类型说明卡 ---------- */
.line-type-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}
.line-type-card{
  display:flex;
  flex-direction:column;
  min-width:0;
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:var(--r-xl);
  box-shadow:var(--shadow-soft);
  padding:26px;
}
.line-type-card h3{
  font-family:var(--font-display);
  font-size:20px;
  font-weight:800;
  letter-spacing:-.02em;
  margin:14px 0 14px;
}
.line-type-card dl{
  margin:0;
  display:flex;
  flex-direction:column;
  gap:14px;
}
.line-type-card dt{
  font-size:12.5px;
  font-weight:700;
  letter-spacing:.06em;
  color:var(--accent);
}
.line-type-card dd{
  margin:5px 0 0;
  font-size:15px;
  line-height:1.78;
  color:var(--muted);
  word-break:keep-all;
}
.line-type-card .cost{
  margin-top:auto;
  padding-top:16px;
  border-top:1px solid var(--border);
  font-size:13.5px;
  line-height:1.65;
  color:var(--muted);
}
.line-type-card .cost b{color:var(--text);font-weight:700}

/* ---------- 选线建议卡 ---------- */
.pick-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.pick-card{
  display:flex;
  align-items:flex-start;
  gap:16px;
  min-width:0;
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:var(--r-xl);
  box-shadow:var(--shadow-xs);
  padding:24px;
  transition:transform var(--dur-base) var(--ease-out),box-shadow var(--dur-base) var(--ease-out);
}
.pick-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-soft)}
.pick-card > div{min-width:0}
.pick-card h3{
  font-size:17px;
  font-weight:700;
  margin-bottom:8px;
}
.pick-card p{
  font-size:15px;
  line-height:1.78;
  color:var(--muted);
}
.pick-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:14px;
}
.pick-card.is-wide{grid-column:1 / -1}

/* ---------- 覆盖范围 ---------- */
.coverage-grid{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);
  gap:32px;
  align-items:start;
}
.coverage-copy{min-width:0}
.coverage-copy h3{
  font-size:18px;
  font-weight:700;
  margin-bottom:10px;
}
.coverage-copy h3:not(:first-child){margin-top:26px}
.coverage-copy p{
  font-size:15.5px;
  line-height:1.82;
  color:var(--muted);
}

.region-wall{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-content:flex-start;
  min-width:0;
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:var(--r-xl);
  box-shadow:var(--shadow-xs);
  padding:22px;
}
.region-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:34px;
  padding:0 13px 0 8px;
  border:1px solid var(--border);
  border-radius:var(--r-pill);
  background:var(--panel-2);
  font-size:13.5px;
  font-weight:500;
  color:var(--text);
  white-space:nowrap;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
}
.region-badge .flag-ic{
  width:20px;
  height:20px;
  box-shadow:none;
}
.region-badge .flag-ic svg{width:20px;height:20px}

/* ---------- 响应式 ---------- */
@media (max-width:1024px){
  .line-type-grid{grid-template-columns:1fr}
  .pick-grid{grid-template-columns:1fr}
  .pick-card.is-wide{grid-column:auto}
  .coverage-grid{grid-template-columns:1fr;gap:24px}
}
@media (max-width:768px){
  .nodes-hero{padding-top:40px;padding-bottom:40px}
  .nodes-hero h1{font-size:clamp(28px,7.4vw,38px)}
  .nodes-lead{font-size:16px}
  .nodes-sub{font-size:18px;margin-top:28px}
  .line-type-card,
  .pick-card{padding:20px}
  .region-wall{padding:16px}
  .nodes-note{font-size:12.5px}
}
@media (prefers-reduced-motion:reduce){
  .pick-card{transition:none}
  .pick-card:hover{transform:none}
}