/* ============================================
   天津货达供应链管理有限公司商城 - 全站样式
   高端工业科技风 / 深色品牌区 + 浅色交易区
   ============================================ */

:root {
  --bg-dark: #09111f;
  --bg-dark-soft: #0f1b31;
  --bg-panel: #101a2b;
  --bg-panel-2: #14233d;
  --bg-surface: #f3f7fc;
  --bg-surface-2: #ffffff;
  --bg-surface-3: #eaf0f7;
  --line-soft: rgba(148, 163, 184, 0.18);
  --line-strong: rgba(100, 116, 139, 0.3);
  --text-main: #0f172a;
  --text-sub: #5b6474;
  --text-invert: #e8eef8;
  --text-muted: #94a3b8;
  --brand: #3b82f6;
  --brand-strong: #2563eb;
  --brand-soft: rgba(59, 130, 246, 0.14);
  --accent: #f59e0b;
  --accent-soft: rgba(245, 158, 11, 0.14);
  --success: #16a34a;
  --danger: #dc2626;
  --warning: #d97706;
  --shadow-panel: 0 20px 60px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-hard: 0 24px 80px rgba(9, 17, 31, 0.22);
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --max-width: 1320px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-main);
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.05), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, #eff4fa 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: 0.2s ease;
}

a:hover {
  color: var(--brand-strong);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: 14px;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  color: var(--text-main);
  padding: 13px 16px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(59, 130, 246, 0.55);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.25;
  color: var(--text-main);
  font-weight: 600;
}

h1 {
  font-size: 42px;
  letter-spacing: -0.03em;
}

h2 {
  font-size: 28px;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 18px;
}

.container,
.container-wide {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1440px;
}

main {
  flex: 1;
  padding-bottom: 48px;
}

.section {
  padding: 64px 0;
  position: relative;
}

.topbar {
  background: rgba(7, 13, 24, 0.95);
  color: var(--text-muted);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  font-size: 12px;
}

.topbar-dark {
  background: linear-gradient(90deg, #07111e 0%, #0b1728 100%);
}

.topbar a {
  color: var(--text-muted);
}

.topbar a:hover {
  color: var(--text-invert);
}

.topbar-shell,
.topbar-inner {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar-meta,
.topbar-info,
.topbar-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 120;
  backdrop-filter: blur(14px);
  background: rgba(9, 17, 31, 0.86);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.navbar-shell {
  box-shadow: 0 14px 34px rgba(9, 17, 31, 0.18);
}

.navbar-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  padding: 6px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--text-invert);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.brand-text::after {
  content: "HUODA YUNXIAOBAO";
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-cluster {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  color: rgba(232, 238, 248, 0.8);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid transparent;
}

.nav-list a:hover,
.nav-list a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(148, 163, 184, 0.16);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-invert);
}

.nav-actions a,
.nav-actions button {
  color: rgba(232, 238, 248, 0.86);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.nav-actions a:hover,
.nav-actions button:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.nav-mall-btn {
  background: linear-gradient(135deg, var(--accent), #ffb703) !important;
  color: #111827 !important;
  font-weight: 700;
  border-color: rgba(245, 158, 11, 0.35) !important;
}

.nav-list-link {
  background: rgba(59, 130, 246, 0.12) !important;
}

.cart-icon {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--danger);
  color: #fff;
  font-size: 11px;
  line-height: 1;
}

.cart-count.active {
  display: inline-flex;
}

.mobile-menu-btn {
  display: none !important;
}

.footer {
  margin-top: 72px;
  background: linear-gradient(180deg, #07101c 0%, #0b1422 100%);
  color: rgba(232, 238, 248, 0.82);
  padding: 56px 0 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.footer-dark {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 28px;
}

.footer h4 {
  color: #fff;
  margin-bottom: 14px;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-info {
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.footer-info p {
  color: rgba(232, 238, 248, 0.68);
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 6px;
}

.footer-info p strong {
  color: rgba(255, 255, 255, 0.92);
}

.footer-list {
  list-style: none;
}

.footer-list li {
  margin-bottom: 10px;
}

.footer-list a {
  color: rgba(232, 238, 248, 0.68);
  font-size: 13px;
}

.footer-list a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(232, 238, 248, 0.55);
}

.beian {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  transition: 0.2s ease;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #fff;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
  color: #fff;
}

.btn-accent {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #111827;
}

.btn-accent:hover {
  color: #111827;
}

.btn-outline {
  border-color: rgba(59, 130, 246, 0.32);
  background: rgba(59, 130, 246, 0.06);
  color: var(--brand-strong);
}

.btn-outline:hover {
  background: rgba(59, 130, 246, 0.12);
  color: var(--brand-strong);
}

.btn-ghost {
  border-color: rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.82);
  color: var(--text-main);
}

.btn-ghost:hover {
  background: #fff;
  color: var(--text-main);
}

.btn-danger {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
}

.btn-lg {
  min-height: 52px;
  padding: 0 24px;
  font-size: 15px;
}

.btn-sm {
  min-height: 36px;
  padding: 0 12px;
  font-size: 12px;
}

.btn-block {
  width: 100%;
}

.card,
.brand-panel,
.flow-panel,
.detail-summary,
.detail-specs {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.card:hover,
.brand-panel:hover {
  box-shadow: var(--shadow-panel);
}

.card-body {
  padding: 24px;
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--bg-surface-3);
}

.grid {
  display: grid;
  gap: 20px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.grid-6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  position: relative;
}

.section-title::before {
  content: "SECTION";
  position: absolute;
  left: 0;
  top: -12px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section-title h2 {
  font-size: 30px;
}

.section-title h2 small {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-sub);
}

.section-title a {
  color: var(--text-sub);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.hero,
.brand-hero,
.procurement-hero {
  position: relative;
  overflow: hidden;
  color: var(--text-invert);
  background: linear-gradient(140deg, #07111d 0%, #0e1c31 48%, #123257 100%);
}

.hero::before,
.brand-hero::before,
.procurement-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 95%);
}

.hero::after,
.brand-hero::after,
.procurement-hero::after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.26) 0%, rgba(59, 130, 246, 0) 70%);
  top: -120px;
  right: -120px;
}

