/* ============================================================
   跨境VPS · 云实例门户 — 深蓝玻璃拟态主题 v2
   ============================================================ */
:root {
  --bg: #0d1120;
  --bg-2: #141a2e;
  --panel: rgba(15, 21, 36, 0.72);
  --panel-solid: #121829;
  --line: rgba(148, 163, 216, 0.14);
  --line-soft: rgba(148, 163, 216, 0.09);
  --text: #f8fafc;
  --text-dim: #9aa8c0;
  --text-faint: #64748b;
  --blue: #3b82f6;
  --blue-bright: #4d8dff;
  --cyan: #22d3ee;
  --teal: #5eead4;
  --violet: #a855f7;
  --green: #34d399;
  --amber: #fbbf24;
  --radius: 14px;
  --nav-h: 72px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background-color: var(--bg-2);
  background-image:
    radial-gradient(110% 65% at 50% -8%, rgba(56, 97, 235, 0.20), rgba(0, 0, 0, 0) 70%),
    radial-gradient(45% 40% at 4% 14%, rgba(124, 93, 250, 0.12), rgba(0, 0, 0, 0) 70%),
    radial-gradient(40% 35% at 97% 18%, rgba(34, 180, 200, 0.07), rgba(0, 0, 0, 0) 70%),
    linear-gradient(rgba(151, 168, 255, 0.055) 1px, rgba(0, 0, 0, 0) 1px),
    linear-gradient(90deg, rgba(151, 168, 255, 0.055) 1px, rgba(0, 0, 0, 0) 1px);
  background-size: auto, auto, auto, 84px 84px, 84px 84px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
body > main { flex: 1 0 auto; width: 100%; }
.portal-footer { flex-shrink: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; }
button { font-family: inherit; cursor: pointer; }

/* ---------------- 通用按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: 10px; cursor: pointer;
  font-size: 13.5px; font-weight: 600; color: #fff;
  padding: 10px 18px; transition: 0.18s; white-space: nowrap;
}
.btn-primary { background: linear-gradient(180deg, #4d8dff, #2f6fe4); box-shadow: 0 4px 18px rgba(59, 130, 246, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-primary:hover { filter: brightness(1.12); transform: translateY(-1px); }
.btn-ghost { background: rgba(148, 163, 216, 0.08); border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { background: rgba(148, 163, 216, 0.16); }
.btn-lg { padding: 12px 24px; font-size: 14px; border-radius: 11px; }
.btn-xl { padding: 15px 28px; font-size: 15px; border-radius: 12px; }
.btn-nav { padding: 8px 17px; font-size: 13.5px; border-radius: 9px; }

/* ---------------- 顶部导航 ---------------- */
.portal-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 26px;
  padding: 0 32px;
  background: rgba(10, 14, 25, 0.8);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148, 163, 216, 0.1);
}
.portal-nav.scrolled { background: rgba(10, 14, 25, 0.94); }
.nav-icon:focus { outline: none; border-color: rgba(77, 141, 255, 0.55); }
.nav-brand img { height: 38px; width: auto; }
.nav-links { display: flex; gap: 34px; margin: 0 auto; }
.nav-links a { font-size: 14px; color: var(--text-dim); font-weight: 500; transition: 0.15s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 15px; flex-shrink: 0; }
.nav-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(148, 163, 216, 0.1); border: 1px solid var(--line);
  color: var(--text-dim); border-radius: 8px; padding: 6px 11px; font-size: 12px;
}
.nav-icon { padding: 7px 9px; }
.nav-login { font-size: 14px; color: var(--text-dim); font-weight: 500; white-space: nowrap; }
.nav-login:hover { color: var(--text); }

/* ---------------- 区块通用 ---------------- */
main { padding-top: var(--nav-h); }
.eyebrow {
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  letter-spacing: 5px; color: var(--teal); text-transform: uppercase;
}
.eyebrow.blue { color: var(--blue-bright); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 40px; padding: 0 20px; }
.section-head h2 { font-size: 36px; font-weight: 800; letter-spacing: 0.5px; margin: 16px 0 16px; }
.section-head h2 .grad-blue { background: linear-gradient(90deg, #60a5fa, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head p { font-size: 14.5px; line-height: 1.8; color: var(--text-dim); }
.grad-blue { color: #4d8dff; }
.grad-purple { background: linear-gradient(100deg, #c084fc, #f472b6); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* 滚动显现 */
.reveal-on-scroll { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-on-scroll.visible { opacity: 1; transform: none; }
.reveal { opacity: 0; transform: translateY(16px); animation: rise 0.8s ease forwards; }
.reveal:nth-child(2) { animation-delay: 0.08s; } .reveal:nth-child(3) { animation-delay: 0.16s; }
.reveal:nth-child(4) { animation-delay: 0.24s; } .reveal:nth-child(5) { animation-delay: 0.32s; }
.reveal:nth-child(6) { animation-delay: 0.4s; } .reveal:nth-child(7) { animation-delay: 0.48s; }
.reveal:nth-child(8) { animation-delay: 0.56s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------------- 英雄区 ---------------- */
.hero-section { position: relative; padding: 32px 20px 70px; }
.hero-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; position: relative; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: #dbe4f3;
  background: rgba(15, 21, 36, 0.85); border: 1px solid rgba(148, 163, 216, 0.22);
  padding: 8px 18px; border-radius: 999px; margin-bottom: 26px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}
.hero-title { font-size: 50px; font-weight: 850; letter-spacing: 0.5px; margin-bottom: 18px; text-align: center; }
.hero-desc { font-size: 15px; color: var(--text-dim); text-align: center; max-width: 500px; line-height: 1.85; margin-bottom: 24px; }
.hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 26px; list-style: none; margin-bottom: 28px; }
.hero-chips li { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-dim); }
.chip-dot { width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid rgba(52, 211, 153, 0.7); position: relative; }
.chip-dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--green); }
.hero-actions { display: flex; gap: 14px; margin-bottom: 18px; }
.hero-sub { font-size: 13px; color: var(--text-faint); display: flex; align-items: center; gap: 12px; }
.online-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--green);
  background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 999px; padding: 4px 12px;
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(52, 211, 153, 0.9); display: inline-block; animation: pulse 2s infinite; }
.live-dot.sm { width: 6px; height: 6px; }
@keyframes pulse { 50% { opacity: 0.4; } }

