/* 163.COM.HK Redesign — Enterprise / Architectural */
:root {
  --ink: #12151c;
  --ink-soft: #2a3140;
  --muted: #667085;
  --line: #e6e8ee;
  --surface: #ffffff;
  --bg: #f3f4f7;
  --bg-tint: #e9edf2;
  /* 墨蓝：深沉冷调，偏高端企业感 */
  --accent: #1a3a5c;
  --accent-dark: #102638;
  --accent-soft: #e8eef5;
  --accent-muted: #9eb6d0;
  --copper: #9a6840;
  --hero: #0c1017;
  --success: #1a7a4c;
  --warn: #b45309;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(18, 21, 28, 0.04), 0 8px 24px rgba(18, 21, 28, 0.06);
  --shadow-lg: 0 12px 40px rgba(18, 21, 28, 0.12);
  --font: "Figtree", "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: "Outfit", "Figtree", "PingFang SC", sans-serif;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, .btn { cursor: pointer; font-family: inherit; }
::selection { background: var(--accent-soft); color: var(--ink); }

.container { width: min(100% - 48px, var(--max)); margin-inline: auto; }

/* —— Top bar —— */
.topbar {
  background: var(--hero);
  color: rgba(255,255,255,.72);
  font-size: 12.5px;
  letter-spacing: .02em;
}
.topbar .inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 36px; gap: 16px;
}
.topbar a:hover { color: #fff; }
.topbar .links { display: flex; gap: 18px; align-items: center; }
.topbar .dot { opacity: .35; }

/* —— Header —— */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: 1.15rem;
  letter-spacing: -.02em; color: var(--ink);
  flex-shrink: 0;
}
.brand-logo-img {
  height: 28px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
  border-radius: 6px;
}
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(145deg, #2a5680 0%, var(--accent-dark) 100%);
  color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800;
}
.hide-sm { display: inline-flex; }
.menu { display: flex; align-items: center; gap: 4px; }
.menu a {
  padding: 8px 12px; border-radius: 8px; font-size: 14.5px; font-weight: 500;
  color: var(--ink-soft); transition: background .2s, color .2s;
}
.menu a:hover, .menu a.is-active { background: var(--bg-tint); color: var(--ink); }
.menu a.is-active { font-weight: 650; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; border: 1px solid var(--line); background: #fff;
  width: 40px; height: 40px; border-radius: 10px; align-items: center; justify-content: center;
}

/* —— Buttons —— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 10px; font-size: 14.5px; font-weight: 600;
  border: 1px solid transparent; transition: transform .15s, background .2s, box-shadow .2s, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); box-shadow: 0 8px 20px rgba(26,58,92,.32); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--bg); }
.btn-copper { background: var(--copper); color: #fff; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13.5px; }
.btn-lg { height: 48px; padding: 0 22px; font-size: 15px; }

/* —— Hero —— */
.hero {
  position: relative; overflow: hidden;
  background: var(--hero); color: #fff;
  min-height: min(72vh, 640px);
  display: flex; align-items: stretch;
}
.hero-media {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(12,16,23,.94) 0%, rgba(12,16,23,.78) 42%, rgba(12,16,23,.35) 100%),
    linear-gradient(0deg, rgba(12,16,23,.55), transparent 45%);
}
.hero-body {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr; gap: 40px;
  align-items: center; padding: 72px 0 64px;
  max-width: 780px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-muted); margin-bottom: 18px;
}
.eyebrow .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent-muted);
  box-shadow: 0 0 0 4px rgba(158,182,208,.28);
}
.hero h1 {
  font-family: var(--display); font-size: clamp(2rem, 3.6vw, 3.15rem);
  line-height: 1.15; letter-spacing: -.03em; margin: 0 0 18px; font-weight: 700;
  max-width: 18ch;
}
.hero-lead {
  color: rgba(255,255,255,.72); font-size: 1.05rem; max-width: 52ch; margin: 0 0 28px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px;
}
.hero-stat {
  padding: 14px 12px; border-radius: 12px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
}
.hero-stat strong {
  display: block; font-family: var(--display); font-size: 1.45rem; letter-spacing: -.02em;
}
.hero-stat span { font-size: 12px; color: rgba(255,255,255,.55); }
.hero-panel {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px; padding: 22px; backdrop-filter: blur(8px);
}
.hero-panel h3 { margin: 0 0 14px; font-size: 15px; font-weight: 650; }
.panel-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 14px;
}
.panel-row:last-child { border-bottom: 0; }
.panel-row .tag {
  font-size: 12px; padding: 3px 8px; border-radius: 999px;
  background: rgba(26,58,92,.45); color: var(--accent-muted);
}