.hero-inner,
.brand-hero-grid,
.procurement-hero-grid {
  position: relative;
  z-index: 1;
}

.brand-hero,
.procurement-hero {
  padding: 88px 0 72px;
}

.brand-hero-grid,
.procurement-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 28px;
  align-items: stretch;
}

.brand-hero-copy,
.procurement-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.hero-kicker,
.section-kicker,
.panel-kicker,
.entry-kicker,
.catalog-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.06);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(232, 238, 248, 0.9);
}

.brand-hero-copy h1,
.procurement-copy h1 {
  color: #fff;
  font-size: 52px;
  max-width: 780px;
}

.brand-hero-copy p,
.procurement-copy p {
  color: rgba(232, 238, 248, 0.84);
  font-size: 16px;
  max-width: 760px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-meta,
.contact-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hero-meta .meta-item,
.contact-meta .meta-item {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.hero-meta span,
.contact-meta span {
  display: block;
  color: rgba(232, 238, 248, 0.72);
  font-size: 12px;
  margin-bottom: 4px;
}

.hero-meta strong,
.contact-meta strong {
  color: #fff;
  font-size: 14px;
}

.brand-hero-side,
.procurement-toolbar {
  display: grid;
  gap: 16px;
  align-content: start;
}

.brand-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.brand-panel,
.procure-panel,
.entry-card,
.catalog-card {
  position: relative;
}

.brand-panel {
  padding: 22px;
}

.brand-panel::before,
.catalog-card::before,
.entry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.brand-panel.dark,
.procure-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border-color: rgba(148, 163, 184, 0.14);
  color: var(--text-invert);
}

.brand-panel.dark h3,
.procure-panel h3 {
  color: #fff;
}

.brand-panel.dark p,
.procure-panel p {
  color: rgba(232, 238, 248, 0.72);
}

.brand-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.brand-stat {
  padding: 18px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.brand-stat strong {
  display: block;
  color: #fff;
  font-size: 24px;
  margin-bottom: 6px;
}

.brand-stat span {
  color: rgba(232, 238, 248, 0.7);
  font-size: 12px;
}

.dual-entry-grid,
.capability-grid,
.info-strip,
.catalog-grid {
  display: grid;
  gap: 20px;
}

.dual-entry-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.capability-grid {
  grid-template-columns: 1.15fr 0.85fr;
}

.info-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.brand-surface {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}

.surface-dark {
  background: linear-gradient(180deg, var(--bg-panel), var(--bg-panel-2));
  color: var(--text-invert);
  border-color: rgba(148, 163, 184, 0.14);
}

.surface-dark h2,
.surface-dark h3,
.surface-dark h4 {
  color: #fff;
}

.surface-dark p,
.surface-dark li,
.surface-dark .text-light {
  color: rgba(232, 238, 248, 0.7);
}

.matrix-grid,
.data-grid {
  display: grid;
  gap: 16px;
}

.matrix-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.data-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.data-item {
  padding: 18px;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.08), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.data-item strong {
  display: block;
  font-size: 24px;
  margin-bottom: 4px;
}

.data-item span {
  color: var(--text-sub);
  font-size: 12px;
}

.entry-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 210px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(244, 247, 252, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: var(--shadow-soft);
  color: var(--text-main);
}

.entry-card:hover {
  transform: translateY(-3px);
  color: var(--text-main);
  box-shadow: var(--shadow-panel);
}

.entry-icon {
  display: none;
}

.entry-card h3 {
  font-size: 18px;
}

.entry-card p {
  color: var(--text-sub);
  font-size: 13px;
}

.entry-card .entry-kicker {
  color: var(--brand-strong);
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.16);
}

.info-card,
.content-panel {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  margin-bottom: 14px;
}

.info-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.info-card-body {
  min-width: 0;
}

.info-card h3,
.content-panel h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.info-card p,
.content-panel p {
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.7;
}

.info-card-meta,
.content-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 10px;
  font-size: 12px;
  color: var(--text-sub);
}

