/* =========================================================
   上海大势智数科学技术有限责任公司 - 展厅设计官网
   主题：墨黑 + 香槟金（文博展厅高级配色）
   ========================================================= */

:root {
  --bg-deep: #0a0908;
  --bg-dark: #100e0b;
  --bg-card: #161310;
  --bg-elevated: #1f1b15;
  --bg-line: #2e2820;
  --primary: #d4af6a;
  --primary-dark: #a8854a;
  --primary-glow: rgba(212, 175, 106, 0.32);
  --accent: #e8c882;
  --accent-soft: #f0dda8;
  --text: #f0e9dc;
  --text-soft: #b3a892;
  --text-mute: #7d7464;
  --white: #fdf8ef;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 30px rgba(212, 175, 106, 0.18);
  --nav-h: 72px;
  --maxw: 1280px;
  --mono: "SF Mono", "Consolas", "Monaco", monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color .25s; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  width: 92%;
  max-width: var(--maxw);
  margin: 0 auto;
}

/* ---------- 背景纹理：点阵（替代原方格） ---------- */
.bg-grid::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(212, 175, 106, 0.14) 1.2px, transparent 1.2px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 40%, transparent 100%);
          mask-image: radial-gradient(ellipse at 50% 30%, #000 40%, transparent 100%);
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.bg-glow.g1 { width: 520px; height: 520px; background: #3a2e18; top: -120px; left: -120px; }
.bg-glow.g2 { width: 460px; height: 460px; background: #4a3a1f; bottom: -150px; right: -100px; }

/* ---------- 通用线性图标 ---------- */
.icon-svg {
  width: 1em; height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.14em;
  flex: none;
}
/* 业务卡片图标（渐变方框内） */
.service-card .icon .icon-svg { width: 27px; height: 27px; color: var(--primary); vertical-align: 0; }
/* 联系信息卡片 */
.contact-info .icon .icon-svg { width: 21px; height: 21px; color: var(--primary); vertical-align: 0; }
/* 页脚联系项 */
.footer-contact .ic .icon-svg { width: 16px; height: 16px; vertical-align: -3px; }
/* 输入框左侧图标 */
.ic-left .icon-svg { width: 16px; height: 16px; vertical-align: -3px; }
/* 注册/登录视觉区特性图标 */
.auth-visual .feat .ic .icon-svg { width: 16px; height: 16px; vertical-align: 0; }
/* 资讯锁标识 */
.lock-tip .icon-svg { width: 13px; height: 13px; vertical-align: -2px; }
/* 身份证上传 */
.up-ic .icon-svg { width: 30px; height: 30px; vertical-align: 0; }
/* 第三方登录按钮 */
.btn-social .icon-svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 2px; }

/* ---------- 顶部导航 ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: var(--bg-deep);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 175, 106, 0.18);
  transition: all .3s;
}
.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .5px;
  color: var(--white);
  flex-shrink: 0;
}
.brand .logo-mark {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--primary), #7a5f33);
  display: grid; place-items: center;
  font-size: 18px;
  color: var(--white);
  box-shadow: 0 0 18px var(--primary-glow);
  flex-shrink: 0;
}
.brand .brand-text { line-height: 1.2; }
.brand .brand-text small { display: block; font-size: 11px; font-weight: 400; color: var(--primary); letter-spacing: 2px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 10px 16px;
  font-size: 15px;
  color: var(--text-soft);
  border-radius: 8px;
  position: relative;
  font-weight: 500;
}
.nav-links a:hover { color: var(--white); background: rgba(212, 175, 106, 0.08); }
.nav-links a.active:not(.btn-login) {
  color: var(--primary);
}
.nav-links a.active:not(.btn-login)::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px;
  bottom: 4px; height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
  border-radius: 2px;
}
.nav-links .btn-login {
  margin-left: 8px;
  padding: 9px 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--bg-deep);
  font-weight: 600;
  border-radius: 22px;
}
.nav-links .btn-login:hover {
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--accent), var(--primary));
  box-shadow: 0 6px 20px var(--primary-glow);
  transform: translateY(-1px);
}
/* 用户登录：描边胶囊（次要） */
.nav-links .btn-login.btn-line {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}
.nav-links .btn-login.btn-line:hover {
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-color: transparent;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: .3s;
}

/* ---------- 通用区块 ---------- */
section { position: relative; z-index: 1; }
.section { padding: 88px 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--primary);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
}
.section-title span { color: var(--primary); }
.section-sub {
  margin-top: 14px;
  color: var(--text-soft);
  max-width: 720px;
  margin-left: auto; margin-right: auto;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 26px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .25s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--bg-deep);
}
.btn-primary:hover { box-shadow: 0 8px 24px var(--primary-glow); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(212, 175, 106, 0.5);
}
.btn-ghost:hover { background: rgba(212, 175, 106, 0.08); border-color: var(--primary); }
.btn-accent {
  background: linear-gradient(135deg, var(--accent), #b8944f);
  color: var(--bg-deep);
}
.btn-accent:hover { box-shadow: 0 8px 24px rgba(212, 175, 106, 0.35); transform: translateY(-2px); }

/* ---------- 首页 HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(5,11,26,0.92) 0%, rgba(5,11,26,0.6) 50%, rgba(5,11,26,0.85) 100%),
              url("../img/hero-bg.svg") center/cover no-repeat;
  z-index: -1;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 40%, rgba(212, 175, 106, 0.18), transparent 50%);
}
.hero-content { max-width: 760px; padding: 40px 0; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 22px;
  background: rgba(212, 175, 106, 0.12);
  border: 1px solid rgba(212, 175, 106, 0.35);
  color: var(--primary);
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 26px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 10px var(--primary); }
.hero h1 {
  font-size: 56px;
  line-height: 1.15;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: 1px;
}
.hero h1 .grad {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: 18px;
  color: var(--text-soft);
  margin-bottom: 38px;
  max-width: 620px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 50px;
  margin-top: 60px;
  flex-wrap: wrap;
}
.hero-stats .stat strong {
  display: block;
  font-size: 40px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.hero-stats .stat span { font-size: 14px; color: var(--text-mute); margin-top: 8px; display: block; }

.scroll-down {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  width: 28px; height: 46px;
  border: 2px solid rgba(212, 175, 106, 0.5);
  border-radius: 14px;
  display: grid; place-items: center;
}
.scroll-down::after {
  content: ""; width: 5px; height: 9px;
  background: var(--primary); border-radius: 3px;
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot { 0% { transform: translateY(-8px); opacity: 0; } 50% { opacity: 1; } 100% { transform: translateY(8px); opacity: 0; } }

/* ---------- 服务/能力网格 ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-line);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(212,175,106,0.4); box-shadow: var(--shadow-glow); }
.service-card:hover::before { transform: scaleX(1); }
.service-card .icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(212,175,106,0.18), rgba(212,175,106,0.04));
  border: 1px solid rgba(212, 175, 106, 0.3);
  display: grid; place-items: center;
  font-size: 26px;
  margin-bottom: 22px;
}
.service-card h3 { font-size: 20px; color: var(--white); margin-bottom: 12px; }
.service-card p { color: var(--text-soft); font-size: 14.5px; }

/* ---------- 案例展示 ---------- */
.case-filter {
  display: flex; justify-content: center;
  gap: 10px; flex-wrap: wrap;
  margin-bottom: 44px;
}
.case-filter button {
  padding: 9px 22px;
  border-radius: 22px;
  background: transparent;
  border: 1px solid var(--bg-line);
  color: var(--text-soft);
  font-size: 14px;
  cursor: pointer;
  transition: all .25s;
}
.case-filter button:hover { color: var(--white); border-color: var(--primary); }
.case-filter button.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--bg-deep);
  border-color: transparent;
  font-weight: 600;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.case-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .35s;
  display: flex;
  flex-direction: column;
}
.case-card:hover { transform: translateY(-6px); border-color: rgba(212,175,106,0.45); box-shadow: var(--shadow); }
.case-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.case-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s;
}
.case-card:hover .case-img img { transform: scale(1.08); }
.case-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5,11,26,0.85));
}
.case-no {
  position: absolute;
  top: 14px; left: 14px;
  padding: 5px 12px;
  background: rgba(212, 175, 106, 0.85);
  color: var(--bg-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 6px;
  z-index: 2;
}
.case-cat {
  position: absolute;
  bottom: 14px; left: 16px;
  color: var(--primary);
  font-size: 13px;
  z-index: 2;
  letter-spacing: 2px;
}
.case-body { padding: 22px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.case-body h3 { font-size: 18px; color: var(--white); margin-bottom: 8px; }
.case-body p { color: var(--text-mute); font-size: 13.5px; margin-bottom: 16px; flex: 1; }
.case-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; color: var(--text-mute);
  border-top: 1px dashed var(--bg-line);
  padding-top: 14px;
}
.case-meta .arrow { color: var(--primary); font-weight: 600; }

/* ---------- 关于我们 ---------- */
.about-hero {
  padding: calc(var(--nav-h) + 70px) 0 60px;
  background: linear-gradient(180deg, rgba(212,175,106,0.06), transparent);
}
.about-intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-text h2 { font-size: 34px; color: var(--white); margin-bottom: 22px; line-height: 1.3; }
.about-text h2 span { color: var(--primary); }
.about-text p { color: var(--text-soft); margin-bottom: 18px; }
.about-text .quote {
  border-left: 3px solid var(--primary);
  padding: 14px 20px;
  background: rgba(212, 175, 106, 0.06);
  border-radius: 0 10px 10px 0;
  color: var(--text);
  margin: 24px 0;
}
.about-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--bg-line); }

