/* ============================================================
   乐奇机房 LeQi IDC —— 前台样式（科技感深色主题）
   ============================================================ */

:root {
  --bg-deep: #060b18;
  --bg-dark: #0a1224;
  --bg-card: rgba(17, 28, 55, .75);
  --bg-card-solid: #101a35;
  --border: rgba(56, 130, 246, .22);
  --border-light: rgba(56, 130, 246, .4);
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --blue-dark: #1d4ed8;
  --violet: #8b5cf6;
  --text: #dfe9ff;
  --text-dim: #93a6cc;
  --text-faint: #64748b;
  --grad: linear-gradient(120deg, #22d3ee, #3b82f6 55%, #8b5cf6);
  --radius: 14px;
  --shadow: 0 10px 40px rgba(2, 10, 30, .6);
  --glow: 0 0 24px rgba(34, 211, 238, .35);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

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

.container { width: min(1200px, 92%); margin: 0 auto; }

.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: 10px; font-size: 15px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: all .25s ease; white-space: nowrap;
}
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 6px 20px rgba(59, 130, 246, .4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(34, 211, 238, .5); }
.btn-ghost {
  background: transparent; color: var(--cyan); border-color: rgba(34, 211, 238, .5);
}
.btn-ghost:hover { background: rgba(34, 211, 238, .1); box-shadow: var(--glow); transform: translateY(-2px); }
.btn-lg { padding: 15px 36px; font-size: 16px; }
.btn-sm { padding: 9px 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- 顶部公告 ---------- */
.topbar { background: linear-gradient(90deg, rgba(59,130,246,.18), rgba(34,211,238,.12), rgba(139,92,246,.18)); border-bottom: 1px solid var(--border); font-size: 13px; color: var(--text-dim); }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; flex-wrap: wrap; gap: 4px; }
.topbar-notice { color: var(--cyan); }

/* ---------- 导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6, 11, 24, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(0, 0, 0, .5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { display: flex; filter: drop-shadow(0 0 10px rgba(34, 211, 238, .5)); }
.logo-text { font-size: 24px; font-weight: 800; letter-spacing: 1px; color: #fff; }
.logo-text em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.main-nav { display: flex; gap: 4px; }
.main-nav a {
  padding: 8px 16px; border-radius: 8px; font-size: 15px; color: var(--text-dim);
  position: relative; transition: color .2s;
}
.main-nav a:hover { color: var(--cyan); }
.main-nav a.active { color: #fff; background: rgba(59, 130, 246, .16); }
.main-nav a.active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%);
  width: 22px; height: 2px; border-radius: 2px; background: var(--grad);
}

.header-cta { margin-left: 4px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--cyan); border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 640px; display: flex; align-items: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(180deg, rgba(6,11,24,.68) 0%, rgba(6,11,24,.5) 38%, rgba(6,11,24,.92) 100%),
    url('../images/hero-bg.jpg') center / cover no-repeat;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.hero-glow-1 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(34,211,238,.35), transparent 65%); top: -120px; right: 8%; }
.hero-glow-2 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(139,92,246,.3), transparent 65%); bottom: -140px; left: 4%; }
.hero-nodes { position: absolute; inset: 0; }

.hero-inner { position: relative; z-index: 2; padding: 90px 0 130px; }
.hero-content { max-width: 760px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px; font-size: 13px; color: var(--cyan);
  background: rgba(34, 211, 238, .1); border: 1px solid rgba(34, 211, 238, .35);
  margin-bottom: 24px; animation: fadeUp .8s ease both;
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse 2s infinite; }

.hero-title { font-size: clamp(34px, 5vw, 56px); font-weight: 800; line-height: 1.28; letter-spacing: 1px; color: #fff; animation: fadeUp .8s .1s ease both; }
.hero-sub { margin: 22px 0 34px; font-size: 17px; color: var(--text-dim); max-width: 640px; animation: fadeUp .8s .2s ease both; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeUp .8s .3s ease both; }

.hero-stats { display: flex; gap: 42px; margin-top: 56px; flex-wrap: wrap; animation: fadeUp .8s .4s ease both; }
.hstat strong { display: block; font-size: 30px; font-weight: 800; color: #fff; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hstat span { font-size: 13px; color: var(--text-faint); }

.hero-wave {
  position: absolute; bottom: -1px; left: 0; right: 0; height: 70px; z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(10, 18, 36, .9));
}

/* ---------- Section 通用 ---------- */
.section { padding: 84px 0; position: relative; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-tag {
  display: inline-block; font-size: 12px; letter-spacing: 3px; color: var(--cyan);
  padding: 5px 14px; border: 1px solid rgba(34,211,238,.4); border-radius: 999px; margin-bottom: 16px;
  background: rgba(34,211,238,.07);
}
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; color: #fff; margin-bottom: 14px; }
.section-head p { color: var(--text-dim); font-size: 15px; }
.section-head.light h2 { color: #fff; }
.section-more { text-align: center; margin-top: 44px; }

/* ---------- 分类卡片 ---------- */
.section-cats { padding: 56px 0 20px; }
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.cat-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 20px; text-align: center; transition: all .3s ease; position: relative; overflow: hidden;
}
.cat-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s;
  background: radial-gradient(circle at 50% 0%, rgba(59,130,246,.22), transparent 70%);
}
.cat-card:hover { transform: translateY(-6px); border-color: var(--cyan); box-shadow: var(--glow); }
.cat-card:hover::before { opacity: 1; }
.cat-icon { font-size: 34px; margin-bottom: 12px; }
.cat-card h3 { font-size: 15px; color: #fff; margin-bottom: 8px; }
.cat-card p { font-size: 12px; color: var(--text-faint); margin-bottom: 12px; line-height: 1.6; }
.cat-link { font-size: 13px; color: var(--cyan); }

/* ---------- 核心优势 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; transition: all .3s ease;
}
.feature-card:hover { transform: translateY(-6px); border-color: var(--cyan); box-shadow: var(--glow); }
.f-icon {
  width: 58px; height: 58px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: rgba(59,130,246,.14); color: var(--cyan); border: 1px solid rgba(34,211,238,.3);
  margin-bottom: 20px; box-shadow: 0 0 18px rgba(34,211,238,.15);
}
.feature-card h3 { font-size: 18px; color: #fff; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-dim); }

/* ---------- 产品卡片 ---------- */
.section-products { background: linear-gradient(180deg, transparent, rgba(16,26,53,.5), transparent); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 16px;
  transition: all .3s ease; position: relative; overflow: hidden;
}
.product-card::after {
  content: ""; position: absolute; top: 0; left: -100%; width: 100%; height: 2px;
  background: var(--grad); transition: left .5s ease;
}
.product-card:hover { transform: translateY(-6px); border-color: var(--cyan); box-shadow: var(--glow); }
.product-card:hover::after { left: 0; }
.pc-head h3 { font-size: 16px; color: #fff; margin-bottom: 6px; line-height: 1.4; }
.pc-loc { font-size: 12px; color: var(--text-faint); }
.pc-specs { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.spec { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding-bottom: 8px; border-bottom: 1px dashed rgba(56,130,246,.18); }
.spec span { color: var(--text-faint); flex-shrink: 0; }
.spec strong { color: var(--text); text-align: right; font-weight: 500; }
.pc-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.mini-tag { font-size: 11px; color: var(--cyan); background: rgba(34,211,238,.1); border: 1px solid rgba(34,211,238,.3); padding: 2px 9px; border-radius: 999px; }
.pc-foot { display: flex; align-items: flex-end; justify-content: space-between; }
.pc-price { color: #fbbf24; font-size: 13px; }
.pc-price strong { font-size: 26px; font-weight: 800; color: #fbbf24; }
.pc-btn {
  font-size: 13px; padding: 8px 16px; border-radius: 8px; color: #fff;
  background: var(--grad); box-shadow: 0 4px 14px rgba(59,130,246,.4);
}
.pc-tag {
  position: absolute; top: 14px; right: -30px; transform: rotate(45deg);
  background: linear-gradient(90deg, #f59e0b, #ef4444); color: #fff;
  font-size: 11px; font-weight: 700; padding: 4px 34px; letter-spacing: 1px;
}

/* ---------- 机房线路 ---------- */
.section-idc {
  background:
    linear-gradient(180deg, rgba(10,18,36,.88), rgba(6,11,24,.94)),
    url('../images/idc-bg.jpg') center / cover no-repeat;
}
.idc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.idc-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; text-align: center; transition: all .3s ease;
}
.idc-card:hover { transform: translateY(-6px); border-color: var(--cyan); box-shadow: var(--glow); }
.idc-map {
  height: 110px; border-radius: 10px; margin-bottom: 18px; position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(59,130,246,.25), transparent 60%),
    linear-gradient(rgba(34,211,238,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,211,238,.12) 1px, transparent 1px);
  background-size: auto, 18px 18px, 18px 18px;
}
.idc-map::before, .idc-map::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 2px; height: 100%; background: linear-gradient(transparent, rgba(34,211,238,.5), transparent);
}
.idc-map::after { width: 100%; height: 2px; }
.idc-node {
  position: absolute; top: 50%; left: 50%; width: 12px; height: 12px; border-radius: 50%;
  background: var(--cyan); transform: translate(-50%, -50%);
  box-shadow: 0 0 0 0 rgba(34, 211, 238, .6); animation: ping 2s infinite;
}
.idc-node::after {
  content: attr(data-city); position: absolute; top: -26px; left: 50%; transform: translateX(-50%);
  font-size: 11px; color: var(--cyan); white-space: nowrap;
}
.idc-card h3 { font-size: 16px; color: #fff; margin-bottom: 6px; }
.idc-card p { font-size: 13px; color: var(--text-dim); margin-bottom: 8px; }
.idc-line { font-size: 12px; color: var(--cyan); }

/* ---------- 解决方案 ---------- */
.sol-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.sol-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; position: relative; overflow: hidden; transition: all .3s ease;
}
.sol-card:hover { transform: translateY(-6px); border-color: var(--violet); box-shadow: 0 0 24px rgba(139,92,246,.3); }
.sol-num { position: absolute; top: 10px; right: 18px; font-size: 52px; font-weight: 800; color: rgba(59,130,246,.14); }
.sol-card h3 { font-size: 17px; color: #fff; margin-bottom: 8px; position: relative; }
.sol-card p { font-size: 13px; color: var(--text-dim); margin-bottom: 14px; position: relative; }
.sol-card ul { position: relative; }
.sol-card li { font-size: 13px; color: var(--cyan); padding: 3px 0; }
.sol-card li::before { content: "▸ "; }

/* ---------- 服务流程 ---------- */
.section-flow { background: linear-gradient(180deg, var(--bg-deep), var(--bg-dark)); }
.flow-grid { display: flex; align-items: flex-start; justify-content: center; gap: 0; }
.flow-step { text-align: center; flex: 1; max-width: 260px; padding: 0 12px; }
.flow-icon {
  width: 66px; height: 66px; margin: 0 auto 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 800; color: #fff;
  background: var(--grad); box-shadow: 0 0 28px rgba(59,130,246,.5);
}
.flow-step h3 { font-size: 17px; color: #fff; margin-bottom: 8px; }
.flow-step p { font-size: 13px; color: var(--text-dim); }
.flow-line { flex: .8; height: 2px; margin-top: 33px; background: linear-gradient(90deg, transparent, rgba(34,211,238,.5), transparent); }

/* ---------- 新闻 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; gap: 12px; transition: all .3s ease;
}
.news-card:hover { transform: translateY(-6px); border-color: var(--cyan); box-shadow: var(--glow); }
.news-meta { display: flex; justify-content: space-between; align-items: center; }
.news-cat { font-size: 12px; color: var(--cyan); background: rgba(34,211,238,.1); border: 1px solid rgba(34,211,238,.3); padding: 2px 10px; border-radius: 999px; }
.news-date { font-size: 12px; color: var(--text-faint); }
.news-card h3 { font-size: 16px; color: #fff; line-height: 1.5; }
.news-card p { font-size: 13px; color: var(--text-dim); flex: 1; }
.news-more { font-size: 13px; color: var(--cyan); }

/* ---------- CTA ---------- */
.section-cta { padding: 60px 0; }
.cta-box {
  position: relative; text-align: center; padding: 56px 40px; border-radius: 20px; overflow: hidden;
  background:
    linear-gradient(135deg, rgba(30,58,138,.5), rgba(10,18,36,.9)),
    url('../images/cta-bg.jpg') center / cover no-repeat;
  border: 1px solid var(--border-light);
}
.cta-glow { position: absolute; width: 400px; height: 400px; border-radius: 50%; filter: blur(100px); background: radial-gradient(circle, rgba(34,211,238,.3), transparent 65%); top: -160px; left: 50%; transform: translateX(-50%); }
.cta-box h2 { font-size: clamp(24px, 3vw, 32px); color: #fff; font-weight: 800; margin-bottom: 14px; position: relative; }
.cta-box p { color: var(--text-dim); margin-bottom: 28px; position: relative; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ---------- 内页横幅 ---------- */
.page-banner {
  position: relative; padding: 76px 0 64px; text-align: center; overflow: hidden;
  background: linear-gradient(180deg, var(--bg-dark), var(--bg-deep));
}
.page-banner-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,18,36,.78), rgba(6,11,24,.9)),
    url('../images/banner-bg.jpg') center / cover no-repeat;
}
.page-banner-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,.09) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 80%);
}
.page-banner h1 { font-size: clamp(28px, 4vw, 40px); color: #fff; font-weight: 800; position: relative; margin-bottom: 10px; }
.page-banner p { color: var(--text-dim); font-size: 15px; position: relative; margin-bottom: 18px; }
.breadcrumb { position: relative; font-size: 13px; color: var(--text-faint); }
.breadcrumb a { color: var(--cyan); }
.breadcrumb span { margin: 0 6px; }

/* ---------- 筛选 ---------- */
.section-filter { padding: 36px 0 0; }
.filter-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 26px; }
.filter-row { display: flex; gap: 16px; margin-bottom: 14px; align-items: flex-start; }
.filter-row:last-of-type { margin-bottom: 18px; }
.filter-row label { flex-shrink: 0; font-size: 14px; color: var(--text-dim); padding-top: 6px; width: 64px; }
.filter-opts { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-opts a {
  font-size: 13px; color: var(--text-dim); padding: 6px 16px; border-radius: 999px;
  border: 1px solid var(--border); transition: all .2s;
}
.filter-opts a:hover { color: var(--cyan); border-color: var(--cyan); }
.filter-opts a.on { color: #fff; background: var(--grad); border-color: transparent; }
.filter-search { display: flex; gap: 10px; }
.filter-search input {
  flex: 1; max-width: 380px; background: rgba(10,18,36,.8); border: 1px solid var(--border);
  border-radius: 8px; padding: 11px 16px; color: var(--text); font-size: 14px; outline: none;
}
.filter-search input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34,211,238,.15); }

/* ---------- 列表页 ---------- */
.section-list { padding-top: 40px; }
.list-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 26px; flex-wrap: wrap; }
.list-head h2 { font-size: 22px; color: #fff; }
.list-head p { font-size: 13px; color: var(--text-faint); }
.empty-box {
  text-align: center; padding: 60px 20px; color: var(--text-dim);
  background: var(--bg-card); border: 1px dashed var(--border); border-radius: var(--radius);
}
.empty-box a { color: var(--cyan); }

/* ---------- 分页 ---------- */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 44px; }
.pagination a {
  min-width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: 8px; border: 1px solid var(--border); color: var(--text-dim); font-size: 14px; transition: all .2s;
}
.pagination a:hover { color: var(--cyan); border-color: var(--cyan); }
.pagination a.on { background: var(--grad); color: #fff; border-color: transparent; }
.pagination a.disabled { opacity: .4; pointer-events: none; }

/* ---------- 租用须知 ---------- */
.section-note { padding-top: 20px; }
.note-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.note-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.note-item h3 { font-size: 16px; color: #fff; margin-bottom: 10px; }
.note-item p { font-size: 13px; color: var(--text-dim); }

/* ---------- 详情页 ---------- */
.section-detail { padding-top: 40px; }
.detail-grid { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.detail-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.detail-head { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.detail-head h2 { font-size: 24px; color: #fff; margin-bottom: 12px; }
.detail-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.detail-price { text-align: right; }
.price-symbol { color: #fbbf24; font-size: 18px; }
.detail-price strong { font-size: 40px; color: #fbbf24; font-weight: 800; }
.price-unit { color: var(--text-dim); font-size: 14px; }
.price-year { color: var(--text-faint); font-size: 13px; margin-top: 4px; }

.detail-specs, .detail-desc { margin-top: 28px; }
.detail-specs h3, .detail-desc h3, .detail-related h3 { font-size: 18px; color: #fff; margin-bottom: 16px; padding-left: 12px; border-left: 3px solid var(--cyan); }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table td { padding: 12px 14px; font-size: 14px; border-bottom: 1px solid rgba(56,130,246,.12); }
.td-label { width: 110px; color: var(--text-faint); background: rgba(59,130,246,.06); border-radius: 6px 0 0 6px; }
.desc-content { color: var(--text-dim); font-size: 14px; line-height: 2; }
.detail-related { margin-top: 36px; }
.detail-related .product-grid { grid-template-columns: repeat(2, 1fr); margin-top: 18px; }

/* 下单侧栏 */
.detail-side { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 20px; }
.order-box { background: var(--bg-card-solid); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.order-box h3 { font-size: 18px; color: #fff; margin-bottom: 6px; }
.order-tip { font-size: 13px; color: var(--text-faint); margin-bottom: 20px; }
.order-form { display: flex; flex-direction: column; gap: 16px; }
.form-group label { display: block; font-size: 13px; color: var(--text-dim); margin-bottom: 8px; }
.form-group input[type="text"], .form-group input[type="tel"], .form-group input[type="email"], .form-group textarea {
  width: 100%; background: rgba(10,18,36,.8); border: 1px solid var(--border); border-radius: 8px;
  padding: 11px 14px; color: var(--text); font-size: 14px; outline: none; transition: border-color .2s; font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34,211,238,.15); }
.form-group textarea { resize: vertical; }
.duration-opts { display: flex; gap: 8px; }
.dur {
  flex: 1; text-align: center; padding: 9px 0; border-radius: 8px; cursor: pointer;
  border: 1px solid var(--border); font-size: 13px; color: var(--text-dim); transition: all .2s; display: block;
}
.dur input { display: none; }
.dur:has(input:checked) { background: rgba(59,130,246,.2); color: #fff; border-color: var(--cyan); }
.form-error { background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.4); color: #fca5a5; font-size: 13px; padding: 10px 14px; border-radius: 8px; margin-bottom: 14px; }
.order-contact { font-size: 13px; color: var(--text-faint); text-align: center; margin-top: 6px; }
.order-contact a { color: var(--cyan); }

.order-success { text-align: center; padding: 20px 0; }
.os-icon {
  width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; font-size: 30px;
  display: flex; align-items: center; justify-content: center; color: #fff;
  background: linear-gradient(135deg, #10b981, #22d3ee); box-shadow: 0 0 24px rgba(16,185,129,.5);
}
.order-success h4 { font-size: 18px; color: #fff; margin-bottom: 8px; }
.order-success p { font-size: 13px; color: var(--text-dim); }

.side-service { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 26px; }
.side-service h4 { font-size: 15px; color: #fff; margin-bottom: 12px; }
.side-service li { font-size: 13px; color: var(--text-dim); padding: 4px 0; }

/* ---------- 关于页 ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.about-text h2 { font-size: clamp(24px, 3vw, 34px); color: #fff; margin-bottom: 20px; }
.about-text p { color: var(--text-dim); font-size: 15px; margin-bottom: 16px; }
.about-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
.about-metrics div { text-align: center; padding: 18px 8px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; }
.about-metrics strong { display: block; font-size: 22px; color: var(--cyan); }
.about-metrics span { font-size: 12px; color: var(--text-faint); }

.about-visual { position: relative; }
.av-card {
  position: relative; height: 380px; border-radius: 18px; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(10,18,36,.35), rgba(10,18,36,.88)),
    url('../images/rack-bg.jpg') center / cover no-repeat;
  border: 1px solid var(--border-light); display: flex; align-items: flex-end; padding: 30px;
}
.av-glow { position: absolute; width: 300px; height: 300px; border-radius: 50%; filter: blur(90px); background: radial-gradient(circle, rgba(34,211,238,.4), transparent 70%); top: 10%; right: 10%; }
.av-servers { display: none; }
.av-servers { position: absolute; top: 40px; left: 30px; right: 30px; bottom: 70px; display: flex; gap: 14px; justify-content: center; align-items: flex-end; }
.rack {
  width: 84px; height: 240px; border-radius: 8px; position: relative;
  background: linear-gradient(180deg, rgba(17,28,55,.9), rgba(10,18,36,.9));
  border: 1px solid var(--border-light);
  display: flex; flex-direction: column; justify-content: space-evenly; align-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
}
.rack::before {
  content: ""; width: 56px; height: 10px; border-radius: 3px;
  background: linear-gradient(90deg, rgba(34,211,238,.8), rgba(59,130,246,.5));
  box-shadow: 0 0 12px rgba(34,211,238,.7);
}
.rack::after {
  content: ""; width: 56px; height: 10px; border-radius: 3px;
  background: linear-gradient(90deg, rgba(34,211,238,.4), rgba(59,130,246,.3));
}
.rack-2 { height: 200px; }
.rack-3 { height: 170px; }
.av-caption { position: relative; font-size: 13px; letter-spacing: 2px; color: var(--cyan); }

/* ---------- 时间线 ---------- */
.section-timeline { background: linear-gradient(180deg, var(--bg-deep), var(--bg-dark)); }
.timeline { max-width: 760px; margin: 0 auto; position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--cyan), var(--blue), var(--violet)); }
.tl-item { position: relative; padding: 0 0 34px 24px; }
.tl-dot {
  position: absolute; left: -27px; top: 6px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 0 4px rgba(34,211,238,.2), 0 0 16px rgba(34,211,238,.6);
}
.tl-year { font-size: 15px; font-weight: 800; color: var(--cyan); letter-spacing: 1px; }
.tl-card { margin-top: 8px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 18px 22px; }
.tl-card h3 { font-size: 16px; color: #fff; margin-bottom: 6px; }
.tl-card p { font-size: 13px; color: var(--text-dim); }

/* ---------- 资质 ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cert-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 24px; text-align: center; transition: all .3s; }
.cert-card:hover { transform: translateY(-6px); border-color: var(--cyan); box-shadow: var(--glow); }
.cert-icon { font-size: 36px; margin-bottom: 14px; }
.cert-card h3 { font-size: 16px; color: #fff; margin-bottom: 6px; }
.cert-card p { font-size: 13px; color: var(--text-faint); }

/* ---------- 博客布局 ---------- */
.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 30px; align-items: start; }
.blog-main { display: flex; flex-direction: column; gap: 20px; }
.blog-card {
  display: flex; gap: 22px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px; transition: all .3s;
}
.blog-card:hover { transform: translateY(-4px); border-color: var(--cyan); box-shadow: var(--glow); }
.blog-date {
  flex-shrink: 0; width: 72px; height: 72px; border-radius: 12px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; background: rgba(59,130,246,.14); border: 1px solid var(--border-light);
}
.blog-date strong { font-size: 26px; color: var(--cyan); line-height: 1; }
.blog-date span { font-size: 12px; color: var(--text-faint); margin-top: 4px; }
.blog-body { flex: 1; }
.blog-meta { display: flex; gap: 14px; font-size: 12px; color: var(--text-faint); margin-bottom: 8px; }
.blog-cat { color: var(--cyan); }
.blog-body h2 { font-size: 18px; color: #fff; margin-bottom: 8px; line-height: 1.5; }
.blog-body p { font-size: 13px; color: var(--text-dim); margin-bottom: 12px; }
.blog-more { font-size: 13px; color: var(--cyan); }

.blog-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 92px; }
.side-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.side-box h3 { font-size: 16px; color: #fff; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.side-box > a { display: block; font-size: 13px; color: var(--text-dim); padding: 7px 10px; border-radius: 6px; transition: all .2s; }
.side-box > a:hover, .side-box > a.on { color: var(--cyan); background: rgba(34,211,238,.08); }
.side-link { padding: 8px 0 !important; border-bottom: 1px dashed rgba(56,130,246,.15); border-radius: 0 !important; }
.side-product { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.side-product strong { color: #fbbf24; font-size: 13px; flex-shrink: 0; }
.side-cta { text-align: center; }
.side-cta p { font-size: 13px; color: var(--text-faint); margin-bottom: 14px; }

/* ---------- 文章详情 ---------- */
.article { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; }
.article-head { padding-bottom: 24px; border-bottom: 1px solid var(--border); margin-bottom: 28px; }
.article-head h1 { font-size: 28px; color: #fff; line-height: 1.5; margin-bottom: 14px; }
.article-meta { display: flex; gap: 18px; font-size: 13px; color: var(--text-faint); flex-wrap: wrap; }
.article-content { font-size: 15px; color: var(--text-dim); line-height: 2; }
.article-content p { margin-bottom: 16px; }
.article-content b, .article-content strong { color: #fff; }
.article-content h2, .article-content h3 { color: #fff; margin: 24px 0 12px; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info h2 { font-size: 24px; color: #fff; margin-bottom: 26px; }
.c-item { display: flex; gap: 16px; margin-bottom: 22px; }
.c-icon {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(59,130,246,.14); border: 1px solid var(--border-light);
}
.c-item h3 { font-size: 14px; color: var(--text-faint); margin-bottom: 4px; font-weight: 500; }
.c-item p { font-size: 16px; color: #fff; }
.c-item a { color: var(--cyan); }
.c-sub { font-size: 13px !important; color: var(--text-faint) !important; }

.contact-form-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.contact-form-box h2 { font-size: 22px; color: #fff; margin-bottom: 8px; }
.c-tip { font-size: 13px; color: var(--text-faint); margin-bottom: 24px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- 页脚 ---------- */
.site-footer {
  background:
    linear-gradient(180deg, rgba(10,18,36,.94), rgba(5,8,16,.97)),
    url('../images/banner-bg.jpg') center bottom / cover no-repeat;
  border-top: 1px solid var(--border); margin-top: 20px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding: 56px 0 40px; }
.footer-logo { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.footer-logo em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-desc { font-size: 13px; color: var(--text-faint); line-height: 1.9; margin-bottom: 16px; }
.footer-cert { display: flex; flex-wrap: wrap; gap: 8px; }
.cert-item { font-size: 11px; color: var(--text-dim); border: 1px solid var(--border); padding: 3px 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; }
.cert-item i { width: 6px; height: 6px; border-radius: 50%; background: #10b981; box-shadow: 0 0 8px #10b981; }
.footer-col h4 { font-size: 15px; color: #fff; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13px; color: var(--text-faint); padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: var(--cyan); }
.footer-col p { font-size: 13px; color: var(--text-faint); padding: 3px 0; line-height: 1.8; }
.footer-bottom { border-top: 1px solid var(--border); padding: 18px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--text-faint); }

/* ---------- 快捷联系 ---------- */
.quick-contact { position: fixed; right: 20px; bottom: 100px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.qc-item {
  width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--bg-card-solid); border: 1px solid var(--border-light); color: var(--cyan);
  transition: all .25s; box-shadow: var(--shadow);
}
.qc-item:hover { transform: translateY(-3px); box-shadow: var(--glow); background: rgba(59,130,246,.25); }
.qc-top { opacity: 0; pointer-events: none; }
.qc-top.show { opacity: 1; pointer-events: auto; }

/* ---------- 动画 ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(34,211,238,.6); } 80% { box-shadow: 0 0 0 16px rgba(34,211,238,0); } 100% { box-shadow: 0 0 0 0 rgba(34,211,238,0); } }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .idc-grid, .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-side { position: static; }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed; top: 72px; left: 0; right: 0; bottom: 0; z-index: 99;
    background: rgba(6,11,24,.98); flex-direction: column; padding: 30px 6%;
    gap: 6px; transform: translateX(100%); transition: transform .3s ease; overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 17px; padding: 14px 8px; border-bottom: 1px solid rgba(56,130,246,.12); }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .hero { min-height: 560px; }
  .hero-stats { gap: 22px; }
  .hstat strong { font-size: 24px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .product-grid, .idc-grid, .sol-grid, .news-grid, .note-grid { grid-template-columns: 1fr; }
  .flow-grid { flex-direction: column; align-items: center; gap: 30px; }
  .flow-line { width: 2px; height: 30px; flex: none; margin: 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .filter-row { flex-direction: column; gap: 8px; }
  .detail-card, .article { padding: 22px; }
  .detail-price strong { font-size: 32px; }
  .about-metrics { grid-template-columns: repeat(2, 1fr); }
}
