* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* 背景渐变色 */
  --bg-gradient: linear-gradient(135deg, #e9f3ff 0%, #e3e9ff 100%);
  
  /* 主色 */
  --primary: #6a5af9;
  --primary-light: #7d52e5;
  
  /* 卡片背景 */
  --card-bg: #ffffff;
  
  /* 灰色系 */
  --gray-50: #f9f9f9;
  --gray-100: #f5f5f5;
  --gray-200: #e9e9e9;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;
  
  /* 待开发灰色 */
  --disabled-bg: #f8f9fa;
  --disabled-text: #adb5bd;
  --disabled-border: #dee2e6;
  
  /* 圆角 */
  --radius-sm: 8px;
  --radius-md: 12px;
 : 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  
  /* 过渡 */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  background: var(--bg-gradient);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--gray-900);
  min-height: 100vh;
  padding-bottom: 40px;
}

/* ===== 顶部标题 ===== */
.header {
  text-align: center;
  padding: 32px 16px 16px;
  position: relative;
}

.header h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  font-weight: 700;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Helvetica", "Arial", sans-serif;
}

.header p {
  font-size: 14px;
  color: var(--gray-500);
  font-weight: 400;
}

/* ===== 分类标题 ===== */
.category-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900);
  padding: 24px 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-title .coming-soon {
  font-size: 12px;
  color: var(--disabled-text);
  font-weight: 400;
  margin-left: 8px;
}

/* ===== 卡片网格布局 ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 0 8px 20px;
}

/* ===== 业务卡片 ===== */
.business-item {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 16px 12px;
  text-align: center;
  position: relative;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.business-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.business-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  border-radius: var(--radius-full);
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(10, 90, 249, 0.1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.business-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 4px;
  line-height: 1.4;
  height: 24px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.business-desc {
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.4;
  height: 24px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* ===== 待开发卡片样式 ===== */
.disabled-item {
  background: var(--disabled-bg);
  border: 1px solid var(--disabled-border);
  opacity: 0.6;
  cursor: not-allowed;
}

.disabled-item .business-icon {
  background: var(--gray-50);
  color: var(--disabled-text);
}

.disabled-item .business-title {
  color: var(--disabled-text);
}

.disabled-item .business-desc {
  color: var(--disabled-text);
}

.disabled-item::after {
  content: '待开发';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s;
}

.disabled-item:hover::after {
  opacity: 1;
}

/* ===== 页脚 ===== */
footer {
  text-align: center;
  padding: 20px 12px 16px;
  color: var(--gray-500);
  font-size: 12px;
  max-width: 500px;
  margin: 0 auto;
  border-top: 1px solid var(--gray-200);
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: 6px;
}

.footer-brand-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 12px;
}

.footer-brand-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
}

.copyright {
  font-size: 11px;
  color: var(--gray-400);
  line-height: 1.5;
}

/* ===== 响应式优化 ===== */
@media (max-width: 480px) {
  .header {
	padding: 24px 10px 10px;
  }

  .header h1 {
	font-size: 44px;
  }

  .header p {
	font-size: 13px;
  }

  .card-grid {
	gap: 4px;
	padding: 0 0px 10px;
  }

  .business-item {
	padding: 14px 10px;
  }

  .business-icon {
	width: 44px;
	height: 44px;
	font-size: 18px;
  }

  .business-title {
	font-size: 13px;
  }

  .business-desc {
	font-size: 11px;
  }

  .category-title {
	padding: 20px 0 10px;
  }

  footer {
	padding: 16px 10px 14px;
  }

  .footer-brand {
	gap: 3px;
  }

  .footer-brand-icon {
	width: 18px;
	height: 18px;
	font-size: 11px;
  }

  .footer-brand-text {
	font-size: 12px;
  }
}