/* 江苏郑钱姐人工智能科技有限公司 · 官网样式 */

:root {
  --brand: #1557e0;
  --brand-dark: #0f45b8;
  --brand-soft: #ecf2ff;
  --brand-line: #d3e0fb;
  --teal: #0e9384;
  --ink: #0e1b2c;
  --ink-2: #33465e;
  --muted: #64748b;
  --muted-2: #8a99ad;
  --line: #e4ebf5;
  --bg-soft: #f5f8fd;
  --white: #fff;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(14, 27, 44, .05), 0 8px 24px -16px rgba(14, 27, 44, .18);
  --shadow-md: 0 2px 4px rgba(14, 27, 44, .04), 0 18px 40px -22px rgba(14, 27, 44, .28);
  --max: 1160px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC",
    "Noto Sans CJK SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: var(--ink);
  color: #c8d4e4;
  font-size: 13px;
  line-height: 1;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  flex-wrap: wrap;
}
.topbar strong { color: #fff; font-weight: 600; }
.topbar .tel { color: #a8b6ca; }
.topbar a { color: #fff; font-weight: 600; white-space: nowrap; }
.topbar a:hover { color: #9dc0ff; }

/* ---------- 页头 ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
}
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand .mark { width: 40px; height: 40px; flex: none; border-radius: 11px; display: block; }
.brand .name { font-size: 19px; font-weight: 700; letter-spacing: .4px; line-height: 1.2; }
.brand .name em { font-style: normal; color: var(--brand); }
.brand .sub { font-size: 12px; color: var(--muted-2); line-height: 1.3; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 8px 9px;
  font-size: 14.5px;
  color: var(--ink-2);
  border-radius: 8px;
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--brand); background: var(--brand-soft); }

.head-cta { display: flex; align-items: center; gap: 12px; flex: none; }
.head-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--brand);
  white-space: nowrap;
}
.head-phone svg { width: 18px; height: 18px; flex: none; }

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
}
.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s;
  font-family: inherit;
  line-height: 1.4;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), #2f76ff);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(21, 87, 224, .75);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(21, 87, 224, .85); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand-line); color: var(--brand); }
.btn-sm { padding: 9px 18px; font-size: 15px; }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  padding: 82px 0 72px;
  background:
    radial-gradient(760px 380px at 12% -6%, rgba(21, 87, 224, .13), transparent 68%),
    radial-gradient(620px 340px at 96% 4%, rgba(14, 147, 132, .1), transparent 66%),
    linear-gradient(180deg, #f8fafe 0%, #fff 78%);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(21, 87, 224, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 87, 224, .05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(680px 340px at 22% 0%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(680px 340px at 22% 0%, #000, transparent 72%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 54px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 10px;
  background: #fff;
  border: 1px solid var(--brand-line);
  color: var(--brand);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.eyebrow i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  display: block;
}

.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(30px, 4.3vw, 46px);
  line-height: 1.28;
  letter-spacing: -.6px;
  font-weight: 800;
}
.hero h1 em {
  font-style: normal;
  color: var(--brand);
  background: linear-gradient(180deg, transparent 62%, rgba(21, 87, 224, .16) 62%);
}
.hero .lead {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 560px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }

.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.hero-points svg { width: 17px; height: 17px; color: var(--teal); flex: none; }

/* 首屏右侧信息卡 */
.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 26px;
}
.hero-card h2 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.hero-card p.hint { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.hero-card dl {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px 14px;
  font-size: 14.5px;
}
.hero-card dt { color: var(--muted); }
.hero-card dd { color: var(--ink); font-weight: 600; word-break: break-all; }
.hero-card dd a { color: var(--brand); font-size: 18px; letter-spacing: .3px; }
.hero-card .note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: var(--muted);
}

/* ---------- 通用区块 ---------- */
.section { padding: 78px 0; }
.section.soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(24px, 3vw, 33px);
  line-height: 1.36;
  letter-spacing: -.3px;
  font-weight: 800;
}
.section-head p { margin-top: 14px; color: var(--muted); font-size: 16px; }

/* ---------- 服务卡片 ---------- */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-line); }
.card .ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card .ico svg { width: 24px; height: 24px; }
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 15px; }
.card ul { margin-top: 14px; display: grid; gap: 7px; }
.card ul li {
  position: relative;
  padding-left: 17px;
  font-size: 14px;
  color: var(--muted);
}
.card ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-line);
}

