/* ===== 仿紫云风格完整样式表 - 紫底主色 ===== */
:root {
 --pri: #5b3cc4;
 --pri-light: #8870e8;
 --pri-dark: #3a258f;
 --pri-hover: #7458d4;
 --pri-bg: #f5f3ff;
 --pri-border: #d8d0f5;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif; color: #333; font-size: 14px; background: #fff; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
ul, li { list-style: none; }
img { border: 0; vertical-align: middle; max-width: 100%; }
button { cursor: pointer; border: 0; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; outline: none; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.clearfix::after { content: ""; display: block; clear: both; }

/* ========== 顶部导航 ========== */
.nav-bar {
 width: 100%; height: 72px;
 background: #1a1a1a;
 color: #fff;
 position: relative; z-index: 100;
 box-shadow: 0 2px 4px rgba(0,0,0,.1);
}
.nav-bar .wrap { display: flex; align-items: center; height: 72px; }
.nav-bar .logo img { height: 52px; }
.nav-bar .logo { display: flex; align-items: center; margin-right: 30px; }

.nav-bar .main-nav { display: flex; align-items: center; }
.nav-bar .main-nav > li { position: relative; }
.nav-bar .main-nav > li > a {
 display: flex; align-items: center; height: 72px;
 padding: 0 22px; font-size: 15px; color: #fff; position: relative;
 transition: color .2s;
}
.nav-bar .main-nav > li > a::after {
 content: ""; position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
 width: 0; height: 2px; background: var(--pri-light); transition: width .3s;
}
.nav-bar .main-nav > li > a:hover, .nav-bar .main-nav > li.active > a { color: var(--pri-light); }
.nav-bar .main-nav > li > a:hover::after, .nav-bar .main-nav > li.active > a::after { width: 60%; }
.nav-bar .main-nav .caret { font-size: 10px; margin-left: 4px; opacity: .7; }

.nav-bar .sub {
 position: absolute; top: 100%; left: 0; min-width: 200px;
 background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.1); display: none; padding: 8px 0; z-index: 99;
}
.nav-bar .main-nav > li:hover .sub { display: block; }
.nav-bar .sub li a {
 display: block; padding: 10px 18px; font-size: 14px; color: #333; transition: all .2s;
}


.nav-bar .right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-bar .right a { font-size: 14px; color: #fff; padding: 0 12px; }
.nav-bar .right a:hover { color: var(--pri-light); }
.nav-bar .right .btn { background: var(--pri); color: #fff !important; padding: 8px 18px; border-radius: 4px; }
.nav-bar .right .btn:hover { background: var(--pri-hover); }

/* ========== Hero 区 ========== */
.hero {
 width: 100%; height: 480px; position: relative; overflow: hidden;
 background: linear-gradient(135deg, #f3f1ff 0%, #e8e3ff 50%, #f8f6ff 100%);
}
.hero::before {
 content: ""; position: absolute; right: -100px; top: 0; width: 700px; height: 100%;
 background: radial-gradient(circle at center, rgba(91,60,196,.12) 0%, transparent 70%);
}
.hero .slide {
 position: absolute; inset: 0; padding: 90px 0 0;
 opacity: 0; transition: opacity 1s; display: none;
}
.hero .slide.on { opacity: 1; display: block; }
.hero .slide .container { width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; }
.hero .tag { display: inline-block; padding: 6px 18px; border: 1px solid var(--pri); color: var(--pri); border-radius: 4px; font-size: 14px; margin-bottom: 18px; }
.hero h1 { font-size: 56px; color: #1a1a1a; font-weight: bold; line-height: 1.1; margin-bottom: 24px; }
.hero .desc { font-size: 16px; color: #555; max-width: 600px; line-height: 1.8; margin-bottom: 36px; }
.hero .desc .gray { color: #888; }
.hero .cta { display: inline-block; padding: 14px 42px; background: var(--pri); color: #fff; border-radius: 4px; font-size: 16px; transition: all .3s; }
.hero .cta:hover { background: var(--pri-hover); }
.hero .cta-sec { background: transparent; border: 2px solid var(--pri); color: var(--pri); margin-left: 14px; }
.hero .cta-sec:hover { background: var(--pri); color: #fff; }

.hero-features { display: flex; gap: 12px; margin-bottom: 32px; flex-wrap: wrap; }
.hero-features span {
 display: inline-flex; align-items: center; gap: 4px;
 padding: 6px 14px; background: rgba(91,60,196,.08); color: var(--pri);
 border-radius: 20px; font-size: 13px; font-weight: 600;
}
.hero-actions { display: flex; align-items: center; }

.hero .side-art {
 position: absolute; right: 80px; top: 50%; transform: translateY(-50%);
 width: 400px; height: 320px; display: flex; align-items: center; justify-content: center;
}
.hero-side-svg { width: 100%; height: 100%; max-width: 360px; max-height: 320px; }

.hero .dots {
 position: absolute; left: 50%; transform: translateX(-50%); bottom: 40px;
 display: flex; gap: 10px;
}
.hero .dots i {
 display: block; width: 30px; height: 4px; background: var(--pri); opacity: .3; cursor: pointer;
}
.hero .dots i.on { opacity: 1; height: 4px; }

.hero .arrows button {
 position: absolute; top: 50%; transform: translateY(-50%);
 width: 50px; height: 50px; background: rgba(255,255,255,.9); border-radius: 50%;
 font-size: 24px; color: var(--pri); display: none;
}
.hero:hover .arrows button { display: block; }

/* ========== 全局通用 section ========== */
.section { padding: 80px 0; }
.section.gray { background: #fafafa; }
.section.purple { background: linear-gradient(135deg, #5b3cc4 0%, #8870e8 100%); color: #fff; }
.section.purple .title { color: #fff; }
.section.purple .desc { color: rgba(255,255,255,.85); }
.section.lavender { background: linear-gradient(135deg, #f5f3ff 0%, #fff 100%); }

.title { font-size: 32px; color: #1a1a1a; text-align: center; font-weight: bold; margin-bottom: 14px; }
.title::after { content: ""; display: block; width: 40px; height: 4px; background: var(--pri); margin: 16px auto 0; }
.desc { text-align: center; color: #888; font-size: 14px; margin-top: 14px; }
.desc .more-link { color: var(--pri); margin-left: 14px; }

/* ========== 产品卡 6 列(响应4列变3列) ========== */
.zys-product-grid {
 display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px;
}
.zys-pcard {
 background: linear-gradient(135deg, #f8f6ff 0%, #fff 60%);
 border-radius: 10px; padding: 36px 28px; transition: all .3s;
 display: flex; flex-direction: column; gap: 14px; min-height: 280px; position: relative;
}
.zys-pcard:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(91,60,196,.15); }
.zys-pcard .ico {
 width: 56px; height: 56px; border-radius: 12px;
 background: linear-gradient(135deg, var(--pri) 0%, var(--pri-light) 100%);
 color: #fff; display: flex; align-items: center; justify-content: center;
 font-size: 28px; box-shadow: 0 6px 16px rgba(91,60,196,.25);
}
.zys-pcard .name { font-size: 18px; color: #1a1a1a; font-weight: bold; margin-top: 8px; }
.zys-pcard .excerpt { color: #888; font-size: 13px; flex: 1; }
.zys-pcard .price { color: var(--pri); font-size: 14px; }
.zys-pcard .price b { font-size: 22px; }
.zys-pcard .btn {
 align-self: flex-start; padding: 6px 24px; border: 1px solid var(--pri);
 border-radius: 3px; color: var(--pri); font-size: 14px; transition: all .2s;
}
.zys-pcard:hover .btn { background: var(--pri); color: #fff; }

/* ========== 全球基础设施 ========== */
.zys-infra {
 background: linear-gradient(135deg, #2d1f6b 0%, #4a37a8 50%, #6b54d1 100%);
 color: #fff; padding: 90px 0; position: relative; overflow: hidden;
}
.zys-infra::before {
 content: ""; position: absolute; inset: 0;
 background:
  radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,.15), transparent),
  radial-gradient(2px 2px at 40% 70%, rgba(255,255,255,.12), transparent),
  radial-gradient(3px 3px at 60% 20%, rgba(255,255,255,.1), transparent),
  radial-gradient(2px 2px at 80% 80%, rgba(255,255,255,.13), transparent),
  radial-gradient(3px 3px at 10% 60%, rgba(255,255,255,.08), transparent),
  radial-gradient(2px 2px at 70% 40%, rgba(255,255,255,.1), transparent),
  radial-gradient(2px 2px at 90% 10%, rgba(255,255,255,.07), transparent),
  radial-gradient(3px 3px at 50% 90%, rgba(255,255,255,.09), transparent);
 animation: floatDots 8s ease-in-out infinite alternate;
}
@keyframes floatDots {
 0% { transform: translateY(0) scale(1); opacity: .6; }
 100% { transform: translateY(-20px) scale(1.05); opacity: 1; }
}
.zys-infra .title { color: #fff; }
.zys-infra .title::after { background: #fff; }
.zys-infra .desc { color: rgba(255,255,255,.85); }
.zys-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 60px; }
.zys-stat {
 background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 8px;
 padding: 40px 20px; text-align: center; backdrop-filter: blur(10px);
 transition: all .4s cubic-bezier(.4,0,.2,1);
 animation: statFadeIn .8s ease backwards;
}
.zys-stat:hover {
 transform: translateY(-8px);
 background: rgba(255,255,255,.16);
 border-color: rgba(255,255,255,.4);
 box-shadow: 0 12px 40px rgba(91,60,196,.3);
}
.zys-stat:nth-child(1) { animation-delay: .1s; }
.zys-stat:nth-child(2) { animation-delay: .25s; }
.zys-stat:nth-child(3) { animation-delay: .4s; }
.zys-stat:nth-child(4) { animation-delay: .55s; }
@keyframes statFadeIn {
 from { opacity: 0; transform: translateY(30px); }
 to { opacity: 1; transform: translateY(0); }
}
.zys-stat .n {
 font-size: 50px; font-weight: bold; color: #fff; line-height: 1; margin-bottom: 4px;
 transition: all .3s;
}
.zys-stat:hover .n {
 color: #ffd700;
 text-shadow: 0 0 20px rgba(255,215,0,.4);
}
.zys-stat .n small { font-size: 18px; color: #c2b5f0; margin-left: 4px; }
.zys-stat .d { color: rgba(255,255,255,.85); font-size: 14px; }

.zys-map { max-width: 1000px; margin: 60px auto 0; position: relative; height: 380px; }
.zys-map svg { width: 100%; height: 100%; }

/* map outline drawing animation */
.zys-map svg > path {
 stroke-dasharray: 800;
 stroke-dashoffset: 800;
 animation: drawMap 3s ease forwards;
}
@keyframes drawMap { to { stroke-dashoffset: 0; } }

/* connection lines animation */
.map-lines line {
 stroke-dasharray: 200;
 stroke-dashoffset: 200;
 animation: drawLines 2s ease forwards;
 animation-delay: 1s;
}
@keyframes drawLines { to { stroke-dashoffset: 0; } }

/* node group */
.map-node { cursor: pointer; }
.map-node .node-glow {
 opacity: 0;
 transition: opacity .4s;
}
.map-node:hover .node-glow { opacity: 1; }

.map-node .node-dot {
 fill: #b8aedb;
 transition: all .3s;
 animation: nodePulse 2s ease-in-out infinite;
}
.map-node:nth-child(odd) .node-dot { animation-delay: .2s; }
@keyframes nodePulse {
 0%, 100% { r: 5; opacity: .7; }
 50% { r: 7; opacity: 1; }
}
.map-node:hover .node-dot {
 fill: #ffd700;
 r: 8;
 filter: drop-shadow(0 0 12px rgba(255,215,0,.9));
}

.map-node .node-ring {
 transition: all .4s;
}
.map-node:hover .node-ring {
 stroke: #ffd700;
 opacity: 1;
 r: 16;
 stroke-width: 1.5;
 filter: drop-shadow(0 0 6px rgba(255,215,0,.5));
}

.map-node:hover ~ .map-node .node-ring,
.map-node:hover ~ .map-node .node-dot { }

.node-label {
 pointer-events: none;
 fill: #fff;
 font-size: 11px;
 text-anchor: middle;
 transition: fill .3s;
}
.map-node:hover + .node-label {
 fill: #ffd700;
 font-weight: bold;
}

/* ========== 资质认证 ========== */
.zys-cert-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; margin-top: 60px; }
.zys-cert { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 16px 0; }
.zys-cert .ico { width: 64px; height: 64px; background: linear-gradient(135deg, var(--pri-bg) 0%, #fff 100%); border: 1px solid var(--pri-border); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 32px; color: var(--pri); }
.zys-cert .name { color: #555; font-size: 14px; text-align: center; }

/* ========== 我们的服务 ========== */
.zys-svc { display: grid; grid-template-columns: 220px 1fr; gap: 50px; margin-top: 50px; padding: 30px 0; }
.zys-svc-l .lab { font-size: 16px; color: var(--pri); margin-bottom: 12px; }
.zys-svc-l .big { font-size: 38px; color: var(--pri); font-weight: bold; margin-bottom: 6px; }
.zys-svc-l .big small { font-size: 18px; color: var(--pri-light); }
.zys-svc-r { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.zys-svc-c {
 background: #fff; border-radius: 10px; padding: 30px;
 display: flex; gap: 20px; align-items: center; box-shadow: 0 4px 16px rgba(0,0,0,.04);
}
.zys-svc-c .ico { width: 60px; height: 60px; border-radius: 14px; background: linear-gradient(135deg, var(--pri) 0%, var(--pri-light) 100%); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; flex-shrink: 0; }
.zys-svc-c h4 { font-size: 16px; color: #1a1a1a; margin-bottom: 4px; }
.zys-svc-c p { color: #888; font-size: 13px; }

/* ========== 服务全球客户 ========== */
.zys-clients { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 50px; gap: 20px; }
.zys-client { background: #fff; border-radius: 8px; border: 1px solid #eee; height: 100px; display: flex; align-items: center; justify-content: center; font-weight: bold; color: #444; font-size: 16px; transition: all .3s; }
.zys-client:hover { border-color: var(--pri); color: var(--pri); }

/* ========== 新闻资讯 ========== */
.zys-news-list { display: flex; flex-direction: column; gap: 14px; margin-top: 50px; max-width: 1100px; margin-left: auto; margin-right: auto; }
.zys-news-item { display: flex; align-items: center; padding: 20px 30px; background: var(--pri-bg); border-radius: 6px; transition: all .3s; gap: 30px; }
.zys-news-item:hover { background: #ece6fb; transform: translateX(6px); }
.zys-news-item .t { flex: 1; font-size: 15px; color: #1a1a1a; }
.zys-news-item .d { color: var(--pri); font-size: 13px; white-space: nowrap; }
.zys-news-item .z { color: #888; font-size: 13px; white-space: nowrap; padding-left: 20px; border-left: 1px solid #ccc; }

/* ========== 开始使用 ========== */
.zys-getstart {
 background: linear-gradient(135deg, #f3f1ff 0%, #fff 100%); padding: 80px 0;
 text-align: center;
}
.zys-getstart h2 { font-size: 32px; color: #1a1a1a; margin-bottom: 16px; font-weight: bold; }
.zys-getstart p { color: #888; margin-bottom: 30px; }
.zys-getstart form { display: inline-flex; background: #fff; border-radius: 4px; padding: 6px; gap: 6px; box-shadow: 0 4px 16px rgba(91,60,196,.08); }
.zys-getstart input { border: 0; padding: 12px 18px; width: 300px; font-size: 14px; background: transparent; }
.zys-getstart button { padding: 12px 36px; background: var(--pri); color: #fff; border-radius: 4px; font-size: 15px; }

/* ========== 底部 footer 4 列 ========== */
.zys-footer { background: #fff; border-top: 1px solid #eee; padding: 50px 0 30px; }
.zys-footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1.5fr; gap: 30px; }
.zys-footer-col h3 { font-size: 16px; color: #1a1a1a; margin-bottom: 18px; }
.zys-footer-col li { padding: 6px 0; }
.zys-footer-col li a { color: #666; font-size: 13px; transition: color .2s; }
.zys-footer-col li a:hover { color: var(--pri); }
.zys-footer-brand .logo img { height: 46px; }
.zys-footer-brand .name { color: #888; font-size: 13px; margin-top: 14px; line-height: 1.8; }

.zys-copyright { text-align: center; color: #999; font-size: 12px; padding: 24px 0 0; margin-top: 24px; border-top: 1px solid #f0f0f0; }
.zys-copyright a { color: #999; margin: 0 8px; }
.zys-copyright a:hover { color: var(--pri); }
.zys-copyright p { margin-top: 6px; }

.zys-trust-badges {
 display: flex; justify-content: center; gap: 20px; margin-bottom: 16px; flex-wrap: wrap;
}
.trust-badge {
 display: inline-flex; align-items: center; gap: 5px;
 padding: 5px 12px; border: 1px solid #e0e0e0; border-radius: 4px;
 color: #888; font-size: 11px; background: #fafafa;
}

/* ========== 右侧浮动 ========== */
.float-bar { position: fixed; right: 20px; bottom: 100px; display: flex; flex-direction: column; gap: 8px; z-index: 50; }
.float-bar .fb { width: 50px; height: 50px; background: #fff; border-radius: 50%; box-shadow: 0 4px 12px rgba(0,0,0,.1); display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--pri); cursor: pointer; transition: all .3s; }
.float-bar .fb:hover { background: var(--pri); color: #fff; transform: scale(1.08); }
.back-top { display: none; }
.back-top.on { display: flex; }

/* ========== 内页 ========== */
.page-banner { background: linear-gradient(135deg, #f3f1ff 0%, #fff 100%); padding: 60px 0 50px; text-align: center; }
.page-banner h1 { font-size: 36px; color: #1a1a1a; font-weight: bold; }
.page-banner .crumb { color: #888; margin-top: 14px; font-size: 14px; }
.page-banner .crumb a { color: var(--pri); }

.main-wrap { padding: 50px 0; background: #fafafa; min-height: 500px; }
.main-wrap .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; gap: 24px; }
.main-wrap .side { width: 220px; flex-shrink: 0; }
.main-wrap .side .stit { background: var(--pri); color: #fff; padding: 18px 20px; font-size: 16px; font-weight: bold; border-radius: 8px 8px 0 0; }
.main-wrap .side ul { background: #fff; border-radius: 0 0 8px 8px; box-shadow: 0 4px 16px rgba(0,0,0,.04); }
.main-wrap .side li a { display: block; padding: 14px 20px; color: #333; font-size: 14px; border-bottom: 1px solid #f5f5f5; transition: all .2s; }
.main-wrap .side li:last-child a { border-bottom: 0; }
.main-wrap .side li a:hover, .main-wrap .side li.active a { background: var(--pri-bg); color: var(--pri); padding-left: 26px; }
.main-wrap .main { flex: 1; background: #fff; border-radius: 8px; padding: 36px; box-shadow: 0 4px 16px rgba(0,0,0,.04); }
.main-wrap .main h2 { font-size: 22px; color: #1a1a1a; padding-bottom: 14px; margin-bottom: 22px; border-bottom: 2px solid var(--pri); }
.main-wrap .main p { line-height: 1.9; color: #555; margin-bottom: 14px; }

.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 24px; }
.product-card { background: #fafafa; border-radius: 8px; padding: 24px; border: 1px solid #f0f0f0; transition: all .3s; position: relative; }
.product-card:hover { border-color: var(--pri); box-shadow: 0 6px 20px rgba(91,60,196,.1); }
.product-card .ribbon { position: absolute; top: 10px; right: 10px; background: #ff4444; color: #fff; padding: 2px 10px; border-radius: 10px; font-size: 11px; }
.product-card h3 { font-size: 17px; margin-bottom: 10px; }
.product-card .spec li { line-height: 26px; color: #666; font-size: 13px; }
.product-card .spec li span { color: #333; font-weight: bold; display: inline-block; width: 80px; }
.product-card .foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px dashed #ddd; }
.product-card .price { color: var(--pri); font-size: 14px; }
.product-card .price b { font-size: 22px; }
.product-card button { padding: 7px 22px; background: var(--pri); color: #fff; border-radius: 4px; }

/* 通用按钮 */
.btn { display: inline-block; padding: 10px 24px; background: var(--pri); color: #fff; border-radius: 4px; font-size: 14px; transition: all .2s; cursor: pointer; border: 0; }
.zys-pcard .btn { display: inline-block; padding: 8px 22px; background: var(--pri); color: #fff !important; border: 0; border-radius: 4px; font-size: 14px; font-weight: 600; box-shadow: 0 4px 12px rgba(91,60,196,.15); transition: all .3s; }
.zys-pcard .btn:hover { background: #7458d4; }
.zys-pcard:hover .btn { transform: translateX(2px); }
.btn:hover { background: var(--pri-hover); }
.btn-sec { background: #fff; color: var(--pri); border: 1px solid var(--pri); }
.btn-sec:hover { background: var(--pri); color: #fff; }
.btn-warn { background: #ff6c00; }
.btn-warn:hover { background: #e55e00; }
.btn-sm { padding: 6px 16px; font-size: 13px; }
.btn-lg { padding: 14px 40px; font-size: 16px; }

/* 用户中心/后台通用 */
.user-side { width: 220px; flex-shrink: 0; }
.user-side .uhd { background: linear-gradient(135deg, var(--pri) 0%, var(--pri-light) 100%); color: #fff; padding: 24px; border-radius: 8px 8px 0 0; text-align: center; }
.user-side .uhd .av { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.25); margin: 0 auto 10px; line-height: 64px; font-size: 28px; font-weight: bold; }
.user-side .uhd .nm { font-size: 16px; font-weight: bold; }
.user-side .uhd .bal { font-size: 13px; opacity: .9; margin-top: 6px; }
.user-side .uhd .bal b { color: #fff; font-size: 18px; }
.user-side ul { background: #fff; border-radius: 0 0 8px 8px; box-shadow: 0 4px 16px rgba(0,0,0,.04); }
.user-side ul li a { display: block; padding: 14px 20px; color: #333; font-size: 14px; border-bottom: 1px solid #f5f5f5; transition: all .2s; }
.user-side ul li:last-child a { border-bottom: 0; }
.user-side ul li a:hover, .user-side ul li.active a { background: var(--pri-bg); color: var(--pri); padding-left: 26px; }

.card-soft { background: #fff; border-radius: 8px; padding: 30px; box-shadow: 0 4px 16px rgba(0,0,0,.04); }
.card-soft h3 { font-size: 18px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #f0f0f0; }

.tbl { width: 100%; border-collapse: collapse; }
.tbl th { background: var(--pri-bg); color: var(--pri); padding: 12px 14px; text-align: left; font-weight: bold; font-size: 14px; }
.tbl td { padding: 12px 14px; border-bottom: 1px solid #f0f0f0; font-size: 14px; }
.tbl tr:hover td { background: #fafafa; }
.tbl tr:last-child td { border-bottom: 0; }

.badge { display: inline-block; padding: 2px 8px; border-radius: 3px; font-size: 12px; font-weight: bold; }
.badge-ok { background: #28a745; color: #fff; }
.badge-warn { background: #ffc107; color: #333; }
.badge-err { background: #dc3545; color: #fff; }

.alert { padding: 14px 20px; border-radius: 6px; margin-bottom: 16px; font-size: 14px; }
.alert-ok { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-err { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-info { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }

.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: bold; color: #333; margin-bottom: 6px; font-size: 14px; }
.form-row input, .form-row select, .form-row textarea { width: 100%; padding: 10px 14px; border: 1px solid #e6e6e6; border-radius: 4px; font-size: 14px; }
.form-row input:focus { border-color: var(--pri); box-shadow: 0 0 0 3px rgba(91,60,196,.08); }

/* ========== 响应式 ========== */
@media (max-width: 768px) {
 .wrap { padding: 0 14px; }
 .container { flex-direction: column !important; }
 .side { flex: none !important; width: 100% !important; margin-bottom: 16px; }
 .main { width: 100% !important; }

 /* 导航 */
 .nav-bar { height: auto; min-height: 56px; }
 .nav-bar .wrap { flex-wrap: wrap; height: auto; padding: 10px 14px; }
 .nav-bar .logo img { height: 36px; }
 .nav-bar .main-nav { display: none; width: 100%; flex-direction: column; margin-top: 10px; }
 .nav-bar .main-nav.open { display: flex; }
 .nav-bar .main-nav > li { width: 100%; }
 .nav-bar .main-nav > li > a { height: auto; padding: 12px 14px; }
 .nav-bar .main-nav > li > a::after { display: none; }
 .nav-bar .sub { position: static; box-shadow: none; padding-left: 20px; display: none; }
 .nav-bar .main-nav > li:hover .sub { display: none; }
 .nav-bar .main-nav > li .sub.open { display: block; }
 .nav-bar .right { margin-left: 0; width: 100%; justify-content: center; padding: 8px 0 0; flex-wrap: wrap; }
 .nav-toggle { display: block !important; margin-left: auto; font-size: 24px; cursor: pointer; color: #fff; padding: 6px; background: none; border: 0; line-height: 1; }
 .nav-toggle:focus { outline: none; }

 /* Hero */
 .hero { height: auto; min-height: 300px; padding: 40px 0; }
 .hero .slide { position: relative; padding: 20px 0; opacity: 1; display: block; }
 .hero .slide .container { width: 100%; }
 .hero h1 { font-size: 28px; text-align: center; }
 .hero .desc { font-size: 14px; text-align: center; max-width: 100%; }
 .hero .side-art { position: relative; right: auto; top: auto; transform: none; width: 100%; height: auto; margin: 20px 0; }
 .hero-side-svg { max-width: 260px; max-height: 200px; margin: 0 auto; display: block; }
 .hero .cta { padding: 12px 28px; font-size: 14px; }
 .hero-actions { justify-content: center; flex-wrap: wrap; gap: 10px; }
 .hero-features { justify-content: center; }
 .hero .arrows, .hero .dots { display: none !important; }

 /* 产品卡片 */
 .zys-product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 30px; }
 .zys-pcard { padding: 24px 18px; min-height: auto; }
 .zys-pcard .ico { width: 44px; height: 44px; font-size: 22px; }
 .zys-pcard .name { font-size: 15px; }
 .zys-pcard .price b { font-size: 18px; }

 /* 统计 */
 .zys-stats { grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 30px; }
 .zys-stat { padding: 24px 14px; }
 .zys-stat .n { font-size: 28px; }

 /* 标题 */
 .title { font-size: 24px; }
 .section { padding: 40px 0; }

 /* 分类页 grid */
 .zys-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

 /* 表格 */
 .tbl { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
 .tbl th, .tbl td { white-space: nowrap; font-size: 12px; padding: 8px 10px; }
 .tbl thead { display: none; }
 .tbl tr { display: block; padding: 12px 0; border-bottom: 1px solid #eee; }
 .tbl td { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px; border: 0; white-space: normal; }
 .tbl td::before { content: attr(data-label); font-weight: bold; color: #888; font-size: 12px; flex-shrink: 0; margin-right: 10px; }
 .tbl td:first-child { padding-top: 0; }
 .tbl td:last-child { padding-bottom: 0; }
 .tbl tr:hover td { background: transparent; }
 .tbl td > .btn, .tbl td a.btn { white-space: nowrap; font-size: 12px; padding: 4px 10px; min-width: auto; }
 .tbl td div[style*="flex"] { flex-wrap: wrap; gap: 4px; }

 /* 用户中心 */
 .user-side .menu li a { font-size: 13px; padding: 10px 14px; }
 .page-banner { padding: 16px 0; }
 .page-banner h1 { font-size: 20px; }
 .page-banner .crumb { font-size: 12px; }

 /* 侧栏菜单的用户中心 */
 .container.side .main { margin-left: 0; }
 .stitle { font-size: 14px; padding: 12px 14px; }

 /* 表单 */
 .form-row input, .form-row select, .form-row textarea { font-size: 16px; } /* 防止 iOS 缩放 */
 .btn, .btn-lg { padding: 10px 20px; font-size: 14px; }
 .btn-sm { padding: 5px 12px; font-size: 12px; }

 /* 网格 3 列变 2 列 */
 div[style*="grid-template-columns:repeat(3,1fr)"] { grid-template-columns: repeat(2, 1fr) !important; }
 div[style*="grid-template-columns: repeat(3,1fr)"] { grid-template-columns: repeat(2, 1fr) !important; }

 /* 弹窗 */
 #wxmodal > div { max-width: 90% !important; margin: 0 14px; }

 /* 合同 */
 .contract { padding: 24px 18px !important; }
 .contract h1 { font-size: 18px !important; }
 .sign-row { flex-direction: column !important; gap: 20px !important; }

 /* 通用间距 */
 h2 { font-size: 18px !important; }
 .main-wrap .container { flex-direction: column; }
 .main-wrap .side { width: 100%; margin-bottom: 16px; }
 .main-wrap .side .stit { font-size: 14px; }
 .main-wrap .side ul { display: flex; flex-wrap: wrap; gap: 4px; }
 .main-wrap .side ul li { flex: 1; min-width: 80px; }
 .main-wrap .side ul li a { padding: 8px 12px; font-size: 12px; text-align: center; }
}

@media (max-width: 480px) {
 .wrap { padding: 0 10px; }
 .hero h1 { font-size: 22px; }
 .hero .desc { font-size: 13px; }
 .zys-product-grid, .zys-cat-grid { grid-template-columns: 1fr; gap: 12px; }
 .zys-stats { grid-template-columns: 1fr; gap: 10px; }
 .hero { min-height: auto; padding: 24px 0; }
 .nav-bar { min-height: 50px; }
 .nav-bar .logo img { height: 30px; }
 .section { padding: 30px 0; }

 /* 网格 2 列变 1 列 */
 div[style*="grid-template-columns:repeat(2,1fr)"] { grid-template-columns: 1fr !important; }
 div[style*="grid-template-columns: repeat(2,1fr)"] { grid-template-columns: 1fr !important; }
 div[style*="grid-template-columns:repeat(3,1fr)"] { grid-template-columns: 1fr !important; }

 .hero-side-svg { max-width: 200px; max-height: 150px; }
 .contract { padding: 14px !important; }
 .contract table th, .contract table td { font-size: 12px; padding: 6px 8px; }
}

/* ======== 紫云风格下拉菜单项 ======== */
.sub-row { display: flex !important; align-items: center; gap: 14px !important; padding: 12px 14px !important; border-radius: 6px !important; transition: all .2s !important; color: #1a1a1a !important; }
.sub-row:hover { background: linear-gradient(90deg, #f5f3ff 0%, #ece6fb 100%) !important; transform: translateX(2px); }
.sub-ico { width: 46px !important; height: 46px !important; flex-shrink: 0; background: linear-gradient(135deg, #8870e8 0%, #b8aedb 100%); border-radius: 10px; display: flex !important; align-items: center !important; justify-content: center !important; font-size: 24px; color: #fff; box-shadow: 0 4px 10px rgba(91,60,196,.2); }
.sub-text { flex: 1; }
.sub-t { font-size: 15px; font-weight: bold; color: #1a1a1a; }
.sub-d { font-size: 12px; color: #999; margin-top: 2px; }
.sub-row:hover .sub-t { color: #5b3cc4; }
@keyframes dropdownFade { from { opacity: 0; transform: translateX(-50%) translateY(-8px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
/* === 紫云风格客户彩色 logo === */
.brand-card { background:#fff; border-radius:8px; padding:16px 12px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; border:1px solid #f0f0f0; transition:all .3s; min-height:120px; }
.brand-card:hover { border-color:#5b3cc4; transform:translateY(-3px); box-shadow:0 8px 20px rgba(91,60,196,.12); }
.brand-logo { width:100%; max-width:130px; height:60px; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.brand-logo svg { width:100%; height:100%; display:block; border-radius:4px; }
.brand-card .brand-text { font-size:13px; color:#1a1a1a; font-weight:bold; margin-top:2px; }
.brand-card .brand-en { font-size:10px; color:#999; letter-spacing:.5px; }