.product-card,
.catalog-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-soft);
}

.product-card:hover,
.catalog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-panel);
}

.catalog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.catalog-card-media,
.product-card .img {
  position: relative;
  width: 100%;
  height: 240px;
  background: linear-gradient(180deg, #dbe7f5, #edf4fb);
}

.catalog-card-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.28));
  pointer-events: none;
}

.product-card-body,
.catalog-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.product-card h3,
.catalog-card h3 {
  font-size: 15px;
  line-height: 1.55;
  min-height: 50px;
  color: var(--text-main);
}

.catalog-meta,
.product-card .meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--text-sub);
  font-size: 12px;
}

.product-card .price,
.catalog-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--danger);
  font-size: 24px;
  font-weight: 700;
}

.product-card .price small,
.catalog-price small {
  font-size: 12px;
  color: var(--text-sub);
  text-decoration: line-through;
  font-weight: 400;
}

.product-card .actions,
.catalog-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.breadcrumb {
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  font-size: 13px;
  color: var(--text-sub);
}

.breadcrumb a {
  color: var(--text-sub);
}

.breadcrumb .sep {
  margin: 0 8px;
  color: #94a3b8;
}

.breadcrumb .current {
  color: var(--text-main);
  font-weight: 600;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  color: var(--text-sub);
  font-size: 12px;
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.tag-primary {
  background: rgba(59, 130, 246, 0.1);
  color: var(--brand-strong);
  border-color: rgba(59, 130, 246, 0.18);
}

.tag-accent,
.tag-warn {
  background: rgba(245, 158, 11, 0.14);
  color: #b45309;
  border-color: rgba(245, 158, 11, 0.18);
}

.tag-danger {
  background: rgba(220, 38, 38, 0.08);
  color: var(--danger);
  border-color: rgba(220, 38, 38, 0.18);
}

.tag-success {
  background: rgba(22, 163, 74, 0.09);
  color: #15803d;
  border-color: rgba(22, 163, 74, 0.16);
}

.tag-info {
  background: rgba(6, 182, 212, 0.08);
  color: #0f766e;
  border-color: rgba(6, 182, 212, 0.16);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  border-bottom: none;
}

.tab {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-sub);
  font-size: 13px;
  font-weight: 600;
}

.tab.active,
.tab:hover {
  color: var(--brand-strong);
  border-color: rgba(59, 130, 246, 0.24);
  background: rgba(59, 130, 246, 0.08);
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  color: var(--text-main);
  font-size: 13px;
  font-weight: 600;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.form-help {
  font-size: 12px;
  color: var(--text-sub);
  margin-top: 6px;
}

.radio-group,
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.radio-item,
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.92);
}

.radio-item input,
.checkbox-item input {
  width: auto;
}

.radio-item.checked,
.checkbox-item.checked {
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(59, 130, 246, 0.08);
  color: var(--brand-strong);
}

.modal-mask {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(9, 17, 31, 0.55);
  backdrop-filter: blur(8px);
  z-index: 9999;
}

.modal-mask.active {
  display: flex;
}

.modal {
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-hard);
  padding: 28px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-surface-3);
  color: var(--text-sub);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modal-title {
  text-align: center;
  font-size: 20px;
  margin-bottom: 20px;
}

.modal-body {
  text-align: center;
}

.modal-qr {
  width: 220px;
  height: 220px;
  margin: 0 auto 18px;
  padding: 10px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: #fff;
}

.modal-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-amount .price {
  font-size: 28px;
  color: var(--danger);
  font-weight: 700;
}

.modal-tip {
  color: var(--text-sub);
  font-size: 13px;
  margin: 14px 0 20px;
  line-height: 1.7;
}

.modal-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-120px);
  min-width: 220px;
  max-width: 90vw;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(7, 17, 30, 0.92);
  color: #fff;
  box-shadow: var(--shadow-hard);
  z-index: 10000;
  transition: transform 0.24s ease;
  text-align: center;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