.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-top: 60px;
}
.value-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--bg-card);
  border: 1px solid var(--bg-line);
  border-radius: var(--radius);
  transition: all .3s;
}
.value-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.value-card .num { font-size: 42px; font-weight: 800; color: var(--primary); }
.value-card .label { color: var(--text-soft); margin-top: 6px; font-size: 14px; }

.timeline { margin-top: 50px; position: relative; }
.timeline::before {
  content: ""; position: absolute;
  left: 8px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), transparent);
}
.timeline .tl-item { position: relative; padding-left: 40px; padding-bottom: 32px; }
.timeline .tl-item::before {
  content: ""; position: absolute;
  left: 0; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 3px solid var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
}
.timeline .tl-year { color: var(--primary); font-weight: 700; font-size: 18px; }
.timeline .tl-text { color: var(--text-soft); margin-top: 6px; }

/* ---------- 资讯列表 ---------- */
.news-list { max-width: 920px; margin: 0 auto; }
.news-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  padding: 26px;
  background: var(--bg-card);
  border: 1px solid var(--bg-line);
  border-radius: var(--radius);
  margin-bottom: 22px;
  transition: all .3s;
  cursor: pointer;
}
.news-item:hover { border-color: var(--primary); transform: translateX(6px); box-shadow: var(--shadow); }
.news-img { height: 140px; border-radius: 10px; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-item:hover .news-img img { transform: scale(1.06); }
.news-body h3 { font-size: 19px; color: var(--white); margin-bottom: 10px; line-height: 1.4; }
.news-item:hover .news-body h3 { color: var(--primary); }
.news-body p { color: var(--text-mute); font-size: 14px; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-meta { display: flex; gap: 18px; font-size: 13px; color: var(--text-mute); align-items: center; }
.news-meta .author { color: var(--primary); }
.news-meta .lock-tip { color: var(--accent); }

.pagination {
  display: flex; justify-content: center;
  gap: 8px; margin-top: 40px;
}
.pagination a, .pagination span {
  min-width: 42px; height: 42px;
  padding: 0 16px;
  display: grid; place-items: center;
  border-radius: 10px;
  border: 1px solid var(--bg-line);
  color: var(--text-soft);
  font-size: 14px;
  white-space: nowrap;
  transition: all .25s;
}
.pagination a:hover, .pagination .current {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--bg-deep);
  border-color: transparent;
  font-weight: 600;
}

/* ---------- 联系我们 ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-line);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
}
.contact-info .info-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px dashed var(--bg-line);
}
.contact-info .info-item:last-child { border-bottom: none; }
.contact-info .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(212,175,106,0.12);
  color: var(--primary);
  display: grid; place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-info .meta-label { font-size: 12.5px; color: var(--text-mute); }
.contact-info .meta-value { font-size: 16px; color: var(--text); margin-top: 3px; word-break: break-all; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; color: var(--text-soft); margin-bottom: 8px; }
.form-group .req { color: var(--accent); margin-left: 4px; }
.form-control {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-deep);
  border: 1px solid var(--bg-line);
  border-radius: 10px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: border-color .25s;
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(212,175,106,0.12); }
textarea.form-control { resize: vertical; min-height: 120px; }

.map-embed {
  margin-top: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--bg-line);
  height: 440px;
  background: var(--bg-dark);
}
.map-embed img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 登录注册 ---------- */
.auth-wrap {
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.auth-visual {
  position: relative;
  background: linear-gradient(135deg, rgba(5,11,26,0.7), rgba(5,11,26,0.95)),
              url("../img/register-bg.svg") center/cover no-repeat;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 60px;
}
.auth-visual .v-content { max-width: 460px; }
.auth-visual h2 { font-size: 38px; color: var(--white); line-height: 1.3; margin-bottom: 20px; }
.auth-visual h2 span { color: var(--primary); }
.auth-visual p { color: var(--text-soft); }
.auth-visual .features { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; }
.auth-visual .feat { display: flex; gap: 12px; align-items: center; color: var(--text); }
.auth-visual .feat .ic { width: 32px; height: 32px; border-radius: 8px; background: rgba(212,175,106,0.15); color: var(--primary); display: grid; place-items: center; font-size: 14px; }

.auth-form {
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-dark);
  overflow-y: auto;
}
.auth-form .form-inner { max-width: 440px; margin: 0 auto; width: 100%; }
.auth-form h1 { font-size: 30px; color: var(--white); margin-bottom: 8px; }
.auth-form .sub { color: var(--text-soft); margin-bottom: 32px; }
.auth-tabs {
  display: flex;
  background: var(--bg-deep);
  border-radius: 12px;
  padding: 5px;
  margin-bottom: 30px;
}
.auth-tabs a {
  flex: 1; text-align: center;
  padding: 11px;
  border-radius: 9px;
  color: var(--text-mute);
  font-size: 15px;
  font-weight: 500;
}
.auth-tabs a.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--bg-deep);
  font-weight: 600;
}