/* —— Sections —— */
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: end; gap: 24px;
  margin-bottom: 32px;
}
.section-head h2 {
  font-family: var(--display); font-size: clamp(1.55rem, 2.4vw, 2rem);
  letter-spacing: -.02em; margin: 0 0 8px; font-weight: 700;
}
.section-head p { margin: 0; color: var(--muted); max-width: 48ch; }
.section-desc-nowrap {
  max-width: none !important;
  white-space: nowrap;
}
.deliver-section .section-head > div {
  max-width: 100%;
}
.deliver-section .card > p {
  margin: 0;
  line-height: 1.7;
}
.kicker {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}

.surface { background: var(--surface); }
.tint { background: var(--bg-tint); }
.ink-band { background: var(--hero); color: #fff; }

/* —— Cards —— */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); transition: border-color .2s, transform .2s;
}
.card:hover { border-color: #cfd5df; transform: translateY(-2px); }
.card-icon {
  width: 44px; height: 44px; min-width: 44px; border-radius: 11px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 16px; font-size: 18px;
  flex-shrink: 0; white-space: nowrap;
}
.card-icon i { line-height: 1; white-space: nowrap; }
.card h3 { margin: 0 0 8px; font-size: 1.05rem; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.advantage-head {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: nowrap; margin-bottom: 12px; min-width: 0;
}
.advantage-head .card-icon { margin-bottom: 0; }
.advantage-head h3 {
  margin: 0; white-space: nowrap; flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis;
}

/* 产品性能：序号 + 标题同行，左侧细线区分 */
.perf-card {
  box-shadow: none;
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  padding: 20px 22px;
}
.perf-card:hover {
  transform: none;
  border-color: var(--line);
  border-left-color: var(--copper);
  background: #fafbfc;
}
.perf-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}
.perf-num {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--copper);
  flex-shrink: 0;
}
.perf-head h3 {
  margin: 0;
  font-size: 1.05rem;
  white-space: nowrap;
}
.perf-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}
.region-points {
  list-style: none; margin: 16px 0 0; padding: 0;
  display: grid; gap: 8px;
}
.region-points li {
  font-size: 13px; color: var(--muted); line-height: 1.55;
  padding-left: 12px; border-left: 2px solid var(--accent-soft);
}
.region-points strong { color: var(--ink-soft); font-weight: 650; }
.region-head {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: nowrap; margin-bottom: 14px; min-width: 0;
}
.region-head .card-icon {
  margin-bottom: 0; width: 40px; height: 40px; min-width: 40px;
  font-size: 16px;
}
.region-head .card-icon-flag {
  background: transparent; padding: 0; overflow: hidden;
  border-radius: 8px; border: 1px solid var(--line);
  box-shadow: none;
}
.region-head .card-icon-flag img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.region-head h3 {
  margin: 0; white-space: nowrap; flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis;
}
.region-cards .card > p {
  margin: 0;
  line-height: 1.7;
}
.trust-card .card-icon {
  margin-bottom: 0;
}
.trust-grid .card {
  min-width: 0;
}
.trust-grid .card h3 {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.trust-grid .region-head,
.grid-3 > .card > .region-head {
  margin-bottom: 12px;
}

.feature-media {
  border-radius: 18px; overflow: hidden; min-height: 320px;
  background: #111 center/cover no-repeat; position: relative;
}
.feature-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.45));
}

