@font-face {
  font-family: "OPPOSans-Regular";
  src: url("fonts/OPPOSans-Regular.woff2") format("woff2"),
       url("fonts/OPPOSans-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary-color: #0363ef;
  --text-color: #2d2d2d;
  --muted-color: #6f6f6f;
  --bg-light: #f9f9f9;
  --border-color: #6f6f6f;
  --card-bg: #f4f4f4;
  --radius: 8px;
  --spacing: 20px;
  --max-width: 1200px;
}

/* 全局基础样式 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "OPPOSans-Regular", Helvetica, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "OPPOSans-Medium", Helvetica, sans-serif;
}

img {
  max-width: 100%;
  display: block;
}

/* 容器 */
.container {
  max-width: var(--max-width);
  margin: auto;
  padding: 1rem;
}

/* 通用卡片样式 */
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: var(--spacing);
}

/* 导航栏 */
.navbar {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 2000;
}

.nav-container {
  margin: auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.nav-links a.active {
  color: var(--primary-color);
  font-weight: bold;    
  pointer-events: none; 
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 2px;
}

.logo-link {
  display: inline-block;
  transition: transform 0.3s, box-shadow 0.3s;
}

.logo-link:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.logo {
  height: 50px;
  display: block;
}

/* Section Styles */
.main-content section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 60px;
    border-bottom: 1.5px solid #ccc;
    padding-bottom: 0.5rem;
}

.section-title {
    font-weight: 900;
    font-size: 32px;
    color: #000;
}

/* Vision Section */
.vision-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.vision-statement {
    font-weight: 900;
    font-size: 32px;
    line-height: 1.4;
    margin-bottom: 30px;
}

.vision-details h4 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 700;
}

.vision-details p {
    font-size: 20px;
    color: #494949;
    margin-bottom: 20px;
    line-height: 1.6;
}

.english-text {
    font-style: italic;
    color: #666;
}

/* Info Section */
.info-content {
    max-width: 955px;
}

.org-name {
    font-weight: 900;
    font-size: 32px;
    margin-bottom: 40px;
    color: #000;
}

.info-text p {
    font-size: 16px;
    color: #494949;
    margin-bottom: 25px;
    line-height: 1.8;
}

.research-areas {
    margin-top: 60px;
}

.research-areas p {
    font-size: 16px;
    color: #494949;
    margin-bottom: 25px;
    line-height: 1.8;
}

.research-direction {
    margin-bottom: 40px;
}

.research-direction h4 {
    font-size: 20px;
    color: #000;
    margin-bottom: 15px;
    font-weight: 700;
}

.research-direction p {
    font-size: 16px;
    color: #494949;
    margin-bottom: 15px;
}

.research-direction ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.research-direction li {
    font-size: 16px;
    color: #494949;
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Team Section */
.team-subtitle {
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 40px;
    color: #000;
}

.team-leader {
    margin-bottom: 80px;
}

.leader-profile {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: center;
}

.leader-image {
    width: 156px;
    height: 156px;
    border-radius: 50%;
    background: #f0f0f0;
    background-image: url("ILABY WEB 素材/关于页面/实验室成员-张旭生.png");
    background-size: cover;
    background-position: center;
}

.leader-name {
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 15px;
    color: #000;
}

.leader-title {
    font-size: 16px;
    color: #494949;
    margin-bottom: 10px;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.member-card {
    text-align: center;
}

.member-image {
    width: 156px;
    height: 156px;
    border-radius: 50%;
    background: #f0f0f0;
    margin: 0 auto 20px;
    background-size: cover;
    background-position: center;
}

.member-name {
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 10px;
    color: #000;
}

.member-title {
    font-size: 16px;
    color: #494949;
}

/* Footer */
.footer {
  background: #f1f1f1;
  padding: 2rem 0;
  margin-top: 4rem;
  --max-width: 1200px;
  font-size: 14px;
  color: #707070;
  line-height: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0;
}

.footer-images {
  display: flex;
  gap: 1rem;          
  align-items: center;  
}

.footer-logo {
  height: 60px;
  margin-top: 0.5rem;  
}

.qrcode {
  width: 60px;
  margin-top: 0.5rem;  
  margin-left: 0;      
}

/* 响应式 */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    gap: 0.7rem;
  }
  .hero {
    height: 250px;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
}