.input-wrap { position: relative; }
.input-wrap .ic-left {
  position: absolute; left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-mute); font-size: 16px;
}
.input-wrap .form-control { padding-left: 42px; }
.input-wrap .toggle-pw {
  position: absolute; right: 12px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-mute); cursor: pointer; font-size: 14px;
  background: none; border: none;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; color: var(--text-soft);
  margin: 14px 0 22px;
}
.form-check input { margin-top: 3px; accent-color: var(--primary); }
.form-check a { color: var(--primary); }

.btn-block { width: 100%; justify-content: center; padding: 14px; }
.auth-foot { text-align: center; color: var(--text-mute); font-size: 14px; margin-top: 24px; }
.auth-foot a { color: var(--primary); }

.id-upload {
  border: 1.5px dashed var(--bg-line);
  border-radius: 12px;
  padding: 22px;
  text-align: center;
  cursor: pointer;
  transition: all .25s;
  background: var(--bg-deep);
}
.id-upload:hover { border-color: var(--primary); background: rgba(212,175,106,0.04); }
.id-upload .up-ic { font-size: 28px; color: var(--primary); }
.id-upload .up-tip { font-size: 13px; color: var(--text-mute); margin-top: 6px; }

.strength-bar {
  display: flex; gap: 6px; margin-top: 8px;
}
.strength-bar span { flex: 1; height: 4px; border-radius: 2px; background: var(--bg-line); transition: .3s; }
.strength-bar.weak span:nth-child(1) { background: #e74c3c; }
.strength-bar.mid span:nth-child(1), .strength-bar.mid span:nth-child(2) { background: var(--accent); }
.strength-bar.strong span { background: #2ecc71; }

.divider {
  display: flex; align-items: center; gap: 14px;
  color: var(--text-mute); font-size: 13px;
  margin: 24px 0;
}
.divider::before, .divider::after {
  content: ""; flex: 1; height: 1px;
  background: var(--bg-line);
}
.social-row { display: flex; gap: 12px; }
.social-row .btn-social {
  flex: 1; padding: 11px;
  border-radius: 10px;
  background: var(--bg-deep);
  border: 1px solid var(--bg-line);
  color: var(--text-soft);
  text-align: center;
  font-size: 14px;
  cursor: pointer;
  transition: all .25s;
}
.social-row .btn-social:hover { border-color: var(--primary); color: var(--white); }

/* ---------- 页脚 ---------- */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--bg-line);
  padding: 56px 0 24px;
  position: relative;
  z-index: 1;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--bg-line);
}
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { color: var(--text-mute); font-size: 14px; max-width: 320px; }
.footer-col h4 { color: var(--white); font-size: 16px; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a { color: var(--text-mute); font-size: 14px; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-contact li { color: var(--text-mute); font-size: 14px; margin-bottom: 11px; display: flex; gap: 10px; }
.footer-contact li .ic { color: var(--primary); }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 16px;
  color: var(--text-mute);
}
.footer-bottom .icp a { color: var(--text-mute); }
.footer-bottom .icp a:hover { color: var(--primary); }
.footer-bottom .beian { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- 通用 banner (内页) ---------- */
.page-banner {
  padding: calc(var(--nav-h) + 80px) 0 70px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(212,175,106,0.12), transparent 60%),
    linear-gradient(180deg, rgba(212,175,106,0.05), transparent);
  position: relative;
}
.page-banner h1 { font-size: 44px; color: var(--white); margin-bottom: 14px; }
.page-banner h1 span { color: var(--primary); }
.page-banner p { color: var(--text-soft); max-width: 680px; margin: 0 auto; }
.breadcrumb {
  margin-top: 18px;
  font-size: 13px; color: var(--text-mute);
}
.breadcrumb a { color: var(--primary); }
.breadcrumb .sep { margin: 0 8px; }

/* ---------- 客户 / 合作 logo ---------- */
.partner-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px;
  margin-top: 40px;
}
.partner-strip .logo-box {
  height: 80px;
  background: var(--bg-card);
  border: 1px solid var(--bg-line);
  border-radius: 10px;
  display: grid; place-items: center;
  color: var(--text-mute);
  font-size: 14px;
  transition: all .3s;
}
.partner-strip .logo-box:hover { color: var(--primary); border-color: var(--primary); }