.toast.success {
  background: rgba(22, 163, 74, 0.96);
}

.toast.error {
  background: rgba(220, 38, 38, 0.96);
}

.toast.warn {
  background: rgba(217, 119, 6, 0.96);
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-primary {
  color: var(--brand-strong);
}

.text-accent {
  color: var(--accent);
}

.text-danger {
  color: var(--danger);
}

.text-light {
  color: var(--text-sub);
}

.text-sm {
  font-size: 13px;
}

.text-lg {
  font-size: 18px;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 8px;
}

.mb-2 {
  margin-bottom: 16px;
}

.mb-3 {
  margin-bottom: 24px;
}

.mb-4 {
  margin-bottom: 32px;
}

.mt-2 {
  margin-top: 16px;
}

.mt-3 {
  margin-top: 24px;
}

.mt-4 {
  margin-top: 32px;
}

.flex {
  display: flex;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.gap-1 {
  gap: 8px;
}

.gap-2 {
  gap: 16px;
}

.gap-3 {
  gap: 24px;
}

.hidden {
  display: none !important;
}

.divider {
  height: 1px;
  background: rgba(148, 163, 184, 0.18);
  margin: 24px 0;
}

.placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #dbe7f5, #edf4fb);
  color: var(--text-sub);
  font-size: 13px;
}

.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.pagination a,
.pagination span {
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-main);
  font-size: 13px;
}

.pagination .active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.pagination .disabled {
  opacity: 0.45;
  pointer-events: none;
}

.catalog-shell,
.list-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
}

/* 主内容在左、侧边栏在右的布局（购物车、结算、用户中心、订单详情） */
.catalog-shell:not(.list-layout):not(.news-layout) {
  grid-template-columns: minmax(0, 1fr) 280px;
}

.catalog-filter,
.list-layout > aside .card {
  position: sticky;
  top: 96px;
}

.catalog-main {
  display: grid;
  gap: 20px;
}

.procurement-toolbar {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.procurement-toolbar .toolbar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.toolbar-chip {
  padding: 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.toolbar-chip strong {
  display: block;
  color: #fff;
  margin-bottom: 6px;
}

.toolbar-chip span {
  color: rgba(232, 238, 248, 0.68);
  font-size: 12px;
}

.detail-shell {
  display: grid;
  grid-template-columns: minmax(380px, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.detail-media,
.detail-summary,
.detail-specs,
.detail-side {
  border-radius: var(--radius-lg);
}

.detail-media {
  min-height: 520px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: var(--shadow-panel);
  background: linear-gradient(180deg, #dde7f2, #eef4fb);
  overflow: hidden;
}

.detail-summary {
  padding: 26px;
  display: grid;
  gap: 16px;
}

.detail-summary .price-band {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.06), rgba(245, 158, 11, 0.08));
  border: 1px solid rgba(220, 38, 38, 0.1);
}

.detail-summary .price-band .price {
  color: var(--danger);
  font-size: 34px;
  font-weight: 700;
}

.detail-summary .price-band small {
  color: var(--text-sub);
  text-decoration: line-through;
}

.detail-specs {
  padding: 24px;
  margin-top: 24px;
}

.detail-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}

.service-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  display: block;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 252, 0.96));
}

.service-card .catalog-card-body {
  gap: 14px;
}

.service-card h3 {
  min-height: auto;
  font-size: 22px;
  line-height: 1.5;
}

.service-card-summary {
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.8;
}

.service-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.05), rgba(255, 255, 255, 0.85));
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.service-card-grid div,
.service-side-meta div,
#contactInfo div,
#metaInfo div {
  display: grid;
  gap: 4px;
}

.service-card-grid strong,
.service-side-meta strong,
#contactInfo strong,
#metaInfo strong {
  font-size: 12px;
  color: var(--text-sub);
}

.service-card-grid span,
.service-side-meta span,
#contactInfo span,
#metaInfo span {
  color: var(--text-main);
  font-size: 14px;
  line-height: 1.6;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 4px;
  font-size: 13px;
}

.service-card-link {
  color: var(--brand-strong);
  font-weight: 600;
  white-space: nowrap;
}

.service-detail-main {
  padding: 32px;
}

.service-detail-page #detailLayout .catalog-shell {
  grid-template-columns: minmax(0, 1.9fr) 220px;
  gap: 20px;
}

.news-detail-page #articleLayout .catalog-shell {
  grid-template-columns: minmax(0, 1.9fr) 220px;
  gap: 20px;
}

.news-detail-page #articleLayout .catalog-main > article {
  padding: 32px;
}

.news-detail-page #articleLayout .content-panel {
  padding: 16px;
}

.review-detail-page #detailLayout .catalog-shell {
  grid-template-columns: minmax(0, 1.95fr) 220px;
  gap: 20px;
}

