/* ============================================================
   南昌哈里科技交易平台 - 前台样式
   设计：暖纸底 + 深青主色 + 琥珀点缀，衬线标题，响应式
   ============================================================ */

:root {
  --bg: #F7F5F0;
  --bg-alt: #FFFFFF;
  --ink: #16181D;
  --ink-soft: #4A4E57;
  --line: #E4E0D6;
  --accent: #0E7C7B;
  --accent-dark: #0A5C5B;
  --amber: #E9A23B;
  --danger: #B64040;
  --radius: 12px;
  --font-body: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-display: "Noto Serif SC", "Songti SC", "SimSun", serif;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.35; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 760px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block; padding: 10px 22px; border-radius: 999px;
  font-size: 15px; font-weight: 600; cursor: pointer; border: 1.5px solid transparent;
  transition: all .2s ease; text-align: center;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 13px 32px; font-size: 16px; }
.btn-sm { padding: 6px 16px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------- 头部 ---------- */
.site-header { background: var(--bg-alt); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; gap: 24px; padding-top: 14px; padding-bottom: 14px; }

.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 10px; background: var(--accent); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 20px; font-weight: 700; flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 15px; }
.brand-text small { font-size: 11px; color: var(--ink-soft); letter-spacing: 1.5px; }

.header-search { flex: 1; max-width: 460px; display: flex; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--bg); }
.header-search input { flex: 1; border: none; background: transparent; padding: 9px 18px; font-size: 14px; outline: none; color: var(--ink); }
.header-search button { border: none; background: var(--accent); color: #fff; padding: 0 18px; cursor: pointer; display: flex; align-items: center; }

.header-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.hd-link { color: var(--ink-soft); font-size: 14px; white-space: nowrap; }
.hd-link:hover { color: var(--accent); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); display: block; }

