/* ============================================
   杭州聚瑞堡网络科技有限公司 - 全站样式
   简洁现代, 易于阅读与维护
   ============================================ */

:root {
  --color-primary: #0F766E;
  --color-primary-dark: #0B5C56;
  --color-primary-light: #14B8A6;
  --color-accent: #F59E0B;
  --color-accent-dark: #D97706;
  --color-text: #1F2937;
  --color-text-light: #6B7280;
  --color-bg: #FFFFFF;
  --color-bg-soft: #F9FAFB;
  --color-bg-section: #F3F4F6;
  --color-border: #E5E7EB;
  --color-success: #10B981;
  --color-danger: #EF4444;
  --color-warning: #F59E0B;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.08), 0 4px 6px rgba(0,0,0,0.04);
  --radius: 8px;
  --radius-sm: 6px;
  --radius-lg: 12px;
  --max-width: 1200px;
}

* { 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.6;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-primary-dark); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select {
  font-family: inherit;
  font-size: 14px;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: white;
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
}
input:focus, textarea:focus, select:focus { border-color: var(--color-primary); }
textarea { resize: vertical; min-height: 100px; }
h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.3; color: var(--color-text); }
h1 { font-size: 32px; }
h2 { font-size: 24px; }
h3 { font-size: 18px; }

/* ============= 容器 ============= */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; width: 100%; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 20px; width: 100%; }
main { flex: 1; padding-bottom: 40px; }