.review-detail-page #detailLayout .catalog-main > article:first-child {
  padding: 32px;
}

.review-detail-page #detailLayout .catalog-main > .brand-surface {
  padding: 28px;
}

.service-detail-title {
  font-size: 34px;
  line-height: 1.4;
  margin-bottom: 14px;
}

.service-detail-intro {
  margin-bottom: 18px;
  font-size: 15px;
  line-height: 1.9;
}

.service-block {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.service-block h2 {
  font-size: 22px;
}

.service-block p {
  color: var(--text-main);
  line-height: 1.9;
  font-size: 15px;
}

.service-contact-panel {
  padding-top: 24px;
}

.service-phone-note {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.12);
  color: var(--brand-strong);
  font-size: 13px;
}

.service-detail-side,
.service-related-panel {
  margin-bottom: 20px;
}

.service-side-meta {
  margin-top: 8px;
}

.service-related-card h3 {
  min-height: auto;
  font-size: 16px;
}

.news-layout {
  grid-template-columns: 220px minmax(0, 1.45fr) 220px;
  gap: 20px;
}

.news-main {
  min-width: 0;
}

.news-list .content-panel {
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
}

.news-list .content-panel h3 {
  font-size: 20px;
  line-height: 1.5;
}

.news-list .content-panel p {
  line-height: 1.8;
}

.review-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.review-card .catalog-card-body {
  gap: 12px;
}

.review-card h3 {
  font-size: 16px;
  min-height: 58px;
}

.review-card .catalog-meta {
  align-items: center;
}

.flow-panel {
  padding: 22px;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 1200px) {
  .brand-hero-grid,
  .procurement-hero-grid,
  .capability-grid,
  .detail-shell {
    grid-template-columns: 1fr;
  }

  .catalog-grid,
  .grid-4,
  .grid-5,
  .grid-6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-board {
    grid-template-columns: 1fr;
  }

  .news-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .news-layout > aside:last-child {
    grid-column: 1 / -1;
  }

  .review-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.5fr repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 24px;
  }

  .catalog-shell,
  .list-layout {
    grid-template-columns: 1fr;
  }

  .catalog-filter,
  .list-layout > aside .card {
    position: static;
  }

  .dual-entry-grid,
  .info-strip,
  .grid-3,
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .data-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-layout,
  .review-layout,
  .service-layout {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  .container,
  .container-wide {
    padding: 0 16px;
  }

  .section {
    padding: 44px 0;
  }

  .topbar-meta span:nth-child(3) {
    display: none;
  }

  .nav-cluster {
    order: 3;
    width: 100%;
    justify-content: stretch;
  }

  .nav-list {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-top: 12px;
  }

  .nav-list.mobile-open {
    display: flex;
  }

  .nav-list a {
    justify-content: flex-start;
    width: 100%;
  }

  .mobile-menu-btn {
    display: inline-flex !important;
  }

  .brand-text::after {
    display: none;
  }

  .brand-text {
    max-width: 140px;
    white-space: normal;
  }

  .hero-meta,
  .contact-meta,
  .brand-matrix,
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5,
  .grid-6,
  .catalog-grid,
  .dual-entry-grid,
  .info-strip,
  .matrix-grid,
  .data-grid,
  .form-row,
  .detail-spec-grid,
  .module-grid,
  .procurement-toolbar .toolbar-grid {
    grid-template-columns: 1fr;
  }

  .info-card,
  .content-panel {
    grid-template-columns: 1fr;
  }

  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
    display: grid;
  }

  .footer-bottom {
    gap: 10px;
  }

  .hero-actions,
  .form-actions,
  .modal-actions,
  .product-card .actions,
  .catalog-actions {
    grid-template-columns: 1fr;
    display: grid;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-actions a,
  .nav-actions button {
    padding: 0 10px;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 30px;
  }

  .brand-hero,
  .procurement-hero {
    padding: 72px 0 48px;
  }

  .brand-hero-copy h1,
  .procurement-copy h1 {
    font-size: 34px;
  }

  .section-title h2 {
    font-size: 24px;
  }

  .detail-media {
    min-height: 360px;
  }

  .service-card-grid,
  .service-card-footer {
    grid-template-columns: 1fr;
    display: grid;
  }

  .service-detail-title {
    font-size: 28px;
  }
}

/* ============================================
   HERO Pro - 商城首页大气尊贵头部
   ============================================ */

.hero-pro {
  position: relative;
  overflow: hidden;
  color: #e8eef8;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(42, 90, 140, 0.42) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(201, 169, 97, 0.18) 0%, transparent 50%),
    linear-gradient(135deg, #060c18 0%, #0f1b2d 42%, #14233d 100%);
  padding: 96px 0 88px;
  isolation: isolate;
}

.hero-pro-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-pro-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(201, 169, 97, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(201, 169, 97, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.9) 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.9) 0%, transparent 80%);
}

