/* style.css - OCR首页样式 */
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
  background: linear-gradient(135deg, #f3f7fb, #dee8ef);
  color: #333;
  text-align: center;
}

.main-title {
  margin-top: 50px;
  font-size: 36px;
  color: #2c3e50;
  font-weight: 600;
  text-shadow: 1px 1px 2px #ddd;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 40px 20px 60px;
}

.card {
  width: 260px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  padding: 30px 20px;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 120px;
  height: 120px;
  background: rgba(0, 123, 255, 0.1);
  border-radius: 50%;
  z-index: 0;
}

.icon {
  font-size: 42px;
  margin-bottom: 12px;
  z-index: 1;
  position: relative;
}

.title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 6px;
  z-index: 1;
  position: relative;
}

.desc {
  font-size: 14px;
  color: #666;
  z-index: 1;
  position: relative;
}

@media (max-width: 768px) {
  .card {
    width: 85%;
  }
}
