/* ==========================================================
   鄂尔多斯市算力资源调度服务平台  ·  站点样式
   主色：科技蓝  辅助色：绿电青  强调色：暖城橙
   ========================================================== */
:root {
  --primary: #1668ff;
  --primary-dark: #0b4bd8;
  --primary-light: #e8f1ff;
  --cyan: #00c2d7;
  --green: #12b76a;
  --orange: #ff8a00;
  --ink: #0f1b33;
  --text: #333c4e;
  --sub: #6b7688;
  --line: #e6eaf2;
  --bg: #f5f7fb;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 4px 18px rgba(15, 27, 51, .07);
  --shadow-lg: 0 12px 36px rgba(15, 27, 51, .12);
  --maxw: 1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- 顶部工具条 ---------- */
.topbar {
  background: #0d1b38;
  color: rgba(255, 255, 255, .75);
  font-size: 13px;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar a { color: rgba(255, 255, 255, .75); }
.topbar a:hover { color: #fff; }
.topbar .right span { margin-left: 18px; }

/* ---------- 导航 ---------- */
.header {
  background: var(--white);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo .mark {
  width: 42px; height: 42px; border-radius: 9px;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 20px; letter-spacing: -.5px;
  box-shadow: 0 4px 12px rgba(22, 104, 255, .35);
}
.logo .txt b { display: block; font-size: 18px; color: var(--ink); letter-spacing: .5px; line-height: 1.25; }
.logo .txt i { display: block; font-style: normal; font-size: 11px; color: var(--sub); letter-spacing: 1.4px; text-transform: uppercase; }

.nav { display: flex; gap: 4px; }
.nav a {
  display: block; padding: 26px 16px; font-size: 15px; color: var(--ink);
  position: relative; transition: color .2s;
}
.nav a:hover { color: var(--primary); }
.nav a.active { color: var(--primary); font-weight: 600; }
.nav a.active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px;
  background: var(--primary); border-radius: 3px 3px 0 0;
}

.head-actions { display: flex; align-items: center; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 38px; padding: 0 20px; border-radius: 6px; font-size: 14px;
  border: 1px solid transparent; cursor: pointer; transition: .2s; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 12px rgba(22, 104, 255, .28); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost { border-color: var(--primary); color: var(--primary); background: #fff; }
.btn-ghost:hover { background: var(--primary-light); }
.btn-lg { height: 46px; padding: 0 30px; font-size: 16px; border-radius: 8px; }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: #eaf2ff; }
.btn-line { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-line:hover { background: rgba(255, 255, 255, .12); }

/* ---------- Banner ---------- */
.banner {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, #0a1d4d 0%, #123a86 45%, #1668ff 100%);
  color: #fff; padding: 76px 0 0;
}
.banner::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px;
}
.banner::after {
  content: ""; position: absolute; width: 640px; height: 640px; right: -140px; top: -220px;
  background: radial-gradient(circle, rgba(0,194,215,.35), transparent 68%);
}
.banner .wrap { position: relative; z-index: 2; }
.banner h1 { font-size: 40px; line-height: 1.3; font-weight: 700; margin-bottom: 14px; letter-spacing: 1px; }
.banner .sub { font-size: 17px; color: rgba(255,255,255,.86); max-width: 660px; }
.banner .tagline {
  display: inline-block; margin-bottom: 20px; padding: 5px 14px; border-radius: 20px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); font-size: 13px; letter-spacing: .5px;
}
.banner .btns { margin: 30px 0 46px; display: flex; gap: 14px; flex-wrap: wrap; }

.stat-strip {
  position: relative; z-index: 2;
  background: rgba(255,255,255,.09); border-top: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(4px);
}
.stat-strip .wrap { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat-strip .item { padding: 22px 10px; text-align: center; border-right: 1px solid rgba(255,255,255,.14); }
.stat-strip .item:last-child { border-right: 0; }
.stat-strip .num { font-size: 28px; font-weight: 700; letter-spacing: .5px; }
.stat-strip .num em { font-style: normal; font-size: 14px; font-weight: 400; margin-left: 3px; opacity: .85; }
.stat-strip .label { font-size: 13px; color: rgba(255,255,255,.75); margin-top: 2px; }

/* ---------- 通用区块 ---------- */
.section { padding: 66px 0; }
.section.gray { background: var(--bg); }
.section .head { text-align: center; margin-bottom: 40px; }
.section .head h2 { font-size: 30px; color: var(--ink); font-weight: 700; letter-spacing: .5px; }
.section .head p { color: var(--sub); margin-top: 8px; font-size: 15px; }
.section .head .bar { width: 46px; height: 4px; background: var(--primary); border-radius: 4px; margin: 14px auto 0; }

/* ---------- 五大功能卡 ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.feat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 20px; transition: .25s; position: relative; overflow: hidden;
}
.feat:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #c9dcff; }
.feat .ico {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 16px;
  background: var(--primary-light); display: flex; align-items: center; justify-content: center;
}
.feat .ico svg { width: 26px; height: 26px; }
.feat h3 { font-size: 17px; color: var(--ink); margin-bottom: 8px; }
.feat p { font-size: 13.5px; color: var(--sub); line-height: 1.75; }
.feat .more { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--primary); }
.feat .more::after { content: " →"; }

/* ---------- 算力超市产品卡 ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prod {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; transition: .25s; position: relative;
}
.prod:hover { box-shadow: var(--shadow-lg); border-color: #c9dcff; }
.prod .pname { font-size: 17px; font-weight: 600; color: var(--ink); }
.prod .zone { font-size: 12px; color: var(--sub); margin: 6px 0 14px; }
.prod .zone .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); margin-right: 6px; vertical-align: 1px; }
.prod .zone .dot.off { background: #c2c9d6; }
.spec { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 12px; padding: 14px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }
.spec li { font-size: 13px; color: var(--sub); }
.spec li b { display: block; color: var(--ink); font-size: 14px; font-weight: 600; }
.price-row { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 16px; }
.price { color: #e5484d; font-size: 26px; font-weight: 700; line-height: 1.1; }
.price small { font-size: 13px; font-weight: 400; color: var(--sub); margin-left: 4px; }
.prod .acts { display: flex; gap: 10px; margin-top: 16px; }
.prod .acts .btn { flex: 1; height: 36px; padding: 0 10px; font-size: 13.5px; }
.badge {
  position: absolute; right: 0; top: 0; background: var(--orange); color: #fff;
  font-size: 12px; padding: 3px 12px; border-radius: 0 var(--radius) 0 10px;
}
.badge.new { background: var(--primary); }
.badge.sold { background: #9aa4b5; left: 0; right: auto; border-radius: var(--radius) 0 10px 0; }

/* ---------- 算力券 ---------- */
.coupon-box {
  background: linear-gradient(120deg, #123a86, #1668ff 60%, #00a2c7);
  border-radius: 14px; color: #fff; padding: 40px; display: grid;
  grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; box-shadow: var(--shadow-lg);
}
.coupon-box h3 { font-size: 26px; margin-bottom: 12px; }
.coupon-box .amt { font-size: 34px; font-weight: 700; margin: 10px 0; }
.coupon-box ul li { font-size: 14px; padding-left: 18px; position: relative; color: rgba(255,255,255,.9); }
.coupon-box ul li::before { content: "▸"; position: absolute; left: 0; }
.coupon-box .right { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 10px; padding: 22px; }
.coupon-box .right li { margin-bottom: 10px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 44px; }
.step { text-align: center; position: relative; padding: 0 16px; }
.step .no {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 14px;
  background: var(--primary-light); color: var(--primary); font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; position: relative; z-index: 2;
  border: 2px solid #fff; box-shadow: 0 0 0 2px var(--primary-light);
}
.step h4 { font-size: 16px; color: var(--ink); margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--sub); }
.step::after {
  content: ""; position: absolute; top: 27px; left: 50%; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--primary), #c9dcff);
}
.step:last-child::after { display: none; }

/* ---------- 资源一张图 ---------- */
.map-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px;
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 30px; align-items: center; box-shadow: var(--shadow);
}
.map-card svg { width: 100%; height: auto; }
.node-list { display: grid; gap: 12px; }
.node-item {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  background: #fafcff; border: 1px solid var(--line); border-radius: 8px;
}
.node-item .tag { font-size: 12px; padding: 2px 8px; border-radius: 4px; background: var(--primary-light); color: var(--primary); }
.node-item .tag.g { background: #e6f8ee; color: var(--green); }
.node-item .nm { font-size: 14px; color: var(--ink); font-weight: 600; }
.node-item .vv { font-size: 12.5px; color: var(--sub); margin-left: auto; text-align: right; }

/* ---------- 价值 ---------- */
.val-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.val {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px;
  display: flex; gap: 18px;
}
.val .n { font-size: 30px; font-weight: 800; color: #dce7fb; line-height: 1; }
.val h4 { font-size: 17px; color: var(--ink); margin-bottom: 8px; }
.val p { font-size: 13.5px; color: var(--sub); }
.val ul { margin-top: 8px; }
.val ul li { font-size: 13px; color: var(--sub); padding-left: 14px; position: relative; }
.val ul li::before { content: "·"; position: absolute; left: 4px; color: var(--primary); font-weight: 700; }

/* ---------- 伙伴 logo 墙 ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.partner-grid div {
  height: 72px; background: #fff; border: 1px solid var(--line); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--ink);
  transition: .2s;
}
.partner-grid div:hover { border-color: var(--primary); color: var(--primary); box-shadow: var(--shadow); }

/* ---------- 新闻 ---------- */
.news-list { display: grid; gap: 14px; }
.news-item {
  background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 18px 22px;
  display: flex; align-items: center; gap: 22px; transition: .2s;
}
.news-item:hover { box-shadow: var(--shadow); border-color: #c9dcff; }
.news-item .date { text-align: center; min-width: 62px; }
.news-item .date b { display: block; font-size: 24px; color: var(--primary); line-height: 1.1; }
.news-item .date i { font-style: normal; font-size: 12px; color: var(--sub); }
.news-item h4 { font-size: 16px; color: var(--ink); font-weight: 600; }
.news-item p { font-size: 13px; color: var(--sub); margin-top: 4px; }
.news-item .arrow { margin-left: auto; color: var(--primary); font-size: 18px; }

/* ---------- 页脚 ---------- */
.footer { background: #0d1b38; color: rgba(255,255,255,.7); padding: 50px 0 0; margin-top: 20px; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 34px; }
.footer h5 { color: #fff; font-size: 15px; margin-bottom: 14px; font-weight: 600; }
.footer li { font-size: 13.5px; padding: 4px 0; }
.footer li:hover { color: #fff; }
.footer .contact li { padding: 6px 0; }
.footer .bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; font-size: 13px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* ---------- 内页通用 ---------- */
.page-banner {
  background: linear-gradient(120deg, #0a1d4d, #1668ff);
  color: #fff; padding: 50px 0; position: relative; overflow: hidden;
}
.page-banner::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 50px 50px;
}
.page-banner .wrap { position: relative; z-index: 2; }
.page-banner h1 { font-size: 32px; font-weight: 700; }
.page-banner p { color: rgba(255,255,255,.8); margin-top: 8px; font-size: 15px; }
.crumb { font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 10px; }
.crumb a:hover { color: #fff; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.panel + .panel { margin-top: 20px; }
.panel h3 { font-size: 20px; color: var(--ink); margin-bottom: 14px; padding-left: 12px; border-left: 4px solid var(--primary); }
.panel p { margin-bottom: 10px; }
.panel ul.tick li { padding-left: 18px; position: relative; margin-bottom: 8px; font-size: 14.5px; }
.panel ul.tick li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

.filter-bar {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 20px; display: flex; gap: 26px; flex-wrap: wrap; align-items: center; margin-bottom: 22px;
}
.filter-bar .g { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--sub); }
.filter-bar .g b { color: var(--ink); font-weight: 500; }
.chip {
  padding: 4px 14px; border-radius: 16px; background: var(--bg); border: 1px solid transparent;
  font-size: 13.5px; color: var(--text); cursor: pointer; transition: .2s;
}
.chip.on { background: var(--primary-light); border-color: #b9d1ff; color: var(--primary); font-weight: 600; }
.chip:hover { color: var(--primary); }

table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
table.tbl th, table.tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
table.tbl th { background: #f7f9fd; color: var(--ink); font-weight: 600; font-size: 13.5px; }
table.tbl tr:hover td { background: #fafcff; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card-s { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card-s h4 { font-size: 16px; color: var(--ink); margin-bottom: 8px; }
.card-s p { font-size: 13.5px; color: var(--sub); }

.notice {
  background: #fffbea; border: 1px solid #ffe58f; border-radius: 8px;
  padding: 14px 18px; font-size: 13.5px; color: #8a6d1a;
}

/* ---------- 地图脉冲动画 ---------- */
.nodes .pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse {
  0%   { transform: scale(1);   opacity: .85; }
  70%  { transform: scale(2.8); opacity: 0; }
  100% { transform: scale(2.8); opacity: 0; }
}

@media (max-width: 1100px) {
  .nav a { padding: 26px 11px; font-size: 14px; }
  .feat-grid { grid-template-columns: repeat(3, 1fr); }
  .prod-grid, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 820px) {
  .nav { display: none; }
  .banner h1 { font-size: 28px; }
  .stat-strip .wrap { grid-template-columns: repeat(2, 1fr); }
  .feat-grid, .val-grid, .grid-2 { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: 1fr; }
  .coupon-box, .map-card { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .step::after { display: none; }
}
