body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #6a73f1;
  padding: 10px 50px;
  color: white;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  border-radius: 50%;
}

.logo-text {
  font-size: 22px;
  font-weight: bold;
}

.nav-links a {
  color: white;
  text-decoration: none;
  margin-left: 30px;
  font-size: 18px;
}

.nav-links a:hover {
  text-decoration: underline;
}

.home-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 120px;
}

.home-text {
  width: 55%;
  font-size: 18px;
  line-height: 1.6;
}

.home-text h1 {
  color: #4a55f2;
  font-size: 36px;
  margin-bottom: 20px;
  margin-top: 10px;
}

.home-image {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.tools-container, .database-container {
  padding: 60px 120px;
}

h2 {
  color: #4a55f2;
  font-size: 36px;
  margin-top: 10px;
  margin-bottom: 50px;
}

h3 {
  color: #4a55f2;
  font-size: 24px;
  margin-top: 40px;
  margin-bottom: 20px;
}

/* home page */
.goals-list {
  list-style-type: disc;          /* 使用圆点符号 */
  text-align: left;               /* 列表左对齐 */
  margin: 16px 0 0 0;              /* 与周围元素留出间距 */
  padding-left: 1.2em;             /* 左缩进 */
  line-height: 1.8;               /* 行距更舒适 */
  max-width: 800px;               /* 控制宽度 */
}

.goals-list li {
  margin-bottom: 8px;             /* 每个列表项之间留空 */
  font-size: 1.1rem;              /* 稍大一点更易读 */
}


.tool {
  margin-bottom: 30px;
}

.tool h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.tool p {
  font-size: 18px;
  color: #555;
}

.ellipsis {
  font-size: 40px;
  text-align: center;
  color: #999;
  margin: 30px 0;
}

.back-button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 18px;
  background-color: #6a73f1;
  color: white;
  border-radius: 6px;
  text-decoration: none;
}

.back-button:hover {
  background-color: #6a73f1;
}

footer {
  background-color: #6a73f1;
  color: white;
  text-align: center;
  padding: 12px 0;
  margin-top: 40px;
  font-size: 14px;
}

.page-container {
  padding: 60px 120px;
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.tool-card {
  display: flex;
  align-items: center;
  background-color: #f6f9fc;
  border-radius: 15px;
  padding: 25px 35px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tool-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.tool-logo {
  width: 55px;
  height: 55px;
  margin-right: 25px;
  border-radius: 50%;
  object-fit: cover;
  background-color: white;
}

.tool-info h3 {
  margin: 0;
  font-size: 22px;
  color: #1e88e5;
}

.tool-info p {
  margin: 5px 0 0;
  font-size: 17px;
  color: #444;
}

.tool-name {
  font-weight: 700;
  color: #1565c0;
}

.ellipsis {
  font-size: 40px;
  text-align: center;
  color: #999;
  margin-top: 20px;
}

.page-container {
  padding: 60px 120px;
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* 卡片整体 */
.tool-card {
  display: flex;
  align-items: center;
  background-color: #f6f9fc;
  border-radius: 18px;
  padding: 35px 45px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.06);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 160px;
}

.tool-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 14px rgba(0,0,0,0.1);
}

/* 方形图像 */
.tool-logo {
  width: 180px;
  height: 150px;
  margin-right: 50px;
  border-radius: 12px;
  object-fit: contain;
  background-color: #fff;
}

/* 文字区域 */
.tool-info h3 {
  margin: 0;
  font-size: 26px;
  color: #1e88e5;
}

.tool-info p {
  margin: 10px 0 0;
  font-size: 18px;
  color: #444;
  line-height: 1.4;
}

.tool-name {
  font-weight: 700;
  color: #1565c0;
}

/* 省略号 */
.ellipsis {
  font-size: 48px;
  text-align: center;
  color: #999;
  margin-top: 25px;
}

/* 返回按钮 */
.back-button {
  display: inline-block;
  margin-top: 25px;
  font-size: 18px;
  color: #ffffff;
  text-decoration: none;
}

.back-button:hover {
  text-decoration: underline;
}