/* ============================================================
   网络办公设备维修服务中心 - 全站样式
   风格参考 marketingforce.com：紫蓝渐变、大圆角、浅紫背景
   ============================================================ */

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

html, body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  color: #2b2b3a;
  background: linear-gradient(135deg, #f0f2ff 0%, #f8f6ff 55%, #f3f1ff 100%);
  line-height: 1.7;
}

a { color: #5e66d8; text-decoration: none; transition: color .2s ease; }
a:hover { color: #9c89ff; }

img { max-width: 100%; display: block; border: 0; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 18px; }

/* ---------- 顶部电话条 ---------- */
.topbar {
  background: linear-gradient(131deg, rgba(91,148,255,1) 0%, rgba(144,80,233,1) 100%);
  color: #fff;
  font-size: 13px;
  padding: 7px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px 16px; }
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: #ffe9a8; }
.topbar .tel { font-size: 16px; letter-spacing: .5px; }
.topbar .tel b { font-size: 18px; }

/* ---------- Banner ---------- */
.banner {
  background: linear-gradient(131deg, #2b75eb 0%, #5e7df9 48%, #9c89ff 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 34px;
  padding-bottom: 34px;
}
.banner-img { max-width: 660px; width: 100%; border-radius: 18px; box-shadow: 0 16px 40px rgba(30, 30, 120, .28); }
.banner h1 { font-size: 34px; font-weight: 700; line-height: 1.35; margin-bottom: 10px; }
.banner h1 span { color: #ffe9a8; }
.banner p { font-size: 15px; opacity: .95; margin-bottom: 20px; max-width: 460px; }
.banner .banner-tel {
  display: inline-block;
  background: linear-gradient(135deg, #ffe65c, #ffb84d);
  color: #3a2b6e;
  font-size: 26px;
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 45px;
  box-shadow: 0 10px 26px rgba(60, 30, 130, .35);
  letter-spacing: 1px;
}

/* ---------- 导航条 ---------- */
.navbar { background: #ffffff; box-shadow: 0 4px 18px rgba(91, 120, 255, .12); position: sticky; top: 0; z-index: 99; }
.navbar .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; }
.logo { display: flex; align-items: center; gap: 10px; padding: 10px 0; }
.logo img { height: 34px; width: auto; }
.logo .logo-text { font-size: 18px; font-weight: 700; color: #2b3a8e; }
.logo .logo-text small { display: block; font-size: 11px; font-weight: 400; color: #8a8fae; line-height: 1.3; }
.nav { display: flex; list-style: none; flex-wrap: wrap; gap: 2px; }
.nav li a {
  display: block;
  padding: 9px 18px;
  border-radius: 24px;
  font-size: 15px;
  color: #4a4f7a;
  font-weight: 600;
}
.nav li a:hover, .nav li a.active { background: linear-gradient(131deg, #5e7df9, #9c89ff); color: #fff; }

/* ---------- 页面区块 ---------- */
.section { padding: 34px 0 8px; }
.section-title { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.section-title .bar { width: 6px; height: 26px; border-radius: 6px; background: linear-gradient(180deg, #5e7df9, #9c89ff); }
.section-title h2 { font-size: 24px; color: #2b3a8e; font-weight: 700; }
.section-title .en { font-size: 12px; color: #9aa0c3; letter-spacing: 2px; text-transform: uppercase; margin-top: 4px; }
.section-desc { color: #6a6f96; margin-bottom: 18px; font-size: 14px; }

/* 卡片 */
.card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 26px rgba(80, 90, 200, .10);
  padding: 20px;
  border: 1px solid rgba(94, 125, 249, .08);
}
.grid { display: grid; gap: 16px; }
.grid-5 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

/* 型号卡片 */
.model-card { text-align: center; transition: transform .2s ease, box-shadow .2s ease; }
.model-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(80, 90, 200, .18); }
.model-card .thumb {
  width: 100%; height: 150px;
  background: linear-gradient(135deg, #f4f6ff, #faf9ff);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid #eceef9;
}
.model-card .thumb img { max-height: 138px; object-fit: contain; }
.model-card .mname { font-size: 15px; font-weight: 700; color: #2b3a8e; word-break: break-all; }
.model-card .mlink a { font-size: 12px; color: #8a8fae; }

/* 链接墙 */
.linkwall { display: flex; flex-wrap: wrap; gap: 10px; }
.linkwall a {
  background: #ffffff;
  border: 1px solid #dfe3fb;
  border-radius: 22px;
  padding: 6px 16px;
  font-size: 13px;
  color: #4a55b8;
  box-shadow: 0 3px 10px rgba(90, 100, 220, .08);
  transition: all .2s ease;
}
.linkwall a:hover { background: linear-gradient(131deg, #5e7df9, #9c89ff); color: #fff; border-color: transparent; transform: translateY(-2px); }

/* 列表 */
.fault-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; }
.fault-list li { background: #fff; border-radius: 12px; border: 1px solid #e6e9fb; padding: 10px 16px; display: flex; align-items: center; gap: 10px; }
.fault-list .no {
  flex: 0 0 34px; height: 34px;
  background: linear-gradient(131deg, #5e7df9, #9c89ff);
  color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px;
}
.fault-list a { color: #3a3f6b; font-weight: 600; }
.fault-list a:hover { color: #5e7df9; }

/* ---------- CTA 大按钮 ---------- */
.cta-box {
  background: linear-gradient(131deg, rgba(91,148,255,1) 0%, rgba(144,80,233,1) 100%);
  border-radius: 20px;
  padding: 34px;
  color: #fff;
  text-align: center;
  margin: 30px 0;
  box-shadow: 0 16px 40px rgba(91, 100, 230, .30);
}
.cta-box h3 { font-size: 24px; margin-bottom: 8px; }
.cta-box p { opacity: .95; margin-bottom: 18px; }
.btn {
  display: inline-block;
  background: #ffffff;
  color: #4a3bb5;
  font-size: 16px;
  font-weight: 700;
  padding: 13px 44px;
  border-radius: 45px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(30, 30, 120, .22);
  transition: all .2s ease;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(30, 30, 120, .32); color: #5e7df9; }
.btn-tel { background: linear-gradient(135deg, #ffe65c, #ffb84d); color: #3a2b6e; font-size: 20px; letter-spacing: 1px; }

/* ---------- 站点简介 ---------- */
.intro-box { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.intro-box .intro-img { flex: 1 1 360px; border-radius: 16px; overflow: hidden; box-shadow: 0 12px 30px rgba(80, 90, 200, .18); }
.intro-box .intro-text { flex: 1 1 420px; }
.intro-box .intro-text h3 { font-size: 22px; color: #2b3a8e; margin-bottom: 10px; }
.intro-box .intro-text p { color: #565b82; margin-bottom: 10px; }
.feature-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 16px; }
.feature { background: #fff; border-radius: 14px; border: 1px solid #e6e9fb; padding: 16px; text-align: center; }
.feature .fi { font-size: 26px; }
.feature b { display: block; color: #2b3a8e; margin-top: 6px; font-size: 15px; }
.feature span { font-size: 12px; color: #8a8fae; }

/* ---------- 子页内容 ---------- */
.breadcrumb { font-size: 13px; color: #8a8fae; padding: 16px 0 4px; }
.breadcrumb a { color: #5e7df9; }
.content-main { background: #fff; border-radius: 16px; box-shadow: 0 8px 26px rgba(80, 90, 200, .10); padding: 26px; margin: 14px 0 30px; }
.content-main h1 { font-size: 26px; color: #2b3a8e; margin-bottom: 14px; }
.content-main h2 { font-size: 19px; color: #4a3bb5; margin: 22px 0 10px; border-left: 4px solid #9c89ff; padding-left: 12px; }
.content-main p { margin-bottom: 10px; color: #464b73; }
.content-main ul { margin: 0 0 14px 20px; color: #464b73; }
.content-main li { margin-bottom: 6px; }
.product-box { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 18px; }
.product-box .p-img { flex: 0 1 340px; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, #f4f6ff, #faf9ff); border: 1px solid #eceef9; display: flex; align-items: center; justify-content: center; padding: 14px; }
.product-box .p-img img { max-height: 220px; object-fit: contain; }
.product-box .p-info { flex: 1 1 320px; }
.product-box .p-info table { width: 100%; border-collapse: collapse; }
.product-box .p-info td { padding: 8px 10px; border-bottom: 1px dashed #e6e9fb; font-size: 14px; }
.product-box .p-info td:first-child { color: #8a8fae; width: 130px; }
.tip-box { background: linear-gradient(135deg, #f4f6ff, #faf9ff); border: 1px solid #dfe3fb; border-radius: 12px; padding: 16px 18px; margin: 16px 0; }
.tip-box b { color: #4a3bb5; }
.contact-mini { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0; }
.contact-mini a { background: linear-gradient(131deg, #5e7df9, #9c89ff); color: #fff; border-radius: 24px; padding: 8px 22px; font-size: 14px; font-weight: 600; }
.contact-mini a:hover { opacity: .9; filter: brightness(1.05); color: #fff; }

/* ---------- 页脚 ---------- */
.footer { background: linear-gradient(160deg, #2b2e5e 0%, #23264e 60%, #1d2045 100%); color: #b9bce0; margin-top: 40px; padding: 34px 0 26px; }
.footer .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 12px; }
.footer p, .footer a { font-size: 13px; color: #b9bce0; }
.footer a:hover { color: #ffe9a8; }
.footer .ftel { font-size: 22px; color: #ffe65c; font-weight: 700; }
.copyright { text-align: center; font-size: 12px; color: #8a90b8; margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); }

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
  .banner h1 { font-size: 24px; }
  .banner .banner-tel { font-size: 20px; padding: 10px 20px; }
  .nav li a { padding: 7px 12px; font-size: 13px; }
  .grid-5, .grid-4 { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .content-main { padding: 18px; }
  .content-main h1 { font-size: 21px; }
  .section-title h2 { font-size: 20px; }
}

/* ---------- 打印 ---------- */
@media print {
  .navbar, .topbar, .cta-box, .footer, .contact-mini { display: none; }
  body { background: #fff; }
  .content-main { box-shadow: none; border: 1px solid #ddd; }
}