/* 主导航 */
.main-nav { border-top: 1px solid var(--line); }
.nav-list { list-style: none; display: flex; align-items: stretch; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: block; padding: 12px 20px; color: var(--ink); font-size: 15px; font-weight: 600;
  border-bottom: 2.5px solid transparent;
}
.nav-list > li > a:hover, .nav-list > li > a.active { color: var(--accent); border-bottom-color: var(--accent); }
.nav-list .nav-cta { margin-left: auto; align-self: center; }
.nav-list .nav-cta a {
  background: var(--amber); color: #2A1E05; border-radius: 999px; padding: 7px 20px; border-bottom: none; font-weight: 700;
}
.nav-list .nav-cta a:hover { background: #d98f27; color: #2A1E05; }

.sub-nav {
  display: none; position: absolute; top: 100%; left: 0; min-width: 200px; list-style: none;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 10px; padding: 8px 0;
  box-shadow: 0 12px 30px rgba(0,0,0,.08); z-index: 50;
}
.has-sub:hover .sub-nav, .has-sub:focus-within .sub-nav { display: block; }
.sub-nav a { display: block; padding: 9px 18px; color: var(--ink-soft); font-size: 14px; }
.sub-nav a:hover { background: var(--bg); color: var(--accent); }

/* ---------- 闪存消息 ---------- */
.flash { max-width: 1200px; margin: 16px auto 0; padding: 12px 20px; border-radius: var(--radius); font-size: 14px; }
.flash-success { background: #E4F2EC; color: #1E6B4A; border: 1px solid #BDE0CF; }
.flash-error { background: #F9E8E8; color: var(--danger); border: 1px solid #EBC4C4; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(160deg, #10201F 0%, #14333A 55%, #0E3E3D 100%); color: #F2EFE8; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero-kicker { color: var(--amber); letter-spacing: 3px; font-size: 13px; margin-bottom: 14px; }
.hero h1 { font-size: 42px; line-height: 1.3; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--amber); font-size: .62em; display: inline-block; margin-top: 10px; }
.hero-sub { color: rgba(242,239,232,.75); margin-bottom: 30px; max-width: 520px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero .btn-ghost { border-color: rgba(255,255,255,.35); color: #F2EFE8; }
.hero .btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.hero-stats { display: flex; gap: 36px; }
.hero-stats dt { font-family: var(--font-display); font-size: 28px; color: var(--amber); font-weight: 700; }
.hero-stats dd { font-size: 13px; color: rgba(242,239,232,.65); }
.hero-visual svg { width: 100%; height: auto; filter: drop-shadow(0 24px 48px rgba(0,0,0,.35)); }

/* ---------- 区块通用 ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { font-size: 30px; margin-bottom: 8px; }
.section-head p { color: var(--ink-soft); }
.section-more { text-align: center; margin-top: 36px; }

/* ---------- 分类卡片 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; color: var(--ink); transition: all .25s ease; display: block;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(14,124,123,.12); border-color: var(--accent); color: var(--ink); }
.cat-icon { width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.cat-icon svg { width: 26px; height: 26px; }
.cat-icon-code { background: #E1EFEE; color: var(--accent); }
.cat-icon-chip { background: #F8EEDB; color: #A66F14; }
.cat-icon-print { background: #E8E5F4; color: #5B3A8E; }
.cat-icon-ai { background: #FBE7E0; color: #B3512F; }
.cat-icon-box { background: #EDEBE4; color: var(--ink-soft); }
.cat-card h3 { font-size: 19px; margin-bottom: 8px; }
.cat-card p { font-size: 13px; color: var(--ink-soft); margin-bottom: 14px; }
.cat-more { font-size: 13px; color: var(--accent); font-weight: 600; }

/* ---------- 商品卡片 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all .25s ease; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,0,0,.08); }
.product-thumb { aspect-ratio: 8 / 5; overflow: hidden; background: var(--bg); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-cat { font-size: 12px; color: var(--accent); font-weight: 600; letter-spacing: 1px; }
.product-body h3 { font-size: 16px; font-family: var(--font-body); font-weight: 600; }
.product-body h3 a { color: var(--ink); }
.product-body h3 a:hover { color: var(--accent); }
.product-price { color: var(--amber); font-weight: 700; font-size: 15px; margin-top: auto; }

/* ---------- 流程 ---------- */
.flow-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.flow-steps li { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; position: relative; }
.flow-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--amber);
  font-family: var(--font-display); font-size: 18px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.flow-steps h3 { font-size: 17px; margin-bottom: 6px; }
.flow-steps p { font-size: 13px; color: var(--ink-soft); }

/* ---------- 关于条 ---------- */
.about-strip-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.about-strip h2 { font-size: 26px; margin-bottom: 14px; }
.about-strip p { color: var(--ink-soft); margin-bottom: 20px; }
.contact-card { list-style: none; background: var(--ink); color: #EDEAE2; border-radius: var(--radius); padding: 28px; }
.contact-card li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed rgba(255,255,255,.15); }
.contact-card li:last-child { border-bottom: none; }
.contact-card strong { color: var(--amber); font-weight: 600; }

/* ---------- 列表页布局 ---------- */
.layout-with-side { display: grid; grid-template-columns: 240px 1fr; gap: 32px; padding-top: 36px; padding-bottom: 64px; align-items: start; }
.side-cats { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: 130px; }
.side-cats h3 { font-size: 16px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.side-cats ul { list-style: none; }
.side-cats > ul > li > a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--ink); font-weight: 600; font-size: 14px; }
.side-sub { margin-left: 14px; border-left: 2px solid var(--line); padding-left: 8px; }
.side-sub a { display: block; padding: 5px 8px; border-radius: 6px; color: var(--ink-soft); font-size: 13px; }
.side-cats a:hover, .side-cats a.active { background: #E1EFEE; color: var(--accent); }

.list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.list-head h1 { font-size: 26px; }
.list-count { color: var(--ink-soft); font-size: 14px; }

.empty-state { background: var(--bg-alt); border: 1px dashed var(--line); border-radius: var(--radius); padding: 48px; text-align: center; color: var(--ink-soft); }
.success-state h2 { color: var(--accent); margin-bottom: 12px; }

/* ---------- 分页 ---------- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; flex-wrap: wrap; }
.pagination a { padding: 8px 14px; border-radius: 8px; border: 1px solid var(--line); color: var(--ink-soft); font-size: 14px; background: var(--bg-alt); }
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination a.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- 详情页 ---------- */
.breadcrumb { font-size: 13px; color: var(--ink-soft); padding: 24px 0; }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.pd-gallery img { border-radius: 10px; width: 100%; aspect-ratio: 8/5; object-fit: cover; }
.pd-info h1 { font-size: 28px; margin: 8px 0 18px; }
.pd-price { display: flex; align-items: baseline; gap: 12px; background: #FBF4E6; border-radius: 10px; padding: 14px 18px; margin-bottom: 12px; }
.pd-price-label { font-size: 13px; color: var(--ink-soft); }
.pd-price strong { font-size: 24px; color: var(--amber); font-family: var(--font-display); }
.pd-note { font-size: 13px; color: var(--ink-soft); margin-bottom: 22px; }
.pd-actions { display: flex; gap: 14px; margin-bottom: 24px; flex-wrap: wrap; }
.pd-meta { list-style: none; font-size: 13px; color: var(--ink-soft); border-top: 1px dashed var(--line); padding-top: 16px; }
.pd-meta li { padding: 3px 0; }
.pd-desc { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; margin: 32px 0; }
.pd-desc h2 { font-size: 20px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.pd-desc-body { color: var(--ink-soft); }

/* ---------- 表单 ---------- */
.page-head { text-align: center; padding: 48px 0 32px; }
.page-head h1 { font-size: 30px; margin-bottom: 10px; }
.page-head p { color: var(--ink-soft); }

.form-card { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; margin-bottom: 48px; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form-row input[type="text"], .form-row input[type="tel"], .form-row input[type="email"],
.form-row input[type="password"], .form-row input[type="number"], .form-row input[type="url"],
.form-row select, .form-row textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 14px; font-family: var(--font-body); background: var(--bg); color: var(--ink); outline: none;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--accent); background: #fff; }
.form-row input[disabled] { opacity: .6; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-hint { font-size: 12px; color: var(--ink-soft); margin-top: 6px; font-weight: 400; }
.form-check label { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.form-actions { display: flex; gap: 14px; margin-top: 8px; }
.form-errors { background: #F9E8E8; border: 1px solid #EBC4C4; color: var(--danger); border-radius: var(--radius); padding: 14px 20px; margin-bottom: 20px; font-size: 14px; }

/* ---------- 认证 ---------- */
.auth-wrap { padding: 56px 0; }
.auth-card { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; max-width: 420px; margin: 0 auto; }
.auth-card h1 { font-size: 24px; text-align: center; margin-bottom: 24px; }
.auth-switch { text-align: center; font-size: 14px; color: var(--ink-soft); margin-top: 18px; }

/* ---------- 用户中心 ---------- */
.user-side { top: 130px; }
.user-card { text-align: center; padding-bottom: 16px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.user-avatar {
  width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 24px;
  font-family: var(--font-display); margin-bottom: 10px;
}
.user-card strong { display: block; }
.user-card small { color: var(--ink-soft); font-size: 12px; }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th, .data-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table th { background: var(--bg); font-weight: 600; white-space: nowrap; }
.data-table tr:last-child td { border-bottom: none; }
.td-remark { font-size: 12px; color: var(--amber); margin-top: 4px; }

/* ---------- 状态徽标 ---------- */
.status-badge { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; border: none; cursor: default; }
.status-pending { background: #FDF0DC; color: #A66F14; }
.status-contacting { background: #E3ECF9; color: #2B5CA8; }
.status-quoted { background: #E8E5F4; color: #5B3A8E; }
.status-completed { background: #E4F2EC; color: #1E6B4A; }
.status-closed { background: #EDEBE4; color: #6B6E75; }

/* ---------- 搜索 ---------- */
.search-big { display: flex; gap: 12px; margin-bottom: 32px; }
.search-big input { flex: 1; padding: 12px 18px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 15px; outline: none; background: var(--bg-alt); }
.search-big input:focus { border-color: var(--accent); }

/* ---------- 关于页 ---------- */
.about-body { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; margin-bottom: 56px; }
.about-body h2 { font-size: 20px; margin: 28px 0 12px; }
.about-body h2:first-child { margin-top: 0; }
.about-body p { color: var(--ink-soft); }
.about-biz { list-style: none; }
.about-biz li { padding: 12px 0; border-bottom: 1px dashed var(--line); display: flex; flex-direction: column; gap: 4px; }
.about-biz strong { font-size: 15px; }
.about-biz span { font-size: 13px; color: var(--ink-soft); }
.about-contact { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-contact li { background: var(--bg); border-radius: 10px; padding: 14px 18px; font-size: 14px; }
.about-contact strong { display: block; font-size: 12px; color: var(--accent); margin-bottom: 4px; }

/* ---------- 404 ---------- */
.page-404 { text-align: center; padding: 96px 0; }
.page-404 h1 { font-size: 72px; color: var(--line); font-family: var(--font-display); }
.page-404 p { color: var(--ink-soft); margin: 12px 0 24px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--ink); color: #B9BCC4; margin-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 56px 20px 40px; }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand .brand-text small { color: #7E828C; }
.footer-brand p { font-size: 13px; line-height: 1.8; }
.footer-hours { color: var(--amber); }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; font-family: var(--font-body); }
.footer-col ul { list-style: none; }
.footer-col li { padding: 5px 0; font-size: 13px; }
.footer-col a { color: #B9BCC4; }
.footer-col a:hover { color: var(--amber); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; font-size: 12px; color: #7E828C; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .cat-grid, .product-grid { grid-template-columns: repeat(3, 1fr); }
  .flow-steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .header-search { order: 3; max-width: none; flex-basis: 100%; }
  .nav-toggle { display: flex; }
  .main-nav { display: none; border-top: 1px solid var(--line); }
  .main-nav.open { display: block; }
  .nav-list { flex-direction: column; }
  .nav-list > li > a { padding: 13px 20px; border-bottom: 1px solid var(--line); }
  .sub-nav { position: static; display: block; border: none; box-shadow: none; border-radius: 0; padding-left: 16px; }
  .nav-list .nav-cta { margin: 12px 20px; align-self: flex-start; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 48px; }
  .hero h1 { font-size: 30px; }
  .hero-visual { display: none; }
  .hero-stats { gap: 24px; }
  .layout-with-side { grid-template-columns: 1fr; }
  .side-cats { position: static; }
  .product-detail { grid-template-columns: 1fr; }
  .about-strip-inner { grid-template-columns: 1fr; }
  .cat-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .about-contact { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .cat-grid, .product-grid, .flow-steps, .form-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 26px; }
  .section { padding: 44px 0; }
  .form-card, .about-body, .pd-desc, .product-detail { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* 触摸设备 hover 降级 */
@media (hover: none) {
  .cat-card:hover, .product-card:hover { transform: none; box-shadow: none; }
}


/* ============================================================
   创客科技感升级（v1.1）
   电路纹理 / 终端风 / HUD 边角 / 霓虹辉光 / 等宽字体
   ============================================================ */

:root {
  --neon: #2BE8B7;
  --font-mono: ui-monospace, "Cascadia Mono", "JetBrains Mono", Consolas, "Courier New", monospace;
}

/* 顶栏渐变发丝线 */
.site-header::after {
  content: ""; display: block; height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--neon) 45%, var(--amber) 100%);
  opacity: .8;
}

/* Hero：电路板纹理 + 缓慢漂移 */
.hero { position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96'%3E%3Cg fill='none' stroke='%232BE8B7' stroke-opacity='0.13'%3E%3Cpath d='M8 8h32v32h24'/%3E%3Cpath d='M88 88H56V56H32'/%3E%3Cpath d='M8 88V64h16'/%3E%3Cpath d='M88 8v24h-16'/%3E%3C/g%3E%3Cg stroke='none'%3E%3Ccircle cx='8' cy='8' r='3' fill='%232BE8B7' fill-opacity='0.22'/%3E%3Ccircle cx='64' cy='64' r='3' fill='%232BE8B7' fill-opacity='0.18'/%3E%3Ccircle cx='88' cy='88' r='3' fill='%23E9A23B' fill-opacity='0.28'/%3E%3Ccircle cx='24' cy='64' r='2.5' fill='%232BE8B7' fill-opacity='0.18'/%3E%3Ccircle cx='72' cy='32' r='2.5' fill='%23E9A23B' fill-opacity='0.2'/%3E%3C/g%3E%3C/svg%3E");
  animation: circuitDrift 60s linear infinite;
}
.hero-inner { position: relative; z-index: 1; }
@keyframes circuitDrift {
  from { background-position: 0 0; }
  to { background-position: 960px 480px; }
}

/* 终端风标语 */
.hero-terminal {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 14px; color: var(--neon);
  background: rgba(0, 0, 0, .38); border: 1px solid rgba(43, 232, 183, .35);
  border-radius: 8px; padding: 8px 14px; margin-bottom: 22px;
  box-shadow: 0 0 24px rgba(43, 232, 183, .12) inset;
}
.term-prompt { color: var(--amber); }
.term-cursor { display: inline-block; width: 9px; height: 17px; margin-left: 2px; background: var(--neon); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* 技术关键词芯片 */
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 26px; }
.hero-chips span {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 1px;
  color: rgba(242, 239, 232, .85); border: 1px dashed rgba(43, 232, 183, .45);
  border-radius: 6px; padding: 4px 10px; background: rgba(43, 232, 183, .06);
}

/* 区块科技感标头 */
.tech-kicker {
  display: inline-block; font-family: var(--font-mono); font-size: 12.5px;
  letter-spacing: 3px; color: var(--accent); margin-bottom: 10px;
  padding: 3px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-alt);
}
.section-alt .tech-kicker { background: var(--bg); }

/* HUD 边角（分类卡片） */
.cat-card, .flow-steps li { position: relative; }
.cat-card::before, .cat-card::after,
.flow-steps li::before, .flow-steps li::after {
  content: ""; position: absolute; width: 18px; height: 18px;
  border: 2px solid var(--neon); opacity: 0; transition: opacity .25s ease; pointer-events: none;
}
.cat-card::before, .flow-steps li::before { top: 8px; left: 8px; border-right: none; border-bottom: none; }
.cat-card::after, .flow-steps li::after { bottom: 8px; right: 8px; border-left: none; border-top: none; }
.cat-card:hover::before, .cat-card:hover::after { opacity: .9; }
.flow-steps li:hover::before, .flow-steps li:hover::after { opacity: .7; }
.cat-card:hover { box-shadow: 0 16px 32px rgba(14, 124, 123, .16), 0 0 0 1px rgba(43, 232, 183, .35); }

/* 商品卡片：霓虹辉光 */
.product-card:hover {
  border-color: var(--accent);
  box-shadow: 0 16px 36px rgba(14, 124, 123, .18), 0 0 20px rgba(43, 232, 183, .14);
}
.product-thumb { position: relative; }
.product-thumb::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: repeating-linear-gradient(0deg, rgba(43, 232, 183, .08) 0 2px, transparent 2px 5px);
}
.product-card:hover .product-thumb::after { opacity: 1; }

/* 等宽数字：价格 / 编号 */
.product-price, .pd-price strong, .hero-stats dt { font-family: var(--font-mono); letter-spacing: .5px; }

/* 主按钮辉光 */
.btn-primary { box-shadow: 0 4px 16px rgba(14, 124, 123, .28); }
.btn-primary:hover { box-shadow: 0 6px 22px rgba(14, 124, 123, .4), 0 0 14px rgba(43, 232, 183, .35); }

/* 流程卡片悬浮 */
.flow-steps li { transition: all .25s ease; }
.flow-steps li:hover { transform: translateY(-3px); border-color: var(--accent); }

/* 页脚科技发丝线 */
.site-footer { position: relative; }
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--neon), var(--amber)); opacity: .7;
}

/* 表单聚焦霓虹 */
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  box-shadow: 0 0 0 3px rgba(43, 232, 183, .15);
}

/* Hero 视觉框辉光描边 */
.hero-visual svg {
  border-radius: 14px;
  outline: 1px solid rgba(43, 232, 183, .3);
  outline-offset: 6px;
}

/* 减少动态偏好 */
@media (prefers-reduced-motion: reduce) {
  .hero::before, .term-cursor { animation: none; }
  .cat-card:hover, .flow-steps li:hover, .product-card:hover { transform: none; }
}


/* ============================================================
   报价支付功能（v1.2）
   ============================================================ */

/* 金额文本 */
.amount-text { font-family: var(--font-mono); color: var(--amber); font-weight: 700; }
.pay-none { color: var(--ink-soft); }
.paid-badge { background: #FDF0DC; color: #A66F14; border: 1px solid #EFD9AC; }

/* 支付提示弹窗 */
.pay-modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 20px; }
.pay-modal[hidden] { display: none; }
.pay-modal-mask { position: absolute; inset: 0; background: rgba(16, 18, 22, .55); backdrop-filter: blur(3px); }
.pay-modal-card {
  position: relative; background: var(--bg-alt); border-radius: var(--radius);
  max-width: 420px; width: 100%; padding: 30px; box-shadow: 0 24px 64px rgba(0, 0, 0, .25);
  border-top: 3px solid var(--amber);
}
.pay-modal-card h3 { font-size: 20px; margin-bottom: 10px; }
.pay-modal-order { font-size: 14px; color: var(--ink-soft); margin-bottom: 16px; }
.pay-modal-notice {
  background: #FBF4E6; border: 1px dashed #EFD9AC; border-radius: 10px;
  padding: 14px 16px; font-size: 14px; color: var(--ink-soft); margin-bottom: 18px;
}
.pay-modal-notice p { margin-bottom: 8px; }
.pay-modal-notice ul { list-style: none; }
.pay-modal-notice li { padding: 3px 0; }
.pay-btn { margin-left: 8px; }


/* ============================================================
   留言进度步骤条（v1.3）
   ============================================================ */

.stepper { list-style: none; display: flex; align-items: flex-start; min-width: 200px; padding: 2px 0; }
.stepper li { flex: 1; text-align: center; position: relative; }
.stepper li::before {
  content: ""; position: absolute; top: 7px; left: -50%; width: 100%; height: 2px;
  background: var(--line); transition: background .3s ease;
}
.stepper li:first-child::before { display: none; }
.step-dot {
  width: 15px; height: 15px; border-radius: 50%; background: var(--bg-alt);
  border: 2px solid var(--line); display: inline-flex; align-items: center; justify-content: center;
  font-size: 9px; color: #fff; position: relative; z-index: 1; line-height: 1;
}
.step-label { display: block; font-size: 10.5px; margin-top: 5px; color: var(--ink-soft); white-space: nowrap; }
.stepper li.done::before { background: var(--accent); }
.stepper li.done .step-dot { background: var(--accent); border-color: var(--accent); }
.stepper li.done .step-label { color: var(--accent); }
.stepper li.current .step-dot {
  background: var(--amber); border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(233, 162, 59, .22);
  animation: stepPulse 1.6s ease-in-out infinite;
}
.stepper li.current .step-label { color: var(--ink); font-weight: 700; }
@keyframes stepPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(233, 162, 59, .28); }
  50% { box-shadow: 0 0 0 6px rgba(233, 162, 59, .10); }
}
.stepper-closed {
  display: inline-block; font-size: 12px; color: #6B6E75;
  background: #EDEBE4; border-radius: 999px; padding: 4px 14px;
}
.td-stepper { min-width: 210px; }

@media (max-width: 820px) {
  .stepper { min-width: 180px; }
  .step-label { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .stepper li.current .step-dot { animation: none; }
}