.hero-pro-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}

.hero-pro-glow-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.5) 0%, rgba(59, 130, 246, 0) 70%);
  top: -160px;
  right: -100px;
}

.hero-pro-glow-2 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.35) 0%, rgba(201, 169, 97, 0) 70%);
  bottom: -120px;
  left: -100px;
}

.hero-pro-beam {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(201, 169, 97, 0.35) 50%, transparent 100%);
  transform: translateX(-50%);
}

.hero-pro-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.hero-pro-head {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.hero-pro-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(201, 169, 97, 0.36);
  background: linear-gradient(180deg, rgba(201, 169, 97, 0.12), rgba(201, 169, 97, 0.04));
  color: rgba(232, 238, 248, 0.92);
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 500;
}

.hero-pro-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c9a961;
  box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.2);
}

.hero-pro-title {
  color: #fff;
  font-size: 56px;
  line-height: 1.18;
  letter-spacing: -0.025em;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}

.hero-pro-title .title-line {
  display: block;
}

.hero-pro-title .title-line-accent {
  background: linear-gradient(90deg, #c9a961 0%, #f5d68a 50%, #c9a961 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-pro-desc {
  color: rgba(232, 238, 248, 0.78);
  font-size: 15px;
  line-height: 1.85;
  max-width: 720px;
  letter-spacing: 0.01em;
}

.hero-pro-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  text-decoration: none;
}

.hero-btn-primary {
  background: linear-gradient(135deg, #c9a961 0%, #e8c987 50%, #b8923a 100%);
  color: #0f1b2d;
  box-shadow:
    0 14px 32px rgba(201, 169, 97, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 40px rgba(201, 169, 97, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  color: #0f1b2d;
}

.hero-btn-arrow {
  transition: transform 0.25s ease;
}

.hero-btn-primary:hover .hero-btn-arrow {
  transform: translateX(4px);
}

.hero-btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(232, 238, 248, 0.92);
  border-color: rgba(232, 238, 248, 0.22);
  backdrop-filter: blur(8px);
}

.hero-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(201, 169, 97, 0.5);
  color: #fff;
  transform: translateY(-2px);
}

/* 统计带 */
.hero-pro-stats {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  padding: 24px 0;
  border-top: 1px solid rgba(232, 238, 248, 0.1);
  border-bottom: 1px solid rgba(232, 238, 248, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(201, 169, 97, 0.03), rgba(255, 255, 255, 0.02));
}

.hero-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 28px;
  text-align: center;
  min-width: 0;
}

.hero-stat-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(232, 238, 248, 0.55);
  font-weight: 500;
}

.hero-stat-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
}

.hero-stat-value strong {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #fff 0%, #c9a961 130%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-stat-value em {
  font-size: 12px;
  font-style: normal;
  color: rgba(232, 238, 248, 0.62);
  letter-spacing: 0.04em;
}

.hero-stat-sep {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(180deg, transparent 0%, rgba(201, 169, 97, 0.35) 50%, transparent 100%);
}

/* 品类横条卡片 */
.hero-pro-cats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.hero-cat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 20px 20px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(232, 238, 248, 0.1);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  min-height: 140px;
}

.hero-cat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #c9a961 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-cat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 100%, rgba(201, 169, 97, 0.18) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.hero-cat:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 169, 97, 0.4);
  background: linear-gradient(180deg, rgba(201, 169, 97, 0.1) 0%, rgba(201, 169, 97, 0.02) 100%);
}

.hero-cat:hover::before,
.hero-cat:hover::after {
  opacity: 1;
}

.hero-cat-num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(201, 169, 97, 0.85);
  font-family: "SF Mono", "Consolas", "Monaco", monospace;
}