/* —— Network reach map —— */
.net-map {
  position: relative;
  border-radius: 18px; overflow: hidden; min-height: 340px;
  background: #0a1018;
  border: 1px solid rgba(26, 58, 92, .35);
  box-shadow:
    0 1px 2px rgba(18, 21, 28, 0.06),
    0 18px 42px rgba(12, 20, 32, 0.16);
}
.net-map-base {
  position: absolute; inset: 0;
  background:
    url("/web/mf101/assets/img/redesign/world-basemap.jpg") center/cover no-repeat;
  transform: scale(1.04);
  animation: map-drift 28s ease-in-out infinite alternate;
  filter: saturate(.85) contrast(1.05) brightness(.72);
}
.net-map-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,12,20,.35) 0%, rgba(8,12,20,.18) 40%, rgba(8,12,20,.55) 100%),
    radial-gradient(ellipse at 60% 45%, transparent 30%, rgba(8,12,20,.45) 100%);
  pointer-events: none;
}
.net-map-svg {
  position: relative; z-index: 1;
  display: block; width: 100%; height: auto; min-height: 340px;
}
.route-flow {
  stroke-dasharray: 18 220;
  animation: route-packet 7.5s linear infinite;
}
.route-flow-delay { animation-delay: -2.4s; animation-duration: 8.5s; }
.route-flow-slow { animation-delay: -4.2s; animation-duration: 10s; }
@keyframes route-packet {
  to { stroke-dashoffset: -480; }
}
@keyframes map-drift {
  from { transform: scale(1.03) translate3d(0,0,0); }
  to { transform: scale(1.08) translate3d(-1.2%, .6%, 0); }
}
.map-node .pin-core {
  fill: #f4f7fb;
  stroke: rgba(12,18,28,.35);
  stroke-width: .6;
}
.map-node .pin-ring {
  fill: rgba(158,182,208,.12);
  stroke: rgba(232,238,245,.55);
  stroke-width: 1.2;
  transform-origin: center;
  animation: pin-breathe 3.2s ease-in-out infinite;
}
.map-node-hub .pin-ring {
  stroke: rgba(212,184,150,.75);
  fill: rgba(212,184,150,.14);
}
.map-node text {
  fill: #f4f7fb;
  font-family: Outfit, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 10px;
  font-weight: 650;
  text-anchor: middle;
  paint-order: stroke;
  stroke: rgba(8,12,20,.72);
  stroke-width: 3px;
  stroke-linejoin: round;
}
.map-relays circle {
  opacity: .7;
}
.map-caption {
  fill: rgba(244,247,251,.78);
  font-family: Figtree, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 11px;
  font-weight: 600;
  paint-order: stroke;
  stroke: rgba(8,12,20,.55);
  stroke-width: 3px;
}
@keyframes pin-breathe {
  0%, 100% { opacity: .75; }
  50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .route-flow, .net-map-base, .map-node .pin-ring { animation: none; }
}

.deliver-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 1200px) {
  .deliver-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .deliver-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .deliver-grid { grid-template-columns: 1fr; }
}

/* —— Product / promo —— */
.promo-card {
  position: relative; overflow: hidden;
  border-radius: 16px; border: 1px solid var(--line); background: #fff;
  display: flex; flex-direction: column; min-height: 280px;
}
.promo-card .thumb {
  height: 140px; background: #1a2030 center/cover no-repeat;
}
.promo-card .body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.promo-card .badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--copper); color: #fff; font-size: 12px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
}
.price { font-family: var(--display); font-size: 1.65rem; font-weight: 700; letter-spacing: -.02em; }
.price small { font-size: .85rem; font-weight: 500; color: var(--muted); }

