/* ============================================
   好云仓 Web 版 v2 — 国际物流风格设计系统
   Inspired by Flexport / Maersk / Warehousing.com
   ============================================ */

:root {
  /* ---- 主色 ---- */
  --primary: #1e40af;
  --primary-dark: #1e3a8a;
  --primary-light: #3b82f6;
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-200: #bfdbfe;

  /* ---- 功能色 ---- */
  --success: #059669;
  --success-light: #d1fae5;
  --warning: #d97706;
  --warning-light: #fef3c7;
  --danger: #dc2626;
  --danger-light: #fee2e2;

  /* ---- 中性色 ---- */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --bg-body: #f8fafc;
  --bg-white: #ffffff;
  --border: #e2e8f0;
  --border-light: #f1f5f9;

  /* ---- 阴影 ---- */
  --shadow-xs: 0 1px 2px rgba(0,0,0,.04);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.10);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.12);

  /* ---- 圆角 & 间距 ---- */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --header-h: 72px;
  --container: 1280px;
}

/* ========== Reset & Base ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC',
    'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-primary);
  background: var(--bg-body);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, select, textarea { font: inherit; outline: none; }

/* ========== 顶部导航栏 ========== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226,232,240,.6);
  transition: all .3s ease;
}
.navbar.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(255,255,255,.97);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--primary-dark);
  text-decoration: none;
}
.nav-logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}
.nav-logo-text span {
  font-weight: 400;
  font-size: 13px;
  color: var(--text-muted);
  display: block;
  line-height: 1;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all .2s ease;
  position: relative;
}
.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: var(--primary-50);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 50%; transform: translateX(-50%);
  width: 20px; height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-cta {
  padding: 9px 22px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff !important;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: all .25s ease;
  box-shadow: 0 2px 12px rgba(30,64,175,.3);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(30,64,175,.4);
}

/* 语言切换按钮 */
.nav-lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 38px;
  padding: 0 14px;
  margin-left: 14px;
  border: 1.5px solid var(--primary);
  border-radius: 50px;
  color: var(--primary) !important;
  background: rgba(255,255,255,.7);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .5px;
  text-decoration: none;
  cursor: pointer;
  transition: all .25s ease;
  backdrop-filter: blur(4px);
}
.nav-lang:hover {
  background: var(--primary);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(30,64,175,.35);
}
.navbar.scrolled .nav-lang {
  background: #fff;
}

/* 移动端汉堡菜单 */
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all .25s;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ========== Hero 区域（首页） ========== */
.hero {
  position: relative;
  min-height: 520px;
  margin-top: var(--header-h);
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 40%, #1e40af 70%, #3b82f6 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(59,130,246,.25) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(99,102,241,.2) 0%, transparent 45%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, black 30%, transparent 80%);
  -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 80%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 60px 24px 80px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50px;
  color: rgba(255,255,255,.9);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
  animation: fadeInUp .6s ease both;
}
.hero-badge-dot {
  width: 7px; height: 7px;
  background: #34d399;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}

.hero-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -.8px;
  margin-bottom: 20px;
  animation: fadeInUp .6s .1s ease both;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255,255,255,.75);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 36px;
  animation: fadeInUp .6s .2s ease both;
}

/* Hero 搜索框 */
.hero-search {
  display: flex;
  max-width: 560px;
  background: rgba(255,255,255,.95);
  border-radius: 16px;
  padding: 6px;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
  animation: fadeInUp .6s .3s ease both;
}
.hero-search input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  background: transparent;
  color: var(--text-primary);
}
.hero-search input::placeholder { color: var(--text-muted); }
.hero-search-btn {
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: all .25s;
}
.hero-search-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(30,64,175,.35);
}

