/* ==========================================================================
   安织通官网样式（单页）
   版权所有 安织通 ©2026 保留所有权利
   项目：毛衣生产数字化管理系统
   隐性标记ID：AZT20260915
   ========================================================================== */

:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-soft: #eff5ff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f5;
  --bg: #f6f9ff;
  --card: #ffffff;
  --green: #059669;
  --red: #dc2626;
  --radius: 16px;
  --shadow: 0 2px 6px rgba(15, 23, 42, .04), 0 18px 44px rgba(15, 23, 42, .07);
  --shadow-lg: 0 6px 18px rgba(15, 23, 42, .07), 0 30px 70px rgba(15, 23, 42, .12);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--card);
  color: var(--ink);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, h5 { line-height: 1.3; font-weight: 800; letter-spacing: -.01em; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 22px; }
.wrap.narrow { max-width: 900px; }

/* ---------------- 顶部导航 ---------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 12px 22px;
  display: flex; align-items: center; gap: 18px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  height: 36px; padding: 0 12px; border-radius: 11px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #fff; font-weight: 800; font-size: 15px; letter-spacing: .06em;
}
.logo-sub { color: var(--muted); font-size: 13px; letter-spacing: .04em; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 14px; }
.nav-links a { color: #3b4a63; transition: color .15s; }
.nav-links a:hover { color: var(--blue); }
.nav-cta {
  padding: 8px 16px; border-radius: 10px;
  background: var(--blue); color: #fff !important; font-weight: 700;
  box-shadow: 0 6px 16px rgba(37, 99, 235, .28);
}
.nav-cta:hover { background: var(--blue-dark); }
.nav-toggle { display: none; margin-left: auto; font-size: 22px; background: none; border: 0; cursor: pointer; color: var(--ink); }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 12px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: .16s; white-space: nowrap;
}
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: 14px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(37, 99, 235, .3); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #bfd3f8; color: var(--blue); }
.btn-white { background: #fff; color: var(--blue-dark); box-shadow: 0 12px 30px rgba(0, 0, 0, .18); }
.btn-white:hover { transform: translateY(-1px); }

/* ---------------- 首屏 ---------------- */
.hero {
  background:
    radial-gradient(900px 520px at 12% -10%, rgba(37, 99, 235, .16), rgba(37, 99, 235, 0) 60%),
    radial-gradient(700px 460px at 96% 6%, rgba(56, 189, 248, .16), rgba(56, 189, 248, 0) 60%),
    linear-gradient(180deg, #f8fbff, #eef5ff);
  padding: 62px 0 74px;
}
.hero-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 22px;
  display: grid; grid-template-columns: 1.02fr 1.18fr; gap: 46px; align-items: center;
}
.hero-badge {
  display: inline-block; margin-bottom: 16px; padding: 6px 14px; border-radius: 999px;
  background: rgba(37, 99, 235, .1); border: 1px solid rgba(37, 99, 235, .22);
  color: var(--blue-dark); font-size: 12.5px; font-weight: 700; letter-spacing: .04em;
}
.hero h1 { font-size: 46px; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero-sub { margin-top: 18px; color: #475569; font-size: 16px; line-height: 1.95; }
.hero-actions { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-points { margin-top: 22px; display: flex; gap: 20px; flex-wrap: wrap; list-style: none; color: var(--muted); font-size: 13.5px; }

/* 首屏的软件窗口预览（纯 CSS 画的） */
.hero-shot { position: relative; }
.shot-window {
  border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid #dbe6fa; background: #fff;
}
.shot-bar {
  display: flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 10px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8); color: #fff; font-size: 11.5px;
}
.shot-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .45); }
.shot-bar b { margin-left: 8px; font-weight: 700; letter-spacing: .02em; }
.shot-bar-right { margin-left: auto; opacity: .92; font-size: 11px; letter-spacing: .02em; }
.shot-body { display: grid; grid-template-columns: 116px 1fr; min-height: 268px; }
.shot-side { background: #0b1b3a; padding: 12px 10px; }
.shot-brand { color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .1em; margin-bottom: 12px; padding-left: 6px; }
.shot-nav { color: #9fb6da; font-size: 12px; padding: 7px 8px; border-radius: 7px; margin-bottom: 2px; }
.shot-nav.on { background: rgba(37, 99, 235, .38); color: #fff; font-weight: 700; }
.shot-main { padding: 14px; background: #f7faff; }
/* 首屏真实界面截图（替代原来的纯 CSS 假界面） */
.shot-real { background: #0b1b3a; }
.shot-real img { width: 100%; display: block; cursor: zoom-in; }
.hero-shot-tip { text-align: center; margin-top: 12px; font-size: 13px; color: var(--muted); }
.shot-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.shot-card {
  background: #fff; border: 1px solid #e6eefb; border-radius: 10px; padding: 9px 11px;
}
.shot-card small { display: block; color: #8797b3; font-size: 11px; }
.shot-card b { font-size: 19px; color: #0f172a; }
.shot-card i { font-style: normal; font-size: 11px; color: #8797b3; margin-left: 3px; }
.shot-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #e6eefb; border-radius: 10px; overflow: hidden; font-size: 11.5px; }
.shot-table th { background: #eef4ff; color: #33507f; font-weight: 700; text-align: left; padding: 7px 9px; white-space: nowrap; }
.shot-table td { padding: 7px 9px; border-top: 1px solid #edf2fb; color: #33465f; white-space: nowrap; }
.shot-table tbody tr:nth-child(even) { background: #fbfdff; }

/* ---------------- 通用区块 ---------------- */
.section { padding: 74px 0; }
.section-alt { background: var(--bg); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.sec-head h2 { font-size: 32px; letter-spacing: -.02em; }
.sec-head p { margin-top: 12px; color: var(--muted); font-size: 15px; }

.grid { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; box-shadow: var(--shadow); transition: .18s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #cfdffb; }
.card .ico { font-size: 26px; display: inline-block; margin-bottom: 10px; }
.card h3 { font-size: 16.5px; margin-bottom: 8px; }
.card p { color: #5b6b84; font-size: 13.8px; line-height: 1.85; }

.pain h3 { color: #b42318; }
.feat .ico { background: var(--blue-soft); width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; }

/* 为什么选我们 */
.why { position: relative; padding-top: 26px; }
.why-tag {
  position: absolute; top: -12px; left: 20px;
  padding: 4px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 800;
  background: var(--blue); color: #fff; box-shadow: 0 8px 18px rgba(37, 99, 235, .3);
}
.why-2 .why-tag { background: #0ea5e9; box-shadow: 0 8px 18px rgba(14, 165, 233, .3); }
.why-3 .why-tag { background: var(--green); box-shadow: 0 8px 18px rgba(5, 150, 105, .3); }
.why-4 .why-tag { background: #7c3aed; box-shadow: 0 8px 18px rgba(124, 58, 237, .3); }
.why-5 .why-tag { background: #0891b2; box-shadow: 0 8px 18px rgba(8, 145, 178, .3); }
.why-6 .why-tag { background: #ea580c; box-shadow: 0 8px 18px rgba(234, 88, 12, .3); }
.why h3 { margin: 6px 0 8px; }

/* 对比表 */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; border: 1px solid var(--line); }
.cmp { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 14px; }
.cmp th, .cmp td { padding: 15px 18px; text-align: left; border-bottom: 1px solid #eef2fa; }
.cmp thead th { background: #f4f8ff; font-size: 14.5px; }
.cmp th.bad { color: #b42318; }
.cmp th.good { color: #036b46; }
.cmp tbody td:first-child { font-weight: 700; color: var(--ink); white-space: nowrap; }
.cmp tbody td:nth-child(2) { color: #8a94a6; }
.cmp tbody td:nth-child(3) { color: #0d5f43; font-weight: 600; background: rgba(5, 150, 105, .04); }
.cmp tbody tr:last-child td { border-bottom: 0; }

/* 行业 */
.industry .ind { text-align: center; border-top: 3px solid var(--blue); }
.industry .ind h3 { color: var(--blue-dark); }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 4px 20px; box-shadow: var(--shadow);
}
.faq summary {
  cursor: pointer; list-style: none; padding: 15px 0;
  font-weight: 700; font-size: 15.5px; position: relative; padding-right: 30px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 2px; top: 13px;
  color: var(--blue); font-size: 21px; font-weight: 700; line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 17px; color: #5b6b84; font-size: 14px; line-height: 1.95; }

/* ---------------- 下载区 ---------------- */
.download {
  background:
    radial-gradient(800px 420px at 8% 0%, rgba(37, 99, 235, .12), rgba(37, 99, 235, 0) 62%),
    linear-gradient(180deg, #ffffff, #eef5ff);
}
.dl-card {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.dl-left { padding: 32px 30px; }
.dl-right { padding: 32px 30px; background: #f7faff; border-left: 1px solid var(--line); }
.dl-name { font-size: 20px; font-weight: 800; }
.dl-ver { font-size: 12.5px; color: var(--blue); background: var(--blue-soft); padding: 3px 10px; border-radius: 999px; vertical-align: middle; margin-left: 6px; }
.dl-meta { list-style: none; margin: 14px 0 20px; color: var(--muted); font-size: 14px; }
.dl-meta li { padding-left: 20px; position: relative; }
.dl-meta li::before { content: "·"; position: absolute; left: 6px; color: var(--blue); font-weight: 900; }
.dl-btn { width: 100%; }
.dl-tip { margin-top: 14px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.dl-trial {
  margin-top: 12px; padding: 10px 14px; border-radius: 10px;
  background: #eafaf1; border: 1px solid #b7e7cd; color: #0f7a4f;
  font-size: 13px; font-weight: 700; line-height: 1.7;
}
.dl-right h4 { font-size: 16.5px; margin-bottom: 8px; }
.dl-right > p { color: var(--muted); font-size: 13.5px; }
.contact-block { margin: 16px 0 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 6px 16px; }
.ct-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid #eef2fa; font-size: 14px; }
.ct-row:last-child { border-bottom: 0; }
.ct-row span { color: var(--muted); }
.ct-row b { font-weight: 700; }
.ct-row b.big { color: var(--blue-dark); font-size: 17px; letter-spacing: .02em; }
.dl-note { color: #036b46; font-size: 13px; font-weight: 600; }

/* 结尾 */
.closing { background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #fff; text-align: center; padding: 68px 0; }
.closing h2 { font-size: 30px; }
.closing p { margin: 14px 0 26px; color: rgba(255, 255, 255, .86); }

/* 页脚 */
.footer { background: #0b1220; color: #93a4bd; padding: 54px 0 26px; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 32px; }
.foot-logo { color: #fff; font-weight: 800; font-size: 19px; letter-spacing: .1em; margin-bottom: 10px; }
.foot-brand p { font-size: 13.5px; line-height: 1.9; }
.foot-links h5, .foot-contact h5 { color: #fff; font-size: 14px; margin-bottom: 12px; }
.foot-links a { display: block; font-size: 13.5px; padding: 4px 0; color: #93a4bd; }
.foot-links a:hover { color: #fff; }
.foot-contact p { font-size: 13.5px; padding: 3px 0; }
.foot-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid #1b2740; text-align: center; font-size: 12.5px; color: #6b7c96; }

/* ---------------- 响应式 ---------------- */

/* ---------------- 内销发货重点区 ---------------- */
.highlight { background: linear-gradient(180deg, #f8fbff, #ffffff); }
.hl-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: start; }
.hl-item { display: flex; gap: 16px; padding: 14px 0; }
.hl-item + .hl-item { border-top: 1px dashed #e3ebf8; }
.hl-num {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8); color: #fff; font-weight: 800; font-size: 16px;
  box-shadow: 0 8px 18px rgba(37, 99, 235, .28);
}
.hl-item h3 { font-size: 16.5px; margin-bottom: 6px; }
.hl-item p { color: #5b6b84; font-size: 14px; line-height: 1.9; }
.hl-item code { background: #eef5ff; color: #1d4ed8; padding: 1px 6px; border-radius: 5px; font-size: 13px; }
.hl-cta { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.hl-shot img {
  width: 100%; display: block; border-radius: 12px; cursor: zoom-in;
  border: 1px solid #dbe6fa; box-shadow: var(--shadow-lg);
  transition: transform .18s, box-shadow .18s;
}
.hl-shot img:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(15, 23, 42, .18); }
.hl-shot-tip { margin: 8px 0 0; color: var(--muted); font-size: 12.5px; text-align: center; }

/* ---------------- 系统界面画廊 ---------------- */
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.shot { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.shot img { width: 100%; display: block; cursor: zoom-in; transition: transform .2s; }
.shot:hover img { transform: scale(1.015); }
.shot figcaption { padding: 11px 14px; font-size: 13.5px; color: #55617a; border-top: 1px solid #eef3fb; }
.shot:first-child { grid-column: 1 / -1; }

/* ---------------- 宣传图（真实界面 + 一句话卖点，点击放大） ---------------- */
.posters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.poster { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.poster img { width: 100%; display: block; cursor: zoom-in; transition: transform .2s; }
.poster:hover img { transform: scale(1.02); }
@media (max-width: 980px) { .posters { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .posters { grid-template-columns: 1fr; } }

/* 专为毛织厂 */
.industry-note { text-align: center; margin-top: 26px; color: var(--muted); font-size: 14.5px; }
.industry-note b { color: var(--blue-dark); }

/* ---------------- 图片放大灯箱 ---------------- */
#siteZoom {
  position: fixed; inset: 0; z-index: 999; display: none;
  align-items: center; justify-content: center; padding: 26px;
  background: rgba(8, 14, 24, .86);
}
#siteZoom.open { display: flex; }
#siteZoom img { max-width: 94vw; max-height: 90vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.55); }
#siteZoom .sz-close {
  position: absolute; top: 18px; right: 22px; width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.16); color: #fff; font-size: 21px; cursor: pointer;
}
#siteZoom .sz-close:hover { background: rgba(255,255,255,.3); }

@media (max-width: 1024px) {
  .hero h1 { font-size: 38px; }
  .hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hl-grid { grid-template-columns: 1fr; gap: 26px; }
  .dl-card { grid-template-columns: 1fr; }
  .dl-right { border-left: 0; border-top: 1px solid var(--line); }
  .foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 14.5px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; left: 0; right: 0; top: 62px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px 22px 16px;
  }
  .nav-links.open a { padding: 10px 4px; border-bottom: 1px solid #f1f5fd; }
  .nav-links.open .nav-cta { text-align: center; margin-top: 8px; border-bottom: 0; }
  .nav-toggle { display: block; }
  .hero { padding: 40px 0 52px; }
  .hero h1 { font-size: 30px; }
  .section { padding: 52px 0; }
  .sec-head h2 { font-size: 24px; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; }
  .dl-left, .dl-right { padding: 24px 20px; }
  .foot-top { grid-template-columns: 1fr; gap: 24px; }
  .closing h2 { font-size: 23px; }
}