/* ---------- 滚动动画 ---------- */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.fade-up.in { opacity: 1; transform: translateY(0); }

/* =========================================================
   在线商城
   ========================================================= */

/* 商城横幅 */
.shop-hero { position: relative; height: 340px; display: flex; align-items: center; overflow: hidden; margin-top: var(--nav-h); }
.shop-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shop-hero-mask { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,9,8,0.92) 0%, rgba(10,9,8,0.72) 45%, rgba(10,9,8,0.45) 100%); }
.shop-hero-inner { position: relative; z-index: 2; }
.shop-hero-tag { font-family: var(--mono); font-size: 12px; letter-spacing: 4px; color: var(--accent); }
.shop-hero h1 { font-size: 46px; margin: 10px 0 12px; }
.shop-hero h1 span { color: var(--primary); }
.shop-hero p { color: var(--text-soft); font-size: 16px; }
.breadcrumb.light, .breadcrumb.light span { color: rgba(253,248,239,0.75); }
.breadcrumb.light { margin-top: 16px; font-size: 13px; }

/* 服务承诺 */
.shop-assure { display: grid; grid-template-columns: repeat(4,1fr); gap:16px; margin-bottom: 30px; }
.assure-item { background: var(--bg-card); border:1px solid var(--bg-line); border-radius: var(--radius); padding:18px 22px; display:flex; flex-direction:column; gap:4px; }
.assure-item strong { font-size:16px; color:var(--accent); }
.assure-item span { font-size:13px; color:var(--text-mute); }