/* Hero 统计条 */
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  animation: fadeInUp .6s .4s ease both;
}
.hero-stat {
  text-align: left;
}
.hero-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.5px;
}
.hero-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  margin-top: 2px;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== 统计卡片区（首页） ========== */
.stats-section {
  padding: 0 24px;
  margin-top: -44px;
  position: relative;
  z-index: 10;
}
.stats-row {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-card-v2 {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all .3s ease;
  border: 1px solid transparent;
}
.stat-card-v2:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-100);
}
.stat-card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.stat-card-icon.blue { background: var(--primary-50); }
.stat-card-icon.green { background: var(--success-light); }
.stat-card-icon.orange { background: var(--warning-light); }
.stat-card-icon.purple { background: #ede9fe; }
.stat-card-info h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -.5px;
  line-height: 1.2;
}
.stat-card-info p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ========== 区块通用 ========== */
.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 24px;
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
}
.section-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -.4px;
  line-height: 1.2;
}
.section-title small {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 6px;
  letter-spacing: 0;
}
.section-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  border-radius: 50px;
  transition: all .2s;
}
.section-more:hover {
  background: var(--primary-50);
}

/* ========== 云仓卡片网格 ========== */
.warehouse-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.wh-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border-light);
  transition: all .35s cubic-bezier(.4,0,.2,1);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.wh-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.wh-card-img {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  overflow: hidden;
}
.wh-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.wh-card:hover .wh-card-img img {
  transform: scale(1.06);
}
.wh-card-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 42px;
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
}
.wh-card-badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 12px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(8px);
  color: #fff;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}
.wh-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.wh-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}
.wh-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.tag-v2 {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  white-space: nowrap;
  letter-spacing: .2px;
}
.tag-blue-v2 { background: var(--primary-50); color: var(--primary); }
.tag-green-v2 { background: var(--success-light); color: var(--success); }
.tag-orange-v2 { background: var(--warning-light); color: var(--warning); }
.tag-red-v2 { background: var(--danger-light); color: var(--danger); }
.tag-gray-v2 { background: #f1f5f9; color: var(--text-secondary); }

.wh-card-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--danger);
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}
.wh-card-price .unit {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}
.wh-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
}
.wh-card-location {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ========== 需求列表（首页） ========== */
.demand-list-home {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.demand-card-home {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  transition: all .2s;
  text-decoration: none;
  color: inherit;
}
.demand-card-home:hover {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-sm);
}
.demand-card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--warning-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.demand-card-body { flex: 1; min-width: 0; }
.demand-card-title {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.demand-card-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}
.demand-card-urgent {
  font-size: 11px;
  font-weight: 700;
  color: var(--danger);
  background: var(--danger-light);
  padding: 2px 8px;
  border-radius: 50px;
  flex-shrink: 0;
}

/* ========== 轮播图（精简版） ========== */
.banner-section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.banner-swiper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 2.8 / 1;
  background: var(--border);
  position: relative;
  box-shadow: var(--shadow-md);
}
.banner-slide {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.banner-dots {
  position: absolute;
  bottom: 12px;
  left: 50%; transform: translateX(-50%);
  display: flex;
  gap: 7px;
}
.banner-dot {
  width: 8px; height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,.45);
  transition: all .3s;
  cursor: pointer;
}
.banner-dot.active {
  width: 24px;
  background: #fff;
}

/* ========== 公告条 ========== */
.notice-bar-v2 {
  max-width: var(--container);
  margin: 20px auto 0;
  padding: 0 24px;
}
.notice-bar-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #fefce8, #fef9c3);
  border: 1px solid #fde047;
  border-radius: var(--radius);
  font-size: 14px;
  color: #854d0e;
  overflow: hidden;
}
.notice-bar-inner .notice-icon { flex-shrink: 0; font-size: 16px; }
.notice-bar-inner .notice-text {
  flex: 1;
  white-space: nowrap;
  animation: marquee 16s linear infinite;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========== 筛选栏（列表页） ========== */
.filter-bar-v2 {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  padding: 14px 24px;
  position: sticky;
  top: var(--header-h);
  z-index: 90;
}
.filter-bar-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.filter-bar-inner::-webkit-scrollbar { display: none; }
.filter-chip-v2 {
  flex-shrink: 0;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  background: var(--bg-white);
  transition: all .2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.filter-chip-v2:hover { border-color: var(--primary-light); color: var(--primary); }
.filter-chip-v2.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 2px 10px rgba(30,64,175,.25);
}

/* ========== 详情页 ========== */
.detail-hero-v2 {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--primary-100), var(--primary-50));
  position: relative;
  overflow: hidden;
}
.detail-hero-v2 img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.detail-hero-placeholder-v2 {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 72px;
  color: var(--primary-light);
  opacity: .4;
}

.detail-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 24px 60px;
}