/* ============= 顶部导航 ============= */
.topbar {
  background: var(--color-text);
  color: #D1D5DB;
  font-size: 13px;
  padding: 6px 0;
}
.topbar a { color: #D1D5DB; }
.topbar a:hover { color: white; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.topbar-info { display: flex; gap: 16px; }
.topbar-links { display: flex; gap: 16px; }

.navbar {
  background: white;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 36px; width: auto; }
.brand-text { font-size: 14px; font-weight: 600; color: var(--color-text); white-space: nowrap; }
.brand-text small { display: block; font-size: 11px; color: var(--color-text-light); font-weight: 400; margin-top: 2px; }
.nav-list { display: flex; gap: 2px; list-style: none; flex: 1; justify-content: center; flex-wrap: nowrap; overflow: hidden; }
.nav-list a {
  display: block;
  padding: 8px 10px;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-list a:hover { background: var(--color-bg-soft); color: var(--color-primary); }
.nav-list a.active { color: var(--color-primary); background: #ECFDF5; }
.nav-mall-btn {
  background: var(--color-accent);
  color: white !important;
  padding: 8px 18px !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.nav-mall-btn:hover { background: var(--color-accent-dark); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions a, .nav-actions button {
  color: var(--color-text-light);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.cart-icon {
  position: relative;
  display: inline-block;
}
.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--color-danger);
  color: white;
  font-size: 11px;
  padding: 1px 5px;
  border-radius: 10px;
  min-width: 16px;
  text-align: center;
  display: none;
}
.cart-count.active { display: block; }

.mobile-menu-btn { display: none; background: none; font-size: 24px; color: var(--color-text); padding: 4px 8px; }

/* ============= 页脚 ============= */
.footer {
  background: #1F2937;
  color: #D1D5DB;
  padding: 48px 0 24px;
  margin-top: 60px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer h4 { color: white; font-size: 15px; margin-bottom: 16px; }
.footer-list { list-style: none; }
.footer-list li { margin-bottom: 8px; }
.footer-list a { color: #9CA3AF; font-size: 13px; }
.footer-list a:hover { color: white; }
.footer-info p { margin-bottom: 4px; color: #9CA3AF; font-size: 13px; line-height: 1.7; }
.footer-info p strong { color: #D1D5DB; }
.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 20px;
  text-align: center;
  color: #9CA3AF;
  font-size: 12px;
  line-height: 1.8;
}
.footer-bottom a { color: #9CA3AF; }
.footer-bottom a:hover { color: white; }
.beian { display: inline-flex; align-items: center; gap: 4px; }

/* ============= 按钮 ============= */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
  text-decoration: none;
}
.btn-primary { background: var(--color-primary); color: white; }
.btn-primary:hover { background: var(--color-primary-dark); color: white; }
.btn-accent { background: var(--color-accent); color: white; }
.btn-accent:hover { background: var(--color-accent-dark); color: white; }
.btn-outline { background: white; color: var(--color-primary); border-color: var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: white; }
.btn-ghost { background: transparent; color: var(--color-text); border-color: var(--color-border); }
.btn-ghost:hover { background: var(--color-bg-soft); }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-block { display: block; width: 100%; }
.btn-danger { background: var(--color-danger); color: white; }
.btn-danger:hover { background: #DC2626; }

/* ============= 卡片 ============= */
.card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all 0.2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-body { padding: 20px; }
.card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--color-bg-section);
}

/* ============= 栅格 ============= */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

/* ============= 通用区块 ============= */
.section { padding: 48px 0; }
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-primary);
}
.section-title h2 { font-size: 22px; }
.section-title h2 small { color: var(--color-text-light); font-size: 14px; font-weight: 400; margin-left: 8px; }
.section-title a { color: var(--color-text-light); font-size: 14px; }

/* ============= Hero ============= */
.hero {
  background: linear-gradient(135deg, #0F766E 0%, #14B8A6 100%);
  color: white;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.hero::after {
  content: "";
  position: absolute;
  left: -50px;
  bottom: -100px;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.hero-inner { position: relative; z-index: 1; max-width: 720px; }
.hero h1 { font-size: 40px; margin-bottom: 16px; line-height: 1.2; color: white; }
.hero p { font-size: 17px; margin-bottom: 28px; opacity: 0.95; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn-primary { background: white; color: var(--color-primary); }
.hero .btn-primary:hover { background: var(--color-bg-soft); }
.hero .btn-outline { background: transparent; color: white; border-color: white; }
.hero .btn-outline:hover { background: white; color: var(--color-primary); }

/* ============= 行业入口 ============= */
.industry-entries { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.entry-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  transition: all 0.2s;
  display: block;
  color: var(--color-text);
}
.entry-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: var(--color-text);
}
.entry-icon { font-size: 40px; margin-bottom: 8px; }
.entry-card h3 { font-size: 16px; margin-bottom: 4px; }
.entry-card p { font-size: 13px; color: var(--color-text-light); }

/* ============= 信息卡(列表用) ============= */
.info-card {
  display: flex;
  gap: 16px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  padding: 16px;
  margin-bottom: 12px;
  transition: all 0.2s;
}
.info-card:hover { box-shadow: var(--shadow); }
.info-card img { width: 160px; height: 110px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.info-card-body { flex: 1; min-width: 0; }
.info-card h3 { font-size: 16px; margin-bottom: 6px; }
.info-card h3 a { color: var(--color-text); }
.info-card h3 a:hover { color: var(--color-primary); }
.info-card-meta {
  display: flex;
  gap: 12px;
  color: var(--color-text-light);
  font-size: 12px;
  margin-bottom: 6px;
  flex-wrap: wrap;
  align-items: center;
}
.info-card-meta .tag {
  background: #ECFDF5;
  color: var(--color-primary);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
}
.info-card p { color: var(--color-text-light); font-size: 13px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ============= 商品卡 ============= */
.product-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.product-card .img {
  width: 100%;
  height: 200px;
  background: var(--color-bg-section);
  object-fit: cover;
}
.product-card-body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.product-card h3 { font-size: 14px; line-height: 1.4; margin-bottom: 8px; height: 40px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.product-card .price { color: var(--color-danger); font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.product-card .price small { font-size: 12px; color: var(--color-text-light); text-decoration: line-through; margin-left: 6px; font-weight: 400; }
.product-card .meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--color-text-light); margin-top: auto; }
.product-card .actions { display: flex; gap: 8px; margin-top: 12px; }
.product-card .actions .btn { flex: 1; }

/* ============= 面包屑 ============= */
.breadcrumb {
  background: var(--color-bg-soft);
  padding: 12px 0;
  font-size: 13px;
  color: var(--color-text-light);
}
.breadcrumb a { color: var(--color-text-light); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb .sep { margin: 0 8px; color: #D1D5DB; }
.breadcrumb .current { color: var(--color-text); }

/* ============= 标签 / 徽章 ============= */
.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  background: var(--color-bg-section);
  color: var(--color-text-light);
  margin-right: 4px;
}
.tag-primary { background: #ECFDF5; color: var(--color-primary); }
.tag-accent { background: #FEF3C7; color: var(--color-accent-dark); }
.tag-danger { background: #FEE2E2; color: var(--color-danger); }
.tag-success { background: #D1FAE5; color: #047857; }
.tag-info { background: #DBEAFE; color: #1D4ED8; }
.tag-warn { background: #FEF3C7; color: #92400E; }

/* ============= 列表 / Tab ============= */
.tabs { display: flex; gap: 0; border-bottom: 2px solid var(--color-border); margin-bottom: 24px; flex-wrap: wrap; }
.tab {
  padding: 12px 20px;
  font-size: 15px;
  color: var(--color-text-light);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-weight: 500;
}
.tab:hover { color: var(--color-primary); }
.tab.active { color: var(--color-primary); border-bottom-color: var(--color-primary); }

/* ============= 表单 ============= */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--color-text); }
.form-group label .req { color: var(--color-danger); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-actions { display: flex; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--color-border); }
.form-help { font-size: 12px; color: var(--color-text-light); margin-top: 4px; }
.radio-group, .checkbox-group { display: flex; flex-wrap: wrap; gap: 12px; }
.radio-item, .checkbox-item { display: flex; align-items: center; gap: 6px; cursor: pointer; padding: 6px 12px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); transition: all 0.2s; }
.radio-item:hover, .checkbox-item:hover { border-color: var(--color-primary); }
.radio-item input, .checkbox-item input { width: auto; margin: 0; }
.radio-item.checked, .checkbox-item.checked { background: #ECFDF5; border-color: var(--color-primary); color: var(--color-primary); }

/* ============= 模态框 ============= */
.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-mask.active { display: flex; }
.modal {
  background: white;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 380px;
  padding: 28px;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-soft);
  border-radius: 50%;
  color: var(--color-text-light);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.modal-close:hover { background: var(--color-border); }
.modal-title { text-align: center; font-size: 18px; margin-bottom: 20px; }
.modal-body { text-align: center; }
.modal-qr {
  width: 200px;
  height: 200px;
  margin: 0 auto 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 8px;
  background: white;
}
.modal-qr img { width: 100%; height: 100%; object-fit: contain; }
.modal-amount { font-size: 16px; margin: 12px 0; color: var(--color-text); }
.modal-amount .price { color: var(--color-danger); font-size: 24px; font-weight: 600; margin-left: 4px; }
.modal-tip { font-size: 13px; color: var(--color-text-light); margin: 12px 0 20px; line-height: 1.5; }
.modal-actions { display: flex; gap: 12px; }
.modal-actions .btn { flex: 1; }

/* ============= Toast 提示 ============= */
.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: rgba(31, 41, 55, 0.95);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius);
  z-index: 10000;
  font-size: 14px;
  transition: transform 0.3s;
  box-shadow: var(--shadow-lg);
  max-width: 90%;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { background: var(--color-success); }
.toast.error { background: var(--color-danger); }
.toast.warn { background: var(--color-warning); }

/* ============= 通用辅助 ============= */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.text-danger { color: var(--color-danger); }
.text-light { color: var(--color-text-light); }
.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; }
.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: var(--color-border); margin: 16px 0; }
.placeholder-img {
  width: 100%;
  height: 100%;
  background: var(--color-bg-section);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 13px;
}

/* ============= 分页 ============= */
.pagination { display: flex; gap: 4px; justify-content: center; margin-top: 32px; }
.pagination a, .pagination span {
  min-width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--color-text);
  background: white;
}
.pagination a:hover { border-color: var(--color-primary); color: var(--color-primary); }
.pagination .active { background: var(--color-primary); color: white; border-color: var(--color-primary); }
.pagination .disabled { color: var(--color-text-light); pointer-events: none; }

/* ============= 响应式 ============= */
@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr !important; }
  .grid-4, .grid-5, .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* 资讯/评测/服务的 3 列布局在中等屏降为 2 列 */
  .news-layout, .review-layout, .service-layout { grid-template-columns: 200px 1fr !important; }
  .news-layout > aside:last-child, .review-layout > aside:last-child, .service-layout > aside:last-child { display: none; }
  /* 商城列表 2 列保留 */
  .list-layout { grid-template-columns: 160px 1fr !important; }
}
@media (max-width: 768px) {
  h1 { font-size: 26px; }
  h2 { font-size: 20px; }
  .hero { padding: 40px 0; }
  .hero h1 { font-size: 26px; }
  .hero p { font-size: 15px; }
  .industry-entries { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .topbar-info, .topbar-links { gap: 8px; font-size: 12px; }
  .topbar-info span:nth-child(2) { display: none; }
  .nav-list { display: none; }
  .mobile-menu-btn { display: block; }
  .nav-list.mobile-open {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 99;
  }
  .nav-list.mobile-open a { padding: 12px; }
  .brand-text { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .info-card { flex-direction: column; }
  .info-card img { width: 100%; height: 180px; }
  .section { padding: 32px 0; }
  .navbar-inner { height: 56px; }
  /* 平板窄屏: 3 列布局 → 1 列堆叠 */
  .news-layout, .review-layout, .service-layout { grid-template-columns: 1fr !important; }
  .news-layout > aside, .review-layout > aside, .service-layout > aside { display: block; }
  .list-layout { grid-template-columns: 1fr !important; }
  .list-layout > aside { margin-bottom: 16px; }
  .list-layout > aside .card { padding: 12px; }
  .admin-tabs { font-size: 12px; }
  .admin-tab { padding: 10px 12px; }
  .module-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
  .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: 1fr; }
  .industry-entries { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

/* ============= Hero 升级版（信息发布站）============= */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  backdrop-filter: blur(6px);
}
.hero-eyebrow::before { content: "●"; color: #5EEAD4; font-size: 10px; }
.hero-title {
  color: #fff;
  font-size: 44px;
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 18px 0;
  letter-spacing: -0.5px;
}
.hero-title .hl {
  background: linear-gradient(90deg, #FDE68A 0%, #FCA5A5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-subtitle {
  color: rgba(255,255,255,0.92);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 560px;
}
.hero-search {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.95);
  border-radius: 999px;
  padding: 6px 6px 6px 20px;
  max-width: 480px;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.hero-search input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px;
  padding: 10px 0;
  color: #0f172a;
}
.hero-search input::placeholder { color: #94a3b8; }
.hero-search button {
  border: none;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s;
}
.hero-search button:hover { background: #0d5e58; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.hero-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  padding: 22px 20px;
  color: #fff;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: all 0.25s;
  display: block;
}
.hero-card:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-3px);
}
.hero-card .ic {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, rgba(255,255,255,0.25), rgba(255,255,255,0.1));
}
.hero-card .ttl { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.hero-card .desc { font-size: 12.5px; color: rgba(255,255,255,0.78); line-height: 1.6; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stats .item .num {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

/* ============= 全新信息卡片 .ic-card (info-content-card) ============= */
/* 适用: 首页 / 评测列表 / 选购指南列表 / 资讯列表 — 统一高级卡片样式 */
.ic-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: var(--color-text);
  border: 1px solid #EEF2F7;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  height: 100%;
}
.ic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px -12px rgba(15, 118, 110, .18), 0 4px 10px -4px rgba(0,0,0,.06);
  border-color: transparent;
}
/* 顶部色带 */
.ic-card-band {
  height: 4px;
  width: 100%;
  background: var(--band-color, var(--color-primary));
  flex-shrink: 0;
}
/* 头部: 类型图标 + 标签 + 浏览数 */
.ic-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding: 18px 20px 0;
}
.ic-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--band-soft, rgba(15, 118, 110, .10));
  color: var(--band-color, var(--color-primary));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.ic-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}
.ic-card-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .2px;
  background: var(--band-soft, rgba(15, 118, 110, .10));
  color: var(--band-color, var(--color-primary));
  white-space: nowrap;
}
.ic-card-tag.muted {
  background: #F3F4F6;
  color: #6B7280;
}
.ic-card-tag.accent {
  background: #FEF3C7;
  color: #92400E;
}
.ic-card-tag.danger {
  background: #FEE2E2;
  color: #B91C1C;
}
/* 主体 */
.ic-card-body {
  padding: 12px 20px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.ic-card-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: #111827;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 48px;
}
.ic-card:hover .ic-card-title { color: var(--band-color, var(--color-primary)); }
.ic-card-summary {
  font-size: 13px;
  color: #6B7280;
  line-height: 1.65;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* 数据条: 评分/价格/地区 */
.ic-card-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: #F8FAFC;
  border-radius: 10px;
  margin-bottom: 12px;
  font-size: 12.5px;
}
.ic-card-metric .lbl { color: #6B7280; }
.ic-card-metric .val { font-weight: 600; color: #111827; }
.ic-card-metric .val.score { color: #F59E0B; }
.ic-card-metric .val.price { color: var(--color-danger); font-size: 15px; }
.ic-card-metric .val.region { color: var(--band-color, var(--color-primary)); }
/* 元信息行 */
.ic-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: #9CA3AF;
  margin-bottom: 4px;
}
.ic-card-meta .dot::before { content: "·"; margin-right: 6px; color: #D1D5DB; }
/* 底部 footer */
.ic-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 20px;
  border-top: 1px solid #F3F4F6;
  background: #FCFCFD;
  margin-top: auto;
}
.ic-card-author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #4B5563;
  min-width: 0;
}
.ic-card-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--band-color, var(--color-primary));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}
.ic-card-author-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ic-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--band-color, var(--color-primary));
  white-space: nowrap;
}
.ic-card-cta::after {
  content: "→";
  transition: transform .25s ease;
}
.ic-card:hover .ic-card-cta::after { transform: translateX(3px); }
/* 评分星条 */
.ic-card-stars { color: #F59E0B; font-size: 13px; letter-spacing: 1px; }

/* ============= 详情页丰富化样式 ============= */
.detail-hero { padding: 56px 0 44px; color: #fff; position: relative; overflow: hidden; }
.detail-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(255,255,255,.15), transparent 50%);
  pointer-events: none;
}
.detail-hero .crumb { font-size: 13px; color: rgba(255,255,255,.85); margin-bottom: 16px; }
.detail-hero .crumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.detail-hero .crumb a:hover { color: #fff; text-decoration: underline; }
.detail-hero .crumb .sep { opacity: .5; margin: 0 8px; }
.detail-hero h1 { color: #fff; font-size: 30px; line-height: 1.4; margin-bottom: 18px; max-width: 860px; }
.detail-hero .meta-row { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; color: rgba(255,255,255,.92); }
.detail-hero .pill { display: inline-flex; align-items: center; padding: 5px 14px; border-radius: 999px; font-size: 13px; background: rgba(255,255,255,.18); color: #fff; font-weight: 500; }
.detail-hero .pill.soft { background: rgba(255,255,255,.12); font-weight: 400; }

/* 详情页正文容器 */
.detail-body { display: grid; grid-template-columns: 1fr 320px; gap: 36px; }
.detail-main { min-width: 0; }
.detail-aside { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 16px; align-self: start; }
@media (max-width: 1024px) { .detail-body { grid-template-columns: 1fr; } .detail-aside { position: static; } }

/* 详情页内容板块 */
.dblock {
  background: #fff;
  border-radius: 14px;
  padding: 26px 28px;
  margin-bottom: 18px;
  border: 1px solid #EEF2F7;
  box-shadow: 0 1px 2px rgba(0,0,0,.02);
}
.dblock-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #F3F4F6;
}
.dblock-title .ico {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--band-soft, rgba(15,118,110,.10));
  color: var(--band-color, var(--color-primary));
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.dblock p { color: #374151; line-height: 1.95; font-size: 15px; margin-bottom: 12px; }
.dblock h4 { font-size: 16px; color: #111827; margin: 18px 0 10px; font-weight: 600; }
.dblock ul { padding-left: 22px; color: #374151; line-height: 1.95; font-size: 15px; }
.dblock ul li { margin-bottom: 6px; }

/* 评分大圆盘 */
.score-board {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: center;
}
@media (max-width: 768px) { .score-board { grid-template-columns: 1fr; } }
.score-board .big {
  text-align: center;
  padding: 28px 16px;
  background: var(--band-soft, rgba(15,118,110,.06));
  border-radius: 14px;
}
.score-board .big .num { font-size: 56px; font-weight: 800; color: var(--band-color, var(--color-primary)); line-height: 1; }
.score-board .big .lbl { color: #6B7280; font-size: 13px; margin-top: 4px; }
.score-board .big .stars { color: #F59E0B; font-size: 16px; margin-top: 6px; letter-spacing: 2px; }
.score-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.score-row .name { width: 84px; font-size: 13px; color: #4B5563; }
.score-row .bar { flex: 1; height: 8px; background: #E5E7EB; border-radius: 4px; overflow: hidden; }
.score-row .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--band-color, #0F766E), rgba(15,118,110,.7)); border-radius: 4px; }
.score-row .v { width: 32px; text-align: right; font-size: 13px; color: var(--band-color, var(--color-primary)); font-weight: 600; }

/* 优缺点对比 */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .pros-cons { grid-template-columns: 1fr; } }
.pros-cons .col { padding: 18px; border-radius: 12px; }
.pros-cons .col.pros { background: #ECFDF5; }
.pros-cons .col.cons { background: #FEF2F2; }
.pros-cons .col h5 { font-size: 14px; font-weight: 600; margin: 0 0 10px; display: flex; align-items: center; gap: 6px; }
.pros-cons .col.pros h5 { color: #047857; }
.pros-cons .col.cons h5 { color: #B91C1C; }
.pros-cons .col ul { padding-left: 18px; color: #374151; font-size: 14px; line-height: 1.85; }

/* 参数表 */
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { padding: 11px 14px; border-bottom: 1px solid #F3F4F6; text-align: left; }
.spec-table th { width: 28%; color: #6B7280; font-weight: 500; background: #F9FAFB; }
.spec-table td { color: #111827; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

/* 适合人群标签 */
.fit-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.fit-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  background: var(--band-soft, rgba(15,118,110,.08));
  color: var(--band-color, var(--color-primary));
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
}

/* 发布信息卡 */
.publish-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 640px) { .publish-info { grid-template-columns: 1fr; } }
.publish-info .item { padding: 14px; background: #F8FAFC; border-radius: 10px; }
.publish-info .item .k { font-size: 12px; color: #6B7280; margin-bottom: 4px; }
.publish-info .item .v { font-size: 14px; font-weight: 600; color: #111827; }

/* 详情页侧边卡 */
.aside-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  border: 1px solid #EEF2F7;
  box-shadow: 0 1px 2px rgba(0,0,0,.02);
}
.aside-card h4 { font-size: 15px; margin: 0 0 14px; display: flex; align-items: center; gap: 6px; color: #111827; }
.aside-author { text-align: center; }
.aside-author .avatar {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--band-color, var(--color-primary));
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 600; margin-bottom: 10px;
}
.aside-author .name { font-size: 16px; font-weight: 600; color: #111827; }
.aside-author .role { font-size: 12.5px; color: #6B7280; margin: 4px 0 10px; }
.aside-rel { display: block; padding: 10px 0; border-bottom: 1px solid #F3F4F6; color: #374151; text-decoration: none; }
.aside-rel:last-child { border-bottom: none; }
.aside-rel:hover { color: var(--band-color, var(--color-primary)); }
.aside-rel .t { font-size: 13px; line-height: 1.5; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.aside-rel .m { font-size: 12px; color: #9CA3AF; }
.aside-cta {
  background: linear-gradient(135deg, var(--band-color, #0F766E), #14B8A6);
  color: #fff; padding: 20px; border-radius: 14px; border: none;
}
.aside-cta h4 { color: #fff; }
.aside-cta p { color: rgba(255,255,255,.9); font-size: 13px; line-height: 1.7; margin-bottom: 12px; }
.aside-cta .btn { background: #fff; color: var(--band-color, var(--color-primary)); width: 100%; font-weight: 600; border: none; }

/* ============================================
   创新按钮式网站入口 (entry-btn-grid)
   5 列大按钮，渐变背景，hover 流光上浮
   ============================================ */
.entry-btn-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 12px;
}
@media (max-width: 900px) { .entry-btn-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .entry-btn-grid { grid-template-columns: 1fr; } }

.entry-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 18px;
  min-height: 88px;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, var(--bc, #6366F1) 0%, var(--bc2, #8B5CF6) 100%);
  overflow: hidden;
  box-shadow: 0 4px 14px -4px rgba(0,0,0,.18), 0 1px 2px rgba(0,0,0,.06);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, filter .25s ease;
  isolation: isolate;
}
.entry-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 60%);
  pointer-events: none;
  z-index: 1;
}
.entry-btn::after {
  content: '';
  position: absolute;
  left: -30%;
  top: 0;
  bottom: 0;
  width: 30%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.35) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left .6s ease;
  z-index: 2;
  pointer-events: none;
}
.entry-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -8px rgba(0,0,0,.25), 0 4px 8px rgba(0,0,0,.08);
  filter: saturate(1.1) brightness(1.05);
}
.entry-btn:hover::after { left: 130%; }
.entry-btn:active { transform: translateY(-2px); }

.entry-btn-glow {
  position: absolute;
  width: 90px; height: 90px;
  right: -25px; top: -25px;
  background: radial-gradient(circle, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.entry-btn-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 12px;
  backdrop-filter: blur(4px);
  z-index: 3;
  transition: transform .25s ease;
}
.entry-btn:hover .entry-btn-icon { transform: scale(1.08) rotate(-3deg); }

.entry-btn-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 3;
}
.entry-btn-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .3px;
  line-height: 1.3;
}
.entry-btn-desc {
  font-size: 12px;
  color: rgba(255,255,255,.82);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.entry-btn-arrow {
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  transform: translateX(-4px);
  opacity: .6;
  transition: transform .25s ease, opacity .25s ease;
  z-index: 3;
}
.entry-btn:hover .entry-btn-arrow {
  transform: translateX(2px);
  opacity: 1;
}

/* 详情页目录 */
.detail-toc {
  background: #F8FAFC;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 18px;
  font-size: 13px;
}
.detail-toc strong { color: #111827; display: block; margin-bottom: 8px; font-size: 13px; }
.detail-toc a { color: var(--band-color, var(--color-primary)); text-decoration: none; margin-right: 14px; }
.detail-toc a:hover { text-decoration: underline; }

/* 操作栏 */
.action-bar {
  display: flex; gap: 10px; flex-wrap: wrap;
  padding-top: 20px; margin-top: 20px;
  border-top: 1px solid #F3F4F6;
}
.hero-stats .item .num small { font-size: 14px; font-weight: 500; opacity: 0.85; margin-left: 2px; }
.hero-stats .item .lbl { font-size: 12px; color: rgba(255,255,255,0.75); margin-top: 2px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-title { font-size: 32px; }
  .hero-stats { gap: 20px; }
}
@media (max-width: 480px) {
  .hero-cards { grid-template-columns: 1fr; }
  .hero-title { font-size: 26px; }
  .hero-stats { flex-wrap: wrap; gap: 16px 24px; }
}