.promo-foot {
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: end; gap: 12px;
}
.deal-tag {
  min-width: 0;
  padding: 8px 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, #e8eef5 0%, #f7f9fc 100%);
  border: 1px solid #d7e0ea;
}
.deal-tag-copper {
  background: linear-gradient(135deg, #f5ebe3 0%, #fbf7f3 100%);
  border-color: #e8d5c6;
}
.deal-label {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 2px;
}
.deal-tag-copper .deal-label { color: var(--copper); }
.deal-main {
  display: flex; align-items: baseline; gap: 4px;
  font-family: var(--display); color: var(--ink); line-height: 1.1;
}
.deal-main em {
  font-style: normal; font-size: 1.7rem; font-weight: 700; letter-spacing: -.03em;
  color: var(--accent);
}
.deal-tag-copper .deal-main em { color: var(--copper); }
.deal-main span { font-size: 13px; font-weight: 650; color: var(--ink-soft); }
.deal-tag-copper .deal-main span { color: var(--copper); }
.deal-sub {
  margin-top: 4px; font-size: 12px; color: var(--muted);
}
.deal-sub strong {
  color: var(--accent);
  font-weight: 700;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: -.02em;
}
.deal-tag-copper .deal-sub strong { color: var(--copper); }

.campaign-detail { display: grid; gap: 18px; }
.campaign-notice {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 18px; border-radius: 12px;
  background: #fff8eb; border: 1px solid #f0dfc0; color: #6b4f1d;
}
.campaign-notice i { margin-top: 3px; color: #b45309; flex-shrink: 0; }
.campaign-notice strong { display: block; margin-bottom: 4px; color: #5c3f12; }
.campaign-notice p { margin: 0; font-size: 14px; line-height: 1.65; color: #7a5c28; }
.campaign-notice-banner {
  margin-top: 20px;
  max-width: 640px;
  background: rgba(251, 191, 36, .14);
  border: 1px solid rgba(251, 191, 36, .45);
  color: #fde68a;
}
.campaign-notice-banner i { color: #fbbf24; }
.campaign-notice-banner strong { color: #fef3c7; }
.campaign-notice-banner p { color: rgba(254, 243, 199, .88); }
.campaign-grid .card h3 {
  margin: 0 0 16px; font-size: 1rem;
  display: flex; align-items: center; gap: 8px;
}
.campaign-grid .card h3::before {
  content: "";
  width: 6px; height: 16px; border-radius: 3px;
  background: var(--accent); flex-shrink: 0;
}
.campaign-list, .campaign-steps {
  margin: 0; padding: 0; list-style: none;
  display: grid; gap: 10px;
  color: var(--muted); font-size: 14.5px; line-height: 1.65;
  counter-reset: campaign-item;
}
.campaign-list li, .campaign-steps li {
  position: relative;
  margin: 0;
  padding: 12px 14px 12px 48px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  counter-increment: campaign-item;
}
.campaign-list li::before,
.campaign-steps li::before {
  content: counter(campaign-item);
  position: absolute; left: 12px; top: 12px;
  width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center;
  font-family: var(--display);
  font-size: 13px; font-weight: 700;
  color: #fff; background: var(--accent);
  line-height: 1;
}
.campaign-steps li::before {
  border-radius: 999px;
  background: linear-gradient(145deg, #2a5680 0%, var(--accent-dark) 100%);
}
.campaign-list strong, .campaign-steps strong { color: var(--ink-soft); }
.campaign-grid .card:hover { border-color: #cfd5df; }
@media (max-width: 640px) {
  .promo-foot { flex-direction: column; align-items: stretch; }
  .promo-foot .btn { width: 100%; }
  .campaign-grid { grid-template-columns: 1fr; }
}

.partners {
  display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: center;
  opacity: .7; filter: grayscale(1);
}
.partners span {
  font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .04em;
  color: var(--ink-soft);
}

/* 云产品基础配置：表格式列表，凸显价格 */
.cloud-packages-section .section-head-sm { margin-bottom: 18px; }
.pkg-list { width: 100%; }
.pkg-table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
}
.pkg-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  font-size: 14px;
}
.pkg-table thead th {
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  padding: 12px 12px;
  background: #fafbfc;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.pkg-table thead th.pkg-th-price {
  color: var(--ink-soft);
}
.pkg-table tbody td {
  padding: 16px 12px;
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  line-height: 1.4;
  text-align: left;
}
.pkg-table tbody tr:last-child td { border-bottom: 0; }
.pkg-table tbody tr:hover td { background: #fafbfc; }
.pkg-col-name,
.pkg-th-name {
  width: 22%;
  min-width: 120px;
  text-align: left;
}
.pkg-name {
  font-weight: 650;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pkg-region {
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pkg-col-spec {
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
  white-space: nowrap;
}
.pkg-th-sm,
.pkg-col-sm {
  width: 52px;
  padding-left: 8px;
  padding-right: 8px;
}
.pkg-th-cpu,
.pkg-col-cpu {
  width: 68px;
  padding-left: 10px;
  padding-right: 10px;
}
.pkg-th-disk,
.pkg-col-disk {
  width: 15%;
  min-width: 100px;
}
.pkg-th-ip,
.pkg-col-ip {
  width: 48px;
  text-align: left;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--ink-soft);
  padding-left: 8px;
  padding-right: 8px;
}
.pkg-col-price,
.pkg-th-price {
  white-space: nowrap;
  width: 12%;
  text-align: left;
}
.pkg-price-num {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--copper);
  line-height: 1;
}
.pkg-price-unit {
  margin-left: 3px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.pkg-price-na { color: var(--muted); font-size: 14px; }
.pkg-col-action,
.pkg-th-action {
  width: 48px;
  max-width: 52px;
  text-align: right;
  padding-left: 4px;
  padding-right: 14px;
}
.pkg-link {
  color: var(--accent);
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}
.pkg-link:hover { text-decoration: underline; }
.pkg-loading,
.pkg-empty {
  text-align: center;
  padding: 28px 16px;
  color: var(--muted);
  font-size: 14px;
  background: #fff;
  border: 1px solid var(--line);
}

.partner-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  padding: 6px 0 10px;
}
.partner-track {
  display: flex; align-items: center; gap: 18px; width: max-content;
  animation: partner-scroll 28s linear infinite;
}
.partner-marquee:hover .partner-track { animation-play-state: paused; }
.partner-item {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 168px; height: 56px; padding: 0 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow);
}
.partner-item img {
  width: 120px; height: 36px; object-fit: contain; display: block;
}
.partner-item span {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
@keyframes partner-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .partner-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; max-width: 1180px; margin: 0 auto; }
}

.float-telegram {
  position: fixed; right: 22px; top: 50%; transform: translateY(-50%);
  z-index: 1200;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-radius: 999px;
  background: var(--accent); color: #fff !important;
  font-size: 14px; font-weight: 650; line-height: 1;
  box-shadow: 0 10px 28px rgba(26, 58, 92, .35);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.float-telegram i { font-size: 18px; }
.float-telegram:hover {
  background: var(--accent-dark); color: #fff !important;
  transform: translateY(-50%) translateX(-2px);
  box-shadow: 0 14px 32px rgba(26, 58, 92, .42);
}
@media (max-width: 640px) {
  .float-telegram {
    right: 14px; padding: 12px;
  }
  .float-telegram span { display: none; }
}

.cert-row {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
}
.cert-row-7 {
  grid-template-columns: repeat(7, 1fr);
}
.cert {
  text-align: center; padding: 16px 10px; border-radius: 12px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  font-size: 12.5px; color: rgba(255,255,255,.7);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  gap: 8px; min-height: 96px;
}
.cert i { display: block; font-size: 20px; margin-bottom: 0; color: var(--accent-muted); }
.cert img {
  width: 36px; height: 36px; object-fit: contain; display: block;
  flex-shrink: 0;
}

/* —— Tables / order —— */
.order-layout {
  display: grid; grid-template-columns: 1.4fr .7fr; gap: 22px; align-items: start;
}
.config-box, .summary-box {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px;
  box-shadow: var(--shadow);
}
.config-box h3, .summary-box h3 { margin: 0 0 16px; font-size: 1rem; }
.cfg-label { font-size: 13px; font-weight: 650; color: var(--muted); margin: 16px 0 8px; }
.seg {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.seg button, .chip {
  border: 1px solid var(--line); background: #fff; border-radius: 9px;
  padding: 9px 14px; font-size: 13.5px; font-weight: 550; color: var(--ink-soft);
  transition: .15s;
}
.seg button.is-on, .chip.is-on {
  border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark);
}
.pkg {
  border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px;
  display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center;
  cursor: pointer; transition: .15s;
}
.pkg:hover, .pkg.is-on { border-color: var(--accent); background: #f4f7fa; }
.pkg strong { display: block; font-size: 14.5px; }
.pkg span { color: var(--muted); font-size: 13px; }
.summary-line {
  display: flex; justify-content: space-between; padding: 10px 0;
  border-bottom: 1px dashed var(--line); font-size: 14px;
}
.summary-total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin: 16px 0; font-family: var(--display);
}
.summary-total strong { font-size: 1.8rem; color: var(--accent); }

/* —— Docs —— */
.docs-layout { display: grid; grid-template-columns: 240px 1fr; gap: 22px; }
.docs-side {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px;
  height: fit-content; position: sticky; top: 88px;
}
.docs-side a {
  display: block; padding: 10px 12px; border-radius: 8px; font-size: 14px; color: var(--ink-soft);
}
.docs-side a:hover, .docs-side a.is-active { background: var(--accent-soft); color: var(--accent-dark); }
.doc-item {
  display: flex; gap: 14px; align-items: start; padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.doc-item i { color: var(--accent); margin-top: 3px; }

/* 云服务器等页面：紧凑文档列表 */
.section-head-sm { margin-bottom: 18px; }
.section-head-sm h2 { font-size: clamp(1.25rem, 2vw, 1.45rem); margin: 0; }
.cloud-docs.section-sm { padding: 40px 0; }
.doc-main-compact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.doc-main.doc-main-compact .doc-list {
  list-style: none;
  margin: 0;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: none;
}
.doc-main.doc-main-compact .doc-type {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  line-height: 1.3;
}
.doc-main.doc-main-compact .doc-item {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
}
.doc-main.doc-main-compact .doc-item a {
  display: block;
  padding: 5px 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.doc-main.doc-main-compact .doc-item a:hover { color: var(--accent); }
.doc-main.doc-main-compact .doc-more {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed var(--line);
}
.doc-main.doc-main-compact .doc-more a {
  font-size: 12px;
  font-weight: 650;
  color: var(--accent);
}

/* —— Contact / about —— */
.stat-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px;
}
.stat-strip div {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px;
}
.stat-strip strong {
  font-family: var(--display); font-size: 1.6rem; display: block; letter-spacing: -.02em;
}
.stat-strip span { color: var(--muted); font-size: 13px; }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.form {
  display: grid; gap: 12px;
}
.form input, .form textarea, .form select {
  width: 100%; border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; font: inherit; background: #fff; color: var(--ink);
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: 2px solid var(--accent-soft); border-color: var(--accent);
}
.form textarea { min-height: 120px; resize: vertical; }

/* —— Footer —— */
.site-footer {
  background: #0a0d12; color: rgba(255,255,255,.68); padding: 56px 0 28px; margin-top: 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 36px;
}
.site-footer h4 { color: #fff; margin: 0 0 14px; font-size: 14px; }
.site-footer a { display: block; padding: 5px 0; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.footer-brand {
  font-family: var(--display); color: #fff; font-weight: 700; font-size: 1.15rem; margin-bottom: 10px;
  display: flex; align-items: center; gap: 10px;
}
.footer-logo-img {
  height: 28px; width: auto; max-width: 140px; object-fit: contain; display: block; border-radius: 6px;
}
.footer-meta {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 18px;
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between;
  font-size: 12.5px;
}

.page-banner {
  padding: 48px 0 36px; background: var(--hero); color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.page-banner h1 {
  font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 10px; letter-spacing: -.02em;
}
.page-banner p { margin: 0; color: rgba(255,255,255,.7); max-width: 54ch; }
.page-banner .banner-desc-nowrap {
  max-width: none;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .page-banner .banner-desc-nowrap { white-space: normal; }
}

@media (max-width: 1100px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .cert-row-7 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 960px) {
  .hero-body, .grid-3, .grid-4, .grid-2, .order-layout, .docs-layout,
  .footer-grid, .contact-grid, .cert-row, .stat-strip, .hero-stats,
  .doc-main-compact {
    grid-template-columns: 1fr 1fr;
  }
  .grid-5 { grid-template-columns: 1fr 1fr; }
  .cert-row-7 { grid-template-columns: repeat(3, 1fr); }
  .menu .header-menu-list { display: none !important; }
  .nav-actions .hide-sm,
  .hide-sm { display: none !important; }
  .nav-toggle { display: inline-flex !important; }
  .site-header .nav { height: 56px; gap: 12px; }
  .brand-logo-img { height: 24px; max-width: 140px; }
  .topbar .inner { font-size: 11.5px; height: 32px; }
  .topbar .links { gap: 10px; }
  .hero { min-height: auto; }
  .hero-body { padding: 48px 0 40px; }
  .page-banner { padding: 36px 0 28px; }
  .section { padding: 48px 0; }
  .feature-media { min-height: 220px; }
}
@media (max-width: 640px) {
  .hero-body, .grid-3, .grid-4, .grid-5, .grid-2, .order-layout, .docs-layout,
  .footer-grid, .contact-grid, .cert-row, .cert-row-7, .stat-strip, .hero-stats,
  .doc-main-compact {
    grid-template-columns: 1fr;
  }
  .trust-grid .card h3 { white-space: normal; }
  .section-desc-nowrap { white-space: normal; }
  .section-head { flex-direction: column; align-items: start; }
  .container { width: min(100% - 32px, var(--max)); }
  .topbar .inner { justify-content: center; }
  .topbar .inner > div:first-child { display: none; }
  .brand-logo-img { height: 22px; max-width: 120px; }
  .hero h1 { max-width: none; font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-panel { margin-top: 8px; }
  .promo-card .thumb { height: 120px; }
  .docs-side { position: static; }
  .buy-section { width: min(100% - 24px, 1180px) !important; }
}

/* 云/物理机基础配置：手机端卡片化（PC 表格样式不变） */
@media (max-width: 768px) {
  .cloud-packages-section .pkg-table-wrap {
    overflow: visible;
    background: transparent;
    border: 0;
  }
  .cloud-packages-section .pkg-table {
    display: block;
    width: 100%;
    font-size: 13px;
  }
  .cloud-packages-section .pkg-table thead {
    display: none;
  }
  .cloud-packages-section .pkg-table tbody {
    display: block;
  }
  .cloud-packages-section .pkg-table tbody tr {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 10px 12px;
    margin: 0 0 12px;
    padding: 14px 14px 12px;
    background: #fff;
    border: 1px solid var(--line);
    box-sizing: border-box;
  }
  .cloud-packages-section .pkg-table tbody tr:last-child {
    margin-bottom: 0;
  }
  .cloud-packages-section .pkg-table tbody tr:hover td {
    background: transparent;
  }
  .cloud-packages-section .pkg-table tbody td {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2px;
    flex: 0 0 calc(50% - 6px);
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    line-height: 1.35;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    white-space: normal;
    text-align: left;
  }
  .cloud-packages-section .pkg-table tbody td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
  }
  .cloud-packages-section .pkg-table tbody td.pkg-col-name {
    display: block;
    flex: 0 0 100%;
    margin: 0;
    padding: 0 0 10px;
    border-bottom: 1px solid var(--line);
  }
  .cloud-packages-section .pkg-table tbody td.pkg-col-name::before,
  .cloud-packages-section .pkg-table tbody td.pkg-col-action::before {
    content: none;
  }
  .cloud-packages-section .pkg-name {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    word-break: break-word;
  }
  .cloud-packages-section .pkg-region {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    margin-top: 4px;
    word-break: break-word;
  }
  .cloud-packages-section .pkg-table tbody td.pkg-col-price {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 6px;
    flex: 1 1 auto;
    min-width: 0;
    margin-top: 2px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  .cloud-packages-section .pkg-table tbody td.pkg-col-price::before {
    flex: 0 0 100%;
    width: 100%;
    margin-bottom: 2px;
  }
  .cloud-packages-section .pkg-price-num {
    font-size: 1.35rem;
  }
  .cloud-packages-section .pkg-table tbody td.pkg-col-action {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    margin-top: 2px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    text-align: right;
  }
  .cloud-packages-section .pkg-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
  }
  .cloud-packages-section .pkg-link:hover {
    background: var(--accent);
    color: #fff;
    text-decoration: none;
  }
}