.detail-header {
  margin-bottom: 32px;
}
.detail-title-v2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -.4px;
  line-height: 1.25;
  margin-bottom: 14px;
}
.detail-price-row-v2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.detail-price-v2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--danger);
  letter-spacing: -.5px;
}
.detail-price-v2 .unit {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
}

.detail-grid-v2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
}
.detail-field-v2 {
  display: flex;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
}
.detail-field-v2:nth-child(odd) { border-right: 1px solid var(--border-light); }
.detail-field-v2:nth-last-child(-n+2) { border-bottom: none; }
.detail-field-label-v2 {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  min-width: 80px;
  flex-shrink: 0;
}
.detail-field-value-v2 {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
}

.detail-section-v2 {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}
.detail-section-title-v2 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.detail-section-title-v2::before {
  content: '';
  width: 4px; height: 16px;
  background: var(--primary);
  border-radius: 2px;
}
.detail-tags-wrap-v2 { display: flex; flex-wrap: wrap; gap: 8px; }
.detail-desc-v2 {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* 图片画廊 */
.gallery-v2 {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}
.gallery-v2::-webkit-scrollbar { display: none; }
.gallery-thumb-v2 {
  flex-shrink: 0;
  width: 120px; height: 80px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--border-light);
  cursor: pointer;
  transition: all .2s;
}
.gallery-thumb-v2:hover { border-color: var(--primary-light); }
.gallery-thumb-v2 img { width: 100%; height: 100%; object-fit: cover; }

/* 联系卡 */
.contact-card-v2 {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: #fff;
}
.contact-avatar-v2 {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}
.contact-info-v2 { flex: 1; }
.contact-name-v2 { font-size: 17px; font-weight: 700; }
.contact-phone-v2 { font-size: 14px; opacity: .8; margin-top: 2px; }
.btn-contact-v2 {
  padding: 12px 26px;
  background: #fff;
  color: var(--primary-dark);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  transition: all .25s;
  white-space: nowrap;
}
.btn-contact-v2:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}

/* ========== 页脚 ========== */
.footer {
  background: var(--text-primary);
  color: rgba(255,255,255,.6);
  padding: 56px 24px 32px;
  margin-top: 60px;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand h3 {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 300px;
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  padding: 5px 0;
  transition: color .2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--container);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

/* ========== 加载/空状态 ========== */
.loading-v2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  color: var(--text-muted);
  gap: 14px;
}
.spinner-v2 {
  width: 36px; height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.empty-state-v2 {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.empty-state-v2 .empty-icon { font-size: 56px; margin-bottom: 14px; opacity: .5; }
.empty-state-v2 p { font-size: 15px; }

/* ========== 分页 ========== */
.pagination-v2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 36px 0;
}
.page-btn-v2 {
  min-width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  background: var(--bg-white);
  transition: all .2s;
}
.page-btn-v2.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 2px 10px rgba(30,64,175,.25);
}
.page-btn-v2:disabled { opacity: .35; pointer-events: none; }
.page-btn-v2:hover:not(:disabled):not(.active) {
  border-color: var(--primary-light);
  color: var(--primary);
}

/* ========== Toast ========== */
.toast-v2 {
  position: fixed;
  top: 96px;
  left: 50%;
  transform: translateX(-50%) translateY(-16px);
  background: var(--text-primary);
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  z-index: 9999;
  opacity: 0;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
  box-shadow: var(--shadow-lg);
}
.toast-v2.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ========== 返回按钮 ========== */
.back-btn-v2 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all .2s;
}
.back-btn-v2:hover { background: var(--bg-body); color: var(--primary); }

/* ========== 页面标题栏（子页面） ========== */
.page-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  padding: 18px 24px;
  margin-top: var(--header-h);
}
.page-header-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-header h1 {
  font-size: 20px;
  font-weight: 700;
}

/* 列表容器 */
.list-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 28px 24px;
}

/* ============================================
   响应式 — 平板 (≤1024px)
   ============================================ */
@media (max-width: 1024px) {
  .warehouse-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-stats { gap: 28px; }
  .hero-stat-num { font-size: 24px; }
}

/* ============================================
   响应式 — 手机 (≤768px)
   ============================================ */