.hero-cat-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-cat-body strong {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero-cat-body span {
  color: rgba(232, 238, 248, 0.6);
  font-size: 12px;
  line-height: 1.5;
}

.hero-cat-arrow {
  position: absolute;
  bottom: 16px;
  right: 18px;
  color: rgba(201, 169, 97, 0.7);
  font-size: 16px;
  transition: transform 0.25s ease, color 0.25s ease;
}

.hero-cat:hover .hero-cat-arrow {
  transform: translateX(4px);
  color: #c9a961;
}

/* 响应式适配 */
@media (max-width: 1200px) {
  .hero-pro-title {
    font-size: 46px;
  }

  .hero-pro-cats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-pro-stats {
    flex-wrap: wrap;
    gap: 12px 0;
  }

  .hero-stat {
    flex: 0 0 33.333%;
    padding: 8px 16px;
  }

  .hero-stat-sep:nth-of-type(odd) {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-pro {
    padding: 64px 0 56px;
  }

  .hero-pro-inner {
    gap: 36px;
  }

  .hero-pro-title {
    font-size: 34px;
  }

  .hero-pro-desc {
    font-size: 14px;
  }

  .hero-btn {
    min-height: 44px;
    padding: 0 18px;
    font-size: 13px;
  }

  .hero-pro-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-btn {
    justify-content: center;
  }

  .hero-pro-cats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .hero-cat {
    min-height: 120px;
    padding: 18px 16px;
  }

  .hero-stat {
    flex: 0 0 50%;
    padding: 8px 12px;
  }

  .hero-stat-value strong {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .hero-pro-title {
    font-size: 28px;
  }

  .hero-pro-cats {
    grid-template-columns: 1fr;
  }

  .hero-stat {
    flex: 0 0 100%;
    padding: 10px 0;
  }

  .hero-stat-sep {
    display: none;
  }
}

/* ============================================
   导航栏 - 产品分类下拉菜单
   ============================================ */

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
}

.nav-caret {
  font-size: 10px;
  line-height: 1;
  opacity: 0.7;
  transition: transform 0.25s ease;
  display: inline-block;
}

.nav-dropdown:hover .nav-caret,
.nav-dropdown:focus-within .nav-caret {
  transform: rotate(180deg);
  opacity: 1;
  color: #c9a961;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 280px;
  list-style: none;
  background: linear-gradient(180deg, rgba(15, 27, 45, 0.98) 0%, rgba(9, 17, 31, 0.98) 100%);
  border: 1px solid rgba(201, 169, 97, 0.22);
  border-radius: 16px;
  padding: 10px;
  box-shadow:
    0 24px 60px rgba(9, 17, 31, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 200;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: rgba(15, 27, 45, 0.98);
  border-top: 1px solid rgba(201, 169, 97, 0.22);
  border-left: 1px solid rgba(201, 169, 97, 0.22);
  border-radius: 2px 0 0 0;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu,
.nav-dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu li {
  margin: 0;
  list-style: none;
}

.nav-dropdown-menu a {
  display: flex !important;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px !important;
  border-radius: 10px !important;
  color: rgba(232, 238, 248, 0.82) !important;
  font-size: 13px !important;
  min-height: auto !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  transition: all 0.2s ease;
  position: relative;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  background: linear-gradient(90deg, rgba(201, 169, 97, 0.14) 0%, rgba(201, 169, 97, 0.04) 100%) !important;
  border-color: rgba(201, 169, 97, 0.28) !important;
  color: #fff !important;
}

.nav-dropdown-menu a.active {
  background: linear-gradient(90deg, rgba(201, 169, 97, 0.2) 0%, rgba(201, 169, 97, 0.06) 100%) !important;
}

.nav-sub-name {
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  letter-spacing: 0.01em;
}

.nav-dropdown-menu a:hover .nav-sub-name,
.nav-dropdown-menu a.active .nav-sub-name {
  color: #c9a961;
}

.nav-sub-desc {
  font-size: 11px;
  color: rgba(232, 238, 248, 0.55);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.nav-dropdown-menu a:hover .nav-sub-desc {
  color: rgba(232, 238, 248, 0.78);
}

/* 移动端下拉适配 */
@media (max-width: 768px) {
  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    min-width: 0;
    padding: 6px 0 6px 14px;
    box-shadow: none;
    border: none;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin-top: 4px;
  }

  .nav-dropdown-menu::before {
    display: none;
  }

  .nav-dropdown-menu a {
    padding: 10px 12px !important;
    border-radius: 8px !important;
  }

  .nav-caret {
    display: none;
  }
}

/* ============================================
   付费资讯板块（news.html / news-detail.html）
   ============================================ */
.news-banner {
  background:
    radial-gradient(circle at 85% 20%, rgba(245, 158, 11, 0.16), transparent 40%),
    linear-gradient(135deg, #09111f 0%, #14233d 100%);
  color: var(--text-invert);
  padding: 56px 0 48px;
}
.news-banner-inner h1 { font-size: 34px; letter-spacing: 1px; margin: 12px 0 10px; }
.news-banner-inner p { max-width: 640px; color: var(--text-muted); }
.news-banner-chip {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
  font-size: 12px; letter-spacing: 2px; border: 1px solid rgba(245, 158, 11, 0.4);
}

.news-cat-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.news-cat-btn {
  padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--bg-surface-2); color: var(--text-sub); cursor: pointer; font-size: 14px;
}
.news-cat-btn.active, .news-cat-btn:hover {
  background: var(--brand); border-color: var(--brand); color: #fff;
}

.news-list { display: flex; flex-direction: column; gap: 18px; }
.news-empty { padding: 48px 0; text-align: center; color: var(--text-sub); }

.news-hero {
  background: var(--bg-surface-2); border: 1px solid var(--line-soft);
  border-left: 4px solid var(--brand); border-radius: var(--radius-sm);
  padding: 28px 32px; cursor: pointer; box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.news-hero:hover { transform: translateY(-2px); box-shadow: var(--shadow-panel); }
.news-hero-chip {
  display: inline-block; margin-bottom: 12px; padding: 3px 10px; border-radius: 4px;
  background: var(--danger); color: #fff; font-size: 12px; letter-spacing: 2px;
}
.news-hero h2 { font-size: 24px; margin: 10px 0; }
.news-hero p { color: var(--text-sub); margin-bottom: 16px; }
.news-hero-foot { display: flex; align-items: center; justify-content: space-between; color: var(--text-muted); font-size: 13px; }
.btn-sm { padding: 8px 20px; font-size: 14px; }

.news-duo-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.news-card {
  background: var(--bg-surface-2); border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm); padding: 22px 26px; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.news-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.news-card h3 { font-size: 17px; margin: 8px 0; }
.news-card p { color: var(--text-sub); font-size: 14px; margin-bottom: 12px; }
.news-row-foot { color: var(--brand); font-size: 13px; }

.news-row {
  display: flex; align-items: flex-start; gap: 18px;
  background: var(--bg-surface-2); border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm); padding: 20px 24px; cursor: pointer;
  transition: border-color 0.2s ease;
}
.news-row:hover { border-color: var(--brand); }
.news-row-num {
  font-size: 22px; font-weight: 700; color: var(--brand);
  min-width: 42px; line-height: 1.4; font-variant-numeric: tabular-nums;
}
.news-row-main { flex: 1; }
.news-row h3 { font-size: 16px; margin-bottom: 4px; }
.news-row p {
  color: var(--text-sub); font-size: 13px; margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.news-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 12.5px; color: var(--text-muted);
}
.news-cat-chip {
  padding: 2px 10px; border-radius: 4px; font-size: 12px;
  background: var(--brand-soft); color: var(--brand-strong);
}
.news-price-chip {
  padding: 2px 10px; border-radius: 4px; font-size: 12px; font-weight: 600;
  background: rgba(220, 38, 38, 0.1); color: var(--danger);
}

/* 详情页 */
.nd-container { max-width: 860px; }
.nd-title { font-size: 26px; line-height: 1.5; margin-bottom: 14px; }
.nd-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; color: var(--text-muted); font-size: 13px; padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); margin-bottom: 24px; }
.nd-body { font-size: 15.5px; line-height: 1.9; color: var(--text-main); }
.nd-body p { margin-bottom: 16px; }
.nd-body.is-locked {
  max-height: 220px; overflow: hidden; position: relative;
}
.nd-body.is-locked::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #f8fbff 78%);
  pointer-events: none;
}
.nd-unlocked-chip {
  display: inline-block; margin-bottom: 16px; padding: 3px 12px; border-radius: 4px;
  background: var(--success); color: #fff; font-size: 12.5px;
}

.paywall-card {
  margin: -40px auto 0; position: relative; z-index: 2;
  max-width: 420px; background: var(--bg-surface-2);
  border: 1px solid var(--line-strong); border-radius: var(--radius-md);
  box-shadow: var(--shadow-panel); padding: 28px 32px; text-align: center;
}
.paywall-card h3 { font-size: 18px; margin-bottom: 8px; }
.paywall-price { font-size: 26px; font-weight: 700; color: var(--danger); margin-bottom: 16px; }
.paywall-price span { font-size: 13px; font-weight: 400; color: var(--text-sub); }
.paywall-note { margin-top: 12px; font-size: 12.5px; color: var(--text-muted); }
.pay-logo img {
  width: 96px; height: 96px; border-radius: 20px; object-fit: contain;
  margin-bottom: 14px; background: var(--bg-surface-3); padding: 8px;
}

.pay-state-chip {
  display: inline-block; margin-left: 10px; padding: 2px 10px; border-radius: 4px;
  background: rgba(217, 119, 6, 0.12); color: var(--warning);
  font-size: 12px; font-weight: 500;
}

.nav-badge {
  display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 4px;
  background: var(--danger); color: #fff; font-size: 11px; line-height: 1.6;
  vertical-align: middle; letter-spacing: 1px;
}

@media (max-width: 980px) {
  .news-duo-wrap { grid-template-columns: 1fr; }
  .news-banner-inner h1 { font-size: 26px; }
  .news-row-num { min-width: 32px; font-size: 18px; }
}