/* ---------- 流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  position: relative;
}
.step .no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
}
.step:nth-child(2) .no { background: #1c4fd0; }
.step:nth-child(3) .no { background: var(--brand); }
.step:nth-child(4) .no { background: #2a6fef; }
.step:nth-child(5) .no { background: var(--teal); }
.step h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }

/* ---------- 优势 ---------- */
.adv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.adv-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.adv-item .ico {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eefaf7;
  color: var(--teal);
  margin-bottom: 16px;
}
.adv-item .ico svg { width: 22px; height: 22px; }
.adv-item h3 { font-size: 17px; font-weight: 700; margin-bottom: 9px; }
.adv-item p { font-size: 14.5px; color: var(--muted); }

/* ---------- 图片区 ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.shot {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.shot img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.shot figcaption {
  padding: 13px 18px;
  font-size: 14px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

/* ---------- 资质 ---------- */
.licence { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 34px; align-items: start; }
.licence .frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.licence .frame img { width: 100%; height: auto; }
.licence .frame figcaption {
  padding: 12px 18px;
  font-size: 13.5px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.info-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.info-table .row {
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 18px;
  font-size: 14.5px;
  border-bottom: 1px solid var(--line);
}
.info-table .row:last-child { border-bottom: 0; }
.info-table .row:nth-child(odd) { background: #fafcff; }
.info-table .k { color: var(--muted); }
.info-table .v { color: var(--ink); font-weight: 600; }
.info-table .v a { color: var(--brand); }
.licence .tip {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.licence .tip svg { width: 18px; height: 18px; color: var(--brand); flex: none; margin-top: 3px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 900px; margin: 0 auto; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 22px;
  transition: border-color .2s, box-shadow .2s;
}
.faq details[open] { border-color: var(--brand-line); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .22s;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq .ans { padding: 0 0 20px; color: var(--muted); font-size: 15px; }

/* ---------- 联系 ---------- */
.contact-band {
  background:
    radial-gradient(600px 300px at 88% 10%, rgba(21, 87, 224, .28), transparent 70%),
    linear-gradient(135deg, #0e1b2c, #16305a);
  color: #fff;
  padding: 74px 0;
}
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 44px; align-items: center; }
.contact-band .tag { color: #9dc0ff; }
.contact-band h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; line-height: 1.36; }
.contact-band p.lead { margin-top: 14px; color: #c3d2e8; max-width: 480px; }
.contact-list { display: grid; gap: 16px; }
.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.contact-list .ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.contact-list .ico svg { width: 19px; height: 19px; color: #9dc0ff; }
.contact-list .k { font-size: 13px; color: #9fb2cc; }
.contact-list .k, .contact-list .v { display: block; }
.contact-list .v { font-size: 16.5px; font-weight: 700; color: #fff; word-break: break-all; }
.contact-list .v.big { font-size: 21px; letter-spacing: .5px; }
.contact-list .v a:hover { color: #9dc0ff; }

/* ---------- 页脚 ---------- */
.site-foot { background: #0b1524; color: #93a5bd; font-size: 14px; padding: 54px 0 0; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; }
.site-foot h3 { color: #fff; font-size: 17px; font-weight: 700; margin-bottom: 14px; }
.site-foot .foot-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.site-foot .foot-brand img { width: 38px; height: 38px; border-radius: 10px; }
.site-foot .foot-brand b { color: #fff; font-size: 17px; }
.site-foot .foot-brand span { display: block; font-size: 12.5px; color: #7b8ea8; }
.site-foot .foot-lines { display: grid; gap: 8px; }
.site-foot .foot-lines a { color: #c8d6e8; }
.site-foot .foot-lines a:hover { color: #9dc0ff; }
.site-foot dl { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 10px 12px; color: #c8d6e8; }
.site-foot dt { color: #7b8ea8; }
.site-foot dd { margin: 0; word-break: break-all; }
.site-foot dd a { color: #fff; font-weight: 600; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; }
.foot-links a { color: #c8d6e8; }
.foot-links a:hover { color: #9dc0ff; }
.foot-bottom {
  margin-top: 44px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 20px 0 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: space-between;
  font-size: 13px;
  color: #7b8ea8;
}
.foot-bottom .lic { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot-bottom strong { color: #c8d6e8; font-weight: 600; }
.foot-bottom a { color: #93a5bd; }
.foot-bottom a:hover { color: #9dc0ff; }

/* ---------- 移动端悬浮电话 ---------- */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  background: rgba(255, 255, 255, .97);
  border-top: 1px solid var(--line);
  padding: 10px 14px;
  gap: 10px;
  box-shadow: 0 -8px 24px -18px rgba(14, 27, 44, .5);
}
.mobile-bar .btn { flex: 1; }
.mobile-bar .btn-ghost { flex: .8; }

/* ---------- 内页 ---------- */
.page-head {
  background: linear-gradient(180deg, #f6f9ff, #fff);
  border-bottom: 1px solid var(--line);
  padding: 54px 0 46px;
}
.page-head h1 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; letter-spacing: -.3px; }
.page-head .meta { margin-top: 12px; color: var(--muted); font-size: 14.5px; }
.crumb { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumb a:hover { color: var(--brand); }

.doc { padding: 46px 0 70px; }
.doc .body { max-width: 880px; }
.doc h2 { font-size: 20px; font-weight: 700; margin: 34px 0 12px; }
.doc h2:first-child { margin-top: 0; }
.doc p { color: var(--ink-2); margin-bottom: 12px; }
.doc a { color: var(--brand); }
.doc a:hover { text-decoration: underline; }
.doc ul { margin: 6px 0 14px; display: grid; gap: 8px; }
.doc ul li { position: relative; padding-left: 18px; color: var(--ink-2); }
.doc ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-line);
}
.doc .box {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 18px 0;
  font-size: 14.5px;
  color: var(--ink-2);
}
.back-home { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 动效 ---------- */
/* 默认状态始终可见；仅在 JS 正常启用（html.anim）时才先隐藏，避免内容不可见 */
.reveal { transition: opacity .6s ease, transform .6s ease; }
.anim .reveal { opacity: 0; transform: translateY(18px); }
.anim .reveal.in { opacity: 1; transform: none; }
/* 兜底：关闭动画时立即完整显示，不依赖过渡是否可用 */
.no-anim .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card:hover, .btn-primary:hover { transform: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1140px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -22px rgba(14, 27, 44, .45);
    padding: 8px 14px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 12px; font-size: 16px; border-radius: 10px; }
  .menu-btn { display: flex; }
  .head-cta .btn { display: none; }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero { padding: 60px 0 56px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .licence { grid-template-columns: 1fr; gap: 26px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 860px) {
  .topbar .wrap {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 3px;
    min-height: 0;
    padding: 7px 20px 8px;
  }
  .topbar .co strong { font-size: 12.5px; }
  .topbar .hide-sm { display: none; }
  body { padding-bottom: 68px; }
  .mobile-bar { display: flex; }
}

@media (max-width: 600px) {
  .head-phone { display: none; }
  .brand .sub { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .cards, .gallery { grid-template-columns: 1fr; }
  .steps, .adv { grid-template-columns: 1fr; }
  .hero h1 { font-size: 27px; }
  .hero-card dl { grid-template-columns: 76px minmax(0, 1fr); }
  .card { padding: 24px 20px; }
  .hero-card { padding: 22px 20px; }
  .contact-band { padding: 56px 0; }
  .info-table .row { grid-template-columns: 104px minmax(0, 1fr); padding: 13px 15px; font-size: 14px; }
  .site-foot { padding-top: 44px; }
  .faq details { padding: 0 16px; }
  .faq summary { font-size: 15.5px; }
  .foot-bottom { flex-direction: column; }
}

@media print {
  .site-head, .mobile-bar, .topbar { display: none; }
}