@media (max-width: 768px) {
  :root { --header-h: 62px; }

  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--bg-white);
    padding: 16px;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open .nav-link {
    padding: 12px 16px;
    font-size: 16px;
  }
  .nav-toggle { display: flex; }

  .hero { min-height: 420px; }
  .hero-inner { padding: 40px 20px 60px; }
  .hero-title { font-size: 28px; }
  .hero-subtitle { font-size: 15px; }
  .hero-search { flex-direction: column; border-radius: 14px; padding: 4px; }
  .hero-search input { padding: 12px 16px; text-align: center; }
  .hero-search-btn { padding: 12px 20px; border-radius: 10px; }
  .hero-stats {
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
  }
  .hero-stat { display: flex; align-items: center; gap: 12px; }

  .stats-section { margin-top: -32px; padding: 0 16px; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card-v2 { padding: 18px 14px; }
  .stat-card-icon { width: 42px; height: 42px; font-size: 20px; border-radius: 10px; }
  .stat-card-info h3 { font-size: 22px; }

  .section { padding: 36px 16px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 20px; }
  .section-title { font-size: 21px; }

  .warehouse-grid { grid-template-columns: 1fr; gap: 16px; }
  .wh-card-img { aspect-ratio: 16/10; }
  .wh-card-body { padding: 14px 16px 16px; }

  .detail-container { padding: 20px 16px 48px; }
  .detail-title-v2 { font-size: 22px; }
  .detail-price-v2 { font-size: 26px; }
  .detail-grid-v2 { grid-template-columns: 1fr; }
  .detail-field-v2:nth-child(odd) { border-right: none; }
  .detail-field-v2:nth-last-child(-n+2) { border-bottom: 1px solid var(--border-light); }
  .detail-field-v2:last-child { border-bottom: none; }

  .contact-card-v2 { flex-direction: column; text-align: center; padding: 24px; }
  .btn-contact-v2 { width: 100%; justify-content: center; }

  .banner-swiper { aspect-ratio: 2 / 1; border-radius: var(--radius); }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .page-header { padding: 14px 16px; }
  .list-container { padding: 20px 16px; }
  .filter-bar-v2 { padding: 12px 16px; }
}

/* ============================================
   新增样式 — 登录/注册/表单/装备/文章/个人中心
   ============================================ */

