/* ==================== 首页 - 左右隐形布局 ==================== */

.home-main { width: 100%; padding: 0; }

/* 左右两栏：隐形分隔；至少占一屏高度，左右等高、无需向下滚动；
   用 min-height 而非 height —— 左栏内容较高时容器自动撑开，避免底部文字被裁切 */
.intro-hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  max-width: 1500px;
  margin: 0 auto;
  padding: 20px 32px;
  align-items: stretch;
  min-height: calc(100vh - 116px);
  overflow: hidden;
}

/* ===== 左栏：产品简介（内容上下均布，消除底部空白） ===== */
.intro-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}
.intro-badge {
  display: inline-block;
  font-size: 11px;
  color: #ff6b1a;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 6px;
  padding: 4px 11px;
  background: rgba(255, 107, 26, 0.1);
  border: 1px solid rgba(255, 107, 26, 0.25);
  border-radius: 20px;
  align-self: flex-start;
}
.intro-title {
  font-size: 22px;
  color: #fff;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 7px;
  letter-spacing: -0.5px;
}
.intro-title .accent { color: #ff6b1a; }
.formula {
  font-family: 'Courier New', monospace;
  color: #ff6b1a;
  font-size: 12px;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.4);
  border-left: 3px solid #ff6b1a;
  padding: 7px 12px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 9px;
}
.intro-lead {
  font-size: 12.5px;
  color: #bbb;
  line-height: 1.5;
  margin-bottom: 9px;
}
.intro-lead strong { color: #ff6b1a; }
.feat-list { display: flex; flex-direction: column; gap: 7px; }
.feat { display: flex; gap: 9px; align-items: flex-start; }
.feat-dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff6b1a;
  margin-top: 5px;
}
.feat h4 { color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 1px; }
.feat p { color: #9a9a9a; font-size: 12px; line-height: 1.4; margin: 0; }

/* ===== 右栏：组合图 ===== */
.intro-right { min-width: 0; }
.chart-panel {
  background: linear-gradient(180deg, #161616 0%, #121212 100%);
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
/* 标题行：左标题/副标题，右控件竖向小簇（与标题齐平） */
.chart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.chart-head-text { min-width: 0; }
.chart-head h2 { font-size: 20px; color: #fff; font-weight: 800; }
.chart-head .sub { font-size: 13px; color: #aaa; margin-top: 6px; line-height: 1.6; max-width: 540px; }

/* 右上角控件：时间下拉（上）+ 清除/全选（同行，下）—— 缩短竖向高度，拉高下方组合图 */
.home-date .control { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; color: #999; white-space: nowrap; }
.home-date .date-select { font-size: 11px; padding: 3px 22px 3px 8px; min-width: auto; }
.chart-tools { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
.btn-line { display: flex; gap: 6px; }
.chart-tools .mini-btn {
  background: #0e0e0e;
  border: 1px solid #2a2a2a;
  color: #ddd;
  font-size: 10px;
  padding: 2px 9px;
  border-radius: 6px;
  cursor: pointer;
  transition: all .15s;
}
.chart-tools .mini-btn:hover { border-color: #ff6b1a; color: #fff; }

.combo-wrap { position: relative; flex: 1 1 auto; min-height: 0; }
#combo-chart { width: 100%; display: block; }
.combo-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 14px;
}

/* 组合图图例（占比 / TGI，8pt，位于组合图右侧） */
.combo-legend {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 8pt;
  color: #cfcfcf;
  pointer-events: none;
  z-index: 3;
}
.combo-legend .leg-item { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.combo-legend .leg-bar { display: inline-block; width: 14px; height: 8px; background: #ff6b1a; border-radius: 2px; opacity: .85; }
.combo-legend .leg-line { display: inline-block; width: 14px; height: 0; border-top: 2px solid #ff8c42; }

/* 组合图悬停提示 */
.combo-tip {
  position: absolute;
  display: none;
  pointer-events: none;
  z-index: 6;
  background: rgba(18,18,18,.96);
  border: 1px solid #ff6b1a;
  border-radius: 6px;
  padding: 6px 9px;
  font-size: 11px;
  color: #fff;
  line-height: 1.55;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0,0,0,.55);
}

/* 行业品类选择 chips */
.cat-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.cat-chip {
  --c: #ff6b1a;
  display: inline-flex;
  align-items: center;
  background: #0e0e0e;
  border: 1px solid #2a2a2a;
  color: #bbb;
  padding: 4px 10px;
  border-radius: 14px;
  font-size: 12px;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}
.cat-chip:hover { border-color: var(--c); color: #fff; }
.cat-chip.active { background: var(--c); border-color: var(--c); color: #fff; font-weight: 600; }

/* ===== 关于我们 ===== */
.about-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 32px 44px;
  border-top: 1px solid #1c1c1c;
}
.about-title {
  font-size: 24px;
  color: #ff6b1a;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}
.about-text {
  font-size: 13px;
  color: #aaa;
  line-height: 1.95;
  margin-bottom: 22px;
  text-indent: 2em;
}
.about-contact {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.about-contact .ci { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #bbb; }
.about-contact .ci .lbl { color: #777; }
.about-contact .qr { width: 36px; height: 36px; border-radius: 6px; border: 1px solid #333; }

/* ===== 响应式 ===== */
@media (max-width: 1100px) {
  .intro-hero {
    grid-template-columns: 1fr;
    gap: 24px;
    height: auto;
    max-height: none;
    overflow: visible;
    padding: 32px 24px;
  }
  .chart-head { flex-direction: column; align-items: flex-start; }
  .chart-tools { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .intro-hero { padding: 24px 16px; }
  .intro-title { font-size: 23px; }
  .about-contact .qr { width: 30px; height: 30px; }
}
