/* ==========================================================
 * wysbjy 商标销售 - 首页专属样式 (home.css)
 * ========================================================== */

/* 首页首屏 Hero */
.wysbjy-hero {
  position: relative;
  padding: 64px 0 80px;
  background:
    radial-gradient(circle at 15% 20%, rgba(64, 128, 255, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(245, 63, 63, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #EAF1FF 0%, #F7F8FA 100%);
  overflow: hidden;
}
.wysbjy-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
.wysbjy-hero h1 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--wysb-text);
  margin: 0 0 16px;
}
.wysbjy-hero h1 .wysbjy-hl {
  background: linear-gradient(90deg, var(--wysb-primary), #4080FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.wysbjy-hero-sub {
  font-size: 16px;
  color: var(--wysb-text-sub);
  margin: 0 0 32px;
  line-height: 1.8;
}
.wysbjy-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 36px;
}
.wysbjy-hero-point {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--wysb-text-sub);
  font-size: 14px;
}
.wysbjy-hero-point .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--wysb-primary);
}
/* 首页搜索框 */
.wysbjy-search {
  display: flex;
  max-width: 620px;
  height: 56px;
  background: #fff;
  border: 2px solid var(--wysb-primary);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(22, 93, 255, 0.15);
}
.wysbjy-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 20px;
  font-size: 15px;
  font-family: inherit;
}
.wysbjy-search button {
  width: 150px;
  background: var(--wysb-primary);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  transition: background .2s;
}
.wysbjy-search button:hover { background: var(--wysb-primary-dark); }
.wysbjy-hot-words {
  margin-top: 14px;
  font-size: 12px;
  color: var(--wysb-text-sub);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.wysbjy-hot-words span.lbl { color: var(--wysb-text-light); }
.wysbjy-hot-words a {
  padding: 2px 10px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--wysb-border);
}
.wysbjy-hot-words a:hover {
  color: var(--wysb-primary);
  border-color: var(--wysb-primary);
}
/* 首页 Hero 右侧插画占位 */
.wysbjy-hero-art {
  aspect-ratio: 1.1 / 1;
  border-radius: 16px;
  background:
    linear-gradient(135deg, #D6E4FF 0%, #EAF1FF 60%, #FFE6E6 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wysbjy-hero-art::before {
  content: '™';
  position: absolute;
  font-size: 280px;
  font-weight: 900;
  color: rgba(22, 93, 255, 0.08);
  top: -40px; right: -20px;
  line-height: 1;
}
.wysbjy-hero-art::after {
  content: 'wysbjy';
  position: absolute;
  bottom: 20px; left: 24px;
  font-size: 14px;
  color: rgba(22, 93, 255, 0.4);
  letter-spacing: 2px;
  font-weight: 700;
}
.wysbjy-art-card {
  position: relative;
  z-index: 1;
  width: 72%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(22, 93, 255, 0.18);
  padding: 28px 24px;
  text-align: center;
}
.wysbjy-art-card .wysb-art-big {
  font-size: 42px;
  font-weight: 800;
  color: var(--wysb-text);
  margin-bottom: 6px;
}
.wysbjy-art-card .wysb-art-small {
  font-size: 13px;
  color: var(--wysb-text-sub);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.wysbjy-art-card .wysb-art-line {
  height: 6px;
  background: var(--wysb-primary-light);
  border-radius: 3px;
  margin-top: 16px;
  position: relative;
  overflow: hidden;
}
.wysbjy-art-card .wysb-art-line::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 65%;
  background: var(--wysb-primary);
  border-radius: 3px;
}

@media (max-width: 900px) {
  .wysbjy-hero { padding: 40px 0 56px; }
  .wysbjy-hero-inner { grid-template-columns: 1fr; }
  .wysbjy-hero h1 { font-size: 28px; }
  .wysbjy-hero-art { order: -1; max-width: 420px; margin: 0 auto; width: 100%; }
  .wysbjy-search { height: 50px; }
  .wysbjy-search button { width: 120px; font-size: 14px; }
}

/* 45 大类快速入口 */
.wysbjy-cat-entry {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 10px;
}
.wysbjy-cat-item {
  display: block;
  text-align: center;
  padding: 16px 8px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--wysb-border);
  transition: all .2s;
  position: relative;
}
.wysbjy-cat-item:hover {
  transform: translateY(-2px);
  border-color: var(--wysb-primary);
  color: var(--wysb-primary);
  box-shadow: 0 6px 20px rgba(22, 93, 255, 0.1);
}
.wysbjy-cat-code {
  font-size: 20px;
  font-weight: 700;
  color: var(--wysb-primary);
  margin-bottom: 4px;
  line-height: 1.1;
}
.wysbjy-cat-name {
  font-size: 13px;
  color: var(--wysb-text-sub);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wysbjy-cat-item:hover .wysbjy-cat-name { color: var(--wysb-primary); }
.wysbjy-cat-item .wysb-badge-hot {
  position: absolute;
  top: 4px; right: 4px;
}
@media (max-width: 1024px) { .wysbjy-cat-entry { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 640px)  { .wysbjy-cat-entry { grid-template-columns: repeat(4, 1fr); gap: 8px; } }
@media (max-width: 380px)  { .wysbjy-cat-entry { grid-template-columns: repeat(3, 1fr); } }

/* 平台优势 */
.wysbjy-adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.wysbjy-adv-item {
  background: #fff;
  border: 1px solid var(--wysb-border);
  border-radius: 8px;
  padding: 28px 22px;
  text-align: center;
  transition: all .25s;
}
.wysbjy-adv-item:hover {
  border-color: var(--wysb-primary);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(22, 93, 255, 0.12);
}
.wysbjy-adv-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--wysb-primary-light);
  color: var(--wysb-primary);
  font-size: 26px;
  font-weight: 800;
}
.wysbjy-adv-item h4 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--wysb-text);
  font-weight: 600;
}
.wysbjy-adv-item p {
  margin: 0;
  font-size: 13px;
  color: var(--wysb-text-sub);
  line-height: 1.7;
}
@media (max-width: 900px) { .wysbjy-adv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .wysbjy-adv-grid { grid-template-columns: 1fr; } }

/* 首页简易 FAQ 精简模块 */
.wysbjy-faq-lite {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 40px;
}
.wysbjy-faq-lite-item {
  padding: 18px 20px;
  border-left: 3px solid var(--wysb-primary);
  background: #fff;
  border-radius: 0 6px 6px 0;
}
.wysbjy-faq-lite-item h5 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--wysb-text);
}
.wysbjy-faq-lite-item p {
  margin: 0;
  color: var(--wysb-text-sub);
  font-size: 13px;
  line-height: 1.7;
}
@media (max-width: 768px) { .wysbjy-faq-lite { grid-template-columns: 1fr; } }

/* 数据统计条 */
.wysbjy-stats {
  background: linear-gradient(120deg, var(--wysb-primary), #4080FF);
  border-radius: 12px;
  padding: 36px 20px;
  color: #fff;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0 0 20px;
}
.wysbjy-stat { text-align: center; }
.wysbjy-stat-num {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}
.wysbjy-stat-num::after { content: '+'; margin-left: 2px; font-size: 24px; opacity: 0.8; }
.wysbjy-stat-txt { font-size: 14px; opacity: 0.9; }
@media (max-width: 768px) {
  .wysbjy-stats { grid-template-columns: repeat(2, 1fr); padding: 24px 16px; }
  .wysbjy-stat-num { font-size: 28px; }
}