/* ---------- 导航栏用户区域 ---------- */
.nav-user { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}
.nav-username { font-size: 13px; color: var(--text-secondary); max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-logout { font-size: 12px; color: var(--text-muted); cursor: pointer; padding: 4px 10px; border-radius: var(--radius-sm); transition: all .2s; }
.nav-logout:hover { background: var(--danger-light); color: var(--danger); }
.nav-login-btn { font-size: 13px; color: var(--primary); font-weight: 600; padding: 7px 18px; border-radius: 50px; border: 1.5px solid var(--primary); transition: all .2s; }
.nav-login-btn:hover { background: var(--primary); color: #fff; }

/* ---------- 登录/注册页 ---------- */
.auth-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 50%, #faf5ff 100%);
  padding: 40px 20px;
}
.auth-card {
  width: 100%; max-width: 420px;
  background: var(--bg-white); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl); padding: 40px 36px;
}
.auth-card-logo { text-align: center; margin-bottom: 32px; }
.auth-card-logo .logo-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 800; margin-bottom: 12px;
}
.auth-card-logo h2 { font-size: 22px; font-weight: 800; color: var(--text-primary); }
.auth-card-logo p { font-size: 14px; color: var(--text-muted); margin-top: 4px; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 600; color: var(--text-secondary);
  margin-bottom: 6px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: 15px; color: var(--text-primary);
  transition: border-color .2s, box-shadow .2s;
  background: var(--bg-white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(59,130,246,.12);
}
.form-group textarea { min-height: 100px; resize: vertical; }

.btn-primary {
  width: 100%; padding: 14px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; font-size: 16px; font-weight: 700;
  transition: all .25s; cursor: pointer; border: none;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(30,64,175,.35); }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

.auth-footer { text-align: center; margin-top: 24px; font-size: 14px; color: var(--text-muted); }
.auth-footer a { color: var(--primary); font-weight: 600; }
.auth-footer a:hover { text-decoration: underline; }

/* 验证码 + 获取按钮 一行 */
.code-row { display: flex; gap: 10px; }
.code-row input { flex: 1; }
.btn-code {
  flex: 0 0 auto; white-space: nowrap; padding: 0 16px; border-radius: var(--radius);
  background: #fff; color: var(--primary); font-size: 14px; font-weight: 600;
  border: 1.5px solid var(--primary); cursor: pointer; transition: all .2s;
}
.btn-code:hover:not(:disabled) { background: var(--primary); color: #fff; }
.btn-code:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- 个人中心 ---------- */
.profile-page { padding-top: var(--header-h); }
.profile-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 48px 24px 40px; color: #fff; text-align: center;
}
.profile-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(255,255,255,.2); border: 3px solid rgba(255,255,255,.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; margin: 0 auto 14px;
}
.profile-name { font-size: 22px; font-weight: 800; }
.profile-role { font-size: 14px; opacity: .75; margin-top: 4px; }

.profile-stats {
  display: flex; justify-content: center; gap: 32px; margin-top: 24px;
}
.profile-stat { text-align: center; }
.profile-stat-num { font-size: 26px; font-weight: 800; }
.profile-stat-label { font-size: 12px; opacity: .7; margin-top: 2px; }

.profile-menu { max-width: 720px; margin: -24px auto 0; position: relative; z-index: 1; }
.profile-menu-card {
  background: var(--bg-white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); overflow: hidden; margin-bottom: 16px;
}
.profile-menu-item {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; border-bottom: 1px solid var(--border-light);
  color: var(--text-primary); font-size: 15px; font-weight: 500;
  transition: background .15s;
}
.profile-menu-item:last-child { border-bottom: none; }
.profile-menu-item:hover { background: var(--bg-body); }
.profile-menu-icon { font-size: 22px; width: 36px; text-align: center; }
.profile-menu-arrow { margin-left: auto; color: var(--text-muted); font-size: 14px; }
.profile-menu-badge {
  background: var(--danger); color: #fff; font-size: 11px;
  padding: 2px 8px; border-radius: 10px; font-weight: 600;
}

/* ---------- 装备卡片 ---------- */
.eq-card {
  display: block; background: var(--bg-white); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--border-light);
  transition: all .25s ease;
}
.eq-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.eq-card-img {
  aspect-ratio: 16 / 10; background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; position: relative; overflow: hidden;
}
.eq-card-img img { width: 100%; height: 100%; object-fit: cover; }
.eq-card-body { padding: 16px 18px; }
.eq-card-title { font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; line-height: 1.35; }
.eq-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.eq-card-meta { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--text-muted); }
.eq-card-price { font-size: 18px; font-weight: 800; color: var(--danger); }
.eq-card-price .unit { font-size: 12px; font-weight: 500; color: var(--text-muted); }

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

/* ---------- 文章/资讯卡片 ---------- */
.article-card {
  display: flex; gap: 18px; background: var(--bg-white);
  border-radius: var(--radius-lg); padding: 18px;
  border: 1px solid var(--border-light); transition: all .2s;
}
.article-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow-sm); }
.article-card-thumb {
  width: 160px; height: 110px; flex-shrink: 0;
  border-radius: var(--radius); overflow: hidden;
  background: var(--primary-50); display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: var(--primary-light);
}
.article-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-card-body { flex: 1; min-width: 0; }
.article-card-title { font-size: 16px; font-weight: 700; color: var(--text-primary); line-height: 1.4; margin-bottom: 6px; }
.article-card-desc { font-size: 13px; color: var(--text-muted); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-card-date { font-size: 12px; color: var(--text-muted); margin-top: 8px; }

.article-list { display: flex; flex-direction: column; gap: 14px; }

/* 文章详情 */
.article-detail { max-width: 800px; margin: 0 auto; padding: 32px 24px 60px; }
.article-detail h1 { font-size: 28px; font-weight: 800; line-height: 1.3; margin-bottom: 12px; }
.article-detail-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--border-light); }
.article-detail-content { font-size: 15px; line-height: 1.85; color: var(--text-secondary); }
.article-detail-content p { margin-bottom: 16px; }