/* ---------------- 节点卡片舞台（叠压扇形） ---------------- */
.node-stage { position: relative; width: 100%; height: 420px; margin-top: 56px; }
.node-card {
  position: absolute; top: var(--top, 20px); left: var(--left, 50%);
  width: 300px;
  background: linear-gradient(168deg, rgba(23, 30, 48, 0.94), rgba(13, 18, 30, 0.96));
  border: 1px solid rgba(148, 163, 216, 0.2);
  border-radius: 16px;
  padding: 18px 18px 0;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transform: rotate(var(--tilt));
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  backdrop-filter: blur(8px);
  z-index: var(--z, 1);
}
.node-card:hover { transform: rotate(0deg) translateY(-12px) scale(1.03); z-index: 30; box-shadow: 0 44px 84px rgba(0, 0, 0, 0.7); }
.node-card.n1 { --left: 0%;   --tilt: -7deg; --top: 34px; --z: 1; }
.node-card.n2 { --left: 18%;  --tilt: 5deg;  --top: 6px;  --z: 2; }
.node-card.n3 { --left: 36%;  --tilt: -4deg; --top: 22px; --z: 3; }
.node-card.n4 { --left: 54%;  --tilt: 4deg;  --top: 2px;  --z: 4; }
.node-card.n5 { --left: 72%;  --tilt: -6deg; --top: 26px; --z: 5; }
.node-head { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.node-flag { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 1.5px solid rgba(255, 255, 255, 0.25); }
.node-flag img { width: 100%; height: 100%; object-fit: cover; }
.node-id em { display: block; font-style: normal; font-size: 10.5px; color: var(--text-faint); letter-spacing: 0.5px; }
.node-id b { font-size: 16.5px; font-weight: 750; letter-spacing: 0.3px; }
.badge-online { display: inline-block; margin-left: 8px; font-size: 10px; font-weight: 600; color: var(--green); background: rgba(52, 211, 153, 0.12); border: 1px solid rgba(52, 211, 153, 0.4); padding: 2px 9px; border-radius: 999px; vertical-align: 2px; }
.node-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 12px; }
.stat-box {
  border: 1px solid rgba(148, 163, 216, 0.22); border-radius: 9px;
  padding: 8px 10px; background: rgba(11, 15, 25, 0.5);
}
.stat-box em { display: block; font-style: normal; font-size: 8.5px; letter-spacing: 1.4px; color: var(--text-faint); margin-bottom: 4px; }
.stat-box b { font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.node-bw { display: flex; justify-content: space-between; align-items: baseline; font-size: 11px; color: var(--text-faint); margin-bottom: 4px; }
.node-bw span { font-family: var(--mono); font-size: 14px; font-weight: 700; color: #67e8f9; }
.node-spark { width: 100%; height: 56px; display: block; }
.node-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin: 8px -18px 0; padding: 11px 18px;
  border-top: 1px solid rgba(148, 163, 216, 0.12);
  font-size: 11px; color: var(--text-dim);
}
.node-foot span { display: inline-flex; align-items: center; gap: 7px; }
.node-foot b { color: var(--green); font-size: 13px; font-weight: 700; }
.floating-badge {
  position: absolute; z-index: 20;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 600; color: #bae6fd;
  background: rgba(13, 18, 30, 0.92); border: 1px solid rgba(125, 211, 252, 0.3);
  padding: 9px 15px; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: floaty 5s ease-in-out infinite;
}
.badge-left { left: -1%; bottom: 120px; }
.badge-right { right: 0; top: -26px; color: #6ee7b7; border-color: rgba(52, 211, 153, 0.35); animation-delay: 1.2s; }
@keyframes floaty { 50% { transform: translateY(-9px); } }

/* ---------------- 解锁横幅（胶囊 + 文字） ---------------- */
.unlock-row {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  width: 100%; margin-top: 44px;
}
.unlock-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; color: #6ee7b7;
  background: rgba(52, 211, 153, 0.08); border: 1px solid rgba(52, 211, 153, 0.45);
  padding: 10px 20px; border-radius: 999px;
}
.unlock-pill svg { color: var(--green); }
.unlock-text { font-size: 14.5px; color: var(--text-dim); }

/* ---------------- 跑马灯（品牌图标 + 虚线连接） ---------------- */
.logo-marquee {
  width: 100%; margin-top: 26px; overflow: hidden; position: relative;
  background: rgba(13, 18, 30, 0.45);
  border: 1px solid rgba(148, 163, 216, 0.1); border-radius: 18px;
  padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track { position: relative; display: flex; align-items: center; gap: 26px; width: max-content; animation: marquee 30s linear infinite; padding: 0 13px; }
.logo-marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%;
  border-top: 2.5px dashed rgba(45, 212, 191, 0.4);
}
@keyframes marquee { to { transform: translateX(-50%); } }
.mq-item {
  position: relative; display: inline-flex; align-items: center; gap: 13px;
  padding: 15px 30px; font-size: 16px; font-weight: 700; color: #e2e8f0;
  background: #101625; border: 1px solid rgba(148, 163, 216, 0.16); border-radius: 999px;
  white-space: nowrap; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}
.mq-ic { width: 26px; height: 26px; display: grid; place-items: center; }
.mq-ic img { width: 25px; height: 25px; object-fit: contain; }
.mq-ic .mq-dot { width: 14px; height: 14px; border-radius: 4px; background: var(--blue); }
.mq-disney {
  width: 26px; height: 26px; border-radius: 6px; background: #113ccf;
  color: #fff; font-size: 12px; font-weight: 800; font-style: normal;
  display: grid; place-items: center; font-family: var(--font);
}

/* ---------------- 终端窗口 ---------------- */
.terminal-window {
  width: min(860px, 100%); margin: 44px auto 0;
  background: rgba(8, 11, 18, 0.94);
  border: 1px solid rgba(148, 163, 216, 0.16);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.55);
}
.term-head { position: relative; display: flex; align-items: center; gap: 7px; padding: 12px 15px; background: rgba(21, 27, 40, 0.9); border-bottom: 1px solid rgba(148, 163, 216, 0.1); }
.t-dot { width: 11.5px; height: 11.5px; border-radius: 50%; }
.t-dot.red { background: #ff5f57; } .t-dot.yellow { background: #febc2e; } .t-dot.green { background: #28c840; }
.term-title { position: absolute; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 12px; color: var(--text-faint); }
.term-body {
  padding: 20px 24px 24px; min-height: 360px;
  font-family: var(--mono); font-size: 13px; line-height: 1.9;
  color: #cbd5e1; white-space: pre-wrap;
}
.term-body .c-green { color: #4ade80; } .term-body .c-cyan { color: #67e8f9; }
.term-body .c-amber { color: var(--amber); } .term-body .c-blue { color: #7dd3fc; }
.term-body .c-dim { color: var(--text-faint); } .term-body .c-prompt { color: #7dd3fc; font-weight: 600; }
.term-body .c-cmd { color: #e2e8f0; }
.term-cursor { display: inline-block; width: 8px; height: 15px; background: #e2e8f0; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------------- 套餐目录 ---------------- */
.plans-section { padding: 110px 20px 80px; position: relative; }
.plans-section::before {
  content: ""; position: absolute; inset: 70px 0 auto 0; height: 320px;
  background: radial-gradient(60% 100% at 50% 0%, rgba(56, 97, 235, 0.08), transparent 70%);
  pointer-events: none;
}
.plan-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 11px; max-width: 1150px; margin: 0 auto 28px; }
.plan-tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; font-size: 13px; font-weight: 500; color: var(--text-dim);
  background: rgba(15, 21, 36, 0.6); border: 1px solid var(--line); border-radius: 999px;
  transition: 0.15s;
}
.plan-tab:hover { color: var(--text); border-color: rgba(148, 163, 216, 0.32); }
.plan-tab.active { color: #6ee7b7; border-color: rgba(52, 211, 153, 0.55); background: rgba(52, 211, 153, 0.08); }
.plan-tab .flag { width: 17px; height: 12px; object-fit: cover; border-radius: 2.5px; }
.plan-tab .flag-globe { color: var(--text-dim); }
.plan-table-wrap {
  max-width: 1150px; margin: 0 auto;
  background: rgba(13, 18, 30, 0.55);
  border: 1px solid var(--line-soft); border-radius: 16px; overflow: hidden;
}
.plan-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.plan-table th {
  text-align: left; font-size: 12.5px; font-weight: 600; color: var(--text-dim);
  padding: 15px 20px; background: rgba(21, 27, 40, 0.85); border-bottom: 1px solid var(--line-soft);
}
.plan-table td { padding: 19px 20px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.plan-table tbody tr { transition: 0.12s; }
.plan-table tbody tr:hover { background: rgba(148, 163, 216, 0.05); }
.plan-table tbody tr:last-child td { border-bottom: none; }
.col-plan { width: 32%; }
.plan-name { font-weight: 700; font-size: 15px; letter-spacing: 0.2px; }
.plan-region { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text-faint); margin-top: 6px; }
.plan-region .flag { width: 15px; height: 11px; object-fit: cover; border-radius: 2px; }
.plan-net b { display: block; font-weight: 600; color: var(--text); }
.plan-net span { font-size: 12px; color: var(--text-faint); }
.plan-price { font-size: 20px; font-weight: 800; color: #7dd3fc; }
.plan-price i { font-style: normal; font-size: 11.5px; color: var(--text-faint); font-weight: 500; }
.btn-provision { padding: 9px 16px; font-size: 13px; background: rgba(148, 163, 216, 0.09); border: 1px solid var(--line); color: var(--text); border-radius: 9px; }
.btn-provision:hover { border-color: rgba(77, 141, 255, 0.5); color: #9cc3ff; }
.plan-more { text-align: center; margin-top: 30px; }
.plan-count { font-size: 12.5px; color: var(--text-faint); margin: 16px 0 24px; }
.plan-count b { color: var(--text-dim); }
.plan-note { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-faint); }

/* ---------------- 世界地图 ---------------- */
.map-section { padding: 110px 20px 70px; position: relative; }
.map-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(75% 60% at 50% 55%, rgba(56, 97, 235, 0.09), transparent 75%); pointer-events: none; }
.map-section .section-head {
  max-width: 1330px; background: rgba(13, 19, 34, 0.55);
  border-radius: 14px; padding: 40px 40px 34px; margin-bottom: 40px;
}
.world-map-wrap { max-width: 1000px; margin: 0 auto; position: relative; }
.world-map { position: relative; aspect-ratio: 1010 / 666; }
.world-map img { width: 100%; height: 100%; object-fit: contain; user-select: none; }
.map-marker { position: absolute; left: var(--x); top: var(--y); width: 7px; height: 7px; }
.map-marker::before {
  content: ""; position: absolute; inset: -2px; border-radius: 50%;
  background: radial-gradient(circle, #7df3ff 0%, #22d3ee 55%, rgba(34,211,238,0) 75%);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.75);
  cursor: pointer;
}
.map-marker:hover::before { background: radial-gradient(circle, #cffaff 0%, #67e8f9 55%, rgba(103,232,249,0) 75%); }
.map-stats { display: flex; justify-content: center; gap: 50px; margin-top: 10px; }
.map-stats div { display: flex; align-items: baseline; gap: 10px; }
.map-stats b { font-size: 22px; font-weight: 800; }
.map-stats span { font-size: 13px; color: var(--text-faint); }


.map-tip {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%) translateY(4px);
  min-width: 158px; padding: 11px 14px 9px;
  background: rgba(13, 19, 33, 0.96); border: 1px solid rgba(148, 163, 216, 0.25);
  border-radius: 10px; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55);
  opacity: 0; pointer-events: none; transition: 0.18s; z-index: 20;
  white-space: nowrap;
}
.map-marker:hover .map-tip { opacity: 1; transform: translateX(-50%) translateY(0); }
.mt-head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #f1f5fb; padding-bottom: 7px; border-bottom: 1px solid rgba(148, 163, 216, 0.15); margin-bottom: 6px; }
.mt-head img { width: 20px; height: 14px; object-fit: cover; border-radius: 2.5px; }
.mt-row { display: flex; justify-content: space-between; align-items: center; gap: 26px; font-size: 12px; color: #b9c6da; padding: 3px 0; }
.mt-row b { color: #67e8f9; font-weight: 700; font-family: var(--mono); }

/* ---------------- 三列特性（左标题 + 右描述头部） ---------------- */
.benefits-section { padding: 110px 20px 100px; background: rgba(10, 14, 24, 0.55); }
.benefit-head {
  max-width: 1780px; margin: 0 auto 20px; padding: 10px 34px 44px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 60px;
}
.bh-left .eyebrow { margin-bottom: 20px; }
.bh-left h2 { font-size: 44px; font-weight: 800; letter-spacing: 0.5px; }
.bh-right { max-width: 500px; font-size: 14.5px; line-height: 1.85; color: var(--text-dim); padding-bottom: 6px; }
.benefit-grid {
  max-width: 1780px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-soft);
}
.benefit { padding: 58px 62px 78px; border-right: 1px solid var(--line-soft); position: relative; }
.benefit:last-child { border-right: none; }
.benefit-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 96px; }
.benefit-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(59, 130, 246, 0.1); border: 1px solid rgba(59, 130, 246, 0.25);
  display: grid; place-items: center;
}
.benefit-num { font-size: 34px; font-weight: 800; color: rgba(148, 163, 216, 0.32); font-style: italic; }
.benefit h3 { font-size: 21px; font-weight: 750; margin-bottom: 16px; }
.benefit p { font-size: 14.5px; line-height: 1.9; color: var(--text-dim); }
.benefit-tag { font-family: var(--mono); font-size: 11px; letter-spacing: 2.5px; color: #5eead4; margin-top: 46px; }

/* ---------------- 收尾 CTA ---------------- */
.closing-section { padding: 190px 20px 210px; position: relative; overflow: hidden; background: rgba(13, 18, 30, 0.5); }
.closing-section::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(rgba(151, 168, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(151, 168, 255, 0.045) 1px, transparent 1px);
  background-size: 90px 90px;
  -webkit-mask-image: radial-gradient(70% 90% at 50% 50%, transparent 30%, #000 100%);
  mask-image: radial-gradient(70% 90% at 50% 50%, transparent 30%, #000 100%);
}
.closing-inner { max-width: 1780px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; padding: 0 34px; }
.closing-copy .eyebrow { margin-bottom: 20px; }
.closing-copy h2 { font-size: 56px; font-weight: 850; margin-bottom: 20px; letter-spacing: 0.5px; }
.closing-copy p { font-size: 15px; color: var(--text-dim); }
.closing-actions { display: flex; flex-direction: column; gap: 13px; min-width: 260px; }
.closing-actions .btn { justify-content: space-between; padding: 17px 26px; }
.closing-actions .btn-ghost { justify-content: flex-start; position: relative; }
.closing-actions .btn-ghost svg { position: absolute; right: 20px; opacity: 0.7; }

/* ---------------- 页脚 ---------------- */
.portal-footer { border-top: 1px solid var(--line-soft); background: rgba(10, 14, 25, 0.88); }
.footer-inner {
  max-width: 1780px; margin: 0 auto; padding: 22px 34px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.footer-brand img { height: 30px; width: auto; }
.footer-inner p { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-faint); }
.footer-inner p svg { color: var(--green); }
.footer-copy { font-size: 12.5px; color: var(--text-faint); }

/* ============================================================
   子页面通用（创建实例 / 登录注册）
   ============================================================ */
.page-hero { padding: 90px 20px 40px; text-align: center; }
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 { font-size: 42px; font-weight: 850; margin-bottom: 14px; }
.page-hero p { font-size: 15px; color: var(--text-dim); }
.page-shell { max-width: 1150px; margin: 0 auto; padding: 0 20px 90px; }

/* ---------------- 创建实例 ---------------- */
.create-grid { display: grid; grid-template-columns: 1fr 330px; gap: 26px; align-items: start; }
.create-step { margin-bottom: 34px; }
.step-title { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 700; margin-bottom: 16px; }
.step-no {
  width: 26px; height: 26px; border-radius: 8px; font-size: 12.5px; font-weight: 700;
  background: rgba(59, 130, 246, 0.14); border: 1px solid rgba(59, 130, 246, 0.35); color: #9cc3ff;
  display: grid; place-items: center;
}
.region-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.region-card {
  display: flex; align-items: center; gap: 11px; cursor: pointer;
  background: rgba(15, 21, 36, 0.6); border: 1.5px solid var(--line); border-radius: 13px;
  padding: 13px 15px; transition: 0.15s; text-align: left; color: var(--text);
}
.region-card:hover { border-color: rgba(148, 163, 216, 0.4); }
.region-card.sel { border-color: var(--blue); background: rgba(59, 130, 246, 0.1); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15); }
.region-card img { width: 26px; height: 19px; object-fit: cover; border-radius: 3.5px; }
.region-card b { display: block; font-size: 13.5px; }
.region-card i { font-style: normal; font-size: 11px; color: var(--text-faint); }
.plan-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.plan-card {
  cursor: pointer; text-align: left;
  background: rgba(15, 21, 36, 0.6); border: 1.5px solid var(--line); border-radius: 14px;
  padding: 16px 17px; transition: 0.15s; color: var(--text);
}
.plan-card:hover { border-color: rgba(148, 163, 216, 0.4); }
.plan-card.sel { border-color: var(--blue); background: rgba(59, 130, 246, 0.1); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15); }
.plan-card b { display: block; font-size: 14.5px; margin-bottom: 10px; }
.plan-card .pc-row { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-dim); padding: 4.5px 0; border-bottom: 1px dashed var(--line-soft); }
.plan-card .pc-row:last-of-type { border-bottom: none; }
.plan-card .pc-price { margin-top: 10px; font-size: 20px; font-weight: 800; color: #7dd3fc; }
.plan-card .pc-price i { font-style: normal; font-size: 11px; color: var(--text-faint); font-weight: 500; }
.plan-desc { font-size: 11px; color: var(--text-faint); margin-top: 3px; line-height: 1.5; max-width: 420px; }
/* 选择卡片（实例类型 / 开通时长等） */
.pick-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }.pick-card { position: relative; display: flex; align-items: center; gap: 12px; text-align: left;
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px;
  background: rgba(148, 163, 216, 0.05); color: var(--text); cursor: pointer; transition: 0.13s; }
.pick-card:hover { border-color: rgba(148, 163, 216, 0.4); }
.pick-card.sel { border-color: var(--blue); background: rgba(59, 130, 246, 0.1); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15); }
.pick-card .pc-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(59, 130, 246, 0.14); color: #7dd3fc; flex-shrink: 0; }
.pick-card .pc-txt { flex: 1; min-width: 0; }
.pick-card .pc-txt b { display: block; font-size: 13.5px; }
.pick-card .pc-txt i { font-style: normal; font-size: 11px; color: var(--text-faint); }
.pick-card .pc-check { position: absolute; top: 10px; right: 12px; font-style: normal; font-size: 11px; font-weight: 700;
  color: #7dd3fc; opacity: 0; transform: scale(0.6); transition: 0.15s; }
.pick-card.sel .pc-check { opacity: 1; transform: scale(1); }
.pick-card .pc-txt b { margin-right: 18px; }
/* 系统镜像卡（版本下拉内嵌在卡内） */
.os-card { position: relative; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 12px 13px; background: rgba(15, 21, 36, 0.6); cursor: pointer; transition: 0.13s; }
.os-card:hover { border-color: rgba(148, 163, 216, 0.4); }
.os-card.sel { border-color: var(--blue); background: rgba(59, 130, 246, 0.08); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15); }
.os-head { display: flex; align-items: center; gap: 11px; cursor: pointer; }
.os-card { cursor: pointer; }
.os-card .ver-dd { cursor: default; }
.os-head img, .os-head .os-dot { width: 28px; height: 28px; border-radius: 50%; object-fit: contain; flex-shrink: 0; }
.os-head .os-dot { display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 12px; }
.os-head span { flex: 1; min-width: 0; }
.os-head b { display: block; font-size: 13.5px; }
.os-head i { font-style: normal; font-size: 11px; color: var(--text-faint); display: block; margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.os-card .ver-dd { position: relative; margin-top: 10px; }
.os-card .ver-btn { width: 100%; justify-content: space-between; }
.os-card .ver-list { z-index: 30; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: 12.5px; color: var(--text-dim); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; background: rgba(11, 15, 25, 0.7); border: 1.5px solid var(--line);
  border-radius: 10px; padding: 11px 14px; font-size: 13.5px; color: var(--text); outline: none;
  font-family: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); }
.field textarea { min-height: 84px; resize: vertical; font-family: var(--mono); font-size: 12px; }
.summary-card {
  position: sticky; top: calc(var(--nav-h) + 20px);
  background: rgba(15, 21, 36, 0.75); border: 1px solid var(--line); border-radius: 16px;
  padding: 22px;
}
.summary-card h3 { font-size: 16px; margin-bottom: 16px; }
.sum-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-dim); padding: 8px 0; border-bottom: 1px dashed var(--line-soft); }
.sum-row b { color: var(--text); font-weight: 600; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0 18px; }
.sum-total b { font-size: 26px; font-weight: 800; color: #7dd3fc; }
.sum-total i { font-style: normal; font-size: 12px; color: var(--text-faint); }
.summary-card .btn { width: 100%; justify-content: center; padding: 13px; font-size: 14.5px; }
.sum-tip { text-align: center; font-size: 11.5px; color: var(--text-faint); margin-top: 12px; }

/* ---------------- 登录 / 注册 ---------------- */
.auth-wrap { min-height: calc(100vh - var(--nav-h) - 100px); display: flex; align-items: center; justify-content: center; padding: 60px 20px 100px; }
.auth-card {
  width: min(430px, 94vw);
  background: rgba(15, 21, 36, 0.8); border: 1px solid rgba(148, 163, 216, 0.18);
  border-radius: 18px; padding: 34px 34px 30px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}
.auth-card .auth-logo { display: flex; justify-content: center; margin-bottom: 20px; }
.auth-card .auth-logo img { height: 44px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; background: rgba(11, 15, 25, 0.7); border: 1px solid var(--line); border-radius: 11px; padding: 4px; margin-bottom: 22px; }
.auth-tab { border: none; background: none; color: var(--text-dim); font-size: 13.5px; font-weight: 600; padding: 9px; border-radius: 8px; transition: 0.15s; }
.auth-tab.on { background: linear-gradient(180deg, #4d8dff, #2f6fe4); color: #fff; box-shadow: 0 3px 12px rgba(59, 130, 246, 0.35); }
.auth-field { margin-bottom: 15px; }
.auth-field label { display: block; font-size: 12.5px; color: var(--text-dim); margin-bottom: 7px; }
.auth-field input {
  width: 100%; background: rgba(11, 15, 25, 0.7); border: 1.5px solid var(--line);
  border-radius: 10px; padding: 12px 14px; font-size: 14px; color: var(--text); outline: none;
}
.auth-field input:focus { border-color: var(--blue); }
.auth-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--text-faint); margin: 4px 0 18px; }
.auth-meta a { color: #9cc3ff; }
.auth-card .btn-submit { width: 100%; padding: 13px; font-size: 15px; border-radius: 11px; }
.auth-alt { text-align: center; font-size: 13px; color: var(--text-faint); margin-top: 18px; }
.auth-alt a { color: #9cc3ff; font-weight: 600; }
.auth-tip { text-align: center; font-size: 11.5px; color: var(--text-faint); margin-top: 14px; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .nav-links { gap: 18px; }
  .bh-right { max-width: 380px; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .hero-title { font-size: 34px; }
  .node-stage { height: 340px; max-width: 430px; margin: 46px auto 0; }
  .node-card { width: 240px; padding: 14px 14px 0; }
  .node-card.n1 { --left: -8%; --tilt: -7deg; --top: 44px; }
  .node-card.n2 { --left: 6%;  --tilt: 5deg;  --top: 10px; }
  .node-card.n3 { --left: 20%; --tilt: -4deg; --top: 30px; }
  .node-card.n4 { --left: 34%; --tilt: 4deg;  --top: 6px;  }
  .node-card.n5 { --left: 48%; --tilt: -6deg; --top: 38px; }
  .node-title { font-size: 14.5px; }
  .node-stats { gap: 6px; }
  .stat-box b { font-size: 12px; white-space: normal; }
  .floating-badge { font-size: 11px; padding: 7px 12px; }
  .floating-badge.badge-left { left: -2%; bottom: 40px; }
  .floating-badge.badge-right { right: -2%; top: -14px; }
  .benefit-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .bh-left h2 { font-size: 30px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit { border-right: none; border-bottom: 1px solid var(--line-soft); }
  .closing-inner { flex-direction: column; align-items: flex-start; }
  .closing-copy h2 { font-size: 33px; }
  .section-head h2 { font-size: 27px; }
  .plan-table-wrap { overflow-x: auto; }
  .plan-table { min-width: 780px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .region-cards { grid-template-columns: 1fr 1fr; }
  .plan-cards { grid-template-columns: 1fr; }
  .create-grid { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .field-grid { grid-template-columns: 1fr; }
}

/* ---------------- 语言下拉菜单 ---------------- */
.lang-wrap { position: relative; }
.lang-menu {
  position: absolute; top: calc(100% + 12px); right: 0; z-index: 200;
  min-width: 190px; padding: 7px;
  background: rgba(15, 21, 36, 0.97); border: 1px solid rgba(148, 163, 216, 0.22);
  border-radius: 13px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  display: none; backdrop-filter: blur(10px);
}
.lang-menu.open { display: block; animation: rise 0.18s ease; }
.lang-item {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: 100%; border: none; background: none; cursor: pointer;
  color: var(--text-dim); font-size: 14px; font-weight: 600;
  padding: 11px 13px; border-radius: 9px; transition: 0.12s;
}
.lang-item:hover { background: rgba(148, 163, 216, 0.08); color: var(--text); }
.lang-item.on { color: var(--teal); background: rgba(94, 234, 212, 0.07); }
.lang-item .chk { opacity: 0; color: var(--blue-bright); }
.lang-item.on .chk { opacity: 1; }

/* ---------------- 品牌 logo 明暗适配 ---------------- */
.logo-dark { display: none; }
html[data-theme="light"] .logo-dark { display: block; }
html[data-theme="light"] .logo-light { display: none; }

html[data-theme="light"] .portal-nav.scrolled { background: rgba(255, 255, 255, 0.95); }

/* ---------------- 手机端英雄区（对齐原站移动布局） ---------------- */
@media (max-width: 640px) {
  .hero-section { padding-top: 26px; }
  .hero-badge { font-size: 12px; padding: 7px 14px; margin-bottom: 22px; }
  .hero-title { font-size: 38px; }
  .hero-desc { font-size: 13.5px; max-width: 92%; }
  .hero-chips { flex-direction: column; align-items: center; gap: 14px; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 340px; margin-left: auto; margin-right: auto; }
  .hero-actions .btn { width: 100%; padding: 13px; }
  .node-stage { max-width: 360px; height: 300px; margin-top: 36px; }
  .node-card { width: 218px; }
  .node-card.n5 { --left: 52%; }
  .map-stats { gap: 28px; }
}

/* ---- 主机操作忙碌态 / NAT / 弹窗 ---- */
.pw-btn:disabled { opacity: .45; cursor: wait; }
.hd-prog { display: none; align-items: center; gap: 10px; margin-top: 14px; }
.hd-prog.show { display: flex; }
.hd-prog .spin { width: 14px; height: 14px; border: 2px solid rgba(148,163,216,.3);
  border-top-color: #22d3ee; border-radius: 50%; animation: spin .8s linear infinite; flex-shrink: 0; }
@keyframes spin { to { transform: rotate(360deg) } }
.hd-prog .txt { font-size: 12.5px; color: #7dd3fc; }
.nat-add { display: grid; grid-template-columns: 96px 1fr 1fr auto; gap: 10px; align-items: end; margin-top: 12px; }
.nat-add .field label { font-size: 11.5px; }
.nat-row { display: flex; align-items: center; gap: 12px; padding: 10px 4px;
  border-bottom: 1px dashed var(--line-soft); font-size: 13px; }
.nat-row .proto { font-family: var(--mono); font-weight: 700; color: #5eead4; width: 44px; }
.nat-row .ports { font-family: var(--mono); color: var(--text); }
.nat-row .arrow { color: var(--text-faint); }
.nat-row button { margin-left: auto; }
.nat-empty { text-align: center; color: var(--text-faint); font-size: 12.5px; padding: 14px 0; }
.m-wrap { position: fixed; inset: 0; background: rgba(4, 7, 14, 0.62); z-index: 400;
  display: grid; place-items: center; backdrop-filter: blur(3px); }
.m-box { width: min(430px, 92vw); background: var(--panel-solid); border: 1px solid var(--line);
  border-radius: 16px; padding: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.5);
  animation: rise .2s ease; }
.m-box h4 { font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.m-btns { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.m-field > label { display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; font-weight: 600; color: var(--text-dim); margin-bottom: 9px; }
.m-count { font-family: var(--mono); font-size: 11px; color: var(--text-faint); font-weight: 500; }
.m-input-wrap { display: flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--line); border-radius: 11px; padding: 0 14px;
  background: rgba(11, 15, 25, 0.5); transition: border-color .13s, box-shadow .13s; }
.m-input-wrap:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15); }
.m-input-wrap > svg { color: var(--text-faint); flex-shrink: 0; }
.m-input { flex: 1; min-width: 0; border: none; outline: none; background: none;
  color: var(--text); font-size: 14px; padding: 13px 0; font-family: var(--mono); }
.m-input::placeholder { color: var(--text-faint); }
.m-hint { font-size: 11.5px; color: var(--text-faint); margin-top: 9px; line-height: 1.6; }
.m-warn { font-size: 12px; color: var(--amber); background: rgba(251,191,36,.08);
  border: 1px solid rgba(251,191,36,.3); border-radius: 9px; padding: 8px 12px; margin-bottom: 12px; }

/* ---- VNC 控制台 ---- */
.vnc-status { font-size: 12px; color: var(--text-faint); white-space: nowrap; }
.vnc-status.on { color: var(--green); }
.vnc-status.busy { color: var(--amber); }
.vnc-screen { background: #04060b; border: 1px solid var(--line-soft); border-radius: 12px;
  min-height: 300px; max-height: 460px; overflow-y: auto; padding: 16px 18px;
  font-family: var(--mono); font-size: 12.5px; color: #c9d4e5; outline: none; cursor: text; }
.vnc-screen.vnc-focus { border-color: rgba(59, 130, 246, 0.5); }
.vnc-line { white-space: pre-wrap; line-height: 1.8; word-break: break-all; }
.vnc-line.dim { color: var(--text-faint); }
.vnc-line.ok { color: #4ade80; }
.vnc-hint { color: var(--text-faint); }
.vnc-prompt { display: flex; align-items: center; }
.vnc-prompt .pfx { color: #34d399; margin-right: 8px; white-space: nowrap; }
.vnc-prompt input { flex: 1; background: none; border: none; outline: none;
  color: #e2e8f0; font-family: var(--mono); font-size: 12.5px; min-width: 40px; }
html[data-theme="light"] .vnc-screen { border-color: var(--line); }

html[data-theme="light"] .af-agree { color: var(--text-dim); }
html[data-theme="light"] .af-agree a { color: #2f6fe4; }
html[data-theme="light"] .m-warn { color: #b45309; background: rgba(217, 119, 6, 0.08); border-color: rgba(217, 119, 6, 0.35); }

.m-box .field { margin-bottom: 4px; }
.m-box .field label { font-size: 12.5px; color: var(--text-dim); display: block; margin-bottom: 9px; }
.os-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.os-opt { display: flex; align-items: center; gap: 10px; text-align: left;
  border: 1.5px solid var(--line); border-radius: 11px; padding: 11px 13px;
  background: rgba(148,163,216,.05); color: var(--text); cursor: pointer; transition: .12s; }
.os-opt:hover { border-color: rgba(148,163,216,.4); }
.os-opt.sel { border-color: var(--blue); background: rgba(59,130,246,.09); box-shadow: 0 0 0 3px rgba(59,130,246,.13); }
.os-opt img { width: 21px; height: 21px; flex-shrink: 0; }
.os-opt b { display: block; font-size: 13px; }
.os-opt i { font-style: normal; font-size: 10.5px; color: var(--text-faint); display: block; }
.os-dot { width: 21px; height: 21px; border-radius: 6px; color: #fff; font-weight: 800;
  display: grid; place-items: center; font-size: 11px; flex-shrink: 0; }
.m-agree { display: flex; align-items: center; gap: 9px; margin-top: 16px;
  padding: 12px 14px; border-radius: 10px; background: rgba(148,163,216,.06);
  cursor: pointer; font-size: 13px; color: var(--text); }
.m-agree input { width: 16px; height: 16px; accent-color: #e24c4b; cursor: pointer; flex-shrink: 0; }
.m-agree:has(input:checked) { border: 1px solid rgba(226, 76, 75, 0.35); background: rgba(226, 76, 75, 0.05); }
html[data-theme="light"] .m-box .field label { color: var(--text-dim); }

/* ---- 页脚美化 ---- */
.portal-footer { position: relative; border-top: none; background: rgba(10, 14, 25, 0.88); }
.portal-footer::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(77, 141, 255, 0.55), rgba(168, 85, 247, 0.55), transparent); }
.footer-links { display: flex; gap: 22px; align-items: center; }
.footer-links a { font-size: 12.5px; color: var(--text-faint); }
.footer-links a:hover { color: var(--text); }
.footer-status { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--text-dim); }
.footer-status .live-dot { width: 7px; height: 7px; }

/* ---- 我的主机卡片 ---- */
.hcard-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 15px; }
.hcard { background: linear-gradient(168deg, rgba(23, 30, 48, 0.6), rgba(15, 21, 36, 0.75));
  border: 1px solid var(--line); border-radius: 16px; padding: 17px 18px 15px; transition: .18s; }
.hcard:hover { border-color: rgba(77, 141, 255, 0.45); transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35); }
.hc-top { display: flex; align-items: center; gap: 11px; margin-bottom: 13px; }
.hc-flag { width: 34px; height: 25px; object-fit: cover; border-radius: 6px; flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.18); }
.hc-name { flex: 1; min-width: 0; }
.hc-name b { display: block; font-size: 15px; font-weight: 750; }
.hc-name i { font-style: normal; font-size: 11px; color: var(--text-faint);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.hc-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin-bottom: 13px; }
.hc-rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  font-size: 12px; color: var(--text-faint); border-bottom: 1px dashed var(--line-soft); padding: 5px 0; }
.hc-rows em { font-style: normal; }
.hc-rows b { font-weight: 600; color: var(--text); font-family: var(--mono); font-size: 12px; text-align: right; }
.hc-rows b.price { color: #7dd3fc; }
.hc-btns { display: flex; gap: 9px; margin-top: 12px; }
.hc-btns button { flex: 1; }
.hcard.mini { padding: 14px 15px 12px; }
.hcard.mini .hc-rows { grid-template-columns: 1fr 1fr; margin-bottom: 10px; }

/* ---- 代理服务 ---- */
.proxy-banner { display: flex; gap: 14px; align-items: center; background: linear-gradient(120deg,
  rgba(59, 130, 246, 0.12), rgba(168, 85, 247, 0.10)); border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 14px; padding: 16px 20px; margin-bottom: 18px; }
.proxy-banner .pb-ic { width: 46px; height: 46px; border-radius: 13px; background: rgba(99, 102, 241, 0.18);
  display: grid; place-items: center; color: #a5b4fc; flex-shrink: 0; }
.proxy-banner b { display: block; font-size: 15px; margin-bottom: 3px; }
.proxy-banner .stat-line { font-size: 12.5px; }
.proxy-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.proxy-card { background: linear-gradient(168deg, rgba(23, 30, 48, 0.6), rgba(15, 21, 36, 0.75));
  border: 1px solid var(--line); border-radius: 16px; padding: 18px; transition: .18s; }
.proxy-card:hover { border-color: rgba(77, 141, 255, 0.45); transform: translateY(-3px); }
.proxy-card.off { opacity: 0.55; }
.pxc-top { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; }
.pxc-top img { width: 30px; height: 22px; object-fit: cover; border-radius: 5px; }
.pxc-top b { font-size: 14.5px; }
.pxc-rows { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.pxc-row { display: flex; justify-content: space-between; align-items: center; gap: 10px;
  font-size: 12px; color: var(--text-dim); background: rgba(148, 163, 216, 0.06);
  border-radius: 8px; padding: 7px 11px; }
.pxc-row .mono { font-family: var(--mono); color: var(--text); cursor: pointer; }
.pxc-row .mono:hover { color: #7dd3fc; }
.pxc-btns { display: flex; gap: 9px; }
.pxc-btns button { flex: 1; }
/* 折扣 */
.disc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.disc-card { position: relative; border-radius: 16px; padding: 20px 18px; overflow: hidden;
  border: 1px solid var(--line); background: linear-gradient(160deg, rgba(30, 41, 66, 0.8), rgba(15, 21, 36, 0.9)); }
.disc-card.hot { border-color: rgba(232, 121, 249, 0.45); }
.disc-card .dc-tag { position: absolute; top: 12px; right: 12px; font-size: 10.5px; font-weight: 700;
  color: #f0abfc; background: rgba(217, 70, 239, 0.15); border: 1px solid rgba(217, 70, 239, 0.4);
  border-radius: 999px; padding: 2px 9px; }
.disc-card h4 { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.disc-card .dc-big { font-size: 30px; font-weight: 850; margin: 8px 0 2px;
  background: linear-gradient(90deg, #7dd3fc, #c084fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.disc-card .dc-big small { font-size: 13px; }
.disc-card .stat-line { font-size: 12px; margin-bottom: 14px; }
.disc-card .btn { width: 100%; justify-content: center; }
.dc-got { color: var(--green); font-weight: 700; text-align: center; display: block; padding: 11px 0; }
.disc-code-row { display: flex; gap: 10px; margin-bottom: 16px; }
.disc-code-row input { flex: 1; background: rgba(11, 15, 25, 0.7); border: 1.5px solid var(--line);
  border-radius: 10px; padding: 11px 14px; font-size: 13.5px; color: var(--text); outline: none; }
.disc-code-row input:focus { border-color: var(--blue); }
.my-disc { display: flex; align-items: center; gap: 12px; padding: 11px 14px; margin-bottom: 8px;
  border: 1px dashed rgba(77, 141, 255, 0.4); border-radius: 11px; background: rgba(59, 130, 246, 0.05); }
.my-disc b { color: #7dd3fc; font-family: var(--mono); }
.my-disc span { font-size: 12px; color: var(--text-dim); }
.my-disc .exp { margin-left: auto; font-size: 11px; color: var(--text-faint); }

/* ---- 重装系统版本下拉 ---- */
.ver-dd { position: relative; }
.ver-btn { display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%; background: rgba(148, 163, 216, 0.07); border: 1.5px solid var(--line);
  border-radius: 10px; padding: 12px 14px; font-size: 13.5px; color: var(--text); cursor: pointer; }
.ver-btn:hover { border-color: rgba(148, 163, 216, 0.4); }
.ver-btn b { font-weight: 600; }
.ver-list { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 60;
  background: var(--panel-solid); border: 1px solid var(--line); border-radius: 11px;
  padding: 6px; box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5); max-height: 190px; overflow-y: auto; }
.ver-item { display: block; width: 100%; text-align: left; border: none; background: none;
  color: var(--text-dim); font-size: 13px; padding: 9px 12px; border-radius: 8px; cursor: pointer; }
.ver-item:hover { background: rgba(148, 163, 216, 0.1); color: var(--text); }
.ver-item.sel { color: #7dd3fc; background: rgba(59, 130, 246, 0.08); }
html[data-theme="light"] .ver-list { background: #fff; }
html[data-theme="light"] .ver-btn { background: #fff; }
