* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
  background: #f0f4f8;
  color: #1a1a1a;
  line-height: 1.6;
  min-height: 100vh;
}

/* 头部 */
header {
  background: linear-gradient(135deg, #0b57d0 0%, #0842a0 100%);
  color: white;
  padding: 36px 20px 40px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(11, 87, 208, 0.25);
}

.header-content h1 {
  font-size: 1.85rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.header-content p {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* 主体容器 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 16px 60px;
}

/* 加载动画 */
.loading {
  text-align: center;
  padding: 80px 20px;
  color: #666;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #e0e7ff;
  border-top: 4px solid #0b57d0;
  border-radius: 50%;
  margin: 0 auto 16px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* 卡片网格 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

/* 单张卡片 */
.card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid #e8eef5;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(11, 87, 208, 0.12);
  border-color: #c2d7f5;
}

/* 品牌名称 */
.card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0b57d0;
  margin-bottom: 6px;
  line-height: 1.3;
}

/* 公司全称 */
.card-company {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 16px;
  line-height: 1.4;
}

/* 业务标签 */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.tag {
  background: #e8f0fe;
  color: #0b57d0;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 20px;
}

/* 信息列表 */
.info-list {
  flex: 1;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.info-item .label {
  color: #64748b;
  min-width: 70px;
  flex-shrink: 0;
}

.info-item .value {
  color: #1e293b;
  word-break: break-all;
}

/* 微信行特殊处理 */
.wechat-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.copy-btn {
  background: #0b57d0;
  color: white;
  border: none;
  padding: 5px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.copy-btn:hover {
  background: #0842a0;
}

.copy-btn:active {
  transform: scale(0.97);
}

/* 底部 */
footer {
  text-align: center;
  padding: 24px 16px;
  color: #94a3b8;
  font-size: 0.85rem;
  border-top: 1px solid #e2e8f0;
  background: #fff;
}

/* ========== 手机适配 ========== */
@media (max-width: 768px) {
  header {
    padding: 28px 16px 32px;
  }

  .header-content h1 {
    font-size: 1.5rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card {
    padding: 20px;
  }

  .card-title {
    font-size: 1.25rem;
  }
}

@media (max-width: 400px) {
  .container {
    padding: 20px 12px 40px;
  }
}