/* ---------- 消息列表 ---------- */
.msg-list { display: flex; flex-direction: column; }
.msg-item {
  display: flex; gap: 14px; padding: 16px 20px;
  background: var(--bg-white); border-bottom: 1px solid var(--border-light);
  transition: background .15s; cursor: pointer;
}
.msg-item:hover { background: var(--primary-50); }
.msg-item.unread { background: #fffbeb; border-left: 3px solid var(--warning); }
.msg-icon { font-size: 24px; width: 40px; text-align: center; padding-top: 2px; }
.msg-body { flex: 1; min-width: 0; }
.msg-title { font-size: 15px; font-weight: 600; color: var(--text-primary); margin-bottom: 3px; }
.msg-preview { font-size: 13px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-time { font-size: 12px; color: var(--text-muted); white-space: nowrap; padding-top: 4px; }

/* ---------- 收藏列表 ---------- */
.fav-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

/* ---------- 发布表单页 ---------- */
.publish-page { padding-top: var(--header-h); }
.publish-form {
  max-width: 720px; margin: 0 auto; padding: 28px 24px 60px;
}
.publish-form h1 { font-size: 24px; font-weight: 800; margin-bottom: 24px; }
.form-section { margin-bottom: 28px; }
.form-section-title {
  font-size: 16px; font-weight: 700; color: var(--text-primary);
  margin-bottom: 14px; padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-100);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ---------- 需求详情 ---------- */
.demand-detail { max-width: 900px; margin: 0 auto; padding: 32px 24px 60px; }
.demand-header { margin-bottom: 24px; }
.demand-title { font-size: 26px; font-weight: 800; }
.demand-status {
  display: inline-block; padding: 4px 14px; border-radius: 50px;
  font-size: 13px; font-weight: 600; margin-left: 10px;
}
.status-active { background: var(--success-light); color: var(--success); }
.status-pending { background: var(--warning-light); color: var(--warning); }
.status-closed { background: var(--danger-light); color: var(--danger); }

/* ---------- 协议页 ---------- */
.agreement-page { max-width: 800px; margin: 0 auto; padding: 32px 24px 60px; }
.agreement-page h1 { font-size: 26px; font-weight: 800; margin-bottom: 24px; text-align: center; }
.agreement-content { font-size: 15px; line-height: 1.9; color: var(--text-secondary); }
.agreement-content h2 { font-size: 18px; font-weight: 700; color: var(--text-primary); margin: 28px 0 12px; }
.agreement-content p { margin-bottom: 12px; }

/* ---------- 关于/联系页 ---------- */
.static-page { max-width: 720px; margin: 0 auto; padding: 32px 24px 60px; }
.static-page h1 { font-size: 26px; font-weight: 800; margin-bottom: 24px; }
.static-page p { font-size: 15px; line-height: 1.8; color: var(--text-secondary); margin-bottom: 14px; }
.contact-info-list { margin-top: 20px; }
.contact-info-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; background: var(--bg-white);
  border: 1px solid var(--border-light); border-radius: var(--radius);
  margin-bottom: 10px; font-size: 15px;
}
.contact-info-item .ci-icon { font-size: 22px; }

/* ---------- Tab 切换（我的发布） ---------- */
.tab-nav {
  display: flex; gap: 0; background: var(--bg-white);
  border: 1px solid var(--border-light); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 20px;
}
.tab-nav-btn {
  flex: 1; padding: 12px; text-align: center; font-size: 14px; font-weight: 600;
  color: var(--text-secondary); border-right: 1px solid var(--border-light);
  transition: all .2s; cursor: pointer; background: none;
}
.tab-nav-btn:last-child { border-right: none; }
.tab-nav-btn.active { background: var(--primary); color: #fff; }
.tab-nav-btn:hover:not(.active) { background: var(--primary-50); color: var(--primary); }

/* ---------- 操作按钮组 ---------- */
.action-bar {
  display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap;
}
.btn-sm {
  padding: 6px 14px; border-radius: 50px; font-size: 13px; font-weight: 600;
  cursor: pointer; border: 1.5px solid var(--border); background: var(--bg-white);
  color: var(--text-secondary); transition: all .2s;
}
.btn-sm:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm-danger:hover { border-color: var(--danger); color: var(--danger); background: var(--danger-light); }
.btn-sm-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-sm-primary:hover { background: var(--primary-dark); }

/* ---------- 首页装备推荐区块 ---------- */
.section-equipment { padding-top: 0; }
