/* ==========================================================
   沧渊网络 · 移动端 H5
   适配：iPhone / Android / 微信内置浏览器
   ========================================================== */

:root {
  --blue: #1664ff;
  --blue-dark: #0328df;
  --text: #333333;
  --text-sub: #888888;
  --line: #eeeeee;
  --gray-bg: #f6f7fb;
  --radius: 12px;
  --hd-h: 52px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body { margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; border: 0; }
h1, h2, h3, p, ul, li { margin: 0; padding: 0; }
ul { list-style: none; }

/* ---------------- 顶部导航 ---------------- */
.hd {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
  transition: box-shadow .25s;
}
.hd.scrolled { box-shadow: 0 2px 12px rgba(0, 0, 0, .08); }

.hd-in {
  height: var(--hd-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
}
.hd-logo img { height: 26px; width: auto; }

.hd-menu {
  width: 30px; height: 30px;
  border: 0; background: transparent;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px; cursor: pointer; padding: 0;
}
.hd-menu span {
  display: block;
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .28s, opacity .2s;
}
.hd.open .hd-menu span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hd.open .hd-menu span:nth-child(2) { opacity: 0; }
.hd.open .hd-menu span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hd-nav {
  max-height: 0;
  overflow: hidden;
  transition: max-height .32s ease;
  border-top: 1px solid transparent;
  background: #fff;
}
.hd.open .hd-nav {
  max-height: 420px;
  border-top-color: var(--line);
}
.hd-nav a {
  display: block;
  padding: 13px 20px;
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px solid #f5f5f5;
}
.hd-nav a.on { color: var(--blue); font-weight: 600; }
.hd-nav a:active { background: #fafafa; }

/* ---------------- 首页 Banner ---------------- */
.banner {
  position: relative;
  margin-top: var(--hd-h);
  padding: 44px 20px 30px;
  background: url("../img/banner.jpg") center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.banner-mask {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(10, 30, 90, .86), rgba(22, 100, 255, .66));
}
.banner-txt { position: relative; z-index: 1; }
.banner-txt h1 {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .3px;
}
.banner-txt .big {
  margin-top: 8px;
  font-size: 19px;
  font-weight: 700;
  color: #d8e6ff;
  letter-spacing: 2px;
}
.banner-txt .sub {
  margin-top: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, .82);
  line-height: 1.7;
}
.banner-tags {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 22px;
}
.banner-tags li {
  padding: 6px 13px;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 20px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(4px);
}

/* ---------------- 页面小标题（内页头） ---------------- */
.page-hd {
  margin-top: var(--hd-h);
  padding: 40px 20px 34px;
  text-align: center;
  color: #fff;
  background: linear-gradient(140deg, #0b1f5c 0%, var(--blue) 100%);
}
.page-hd h1 { font-size: 22px; font-weight: 700; letter-spacing: 1px; }
.page-hd p {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 2.5px;
  color: rgba(255, 255, 255, .62);
}

/* ---------------- 通用区块 ---------------- */
.sec { padding: 32px 18px; }
.sec-gray { background: var(--gray-bg); }

.sec-hd { text-align: center; margin-bottom: 22px; }
.sec-hd h2 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}
.sec-hd h2::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 28px; height: 3px;
  border-radius: 2px;
  background: var(--blue);
}
.sec-hd p {
  margin-top: 8px;
  font-size: 10px;
  letter-spacing: 2px;
  color: #bbb;
  text-transform: uppercase;
}

.intro {
  font-size: 14px;
  line-height: 1.85;
  color: #555;
  text-align: justify;
}

.btn {
  display: inline-block;
  padding: 11px 28px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: var(--blue);
  border-radius: 22px;
  border: 1px solid var(--blue);
  text-align: center;
  transition: background .2s, opacity .2s;
}
.btn:active { background: var(--blue-dark); opacity: .9; }
.btn-block { display: block; width: 100%; margin-top: 26px; }
.btn-ghost { background: #fff; color: var(--blue); }

/* ---------------- 服务卡片 ---------------- */
.cards { display: flex; flex-direction: column; gap: 14px; }

.card {
  display: block;
  padding: 20px 18px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 14px rgba(22, 100, 255, .08);
  border: 1px solid #eef2fb;
  transition: transform .2s, box-shadow .2s;
}
.card:active { transform: scale(.985); box-shadow: 0 1px 6px rgba(22, 100, 255, .12); }

.card-ico {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--blue), #4f8bff);
  margin-bottom: 13px;
  position: relative;
}
.card-ico::after {
  content: "";
  position: absolute; inset: 0;
  background: #fff;
  -webkit-mask: center/22px 22px no-repeat;
  mask: center/22px 22px no-repeat;
}
.card-ico.i1::after { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><rect x='2' y='4' width='20' height='16' rx='3'/><path d='M10 9l5 3-5 3z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><rect x='2' y='4' width='20' height='16' rx='3'/><path d='M10 9l5 3-5 3z'/></svg>"); }
.card-ico.i2::after { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><rect x='5' y='2' width='14' height='20' rx='2'/><path d='M11 18h2'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><rect x='5' y='2' width='14' height='20' rx='2'/><path d='M11 18h2'/></svg>"); }
.card-ico.i3::after { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><path d='M21 12a8 8 0 01-8 8H7l-4 3v-6a8 8 0 018-13h2a8 8 0 018 8z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><path d='M21 12a8 8 0 01-8 8H7l-4 3v-6a8 8 0 018-13h2a8 8 0 018 8z'/></svg>"); }
.card-ico.i4::after { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><circle cx='12' cy='12' r='9'/><path d='M3 12h18M12 3a15 15 0 010 18a15 15 0 010-18z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><circle cx='12' cy='12' r='9'/><path d='M3 12h18M12 3a15 15 0 010 18a15 15 0 010-18z'/></svg>"); }

.card h3 { font-size: 16px; font-weight: 600; }
.card p {
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-sub);
}
.card .more {
  display: inline-block;
  margin-top: 11px;
  font-size: 13px;
  color: var(--blue);
}

/* ---------------- 服务详情页 ---------------- */
.svc .intro { margin-bottom: 16px; }
.feat { display: flex; flex-direction: column; gap: 10px; }
.feat li {
  position: relative;
  padding: 11px 14px 11px 38px;
  font-size: 14px;
  background: #fff;
  border: 1px solid #eef2fb;
  border-radius: 10px;
  color: #444;
}
.feat li::before {
  content: "";
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 7px; height: 12px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  border-radius: 1px;
}
.sec-gray .feat li { background: #fff; }

/* ---------------- 服务支持列表 ---------------- */
.support-list { display: flex; flex-direction: column; gap: 13px; }
.support-item {
  padding: 17px 16px;
  background: #fff;
  border-radius: var(--radius);
  border-left: 3px solid var(--blue);
  box-shadow: 0 2px 12px rgba(22, 100, 255, .07);
}
.support-item h3 { font-size: 15px; font-weight: 600; color: var(--blue); }
.support-item p {
  margin-top: 7px;
  font-size: 13.5px;
  line-height: 1.75;
  color: #666;
}

/* ---------------- 关于我们 ---------------- */
.about-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 14px;
}
.kv {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.kv-item {
  display: flex;
  padding: 13px 15px;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
}
.kv-item:last-child { border-bottom: 0; }
.kv-k {
  flex: 0 0 78px;
  color: var(--text-sub);
  font-size: 13.5px;
}
.kv-v { flex: 1; color: var(--text); word-break: break-all; }
.kv-v a { color: var(--blue); }

/* ---------------- 团队文化 ---------------- */
.culture-slogan {
  padding: 22px 18px;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  color: var(--blue);
  background: linear-gradient(135deg, #eef4ff, #f7faff);
  border-radius: var(--radius);
  letter-spacing: 1px;
}
.culture-list {
  display: flex; flex-direction: column; gap: 14px;
  margin-top: 20px;
}
.culture-item {
  display: flex; gap: 14px;
  padding: 17px 16px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .05);
}
.culture-item .idx {
  flex: 0 0 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #4f8bff);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.culture-item h3 { font-size: 15px; font-weight: 600; }
.culture-item p {
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.75;
  color: #666;
}

/* ---------------- 联系我们 ---------------- */
.contact-cards { display: flex; flex-direction: column; gap: 13px; }
.contact-item {
  display: block;
  padding: 18px 16px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(22, 100, 255, .07);
  border: 1px solid #eef2fb;
}
.contact-item:active { background: #fafcff; }
.ci-label {
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--text-sub);
  margin-bottom: 7px;
}
.ci-value {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--blue);
  word-break: break-all;
  line-height: 1.5;
}
.contact-item div .ci-value { color: var(--text); font-size: 14.5px; font-weight: 500; }

.cta-actions {
  display: flex; gap: 12px;
  margin-top: 22px;
}
.cta-actions .btn { flex: 1; }

/* ---------------- 页脚 ---------------- */
.ft {
  padding: 30px 18px calc(26px + var(--safe-b));
  background: #1c2230;
  color: rgba(255, 255, 255, .62);
  font-size: 12.5px;
  text-align: center;
  line-height: 1.9;
}
.ft-nav {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 8px 18px;
  margin-bottom: 20px;
}
.ft-nav a { color: rgba(255, 255, 255, .8); font-size: 13.5px; }
.ft-nav a:active { color: #fff; }
.ft-info { padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.ft-info a { color: rgba(255, 255, 255, .85); }
.ft-copy { margin-top: 8px; font-size: 11.5px; color: rgba(255, 255, 255, .42); }
.ft-icp { margin-top: 10px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.ft-icp a { font-size: 11.5px; color: rgba(255, 255, 255, .42); }
.ft-icp a:active { color: rgba(255, 255, 255, .7); }

/* ---------------- 大屏微调（平板/桌面预览） ---------------- */
@media (min-width: 768px) {
  body { max-width: 750px; margin: 0 auto; box-shadow: 0 0 40px rgba(0, 0, 0, .06); }
  .hd { max-width: 750px; left: 50%; transform: translateX(-50%); }
  .hd-nav { display: flex; flex-wrap: wrap; max-height: none; border-top-color: var(--line); }
  .hd-nav a { border-bottom: 0; padding: 12px 16px; }
  .hd-menu { display: none; }
  .cards { flex-direction: row; flex-wrap: wrap; }
  .card { flex: 1 1 calc(50% - 7px); }
  .support-list { flex-direction: row; flex-wrap: wrap; }
  .support-item { flex: 1 1 calc(50% - 7px); }
}

@media (min-width: 1100px) {
  .page-hd, .banner { padding-top: 60px; padding-bottom: 50px; }
}