/* 工具栏 */
.shop-toolbar { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px; margin-bottom:14px; }
.shop-filter, .shop-sort { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.shop-sort > span { font-size:13px; color:var(--text-mute); }
.shop-filter button, .shop-sort button {
  padding:8px 18px; border-radius:30px; font-size:14px; cursor:pointer;
  background:var(--bg-card); color:var(--text-soft); border:1px solid var(--bg-line); transition:.25s;
}
.shop-filter button:hover, .shop-sort button:hover { color:var(--primary); border-color:var(--primary); }
.shop-filter button.active, .shop-sort button.active { background:linear-gradient(135deg,var(--primary),var(--primary-dark)); color:var(--bg-deep); border-color:transparent; font-weight:600; }
.shop-result { font-size:14px; color:var(--text-mute); margin-bottom:22px; }
.shop-result strong { color:var(--accent); font-size:16px; }

/* 商品网格 */
.product-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.product-card {
  background:var(--bg-card); border:1px solid var(--bg-line); border-radius:var(--radius-lg);
  overflow:hidden; transition:.35s; display:flex; flex-direction:column;
}
.product-card:hover { border-color:var(--primary); transform:translateY(-5px); box-shadow:var(--shadow-glow); }
.pc-img { position:relative; aspect-ratio:1/1; background:var(--bg-dark); overflow:hidden; }
.pc-img img { width:100%; height:100%; object-fit:cover; transition:.5s; display:block; }
.product-card:hover .pc-img img { transform:scale(1.07); }
.pc-cat { position:absolute; top:12px; left:12px; z-index:2; background:rgba(10,9,8,0.78); color:var(--primary); font-size:11px; padding:4px 12px; border-radius:20px; backdrop-filter:blur(4px); }
.sold-out { position:absolute; inset:0; z-index:2; display:grid; place-items:center; background:rgba(10,9,8,0.55); color:var(--text); font-size:18px; letter-spacing:3px; }
.pc-body { padding:18px 18px 20px; display:flex; flex-direction:column; flex:1; }
.pc-name { font-size:16px; font-weight:600; margin-bottom:6px; }
.pc-brief { font-size:13px; color:var(--text-mute); line-height:1.6; margin-bottom:14px; }
.pc-price { display:flex; align-items:baseline; gap:10px; margin-bottom:12px; }
.pc-price .now { font-size:22px; font-weight:800; color:var(--accent); }
.pc-price .old { font-size:13px; color:var(--text-mute); text-decoration:line-through; }
.pc-foot { margin-top:auto; display:flex; justify-content:space-between; align-items:center; }
.pc-sales { font-size:12px; color:var(--text-mute); }
.pc-btn { font-size:13px; color:var(--primary); border:1px solid var(--primary); padding:5px 14px; border-radius:20px; transition:.25s; }
.product-card:hover .pc-btn { background:var(--primary); color:var(--bg-deep); }

/* 提示条 */
.shop-toast {
  position:fixed; left:50%; bottom:60px; transform:translate(-50%,20px); z-index:999;
  background:var(--bg-elevated); border:1px solid var(--primary); color:var(--accent-soft);
  padding:13px 28px; border-radius:30px; font-size:14px; opacity:0; transition:.3s;
  box-shadow:var(--shadow-glow);
}
.shop-toast.show { opacity:1; transform:translate(-50%,0); }

/* 详情页 */
.not-found { text-align:center; padding:70px 20px; }
.not-found h2 { font-size:30px; margin-bottom:14px; }
.not-found p { color:var(--text-soft); margin-bottom:28px; }

.pd-wrap { max-width:1200px; }
.pd-main { display:grid; grid-template-columns:1.05fr 1fr; gap:40px; margin-bottom:60px; }
.pd-gallery { display:flex; flex-direction:column; gap:14px; }
.pd-cover { border:1px solid var(--bg-line); border-radius:var(--radius-lg); overflow:hidden; background:var(--bg-dark); aspect-ratio:1/1; }
.pd-cover img { width:100%; height:100%; object-fit:cover; display:block; }
.pd-thumbs { display:flex; gap:12px; }
.pd-thumbs .thumb { width:72px; height:72px; border-radius:var(--radius); overflow:hidden; border:1px solid var(--bg-line); cursor:pointer; }
.pd-thumbs .thumb.active { border-color:var(--primary); box-shadow:var(--shadow-glow); }
.pd-thumbs .thumb img { width:100%; height:100%; object-fit:cover; }

.pd-info { display:flex; flex-direction:column; }
.pd-cat { font-size:12px; color:var(--primary); letter-spacing:2px; margin-bottom:12px; }
.pd-info h1 { font-size:28px; line-height:1.4; margin-bottom:12px; }
.pd-brief { font-size:14px; color:var(--text-mute); margin-bottom:22px; }
.pd-price-box { background:linear-gradient(135deg,rgba(212,175,106,0.1),rgba(212,175,106,0.03)); border:1px solid var(--bg-line); border-radius:var(--radius); padding:20px 24px; display:flex; align-items:baseline; gap:16px; flex-wrap:wrap; margin-bottom:24px; }
.pd-price { font-size:36px; font-weight:800; color:var(--accent); }
.pd-original { font-size:15px; color:var(--text-mute); text-decoration:line-through; }
.pd-save { font-size:13px; color:var(--primary); border:1px solid var(--primary-dark); padding:2px 10px; border-radius:20px; }
.pd-data { display:grid; grid-template-columns:1fr 1fr; gap:0; border:1px solid var(--bg-line); border-radius:var(--radius); overflow:hidden; margin-bottom:24px; }
.pd-data > div { display:flex; padding:13px 18px; border-bottom:1px solid var(--bg-line); }
.pd-data > div:nth-last-child(-n+2) { border-bottom:none; }
.pd-data dt { width:56px; color:var(--text-mute); font-size:14px; flex-shrink:0; }
.pd-data dd { font-size:14px; color:var(--text); }
.pd-qty { display:flex; align-items:center; gap:18px; margin-bottom:26px; }
.pd-qty > span { font-size:14px; color:var(--text-soft); }
.qty-box { display:flex; align-items:center; border:1px solid var(--bg-line); border-radius:10px; overflow:hidden; }
.qty-box button { width:38px; height:38px; background:var(--bg-card); color:var(--primary); font-size:18px; border:none; cursor:pointer; transition:.2s; }
.qty-box button:hover { background:var(--primary); color:var(--bg-deep); }
.qty-box input { width:54px; height:38px; text-align:center; border:none; border-left:1px solid var(--bg-line); border-right:1px solid var(--bg-line); background:var(--bg-dark); color:var(--text); font-size:15px; }
.pd-actions { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:20px; }
.pd-actions button { height:52px; border-radius:30px; font-size:16px; font-weight:600; cursor:pointer; transition:.3s; }
.btn-cart { background:transparent; color:var(--primary); border:1px solid var(--primary); }
.btn-cart:hover { background:rgba(212,175,106,0.12); }
.btn-buy { background:linear-gradient(135deg,var(--accent),var(--primary)); color:var(--bg-deep); border:none; }
.btn-buy:hover { box-shadow:var(--shadow-glow); transform:translateY(-2px); }
.pd-guarantee { display:flex; gap:20px; flex-wrap:wrap; font-size:13px; color:var(--text-mute); }
.pd-guarantee span { color:var(--text-soft); }

.pd-section { margin-bottom:54px; }
.pd-section h2 { font-size:22px; margin-bottom:18px; display:flex; align-items:center; gap:12px; }
.pd-section h2::before { content:""; width:4px; height:22px; background:var(--primary); border-radius:2px; }
.pd-detail { background:var(--bg-card); border:1px solid var(--bg-line); border-radius:var(--radius); padding:26px 30px; color:var(--text-soft); font-size:15px; line-height:2; }
.spec-table { border:1px solid var(--bg-line); border-radius:var(--radius); overflow:hidden; }
.spec-row { display:flex; border-bottom:1px solid var(--bg-line); }
.spec-row:last-child { border-bottom:none; }
.spec-row dt { width:180px; flex-shrink:0; padding:14px 22px; background:rgba(212,175,106,0.05); color:var(--text-soft); font-size:14px; font-weight:400; }
.spec-row dd { padding:14px 22px; font-size:14px; color:var(--text); }

.rel-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.rel-card { background:var(--bg-card); border:1px solid var(--bg-line); border-radius:var(--radius); overflow:hidden; text-decoration:none; color:inherit; transition:.3s; display:block; }
.rel-card:hover { border-color:var(--primary); transform:translateY(-4px); box-shadow:var(--shadow-glow); }
.rel-img { aspect-ratio:1/1; background:var(--bg-dark); overflow:hidden; }
.rel-img img { width:100%; height:100%; object-fit:cover; transition:.4s; }
.rel-card:hover .rel-img img { transform:scale(1.07); }
.rel-name { padding:12px 14px 4px; font-size:14px; line-height:1.5; }
.rel-price { padding:0 14px 14px; font-size:16px; font-weight:700; color:var(--accent); }

@media (max-width:1024px) {
  .product-grid { grid-template-columns:repeat(3,1fr); }
  .shop-assure { grid-template-columns:repeat(2,1fr); }
  .rel-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:900px) {
  .pd-main { grid-template-columns:1fr; gap:28px; }
  .shop-hero { height:280px; }
  .shop-hero h1 { font-size:36px; }
}
@media (max-width:640px) {
  .product-grid { grid-template-columns:repeat(2,1fr); gap:14px; }
  .pc-body { padding:14px; }
  .pc-price .now { font-size:19px; }
  .pd-data { grid-template-columns:1fr; }
  .pd-data > div:nth-last-child(-n+2) { border-bottom:1px solid var(--bg-line); }
  .pd-data > div:last-child { border-bottom:none; }
  .spec-row dt { width:120px; padding:12px 14px; }
  .spec-row dd { padding:12px 14px; }
  .pd-actions { grid-template-columns:1fr; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1280px) {
  .nav-links { gap: 2px; }
  .nav-links a { padding: 9px 11px; font-size: 14px; }
  .nav-links .btn-login { padding: 8px 15px; }
  .brand { font-size: 15px; }
  .brand .brand-text small { display: none; }
}
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .about-intro { grid-template-columns: 1fr; }
  .about-img { order: -1; }
  .contact-wrap { grid-template-columns: 1fr; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    background: var(--bg-deep);
    padding: 18px;
    gap: 4px;
    border-bottom: 1px solid var(--bg-line);
    transform: translateY(-150%);
    transition: transform .35s;
    align-items: stretch;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 16px; }
  .nav-links .btn-login { margin: 8px 0 0; text-align: center; }
  .nav-toggle { display: flex; }

  .hero h1 { font-size: 36px; }
  .hero p { font-size: 16px; }
  .hero-stats { gap: 28px; }
  .hero-stats .stat strong { font-size: 30px; }

  .section { padding: 60px 0; }
  .section-title { font-size: 26px; }
  .page-banner h1 { font-size: 30px; }

  .case-grid { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; }
  .news-img { height: 180px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .auth-form { padding: 40px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .map-embed { height: 300px; }
  .brand .brand-text { font-size: 15px; }
  .brand .brand-text small { font-size: 10px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 30px; }
  .hero-actions .btn { flex: 1; justify-content: center; }
  .section-title { font-size: 22px; }
  .case-no { font-size: 11px; }
}
