/* 基础全局样式 */
body {
  font-family: "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
  margin: 0;
  padding: 0;
  background: #f4f7fb;
  color: #333;
}

/* 顶部导航栏 */
nav {
  position: sticky;
  top: 0;
  background: #0a3d62;
  color: #fff;
  padding: 0.8rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  z-index: 10;
}
nav h1 {
  font-size: 1.3rem;
  margin: 0;
  font-weight: 600;
}
nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}
nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}
nav ul li a:hover {
  background: #3c6382;
}
nav ul li a.active {
  background: #1e90ff;
}

/* 页面版式 */
section {
  padding: 2.5rem 1.5rem;
  max-width: 1100px;
  margin: auto;
}
section h2 {
  color: #0a3d62;
  border-bottom: 3px solid #1e90ff;
  display: inline-block;
  padding-bottom: 0.4rem;
  margin-bottom: 1.8rem;
}

/* 首页 - 个人信息区 */
.home-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}
.profile {
  flex: 1 1 260px;
  text-align: center;
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.profile img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #1e90ff;
}
.profile .info {
  margin-top: 1rem;
}
.profile .info p {
  margin: 0.4rem 0;
}
.profile .info a {
  color: #1e90ff;
  text-decoration: none;
}
.profile .info a:hover {
  text-decoration: underline;
}

/* 首页 - About & Education */
.about {
  flex: 3 1 520px;
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.about h3 {
  color: #1e90ff;
  margin-top: 0;
}
.education ul {
  padding-left: 1.2rem;
  margin: 0;
}
.education li {
  margin-bottom: 0.6rem;
}

/* Research / Publications 样式 */
.research-category,
.pub-section {
  background: #fff;
  padding: 1.5rem 2rem;
  margin-bottom: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.07);
}
.research-category h3 {
  color: #0a3d62;
  margin-top: 0;
}
.research-category ul,
.pub-list {
  padding-left: 1.2rem;
}
.pub-list {
  list-style: decimal;
}
.pub-list li {
  margin-bottom: 0.9rem;
}
.pub-list li a {
  color: #1e90ff;
  text-decoration: none;
}
.pub-list li a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  text-align: center;
  background: #0a3d62;
  color: #fff;
  padding: 1.2rem;
  margin-top: 3rem;
  font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .home-container {
    flex-direction: column;
  }
  nav {
    flex-direction: column;
    align-items: flex-start;
  }
  nav ul {
    margin-top: 0.6rem;
  }
}