/* 查看服务 — 服务入口选择（与 webtor.css / 仪表盘卡片风格一致） */
.service-hub {
  max-width: 1120px;
  margin: 0 auto;
}

.service-hub-head {
  text-align: center;
  margin-bottom: 28px;
  padding: 28px 24px 32px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--accent-primary);
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .service-hub-head {
  box-shadow: 0 4px 16px rgba(31, 35, 40, 0.06);
}

.service-hub-eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 12px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-primary);
  background: rgba(88, 166, 255, 0.12);
  border: 1px solid rgba(88, 166, 255, 0.22);
}

html[data-theme="light"] .service-hub-eyebrow {
  background: rgba(9, 105, 218, 0.08);
  border-color: rgba(9, 105, 218, 0.18);
}

.service-hub-title {
  margin: 0 0 10px;
  font-size: clamp(22px, 3.6vw, 28px);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text-primary);
  line-height: 1.3;
}

.service-hub-sub {
  margin: 0 auto;
  max-width: 520px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.65;
}

.service-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

@media (max-width: 960px) {
  .service-hub-grid {
    grid-template-columns: 1fr;
  }
}

.service-hub-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  position: relative;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px 18px 16px;
  min-height: 280px;
  transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
  overflow: hidden;
}

.service-hub-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  opacity: 0.65;
  transition: opacity 0.2s ease;
}

.service-hub-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-primary);
  background-color: var(--bg-tertiary);
}

.service-hub-card:hover::before {
  opacity: 1;
}

.service-hub-card-head {
  position: relative;
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  min-height: 0;
  align-items: flex-start;
}

.service-hub-card-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  border-radius: 10px;
  background: rgba(88, 166, 255, 0.12);
  color: var(--accent-primary);
  border: 1px solid var(--border-color);
}

html[data-theme="light"] .service-hub-card-icon {
  background: rgba(9, 105, 218, 0.08);
}

.service-hub-card[data-supply-channel="smm"] .service-hub-card-icon {
  background: rgba(88, 166, 255, 0.12);
  color: var(--accent-primary);
}

.service-hub-card[data-supply-channel="yiciyuan_mall"] .service-hub-card-icon {
  background: rgba(63, 185, 80, 0.12);
  color: var(--accent-success);
}

html[data-theme="light"] .service-hub-card[data-supply-channel="yiciyuan_mall"] .service-hub-card-icon {
  background: rgba(26, 127, 55, 0.1);
}

.service-hub-card[data-supply-channel="custom"] .service-hub-card-icon {
  background: rgba(210, 153, 34, 0.12);
  color: var(--accent-warning);
}

html[data-theme="light"] .service-hub-card[data-supply-channel="custom"] .service-hub-card-icon {
  background: rgba(154, 103, 0, 0.1);
}

.service-hub-card-head-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}

.service-hub-card h2 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}

.service-hub-intro {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.55;
}

.service-hub-panel {
  flex: 1;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 14px 16px 16px;
}

html[data-theme="light"] .service-hub-panel {
  background: var(--bg-secondary);
}

.service-hub-panel ul {
  margin: 0;
  padding: 0 0 0 18px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.service-hub-panel li {
  margin-bottom: 6px;
}

.service-hub-panel li:last-child {
  margin-bottom: 0;
}

.service-hub-card-cta {
  margin-top: 14px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--btn-primary-fg);
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.service-hub-card:hover .service-hub-card-cta {
  opacity: 0.92;
  transform: translateY(-1px);
}

.service-hub-card-cta::after {
  content: '→';
  font-size: 15px;
  font-weight: 600;
}
